/* v202608031432 */
:root {
  --bg: #0b0d12;
  --bg-soft: #12151d;
  --panel: #171b26;
  --border: #232838;
  --text: #e7ebf2;
  --muted: #9aa3b2;
  --brand: #f5b301;
  --brand-2: #ff7a1a;
  --accent: #4dd0e1;
  --ok: #4ade80;
  --danger: #f87171;
  --radius: 14px;
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(11,13,18,0.75);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  font-weight: 700; font-size: 20px; letter-spacing: 0.2px;
  color: var(--text);
}
.brand span { color: var(--brand); }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 15px; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* buttons */
.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  /* 44px minimum touch target (WCAG 2.5.5 / iOS HIG) */
  min-height: 44px;
  line-height: 20px;
  text-align: center;
}
/* 2026-08-06 audit: .btn-block was used on six primary CTAs — including
   "Pay ₹699 via Razorpay" (subscribe.html) and both account.html buttons — but was
   never defined anywhere. Since .btn is inline-block they rendered at text width,
   so the main checkout button looked like a small link on mobile. */
.btn-block {
  display: block;
  width: 100%;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #1a1200;
}
.btn-primary:hover { transform: translateY(-1px); text-decoration: none; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--muted); text-decoration: none; }

/* hero */
.hero {
  padding: 88px 0 72px;
  background:
    radial-gradient(1200px 500px at 80% -100px, rgba(255,122,26,0.15), transparent 60%),
    radial-gradient(900px 500px at -10% 0px, rgba(77,208,225,0.10), transparent 60%);
}
.hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.05;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}
.hero h1 .accent { color: var(--brand); }
.hero p.lead {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  max-width: 640px;
  margin: 0 0 32px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-meta { margin-top: 22px; font-size: 14px; color: var(--muted); }

/* section */
.section { padding: 72px 0; border-top: 1px solid var(--border); }
.section h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.section .kicker {
  color: var(--brand);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.section p.lead { color: var(--muted); max-width: 720px; margin: 0 0 36px; }

/* features grid */
.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 { margin: 8px 0 8px; font-size: 18px; }
.card p { color: var(--muted); margin: 0; font-size: 15px; }
.card .icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(245,179,1,0.12);
  color: var(--brand);
  font-weight: 800; font-size: 18px;
}

/* pricing */
.pricing {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: stretch;
}
.plan {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column;
}
.plan.featured {
  border-color: var(--brand);
  background: linear-gradient(180deg, rgba(245,179,1,0.06), var(--panel) 40%);
  position: relative;
}
.plan.featured::before {
  content: "Recommended";
  position: absolute; top: -12px; left: 20px;
  background: var(--brand); color: #1a1200;
  font-size: 12px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
  letter-spacing: 0.06em;
}
.plan h3 { margin: 0 0 6px; font-size: 22px; }
.plan .price { font-size: 34px; font-weight: 800; letter-spacing: -0.01em; }
.plan .price small { font-size: 14px; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; }
.plan li {
  padding: 8px 0; color: var(--muted); font-size: 15px;
  border-bottom: 1px dashed var(--border);
}
.plan li::before { content: "✓  "; color: var(--ok); font-weight: 700; }
.plan .cta { margin-top: auto; }

/* faq */
.faq details {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer; font-weight: 600;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary { color: var(--brand); }
.faq p { color: var(--muted); margin: 10px 0 0; }

/* footer */
.footer {
  padding: 40px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 14px;
}
.footer-grid {
  display: grid; gap: 24px;
  grid-template-columns: 2fr 1fr 1fr 1fr;
}
.footer h4 { color: var(--text); margin: 0 0 10px; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--text); text-decoration: none; }
/* Grid section (4-column) uses block-level links for stacking */
.footer .footer-grid a { display: block; padding: 4px 0; }
.footer .fine {
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
}
/* Fine-print section links stay inline separated by the · character */
.footer .fine a { display: inline; padding: 0; }
.footer .fine > div { line-height: 1.8; }

/* legal pages */
.legal { padding: 64px 0; max-width: 800px; margin: 0 auto; }
.legal h1 { font-size: 34px; letter-spacing: -0.01em; }
.legal h2 { font-size: 20px; margin-top: 32px; color: var(--brand); }
.legal p, .legal li { color: var(--muted); font-size: 15px; }
.legal ul { padding-left: 22px; }
.legal .meta { color: var(--muted); font-size: 13px; }
.legal a { color: var(--brand); }

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* 2026-08-06 audit: this used to be `.nav-links a:not(.btn){display:none}` with no
     hamburger anywhere on the site, so below 720px EVERY nav link vanished — "Sign in"
     on the landing page and "Sign out" on the account page became unreachable on a
     phone. Instead of hiding them, wrap and shrink so they stay usable. */
  /* 2026-08-17 — THE HEADER WAS OVERLAPPING THE HERO ON PHONES.
     .nav-inner carries a fixed `height:64px` (line ~43) while this rule tells it
     to WRAP. A wrapped second row therefore overflowed a 64px-tall box and painted
     straight over the <h1>. Latent for a while; adding one more nav item exposed it.
     Height must be free to grow once wrapping is allowed. */
  .nav-inner { flex-wrap: wrap; gap: 8px 12px; height: auto; min-height: 64px;
               padding-top: 8px; padding-bottom: 8px; align-items: center; }
  .nav-links { flex-wrap: wrap; gap: 4px 14px; row-gap: 4px; }
  .nav-links a:not(.btn) { font-size: 14px; padding: 10px 2px; }
  .nav-links .btn { padding: 10px 16px; font-size: 14px; }
  /* In-page anchors are redundant on a phone — the sections are a scroll away.
     Dropping them keeps the header to one row. Account / Sign in STAY: hiding
     every link is exactly the 2026-08-06 bug that made Sign in unreachable. */
  .nav-links a[href^="#"] { display: none; }
}

/* Narrow phones (360px and below, incl. the Galaxy Fold cover screen at 280px).
   .pricing used `minmax(280px,1fr)`; with `auto-fit` that 280px floor still applies
   when only one column fits, and .container adds 24px padding each side — so at
   320px the cards overflowed the viewport and forced horizontal scrolling. */
@media (max-width: 380px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .pricing { grid-template-columns: 1fr; }
}
.pricing { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }

/* Wide content must scroll inside its own box, never push the page sideways. */
.compare-wrap, .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.compare { min-width: 460px; }
