:root {
  color-scheme: dark;
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, serif;
  --font-sans: "Avenir Next", "Segoe UI", sans-serif;
  --font-mono: "SF Mono", "Menlo", monospace;
  --bg: #080808;
  --bg-elevated: #111111;
  --bg-soft: #181818;
  --panel: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.1);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.62);
  --accent: #f4f1ea;
  --accent-strong: #ffffff;
  --badge: rgba(255, 255, 255, 0.08);
  --hero-wash: radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 38%);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content-width: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  background-image: var(--hero-wash);
  color: var(--text);
  font-family: var(--font-sans);
}

body[data-theme="light"] {
  color-scheme: light;
  --bg: #edf3fa;
  --bg-chrome: #f8fbfe;
  --bg-elevated: #f7fbff;
  --bg-soft: #dce8f4;
  --panel: rgba(255, 255, 255, 0.7);
  --line: rgba(35, 54, 74, 0.12);
  --text: #1f2a36;
  --muted: #516173;
  --accent: #2f76d1;
  --accent-strong: #1f5aa8;
  --badge: rgba(47, 118, 209, 0.1);
  --hero-wash: radial-gradient(circle at top left, rgba(47, 118, 209, 0.12), transparent 34%);
  --shadow: 0 22px 60px rgba(74, 103, 138, 0.14);
}

body[data-theme="navy"] {
  --bg: #0d1117;
  --bg-elevated: #111926;
  --bg-soft: #1a2332;
  --panel: rgba(74, 144, 226, 0.08);
  --line: rgba(184, 197, 219, 0.12);
  --text: #e8f0ff;
  --muted: #b8c5db;
  --accent: #4a90e2;
  --accent-strong: #72a9ee;
  --badge: rgba(74, 144, 226, 0.14);
  --hero-wash: radial-gradient(circle at top left, rgba(74, 144, 226, 0.16), transparent 34%);
}

body[data-theme="sage"] {
  --bg: #1c251e;
  --bg-elevated: #253328;
  --bg-soft: #344636;
  --panel: rgba(127, 168, 120, 0.08);
  --line: rgba(194, 208, 192, 0.18);
  --text: #f2f7f1;
  --muted: #c2d0c0;
  --accent: #7fa878;
  --accent-strong: #a9c79f;
  --badge: rgba(127, 168, 120, 0.16);
  --hero-wash: radial-gradient(circle at top left, rgba(127, 168, 120, 0.18), transparent 34%);
}

body[data-theme="amber"] {
  --bg: #000000;
  --bg-elevated: #080808;
  --bg-soft: #111008;
  --panel: rgba(217, 138, 31, 0.08);
  --line: rgba(242, 232, 216, 0.1);
  --text: #f2e8d8;
  --muted: #b79d77;
  --accent: #d98a1f;
  --accent-strong: #f0b257;
  --badge: rgba(217, 138, 31, 0.14);
  --hero-wash: radial-gradient(circle at top left, rgba(217, 138, 31, 0.14), transparent 34%);
}

a {
  color: inherit;
}

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

.page-shell {
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid var(--line);
}

body[data-theme="light"] .topbar {
  background: color-mix(in srgb, var(--bg-chrome) 90%, white 10%);
}

.topbar-inner {
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-lockup img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

.brand-tag {
  color: var(--muted);
  font-size: 0.88rem;
}

.draft-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.draft-nav a,
.ghost-link,
.primary-link {
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.draft-nav a,
.ghost-link {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
}

.draft-nav a[aria-current="page"] {
  background: var(--badge);
  color: var(--text);
  border-color: color-mix(in srgb, var(--accent) 50%, var(--line));
}

.primary-link {
  background: var(--accent);
  color: color-mix(in srgb, var(--bg) 82%, black);
  font-weight: 600;
}

body[data-theme="light"] .primary-link {
  color: #ffffff;
}

.draft-nav a:hover,
.ghost-link:hover,
.primary-link:hover,
.cta-row a:hover {
  transform: translateY(-1px);
}

.hero {
  padding: clamp(18px, 3vw, 42px) 0 clamp(18px, 3.5vw, 38px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--badge);
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 55%, transparent);
}

.hero h1 {
  margin: 18px 0 16px;
  max-width: 13ch;
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 6.9rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
}

.light-refined-page .hero h1 {
  line-height: 1.04;
}

.hero p {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.65;
}

.cta-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-grid {
  display: grid;
  gap: 28px;
  align-items: end;
}

.hero-grid.two-col {
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
}

.hero-grid.split {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  align-items: start;
}

.hero-copy {
  padding-top: 22px;
}

.hero h1.light-hero-title {
  margin-top: 0;
  font-size: clamp(3.6rem, 8vw, 4.583rem);
  max-width: 16ch;
  line-height: 1.1;
}

.hero-grid.poster {
  grid-template-columns: minmax(0, 1fr);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.stat {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
}

.stat strong {
  display: block;
  font-size: 1.4rem;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.mock-window {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg-elevated) 92%, white 8%), var(--bg));
  box-shadow: var(--shadow);
}

.window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.window-dots {
  display: flex;
  gap: 8px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 35%, var(--line));
}

.workspace {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 240px;
  min-height: 500px;
}

.sidebar,
.inspector {
  padding: 18px;
  background: color-mix(in srgb, var(--bg-elevated) 88%, transparent);
}

.sidebar {
  border-right: 1px solid var(--line);
}

.inspector {
  border-left: 1px solid var(--line);
}

.entry-feed,
.inspector-stack,
.chat-stack {
  display: grid;
  gap: 12px;
}

.entry-pill,
.inspector-chip,
.chat-bubble,
.feature-band,
.panel,
.quote,
.compare-card {
  border: 1px solid var(--line);
  background: var(--panel);
}

.entry-pill {
  padding: 12px 14px;
  border-radius: 18px;
}

.entry-pill small,
.muted-label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.editor {
  padding: clamp(20px, 4vw, 34px);
  display: grid;
  gap: 18px;
}

.editor h2,
.section-heading h2,
.compare-card h3,
.panel h3,
.quote strong {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.04;
}

.editor h2 {
  font-size: clamp(2rem, 3.6vw, 3.4rem);
}

.editor p {
  margin: 0;
  max-width: 54ch;
  color: var(--muted);
  line-height: 1.7;
}

.body-lines {
  display: grid;
  gap: 10px;
}

.body-lines span {
  display: block;
  height: 9px;
  width: 100%;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text) 12%, transparent);
}

.body-lines span:nth-child(2) {
  width: 92%;
}

.body-lines span:nth-child(3) {
  width: 76%;
}

.inspector-chip {
  padding: 12px;
  border-radius: 16px;
}

.inspector-chip strong {
  display: block;
  margin-bottom: 6px;
}

.section {
  padding: 0 0 72px;
}

.section-heading {
  margin-bottom: 28px;
  display: grid;
  gap: 12px;
}

.section-heading h2 {
  font-size: clamp(2.1rem, 4vw, 4rem);
}

.section-heading p {
  max-width: 60ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 26px;
  align-items: center;
  margin-bottom: 30px;
}

.section-copy {
  min-width: 0;
}

.section-shot {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 34px;
}

.section-shot::before {
  content: "";
  position: absolute;
  inset: 5% 4% 9% 8%;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.06));
  filter: blur(32px);
  opacity: 0.78;
}

.section-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(237, 243, 250, 0.76) 28%, rgba(237, 243, 250, 0.08) 56%, rgba(237, 243, 250, 0) 100%);
}

.section-shot--hard-cut {
  min-height: 660px;
  justify-content: flex-start;
  overflow: visible;
}

.section-shot--hard-cut::after {
  display: none;
}

.section-shot img {
  position: relative;
  z-index: 1;
  width: 158%;
  max-width: none;
  height: auto;
  margin-left: 0;
  margin-right: 0;
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(74, 103, 138, 0.14);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.48) 24%, rgba(0, 0, 0, 0.94) 42%, #000 58%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.48) 24%, rgba(0, 0, 0, 0.94) 42%, #000 58%, #000 100%);
}

.section-shot--hard-cut img {
  box-shadow: none;
  -webkit-mask-image: none;
  mask-image: none;
}

.feature-showcase {
  margin-bottom: 34px;
  align-items: start;
}

#features.section {
  padding-bottom: 36px;
}

.light-refined-page .refined-features-section {
  padding-bottom: 36px;
}

.light-refined-page #features {
  scroll-margin-top: 86px;
}

.details-showcase {
  align-items: center;
  margin-bottom: 32px;
}

.details-shot {
  min-height: 420px;
}

.section-shot--tall .hero-shot-frame,
.details-shot--tall .hero-shot-frame {
  height: 620px;
}

.section-shot--tall .hero-shot-frame img,
.details-shot--tall .hero-shot-frame img {
  width: 210%;
}

.section-shot--reflection .hero-shot-frame {
  aspect-ratio: 684 / 799;
  height: auto;
}

.section-shot--reflection .hero-shot-frame img {
  width: 100%;
}

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

.feature-grid-dense {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bridge-section {
  padding-bottom: 48px;
}

.bridge-grid {
  margin-top: -4px;
}

.feature-copy {
  padding-top: 10px;
}

.feature-proof-cards {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.compact-panel {
  min-height: 0;
  padding: 20px 22px;
}

.compact-panel h3 {
  font-size: 1.1rem;
}

.compact-panel p {
  line-height: 1.58;
}

.details-copy {
  display: grid;
  gap: 22px;
}

.light-refined-page .details-copy {
  gap: 12px;
}

.details-stack {
  display: grid;
  gap: 16px;
}

.details-stack .feature-band {
  min-height: 0;
}

.feature-band,
.panel,
.quote,
.compare-card {
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 24px rgba(74, 103, 138, 0.08);
}

.feature-band {
  padding: 20px;
}

.feature-band,
.panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-band h3,
.panel h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.feature-band p,
.panel p,
.compare-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.panel {
  padding: 26px;
}

.quote {
  padding: 28px;
}

.quote p {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  line-height: 1.18;
}

.footer-cta {
  padding: 0 0 92px;
}

.light-refined-page #details.section {
  padding-bottom: 46px;
}

.light-refined-page .footer-cta {
  padding-bottom: 58px;
}

.system-section {
  padding-bottom: 108px;
}

.faq-section {
  padding-bottom: 96px;
}

.beta-section {
  padding-bottom: 52px;
}

.beta-panel {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.beta-actions {
  display: grid;
  gap: 16px;
  justify-items: end;
}

.application-hero {
  padding-bottom: 28px;
}

.application-grid {
  align-items: start;
}

.hero h1.application-title {
  margin-top: 6px;
  margin-bottom: 14px;
  max-width: 12ch;
  font-family: var(--font-display);
  font-size: 4.583rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.application-signals {
  margin-top: 28px;
}

.application-hero-actions {
  display: none;
  margin-top: 22px;
}

.application-sidecard {
  gap: 18px;
  padding: 28px;
}

.application-steps {
  display: grid;
  gap: 16px;
}

.application-steps strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.98rem;
}

.application-steps p {
  margin: 0;
}

.application-section {
  padding-bottom: 108px;
  scroll-margin-top: 96px;
}

.application-requirements {
  padding-bottom: 54px;
  scroll-margin-top: 96px;
}

.application-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  gap: 22px;
  align-items: start;
}

.application-form {
  gap: 26px;
  padding: 30px;
}

.application-form[hidden],
.beta-closed-panel[hidden] {
  display: none;
}

.application-heading {
  margin-bottom: 0;
}

.beta-clarity-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.beta-clarity-strip span {
  padding: 8px 10px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--badge) 82%, white 8%);
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.25;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.field.full-width {
  grid-column: 1 / -1;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--bg-elevated) 88%, white 12%);
  color: var(--text);
  font: inherit;
  padding: 14px 16px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.field textarea {
  resize: vertical;
  min-height: 112px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, color-mix(in srgb, var(--muted) 78%, transparent) 50%),
    linear-gradient(135deg, color-mix(in srgb, var(--muted) 78%, transparent) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 2px),
    calc(100% - 16px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: color-mix(in srgb, var(--muted) 80%, transparent);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: color-mix(in srgb, var(--accent) 46%, var(--line));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent);
}

.country-picker {
  position: relative;
}

.country-trigger {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--bg-elevated) 88%, white 12%);
  color: var(--text);
  font: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  text-align: left;
}

.country-trigger:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--accent) 46%, var(--line));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent);
}

.country-caret {
  color: var(--muted);
  font-size: 0.9rem;
}

.country-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 10;
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg-elevated) 96%, white 4%);
  box-shadow: 0 16px 38px rgba(74, 103, 138, 0.18);
}

.country-menu[hidden] {
  display: none !important;
}

.country-search input {
  min-height: 46px;
}

.country-options {
  max-height: 260px;
  overflow: auto;
  display: grid;
  gap: 4px;
}

.country-option {
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.country-option:hover,
.country-option:focus {
  outline: none;
  background: color-mix(in srgb, var(--badge) 75%, white 10%);
}

.country-option[hidden] {
  display: none;
}

.country-divider {
  height: 0;
  margin: 6px 2px;
  border-top: 1px dashed color-mix(in srgb, var(--muted) 34%, transparent);
}

.country-divider[hidden] {
  display: none;
}

.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;
}

.application-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.application-note {
  max-width: 48ch;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.check-field {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg-elevated) 84%, white 16%);
}

.check-field input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--accent);
}

.check-field span {
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--text);
}

.turnstile-block {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg-elevated) 84%, white 16%);
}

.turnstile-widget {
  min-height: 68px;
}

.turnstile-note {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--muted);
}

.turnstile-note.is-error {
  color: #8a4044;
}

.form-submit {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.form-submit[disabled] {
  cursor: wait;
  opacity: 0.7;
}

.application-error,
.application-success {
  display: grid;
  gap: 14px;
}

.application-error {
  background: color-mix(in srgb, #f5d6d7 56%, white 44%);
}

.application-success {
  background: color-mix(in srgb, var(--badge) 58%, white 28%);
}

.application-error[hidden],
.application-success[hidden] {
  display: none;
}

.submit-target[hidden] {
  display: none;
}

.application-support {
  display: grid;
  gap: 16px;
}

.info-hero {
  padding: clamp(26px, 4vw, 54px) 0 30px;
}

.info-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(280px, 0.74fr);
  gap: 24px;
  align-items: start;
}

.info-copy {
  display: grid;
  gap: 18px;
}

.info-title {
  margin: 0;
  max-width: 11ch;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.9rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.info-copy p {
  max-width: 64ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.1rem);
  line-height: 1.7;
}

.info-sidecard,
.info-panel {
  padding: 28px;
}

.info-panel {
  justify-content: flex-start;
  gap: 18px;
}

.info-sidecard {
  display: grid;
  gap: 16px;
}

.info-sidecard h3,
.info-panel h3 {
  margin: 0;
}

.info-list,
.policy-list,
.support-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: var(--muted);
  line-height: 1.65;
}

.info-list strong,
.policy-list strong,
.support-list strong {
  color: var(--text);
}

.content-section {
  padding-bottom: 52px;
}

.content-stack {
  display: grid;
  gap: 18px;
}

.content-intro {
  max-width: none;
}

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

.link-tile {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 10px 24px rgba(74, 103, 138, 0.08);
  text-decoration: none;
  display: grid;
  gap: 10px;
}

.link-tile strong {
  font-size: 1.06rem;
}

.link-tile p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.link-tile:hover {
  transform: translateY(-1px);
}

.site-callout {
  padding: 26px;
  display: grid;
  gap: 16px;
}

.site-callout .cta-row {
  margin-top: 0;
}

.footer-note {
  display: block;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-on-scroll:nth-child(2) {
  transition-delay: 70ms;
}

.reveal-on-scroll:nth-child(3) {
  transition-delay: 140ms;
}

.reveal-on-scroll:nth-child(4) {
  transition-delay: 210ms;
}

.footer-cta .panel {
  display: grid;
  gap: 18px;
  align-items: end;
  grid-template-columns: minmax(0, 1fr) auto;
}

.system-panel {
  display: grid;
  gap: 26px;
  padding: 28px;
}

.system-heading {
  margin-bottom: 0;
}

.system-heading p {
  max-width: none;
}

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

.requirements-grid .feature-band {
  justify-content: flex-start;
}

.requirements-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.requirements-list span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--badge) 82%, white 8%);
  color: var(--text);
  line-height: 1.45;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: 0 10px 24px rgba(74, 103, 138, 0.08);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 22px;
  position: relative;
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.45;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 1.4rem;
  line-height: 1;
}

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

.faq-item p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 76ch;
}

.site-footer {
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 78%, white 8%), color-mix(in srgb, var(--bg-elevated) 92%, white 4%));
}

body[data-theme="light"] .site-footer {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg-chrome) 94%, white 6%), color-mix(in srgb, var(--bg-chrome) 86%, var(--bg-soft) 14%));
}

.site-footer-inner {
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto;
  padding: 28px 0 38px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr);
  gap: 30px;
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 16px;
}

.footer-brand p,
.footer-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.copyright-notice {
  font-size: 0.86rem;
}

.simple-footer-inner {
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto;
  padding: 24px 0;
}

.simple-footer .copyright-notice {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-label {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-column a {
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--accent-strong);
}

.kicker-list,
.signal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.kicker-list span,
.signal-list span {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--badge);
  color: var(--muted);
  font-size: 0.85rem;
}

.compare-hero {
  padding: clamp(48px, 7vw, 88px) 0 42px;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.compare-card {
  padding: 24px;
  display: grid;
  gap: 18px;
}

.compare-card img {
  width: 54px;
  height: 54px;
  border-radius: 16px;
}

.compare-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.compare-card h3 {
  font-size: 2rem;
}

.compare-card .tag {
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.phone-poster {
  position: relative;
  width: min(100%, 420px);
  margin-left: auto;
  border-radius: 36px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg-soft) 92%, white 8%), var(--bg));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-shot {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 18px 0 18px 18px;
  overflow: visible;
  border-radius: 34px;
}

.hero-shot::before {
  content: "";
  position: absolute;
  inset: 6% 8% 10% 4%;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.08));
  filter: blur(34px);
  opacity: 0.85;
}

.hero-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(237, 243, 250, 0) 0%, rgba(237, 243, 250, 0) 42%, rgba(237, 243, 250, 0.68) 70%, var(--bg) 100%),
    linear-gradient(180deg, rgba(237, 243, 250, 0.05), rgba(237, 243, 250, 0.02) 54%, rgba(237, 243, 250, 0.16));
  pointer-events: none;
  z-index: 2;
}

.hero-shot--hard-cut::after {
  display: none;
}

.hero-shot-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  flex: 0 0 auto;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(74, 103, 138, 0.14);
  filter: drop-shadow(0 22px 34px rgba(48, 70, 96, 0.24));
}

.hero-shot img {
  display: block;
  width: 182%;
  max-width: none;
  height: auto;
  margin-left: 0;
  border-radius: 28px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 43%, rgba(0, 0, 0, 0.94) 58%, rgba(0, 0, 0, 0.45) 74%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 43%, rgba(0, 0, 0, 0.94) 58%, rgba(0, 0, 0, 0.45) 74%, transparent 100%);
}

.hero-shot--hard-cut img {
  -webkit-mask-image: none;
  mask-image: none;
}

.hero-shot--hard-cut .hero-shot-frame,
.hero-shot--hard-cut img,
.section-shot--hard-cut .hero-shot-frame,
.section-shot--hard-cut img {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.section-shot--reflection .hero-shot-frame,
.section-shot--reflection img {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 28px;
  border-bottom-right-radius: 28px;
}

.phone-poster::before {
  content: "";
  position: absolute;
  inset: 18px 32% auto;
  height: 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text) 18%, transparent);
}

.phone-poster-inner {
  padding: 34px 22px 24px;
  display: grid;
  gap: 18px;
}

.journal-card {
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--panel) 84%, white 10%), transparent);
  border: 1px solid var(--line);
}

.journal-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.55rem;
}

.journal-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.timeline-row strong {
  color: var(--accent-strong);
}

.timeline-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.glow-orb {
  width: clamp(220px, 34vw, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, color-mix(in srgb, var(--accent) 80%, white 20%), transparent 18%),
    radial-gradient(circle at 45% 45%, color-mix(in srgb, var(--accent) 42%, transparent), transparent 62%),
    radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 74%);
  filter: blur(0.2px);
  opacity: 0.9;
  margin-inline: auto;
}

.poster-stack {
  display: grid;
  gap: 18px;
  justify-items: center;
}

.poster-note {
  max-width: 380px;
  padding: 18px;
  border-radius: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--muted);
}

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fade-up 680ms ease forwards;
}

.delay-1 {
  animation-delay: 80ms;
}

.delay-2 {
  animation-delay: 160ms;
}

.delay-3 {
  animation-delay: 240ms;
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .hero-grid.two-col,
  .hero-grid.split,
  .section-split,
  .feature-grid,
  .panel-grid,
  .compare-grid,
  .footer-cta .panel,
  .site-footer-inner,
  .footer-links,
  .info-grid,
  .link-tile-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid-dense,
  .beta-panel,
  .requirements-grid,
  .form-grid,
  .application-layout {
    grid-template-columns: 1fr;
  }

  .bridge-grid {
    margin-top: 0;
  }

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

  .sidebar,
  .inspector {
    border: 0;
    border-bottom: 1px solid var(--line);
  }

  .inspector {
    border-top: 1px solid var(--line);
    border-bottom: 0;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }

  .topbar-inner {
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar-actions {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .draft-nav {
    justify-content: flex-start;
  }

  .hero-shot {
    min-height: 390px;
    padding: 14px 0 14px 14px;
  }

  .hero-shot img {
    width: 168%;
  }

  .section-shot {
    min-height: 320px;
  }

  .section-shot img {
    width: 172%;
    margin-left: 0;
  }

  .section-shot--tall .hero-shot-frame,
  .details-shot--tall .hero-shot-frame {
    height: 520px;
  }

  .section-shot--tall .hero-shot-frame img,
  .details-shot--tall .hero-shot-frame img {
    width: 210%;
  }

  .section-shot--reflection .hero-shot-frame {
    height: auto;
  }

  .section-shot--reflection .hero-shot-frame img {
    width: 100%;
  }

  .beta-actions {
    justify-items: start;
  }

  .faq-item summary {
    padding-right: 48px;
  }

  .application-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 640px) {
  .page-shell,
  .topbar-inner,
  .site-footer-inner {
    width: min(calc(100% - 24px), var(--content-width));
  }

  .topbar-inner {
    min-height: 68px;
    padding: 10px 0;
    flex-direction: row;
    align-items: center;
  }

  .brand-lockup {
    gap: 10px;
    min-width: 0;
  }

  .brand-lockup img {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .brand-tag {
    font-size: 0.76rem;
  }

  .topbar-actions {
    width: auto;
    margin-left: auto;
    flex-direction: row;
    align-items: center;
  }

  .draft-nav {
    display: none;
  }

  .topbar-cta {
    padding: 9px 11px;
    font-size: 0.88rem;
    white-space: nowrap;
  }

  .hero h1 {
    max-width: 11ch;
  }

  .timeline-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .hero h1.light-hero-title {
    font-size: clamp(3.1rem, 14vw, 3.95rem);
    max-width: 15ch;
    line-height: 1.02;
  }

  .application-hero {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .hero h1.application-title {
    font-size: clamp(2.8rem, 11.5vw, 3.45rem);
    max-width: 100%;
    line-height: 1.02;
  }

  .application-signals {
    margin-top: 20px;
  }

  .application-hero-actions {
    display: flex;
    margin-top: 18px;
  }

  .application-sidecard {
    display: none;
  }

  .application-section {
    padding-bottom: 56px;
    scroll-margin-top: 76px;
  }

  .application-requirements {
    padding-bottom: 56px;
    scroll-margin-top: 76px;
  }

  .application-form,
  .system-panel {
    padding: 24px;
  }

  .application-form {
    gap: 22px;
  }

  .field input,
  .field textarea,
  .field select,
  .country-trigger {
    border-radius: 14px;
    padding: 13px 15px;
  }

  .field textarea {
    min-height: 96px;
  }

  .optional-notes {
    display: none;
  }

  .application-support {
    display: none;
  }

  .check-field,
  .turnstile-block {
    padding: 14px 16px;
    border-radius: 16px;
  }

  .check-field span {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .hero-shot {
    min-height: 300px;
    border-radius: 24px;
    padding: 10px 0 10px 10px;
  }

  .hero-shot::before {
    inset: 8% 2% 8% 0;
    border-radius: 24px;
  }

  .hero-shot img {
    width: 172%;
    margin-left: 0;
  }

  .section-shot--tall .hero-shot-frame,
  .details-shot--tall .hero-shot-frame {
    height: 420px;
  }

  .section-shot--tall .hero-shot-frame img,
  .details-shot--tall .hero-shot-frame img {
    width: 210%;
  }

  .section-shot--reflection .hero-shot-frame {
    height: auto;
  }

  .section-shot--reflection .hero-shot-frame img {
    width: 100%;
  }
}
