/* ── WhifCal sub-pages (FAQ + Pricing) ────────────────────────────── */

/* ── Page header ──────────────────────────────────────────────────── */
.page-head {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(820px 420px at 18% -20%, rgba(124, 92, 255, 0.18), transparent 64%),
    radial-gradient(820px 460px at 86% -24%, rgba(124, 92, 255, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(238, 234, 252, 0.8) 0%, rgba(247, 245, 252, 0.5) 50%, #ffffff 100%);
  border-bottom: 1px solid rgba(124, 92, 255, 0.10);
}
.page-head .hero-grid-lines { position: absolute; inset: 0; }
.page-head-inner {
  position: relative;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 88px 32px 76px;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.page-head h1 {
  font-family: var(--font-display);
  font-size: 56px; line-height: 1.06; font-weight: 700; letter-spacing: -0.02em;
  margin: 0; text-wrap: balance;
}
.page-head h1 .accent { color: var(--accent); }
.page-head p {
  margin: 0; max-width: 580px;
  color: var(--muted); font-size: 18px; text-wrap: pretty;
}
.page-head .price-lock { margin-top: 4px; }

/* breadcrumb-ish back link in nav */
.nav-links a.is-current { color: var(--ink); }

/* ── Pricing page ─────────────────────────────────────────────────── */
.pricing-page .price-grid { margin-top: 8px; }

.billing-toggle {
  display: inline-flex; align-items: center; gap: 4px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 4px; margin: 0 auto;
}
.billing-toggle button {
  font-family: var(--font-body); font-size: 13.5px; font-weight: 600;
  color: var(--muted); background: transparent; border: none; cursor: pointer;
  padding: 9px 20px; border-radius: 999px; transition: color 0.15s, background 0.15s;
  display: inline-flex; align-items: center; gap: 8px;
}
.billing-toggle button.on { background: var(--accent); color: #fff; }
.billing-toggle .save-tag {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(255, 255, 255, 0.22); border-radius: 999px; padding: 2px 7px;
}

/* ── Comparison table ─────────────────────────────────────────────── */
.compare {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  table-layout: fixed;
}
.compare-wrap { overflow-x: auto; }
.compare th, .compare td {
  text-align: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  vertical-align: middle;
}
.compare thead th {
  position: sticky; top: 0;
  background: #fbfaff;
  vertical-align: bottom;
  padding: 22px 18px 18px;
}
.compare th.row-head, .compare td.row-head {
  text-align: left;
  width: 30%;
  font-weight: 600;
  color: var(--ink);
  background: #fbfaff;
}
.compare td.row-head { font-weight: 500; color: var(--muted); }
.compare .col-tier {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700; color: var(--ink);
}
.compare .col-tier.featured { color: var(--accent-deep); }
.compare .col-price {
  display: block; margin-top: 5px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--dim);
}
.compare tbody tr:hover td { background: rgba(124, 92, 255, 0.035); }
.compare tbody tr:hover td.row-head { background: #f4f1fc; }
.compare tr:last-child td { border-bottom: none; }
.compare .col-featured { background: rgba(124, 92, 255, 0.05); }
.compare thead .col-featured { background: #f3eefe; }

.cat-row td {
  text-align: left;
  background: #f7f5fd;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-deep); font-weight: 600;
  padding: 12px 18px;
}
/* Parent group header — What's included */
.cat-row.cat-parent td {
  background: var(--accent);
  color: #fff; font-weight: 700; font-size: 11px; letter-spacing: 0.16em;
  padding: 14px 18px;
}
/* Nested sub-group header — Productivity / Account and Controls */
.cat-row.cat-sub td {
  background: #f0edfa;
  padding-left: 34px; position: relative;
}
.cat-row.cat-sub td::before {
  content: ""; position: absolute; left: 18px; top: 50%;
  width: 8px; height: 1px; background: var(--accent-line, #d9d0f5); transform: translateY(-0.5px);
}
.tick {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-deep);
}
.tick svg { display: block; }
.dash { color: #c8c6d8; font-size: 16px; }
.cell-val { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink); font-weight: 500; }
.cell-note { font-size: 12px; color: var(--muted); }
.compare tr.feat-row td { background: rgba(124, 92, 255, 0.09); }
.compare tr.feat-row td.col-featured { background: rgba(124, 92, 255, 0.15); }
.compare tr.feat-row td.row-head { color: var(--accent-deep); font-weight: 700; background: rgba(124, 92, 255, 0.09); }
.compare tr.feat-row:hover td { background: rgba(124, 92, 255, 0.13); }
.feat-crown {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent-deep); margin-right: 8px; vertical-align: -2px;
}
.feat-crown svg { display: block; }
/* Signature-features legend under the table */
.sig-legend {
  display: flex; align-items: center; gap: 8px;
  margin: 16px 2px 0; font-size: 13.5px; color: var(--muted);
}
.sig-legend .feat-crown { margin-right: 0; }
.sig-legend strong { color: var(--accent-deep); font-weight: 600; }

/* ── Accordion (FAQ) ──────────────────────────────────────────────── */
.faq-layout {
  display: grid;
  grid-template-columns: 232px 1fr;
  gap: 56px;
  align-items: start;
}
.faq-nav {
  position: sticky; top: 96px;
  display: flex; flex-direction: column; gap: 4px;
}
.faq-nav a {
  font-size: 14px; font-weight: 500; color: var(--muted);
  padding: 9px 14px; border-radius: 10px;
  display: flex; align-items: center; gap: 10px;
  transition: background 0.15s, color 0.15s;
}
.faq-nav a:hover { background: var(--tint); color: var(--ink); }
.faq-nav a.active { background: var(--accent-soft); color: var(--accent-deep); font-weight: 600; }
.faq-nav a .count {
  margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--dim);
}

.faq-groups { display: flex; flex-direction: column; gap: 48px; }
.faq-group h2 {
  font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -0.01em;
  margin: 0 0 4px; scroll-margin-top: 96px;
}
.faq-group .group-eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); display: block; margin-bottom: 8px;
}
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; transition: border-color 0.18s, box-shadow 0.18s;
}
.faq-item[open] { border-color: var(--accent-line); box-shadow: 0 18px 40px -30px rgba(70, 50, 150, 0.4); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 16px;
  padding: 20px 22px;
  font-family: var(--font-display); font-size: 16.5px; font-weight: 600; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .q-mark {
  margin-left: auto; flex: none; position: relative;
  width: 20px; height: 20px;
}
.faq-item summary .q-mark::before,
.faq-item summary .q-mark::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: var(--accent); border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.faq-item summary .q-mark::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.faq-item summary .q-mark::after { width: 2px; height: 14px; transform: translate(-50%, -50%); }
.faq-item[open] summary .q-mark::after { transform: translate(-50%, -50%) scaleY(0); opacity: 0; }
.faq-answer { padding: 0 22px 22px; }
.faq-answer p {
  margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 64ch; text-wrap: pretty;
}
.faq-answer p + p { margin-top: 12px; }
.faq-answer ul { margin: 12px 0 0; padding-left: 20px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.faq-answer ul li { margin-bottom: 6px; }
.faq-answer a.inline { color: var(--accent-deep); font-weight: 600; border-bottom: 1px solid var(--accent-line); }

/* ── Contact / still-have-questions CTA ───────────────────────────── */
.help-cta {
  margin-top: 8px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.help-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column; gap: 8px;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.help-card:hover { transform: translateY(-3px); border-color: var(--accent-line); box-shadow: 0 22px 44px -28px rgba(70, 50, 150, 0.35); }
.help-card .help-glyph {
  width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft);
  display: grid; place-items: center; margin-bottom: 8px;
}
.help-card h3 { font-size: 18px; font-weight: 700; }
.help-card p { margin: 0; font-size: 14px; color: var(--muted); text-wrap: pretty; }
.help-card .help-link { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--accent-deep); }

/* ── Mid-page CTA band ────────────────────────────────────────────── */
.mid-cta {
  text-align: center;
  background: linear-gradient(155deg, #6a4ce6 0%, var(--accent-deep) 55%, #4c3aa6 100%);
  color: #fff; border-radius: 28px; padding: 56px;
  position: relative; overflow: hidden;
}
.mid-cta::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(120deg, transparent 45%, rgba(0,0,0,0.9));
  -webkit-mask-image: linear-gradient(120deg, transparent 45%, rgba(0,0,0,0.9));
}
.mid-cta h2 { position: relative; font-size: 32px; font-weight: 700; letter-spacing: -0.015em; margin: 0; }
.mid-cta p { position: relative; margin: 14px auto 0; max-width: 480px; color: rgba(255, 255, 255, 0.85); font-size: 16px; text-wrap: pretty; }
.mid-cta .hero-ctas { position: relative; margin-top: 28px; }
.mid-cta .btn-ghost { background: #fff; color: var(--accent-ink); border-color: transparent; }

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .page-head h1 { font-size: 44px; }
  .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .faq-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .faq-nav a .count { display: none; }
  .help-cta { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .page-head h1 { font-size: 34px; }
  .mid-cta { padding: 40px 28px; }
  .compare th, .compare td { padding: 12px 12px; font-size: 12.5px; }
}

/* ── Legal / policy pages ─────────────────────────────────────────── */
.legal-wrap { max-width: 820px; margin: 0 auto; }
.legal-meta {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.02em;
  color: var(--dim); margin: 0 0 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line);
}
.legal-lead { font-size: 16.5px; color: var(--ink); font-weight: 500; margin: 0 0 20px; text-wrap: pretty; }
.legal-wrap h2 {
  font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: 0.01em;
  color: var(--ink); margin: 36px 0 12px;
}
.legal-wrap p { color: var(--muted); font-size: 15px; line-height: 1.72; margin: 0 0 14px; text-wrap: pretty; }
.legal-li { padding-left: 24px; }
.legal-li.lvl2 { padding-left: 46px; }
.legal-li.lvl3 { padding-left: 68px; }
.legal-close { margin-top: 34px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-deep); }

/* Footer legal links */
.foot-base { flex-wrap: wrap; gap: 14px 20px; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; }
.foot-legal a { color: rgba(255, 255, 255, 0.62); font-size: 12.5px; transition: color 0.15s; }
.foot-legal a:hover { color: #fff; }

/* Press-release legal pages (Copyright / Trademark) */
.pr { max-width: 760px; margin: 0 auto; }
.pr-kicker {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-deep); display: inline-block; padding: 6px 13px;
  background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 999px;
}
.pr-headline {
  font-family: var(--font-display); font-size: 30px; line-height: 1.22; font-weight: 700;
  letter-spacing: -0.02em; color: var(--ink); margin: 22px 0 0; text-wrap: balance;
}
.pr-lead { font-size: 16.5px; line-height: 1.75; color: var(--ink); margin: 26px 0 0; text-wrap: pretty; }
.pr-body { font-size: 15px; line-height: 1.75; color: var(--muted); margin: 18px 0 0; text-wrap: pretty; }
.pr-quote {
  margin: 34px 0 0; padding: 28px 32px;
  background: linear-gradient(160deg, #f3f0fc 0%, #fbfaff 60%); border: 1px solid var(--accent-line);
  border-left: 3px solid var(--accent); border-radius: calc(var(--radius) + 2px);
}
.pr-quote p { font-family: var(--font-display); font-size: 18px; line-height: 1.55; font-weight: 500; font-style: italic; color: var(--ink); margin: 0; text-wrap: pretty; }

/* Cross-link between related legal pages */
.legal-related { max-width: 760px; margin: 0 auto; }
.legal-related a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) + 2px);
  padding: 22px 26px; transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.legal-related a:hover { border-color: var(--accent-line); transform: translateY(-2px); box-shadow: 0 20px 40px -28px rgba(70, 50, 150, 0.35); }
.legal-related .lr-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); display: block; margin-bottom: 5px; }
.legal-related .lr-title { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--ink); }
.legal-related .lr-arrow { color: var(--accent); font-size: 20px; flex: none; }


@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .page-head h1 { font-size: 30px; }
  .page-head-inner p { font-size: 15.5px; }
  .legal-wrap h2 { font-size: 18px; }
  .legal-wrap p { font-size: 15px; }
  .pr-headline { font-size: 24px; }
  .pr-lead { font-size: 15.5px; }
  .eth-quote p { font-size: 22px; }
  .eth-banner p { font-size: 20px; }
  .compare th, .compare td { font-size: 13px; padding: 11px 12px; }
}

html, body { overflow-x: hidden; overflow-x: clip; max-width: 100%; }


/* ═══ WC-DARK-AUTO-START (darkmode_gen.py) ═══ */
/* AUTO-GENERATED — darkmode_gen.py dobara chalao, haath se edit mat karo */
[data-theme="dark"] .page-head {
  background: radial-gradient(820px 420px at 18% -20%, rgba(124, 92, 255, 0.18), transparent 64%),
    radial-gradient(820px 460px at 86% -24%, rgba(124, 92, 255, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(35, 34, 56, 0.8) 0%, rgba(26, 25, 41, 0.5) 50%, #15141f 100%);
}
[data-theme="dark"] .billing-toggle {
  background: #15141f;
}
[data-theme="dark"] .billing-toggle .save-tag {
  background: rgba(21, 20, 31, 0.22);
}
[data-theme="dark"] .compare {
  background: #15141f;
}
[data-theme="dark"] .compare thead th {
  background: #1a1929;
}
[data-theme="dark"] .compare th.row-head,
[data-theme="dark"] .compare td.row-head {
  background: #1a1929;
}
[data-theme="dark"] .compare tbody tr:hover td.row-head {
  background: #1a1929;
}
[data-theme="dark"] .compare thead .col-featured {
  background: #232238;
}
[data-theme="dark"] .cat-row td {
  background: #1a1929;
}
[data-theme="dark"] .cat-row.cat-sub td {
  background: #232238;
}
[data-theme="dark"] .faq-item {
  background: #15141f;
}
[data-theme="dark"] .help-card {
  background: #15141f;
}
[data-theme="dark"] .pr-quote {
  background: linear-gradient(160deg, #1a1929 0%, #1a1929 60%);
}
[data-theme="dark"] .legal-related a {
  background: #15141f;
}
/* ═══ WC-DARK-AUTO-END ═══ */
