/* ==========================================================================
   Tinh Bàn — Design System "Giấy Dó, Mực Tàu, Chu Sa, Kim Sa & Ngọc Bích"
   tinhban.brainode.one | Brainode (iOS) & Namode Studio (Android)
   ========================================================================== */

:root {
  /* Giấy Dó & Ink Palette */
  --bg-paper: #F7F4EC;
  --bg-paper-deep: #EFE9DA;
  --bg-card: #FBF9F4;
  --bg-white: #FFFFFF;
  --bg-lacquer: #141820;
  --bg-lacquer-elevated: #1D2330;

  --ink-primary: #1A1D24;
  --ink-secondary: #484C56;
  --ink-muted: #6C707A;
  --ink-light: #F7F4EC;
  --ink-light-muted: #C9C3B4;

  /* Traditional Seal & Mineral Accents */
  --cinnabar: #B83B2A;
  --cinnabar-hover: #9E3021;
  --cinnabar-soft: rgba(184, 59, 42, 0.09);

  --gold: #B88B36;
  --gold-light: #D9AE5F;
  --gold-soft: rgba(184, 139, 54, 0.12);

  --jade: #276759;
  --jade-soft: rgba(39, 103, 89, 0.10);

  --border-sand: #E3DBC9;
  --border-sand-strong: #D3C8B2;

  /* Typography */
  --font-serif: "Noto Serif", Georgia, "Times New Roman", serif;
  --font-sans: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Shadows & Radii */
  --shadow-card: 0 4px 20px rgba(26, 29, 36, 0.05), 0 1px 3px rgba(26, 29, 36, 0.04);
  --shadow-float: 0 22px 48px rgba(26, 29, 36, 0.14), 0 8px 20px rgba(26, 29, 36, 0.08);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;

  --container-max: 1180px;
  --nav-height: 74px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-primary);
  background-color: var(--bg-paper);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(184, 139, 54, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 88% 18%, rgba(184, 59, 42, 0.04) 0%, transparent 40%);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--cinnabar);
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}

a:hover {
  color: var(--cinnabar-hover);
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Typography Helpers */
h1, h2, h3, .font-serif {
  font-family: var(--font-serif);
  color: var(--ink-primary);
  letter-spacing: -0.015em;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cinnabar);
  margin-bottom: 10px;
}

.section-eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--cinnabar);
  border-radius: 2px;
}

.section-heading {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.24;
  font-weight: 700;
  margin: 0 0 14px;
}

.section-lead {
  font-size: 16.5px;
  color: var(--ink-secondary);
  max-width: 720px;
  margin: 0;
}

/* ==========================================================================
   Topbar Navigation (Matched to sheet_05_website_brainode.png)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-height);
  background: rgba(247, 244, 236, 0.90);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-sand);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-primary);
  flex-shrink: 0;
}

.brand-lockup:hover {
  color: var(--ink-primary);
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  box-shadow: 0 3px 10px rgba(184, 59, 42, 0.22);
  object-fit: cover;
}

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

.brand-name {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 700;
  color: var(--ink-primary);
}

.brand-sub {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  display: inline-flex;
  align-items: center;
}

.nav-links li + li::before {
  content: "·";
  color: var(--border-sand-strong);
  margin-right: 8px;
  font-weight: 700;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-primary);
  padding: 6px 8px;
  border-radius: 8px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--cinnabar);
  background: var(--cinnabar-soft);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-cinnabar {
  background: var(--cinnabar);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(184, 59, 42, 0.25);
}

.btn-cinnabar:hover {
  background: var(--cinnabar-hover);
  color: #FFFFFF;
}

.btn-outline {
  background: var(--bg-card);
  color: var(--ink-primary);
  border-color: var(--border-sand-strong);
}

.btn-outline:hover {
  border-color: var(--cinnabar);
  color: var(--cinnabar);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-sand-strong);
  border-radius: 9px;
  padding: 8px 10px;
  color: var(--ink-primary);
  cursor: pointer;
}

/* Mobile Drawer */
.mobile-menu {
  display: none;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-sand);
  padding: 14px 24px 20px;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 10px 0;
  font-weight: 500;
  color: var(--ink-primary);
  border-bottom: 1px dashed var(--border-sand);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

/* ==========================================================================
   Hero Section (Matched to sheet_05_website_brainode.png)
   ========================================================================== */
.hero {
  position: relative;
  padding: 54px 0 44px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-sand);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 78%;
  background:
    linear-gradient(to bottom, rgba(247, 244, 236, 1) 0%, rgba(247, 244, 236, 0.82) 32%, rgba(247, 244, 236, 0.35) 100%),
    url("header-ink-mountain.webp") center bottom / cover no-repeat;
  opacity: 0.52;
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 42px;
}

.hero-title {
  font-size: clamp(32px, 4.3vw, 50px);
  line-height: 1.18;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--ink-primary);
}

.brush-stroke {
  display: block;
  width: 210px;
  height: 12px;
  margin: 6px 0 18px;
}

.hero-subtitle {
  font-size: clamp(15.5px, 1.5vw, 18.5px);
  font-weight: 500;
  color: var(--ink-secondary);
  margin: 0 0 26px;
  max-width: 560px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid var(--border-sand-strong);
  background: rgba(251, 249, 244, 0.88);
  color: var(--ink-primary);
}

.pill-jade {
  color: var(--jade);
  border-color: rgba(39, 103, 89, 0.28);
  background: var(--jade-soft);
}

.pill-gold {
  color: #8A641B;
  border-color: rgba(184, 139, 54, 0.35);
  background: var(--gold-soft);
}

.pill-cinnabar {
  color: var(--cinnabar);
  border-color: rgba(184, 59, 42, 0.3);
  background: var(--cinnabar-soft);
}

/* Store Download Buttons */
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  border-radius: 12px;
  background: #171A21;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 20px rgba(26, 29, 36, 0.16);
  cursor: pointer;
  text-align: left;
  transition: transform 0.16s ease, background-color 0.18s ease;
}

.store-btn:hover {
  background: #242934;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.store-btn-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-btn-small {
  font-size: 10.5px;
  font-weight: 500;
  color: #D2CDC2;
}

.store-btn-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.store-publisher-note {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--ink-muted);
}

/* Hero Dual Phone Showcase */
.hero-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  position: relative;
}

.phone-frame {
  width: 235px;
  border-radius: 30px;
  filter: drop-shadow(0 20px 36px rgba(26, 29, 36, 0.18));
  transition: transform 0.25s ease;
}

.phone-frame:hover {
  transform: translateY(-4px);
}

.phone-frame--secondary {
  transform: translateY(16px);
}

.phone-frame--secondary:hover {
  transform: translateY(10px);
}

/* ==========================================================================
   3 Core Value Cards (Matched to sheet_05_website_brainode.png bottom strip)
   ========================================================================== */
.core-values {
  position: relative;
  z-index: 2;
  padding: 28px 0 42px;
  background: linear-gradient(to bottom, rgba(247, 244, 236, 0.65), var(--bg-paper));
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.value-card {
  background: rgba(251, 249, 244, 0.94);
  border: 1px solid var(--border-sand);
  border-radius: var(--radius-lg);
  padding: 24px 24px 22px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.value-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-badge--cinnabar {
  background: var(--cinnabar-soft);
  color: var(--cinnabar);
  border: 1px solid rgba(184, 59, 42, 0.22);
}

.icon-badge--gold {
  background: var(--gold-soft);
  color: #8A641B;
  border: 1px solid rgba(184, 139, 54, 0.30);
}

.icon-badge--jade {
  background: var(--jade-soft);
  color: var(--jade);
  border: 1px solid rgba(39, 103, 89, 0.26);
}

.value-card h3 {
  font-size: 18px;
  line-height: 1.32;
  margin: 0;
}

.value-card p {
  font-size: 14.5px;
  color: var(--ink-secondary);
  margin: 0;
}

/* ==========================================================================
   Content Sections
   ========================================================================== */
.section {
  padding: 68px 0;
}

.section--alt {
  background: var(--bg-paper-deep);
  border-top: 1px solid var(--border-sand);
  border-bottom: 1px solid var(--border-sand);
}

.section--lacquer {
  background:
    linear-gradient(to bottom, rgba(20, 24, 32, 0.88), rgba(20, 24, 32, 0.96)),
    url("header-dark-celestial.webp") center top / cover no-repeat;
  color: var(--ink-light);
}

.section--lacquer h2,
.section--lacquer h3 {
  color: var(--ink-light);
}

.section--lacquer .section-lead {
  color: var(--ink-light-muted);
}

/* Voice & Prayers Split Showcase */
.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 34px;
}

.feature-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-sand);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feature-panel-top {
  display: flex;
  gap: 18px;
  align-items: center;
}

.feature-thumb {
  width: 96px;
  height: 96px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid var(--border-sand);
  flex-shrink: 0;
}

.feature-panel h3 {
  font-size: 22px;
  margin: 0 0 6px;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  color: var(--ink-secondary);
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--jade);
}

/* 18 Prayers Expandable Chips */
.prayer-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.prayer-chip {
  font-size: 12.5px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--bg-paper);
  border: 1px solid var(--border-sand);
  color: var(--ink-primary);
}

/* 6 Disciplines Grid */
.disciplines-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.discipline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-sand);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.discipline-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-transform: uppercase;
}

.discipline-card h3 {
  font-size: 19px;
  margin: 0;
}

.discipline-card p {
  font-size: 14.2px;
  color: var(--ink-secondary);
  margin: 0;
}

.country-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 4px;
}

.country-tag {
  font-size: 11.5px;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--bg-paper);
  border: 1px solid var(--border-sand);
  color: var(--ink-secondary);
}

/* Prototype Showcase Tabs */
.showcase-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 20px;
}

.tab-btn {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink-light-muted);
  cursor: pointer;
  transition: all 0.18s ease;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}

.tab-btn.is-active {
  background: var(--cinnabar);
  border-color: var(--cinnabar);
  color: #FFFFFF;
}

.showcase-stage {
  background: var(--bg-lacquer-elevated);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 16px;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.35);
}

.showcase-panel {
  display: none;
}

.showcase-panel.is-active {
  display: block;
}

.showcase-panel img {
  width: 100%;
  border-radius: 14px;
}

.showcase-caption {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--ink-light-muted);
  text-align: center;
}

/* ==========================================================================
   Free vs Pro Comparison Table & Pricing
   ========================================================================== */
.table-wrap {
  margin-top: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border-sand);
  border-radius: var(--radius-xl);
  overflow-x: auto;
  box-shadow: var(--shadow-card);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.compare-table th,
.compare-table td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-sand);
  vertical-align: top;
  font-size: 14.5px;
}

.compare-table thead th {
  background: var(--bg-paper-deep);
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
}

.compare-table thead th.col-pro {
  background: rgba(184, 139, 54, 0.15);
  color: #704E10;
}

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

.compare-table td:first-child {
  font-weight: 600;
  color: var(--ink-primary);
  width: 26%;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-sand);
  border-radius: var(--radius-lg);
  padding: 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.plan-card--featured {
  border: 2px solid var(--cinnabar);
  background: #FFFDF9;
  box-shadow: 0 10px 28px rgba(184, 59, 42, 0.10);
}

.plan-badge {
  position: absolute;
  top: -12px;
  right: 18px;
  background: var(--cinnabar);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

.plan-badge--gold {
  background: var(--gold);
  color: #FFFFFF;
}

.plan-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-secondary);
}

.plan-price {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
  color: var(--ink-primary);
}

.plan-sub {
  font-size: 13.5px;
  color: var(--ink-muted);
}

/* ==========================================================================
   Disclaimer Banner & Legal Pages
   ========================================================================== */
.disclaimer-box {
  background: var(--bg-card);
  border: 1px solid var(--border-sand-strong);
  border-left: 5px solid var(--jade);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow-card);
}

.disclaimer-box h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: var(--jade);
}

.disclaimer-box p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-secondary);
}

.cta-banner {
  margin-top: 34px;
  background: linear-gradient(135deg, #212632 0%, #151922 100%);
  color: var(--ink-light);
  border-radius: var(--radius-xl);
  padding: 34px 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(217, 174, 95, 0.25);
}

.cta-banner h3 {
  color: var(--ink-light);
  font-size: clamp(22px, 2.5vw, 28px);
  margin: 0 0 6px;
}

.cta-banner p {
  color: var(--ink-light-muted);
  margin: 0;
  max-width: 560px;
  font-size: 14.5px;
}

/* Legal / Support Document Layout */
.doc-hero {
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--border-sand);
  background:
    linear-gradient(to bottom, rgba(247, 244, 236, 0.96), rgba(239, 233, 218, 0.85));
}

.doc-hero h1 {
  font-size: clamp(28px, 3.6vw, 42px);
  margin: 0 0 10px;
}

.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13.5px;
  color: var(--ink-muted);
  margin-top: 12px;
}

.doc-layout {
  padding: 42px 0 68px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.doc-toc {
  position: sticky;
  top: calc(var(--nav-height) + 20px);
  background: var(--bg-card);
  border: 1px solid var(--border-sand);
  border-radius: var(--radius-md);
  padding: 18px;
}

.doc-toc-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  margin: 0 0 10px;
}

.doc-toc a {
  display: block;
  font-size: 13.5px;
  color: var(--ink-secondary);
  padding: 6px 8px;
  border-radius: 6px;
}

.doc-toc a:hover {
  color: var(--cinnabar);
  background: var(--cinnabar-soft);
}

.doc-content {
  background: var(--bg-card);
  border: 1px solid var(--border-sand);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  box-shadow: var(--shadow-card);
}

.doc-content h2 {
  font-size: 23px;
  margin: 34px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border-sand);
}

.doc-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.doc-content h3 {
  font-size: 17.5px;
  margin: 20px 0 8px;
}

.doc-content p,
.doc-content li {
  font-size: 15px;
  color: var(--ink-secondary);
}

.doc-content ul,
.doc-content ol {
  padding-left: 22px;
}

.english-summary {
  margin-top: 32px;
  background: #F3EFE4;
  border: 1px solid var(--border-sand-strong);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}

.english-summary h2 {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
  color: #6B4B10;
}

/* FAQ Accordion on Support Page */
.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.faq-item {
  background: var(--bg-paper);
  border: 1px solid var(--border-sand);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 15.5px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-primary);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--cinnabar);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--border-sand);
  background: var(--bg-card);
}

.faq-body {
  padding: 16px 20px;
  font-size: 14.5px;
  color: var(--ink-secondary);
}

/* Modal for Store Pre-Release Status */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(20, 24, 32, 0.58);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 480px;
  background: var(--bg-card);
  border: 1px solid var(--border-sand-strong);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-float);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.modal-close {
  background: transparent;
  border: 1px solid var(--border-sand-strong);
  border-radius: 8px;
  width: 34px;
  height: 34px;
  font-size: 18px;
  cursor: pointer;
  color: var(--ink-primary);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #EFE9DA;
  border-top: 1px solid var(--border-sand-strong);
  padding: 46px 0 36px;
  font-size: 13.5px;
  color: var(--ink-secondary);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-sand-strong);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: var(--ink-primary);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--cinnabar);
}

.footer-attributions {
  padding-top: 22px;
  display: grid;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-muted);
}

.footer-bottom {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-weight: 500;
  color: var(--ink-primary);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-showcase {
    margin-top: 12px;
  }

  .values-grid,
  .disciplines-grid,
  .plans-grid,
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .doc-layout {
    grid-template-columns: 1fr;
  }

  .doc-toc {
    position: static;
  }
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .values-grid,
  .split-grid,
  .disciplines-grid,
  .plans-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .phone-frame {
    width: 175px;
  }

  .doc-content {
    padding: 24px 20px;
  }

  .cta-banner {
    padding: 26px 22px;
  }
}
