:root {
  --bg: #090A0C;
  --bg-2: #101114;
  --bg-3: #17191E;
  --paper: #F4F1EB;
  --paper-2: #E7E2D8;
  --ink: #14160F;
  --text: #F4F2EE;
  --muted: #A39E94;
  --line: rgba(244, 242, 238, 0.12);
  --line-strong: rgba(244, 242, 238, 0.22);
  --lime: #D6F25C;
  --lime-ink: #15180A;
  --danger: #E15B4A;
  --ok: #8FDB7A;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --sans: "Outfit", sans-serif;
  --display: "Syne", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --radius: 18px;
  --nav: 72px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; margin: 0; }
p { margin: 0; }

.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip:focus {
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  overflow: visible;
  inset-inline-start: 12px;
  top: 12px;
  background: var(--lime);
  color: var(--lime-ink);
  padding: 8px 12px;
  z-index: 9;
}

.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav); padding: 0 28px;
  background: rgba(9, 10, 12, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck { border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; letter-spacing: -0.04em; }
.brand svg { width: 26px; height: 26px; }
.nav-links { display: flex; gap: 26px; color: var(--muted); font-size: 14px; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 999px; padding: 8px 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 12px 18px; border: 1px solid transparent;
  font-weight: 560; letter-spacing: -0.01em; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-lime { background: var(--lime); color: var(--lime-ink); }
.btn-lime:hover { background: #e4ff7a; }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-small { padding: 8px 12px; font-size: 13px; }
.btn-block { width: 100%; }

.kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime);
}
.muted { color: var(--muted); }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.section { padding: 96px 0; }
html:has(.home) { scroll-snap-type: y proximity; scroll-behavior: smooth; }
.home > .hero,
.home > .screen,
.home > .section:not(.flow) {
  min-height: 100dvh;
  scroll-snap-align: start;
}
.home > .section:not(.flow),
.home > .screen {
  display: flex;
  flex-direction: column;
  justify-content: safe center;
  padding-top: calc(var(--nav) + 36px);
  padding-bottom: 48px;
}
.home > .screen { padding-top: var(--nav); padding-bottom: 24px; justify-content: center; }
.home > .section .stats { margin-top: 0; margin-bottom: 36px; }
.home > .section.flow {
  min-height: 0;
  scroll-snap-align: none;
  display: block;
  padding: 28px 0 8px;
}
.home > .section.flow:first-of-type,
.home > .screen + .section.flow,
.home > .section:not(.flow) + .section.flow { padding-top: 72px; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 48px; align-items: end; }
.section-head h2 { font-size: clamp(36px, 4vw, 56px); line-height: 0.98; }
.section-head p { color: var(--muted); max-width: 420px; }

.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;
}
.hero {
  --hero-p: 0;
  --intro: 0;
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  margin-top: calc(var(--nav) * -1);
  padding: calc(var(--nav) + 12px) 0 88px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: #111 url("/media/hero-poster.jpg") center 40% / cover no-repeat;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 10, 12, 0.94) 0%, rgba(9, 10, 12, 0.86) 34%, rgba(9, 10, 12, 0.46) 62%, rgba(9, 10, 12, 0.1) 100%),
    linear-gradient(180deg, rgba(9, 10, 12, 0.5) 0%, rgba(9, 10, 12, 0.05) 24%, rgba(9, 10, 12, 0.12) 68%, #090A0C 100%);
}
.hero-pin {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
}
.hero-copy {
  width: min(1240px, calc(100% - 80px));
  margin-left: max(40px, calc((100% - 1320px) / 2));
  margin-right: auto;
  transform: translate3d(0, calc(var(--hero-p) * -22px), 0);
}
.hero-kicker,
.hero-fade {
  opacity: 0;
  filter: blur(10px);
  animation: hero-in 2.1s cubic-bezier(.16, 1, .3, 1) forwards;
}
.hero-kicker { animation-delay: .08s; }
.lede.hero-fade { animation-delay: 1.05s; }
.hero-cta.hero-fade { animation-delay: 1.22s; }
.hero-title {
  display: block;
  width: 100%;
  font-size: clamp(46px, 5.5vw, 80px);
  line-height: 0.92;
  letter-spacing: -0.048em;
  margin: 16px 0 22px;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}
.hero-line { display: block; max-width: 100%; white-space: nowrap; }
.hero-line > span {
  display: inline-block;
  margin-right: 0.2em;
  opacity: 0;
  filter: blur(14px);
  transform: translate3d(0, 0.42em, 0);
  animation: hero-word 1.9s cubic-bezier(.16, 1, .3, 1) forwards;
}
.hero-line > span:last-child { margin-right: 0; }
.hero-line:nth-child(1) > span:nth-child(1) { animation-delay: .18s; }
.hero-line:nth-child(1) > span:nth-child(2) { animation-delay: .32s; }
.hero-line:nth-child(1) > span:nth-child(3) { animation-delay: .46s; }
.hero-line:nth-child(2) > span:nth-child(1) { animation-delay: .58s; }
.hero-line:nth-child(2) > span:nth-child(2) { animation-delay: .72s; }
.hero-line:nth-child(2) > span:nth-child(3) { animation-delay: .86s; }
.lede { font-size: 20px; color: var(--muted); max-width: 680px; line-height: 1.45; }
.hero-cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.stage-wrap {
  --stage: 1;
  --drift: 0;
  position: relative;
  margin-top: -12px;
  padding: 8px 0 20px;
}
.stage-wrap.is-motion {
  --stage: 0;
}
.stage-glow {
  position: absolute;
  left: 42%;
  top: 48%;
  width: min(920px, 78vw);
  height: 420px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(214, 242, 92, 0.11), rgba(214, 242, 92, 0) 68%);
  opacity: calc(0.15 + var(--stage) * 0.85);
  pointer-events: none;
}
.stage {
  position: relative;
  width: min(1240px, calc(100% - 40px));
  height: 650px;
  margin: 0 auto;
  perspective: 1600px;
}
.device {
  background: #12141a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), 0 2px 0 rgba(255, 255, 255, 0.04) inset;
  overflow: hidden;
  position: relative;
  pointer-events: none;
}
.browser {
  position: absolute;
  left: 0;
  top: 64px;
  width: calc(100% - 168px);
  height: 540px;
  border-radius: 22px;
  transform-origin: 50% 100%;
  transform:
    translate3d(0, calc((1 - var(--stage)) * 72px + var(--drift) * -22px), 0)
    rotateX(calc((1 - var(--stage)) * 11deg))
    scale(calc(0.965 + var(--stage) * 0.035));
  opacity: calc(0.2 + var(--stage) * 0.8);
}
.browser-bar {
  height: 44px; display: flex; align-items: center; gap: 7px; padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: #16181e;
  color: var(--muted); font-size: 12px;
}
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: #2c3038; display: block; }
.browser-bar i:first-child { background: #3a3f48; }
.browser-bar span {
  margin: 0 auto;
  padding: 4px 12px;
  border-radius: 999px;
  background: #0d0e12;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.01em;
}
.screen { position: relative; height: calc(100% - 44px); background: #0c0d10; pointer-events: none; }
.screen iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #0c0d10;
  display: block;
  pointer-events: none;
}
.screen-veil {
  position: absolute;
  inset: 0;
  background: #0c0d10;
  opacity: 0;
  transition: opacity .45s ease;
  pointer-events: none;
}
.device.is-switching .screen-veil { opacity: 1; }
.device-open {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 16px 18px;
  background: linear-gradient(180deg, transparent 62%, rgba(9, 10, 12, 0.72));
  opacity: 0;
  transition: opacity .35s ease;
  cursor: pointer;
}
.device-open span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(9, 10, 12, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 13px;
  letter-spacing: -0.01em;
  backdrop-filter: blur(10px);
  transform: translateY(6px);
  transition: transform .35s cubic-bezier(.16, 1, .3, 1);
}
.device-open:hover,
.device-open:focus-visible { opacity: 1; }
.device-open:hover span,
.device-open:focus-visible span { transform: none; }
.device-open:focus-visible { outline: 2px solid var(--lime); outline-offset: -6px; }
.phone {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
  width: 300px;
  height: 620px;
  border-radius: 46px;
  border: 9px solid #0e1014;
  background: #000;
  box-shadow: 0 46px 90px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform-origin: 70% 100%;
  transform:
    translate3d(calc((1 - var(--stage)) * 36px), calc((1 - var(--stage)) * 128px + var(--drift) * -52px), 0)
    rotateY(calc((1 - var(--stage)) * -8deg));
  opacity: calc(0.05 + var(--stage) * 0.95);
}
.phone .screen { height: 100%; border-radius: 36px; overflow: hidden; }
.stage-dock {
  position: relative;
  z-index: 3;
  width: min(1240px, calc(100% - 40px));
  margin: 22px auto 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transform: translate3d(0, calc((1 - var(--stage)) * 28px), 0);
  opacity: calc(0.15 + var(--stage) * 0.85);
}
.stage-dock-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.stage-enter {
  color: var(--text);
  font-size: 14px;
  letter-spacing: -0.01em;
  border-bottom: 1px solid rgba(214, 242, 92, 0.75);
  padding-bottom: 1px;
}
.stage-enter:hover { color: var(--lime); }
.demo-switch { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); color: var(--muted);
  border-radius: 999px; padding: 9px 14px; cursor: pointer;
  transition: color .3s ease, border-color .3s ease, background .3s ease;
}
.chip.is-on, .chip:hover { color: var(--text); border-color: var(--line-strong); }
.chip.is-on { background: var(--bg-3); color: var(--lime); }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 72px;
}
.stat { background: var(--bg); padding: 28px; }
.stat strong { display: block; font-family: var(--display); font-size: 36px; letter-spacing: -0.04em; }
.stat span { color: var(--muted); font-size: 14px; }

.explain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.explain article { border-top: 1px solid var(--line); padding-top: 18px; }
.explain em { font-family: var(--mono); font-style: normal; color: var(--lime); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.explain h3 { font-size: 26px; margin: 12px 0 0; }
.platform-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}
.platform-head h2 { font-size: clamp(36px, 4vw, 56px); line-height: 0.95; }
.home-themes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}
.home-theme strong { display: block; margin-top: 10px; font-size: 15px; }
.home-themes-more { display: flex; justify-content: center; margin: 28px 0 0; }
.home-theme .shot { height: 168px; border-radius: 14px; }
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.path {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  display: grid;
  gap: 12px;
  align-content: start;
}
.path h3 { font-size: 28px; }
.path p { color: var(--muted); }
.path .btn, .path .library-go { justify-self: start; margin-top: 6px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { border-top: 1px solid var(--line); padding-top: 18px; }
.step em { font-family: var(--mono); font-style: normal; color: var(--lime); font-size: 12px; }
.step h3 { font-size: 22px; margin: 10px 0; }
.step p { color: var(--muted); font-size: 14px; }

.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.package {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; padding: 22px;
  display: flex; flex-direction: column; gap: 14px; min-height: 420px;
}
.package.is-hot { border-color: rgba(214, 242, 92, 0.55); }
.package h3 { font-size: 28px; }
.price { font-family: var(--display); font-size: 40px; letter-spacing: -0.04em; }
.price small { font-family: var(--sans); font-size: 14px; color: var(--muted); font-weight: 400; }
.package ul { list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: 14px; display: grid; gap: 8px; }
.package ul li::before { content: "– "; color: var(--lime); }
.package .btn { margin-top: auto; }

.showcase { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; }
.theme-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.theme-card {
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--bg-2); min-height: 180px;
  display: flex; flex-direction: column;
}
.theme-card .swatch { height: 92px; }
.theme-card div { padding: 12px; }
.theme-card strong { display: block; font-size: 14px; }
.theme-card span { color: var(--muted); font-size: 12px; }

.library-intro { padding-bottom: 20px; }
.library-intro h1 { font-size: clamp(42px, 5vw, 72px); line-height: 0.95; }
.library-feature { padding-top: 12px; }
.library-feature-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 48px;
  align-items: center;
}
.library-feature-copy h2 { font-size: clamp(36px, 4vw, 56px); line-height: 0.95; margin: 10px 0 14px; }
.library-feature-copy > p { color: var(--muted); max-width: 460px; }
.library-spec { margin: 22px 0 0; display: grid; gap: 10px; }
.library-spec div { display: grid; grid-template-columns: 88px 1fr; gap: 12px; align-items: center; }
.library-spec dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.library-spec dd { margin: 0; font-size: 14px; }
.library-colors { display: flex; gap: 8px; }
.library-colors i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line-strong); display: block; }
.library-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.library-stage { position: relative; min-height: 540px; }
.library-browser,
.shot,
.shot-phone,
.library-phone {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--shot, #101114);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.library-browser { border-radius: 20px; height: 460px; }
.library-phone,
.shot-phone {
  height: auto;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 40px;
  background:
    linear-gradient(165deg, #6a707c 0%, #2c3038 14%, #14161c 42%, #0b0c10 100%);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.55),
    0 28px 54px rgba(0, 0, 0, 0.42);
}
.library-phone {
  position: absolute;
  right: 0;
  top: 16px;
  width: 228px;
  z-index: 2;
}
.shot { border-radius: 18px; height: 300px; }
.shot-phone {
  width: min(100%, 268px);
  margin: 0 auto;
}
.phone-glass {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 440 / 956;
  border-radius: 32px;
  overflow: hidden;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.shot-bar {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  background: #16181e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.shot-bar i { width: 7px; height: 7px; border-radius: 50%; background: #2c3038; display: block; }
.shot-bar em {
  margin: 0 auto;
  font-style: normal;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  background: #0d0e12;
  border-radius: 999px;
  padding: 3px 10px;
}
.shot-view { position: absolute; left: 0; right: 0; bottom: 0; top: 0; overflow: hidden; pointer-events: none; }
.shot-bar + .shot-view { top: 36px; }
.shot-view iframe,
.library-phone iframe,
.shot-phone iframe {
  position: absolute;
  top: 0;
  left: 0;
  border: 0;
  pointer-events: none;
  background: transparent;
}
.library-browser .shot-view,
.shot .shot-view { container-type: inline-size; }
.library-browser iframe,
.shot iframe {
  width: 1280px;
  height: 900px;
  transform: scale(0.46);
  transform-origin: top left;
}
@supports (width: 1cqw) {
  .library-browser iframe,
  .shot iframe { transform: scale(calc(100cqw / 1280px)); }
}
.library-phone .shot-view,
.shot-phone .shot-view { container-type: inline-size; }
.library-phone .shot-view iframe,
.shot-phone .shot-view iframe {
  width: 440px;
  height: 956px;
  transform: scale(calc(100cqw / 440px));
  transform-origin: top left;
}
.shot-open {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translate(-50%, 8px);
  z-index: 3;
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(9, 10, 12, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .35s cubic-bezier(.16, 1, .3, 1);
}
.library-browser:hover .shot-open,
.library-phone:hover .shot-open,
.shot:hover .shot-open,
.shot-phone:hover .shot-open,
.library-browser:focus-visible .shot-open,
.library-phone:focus-visible .shot-open,
.shot:focus-visible .shot-open,
.shot-phone:focus-visible .shot-open {
  opacity: 1;
  transform: translate(-50%, 0);
}
.library-block-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.library-block-head h2 { font-size: clamp(32px, 4vw, 48px); }
.library-block-head p { color: var(--muted); max-width: 360px; }
.library-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.library-card, .library-app {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 12px;
  display: grid;
  gap: 14px;
}
.library-card.is-default, .library-app.is-default { border-color: rgba(214, 242, 92, 0.45); }
.library-card-body { padding: 4px 8px 8px; display: grid; gap: 8px; }
.library-card-body h3 { font-size: 26px; }
.library-card-body p { color: var(--muted); font-size: 14px; }
.library-fonts { font-family: var(--mono); font-size: 11px !important; letter-spacing: 0.04em; }
.library-go {
  justify-self: start;
  margin-top: 4px;
  font-size: 14px;
  border-bottom: 1px solid rgba(214, 242, 92, 0.75);
  padding-bottom: 1px;
}
.library-go:hover { color: var(--lime); }
.app-slider-tools {
  display: flex;
  align-items: flex-end;
  gap: 18px;
}
.app-slider-tools p { color: var(--muted); max-width: 320px; }
.app-slider-nav { display: flex; gap: 8px; flex: none; }
.slider-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.slider-btn:hover { border-color: var(--lime); color: var(--lime); }
.slider-btn:disabled { opacity: 0.32; cursor: default; }
.slider-btn:disabled:hover { border-color: var(--line-strong); color: var(--text); }
.app-slider-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  padding-bottom: 4px;
}
.app-slider-track::-webkit-scrollbar { display: none; }
.library-app {
  flex: 0 0 min(300px, 78%);
  scroll-snap-align: start;
  text-align: left;
  min-width: 0;
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.panel { background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.panel h3 { font-size: 32px; margin-bottom: 10px; }
.color-row { display: flex; gap: 10px; margin-top: 18px; }
.sw { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); }

.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-size: 18px; list-style: none; display: flex; justify-content: space-between; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:after { content: "+"; color: var(--muted); }
.faq details[open] summary:after { content: "–"; }
.faq details p { color: var(--muted); margin-top: 8px; max-width: 640px; }

.quote-section { padding-top: 88px; }
.quote-head { display: flex; justify-content: flex-end; margin-bottom: 16px; }
.quote-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.quote-track::-webkit-scrollbar { display: none; }
.quote {
  flex: 0 0 calc((100% - 36px) / 2.2);
  scroll-snap-align: start;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 28px 22px;
  background: linear-gradient(180deg, #14161c 0%, #101114 100%);
}
.quote p {
  font-family: var(--display);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.22;
  letter-spacing: -0.03em;
}
.quote footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.quote footer span { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; }

.contact {
  padding: 96px 0 88px;
  background: #090A0C;
}
.contact-layout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.contact-kicker {
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 242, 238, 0.72);
}
.contact-copy h2 {
  font-size: clamp(52px, 4.6vw, 76px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-weight: 800;
}
.contact-copy h2 span { display: block; white-space: nowrap; }
.contact-note {
  margin: 18px 0 0;
  max-width: 220px;
  color: var(--muted);
  line-height: 1.45;
}
.contact-side {
  display: grid;
  gap: 18px;
  width: 100%;
  min-width: 0;
}
.contact-form {
  width: 100%;
  display: grid;
  gap: 16px;
}
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label {
  display: grid;
  gap: 8px;
  min-width: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8f8b84;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: #14161c;
  border: 1px solid rgba(244, 242, 238, 0.1);
  border-radius: 16px;
  padding: 16px 18px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
}
.contact-form textarea { min-height: 148px; resize: vertical; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(163, 158, 148, 0.62); }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(214, 242, 92, 0.75);
  box-shadow: 0 0 0 3px rgba(214, 242, 92, 0.14);
}
.contact-send {
  width: 100%;
  height: 56px;
  border: 1px solid rgba(244, 242, 238, 0.22);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 560;
  cursor: pointer;
}
.contact-send:hover { border-color: var(--text); }
.contact-build {
  display: grid;
  gap: 6px;
  justify-items: start;
  background: #14161c;
  border: 1px solid rgba(244, 242, 238, 0.08);
  border-radius: 20px;
  padding: 22px;
}
.contact-build-kicker {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 242, 238, 0.72);
}
.contact-build p:not(.contact-build-kicker) { color: var(--muted); }
.contact-build-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--lime-ink);
  font-weight: 560;
  font-size: 15px;
}
.contact-build-go:hover { background: #e4ff7a; }

.cta-band {
  margin: 20px auto 80px; width: min(var(--max), calc(100% - 48px));
  background: var(--lime); color: var(--lime-ink); border-radius: 28px; padding: 56px;
  display: flex; justify-content: space-between; align-items: end; gap: 24px;
}
.cta-band h2 { font-size: clamp(36px, 5vw, 64px); line-height: 0.95; max-width: 640px; }
.cta-band .btn { background: var(--ink); color: var(--paper); }

.footer { border-top: 1px solid var(--line); padding: 48px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.footer a { display: block; color: var(--muted); margin: 6px 0; font-size: 14px; }
.footer a:hover { color: var(--text); }
.legal { margin-top: 28px; color: var(--muted); font-size: 12px; display: flex; justify-content: space-between; }

.form { display: grid; gap: 10px; }
.form input, .form textarea, .form select, .field input, .field textarea, .field select {
  width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
}
.form label, .field label { font-size: 13px; color: var(--muted); display: grid; gap: 6px; }
.quote-line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.flash {
  width: min(var(--max), calc(100% - 48px)); margin: 12px auto;
  padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line);
}
.flash-success { background: rgba(143, 219, 122, 0.1); }
.flash-error { background: rgba(225, 91, 74, 0.12); }

.reveal { opacity: 0; transform: translateY(16px); animation: rise .7s ease forwards; }
.delay-1 { animation-delay: .08s; }
.delay-2 { animation-delay: .16s; }
.delay-3 { animation-delay: .24s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes hero-in {
  from { opacity: 0; filter: blur(12px); transform: translate3d(0, 22px, 0); }
  to { opacity: 1; filter: blur(0); transform: none; }
}
@keyframes hero-word {
  from { opacity: 0; filter: blur(14px); transform: translate3d(0, 0.42em, 0); }
  to { opacity: 1; filter: blur(0); transform: none; }
}

.rise {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 1.1s cubic-bezier(.22, .61, .36, 1), transform 1.2s cubic-bezier(.22, .61, .36, 1);
}
.rise.is-in { opacity: 1; transform: none; }

.hero.is-flat { height: auto; }
.hero.is-flat .hero-pin { position: relative; top: auto; height: auto; padding: 36px 0 8px; }
.hero.is-flat .stage { flex: none; }
.hero.is-flat .stage .browser,
.hero.is-flat .stage .phone { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; scroll-snap-type: none; }
  .reveal, .hero-kicker, .hero-fade, .hero-line > span { animation: none; opacity: 1; filter: none; transform: none; }
  .btn:hover { transform: none; }
  .hero-video { display: none; }
  .hero { height: auto; min-height: 100vh; --intro: 1; --hero-p: 0; }
  .hero-pin { position: relative; top: auto; height: auto; padding: 36px 0 8px; }
  .hero-copy, .hero-fade { transform: none; opacity: 1; filter: none; }
  .screen-veil { transition: none; }
  .stage-wrap,
  .stage-wrap.is-motion { --stage: 1; --drift: 0; }
  .stage .browser,
  .stage .phone,
  .stage-dock,
  .stage-glow { transform: none; opacity: 1; }
  .rise { animation: none; opacity: 1; transform: none; transition: none; }
  .app-slider-track, .quote-track { scroll-behavior: auto; }
}

@media (max-width: 980px) {
  .section-head, .showcase, .split, .packages, .steps, .stats, .theme-grid, .footer-grid, .stage, .explain, .paths {
    grid-template-columns: 1fr;
  }
  .theme-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; align-items: start; }
  .nav-links { display: none; }
  .nav.is-open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: var(--nav); left: 0; right: 0;
    background: var(--bg); padding: 16px 22px 22px; border-bottom: 1px solid var(--line);
  }
  .nav-toggle { display: inline-flex; }
  .hero { height: auto; min-height: 92vh; padding-bottom: 56px; }
  .hero-video { object-position: 70% center; }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(9, 10, 12, 0.5) 0%, rgba(9, 10, 12, 0.72) 42%, #090A0C 100%);
  }
  .hero-copy { width: min(100% - 40px, 720px); margin-left: 20px; }
  .hero-pin { position: relative; top: auto; height: auto; overflow: visible; justify-content: flex-start; padding-top: 28px; }
  .hero-title { font-size: 42px; min-height: 0; }
  .hero-line { white-space: normal; }
  .stage { height: auto; display: grid; gap: 28px; perspective: none; }
  .browser, .phone {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    transform: none;
    opacity: 1;
  }
  .browser { height: 360px; }
  .phone { width: min(300px, 100%); height: 520px; margin: 0 auto; }
  .stage-dock { align-items: flex-start; transform: none; opacity: 1; }
  .stage-glow { opacity: 1; }
  .library-feature-grid, .library-grid, .library-block-head, .home-themes { grid-template-columns: 1fr; }
  .home-themes { grid-template-columns: 1fr 1fr; }
  .platform-head, .app-slider-tools { flex-direction: column; align-items: flex-start; }
  .library-block-head { display: grid; align-items: start; }
  .library-app { flex-basis: 78%; }
  .quote { flex-basis: 86%; min-height: 220px; }
  .contact { padding: 56px 0 48px; }
  .contact-layout, .contact-row { grid-template-columns: 1fr; }
  .contact-layout { gap: 32px; }
  .contact-copy h2 { font-size: 40px; }
  .contact-note { max-width: 28ch; }
  .library-stage { min-height: 0; display: grid; gap: 18px; }
  .library-phone { position: relative; top: auto; right: auto; margin: 0 auto; }
  .library-browser { height: 280px; }
}
