@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./public/fonts/manrope-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./public/fonts/manrope-500.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./public/fonts/manrope-600.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./public/fonts/manrope-700.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("./public/fonts/manrope-800.woff2") format("woff2");
}

:root {
  --bg: #0d1520; /* aligned with app brand-dark-bg */
  --bg-soft: #0b1825;
  --surface: rgba(14, 26, 40, 0.76);
  --surface-strong: rgba(8, 17, 27, 0.92);
  --card: rgba(255, 255, 255, 0.05);
  --line: rgba(164, 183, 201, 0.16);
  --line-strong: rgba(164, 183, 201, 0.28);
  --text: #edf5fc;
  --text-soft: #b2c4d8;
  --text-dim: #9ab0c7; /* WCAG AA: ≥4.5:1 on #050d16 (was #7f96ad ~3.8:1) */
  --accent: #ff8a3d;
  --accent-2: #77d8ff;
  --accent-3: #dbff79;
  --shadow: 0 32px 96px rgba(1, 7, 13, 0.42);
  --radius: 28px; /* aligned with app design tokens --radius-panel */
  --radius-sm: 22px;
  --max-width: 1320px;
  --font-display: "Manrope", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --bg-gradient-start: #07111b;
  --bg-gradient-end: #050d16;
  --glow-1: rgba(255, 138, 61, 0.18);
  --glow-2: rgba(119, 216, 255, 0.16);
  --blur-glow-1: rgba(255, 138, 61, 0.12);
  --blur-glow-2: rgba(119, 216, 255, 0.12);
  --topbar-bg: rgba(8, 17, 27, 0.72);
  --control-bg: rgba(255, 255, 255, 0.03);
  --hero-glow-1: rgba(255, 138, 61, 0.12);
  --hero-glow-2: rgba(119, 216, 255, 0.12);
  --button-text: #111;
  --button-shadow: 0 6px 18px rgba(255, 138, 61, 0.18);
  --button-shadow-hover: 0 8px 24px rgba(255, 138, 61, 0.25);
  --ui-frame-start: rgba(13, 24, 37, 0.84);
  --ui-frame-end: rgba(7, 14, 22, 0.96);
  --chip-bg: rgba(255, 255, 255, 0.05);
  --video-bg-start: rgba(7, 15, 24, 0.95);
  --video-bg-end: rgba(6, 12, 20, 0.98);
  --video-border: rgba(255, 255, 255, 0.08);
  --video-surface: #09131d;
  --video-fallback-overlay: rgba(8, 16, 26, 0.84);
  --video-overlay-bg: rgba(8, 16, 26, 0.72);
  --insert-pill-bg: rgba(255, 255, 255, 0.04);
  --tint-cyan: rgba(119, 216, 255, 0.14);
  --tint-orange: rgba(255, 138, 61, 0.14);
  --video-tint-a: rgba(255, 138, 61, 0.18);
  --video-tint-b: rgba(119, 216, 255, 0.14);
  --video-fallback-tint-a: rgba(255, 138, 61, 0.08);
  --video-fallback-tint-b: rgba(103, 214, 255, 0.08);
}

html[data-theme="dark"] {
  color-scheme: dark;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f8fb;
  --bg-soft: #e9eef5;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --card: rgba(20, 37, 58, 0.04);
  --line: rgba(92, 111, 133, 0.14);
  --line-strong: rgba(92, 111, 133, 0.2);
  --text: #0e1c2d;
  --text-soft: #51657a;
  --text-dim: #74869b;
  --accent: #ec6c25;
  --accent-2: #2f6f99;
  --accent-3: #6f8a32;
  --shadow: 0 20px 54px rgba(26, 45, 69, 0.08);
  --bg-gradient-start: #fbfcfe;
  --bg-gradient-end: #f2f5f9;
  --glow-1: rgba(236, 108, 37, 0.045);
  --glow-2: rgba(47, 111, 153, 0.04);
  --blur-glow-1: rgba(236, 108, 37, 0.035);
  --blur-glow-2: rgba(47, 111, 153, 0.03);
  --topbar-bg: rgba(255, 255, 255, 0.78);
  --control-bg: rgba(255, 255, 255, 0.74);
  --hero-glow-1: rgba(236, 108, 37, 0.045);
  --hero-glow-2: rgba(47, 111, 153, 0.04);
  --button-text: #fffdf9;
  --button-shadow: 0 4px 14px rgba(236, 108, 37, 0.14);
  --button-shadow-hover: 0 6px 20px rgba(236, 108, 37, 0.20);
  --ui-frame-start: rgba(255, 255, 255, 0.98);
  --ui-frame-end: rgba(244, 248, 252, 0.98);
  --chip-bg: rgba(14, 28, 45, 0.04);
  --video-bg-start: rgba(255, 255, 255, 0.98);
  --video-bg-end: rgba(242, 246, 250, 0.98);
  --video-border: rgba(92, 111, 133, 0.12);
  --video-surface: #f4f7fb;
  --video-fallback-overlay: rgba(255, 255, 255, 0.68);
  --video-overlay-bg: rgba(255, 255, 255, 0.82);
  --insert-pill-bg: rgba(14, 28, 45, 0.04);
  --tint-cyan: rgba(47, 111, 153, 0.05);
  --tint-orange: rgba(236, 108, 37, 0.05);
  --video-tint-a: rgba(236, 108, 37, 0.06);
  --video-tint-b: rgba(47, 111, 153, 0.04);
  --video-fallback-tint-a: rgba(236, 108, 37, 0.03);
  --video-fallback-tint-b: rgba(47, 111, 153, 0.025);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at top left, var(--glow-1), transparent 28%),
    radial-gradient(circle at 85% 10%, var(--glow-2), transparent 32%),
    linear-gradient(180deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 999px;
  filter: blur(110px);
}

body::before {
  width: 26rem;
  height: 26rem;
  left: -8rem;
  top: 20vh;
  background: var(--blur-glow-1);
}

body::after {
  width: 24rem;
  height: 24rem;
  right: -5rem;
  top: 52vh;
  background: var(--blur-glow-2);
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 1.2rem 1.25rem 2rem;
}

.topbar {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 2.5rem), var(--max-width));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  background: var(--topbar-bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  z-index: 10;
}

.topbar__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-icon {
  display: none;
}

.topbar__burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--control-bg);
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.topbar__burger:hover {
  background: var(--control-bg-hover, var(--line));
}

.topbar__burger .close-icon {
  display: none;
}

.topbar__burger.is-open .burger-icon {
  display: none;
}

.topbar__burger.is-open .close-icon {
  display: block;
}

.topnav--mobile {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  right: 0;
  background: var(--topbar-bg);
  border: 1px solid var(--line);
  border-radius: 20px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  padding: 0.5rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.topnav--mobile.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.topnav--mobile a {
  padding: 0.65rem 0.75rem;
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--text-soft);
  border-radius: 12px;
  transition: background 0.15s ease, color 0.15s ease;
}

.topnav--mobile a:hover {
  color: var(--text);
  background: var(--control-bg);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
}

.brand__logo {
  width: auto;
  height: 2.9rem;
  max-width: 13rem;
  object-fit: contain;
}

.topnav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
}

.topnav a,
.footer {
  color: var(--text-soft);
}

.topnav a {
  text-decoration: none;
  font-size: 0.95rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0 1.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 138, 61, 0.4);
  background: linear-gradient(135deg, rgba(255, 138, 61, 0.95), rgba(255, 115, 43, 0.82));
  color: var(--button-text);
  text-decoration: none;
  font-weight: 800;
  box-shadow: var(--button-shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: var(--button-shadow-hover);
}

.button--ghost {
  background: var(--control-bg);
  color: var(--text);
  border-color: var(--line-strong);
  box-shadow: none;
}

.screen-stack {
  scroll-snap-type: y proximity; /* was mandatory — proximity is less jarring */
}

.screen {
  min-height: 100svh;
  padding: 6.25rem 0 2rem;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
}

.screen__inner {
  width: 100%;
}

.screen__inner--center {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  justify-items: center;
  text-align: center;
}

.screen__inner--split,
.screen__inner--split-reverse {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 2rem;
  align-items: center;
}

.screen__inner--split-reverse {
  grid-template-columns: minmax(420px, 1.05fr) minmax(0, 0.95fr);
}

.screen--statement {
  position: relative;
}

.screen--statement::after {
  content: "";
  position: absolute;
  inset: 16% 12% 10%;
  border-radius: 48px;
  background:
    radial-gradient(circle at 50% 24%, var(--hero-glow-1), transparent 24%),
    radial-gradient(circle at 68% 68%, var(--hero-glow-2), transparent 26%);
  filter: blur(20px);
  z-index: -1;
}

.statement-block {
  max-width: 980px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--accent-2);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.statement-block h1,
.narrative-copy h2,
.section-head h2,
.final-block h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.97;
  letter-spacing: -0.04em;
}

.statement-block h1 {
  font-size: clamp(3rem, 4.3vw, 5.8rem);
  max-width: 12ch;
  margin: 0 auto;
}

.statement-block h1 span {
  display: block;
  color: var(--text-soft);
}

.statement-block__lead,
.narrative-copy p,
.feature-wall__card p,
.faq-item p,
.insert-card p,
.capability-card p,
.final-block p,
.video-slot__fallback p {
  color: var(--text-soft);
  line-height: 1.68;
}

.statement-block__lead {
  max-width: 50rem;
  margin: 1.6rem auto 0;
  font-size: 1.08rem;
}

.statement-block__actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-soft);
  text-decoration: none;
}

.scroll-cue__text {
  font-size: 0.9rem;
}

.scroll-cue__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--control-bg);
  animation: float-down 1.8s ease-in-out infinite;
}

@keyframes float-down {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

.narrative-copy {
  max-width: 42rem;
}

.narrative-copy h2,
.section-head h2,
.final-block h2 {
  font-size: clamp(2rem, 3.2vw, 3.35rem);
  max-width: 23ch;
}

.ui-preview-frame {
  width: min(100%, 1280px);
  border-radius: 40px;
  padding: 1.2rem;
  background:
    linear-gradient(180deg, var(--ui-frame-start), var(--ui-frame-end));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.ui-preview-frame__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
}

.capability-stack,
.insert-cluster,
.video-column {
  display: grid;
  gap: 1rem;
}

.capability-card,
.insert-card,
.feature-wall__card,
.final-block {
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, var(--surface), var(--surface-strong));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.capability-card,
.insert-card,
.feature-wall__card {
  padding: 1.35rem;
}

.capability-card__tag,
.insert-card__kicker,
.insert-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0 0.8rem;
  border-radius: 999px;
  background: var(--chip-bg);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.capability-card strong,
.insert-card h3,
.feature-wall__card h3 {
  display: block;
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-size: 1.34rem;
  line-height: 1.14;
}

.insert-card--glass {
  background:
    radial-gradient(circle at top right, var(--tint-cyan), transparent 36%),
    linear-gradient(180deg, var(--surface), var(--surface-strong));
}

.insert-card--accent,
.feature-wall__card--accent {
  background:
    radial-gradient(circle at top left, var(--tint-orange), transparent 36%),
    linear-gradient(180deg, var(--surface), var(--surface-strong));
}

.video-stage,
.video-column {
  position: relative;
}

/* IAM-Docs wordmark: theme-aware "ıam" colour (matches frontend logo styling).
   Applies to inlined <svg> wordmark. The .logo-iam-text class is on a <text>
   element inside the SVG; CSS overrides the SVG's inline fill attribute. */
.logo-iam-text {
  fill: #edf5fc !important;
}
html[data-theme="light"] .logo-iam-text {
  fill: #0e1c2d !important;
}

/* Inlined brand SVGs — same class as the original <img>, so .brand__logo /
   .footer__logo size rules continue to apply.  Keep the SVG block-level so
   margins behave like the <img> it replaced. */
svg.brand__logo,
svg.footer__logo {
  display: block;
}

.video-slot {
  position: relative;
  min-height: 320px;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, var(--video-tint-a), transparent 34%),
    radial-gradient(circle at bottom right, var(--video-tint-b), transparent 36%),
    linear-gradient(180deg, var(--video-bg-start), var(--video-bg-end));
  border: 1px solid var(--video-border);
  box-shadow: var(--shadow);
}

.video-slot iframe,
.video-slot__image {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: block;
  border: 0;
  object-fit: cover;
  object-position: top;
  background: var(--video-surface);
}

/* Native <video>: full width, dynamic height (intrinsic aspect ratio, no cropping) */
.video-slot video {
  width: 100%;
  height: auto;
  display: block;
  border: 0;
  object-fit: contain;
  background: var(--video-surface);
}

/* When a slot hosts a <video>, drop the min-height so the slot collapses
   to the video's intrinsic aspect ratio. */
.video-slot:has(> video) {
  min-height: 0;
}

.video-slot--cinema,
.video-slot--cinema iframe,
.video-slot--cinema .video-slot__image {
  min-height: 560px;
}

.video-slot--framed,
.video-slot--framed iframe,
.video-slot--framed .video-slot__image {
  min-height: 500px;
}

.video-slot--stacked,
.video-slot--stacked iframe,
.video-slot--stacked .video-slot__image {
  min-height: 250px;
}

.video-slot__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.7rem;
  padding: 1.5rem;
  background:
    linear-gradient(180deg, transparent 30%, var(--video-fallback-overlay)),
    linear-gradient(135deg, var(--video-fallback-tint-a), var(--video-fallback-tint-b));
}

/* Decorative grid pattern for video fallback */
.video-slot__fallback::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image:
    linear-gradient(var(--text-dim) 1px, transparent 1px),
    linear-gradient(90deg, var(--text-dim) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  pointer-events: none;
}

.video-slot__badge,
.video-slot__overlay {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 2rem;
  padding: 0 0.85rem;
  border-radius: 999px;
  backdrop-filter: blur(16px);
}

.video-slot__badge {
  background: var(--chip-bg);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 700;
}

.video-slot__overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--video-overlay-bg);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 700;
}

.video-slot__play {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: rgba(255, 138, 61, 0.92);
  color: var(--button-text);
  font-size: 1rem;
  font-weight: 900;
  box-shadow: 0 14px 32px rgba(255, 138, 61, 0.24);
}

.mini-proof,
.insert-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.insert-pill {
  background: var(--insert-pill-bg);
}

.section-head {
  max-width: 60rem;
  margin: 0 auto 1.4rem;
}

.section-head--center {
  text-align: center;
}

.section-head--center h2 {
  margin-inline: auto;
}

.feature-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.faq-strip {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
  margin-inline: auto;
}

.faq-item {
  padding: 0;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-dim);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "\2212"; /* minus sign */
  transform: rotate(0deg);
}

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

.faq-item p {
  padding: 0 0 1.25rem;
}

.final-block {
  max-width: 900px;
  margin-inline: auto;
  padding: 2rem;
  text-align: center;
}

.final-block h2 {
  margin-inline: auto;
}

.final-block__actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem 3rem;
  align-items: start;
  margin-top: 2rem;
  padding: 2rem 0 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.footer__brand p {
  margin: 0.5rem 0 0;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.footer__logo {
  display: block;
  height: auto;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: right;
}

.footer__contacts-title {
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  margin-bottom: 0.25rem;
}

.footer__contacts a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.15s;
}

.footer__contacts a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.footer__copyright {
  grid-column: 1 / -1;
  color: var(--text-dim);
  font-size: 0.8rem;
}

.footer__made-by {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.8rem;
}

.footer__made-by a {
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.15s;
}

.footer__made-by a:hover {
  color: var(--accent);
  text-decoration: underline;
}

@media (max-width: 760px) {
  .footer {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer__contacts {
    text-align: center;
  }
}

html[data-theme="light"] .topbar,
html[data-theme="light"] .capability-card,
html[data-theme="light"] .insert-card,
html[data-theme="light"] .feature-wall__card,
html[data-theme="light"] .final-block,
html[data-theme="light"] .ui-preview-frame,
html[data-theme="light"] .video-slot {
  box-shadow:
    0 18px 44px rgba(26, 45, 69, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

html[data-theme="light"] .topnav a,
html[data-theme="light"] .scroll-cue,
html[data-theme="light"] .footer {
  color: #617487;
}

html[data-theme="light"] .topnav a:hover,
html[data-theme="light"] .scroll-cue:hover {
  color: var(--text);
}

html[data-theme="light"] .statement-block h1 span {
  color: #5f7081;
}

html[data-theme="light"] .button--ghost,
html[data-theme="light"] .scroll-cue__icon {
  backdrop-filter: blur(12px);
}

code {
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  color: var(--accent-2);
}

/* ── Demo Form ────────────────────────────────────────────── */
.demo-form {
  max-width: 520px;
  margin: 2rem auto 0;
}

.demo-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.demo-form__input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card-bg);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.demo-form__input::placeholder {
  color: var(--text-dim);
}

.demo-form__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 138, 61, 0.15);
}

.demo-form__input:invalid:not(:placeholder-shown) {
  border-color: #ef4444;
}

.demo-form__actions {
  text-align: center;
}

.demo-form__status {
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  min-height: 1.5em;
}

.demo-form__status--success {
  color: #22c55e;
}

.demo-form__status--error {
  color: #ef4444;
}

.demo-form__fallback {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.demo-form__fallback a {
  color: var(--accent);
  text-decoration: underline;
}

@media (max-width: 760px) {
  .demo-form__grid {
    grid-template-columns: 1fr;
  }
}

/* ── Scenario Visual Diversity ────────────────────────────── */
.scenario-number {
  font-family: "Manrope", sans-serif;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
  opacity: 0.15;
  letter-spacing: -0.04em;
}

.screen--scenario-1 .scenario-number { color: var(--accent); }
.screen--scenario-2 .scenario-number { color: var(--accent-2); }
.screen--scenario-3 .scenario-number { color: #a3e635; }

.screen--scenario-1 .eyebrow { color: var(--accent); }
.screen--scenario-2 .eyebrow { color: var(--accent-2); }
.screen--scenario-3 .eyebrow { color: #a3e635; }

.screen--scenario-1 .video-slot__badge { background: var(--accent); color: #000; }
.screen--scenario-2 .video-slot__badge { background: var(--accent-2); color: #000; }
.screen--scenario-3 .video-slot__badge { background: #a3e635; color: #000; }

@media (max-width: 760px) {
  .scenario-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 1140px) {
  .screen {
    min-height: auto;
    padding: 6.25rem 0 3rem;
  }

  .screen-stack {
    scroll-snap-type: none;
  }

  .screen__inner--split,
  .screen__inner--split-reverse,
  .feature-wall {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .screen__inner--split-reverse .narrative-copy {
    order: -1;
  }

  .site-shell {
    padding: 1rem 0.9rem 2rem;
  }

  .topbar {
    /* minmax(0,1fr) lets the logo column shrink so actions are not squeezed to the edge */
    grid-template-columns: minmax(0, 1fr) auto;
    width: calc(100% - 1.8rem);
    max-width: 100%;
    border-radius: 999px;
    padding: 0.65rem max(0.75rem, env(safe-area-inset-right, 0px)) 0.65rem
      max(0.75rem, env(safe-area-inset-left, 0px));
    gap: 0.65rem;
    position: relative;
  }

  .topnav {
    display: none;
  }

  .topbar__actions {
    justify-self: end;
    flex-shrink: 0;
    gap: 0.55rem;
    align-items: center;
  }

  .topbar__burger {
    display: inline-flex;
  }

  .brand__logo {
    max-width: min(52vw, 10.5rem);
    height: 2.45rem;
  }

  .btn-label {
    display: none;
  }

  .btn-icon {
    display: block;
  }

  .button--ghost {
    min-height: 2.8rem;
    min-width: 2.8rem;
    width: 2.8rem;
    flex-shrink: 0;
    padding: 0;
  }

  .statement-block h1 {
    font-size: clamp(2.4rem, 11vw, 3.8rem);
    max-width: 9.5ch;
  }

  .narrative-copy h2,
  .section-head h2,
  .final-block h2 {
    font-size: clamp(1.7rem, 8vw, 2.45rem);
    max-width: none;
  }

  .video-slot,
  .video-slot iframe,
  .video-slot video {
    min-height: 240px;
  }

  .video-slot--cinema,
  .video-slot--cinema iframe,
  .video-slot--cinema video,
  .video-slot--framed,
  .video-slot--framed iframe,
  .video-slot--framed video {
    min-height: 300px;
  }

  .final-block,
  .capability-card,
  .insert-card,
  .feature-wall__card {
    padding: 1.2rem;
  }

  .ui-preview-frame {
    padding: 0.75rem;
    border-radius: 28px;
  }

  .ui-preview-frame__image {
    border-radius: 18px;
  }

  .footer {
    font-size: 0.88rem;
  }
}

/* ============================================================
   Accessibility: Focus States (WCAG 2.1 AA)
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* ============================================================
   Accessibility: Reduced Motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .screen-stack {
    scroll-snap-type: none;
  }
}
