/* PhotoAlive landing (web/public). Source: landing-page-design SKILL Part B. */

[hidden] { display: none !important; }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; display: inline-block; vertical-align: middle; }
.widget .limit, .widget .result, .widget .panel-busy { display: grid; gap: var(--s-200); }
.captcha-slot { min-height: 4rem; display: flex; align-items: center; justify-content: center; }
.captcha-slot:empty { display: none; }
[data-widget][data-mode="restore"] [data-animate-only] { display: none !important; }
.dropzone.is-drag { background: var(--c-raised); border-color: var(--c-accent); }
.result-media video, .result-media img { width: 100%; height: auto; display: block; }
.err-api { display: grid; gap: var(--s-75); }

.photo-frame {
  position: relative;
  border-radius: var(--r-3xl);
  border: 1px solid rgba(242, 184, 75, 0.35);
  box-shadow: 0 var(--s-200) var(--s-400) rgba(0, 0, 0, 0.45);
  overflow: hidden;
  background: var(--c-raised);
}
.photo-frame::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
.hero-showcase { display: grid; gap: var(--s-300); }
@media (min-width: 768px) { .hero-showcase { grid-template-columns: 1fr 1fr; } }
.ba-interactive {
  position: relative;
  aspect-ratio: 3 / 4;
  touch-action: none;
  cursor: ew-resize;
}
.ba-interactive .ba-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba-interactive .ba-after-img { clip-path: inset(0 0 0 50%); }
.ba-interactive .ba-handle { left: var(--ba-pct, 50%); }
.hero-alive-frame { aspect-ratio: 3 / 4; }
.hero-alive-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-alive-play {
  position: absolute;
  inset: 0;
  margin: auto;
  display: inline-flex;
  align-items: center;
  gap: var(--s-75);
  padding: var(--s-100) var(--s-200);
  border: 0;
  border-radius: var(--r-full);
  background: rgba(19, 18, 9, 0.72);
  color: var(--c-ink);
  font-weight: 600;
  cursor: pointer;
}
.examples-grid { display: grid; gap: var(--s-300); margin-top: var(--s-500); }
@media (min-width: 768px) { .examples-grid { grid-template-columns: 1fr 1fr; } }
.example-media { aspect-ratio: 3 / 4; position: relative; }
.example-media img, .example-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.example-caption { font-size: var(--text-sm); line-height: 1.25rem; color: var(--c-mute); margin-top: var(--s-200); }
.example-steps { margin-bottom: var(--s-200); }

/* ---------- Tokens ---------- */
:root {
  /* Colour: dark theme, backgrounds from B4 list only */
  --c-black: #000000;     /* footer */
  --c-bg: #131209;        /* page base (warm near black) */
  --c-surface: #1F1F1F;   /* cards */
  --c-raised: #272727;    /* inputs, skeleton, avatars */
  --c-line: #313131;      /* 1px borders, all sides */
  --c-ink: #FFFFFF;       /* primary text */
  --c-mute: #9B9B9B;      /* secondary text, contrast 6.8:1 on --c-bg */
  --c-accent: #F2B84B;    /* the one accent: primary button, focus of toggles */
  --c-accent-hi: #F7C867; /* accent hover */
  --c-on-accent: #131209; /* text on accent, contrast 10.7:1 */
  --c-danger: #FF8A7A;    /* inline errors only */

  /* Font: one typeface (B1). Fallbacks are not a second pairing. */
  --font: "Geist", "Manrope", "Poppins", system-ui, sans-serif;

  /* Type scale: Tailwind steps (size / line height) */
  --text-xs: 0.75rem;   /* 12px / 16px */
  --text-sm: 0.875rem;  /* 14px / 20px */
  --text-base: 1rem;    /* 16px / 24px */
  --text-lg: 1.125rem;  /* 18px / 28px */
  --text-xl: 1.25rem;   /* 20px / 28px */
  --text-2xl: 1.5rem;   /* 24px / 32px */
  --text-3xl: 1.875rem; /* 30px / 36px */
  --text-4xl: 2.25rem;  /* 36px / 40px */
  --text-5xl: 3rem;     /* 48px / 1 */
  --text-6xl: 3.75rem;  /* 60px / 1 */
  --text-7xl: 4.5rem;   /* 72px / 1 */

  /* Spacing (B2) */
  --s-0: 0;
  --s-25: 0.125rem;  /* 2px */
  --s-50: 0.25rem;   /* 4px */
  --s-75: 0.5rem;    /* 8px */
  --s-100: 0.75rem;  /* 12px */
  --s-200: 1rem;     /* 16px */
  --s-300: 1.5rem;   /* 24px */
  --s-400: 2rem;     /* 32px */
  --s-500: 2.5rem;   /* 40px */
  --s-600: 3rem;     /* 48px */
  --s-700: 4rem;     /* 64px */
  --s-800: 5rem;     /* 80px */
  --s-900: 6rem;     /* 96px */

  /* Radius (Tailwind values) */
  --r-sm: 0.125rem;  /* 2px */
  --r: 0.25rem;      /* 4px */
  --r-md: 0.375rem;  /* 6px */
  --r-lg: 0.5rem;    /* 8px */
  --r-xl: 0.75rem;   /* 12px */
  --r-2xl: 1rem;     /* 16px */
  --r-3xl: 1.5rem;   /* 24px */
  --r-full: 9999px;

  /* Motion (B7) */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --d-layout: 500ms;
  --d-color: 300ms;
  --d-reveal: 700ms;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.5rem;
  font-weight: 400;
  color: var(--c-ink);
  background: var(--c-bg);
}
h1, h2, h3 { font-weight: 600; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--c-ink); outline-offset: var(--s-25); border-radius: var(--r-md); }

.container { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: var(--s-200); } /* max-w-6xl */
@media (min-width: 768px) { .container { padding-inline: var(--s-300); } }
.section { padding-block: var(--s-700); }
@media (min-width: 1024px) { .section { padding-block: var(--s-900); } }
.eyebrow { font-size: var(--text-sm); line-height: 1.25rem; color: var(--c-mute); font-weight: 500; }
.h2 { font-size: var(--text-3xl); line-height: 2.25rem; }
@media (min-width: 768px) { .h2 { font-size: var(--text-4xl); line-height: 2.5rem; } }
.lead { font-size: var(--text-lg); line-height: 1.75rem; color: var(--c-mute); }
.muted { color: var(--c-mute); }

.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; opacity: 0; }

.skip-link {
  position: absolute; left: var(--s-200); top: var(--s-200); z-index: 100;
  padding: var(--s-75) var(--s-100); border-radius: var(--r-xl);
  background: var(--c-accent); color: var(--c-on-accent); font-weight: 600;
  transform: translateY(-200%); transition: transform var(--d-color) var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- Buttons (B2: 8px vertical, 12px horizontal; B1: text-base semibold) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-75);
  padding: var(--s-75) var(--s-100); min-height: 3rem; /* 48px touch target, a size not a spacing */
  border: 1px solid transparent; border-radius: var(--r-xl);
  font-size: var(--text-base); line-height: 1.5rem; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: background-color var(--d-color) var(--ease), transform var(--d-color) var(--ease), opacity var(--d-color) var(--ease);
}
.btn:active:not(:disabled) { transform: scale(0.98); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-primary { background: var(--c-accent); color: var(--c-on-accent); }
.btn-primary:hover:not(:disabled) { background: var(--c-accent-hi); }
.btn-ghost { background: transparent; border-color: var(--c-line); color: var(--c-ink); }
.btn-ghost:hover:not(:disabled) { background: var(--c-raised); }
.btn-block { width: 100%; }
.link-quiet { color: var(--c-mute); text-decoration: underline; text-underline-offset: 4px; }
.link-quiet:hover { color: var(--c-ink); }

/* ---------- Floating nav (B7 navigation) ---------- */
.site-nav {
  position: fixed; top: var(--s-200); left: 50%; z-index: 50;
  transform: translateX(-50%);
  width: max-content; max-width: calc(100% - 2 * var(--s-200));
  display: flex; align-items: center; gap: var(--s-200);
  padding: var(--s-75) var(--s-100) var(--s-75) var(--s-200);
  border: 1px solid var(--c-line); border-radius: var(--r-full);
  background: rgba(31, 31, 31, 0.8);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: var(--s-75); text-decoration: none; font-weight: 600; font-size: var(--text-base); line-height: 1.5rem; }
.brand-mark { width: 2rem; height: 2rem; border-radius: var(--r-full); background: var(--c-accent); color: var(--c-on-accent); display: grid; place-items: center; font-size: var(--text-sm); font-weight: 600; }
.nav-links { display: none; gap: var(--s-300); }
.nav-links a { text-decoration: none; font-size: var(--text-sm); line-height: 1.25rem; color: var(--c-mute); transition: color var(--d-color) var(--ease); }
.nav-links a:hover { color: var(--c-ink); }
.lang-select {
  appearance: none; padding: var(--s-50) var(--s-100); border-radius: var(--r-full);
  border: 1px solid var(--c-line); background: var(--c-raised); color: var(--c-ink);
  font-size: var(--text-sm); line-height: 1.25rem; font-weight: 600; cursor: pointer;
}
.nav-cta { padding: var(--s-50) var(--s-200); min-height: 2.5rem; font-size: var(--text-sm); line-height: 1.25rem; border-radius: var(--r-full); display: none; }
.nav-toggle {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem; padding: 0;
  border: 1px solid var(--c-line); border-radius: var(--r-full); background: var(--c-raised); cursor: pointer;
}
.nav-toggle .icon { font-size: var(--text-lg); transition: transform var(--d-layout) var(--ease); width: 1.125rem; height: 1.125rem; }
.nav-toggle[aria-expanded="true"] .icon { transform: rotate(90deg); }
@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}
.nav-panel {
  position: fixed; inset: 0; z-index: 40; height: 100dvh;
  display: flex; flex-direction: column; justify-content: center; gap: var(--s-300);
  padding: var(--s-700) var(--s-300);
  background: rgba(19, 18, 9, 0.96);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  transform: translateY(-100%); transition: transform var(--d-layout) var(--ease);
}
.nav-panel.is-open { transform: translateY(0); }
.nav-panel a.panel-link {
  font-size: var(--text-3xl); line-height: 2.25rem; font-weight: 600; text-decoration: none;
  opacity: 0; transform: translateY(var(--s-300));
  transition: opacity var(--d-layout) var(--ease), transform var(--d-layout) var(--ease);
  transition-delay: min(calc(var(--i) * 60ms), 400ms);
}
.nav-panel.is-open a.panel-link { opacity: 1; transform: none; }
@media (min-width: 1024px) { .nav-panel { display: none; } }

/* ---------- Hero ---------- */
.hero { padding-top: var(--s-900); padding-bottom: var(--s-700); }
@media (min-width: 1024px) { .hero { padding-top: var(--s-900); padding-bottom: var(--s-900); } }
.hero-grid { display: grid; gap: var(--s-500); align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; gap: var(--s-700); } }
.hero-copy { max-width: 680px; display: grid; gap: var(--s-300); justify-items: start; }
.display {
  font-size: var(--text-4xl); line-height: 2.5rem; font-weight: 600;
  background-image: linear-gradient(90deg, #FFFFFF 0%, #9B9B9B 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (min-width: 768px) { .display { font-size: var(--text-5xl); line-height: 1; } }
@media (min-width: 1280px) { .display { font-size: var(--text-6xl); line-height: 1; } }
.hero-sub { font-size: var(--text-lg); line-height: 1.75rem; color: var(--c-mute); max-width: 680px; }
.proof-line { display: inline-flex; align-items: center; gap: var(--s-75); font-size: var(--text-sm); line-height: 1.25rem; color: var(--c-mute); }
.proof-line .icon { color: var(--c-accent); font-size: var(--text-base); width: 1rem; height: 1rem; }
.hero-actions { display: grid; gap: var(--s-200); justify-items: start; }

/* Before and after placeholder (CSS only, no photos). Flat fills, no gradients. */
.ba { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-3xl); overflow: hidden; border: 1px solid var(--c-line); background: var(--c-raised); }
.ba-half { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: var(--s-75); padding: var(--s-300); text-align: center; }
.ba-before { background: #313131; clip-path: inset(0 50% 0 0); place-items: end start; }
.ba-after { background: #272727; clip-path: inset(0 0 0 50%); }
.ba-before .ba-label, .ba-after .ba-label { font-size: var(--text-sm); line-height: 1.25rem; color: var(--c-mute); }
.ba-tag { position: absolute; bottom: var(--s-200); padding: var(--s-50) var(--s-100); border-radius: var(--r-full); background: rgba(19, 18, 9, 0.8); font-size: var(--text-sm); line-height: 1.25rem; font-weight: 600; }
.ba-tag.before { left: var(--s-200); }
.ba-tag.after { right: var(--s-200); color: var(--c-accent); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--c-ink); }
.ba-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 2.5rem; height: 2.5rem; transform: translate(-50%, -50%); border-radius: var(--r-full); background: var(--c-ink); }
.hero-visual figcaption { margin-top: var(--s-200); font-size: var(--text-sm); line-height: 1.25rem; color: var(--c-mute); }

/* ---------- Widget (shared with widget-states.html) ---------- */
.card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-3xl); padding: var(--s-300); }
@media (min-width: 768px) { .card { padding: var(--s-400); } }
.widget { display: grid; gap: var(--s-300); max-width: 36rem; width: 100%; }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: var(--s-25); border: 1px solid var(--c-line); border-radius: var(--r-full); background: var(--c-bg); }
.seg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-75);
  padding: var(--s-75) var(--s-100); min-height: 2.75rem; border: 0; border-radius: var(--r-full);
  background: transparent; color: var(--c-mute); font-size: var(--text-base); line-height: 1.5rem; font-weight: 600; cursor: pointer;
  transition: background-color var(--d-color) var(--ease), color var(--d-color) var(--ease), transform var(--d-color) var(--ease);
}
.seg-btn:hover { color: var(--c-ink); }
.seg-btn:active { transform: scale(0.98); }
.seg-btn[aria-checked="true"] { background: var(--c-raised); color: var(--c-ink); }
.widget-lead { font-size: var(--text-base); line-height: 1.5rem; color: var(--c-mute); }
.dropzone {
  display: grid; justify-items: center; gap: var(--s-75); text-align: center;
  padding: var(--s-400) var(--s-300); border: 1px dashed var(--c-line); border-radius: var(--r-xl);
  background: var(--c-bg); cursor: pointer;
  transition: background-color var(--d-color) var(--ease), transform var(--d-color) var(--ease);
}
.dropzone:hover { background: var(--c-raised); }
.dropzone:active { transform: scale(0.98); }
.dropzone .icon { width: 1.875rem; height: 1.875rem; color: var(--c-accent); }
.dz-title { font-weight: 600; }
.dz-hint { font-size: var(--text-sm); line-height: 1.25rem; color: var(--c-mute); }
.file-row { display: flex; align-items: center; gap: var(--s-200); padding: var(--s-200); border: 1px solid var(--c-line); border-radius: var(--r-xl); background: var(--c-bg); }
.preview { width: 4.5rem; height: 4.5rem; flex: none; border-radius: var(--r-xl); background: var(--c-raised); display: grid; place-items: center; color: var(--c-mute); }
.file-meta { display: grid; gap: var(--s-25); min-width: 0; }
.file-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-size { font-size: var(--text-sm); line-height: 1.25rem; color: var(--c-mute); }
.field-label { display: grid; gap: var(--s-75); font-size: var(--text-sm); line-height: 1.25rem; color: var(--c-mute); }
.textarea {
  width: 100%; min-height: 5.5rem; resize: vertical;
  padding: var(--s-100) var(--s-200); border: 1px solid var(--c-line); border-radius: var(--r-xl);
  background: var(--c-bg); color: var(--c-ink); font-size: var(--text-base); line-height: 1.5rem;
}
.counter { justify-self: end; font-size: var(--text-xs); line-height: 1rem; color: var(--c-mute); }
.check { display: grid; grid-template-columns: auto 1fr; gap: var(--s-100); align-items: start; font-size: var(--text-sm); line-height: 1.25rem; color: var(--c-mute); cursor: pointer; }
.check input { width: 1.25rem; height: 1.25rem; margin: 0; accent-color: var(--c-accent); }
.check strong { color: var(--c-ink); font-weight: 600; }
.note-row { display: flex; gap: var(--s-75); align-items: flex-start; font-size: var(--text-sm); line-height: 1.25rem; color: var(--c-mute); }
.note-row .icon { width: 1rem; height: 1rem; color: var(--c-accent); margin-top: var(--s-25); }
.error {
  display: grid; grid-template-columns: auto 1fr; gap: var(--s-100); align-items: start;
  padding: var(--s-200); border: 1px solid var(--c-danger); border-radius: var(--r-xl);
  background: var(--c-bg); font-size: var(--text-sm); line-height: 1.25rem;
}
.error .icon { color: var(--c-danger); width: 1.25rem; height: 1.25rem; }
.error strong { display: block; font-size: var(--text-base); line-height: 1.5rem; color: var(--c-ink); font-weight: 600; margin-bottom: var(--s-25); }
.error p { color: var(--c-mute); }
.skeleton { background: var(--c-raised); border-radius: var(--r-xl); animation: pulse 1600ms var(--ease) infinite alternate; }
.sk-media { aspect-ratio: 4 / 5; border-radius: var(--r-2xl); }
.sk-line { height: var(--s-200); }
.sk-line.short { width: 60%; }
.progress-steps { display: grid; gap: var(--s-75); font-size: var(--text-sm); line-height: 1.25rem; color: var(--c-mute); }
.progress-steps li { display: flex; align-items: center; gap: var(--s-75); list-style: none; }
.progress-steps .icon { width: 1rem; height: 1rem; }
.progress-steps .is-done { color: var(--c-ink); }
.result-media { border-radius: var(--r-2xl); overflow: hidden; border: 1px solid var(--c-line); background: var(--c-bg); }
.video-ph { position: relative; aspect-ratio: 4 / 5; display: grid; place-items: center; background: var(--c-raised); }
.video-ph .play { width: 4rem; height: 4rem; border-radius: var(--r-full); background: var(--c-ink); color: var(--c-on-accent); display: grid; place-items: center; font-size: var(--text-2xl); }
.video-ph .ph-note { position: absolute; left: var(--s-200); bottom: var(--s-200); font-size: var(--text-sm); line-height: 1.25rem; color: var(--c-mute); }
.result-actions { display: grid; gap: var(--s-100); }
.limit-icon { font-size: var(--text-3xl); color: var(--c-accent); }
.empty-title { font-size: var(--text-2xl); line-height: 2rem; font-weight: 600; }

@keyframes pulse { from { opacity: 0.55; } to { opacity: 1; } }

/* ---------- Tagline reveal (B11) ---------- */
.tagline-section { border-top: 1px solid var(--c-line); }
.tagline { font-size: var(--text-4xl); line-height: 2.5rem; font-weight: 600; max-width: 680px; }
@media (min-width: 768px) { .tagline { font-size: var(--text-5xl); line-height: 1; } }
.word { opacity: 0.3; transition: opacity var(--d-layout) var(--ease); }
.word.is-on { opacity: 1; }

/* ---------- Benefits, how it works, proof ---------- */
.grid-2 { display: grid; gap: var(--s-300); }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.benefit { display: grid; gap: var(--s-200); align-content: start; }
.benefit .icon { width: 1.5rem; height: 1.5rem; color: var(--c-accent); }
.benefit h3 { font-size: var(--text-xl); line-height: 1.75rem; }
.benefit p { color: var(--c-mute); }
.steps { display: grid; gap: var(--s-300); list-style: none; padding: 0; margin: 0; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { display: grid; gap: var(--s-200); align-content: start; }
.step-num { width: 2.5rem; height: 2.5rem; border-radius: var(--r-full); border: 1px solid var(--c-line); display: grid; place-items: center; font-weight: 600; background: var(--c-surface); }
.step p { color: var(--c-mute); }
.quote { display: grid; gap: var(--s-200); align-content: start; }
.quote blockquote { margin: 0; font-size: var(--text-lg); line-height: 1.75rem; }
.person { display: flex; align-items: center; gap: var(--s-100); }
.avatar { width: 3rem; height: 3rem; flex: none; border-radius: var(--r-full); background: var(--c-raised); border: 1px solid var(--c-line); display: grid; place-items: center; font-weight: 600; font-size: var(--text-sm); }
.person-meta { display: grid; font-size: var(--text-sm); line-height: 1.25rem; }
.person-meta span { color: var(--c-mute); }
.stats { display: grid; gap: var(--s-300); margin-top: var(--s-500); }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat-num { font-size: var(--text-4xl); line-height: 2.5rem; font-weight: 600; }
.stat-label { color: var(--c-mute); font-size: var(--text-sm); line-height: 1.25rem; }
.placeholder-tag { display: inline-block; padding: var(--s-25) var(--s-75); border-radius: var(--r-sm); border: 1px dashed var(--c-accent); color: var(--c-accent); font-size: var(--text-xs); line-height: 1rem; font-weight: 600; letter-spacing: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: var(--s-100); max-width: 48rem; margin-top: var(--s-500); }
.faq details { border: 1px solid var(--c-line); border-radius: var(--r-2xl); background: var(--c-surface); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-200);
  padding: var(--s-200) var(--s-300); cursor: pointer; list-style: none; font-weight: 600; font-size: var(--text-lg); line-height: 1.75rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 1.25rem; height: 1.25rem; flex: none; transition: transform var(--d-layout) var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq summary:hover { color: var(--c-accent); }
.faq .answer { padding: 0 var(--s-300) var(--s-300); color: var(--c-mute); }

/* ---------- Risk reversal, final CTA, footer ---------- */
.risk-list { display: grid; gap: var(--s-200); grid-template-columns: 1fr; list-style: none; padding: 0; margin: var(--s-400) 0 0; }
@media (min-width: 768px) { .risk-list { grid-template-columns: repeat(2, 1fr); } }
.risk-list li { display: grid; grid-template-columns: auto 1fr; gap: var(--s-100); align-items: start; }
.risk-list .icon { width: 1.25rem; height: 1.25rem; color: var(--c-accent); }
.risk-list p { color: var(--c-mute); }
.final { text-align: left; display: grid; gap: var(--s-300); justify-items: start; }
@media (min-width: 768px) { .final { justify-items: center; text-align: center; } .final .hero-actions { justify-items: center; } }
.site-footer { background: var(--c-black); border-top: 1px solid var(--c-line); padding-block: var(--s-700); }
.footer-grid { display: grid; gap: var(--s-400); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-links { display: grid; gap: var(--s-75); align-content: start; font-size: var(--text-sm); line-height: 1.25rem; }
.footer-links a { color: var(--c-mute); text-decoration: none; }
.footer-links a:hover { color: var(--c-ink); }
.footer-small { margin-top: var(--s-500); padding-top: var(--s-300); border-top: 1px solid var(--c-line); color: var(--c-mute); font-size: var(--text-sm); line-height: 1.25rem; }

/* ---------- Widget-states board ---------- */
.board { display: grid; gap: var(--s-700); padding-block: var(--s-700); }
.board-intro { display: grid; gap: var(--s-200); max-width: 48rem; }
.frames { display: grid; gap: var(--s-700); }
@media (min-width: 1024px) { .frames { grid-template-columns: 1fr 1fr; } }
.frame { display: grid; gap: var(--s-200); align-content: start; }
.frame-label { font-size: var(--text-sm); line-height: 1.25rem; color: var(--c-accent); font-weight: 600; }
.frame-note { font-size: var(--text-sm); line-height: 1.25rem; color: var(--c-mute); }
.frame-divider { grid-column: 1 / -1; border-top: 1px solid var(--c-line); }

/* ---------- 404 ---------- */
.not-found { min-height: 100dvh; display: grid; place-items: center; padding: var(--s-300); }
.nf-card { max-width: 36rem; display: grid; gap: var(--s-300); justify-items: start; }
.nf-code { font-size: var(--text-7xl); line-height: 1; font-weight: 600; color: var(--c-accent); }
.nf-actions { display: flex; flex-wrap: wrap; gap: var(--s-200); }

/* ---------- Reveal and motion ---------- */
.reveal { opacity: 0; transform: translateY(var(--s-400)); transition: opacity var(--d-reveal) var(--ease), transform var(--d-reveal) var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .reveal { transform: none; transition: opacity var(--d-color) var(--ease); }
  .reveal:not(.is-in) { opacity: 0; }
  .skeleton { opacity: 0.8; }
  .word { opacity: 1; }
  .nav-panel a.panel-link { transform: none; }
}
