/* Identifier Kit — App Landing Page template
   Brand tokens live in the light/dark blocks below.
   Ring Identifier skin (themeSeedColorHex #D6A65D → warm gold + cream).
   Fork: change --accent, --accent-rgb, --gradient-end, --bg (see LANDING_PAGE.md).
*/

/* ---- Light ---- */
:root,
html[data-theme="light"] {
  --accent: #c9963a;
  --accent-rgb: 201, 150, 58;
  --accent-pressed: #a87a28;
  --gradient-start: #d6a65d;
  --gradient-end: #a87a28;
  --gradient: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  --bg: #faf6f0;
  --bg-elevated: #fffcf8;
  --bg-card: rgba(255, 252, 248, 0.88);
  --nav-shell-bg: rgba(255, 252, 248, 0.72);
  --border: rgba(26, 21, 16, 0.08);
  --border-strong: rgba(201, 150, 58, 0.38);
  --text: #1a1510;
  --text-muted: #6b5f52;
  --text-faint: #9a8c7a;
  --answer-tint: rgba(201, 150, 58, 0.10);
  --success: #2f9e6e;
  --rating: #c9963a;
  --destructive: #d64545;
  --surface-hover: rgba(201, 150, 58, 0.08);
  --btn-secondary-bg: rgba(201, 150, 58, 0.10);
  --pill-bg: rgba(201, 150, 58, 0.12);
  --section-alt: linear-gradient(180deg, rgba(201, 150, 58, 0.06) 0%, transparent 70%);
  --pricing-featured: linear-gradient(160deg, rgba(214, 166, 93, 0.12), rgba(255, 252, 248, 0.98));
  --cta-band-bg: linear-gradient(135deg, rgba(214, 166, 93, 0.12), rgba(250, 246, 240, 0.95));
  --cta-band-border: rgba(201, 150, 58, 0.24);
  --hero-glow-1: rgba(214, 166, 93, 0.22);
  --hero-glow-2: rgba(168, 122, 40, 0.12);
  --grid-line: rgba(26, 21, 16, 0.045);
  --phone-ring: rgba(26, 21, 16, 0.08);
  --shadow: 0 28px 64px rgba(90, 64, 28, 0.12);
  --shadow-card: 0 4px 18px rgba(26, 21, 16, 0.05), 0 1px 3px rgba(26, 21, 16, 0.04);
  --backdrop: rgba(26, 21, 16, 0.38);
  --theme-color: #faf6f0;
}

/* ---- Dark ---- */
html[data-theme="dark"] {
  --accent: #e0bf7a;
  --accent-rgb: 224, 191, 122;
  --accent-pressed: #d6a65d;
  --gradient-start: #e0bf7a;
  --gradient-end: #c9963a;
  --gradient: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  --bg: #14110e;
  --bg-elevated: #1e1a16;
  --bg-card: rgba(30, 26, 22, 0.88);
  --nav-shell-bg: rgba(30, 26, 22, 0.72);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(224, 191, 122, 0.36);
  --text: #f7f0e4;
  --text-muted: #b8a994;
  --text-faint: #7c7160;
  --answer-tint: rgba(224, 191, 122, 0.12);
  --success: #3cb88a;
  --rating: #e0bf7a;
  --destructive: #e05555;
  --surface-hover: rgba(255, 255, 255, 0.05);
  --btn-secondary-bg: rgba(255, 255, 255, 0.06);
  --pill-bg: rgba(224, 191, 122, 0.12);
  --section-alt: linear-gradient(180deg, rgba(224, 191, 122, 0.07) 0%, transparent 70%);
  --pricing-featured: linear-gradient(160deg, rgba(214, 166, 93, 0.14), rgba(30, 26, 22, 0.96));
  --cta-band-bg: linear-gradient(135deg, rgba(214, 166, 93, 0.18), rgba(20, 17, 14, 0.95));
  --cta-band-border: rgba(224, 191, 122, 0.24);
  --hero-glow-1: rgba(214, 166, 93, 0.22);
  --hero-glow-2: rgba(168, 122, 40, 0.12);
  --grid-line: rgba(255, 255, 255, 0.04);
  --phone-ring: rgba(255, 255, 255, 0.08);
  --shadow: 0 28px 64px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.35);
  --backdrop: rgba(0, 0, 0, 0.58);
  --theme-color: #14110e;
}

:root {
  --on-accent: #1a1510;
  --lightbox-backdrop: rgba(0, 0, 0, 0.88);
  --btn-primary-shadow: 0 12px 28px rgba(var(--accent-rgb), 0.32);
  --btn-primary-shadow-hover: 0 16px 36px rgba(var(--accent-rgb), 0.4);
  --icon-badge-shadow: 0 8px 20px rgba(var(--accent-rgb), 0.25);
  --badge-shadow: 0 6px 16px rgba(var(--accent-rgb), 0.35);

  --radius: 20px;
  --radius-lg: 28px;
  --max: 1120px;
  --nav-h: 4.75rem;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-rounded: "Outfit", -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
  --font-mono: "Outfit", "SF Mono", ui-monospace, Menlo, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  padding-top: var(--nav-h);
  font-family: var(--font-rounded);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

a { color: inherit; text-decoration: none; }

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

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 1.5rem);
}

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

/* Shared atmosphere: grid + glows behind nav + hero */
.page-atmosphere {
  position: absolute;
  inset: 0 0 auto;
  height: min(100vh, 900px);
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.page-atmosphere::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 20%, transparent 75%);
}

.page-atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 45% at 18% 18%, var(--hero-glow-1), transparent 70%),
    radial-gradient(ellipse 45% 40% at 82% 22%, var(--hero-glow-2), transparent 70%),
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(var(--accent-rgb), 0.08), transparent 65%);
}

.atmosphere-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.9;
  animation: orb-drift 14s ease-in-out infinite alternate;
}

.atmosphere-orb-1 {
  width: 340px; height: 340px;
  background: var(--hero-glow-1);
  top: -80px; left: -60px;
}

.atmosphere-orb-2 {
  width: 280px; height: 280px;
  background: var(--hero-glow-2);
  top: 60px; right: -40px;
  animation-delay: -4s;
}

@media (max-width: 640px) {
  .atmosphere-orb-1 {
    width: 220px;
    height: 220px;
    top: -60px;
    left: -90px;
  }
  .atmosphere-orb-2 {
    width: 180px;
    height: 180px;
    top: 40px;
    right: -80px;
  }
  .cta-band-mark { width: 72px; height: 72px; }
}

@keyframes orb-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(18px, 24px, 0) scale(1.06); }
}

.glass-nav,
main,
.footer {
  position: relative;
  z-index: 1;
}

/* Nav — glass over the same hero atmosphere */
.glass-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  width: 100%;
  max-width: 100%;
  padding: 0.65rem clamp(0.65rem, 3vw, 0.85rem) 0;
  padding-left: max(0.65rem, env(safe-area-inset-left, 0px));
  padding-right: max(0.65rem, env(safe-area-inset-right, 0px));
  pointer-events: none;
}

.nav-shell {
  pointer-events: auto;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: var(--nav-shell-bg);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px) saturate(1.35);
  -webkit-backdrop-filter: blur(20px) saturate(1.35);
  box-shadow: var(--shadow-card);
  min-width: 0;
}

/* Nav uses .container for max-width — keep pill padding compact (not section gutters). */
.container.nav-shell {
  padding-inline: 0.85rem;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  flex: 1 1 auto;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
}

.brand > div {
  min-width: 0;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-links {
  display: none;
  gap: 1.35rem;
  margin-left: auto;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
}

@media (min-width: 960px) {
  .nav-links { display: flex; flex-shrink: 0; }
  .nav-actions { margin-left: 0; }
  .mobile-menu-btn { display: none !important; }
  .brand { flex: 0 1 auto; }
}

@media (max-width: 959px) {
  .brand-sub { display: none; }
}

@media (max-width: 599px) {
  .nav-shell { padding: 0.5rem 0.6rem 0.5rem 0.7rem; }
  .nav-inner { gap: 0.5rem; }
  .brand { gap: 0.55rem; }
  .brand-title { font-size: 0.95rem; }
  .nav-actions .btn-primary { display: none; }
  .nav-actions { gap: 0.35rem; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s, box-shadow 0.2s;
}

.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--gradient);
  color: var(--on-accent);
  box-shadow: var(--btn-primary-shadow);
}
.btn-primary:hover { box-shadow: var(--btn-primary-shadow-hover); }
.btn-secondary {
  background: var(--btn-secondary-bg);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-sm { padding: 0.55rem 1rem; font-size: 0.82rem; }

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  max-width: 100%;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s, opacity 0.2s;
  line-height: 0;
  max-width: 100%;
}
.store-badge:hover { transform: translateY(-2px); opacity: 0.92; }
.store-badge img {
  height: clamp(40px, 11vw, 48px);
  width: auto;
  max-width: min(162px, 100%);
  display: block;
}

/* Play SVG intrinsic box was oversized; lock visual height */
.store-badge-android img {
  height: clamp(40px, 11vw, 48px);
  width: auto;
  max-width: min(162px, 100%);
  object-fit: contain;
  object-position: left center;
}

/* Official App Store badge is black; invert for dark surfaces */
html[data-theme="dark"] .store-badge-ios img { filter: invert(1); }
/* Play badge already has its own fill — never invert (keeps triangle colors) */
html[data-theme="dark"] .store-badge-android img { filter: none; }

.store-badge[hidden],
[data-platform="ios"][hidden],
[data-platform="android"][hidden] {
  display: none !important;
}

.mobile-menu-btn {
  display: inline-flex;
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--btn-secondary-bg);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
}

.theme-toggle {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--btn-secondary-bg);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}

.theme-toggle:hover {
  background: var(--surface-hover);
  transform: translateY(-1px);
}

.theme-icon { width: 18px; height: 18px; }

html[data-theme="dark"] .theme-icon-sun,
html:not([data-theme]) .theme-icon-sun { display: block; }
html[data-theme="dark"] .theme-icon-moon,
html:not([data-theme]) .theme-icon-moon { display: none; }
html[data-theme="light"] .theme-icon-sun { display: none; }
html[data-theme="light"] .theme-icon-moon { display: block; }

.mobile-menu-icon,
.mobile-menu-icon::before,
.mobile-menu-icon::after {
  display: block;
  width: 16px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
}
.mobile-menu-icon::before,
.mobile-menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}
.mobile-menu-icon::before { top: -5px; }
.mobile-menu-icon::after { top: 5px; }

.mobile-drawer {
  display: none;
  position: fixed;
  top: calc(var(--nav-h) + 0.25rem);
  left: 0.85rem; right: 0.85rem;
  z-index: 49;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.mobile-drawer.open { display: block; }
.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-drawer-nav a {
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  font-weight: 600;
  color: var(--text-muted);
}
.mobile-drawer-nav a:hover { background: var(--surface-hover); color: var(--text); }
.mobile-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 48;
  background: var(--backdrop);
}
.mobile-nav-backdrop.open { display: block; }
body.nav-open {
  overflow: hidden;
  overflow-x: hidden;
  touch-action: none;
}

/* Hero — one composition: brand, headline, lead, CTAs, mark */
.hero {
  position: relative;
  overflow-x: clip;
  padding: 2rem 0 3.25rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hero-grid > * {
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 3rem; }
  .hero { padding: 3.25rem 0 5rem; }
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
  animation: rise-in 0.7s ease both;
}

.hero-brand img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
}

.hero-brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-brand-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.hero h1 {
  margin: 0;
  overflow-wrap: anywhere;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 7.2vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 600;
  animation: rise-in 0.75s ease 0.08s both;
}

.hero h1 em {
  font-style: italic;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 1.1rem 0 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 34rem;
  animation: rise-in 0.75s ease 0.14s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
  align-items: center;
  animation: rise-in 0.75s ease 0.2s both;
}

.rating-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.35rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
  animation: rise-in 0.75s ease 0.26s both;
  max-width: 100%;
}

.stars {
  color: var(--rating);
  letter-spacing: 0.05em;
  font-size: 1rem;
}

.hero-logo-stage {
  position: relative;
  width: min(280px, 70vw);
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  place-items: center;
  animation: float-in 1s ease 0.15s both;
  overflow: visible;
}

.hero-logo-stage::before {
  content: "";
  position: absolute;
  inset: 12% 4% -8%;
  background: radial-gradient(ellipse at center, rgba(var(--accent-rgb), 0.32), transparent 68%);
  z-index: -1;
  filter: blur(10px);
  pointer-events: none;
}

.hero-logo-stage img {
  width: 100%;
  height: auto;
  border-radius: 28%;
  box-shadow: var(--shadow), 0 0 0 1px var(--phone-ring);
}

.screenshots-placeholder {
  max-width: 34rem;
  margin: 0 auto;
  text-align: center;
  padding: 2.25rem 1.5rem;
  border: 1px dashed var(--border-strong);
  border-radius: 1.25rem;
  background: var(--bg-card);
  color: var(--text-muted);
}

.screenshots-placeholder img {
  display: block;
  margin: 0 auto 1rem;
  border-radius: 22%;
  box-shadow: var(--shadow-card);
}

.screenshots-placeholder p {
  margin: 0;
  line-height: 1.55;
}

.phone-mock {
  position: relative;
  max-width: 300px;
  margin: 0 auto;
  animation: float-in 1s ease 0.15s both;
}

.phone-mock::before {
  content: "";
  position: absolute;
  inset: 8% -12% -8%;
  background: radial-gradient(ellipse at center, rgba(var(--accent-rgb), 0.22), transparent 68%);
  z-index: -1;
  filter: blur(8px);
}

.phone-mock img {
  border-radius: 2rem;
  box-shadow: var(--shadow), 0 0 0 1px var(--phone-ring);
}

.phone-mock .hero-screenshot {
  display: none;
  width: 100%;
  height: auto;
}

html[data-theme="light"] .phone-mock #hero-screenshot-light,
html[data-theme="dark"] .phone-mock #hero-screenshot-dark {
  display: block;
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float-in {
  from { opacity: 0; transform: translateY(28px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Sections */
.section { padding: clamp(2.75rem, 6vw, 4rem) 0; }
.section-alt { background: var(--section-alt); }

.section-title {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  padding-inline: 0.25rem;
}

.section-title h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  letter-spacing: -0.03em;
  font-weight: 600;
}

.section-title p {
  margin: 0.75rem 0 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.grid-3 {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
}

.grid-3 > * { min-width: 0; }

.feature {
  padding: 0.35rem 0.15rem 0.85rem;
  border-bottom: 1px solid var(--border);
}

.feature h3 {
  margin: 0.7rem 0 0.4rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.feature p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.icon-badge {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--gradient);
  font-size: 1.15rem;
  box-shadow: var(--icon-badge-shadow);
  color: var(--on-accent);
}

.icon-badge.tinted {
  background: var(--answer-tint);
  color: var(--accent);
  box-shadow: none;
}

/* Interactive / comparison surfaces keep light card treatment */
.card {
  padding: 1.35rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.card h3 {
  margin: 0.75rem 0 0.5rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Screenshots */
.screenshots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 700px) {
  .screenshots { grid-template-columns: repeat(3, 1fr); }
}

.shot-btn {
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 1.25rem;
  overflow: hidden;
  transition: transform 0.25s;
}

.shot-btn:hover { transform: translateY(-4px) scale(1.02); }

.shot-btn img {
  width: 100%;
  border-radius: 1.25rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}

.shot-btn .shot-dark { display: none; }

html[data-theme="dark"] .shot-btn .shot-light { display: none; }
html[data-theme="dark"] .shot-btn .shot-dark { display: block; }

/* How it works */
.step-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--border);
}

.step:last-child { border-bottom: none; }

.step-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--on-accent);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.step h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.step p { margin: 0; color: var(--text-muted); font-size: 0.92rem; line-height: 1.55; }

.answer-box {
  margin-top: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  background: var(--answer-tint);
  border: 1.5px solid rgba(var(--accent-rgb), 0.45);
}

.answer-caption {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
}

.answer-box .answer-text {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 0.35rem;
}

/* Module / capability list */
.calc-grid {
  display: grid;
  gap: 0.75rem;
  max-width: 640px;
  margin: 0 auto;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .calc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.calc-grid > * { min-width: 0; }

.calc-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.92rem;
}

.calc-item .check {
  color: var(--success);
  font-weight: 800;
  flex-shrink: 0;
}

/* Pricing */
.pricing-grid {
  display: grid;
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 960px) {
  .pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.pricing-grid > * {
  min-width: 0;
}

.pricing-featured {
  border-color: var(--border-strong);
  background: var(--pricing-featured);
  position: relative;
}

.badge {
  position: absolute;
  top: -0.7rem;
  right: 1rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--gradient);
  color: var(--on-accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: var(--badge-shadow);
}

.price {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0.35rem 0;
}

.price-sub {
  font-size: 0.8rem;
  color: var(--text-faint);
  font-weight: 600;
}

.list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  padding: 0.4rem 0 0.4rem 1.35rem;
  position: relative;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

/* FAQ */
.faq { max-width: 720px; margin: 0 auto; }

.faq-item { border-bottom: 1px solid var(--border); }

.faq-trigger {
  width: 100%;
  max-width: 100%;
  text-align: left;
  padding: 1.1rem 0;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1rem, 3.6vw, 1.08rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  overflow-wrap: anywhere;
}

.faq-trigger::after {
  content: "›";
  font-size: 1.4rem;
  color: var(--text-faint);
  transition: transform 0.2s;
  font-weight: 400;
}

.faq-item.open .faq-trigger::after { transform: rotate(90deg); }

.faq-panel {
  display: none;
  padding: 0 0 1.1rem;
  color: var(--text-muted);
  font-family: var(--font-rounded);
  line-height: 1.65;
  font-size: 0.95rem;
  font-weight: 400;
}

.faq-item.open .faq-panel { display: block; }

/* Stat band (below hero, not in first viewport composition) */
.stat-band {
  display: grid;
  gap: 1.25rem;
  text-align: center;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .stat-band { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.stat-band > * { min-width: 0; }

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 0.25rem;
}

/* CTA band */
.cta-band {
  padding: clamp(1.25rem, 4vw, 2rem);
  border-radius: var(--radius-lg);
  background: var(--cta-band-bg);
  border: 1px solid var(--cta-band-border);
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-width: 0;
}

.cta-band-copy {
  flex: 1 1 16rem;
  min-width: 0;
  max-width: 34rem;
}

.cta-band-mark {
  width: 88px;
  height: 88px;
  border-radius: 1.1rem;
  box-shadow: var(--shadow-card);
  flex-shrink: 0;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.7;
  pointer-events: none;
  mask-image: linear-gradient(90deg, #000 30%, transparent);
  -webkit-mask-image: linear-gradient(90deg, #000 30%, transparent);
}

.cta-band > * { position: relative; z-index: 1; }

/* Legal pages */
.legal-page { padding: 2.5rem 0 4rem; }

.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.legal-meta {
  color: var(--text-faint);
  font-size: 0.88rem;
  margin-bottom: 2rem;
}

.legal-page h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.legal-page p,
.legal-page li {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.legal-page ul { padding-left: 1.25rem; }
.legal-page a { color: var(--accent); font-weight: 600; }
.legal-page a.btn-primary { color: var(--on-accent); }
.legal-page a.btn-secondary { color: var(--text); }

.contact-card {
  max-width: 520px;
  margin: 2rem auto 0;
  text-align: center;
}

.contact-wrap { max-width: 560px; margin: 0 auto; }

.contact-primary {
  text-align: center;
  padding: 2.25rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.contact-primary .icon-badge { margin: 0 auto 1rem; }
.contact-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.contact-email {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: clamp(1.2rem, 3.5vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.contact-email:hover { color: var(--accent); }

.contact-rows {
  margin-top: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  transition: background 0.2s;
}
.contact-row + .contact-row { border-top: 1px solid var(--border); }
.contact-row:hover { background: var(--surface-hover); }
.contact-row-icon {
  flex: none;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--answer-tint);
  color: var(--accent);
  font-size: 1.1rem;
}
.contact-row-body { flex: 1; min-width: 0; }
.contact-row-body h3 { margin: 0; font-size: 0.98rem; letter-spacing: -0.01em; color: var(--text); }
.contact-row-body p {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.contact-row-arrow {
  flex: none;
  color: var(--text-faint);
  font-size: 1.1rem;
  transition: transform 0.2s, color 0.2s;
}
.contact-row:hover .contact-row-arrow { color: var(--accent); transform: translateX(3px); }

/* Footer */
.footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  gap: 1.25rem;
  min-width: 0;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
  }
}

.footer .brand-sub {
  display: none;
}

@media (min-width: 480px) {
  .footer .brand-sub { display: block; }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

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

/* Lightbox */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--lightbox-backdrop);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

#lightbox.open { display: flex; }

#lightbox img {
  max-height: 90vh;
  border-radius: 1.25rem;
}

#lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ---- Help Center ---- */
.help-page {
  padding: 2.5rem 0 4.5rem;
}

.help-hero {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.help-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--pill-bg);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.help-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.help-hero-lead {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.help-topics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 0 auto 2.5rem;
  max-width: 48rem;
}

.help-topic {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.help-topic:hover {
  border-color: var(--border-strong);
  background: var(--surface-hover);
  color: var(--text);
  transform: translateY(-1px);
}

.help-topic-icon {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--gradient);
  color: var(--on-accent);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.help-section {
  max-width: 760px;
  margin: 0 auto 2.75rem;
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}

.help-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0 0.15rem;
}

.help-section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.help-section-count {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.help-faq {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.help-faq .faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.help-faq .faq-item.open {
  border-color: var(--border-strong);
  box-shadow: 0 10px 28px rgba(var(--accent-rgb), 0.12);
}

.help-faq .faq-trigger {
  padding: 1.15rem 1.25rem;
  font-size: 1.05rem;
}

.help-faq .faq-trigger::after {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--pill-bg);
  color: var(--accent);
  content: "+";
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1;
  flex-shrink: 0;
  transform: none;
  transition: transform 0.2s, background 0.2s;
}

.help-faq .faq-item.open .faq-trigger::after {
  content: "−";
  transform: none;
  background: var(--accent);
  color: var(--on-accent);
}

.help-faq .faq-panel {
  padding: 0 1.25rem 1.25rem;
}

.help-faq .faq-panel > p:first-child {
  margin-top: 0;
}

.help-platforms {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

@media (min-width: 700px) {
  .help-platforms { grid-template-columns: 1fr 1fr; }
}

.help-platform {
  padding: 1rem 1.05rem;
  border-radius: 16px;
  background: var(--answer-tint);
  border: 1px solid var(--border);
}

.help-platform h4 {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.help-platform p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.help-note {
  margin: 1rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.08), rgba(184, 149, 108, 0.08));
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.help-note strong {
  color: var(--text);
}

.help-cta {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 2.25rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--cta-band-bg);
  border: 1px solid var(--cta-band-border);
  position: relative;
  overflow: hidden;
}

.help-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.55;
  pointer-events: none;
}

.help-cta > * { position: relative; z-index: 1; }

.help-cta h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.help-cta p {
  margin: 0 auto 1.35rem;
  max-width: 28rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.help-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
