/* ════════════════════════════════════════════════════════════════════
   Offline AI by Sparsh — brand site (all pages share this file)
   style.css

   Structure:
   1.  Design tokens (CSS custom properties)
   2.  Dark mode overrides
   3.  Reset & base
   4.  Typography scale
   5.  Layout helpers
   6.  Navigation
   7.  Hero section
   8.  Trial banners
   9.  Individual plans — currency toggle
   10. Plan cards
   11. Institution section
   12. System requirements
   13. Terms & refund accordions
   14. Footer
   15. Utility classes (inr-only / usd-only)
   16. Responsive breakpoints
════════════════════════════════════════════════════════════════════ */


/* ── 0. FONTS (self-hosted, SIL Open Font Licence — see fonts/) ── */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('fonts/sora-latin-wght-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url('fonts/dm-sans-latin-wght-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 100 1000;
  font-display: swap;
  src: url('fonts/dm-sans-latin-wght-italic.woff2') format('woff2');
}


/* ── 1. DESIGN TOKENS ───────────────────────────────────────────── */
:root {
  /* Colour palette */
  --bg:           #FDF7F2;
  --surface:      #FFFFFF;
  --surface-alt:  #F5EFEA;
  --primary:      #8C3E0D;
  --primary-dk:   #6B2F09;
  --accent:       #C27D38;
  --accent-lt:    #F2E3CE;
  --inst-bg:      #1C1208;
  --inst-surface: #2A1A0C;
  --inst-accent:  #E8A84A;
  --fg:           #1C1208;
  --fg-muted:     #7A6555;
  --border:       #E0D0C0;
  --good:         #2E7D52;
  --no:           #B33A1E;
  --trial-bg:     #FFF8EE;
  --trial-border: #E8A84A;
  --beta-bg:      #2D1B4E;
  --beta-border:  #7C5CBF;
  --beta-accent:  #C9A8FF;

  /* Typography */
  --font-display: 'Sora', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* Spacing */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  40px;
  --space-2xl: 64px;

  /* Radius */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  18px;
  --radius-xl:  24px;
  --radius-pill:9999px;

  /* Shadows */
  --shadow-card:  0 2px 12px rgba(28,18,8,.07), 0 1px 3px rgba(28,18,8,.05);
  --shadow-hover: 0 8px 28px rgba(28,18,8,.12), 0 2px 8px rgba(28,18,8,.08);
  --shadow-feat:  0 12px 36px rgba(140,62,13,.18), 0 3px 10px rgba(140,62,13,.10);

  /* Transitions */
  --tr-fast:   150ms ease;
  --tr-normal: 250ms ease;
  --tr-slow:   400ms ease;

  /* Max content width */
  --max-w: 1120px;
  --gutter: 16px;
}


/* ── 2. DARK MODE ───────────────────────────────────────────────── */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:           #130D07;
    --surface:      #1F1209;
    --surface-alt:  #2A1A0C;
    --primary:      #D4874A;
    --primary-dk:   #E8A84A;
    --accent:       #E8A84A;
    --accent-lt:    #3A2210;
    --inst-bg:      #0A0603;
    --inst-surface: #160E05;
    --inst-accent:  #F0C56A;
    --fg:           #F5EFEA;
    --fg-muted:     #A89070;
    --border:       #3A2618;
    --good:         #5FBA89;
    --no:           #E06040;
    --trial-bg:     #2A1E0A;
    --trial-border: #C27D38;
    --shadow-card:  0 2px 12px rgba(0,0,0,.30);
    --shadow-hover: 0 8px 28px rgba(0,0,0,.40);
    --shadow-feat:  0 12px 36px rgba(212,135,74,.25);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg:           #130D07;
  --surface:      #1F1209;
  --surface-alt:  #2A1A0C;
  --primary:      #D4874A;
  --primary-dk:   #E8A84A;
  --accent:       #E8A84A;
  --accent-lt:    #3A2210;
  --inst-bg:      #0A0603;
  --inst-surface: #160E05;
  --inst-accent:  #F0C56A;
  --fg:           #F5EFEA;
  --fg-muted:     #A89070;
  --border:       #3A2618;
  --good:         #5FBA89;
  --no:           #E06040;
  --trial-bg:     #2A1E0A;
  --trial-border: #C27D38;
  --shadow-card:  0 2px 12px rgba(0,0,0,.30);
  --shadow-hover: 0 8px 28px rgba(0,0,0,.40);
  --shadow-feat:  0 12px 36px rgba(212,135,74,.25);
  color-scheme: dark;
}


/* ── 3. RESET & BASE ────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--tr-fast);
}

a:hover { color: var(--primary-dk); text-decoration: underline; }

ul { list-style: none; }

button {
  font-family: var(--font-body);
  cursor: pointer;
}


/* ── 4. TYPOGRAPHY SCALE ────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--fg);
}

h1 { font-size: clamp(28px, 5vw, 48px); font-weight: 800; }
h2 { font-size: clamp(22px, 3.5vw, 32px); font-weight: 700; }
h3 { font-size: clamp(18px, 2.5vw, 22px); font-weight: 700; }
h4 { font-size: 14px; font-weight: 600; text-transform: uppercase;
     letter-spacing: .06em; color: var(--fg-muted); margin: 16px 0 8px; }

p { color: var(--fg-muted); }

strong { color: var(--fg); font-weight: 600; }


/* ── 5. LAYOUT HELPERS ──────────────────────────────────────────── */
.inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: var(--space-2xl) 0; }

.section-sub {
  font-size: 14px;
  color: var(--fg-muted);
  margin-top: 4px;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}


/* ── 6. NAVIGATION ──────────────────────────────────────────────── */
#nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 10px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

/* Brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-brand-text strong {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
}

.nav-brand-text span {
  font-size: 11px;
  color: var(--fg-muted);
}

/* Desktop links */
.nav-links {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  transition: color var(--tr-fast);
}

.nav-links a:hover {
  color: var(--primary);
  text-decoration: none;
}

/* CTA button */
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: var(--primary);
  color: #FFF;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: background var(--tr-fast), transform var(--tr-fast);
  text-decoration: none;
}

.nav-cta:hover {
  background: var(--primary-dk);
  transform: translateY(-1px);
  color: #FFF;
  text-decoration: none;
}


/* ── 7. HERO SECTION ────────────────────────────────────────────── */
#hero {
  padding: 56px 0 40px;
  text-align: center;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 14px;
}

#hero h1 {
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto 28px;
  color: var(--fg-muted);
}

/* Feature badges */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
}

.hbadge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
  white-space: nowrap;
}


/* ── 8. TRIAL BANNERS ───────────────────────────────────────────── */
#trial {
  padding: 0 0 var(--space-xl);
}

.trial-banner {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg) 20px;
  background: var(--trial-bg);
  border: 1.5px solid var(--trial-border);
  border-radius: var(--radius-lg);
  text-align: left;
  margin-bottom: 12px;
}

.t-icon {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.trial-body {
  flex: 1;
}

.trial-body p {
  font-size: 14px;
  color: var(--fg);
  margin-bottom: 12px;
}

.trial-body strong {
  color: var(--primary);
  font-weight: 700;
}

/* Beta trial variant */
.trial-beta {
  background: linear-gradient(135deg, #2D1B4E 0%, #1C1208 100%);
  border-color: #7C5CBF;
}

.trial-beta .trial-body p { color: #E0D0FF; }
.trial-beta .trial-body strong { color: #C9A8FF; }

.beta-title {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #C9A8FF !important;
  margin-bottom: 6px;
}

.accent-gold { color: var(--inst-accent) !important; }

.beta-warning {
  font-size: 12px !important;
  color: #B09090 !important;
  margin-top: 6px !important;
  margin-bottom: 12px !important;
}

/* Trial CTA pill */
.trial-pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  background: var(--accent);
  color: #FFF;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: background var(--tr-fast), transform var(--tr-fast);
  text-decoration: none;
}

.trial-pill:hover {
  background: var(--primary);
  transform: translateY(-1px);
  color: #FFF;
  text-decoration: none;
}

.trial-pill-beta {
  background: #7C5CBF;
}

.trial-pill-beta:hover {
  background: #6448A8;
}

.beta-inst-note {
  font-size: 13px !important;
  color: #C9B8E8 !important;
  background: rgba(124,92,191,.15);
  border: 1px solid rgba(124,92,191,.35);
  border-radius: 8px;
  padding: 10px 14px !important;
  margin: 10px 0 14px !important;
  line-height: 1.6 !important;
}

.beta-inst-note--gap { margin-top: 16px !important; }

.trial-pill-inst {
  background: #3E6B3A;
  margin-left: 8px;
}

.trial-pill-inst:hover {
  background: #2E5229;
}


/* ── 9. INDIVIDUAL PLANS — CURRENCY TOGGLE ──────────────────────── */
#plans {
  padding: var(--space-2xl) 0;
}

#plans h2 { margin-bottom: 4px; }

.launch-note {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  margin: 8px 0 20px;
}

.launch-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(1.3); }
}

/* Toggle buttons */
.currency-toggle {
  display: inline-flex;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 3px;
  margin-bottom: 32px;
  gap: 2px;
}

.ctoggle-btn {
  padding: 8px 20px;
  border: none;
  border-radius: var(--radius-pill);
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  transition: background var(--tr-normal), color var(--tr-normal);
  cursor: pointer;
}

.ctoggle-btn.active {
  background: var(--primary);
  color: #FFF;
  font-weight: 600;
}

.ctoggle-btn:not(.active):hover {
  background: var(--surface-alt);
  color: var(--fg);
}


/* ── 10. PLAN CARDS ─────────────────────────────────────────────── */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.plan-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  position: relative;
  transition: box-shadow var(--tr-normal), transform var(--tr-normal), border-color var(--tr-normal);
  box-shadow: var(--shadow-card);
}

.plan-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-color: var(--accent);
}

/* Featured (Max) card */
.plan-card--featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-feat);
  transform: translateY(-4px);
}

.plan-card--featured:hover {
  transform: translateY(-7px);
}

/* Recommended badge */
.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #FFF;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  letter-spacing: .04em;
}

.plan-tier {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 4px;
}

.plan-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 4px;
}

.plan-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  margin-bottom: 18px;
}

/* Price block */
.plan-price-block { margin-bottom: 20px; }

.price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}

.price {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  color: var(--fg);
  line-height: 1;
}

.price-note {
  font-size: 12px;
  color: var(--fg-muted);
}

.price-regular {
  font-size: 14px;
  color: var(--fg-muted);
  text-decoration: line-through;
}

.launch-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  background: var(--accent-lt);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  align-self: center;
}

/* Feature list */
.plan-features {
  list-style: none;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.feat-yes,
.feat-no {
  font-size: 13px;
  padding-left: 22px;
  position: relative;
}

.feat-yes::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--good);
  font-weight: 700;
}

.feat-no {
  color: var(--fg-muted);
  opacity: .6;
}

.feat-no::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: var(--no);
  font-size: 11px;
  top: 2px;
}

/* Plan buy button */
.plan-btn {
  display: block;
  width: 100%;
  padding: 11px 16px;
  background: var(--surface-alt);
  color: var(--primary);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: background var(--tr-fast), border-color var(--tr-fast), color var(--tr-fast), transform var(--tr-fast);
  text-decoration: none;
  cursor: pointer;
}

.plan-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFF;
  transform: translateY(-1px);
  text-decoration: none;
}

.plan-btn--featured {
  background: var(--primary);
  color: #FFF;
  border-color: var(--primary);
}

.plan-btn--featured:hover {
  background: var(--primary-dk);
  border-color: var(--primary-dk);
}


/* ── 11. INSTITUTION SECTION ────────────────────────────────────── */
/* #institution is only an empty anchor above the region switch */
#institution {
  padding: 0;
}

#institution h2 {
  margin-bottom: 4px;
}

#institution .section-sub {
}

.inst-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.inst-grid--intl {
  grid-template-columns: repeat(2, 1fr);
  max-width: 720px;
}

.inst-card {
  background: var(--inst-surface);
  border: 1.5px solid rgba(232,168,74,.2);
  border-radius: var(--radius-xl);
  padding: 28px 22px;
  transition: box-shadow var(--tr-normal), transform var(--tr-normal), border-color var(--tr-normal);
}

.inst-card:hover {
  transform: translateY(-3px);
  border-color: rgba(232,168,74,.5);
  box-shadow: 0 10px 32px rgba(0,0,0,.30);
}

.inst-card--mid {
  border-color: rgba(232,168,74,.45);
}

.inst-pack {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--inst-accent);
  margin-bottom: 4px;
}

.inst-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #F5EFEA;
  margin-bottom: 16px;
}

.inst-price-block {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 18px;
}

.inst-price {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--inst-accent);
  line-height: 1;
}

.inst-price-note {
  font-size: 12px;
  color: #A89070;
}

.inst-price-regular {
  font-size: 13px;
  color: #A89070;
  text-decoration: line-through;
}

.inst-features {
  list-style: none;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.inst-features .feat-yes {
  color: #D0C0A8;
}

.inst-features .feat-yes::before {
  color: #5FBA89;
}

.inst-features .feat-no {
  color: #7A6555;
  opacity: .7;
}

.inst-btn {
  display: block;
  width: 100%;
  padding: 11px 16px;
  background: transparent;
  color: var(--inst-accent);
  border: 1.5px solid rgba(232,168,74,.4);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: background var(--tr-fast), border-color var(--tr-fast), color var(--tr-fast);
  text-decoration: none;
  cursor: pointer;
}

.inst-btn:hover {
  background: var(--inst-accent);
  border-color: var(--inst-accent);
  color: var(--inst-bg);
  text-decoration: none;
}


/* ── 12. SYSTEM REQUIREMENTS ────────────────────────────────────── */
#sysreq {
  padding: var(--space-2xl) 0;
}

.perf-tip {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: var(--trial-bg);
  border: 1px solid var(--trial-border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 13px;
  color: var(--fg);
  margin: 16px 0 20px;
  line-height: 1.5;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: 14px;
}

.req-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.req-table th {
  background: var(--surface-alt);
  padding: 12px 16px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--border);
}

.req-table td {
  padding: 11px 16px;
  color: var(--fg);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.req-table tr:last-child td { border-bottom: none; }

.req-table tr:nth-child(even) td { background: var(--surface-alt); }

.req-warn {
  font-size: 13px;
  color: var(--fg-muted);
  padding: 10px 14px;
  border-left: 3px solid var(--no);
  background: var(--surface);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 4px;
}

.install-title {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 28px 0 10px;
  color: var(--fg);
}

.install-steps {
  margin: 0 0 10px;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg);
}

.install-steps li { margin-bottom: 8px; }

.install-note {
  font-size: 13px;
  color: var(--fg-muted);
}


/* ── 13. TERMS & REFUND ACCORDIONS ──────────────────────────────── */
#terms {
  padding: var(--space-2xl) 0;
  background: var(--surface-alt);
}

.accordion-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: transparent;
  border: none;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  cursor: pointer;
  transition: background var(--tr-fast);
  text-align: left;
  gap: 12px;
}

.accordion-header:hover {
  background: var(--surface-alt);
}

.acc-chevron {
  font-size: 20px;
  color: var(--fg-muted);
  transition: transform var(--tr-normal);
  flex-shrink: 0;
  line-height: 1;
}

.accordion-header[aria-expanded="true"] .acc-chevron {
  transform: rotate(90deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--tr-slow) ease;
  padding: 0 20px;
}

.accordion-body.open {
  max-height: 1200px;
  padding-bottom: 20px;
}

.accordion-body p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 10px;
}

.accordion-body ul {
  list-style: disc;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 12px;
}

.accordion-body ul li {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

.accordion-body ul ul {
  margin-top: 4px;
  margin-bottom: 0;
}

.accordion-body a {
  color: var(--primary);
}

.accordion-body h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--fg-muted);
  margin: 16px 0 8px;
}

.accordion-body h4:first-child { margin-top: 12px; }


/* ── 14. FOOTER ─────────────────────────────────────────────────── */
footer {
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  padding: var(--space-2xl) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 32px;
  margin-bottom: 32px;
}

/* Brand column */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
  max-width: 220px;
}

/* Link columns */
.footer-col-title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--fg-muted);
  margin-bottom: 12px;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a,
.footer-contact a {
  font-size: 14px;
  color: var(--fg-muted);
  transition: color var(--tr-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--primary);
  text-decoration: none;
}

.social-icon {
  font-size: 13px;
  width: 16px;
  text-align: center;
}

/* Store chips */
.store-chips {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

.store-chip {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid transparent;
  transition: transform var(--tr-fast), box-shadow var(--tr-fast);
  text-decoration: none;
}

.store-chip:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  text-decoration: none;
}

.store-chip--instamojo {
  background: #F0E8FF;
  color: #4B0082;
  border-color: #C8A8E8;
}

.store-chip--gumroad {
  background: #FFE8EE;
  color: #8B001A;
  border-color: #F0A8B8;
}

.store-note {
  font-size: 11px;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* Copyright bar */
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 16px 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--fg-muted);
}

.footer-bottom a {
  font-size: 12px;
  color: var(--fg-muted);
}


/* ── 15. CURRENCY VISIBILITY HELPERS ────────────────────────────── */
/* Default: show INR, hide USD */
.usd-only { display: none !important; }
.inr-only { display: block; }       /* overridden per-element below */

/* Flex elements that use inr-only / usd-only */
.price-row.inr-only,
.plan-btn.inr-only,
.inst-grid.inr-only,
.hbadge.inr-only {
  display: flex;
}

.hbadge.inr-only   { display: inline-flex; }
.plan-btn.inr-only { display: block; }
.inst-grid.inr-only { display: grid; }

/* When USD is active (body gets .currency-usd via JS) */
body.currency-usd .inr-only { display: none !important; }
body.currency-usd .usd-only { display: block !important; }

body.currency-usd .price-row.usd-only { display: flex !important; }
body.currency-usd .plan-btn.usd-only  { display: block !important; }
body.currency-usd .inst-grid.usd-only { display: grid !important; }


/* ── 16. RESPONSIVE BREAKPOINTS ─────────────────────────────────── */

/* Tablet — 900px */
@media (max-width: 900px) {
  .plan-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Max card goes full width on tablet */
  #card-max {
    grid-column: 1 / -1;
    max-width: 480px;
    margin: 0 auto;
  }

  .inst-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* 7PC card goes full width */
  .inst-card--mid {
    grid-column: 1 / -1;
    max-width: 480px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-inner { flex-wrap: wrap; row-gap: 6px; }
  .nav-links {
    order: 3;
    width: 100%;
    gap: var(--space-md);
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
}

/* Mobile — 600px */
@media (max-width: 600px) {
  :root { --space-2xl: 48px; }

  section { padding: 40px 0; }

  #hero { padding: 40px 0 28px; }

  h1 { font-size: 28px; }

  .plan-grid {
    grid-template-columns: 1fr;
  }

  #card-max {
    grid-column: auto;
    max-width: 100%;
    margin: 0;
  }

  .inst-grid,
  .inst-grid--intl {
    grid-template-columns: 1fr;
  }

  .inst-card--mid {
    grid-column: auto;
    max-width: 100%;
    margin: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .currency-toggle {
    width: 100%;
    justify-content: center;
  }

  .ctoggle-btn { flex: 1; text-align: center; }

  .trial-banner {
    flex-direction: column;
    gap: 10px;
  }

  .req-table th, .req-table td { padding: 9px 12px; font-size: 13px; }
}


/* ══════════════════════════════════════════════════════════════════
   CAROUSEL — India & International product carousels
══════════════════════════════════════════════════════════════════ */

.carousel-section {
  margin-top: 44px;
}

.carousel-label {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 18px;
}

.car-currency {
  color: var(--primary);
  font-weight: 800;
}

.car-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  -webkit-user-select: none;
  user-select: none;
}

.car-viewport {
  overflow: hidden;
  flex: 1;
  min-width: 0;
  padding-top: 16px;
}

.car-track {
  display: flex;
  gap: 20px;
  transition: transform .45s cubic-bezier(.25,.46,.45,.94);
  align-items: stretch;
  will-change: transform;
}

/* Cards inside the track must not shrink and stack vertically */
.car-track .plan-card,
.car-track .inst-card {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* width set by JS */
}

/* Arrow buttons */
.car-btn {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(124,92,191,.50);
  background: rgba(124,92,191,.15);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s, transform .12s;
  padding: 0 0 2px 0;
  z-index: 5;
}
.car-btn:hover  { background: rgba(124,92,191,.45); border-color: rgba(124,92,191,.85); }
.car-btn:active { transform: scale(.92); }

/* Dot indicators */
.car-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  min-height: 16px;
}

.car-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: background .25s, transform .25s;
  cursor: pointer;
}

.car-dot.active {
  background: var(--primary);
  transform: scale(1.35);
}

/* Social icon SVG sizing */
.social-icon svg {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  display: inline-block;
}

/* Mobile: narrower buttons */
@media (max-width: 639px) {
  .car-btn {
    width: 36px;
    height: 36px;
    font-size: 22px;
  }
  .car-wrapper { gap: 6px; }
}


/* ══════════════════════════════════════════════════════════════════
   BRAND SITE — home page, "coming soon" slot and legal pages
══════════════════════════════════════════════════════════════════ */

/* Feature grid (Book Answerer page) */
#features { padding-top: 0; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.feature-icon { font-size: 22px; display: block; margin-bottom: 8px; }
.feature h3 { font-size: 16px; margin-bottom: 6px; }
.feature p { font-size: 14px; line-height: 1.55; }

/* Buttons */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.btn {
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid var(--primary);
  transition: background var(--tr-fast), color var(--tr-fast), transform var(--tr-fast);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--solid { background: var(--primary); color: #FFF; }
.btn--solid:hover { background: var(--primary-dk); border-color: var(--primary-dk); color: #FFF; }
.btn--ghost { background: transparent; color: var(--primary); }
.btn--ghost:hover { background: var(--surface-alt); color: var(--primary); }
.btn--soon, .btn--soon:hover {
  background: transparent;
  color: var(--fg-muted);
  border: 1.5px dashed var(--border);
  cursor: default;
  transform: none;
}

/* Home: product cards */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.product-card--soon { border-style: dashed; box-shadow: none; }
.product-media {
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, #3A1A06 100%);
}
.product-media img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.product-media p { color: #F2E3CE; font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.product-media--soon { background: linear-gradient(135deg, #1B2A3A 0%, #0B1220 100%); }
.product-media--soon .media-icon { font-size: 52px; line-height: 1; }
.product-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.product-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.product-body h3 { font-size: 22px; margin-bottom: 8px; }
.product-body > p { font-size: 14px; margin-bottom: 14px; }
.product-points { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.product-points li { font-size: 13.5px; padding-left: 22px; position: relative; color: var(--fg); }
.product-points li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 700; }
.product-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.product-from { font-size: 13px; color: var(--fg-muted); }
.product-from strong { font-family: var(--font-display); font-size: 20px; color: var(--fg); }
.soon-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-lt);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

/* Home: product orbit (HTML made by make_pages.py). Phone = plain card grid; 700px and wider = two spinning rings. */
.orbit { margin-top: 24px; }
.orbit-hint, .orbit-centre { display: none; }
.orbit-label { font-size: 16px; margin: 20px 0 10px; }
.orbit-ring { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.orbit-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  color: var(--fg);
  text-align: center;
  transition: box-shadow var(--tr-fast), border-color var(--tr-fast);
}
.orbit-card:hover, .orbit-card:focus-visible { text-decoration: none; border-color: var(--accent); box-shadow: var(--shadow-hover); }
.orbit-card img, .orbit-pic { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.orbit-pic {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, #3A1A06 100%);
  color: #F2E3CE;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
}
.orbit-card strong { font-family: var(--font-display); font-size: 13px; line-height: 1.25; padding: 8px 8px 2px; }
.orbit-card span:last-child { font-size: 12.5px; color: var(--fg-muted); padding: 0 8px 9px; }

@media (min-width: 700px) {
  .orbit {
    --s: min(860px, 94vw);          /* stage size; rings and cards scale with it */
    position: relative;
    width: var(--s);
    height: var(--s);
    margin: 8px auto 40px;
    overflow: hidden;               /* a turning ring counts as wider than it looks; without this the page scrolls sideways */
  }
  .orbit-hint { display: block; margin-top: 16px; text-align: center; font-size: 13px; color: var(--fg-muted); }
  .orbit-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .orbit-centre {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13px;
    line-height: 1.2;
    text-align: center;
    color: var(--primary);
  }
  .orbit-centre img { width: calc(var(--s) * .06); height: auto; border-radius: 50%; box-shadow: var(--shadow-feat); }
  .orbit-ring {
    display: block;
    position: absolute;
    top: 50%;                       /* a zero-size box at the centre: a turning full-size box would make the page scroll sideways */
    left: 50%;
    width: 0;
    height: 0;
    pointer-events: none;
    animation: orbit-spin var(--t) linear infinite;
  }
  /* radii and card widths are set so that cards of the two rings never touch while they pass each other */
  .orbit-ring--outer { --r: calc(var(--s) * .4); --t: 90s; }
  .orbit-ring--inner { --r: calc(var(--s) * .152); --t: 60s; animation-direction: reverse; }
  .orbit-ring::before {             /* the track */
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(var(--r) * 2);
    height: calc(var(--r) * 2);
    transform: translate(-50%, -50%);
    border: 1.5px dashed var(--border);
    border-radius: 50%;
  }
  .orbit-ring li {
    --a: calc(var(--i) * 360deg / var(--n) - 90deg);
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(var(--s) * .165);
    transform: translate(-50%, -50%) rotate(var(--a)) translateX(var(--r)) rotate(calc(var(--a) * -1));
  }
  .orbit-ring--inner li { width: calc(var(--s) * .13); }
  .orbit-card {                     /* turns against the ring, so the card stays upright */
    pointer-events: auto;
    animation: orbit-spin var(--t) linear infinite reverse;
  }
  .orbit-ring--inner .orbit-card { animation-direction: normal; }
  .orbit:hover .orbit-ring, .orbit:hover .orbit-card,
  .orbit:focus-within .orbit-ring, .orbit:focus-within .orbit-card { animation-play-state: paused; }
  .orbit-card strong { font-size: clamp(10.5px, calc(var(--s) * .015), 13px); }
  .orbit-card span:last-child { font-size: clamp(10px, calc(var(--s) * .014), 12.5px); }
}
@keyframes orbit-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .orbit-ring, .orbit-card { animation: none !important; }
}

/* Home: "why offline" strip */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }

/* Atlas: coming-soon page */
.soon-panel {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  background: var(--surface);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 28px;
}
.soon-panel .media-icon { font-size: 56px; display: block; margin-bottom: 12px; }
.soon-panel h1 { margin: 10px 0 12px; }
.soon-panel p { font-size: 15px; margin-bottom: 8px; }

/* Legal pages */
.legal { padding: 48px 0 64px; }
.legal .inner { max-width: 780px; }
.legal h1 { font-size: clamp(26px, 4vw, 36px); margin-bottom: 6px; }
.legal .updated { font-size: 13px; margin-bottom: 28px; }
.legal h2 { font-size: 20px; margin: 32px 0 10px; }
.legal p, .legal li { font-size: 15px; color: var(--fg); line-height: 1.7; }
.legal p { margin-bottom: 10px; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 12px; display: flex; flex-direction: column; gap: 4px; }
.legal dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 12px;
}
.legal dt { font-weight: 600; color: var(--fg-muted); font-size: 14px; }
.legal dd { font-size: 15px; color: var(--fg); }

/* Details the owner must fill in before going live */
.todo {
  background: #FFF3B0;
  color: #5A4300;
  padding: 0 4px;
  border-radius: 3px;
  font-weight: 600;
}

@media (max-width: 900px) {
  .feature-grid, .why-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .feature-grid, .why-grid { grid-template-columns: 1fr; }
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 8px; }
}


/* ══════════════════════════════════════════════════════════════════
   3D ANATOMY ATLAS PAGE
══════════════════════════════════════════════════════════════════ */

/* Inline prices that switch with the ₹ / $ toggle */
span.inr-only { display: inline; }
body.currency-usd span.usd-only { display: inline !important; }

.hero-shot {
  margin: 32px auto 0;
  max-width: 1000px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-hover);
}
.hero-shot img { width: 100%; height: auto; }

/* Screenshot cards */
.shot-grid, .gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.shot {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.shot a { display: block; }
.shot img { width: 100%; height: auto; transition: transform var(--tr-normal); }
.shot a:hover img { transform: scale(1.02); }
.shot figcaption { font-size: 13px; color: var(--fg-muted); padding: 10px 12px; line-height: 1.45; }
.shot--video { max-width: 900px; margin: 28px auto 0; }
.shot video { display: block; width: 100%; height: auto; background: #000; }

.mobile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 760px;
  margin: 28px auto 0;
}
.shot--phone { border-radius: var(--radius-lg); }

/* Demo: shows the cover, loads the 9 MB clip only on click */
.demo-box {
  position: relative;
  display: block;
  width: 100%;
  max-width: 960px;
  margin: 24px auto 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0B1220;
  box-shadow: var(--shadow-hover);
}
.demo-box img { width: 100%; height: auto; }
.demo-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--primary);
  color: #FFF;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 5px;
  box-shadow: 0 6px 24px rgba(0,0,0,.4);
  transition: transform var(--tr-fast), background var(--tr-fast);
}
.demo-box:hover .demo-play { transform: translate(-50%, -50%) scale(1.08); background: var(--primary-dk); }
.demo-box.playing { cursor: default; }
.demo-box.playing .demo-play { display: none; }

/* Prices extras */
#prices { padding: var(--space-2xl) 0; }
#prices h2 { margin-bottom: 4px; }
.price-foot { font-size: 13.5px; margin-top: 18px; text-align: center; }

.soon-strip {
  margin-top: 40px;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 22px 24px;
  background: var(--surface);
}
.soon-strip h3 { font-size: 18px; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.soon-strip > p { font-size: 13.5px; margin-bottom: 14px; }
.soon-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.soon-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  font-size: 13.5px;
  grid-column: span 2;
}
.soon-name { color: var(--fg); font-weight: 500; }
.soon-price { font-family: var(--font-display); font-weight: 700; color: var(--fg-muted); white-space: nowrap; }
.soon-price s { font-weight: 400; font-size: 12px; margin-left: 2px; }
.soon-item--bundle { grid-column: span 3; border-color: var(--accent); }

.terms-section { background: var(--surface-alt); }
.footer-credit { font-size: 12px; color: var(--fg-muted); padding: 12px 0 0; border-top: 1px solid var(--border); }

@media (max-width: 900px) {
  .shot-grid, .gallery-grid { grid-template-columns: 1fr 1fr; }
  .soon-list { grid-template-columns: 1fr 1fr; }
  .soon-item, .soon-item--bundle { grid-column: auto; }
}
@media (max-width: 600px) {
  .shot-grid, .gallery-grid { grid-template-columns: 1fr; }
  .mobile-grid { grid-template-columns: 1fr 1fr; }
  .mobile-grid .shot:last-child { display: none; }
  .soon-list { grid-template-columns: 1fr; }
  .soon-item--bundle { grid-column: auto; }
  .demo-play { width: 60px; height: 60px; font-size: 22px; }
}

.product-media--photo { background: #0B1220; }
.product-media--photo img { width: 100%; height: 100%; border-radius: 0; object-fit: cover; }

/* ── 20. SHOP GRIDS, PICTURE SLOTS, PYQ CATEGORIES (1 Nov 2026, make_pages.py) ── */
.shop-price .inr-only, body.currency-usd .shop-price .usd-only { display: inline !important; }
body.currency-usd .shop-price .inr-only { display: none !important; }
.shop-pay { text-align: center; font-size: 13.5px; color: var(--fg-muted); margin: -6px 0 8px; }
.shop-group { margin-top: 40px; }
.shop-group-title { font-family: var(--font-display); font-size: 22px; margin-bottom: 2px; }
.shop-group-sub { font-size: 14px; color: var(--fg-muted); margin-bottom: 18px; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.shop-card {
  background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-lg);
  padding: 22px 20px 20px; position: relative; display: flex; flex-direction: column; gap: 6px;
  box-shadow: var(--shadow-card); transition: box-shadow var(--tr-normal), transform var(--tr-normal), border-color var(--tr-normal);
}
.shop-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: var(--accent); }
.shop-card--featured { border-color: var(--primary); box-shadow: var(--shadow-feat); }
.shop-card .plan-tier { margin: 0; }
.shop-name { font-family: var(--font-display); font-size: 19px; font-weight: 800; color: var(--fg); line-height: 1.25; }
.shop-tag { font-size: 13.5px; color: var(--fg-muted); line-height: 1.45; }
.shop-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin: 6px 0 2px; }
.shop-price .price { font-size: 28px; }
.price-was { font-size: 15px; font-weight: 500; color: var(--fg-muted); margin-left: 4px; }
.shop-card .plan-features { flex: 1; margin: 6px 0 10px; }
.shop-card .plan-features li { font-size: 13.5px; }
.shop-btn { margin-top: auto; text-align: center; }

.slot {
  aspect-ratio: 16 / 9; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; text-align: center; padding: 16px; border-radius: var(--radius-md);
  background: repeating-linear-gradient(135deg, var(--surface-alt) 0 14px, var(--accent-lt) 14px 28px);
  border: 2px dashed var(--accent); color: var(--primary-dk);
}
.slot--phone { aspect-ratio: 1 / 2; }
.slot--demo { aspect-ratio: 16 / 9; }
.slot-icon { font-size: 34px; line-height: 1; }
.slot-text { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.slot-cap { font-size: 12.5px; color: var(--fg-muted); }
.hero-shot .slot { border-radius: var(--radius-lg); }
.demo-wrap { max-width: 860px; margin: 0 auto 32px; }
.demo-wrap video { display: block; width: 100%; height: auto; background: #000; border-radius: var(--radius-md); }
.shot-title { font-family: var(--font-display); font-size: 20px; text-align: center; margin: 36px 0 16px; }
.shot-grid--phone { grid-template-columns: repeat(3, minmax(0, 220px)); justify-content: center; }

.terms-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.terms-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px; }
.terms-card h3 { font-size: 16px; margin-bottom: 6px; }
.terms-card p { font-size: 14px; line-height: 1.6; }

.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 4px 0 18px; }
.cat-chip { font-size: 13px; padding: 6px 14px; border-radius: var(--radius-pill); border: 1.5px solid var(--border);
  background: var(--surface); color: var(--fg); text-decoration: none; }
.cat-chip--on { background: var(--primary); border-color: var(--primary); color: #FFF; font-weight: 600; }
.cat-head { display: flex; gap: 14px; align-items: center; margin: 40px 0 0; padding-top: 8px; border-top: 1px solid var(--border); }
.cat-icon { font-size: 34px; }
.cat-head h3 { font-family: var(--font-display); font-size: 24px; }
.cat-head p { font-size: 14px; color: var(--fg-muted); }
#upsc + .shop-group { margin-top: 18px; }
.pyq-what { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; margin-top: 44px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.pyq-what h3 { font-family: var(--font-display); font-size: 20px; margin-bottom: 8px; }
.pyq-what .shot { margin: 0; }
.pyq-note { font-size: 13.5px; color: var(--fg-muted); line-height: 1.6; }
.soon-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 18px; }
.soon-cat { background: var(--surface-alt); border: 1.5px dashed var(--border); border-radius: var(--radius-md); padding: 16px; }
.soon-cat-icon { font-size: 26px; display: block; margin-bottom: 4px; }
.soon-cat h4 { font-size: 16px; margin-bottom: 4px; }
.soon-cat p { font-size: 13px; color: var(--fg-muted); margin-bottom: 8px; }

@media (max-width: 900px) {
  .terms-cards, .pyq-what { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .shot-grid--phone { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-grid { grid-template-columns: 1fr; }
}
.shop-btn--soon { background: var(--surface-alt); color: var(--fg-muted); border: 1.5px dashed var(--border); cursor: default; pointer-events: none; }
