/* ═══════════════════════════════════════════════════════════════════════════
   SCHNITT — design system
   Graphite / porcelain / one acid accent. Hairline borders, no heavy shadows,
   asymmetric grids, editorial serif accents. Vanilla CSS, no framework.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── tokens ─────────────────────────────────────────────────────────────── */
:root {
  --ink: #08090b;
  --ink-2: #0b0c0e;
  --ink-3: #0f1013;
  --panel: #121316;
  --panel-2: #17181c;
  --paper: #f2efe7;
  --paper-dim: #a9a59b;
  --paper-mute: #716e66;
  --line: rgba(242, 239, 231, 0.1);
  --line-2: rgba(242, 239, 231, 0.17);
  --lime: #d8ff57;
  --lime-deep: #b7e52f;
  --lime-soft: rgba(216, 255, 87, 0.12);
  --red: #ff4b2e;
  --f-display: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --f-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --f-serif: 'Instrument Serif', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --f-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 44px);
  --head-h: 68px;
  --radius: 10px;
  --radius-sm: 7px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  color-scheme: dark;
}

/* ── reset ──────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
html:focus-within {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding-top: var(--head-h);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-sans);
  font-size: 16.5px;
  line-height: 1.62;
  font-weight: 400;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  hyphens: auto;
}
body.no-scroll,
body.nav-open {
  overflow: hidden;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
p {
  margin: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
  hyphens: manual;
}
em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
strong {
  font-weight: 600;
}
::selection {
  background: var(--lime);
  color: var(--ink);
}
:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 2px;
}
dialog {
  color: var(--paper);
}
[hidden] {
  display: none !important;
}

/* subtle film grain over everything */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(760px 520px at 78% -8%, rgba(216, 255, 87, 0.055), transparent 70%),
    radial-gradient(900px 620px at 8% 4%, rgba(120, 140, 255, 0.03), transparent 70%);
}
main,
.site-foot {
  position: relative;
  z-index: 1;
}

/* ── utilities ──────────────────────────────────────────────────────────── */
.wrap {
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.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;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 300;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--lime);
  color: #0a0b08;
  font: 500 13px/1 var(--f-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: top 0.2s var(--ease);
}
.skip-link:focus-visible {
  top: 12px;
}
.visually-hidden-label {
  font-size: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-dim);
}
.eyebrow-dot {
  width: 5px;
  height: 5px;
  flex: none;
  background: var(--lime);
  border-radius: 1px;
  box-shadow: 0 0 12px rgba(216, 255, 87, 0.55);
}
.section {
  padding: clamp(72px, 9vw, 132px) 0;
  border-top: 1px solid var(--line);
}
.section--flush {
  padding-top: clamp(48px, 6vw, 84px);
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(20px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.section-head h2 {
  margin-top: 18px;
  font-size: clamp(2rem, 3.6vw, 3.3rem);
  max-width: 22ch;
}
.section-head h2 em {
  color: var(--paper);
}
.section-lede {
  color: var(--paper-dim);
  font-size: 16px;
  max-width: 44ch;
  justify-self: end;
  padding-bottom: 6px;
}
.section-head-link {
  justify-self: end;
  padding-bottom: 8px;
}
.hairline {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}
.mono {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-mute);
}

/* ── buttons / links / chips ────────────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-family: var(--f-sans);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    background-color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    color 0.25s var(--ease);
}
.btn:active {
  transform: scale(0.985);
}
.btn-icon {
  display: inline-flex;
  transition: transform 0.3s var(--ease);
}
.btn-icon svg {
  width: 16px;
  height: 16px;
}
.btn:hover .btn-icon {
  transform: translateX(3px);
}
.btn-primary {
  background: var(--lime);
  border-color: var(--lime);
  color: #0a0b08;
}
.btn-primary:hover {
  background: #e6ff86;
  border-color: #e6ff86;
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--paper);
}
.btn-ghost:hover {
  background: rgba(242, 239, 231, 0.05);
  border-color: rgba(242, 239, 231, 0.3);
  transform: translateY(-1px);
}
.btn-sm {
  height: 40px;
  padding: 0 16px;
  font-size: 13.5px;
}
.btn-block {
  width: 100%;
}
.btn[disabled] {
  opacity: 0.6;
  pointer-events: none;
}
.link-underline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 3px;
  border-bottom: 1px solid var(--line-2);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
  transition:
    color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.link-underline:hover {
  color: var(--lime);
  border-color: var(--lime);
}
.link-inline {
  color: var(--paper);
  border-bottom: 1px solid var(--line-2);
  transition: color 0.2s, border-color 0.2s;
}
.link-inline:hover {
  color: var(--lime);
  border-color: var(--lime);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-dim);
  white-space: nowrap;
}

/* ── header ─────────────────────────────────────────────────────────────── */
.site-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  background: rgba(8, 9, 11, 0.72);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-head.is-scrolled {
  background: rgba(8, 9, 11, 0.9);
  border-color: var(--line-2);
}
.scroll-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--lime);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: opacity 0.3s linear;
}
.head-frame {
  position: relative;
  display: flex;
  align-items: center;
  gap: 26px;
  height: var(--head-h);
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.brand-mark {
  width: 22px;
  height: 22px;
  color: var(--lime);
  border-radius: 6px;
  flex: none;
  transition: transform 0.5s var(--ease);
}
.brand:hover .brand-mark {
  transform: rotate(-8deg);
}
.brand-word {
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.09em;
  color: var(--paper);
}
.brand-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
  margin-left: -4px;
  margin-top: 8px;
}
.head-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 32px);
}
.head-nav-link {
  position: relative;
  padding: 6px 0;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--paper-dim);
  transition: color 0.25s var(--ease);
}
.head-nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1px;
  width: 100%;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.35s var(--ease);
}
.head-nav-link:hover {
  color: var(--paper);
}
.head-nav-link:hover::after,
.head-nav-link[aria-current='page']::after {
  transform: scaleX(1);
}
.head-nav-link[aria-current='page'] {
  color: var(--paper);
}
.head-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}
.head-login {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-dim);
  transition: color 0.2s;
}
.head-login:hover {
  color: var(--paper);
}
.head-cta {
  height: 38px;
}
.head-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  margin-left: 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.head-burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin-inline: auto;
  background: var(--paper);
  transition: transform 0.3s var(--ease);
}
.head-burger[aria-expanded='true'] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}
.head-burger[aria-expanded='true'] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* menus */
.menu {
  position: relative;
}
.menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 4px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-dim);
  transition: color 0.2s;
}
.menu-trigger:hover,
.menu.is-open .menu-trigger {
  color: var(--paper);
}
.menu-trigger svg {
  width: 10px;
  height: 10px;
  transition: transform 0.3s var(--ease);
  opacity: 0.7;
}
.menu.is-open .menu-trigger svg {
  transform: rotate(180deg);
}
.menu-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 212px;
  padding: 6px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: #121316;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.99);
  transform-origin: 100% 0;
  transition:
    opacity 0.22s var(--ease),
    transform 0.28s var(--ease),
    visibility 0.22s;
  z-index: 30;
}
.menu.is-open .menu-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.menu-panel-up {
  top: auto;
  bottom: calc(100% + 12px);
  transform-origin: 100% 100%;
  transform: translateY(6px) scale(0.99);
}
.menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border-radius: 6px;
  text-align: left;
  font-size: 13px;
  color: var(--paper-dim);
  transition: background-color 0.18s, color 0.18s;
}
.menu-item:hover {
  background: rgba(242, 239, 231, 0.06);
  color: var(--paper);
}
.menu-item[aria-checked='true'] {
  color: var(--paper);
}
.menu-item-label {
  flex: 1;
}
.menu-item-code {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--paper-mute);
}
.menu-item-check {
  color: var(--lime);
  display: inline-flex;
}
.menu-item-check svg {
  width: 12px;
  height: 12px;
}
.menu-item.is-muted {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-mute);
}
.menu-sep {
  height: 1px;
  margin: 5px 6px;
  background: var(--line);
  list-style: none;
}

/* mobile nav */
.mobile-nav {
  position: fixed;
  top: var(--head-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 110;
  padding: 28px var(--gutter) 40px;
  background: var(--ink);
  overflow-y: auto;
  animation: mobileIn 0.35s var(--ease) both;
}
@keyframes mobileIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.mobile-nav-links a {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-serif);
  font-size: clamp(30px, 6vw, 40px);
  line-height: 1.05;
  color: var(--paper);
}
.mobile-nav-links a[aria-current='page'] {
  color: var(--lime);
}
.mobile-nav-meta {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-group .eyebrow {
  margin-bottom: 10px;
}
.mobile-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mobile-chips button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-dim);
}
.mobile-chips button[aria-current='true'] {
  border-color: var(--lime);
  color: var(--lime);
}
.mobile-chips button span {
  color: var(--paper-mute);
}
.mobile-nav-actions {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

/* ── hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 100px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(32px, 4.5vw, 68px);
  align-items: center;
}
.hero-eyebrow {
  opacity: 0;
}
.hero-title {
  margin-top: 26px;
  font-size: clamp(2.7rem, 5.3vw, 5.1rem);
  letter-spacing: -0.048em;
  line-height: 0.97;
  max-width: 13ch;
  opacity: 0;
}
.hero-title em {
  color: var(--lime);
  white-space: nowrap;
}
.hero-lede {
  margin-top: 26px;
  max-width: 46ch;
  font-size: clamp(15.5px, 1.2vw, 17.5px);
  color: var(--paper-dim);
  opacity: 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  margin-top: 34px;
  opacity: 0;
}
.hero-play {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 4px 6px 4px 4px;
  color: var(--paper-dim);
  font-size: 13.5px;
  transition: color 0.25s var(--ease);
}
.hero-play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  transition:
    border-color 0.3s var(--ease),
    background-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.hero-play-icon svg {
  width: 14px;
  height: 14px;
  transform: translateX(1px);
}
.hero-play:hover {
  color: var(--paper);
}
.hero-play:hover .hero-play-icon {
  border-color: var(--lime);
  background: var(--lime-soft);
  transform: scale(1.04);
}
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
  opacity: 0;
}
.hero-chips .chip {
  border-radius: 999px;
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-mute);
  opacity: 0;
}
.hero-note::before {
  content: '';
  width: 34px;
  height: 1px;
  background: var(--line-2);
}

/* hero mock */
.hero-mock {
  position: relative;
  min-width: 0;
  opacity: 0;
}
.hero-mock::before {
  content: '';
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  pointer-events: none;
}
.hero-mock .editor {
  position: relative;
  z-index: 1;
}

/* entrance after render */
body.is-ready .hero-eyebrow {
  animation: riseIn 0.8s var(--ease-out) 0.05s both;
}
body.is-ready .hero-title {
  animation: riseIn 0.9s var(--ease-out) 0.12s both;
}
body.is-ready .hero-lede {
  animation: riseIn 0.9s var(--ease-out) 0.22s both;
}
body.is-ready .hero-actions {
  animation: riseIn 0.9s var(--ease-out) 0.3s both;
}
body.is-ready .hero-chips {
  animation: riseIn 0.9s var(--ease-out) 0.38s both;
}
body.is-ready .hero-note {
  animation: riseIn 0.9s var(--ease-out) 0.44s both;
}
body.is-ready .hero-mock {
  animation: mockIn 1.1s var(--ease-out) 0.28s both;
}
@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes mockIn {
  from {
    opacity: 0;
    transform: translateY(34px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ── editor mockup ──────────────────────────────────────────────────────── */
.editor {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: #0d0e11;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 34px 80px -32px rgba(0, 0, 0, 0.85);
  overflow: visible;
  font-family: var(--f-sans);
  text-align: left;
  user-select: none;
}
.editor-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #121316;
  border-radius: 13px 13px 0 0;
}
.editor-dots {
  display: flex;
  gap: 5px;
}
.editor-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(242, 239, 231, 0.16);
}
.editor-project {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper-mute);
}
.editor-bar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.editor-badge {
  padding: 2px 6px;
  border-radius: 3px;
  background: var(--lime);
  color: #0a0b08;
  font-family: var(--f-mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.1em;
}
.editor-avatars {
  display: flex;
}
.editor-avatars b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  margin-left: -5px;
  border-radius: 50%;
  border: 1.5px solid #121316;
  background: #2a2c33;
  font-family: var(--f-mono);
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--paper-dim);
}
.editor-avatars b:nth-child(2) {
  background: #34302a;
}
.editor-avatars b:nth-child(3) {
  background: #26302c;
}
.editor-export {
  padding: 4px 9px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  font-family: var(--f-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-dim);
}
.editor-main {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 0;
}
.editor-preview {
  padding: 12px;
  border-right: 1px solid var(--line);
  min-width: 0;
}
.editor-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 7px;
  overflow: hidden;
  background: #10131b;
}
.editor-sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    #0d1119 0%,
    #161c2a 32%,
    #2c2a3b 52%,
    #6b4a46 72%,
    #c98552 88%,
    #e8a76b 100%
  );
}
.editor-sun {
  position: absolute;
  left: 62%;
  bottom: 26%;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #ffd9a0;
  filter: blur(1px);
  box-shadow: 0 0 90px 44px rgba(255, 176, 105, 0.38);
}
.editor-city {
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: #0a0b0e;
  clip-path: polygon(
    0 62%,
    7% 62%,
    7% 44%,
    12% 44%,
    12% 58%,
    18% 58%,
    18% 36%,
    23% 36%,
    23% 52%,
    29% 52%,
    29% 30%,
    34% 30%,
    34% 48%,
    41% 48%,
    41% 58%,
    48% 58%,
    48% 40%,
    53% 40%,
    53% 54%,
    61% 54%,
    61% 34%,
    66% 34%,
    66% 50%,
    74% 50%,
    74% 60%,
    82% 60%,
    82% 42%,
    88% 42%,
    88% 56%,
    94% 56%,
    94% 64%,
    100% 64%,
    100% 100%,
    0 100%
  );
}
.editor-city::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 211, 150, 0.55) 0.8px, transparent 1px);
  background-size: 17px 13px;
  background-position: 25% 42%;
  opacity: 0.35;
  clip-path: inherit;
}
.editor-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 100% at 50% 45%, transparent 45%, rgba(4, 5, 7, 0.6) 100%);
}
.editor-safe {
  position: absolute;
  inset: 9%;
  border: 1px dashed rgba(242, 239, 231, 0.16);
  border-radius: 2px;
}
.editor-scene {
  position: absolute;
  left: 12px;
  bottom: 10px;
  font-family: var(--f-mono);
  font-size: 7.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242, 239, 231, 0.72);
}
.editor-timecode {
  position: absolute;
  right: 12px;
  bottom: 10px;
  font-family: var(--f-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  color: rgba(242, 239, 231, 0.72);
}
.editor-rec {
  position: absolute;
  top: 10px;
  right: 11px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--f-mono);
  font-size: 7.5px;
  letter-spacing: 0.14em;
  color: rgba(242, 239, 231, 0.8);
}
.editor-rec i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  animation: recPulse 1.8s ease-in-out infinite;
}
@keyframes recPulse {
  50% {
    opacity: 0.25;
  }
}
.editor-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 1px solid rgba(242, 239, 231, 0.3);
  border-radius: 50%;
  background: rgba(10, 11, 13, 0.35);
  backdrop-filter: blur(6px);
  color: var(--paper);
  transition:
    background-color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.editor-play svg {
  width: 13px;
  height: 13px;
  transform: translateX(1px);
}
.editor:hover .editor-play {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
  transform: scale(1.06);
}
.editor-transport {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 2px 0;
  font-family: var(--f-mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
  color: var(--paper-mute);
}
.transport-left {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tr-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
}
.transport-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 9px;
}
.transport-bars i {
  width: 2px;
  background: rgba(242, 239, 231, 0.28);
  border-radius: 1px;
}
.transport-bars i:nth-child(1) {
  height: 4px;
}
.transport-bars i:nth-child(2) {
  height: 8px;
}
.transport-bars i:nth-child(3) {
  height: 9px;
}
.transport-bars i:nth-child(4) {
  height: 6px;
}
.transport-bars i:nth-child(5) {
  height: 3px;
}
.editor-side {
  min-width: 0;
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.editor-tabs {
  display: flex;
  gap: 14px;
  font-family: var(--f-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-mute);
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}
.editor-tabs .is-active {
  color: var(--paper);
  position: relative;
}
.editor-tabs .is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 1px;
  background: var(--lime);
}
.editor-script {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--paper-dim);
}
.editor-script p {
  display: flex;
  gap: 7px;
  margin: 0;
}
.editor-script .t {
  flex: none;
  padding-top: 1px;
  font-family: var(--f-mono);
  font-size: 7.5px;
  color: var(--paper-mute);
  letter-spacing: 0.04em;
}
.editor-script em {
  color: var(--paper);
}
.editor-script s {
  color: var(--paper-mute);
  opacity: 0.75;
}
.editor-script .is-cut {
  color: var(--paper-mute);
}
.editor-script .is-cut s {
  text-decoration-color: rgba(255, 75, 46, 0.7);
  text-decoration-thickness: 1.5px;
}
.script-ai {
  display: flex !important;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid rgba(216, 255, 87, 0.24);
  border-radius: 5px;
  background: var(--lime-soft);
  font-family: var(--f-mono);
  font-size: 7.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lime);
}
.script-ai-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
  flex: none;
}
.script-ai-review {
  margin-left: auto;
  border-bottom: 1px solid rgba(216, 255, 87, 0.5);
}
.editor-timeline {
  position: relative;
  padding: 10px 12px 12px;
  border-top: 1px solid var(--line);
}
.editor-timeline-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 7px;
  font-family: var(--f-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-mute);
}
.editor-ruler {
  display: flex;
  justify-content: space-between;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 7px;
  color: var(--paper-mute);
}
.editor-tracks {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 8px;
}
.track {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 22px;
}
.track-tag {
  width: 16px;
  flex: none;
  font-family: var(--f-mono);
  font-size: 7px;
  color: var(--paper-mute);
  letter-spacing: 0.08em;
}
.track .clips {
  position: relative;
  flex: 1;
  height: 100%;
}
.clip {
  position: absolute;
  top: 0;
  left: var(--x);
  width: var(--w);
  height: 100%;
  border-radius: 3px;
  border: 1px solid rgba(242, 239, 231, 0.1);
  background-image: repeating-linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.32) 0 1px,
    transparent 1px 16px
  );
  overflow: hidden;
}
.clip-a {
  background-color: #2c3442;
  background-image: linear-gradient(120deg, #33405a, #523b46 60%, #6b4a3f),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.3) 0 1px, transparent 1px 16px);
}
.clip-b {
  background-color: #3d3440;
  background-image: linear-gradient(120deg, #4a3b4a, #7a5947 70%, #a4713f),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.3) 0 1px, transparent 1px 16px);
}
.clip-c {
  background-color: #263342;
  background-image: linear-gradient(120deg, #243a4c, #3b5060),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.3) 0 1px, transparent 1px 16px);
}
.clip-d {
  background-color: #212735;
  background-image: linear-gradient(120deg, #1e2735, #3a4658 60%, #5c4a52),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.3) 0 1px, transparent 1px 16px);
}
.clip-title,
.clip-lower {
  top: 3px;
  height: 9px;
  font-family: var(--f-mono);
  font-size: 5.5px;
  letter-spacing: 0.1em;
  color: rgba(242, 239, 231, 0.65);
  display: flex;
  align-items: center;
  padding-left: 3px;
  background: rgba(216, 255, 87, 0.14);
  border-color: rgba(216, 255, 87, 0.3);
}
.clip-lower {
  background: rgba(242, 239, 231, 0.1);
  border-color: rgba(242, 239, 231, 0.22);
}
.track:nth-child(2) {
  height: 26px;
}
.wave {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  height: 18px;
}
.wave i {
  flex: 1;
  min-width: 1px;
  border-radius: 1px;
  background: rgba(216, 255, 87, 0.4);
  transform-origin: 50% 50%;
  animation: wavePulse 2.6s ease-in-out infinite;
}
@keyframes wavePulse {
  0%,
  100% {
    transform: scaleY(0.75);
    opacity: 0.55;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}
.playhead-run {
  position: absolute;
  inset: 44px 12px 12px;
  pointer-events: none;
  animation: playheadRun 24s linear infinite alternate;
}
@keyframes playheadRun {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(56%);
  }
}
.playhead {
  position: absolute;
  left: 12%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(216, 255, 87, 0.6);
}
.playhead-handle {
  position: absolute;
  top: -1px;
  left: 50%;
  width: 9px;
  height: 7px;
  margin-left: -4.5px;
  background: var(--lime);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.editor-chip {
  position: absolute;
  z-index: 3;
  padding: 7px 10px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  background: #14151a;
  font-family: var(--f-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-dim);
  white-space: nowrap;
  animation: chipFloat 8s ease-in-out infinite;
}
.editor-chip-ai {
  top: -14px;
  right: -20px;
  border-color: rgba(216, 255, 87, 0.34);
  color: var(--lime);
}
.editor-chip-export {
  bottom: 26px;
  left: -24px;
  animation-delay: -4s;
}
@keyframes chipFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
.editor-lg {
  border-radius: 12px;
}
.editor-lg .editor-script {
  font-size: 12px;
}

/* ── logo marquee ───────────────────────────────────────────────────────── */
.logos {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}
.logos-inner {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
}
.logos-label {
  flex: none;
  max-width: 220px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.6;
  color: var(--paper-mute);
}
.logos-mask {
  position: relative;
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logos-track {
  display: flex;
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
  width: max-content;
  animation: marquee 34s linear infinite;
}
.logos:hover .logos-track {
  animation-play-state: paused;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
.logo-item {
  font-family: var(--f-display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(242, 239, 231, 0.42);
  white-space: nowrap;
  transition: color 0.3s;
}
.logo-item:nth-child(3n + 2) {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 21px;
  letter-spacing: 0;
}
.logo-item:nth-child(3n + 3) {
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.logo-item:hover {
  color: var(--paper);
}

/* ── bento features ─────────────────────────────────────────────────────── */
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.bento-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(20px, 2.2vw, 30px);
  min-height: 340px;
  background: var(--ink-2);
  transition: background-color 0.4s var(--ease);
}
.bento-cell:hover {
  background: #101115;
}
.bento-cell--4 {
  grid-column: span 4;
}
.bento-cell--3 {
  grid-column: span 3;
}
.bento-cell--2 {
  grid-column: span 2;
}
.bento-tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-mute);
}
.bento-tag::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}
.bento-visual {
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 164px;
}
.bento-copy h3 {
  font-size: clamp(19px, 1.7vw, 24px);
  letter-spacing: -0.03em;
}
.bento-copy p {
  margin-top: 8px;
  color: var(--paper-dim);
  font-size: 14px;
  line-height: 1.55;
  max-width: 44ch;
}

/* transcript visual */
.viz-transcript {
  width: 100%;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: #0d0e11;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.viz-transcript-line {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: var(--paper-dim);
}
.viz-transcript-line .t {
  font-family: var(--f-mono);
  font-size: 8px;
  color: var(--paper-mute);
  padding-top: 2px;
}
.viz-transcript-line s {
  color: var(--paper-mute);
  text-decoration-color: rgba(255, 75, 46, 0.6);
}
.viz-transcript-line.is-active {
  color: var(--paper);
}
.viz-transcript-line.is-active .tx {
  background: var(--lime-soft);
  box-shadow: 0 0 0 3px var(--lime-soft);
  border-radius: 2px;
}
.viz-transcript-ai {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  padding: 5px 9px;
  border: 1px solid rgba(216, 255, 87, 0.3);
  border-radius: 4px;
  background: var(--lime-soft);
  font-family: var(--f-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
}
/* beat visual */
.viz-beat {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
  height: 132px;
  padding: 24px 6px 8px;
  position: relative;
}
.viz-beat i {
  flex: 1;
  min-width: 2px;
  height: var(--h, 30%);
  border-radius: 1px;
  background: rgba(242, 239, 231, 0.18);
}
.viz-beat i.is-beat {
  background: var(--lime);
  box-shadow: 0 0 14px rgba(216, 255, 87, 0.35);
}
.viz-beat-marker {
  position: absolute;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(255, 75, 46, 0.85);
}
.viz-beat-marker::after {
  content: 'CUT';
  position: absolute;
  top: -13px;
  left: -6px;
  font-family: var(--f-mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  color: rgba(255, 75, 46, 0.9);
}
/* captions visual */
.viz-captions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-content: center;
}
.viz-cap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--paper-dim);
  background: rgba(255, 255, 255, 0.015);
}
.viz-cap b {
  color: var(--paper);
  font-weight: 500;
}
.viz-cap.is-accent {
  border-color: rgba(216, 255, 87, 0.4);
  color: var(--lime);
}
/* versions visual */
.viz-versions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.viz-version {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  background: #101115;
  transform: translateX(calc(var(--i) * 16px));
  font-family: var(--f-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-mute);
  transition: border-color 0.3s var(--ease), transform 0.4s var(--ease);
}
.bento-cell:hover .viz-version {
  transform: translateX(calc(var(--i) * 8px));
}
.viz-version:last-child {
  border-color: rgba(216, 255, 87, 0.4);
  color: var(--lime);
  background: #13150f;
}
.viz-version span {
  color: var(--paper-dim);
}
/* brand visual */
.viz-brand {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.viz-swatches {
  display: flex;
  gap: 6px;
  height: 42px;
}
.viz-swatches i {
  flex: 1;
  border-radius: 4px;
  border: 1px solid var(--line);
}
.viz-swatches i:nth-child(1) {
  background: var(--lime);
}
.viz-swatches i:nth-child(2) {
  background: var(--paper);
}
.viz-swatches i:nth-child(3) {
  background: #8d887c;
}
.viz-swatches i:nth-child(4) {
  background: #1d1e22;
}
.viz-type {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--f-serif);
  font-size: 58px;
  line-height: 0.9;
  color: var(--paper);
}
.viz-type span {
  font-family: var(--f-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  color: var(--paper-mute);
  text-transform: uppercase;
}
/* infra visual */
.viz-infra {
  position: relative;
  width: 100%;
  height: 152px;
}
.viz-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--f-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-dim);
}
.viz-node i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(216, 255, 87, 0.6);
}
.viz-node:nth-child(1) {
  top: 14px;
  left: 3%;
}
.viz-node:nth-child(2) {
  top: 62px;
  left: 36%;
}
.viz-node:nth-child(3) {
  top: 30px;
  right: 3%;
}
.viz-line {
  position: absolute;
  top: 50px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, var(--line-2), rgba(216, 255, 87, 0.4), var(--line-2));
}
.viz-badge {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-dim);
  white-space: nowrap;
}

/* ── steps ──────────────────────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
}
.step {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  transition: border-color 0.4s var(--ease);
}
.step:hover {
  border-color: rgba(216, 255, 87, 0.5);
}
.step-n {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--lime);
}
.step h3 {
  margin-top: 18px;
  font-size: clamp(20px, 1.9vw, 26px);
}
.step p {
  margin-top: 12px;
  color: var(--paper-dim);
  font-size: 14.5px;
  max-width: 38ch;
}

/* ── stats ──────────────────────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.stat {
  padding: 8px 28px 8px 28px;
  border-left: 1px solid var(--line);
}
.stat:first-child {
  padding-left: 0;
  border-left: 0;
}
.stat-value {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 3.8vw, 3.9rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-suffix {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 0.55em;
  color: var(--lime);
  letter-spacing: 0;
}
.stat-label {
  margin-top: 14px;
  max-width: 24ch;
  font-size: 13px;
  line-height: 1.5;
  color: var(--paper-mute);
}

/* ── quotes ─────────────────────────────────────────────────────────────── */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.quote-main {
  grid-column: span 8;
  padding-right: clamp(0px, 3vw, 40px);
}
.quote-mark {
  font-family: var(--f-serif);
  font-size: 72px;
  line-height: 0.6;
  color: var(--lime);
  height: 40px;
}
.quote-main blockquote {
  margin: 18px 0 0;
  font-family: var(--f-serif);
  font-size: clamp(28px, 3.1vw, 44px);
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: var(--paper);
}
.quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-mute);
}
.quote-author b {
  color: var(--paper);
  font-weight: 500;
}
.quote-author::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--line-2);
}
.quote-side {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.quote-mini {
  flex: 1;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.quote-mini:hover {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--line-2);
}
.quote-mini blockquote {
  margin: 0;
  font-family: var(--f-serif);
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.2;
  color: var(--paper);
}
.quote-mini .quote-author {
  margin-top: auto;
  font-size: 9px;
}

/* ── plans ──────────────────────────────────────────────────────────────── */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2vw, 28px);
  background: var(--ink-2);
  transition: background-color 0.4s var(--ease);
}
.plan:hover {
  background: #0f1014;
}
.plan.is-featured {
  background:
    linear-gradient(180deg, rgba(216, 255, 87, 0.06), transparent 46%),
    #0f1014;
}
.plan.is-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--lime);
}
.plan-head {
  min-height: 92px;
}
.plan-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.plan-name {
  font-size: 22px;
  letter-spacing: -0.03em;
}
.plan-badge {
  padding: 3px 8px;
  border: 1px solid rgba(216, 255, 87, 0.34);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 7.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
  white-space: nowrap;
}
.plan-badge-empty {
  border-color: transparent;
}
.plan-tagline {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--paper-mute);
}
.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: auto;
  padding-top: 18px;
}
.plan-price {
  font-family: var(--f-display);
  font-size: clamp(34px, 2.6vw, 42px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.plan-period {
  font-family: var(--f-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-mute);
  max-width: 90px;
  line-height: 1.5;
}
.plan-note {
  margin-top: 10px;
  min-height: 34px;
  font-size: 12px;
  color: var(--paper-mute);
}
.plan-cta {
  margin-top: 18px;
  width: 100%;
}
.plan-features {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.plan-features li {
  display: flex;
  gap: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--paper-dim);
}
.plan-check {
  display: inline-flex;
  color: var(--lime);
  flex: none;
  padding-top: 1px;
}
.plan-check svg {
  width: 12px;
  height: 12px;
}
.plan.is-compact {
  padding: 22px;
}
.plan.is-compact .plan-head {
  min-height: 74px;
}
.plan.is-compact .plan-price {
  font-size: 34px;
}
.plan.is-compact .plan-features {
  margin-top: 18px;
  padding-top: 16px;
}
.plan.is-compact .plan-features li:nth-child(n + 4) {
  display: none;
}

.billing-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin: 22px 0 26px;
}
.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.015);
}
.billing-btn {
  height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-mute);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.billing-btn:hover {
  color: var(--paper);
}
.billing-btn.is-active {
  background: var(--lime);
  color: #0a0b08;
}
.billing-save {
  margin-left: 6px;
  padding: 2px 7px;
  border: 1px solid rgba(216, 255, 87, 0.3);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  color: var(--lime);
  white-space: nowrap;
}
.billing-note {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-mute);
}

/* compare table */
.compare-wrap {
  margin-top: 56px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.compare-scroll {
  overflow-x: auto;
}
.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14px;
}
.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.compare-table thead th {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-mute);
  font-weight: 500;
  background: #0d0e11;
}
.compare-table thead th:first-child {
  color: var(--paper);
  font-size: 11px;
}
.compare-table tbody th {
  font-weight: 400;
  color: var(--paper-dim);
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}
.compare-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}
.compare-table td {
  color: var(--paper-dim);
}
.compare-check {
  display: inline-flex;
  color: var(--lime);
}
.compare-check svg {
  width: 14px;
  height: 14px;
}
.compare-dash {
  color: var(--paper-mute);
}

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 60px);
}
.faq-aside {
  grid-column: span 4;
  align-self: start;
  position: sticky;
  top: calc(var(--head-h) + 40px);
}
.faq-aside h2 {
  margin-top: 16px;
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
}
.faq-aside .link-underline {
  margin-top: 24px;
}
.faq-list {
  grid-column: span 8;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 22px 0;
  text-align: left;
  font-family: var(--f-display);
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--paper);
  transition: color 0.25s var(--ease);
}
.faq-q:hover {
  color: var(--lime);
}
.faq-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--paper-dim);
  transition: transform 0.4s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s;
}
.faq-icon svg {
  width: 12px;
  height: 12px;
}
.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}
.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}
.faq-answer-inner {
  overflow: hidden;
}
.faq-answer p {
  max-width: 64ch;
  padding: 0 0 24px;
  color: var(--paper-dim);
  font-size: 14.5px;
}

/* ── CTA band ───────────────────────────────────────────────────────────── */
.cta-band {
  position: relative;
  padding: clamp(76px, 9vw, 140px) 0;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.cta-word {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -52%);
  font-family: var(--f-display);
  font-size: clamp(120px, 21vw, 330px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 239, 231, 0.07);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
}
.cta-inner h2 {
  margin-top: 20px;
  font-size: clamp(2.2rem, 4.4vw, 4.2rem);
  letter-spacing: -0.045em;
}
.cta-inner h2 em {
  color: var(--lime);
}
.cta-text {
  margin-top: 18px;
  max-width: 44ch;
  color: var(--paper-dim);
  font-size: 15.5px;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.cta-actions .btn {
  min-width: 220px;
}
.cta-fine {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-mute);
}

/* ── footer ─────────────────────────────────────────────────────────────── */
.site-foot {
  border-top: 1px solid var(--line);
  padding: clamp(56px, 7vw, 88px) 0 26px;
  background: var(--ink-2);
}
.foot-top {
  display: block;
  padding-bottom: clamp(40px, 5vw, 64px);
}
.foot-news {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(28px, 5vw, 72px);
  row-gap: 0;
  align-items: start;
  padding: 0 0 clamp(32px, 4vw, 48px);
  margin-bottom: clamp(32px, 4vw, 48px);
  border-right: 0;
  border-bottom: 1px solid var(--line);
}
.foot-news .eyebrow {
  grid-column: 1;
}
.foot-news-title {
  grid-column: 1;
}
.foot-news-text {
  grid-column: 1;
}
.news-form {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  margin-top: 0;
  max-width: 520px;
  width: 100%;
  justify-self: end;
}
.foot-news-title {
  margin-top: 16px;
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2rem, 2.6vw, 2.7rem);
  letter-spacing: -0.01em;
}
.foot-news-text {
  margin-top: 12px;
  max-width: 36ch;
  font-size: 13.5px;
  color: var(--paper-dim);
}
.news-form {
  margin-top: 22px;
  max-width: 430px;
}
.news-row {
  display: flex;
  gap: 8px;
}
.news-row input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--paper);
  font-size: 14px;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.news-row input::placeholder {
  color: var(--paper-mute);
}
.news-row input:focus {
  outline: none;
  border-color: var(--lime);
  background: rgba(216, 255, 87, 0.03);
}
.news-consent {
  margin-top: 10px;
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--paper-mute);
}
.news-consent a {
  border-bottom: 1px solid var(--line-2);
  transition: color 0.2s, border-color 0.2s;
}
.news-consent a:hover {
  color: var(--lime);
  border-color: var(--lime);
}
.form-msg {
  margin-top: 10px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  line-height: 1.5;
}
.form-msg.is-error {
  color: #ff8a72;
}
.form-msg.is-success {
  color: var(--lime);
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.25fr);
  gap: clamp(24px, 3vw, 40px);
}
.brand-foot {
  margin-bottom: 14px;
}
.foot-blurb {
  max-width: 26ch;
  font-size: 13px;
  line-height: 1.55;
  color: var(--paper-dim);
}
.foot-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}
.foot-badges span {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--f-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-mute);
}
.foot-social {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.foot-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--paper-dim);
  transition: color 0.25s, border-color 0.25s, background-color 0.25s;
}
.foot-social a:hover {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}
.foot-social svg {
  width: 14px;
  height: 14px;
}
.foot-col h3 {
  margin-bottom: 16px;
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper-mute);
}
.foot-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.foot-link {
  font-size: 13px;
  color: var(--paper-dim);
  transition: color 0.2s;
}
.foot-link:hover {
  color: var(--paper);
}
.foot-link-button {
  text-align: left;
}
.foot-contact address {
  font-style: normal;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--paper-mute);
  margin-bottom: 12px;
}
.foot-entity {
  display: block;
  color: var(--paper-dim);
}
.foot-contact .foot-link {
  display: block;
  margin-bottom: 6px;
  font-size: 12.5px;
}
.foot-hours {
  margin-top: 10px;
  font-family: var(--f-mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-mute);
}
.foot-bottom {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.foot-copy,
.foot-ids {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--paper-mute);
}
.foot-bottom-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}
.foot-top-link {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-mute);
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.foot-top-link:hover {
  color: var(--paper);
  border-color: var(--line-2);
}
.foot-fine {
  margin-top: 16px;
  font-family: var(--f-mono);
  font-size: 8.5px;
  letter-spacing: 0.05em;
  color: rgba(113, 110, 102, 0.7);
}

/* ── cookie consent ─────────────────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 200;
  width: min(430px, calc(100vw - 32px));
  padding: 20px;
  border: 1px solid var(--line-2);
  border-top: 2px solid var(--lime);
  border-radius: 12px;
  background: rgba(17, 18, 22, 0.94);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.7);
}
.cookie-banner.is-on {
  animation: bannerIn 0.6s var(--ease-out) both;
}
@keyframes bannerIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.cookie-banner-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--paper-dim);
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.icon-btn:hover {
  color: var(--paper);
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.04);
}
.icon-btn svg {
  width: 13px;
  height: 13px;
}
.cookie-banner-title {
  margin-top: 14px;
  font-size: 19px;
  letter-spacing: -0.025em;
}
.cookie-banner-text {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--paper-dim);
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}
.cookie-banner-actions .btn {
  height: 36px;
  font-size: 12.5px;
  padding: 0 13px;
}
.cookie-banner-actions .link-underline {
  margin-left: 2px;
}

.cookie-dialog {
  width: min(660px, calc(100vw - 32px));
  max-height: min(86vh, 760px);
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: #0e0f12;
  color: var(--paper);
  overflow: hidden;
}
.cookie-dialog[open] {
  animation: dialogIn 0.35s var(--ease) both;
}
.cookie-dialog::backdrop {
  background: rgba(4, 5, 7, 0.66);
  backdrop-filter: blur(5px);
}
@keyframes dialogIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.cookie-dialog-inner {
  display: flex;
  flex-direction: column;
  max-height: min(86vh, 760px);
  overflow-y: auto;
  padding: clamp(20px, 3vw, 30px);
}
.cookie-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.cookie-dialog-head h2 {
  margin-top: 12px;
  font-size: clamp(23px, 2.4vw, 30px);
}
.cookie-dialog-text {
  margin-top: 12px;
  color: var(--paper-dim);
  font-size: 13.5px;
  max-width: 62ch;
}
.cookie-cats {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}
.cookie-cat {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.cookie-cat-copy h3 {
  font-family: var(--f-sans);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.cookie-cat-copy p {
  margin-top: 5px;
  max-width: 52ch;
  font-size: 12px;
  line-height: 1.55;
  color: var(--paper-mute);
}
.cookie-locked {
  margin-left: auto;
  flex: none;
  font-family: var(--f-mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
}
.switch {
  margin-left: auto;
  flex: none;
  position: relative;
  display: inline-flex;
  cursor: pointer;
}
.switch input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.switch-track {
  position: relative;
  display: block;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: rgba(242, 239, 231, 0.14);
  border: 1px solid var(--line-2);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.switch-thumb {
  position: absolute;
  top: 50%;
  left: 3px;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border-radius: 50%;
  background: var(--paper);
  transition: transform 0.3s var(--ease), background-color 0.3s;
}
.switch input:checked + .switch-track {
  background: var(--lime);
  border-color: var(--lime);
}
.switch input:checked + .switch-track .switch-thumb {
  transform: translateX(18px);
  background: #0a0b08;
}
.switch input:focus-visible + .switch-track {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}
.cookie-dialog-foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 22px;
}
.cookie-version {
  font-family: var(--f-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-mute);
}
.cookie-dialog-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

/* ── demo dialog ────────────────────────────────────────────────────────── */
.demo-dialog {
  width: min(1000px, calc(100vw - 32px));
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: var(--ink-2);
  color: var(--paper);
}
.demo-dialog[open] {
  animation: dialogIn 0.4s var(--ease) both;
}
.demo-dialog::backdrop {
  background: rgba(4, 5, 7, 0.72);
  backdrop-filter: blur(6px);
}
.demo-dialog-inner {
  padding: clamp(16px, 2.4vw, 26px);
}
.demo-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.demo-dialog-head h2 {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper-dim);
}
.demo-dialog-stage .editor {
  border-radius: 10px;
}
.demo-dialog-stage .editor-chip {
  display: none;
}
.demo-dialog-note {
  margin-top: 14px;
  text-align: center;
  font-family: var(--f-mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-mute);
}

/* ── toast / reveal ────────────────────────────────────────────────────── */
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 300;
  transform: translate(-50%, 16px);
  padding: 12px 18px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
}
.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* language switching keeps content readable during re-render */
html.i18n-loading body {
  opacity: 0;
}
body {
  transition: opacity 0.25s linear;
}

/* ── responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .head-nav {
    gap: 20px;
  }
  .hero-grid {
    gap: 36px;
  }
  .foot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 36px;
  }
  .foot-brand {
    grid-column: span 3;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 24px;
  }
  .foot-brand .foot-blurb {
    max-width: 40ch;
  }
  .foot-social {
    margin-top: 0;
  }
  .foot-news {
    grid-template-columns: minmax(0, 1fr);
  }
  .news-form {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    margin-top: 22px;
  }
}
@media (max-width: 1080px) {
  .head-nav {
    display: none;
  }
  .head-burger {
    display: flex;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 52px;
  }
  .hero-title {
    max-width: 15ch;
  }
  .hero-lede {
    max-width: 54ch;
  }
  .hero-mock {
    max-width: 780px;
  }
  .section-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .section-lede,
  .section-head-link {
    justify-self: start;
    padding-bottom: 0;
  }
  .plans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .plans-grid .plan:nth-child(odd) {
    border-right: 0;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
  }
  .stat {
    border-left: 0;
    padding: 26px;
    background: var(--ink);
  }
  .stat:nth-child(odd) {
    padding-left: 0;
  }
  .bento-cell--4,
  .bento-cell--3,
  .bento-cell--2 {
    grid-column: span 3;
  }
  .faq-aside {
    position: static;
  }
}
@media (max-width: 900px) {
  .hero-chip-export,
  .editor-chip-export {
    display: none;
  }
  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .step {
    padding: 24px 0;
    border-top: 1px solid var(--line);
  }
  .step:last-child {
    border-bottom: 1px solid var(--line);
  }
  .step p {
    max-width: 54ch;
  }
  .bento-cell--4,
  .bento-cell--3,
  .bento-cell--2 {
    grid-column: span 6;
    min-height: 0;
  }
  .quote-main,
  .quote-side {
    grid-column: span 12;
  }
  .quote-side {
    flex-direction: row;
  }
  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .faq-aside,
  .faq-list {
    grid-column: span 1;
  }
  .faq-aside h2 {
    max-width: 22ch;
  }
  .faq-aside .link-underline {
    margin-top: 16px;
  }
  .cta-inner {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
  .cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  .foot-top {
    grid-template-columns: minmax(0, 1fr);
  }
  .foot-news {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 32px;
    padding-right: 0;
  }
  .foot-news .news-form {
    margin-top: 22px;
  }
  .editor-side {
    display: none;
  }
  .editor-main {
    grid-template-columns: minmax(0, 1fr);
  }
  .editor-preview {
    border-right: 0;
  }
  .playhead-run {
    inset: 44px 12px 12px;
  }
  .foot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .foot-brand {
    grid-column: span 2;
  }
  .foot-bottom-tools {
    margin-left: 0;
    width: 100%;
    justify-content: flex-start;
  }
  .foot-bottom {
    gap: 8px 20px;
  }
  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
  }
}
@media (max-width: 720px) {
  :root {
    --head-h: 60px;
  }
  body {
    font-size: 16px;
  }
  .head-login {
    display: none;
  }
  .head-cta {
    display: none;
  }
  .head-tools {
    gap: 8px;
  }
  .brand-word {
    font-size: 15px;
  }
  .hero {
    padding-top: 40px;
  }
  .hero-title {
    font-size: clamp(2.3rem, 10.5vw, 3.4rem);
    max-width: 18ch;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-play {
    justify-content: center;
  }
  .editor-chip {
    display: none;
  }
  .hero-mock::before {
    inset: 10px -10px -10px 10px;
  }
  .logos-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .logos-label {
    max-width: none;
  }
  .logos-mask {
    width: 100%;
  }
  .bento {
    grid-template-columns: minmax(0, 1fr);
  }
  .bento-cell--4,
  .bento-cell--3,
  .bento-cell--2 {
    grid-column: span 1;
  }
  .stats {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    background: transparent;
  }
  .stat,
  .stat:nth-child(odd) {
    padding: 22px 0;
    background: transparent;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .stat-value {
    font-size: 2.9rem;
  }
  .quote-side {
    flex-direction: column;
  }
  .quote-main blockquote {
    font-size: clamp(26px, 7vw, 34px);
  }
  .plans-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .plan-head {
    min-height: 0;
  }
  .plan-price-row {
    padding-top: 16px;
  }
  .billing-bar {
    align-items: flex-start;
    flex-direction: column;
  }
  .foot-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .foot-brand {
    grid-column: span 1;
  }
  .foot-news-title {
    font-size: 1.9rem;
  }
  .news-row {
    flex-direction: column;
  }
  .news-row .btn {
    width: 100%;
  }
  .cookie-dialog-head h2 {
    font-size: 22px;
  }
  .cookie-dialog-actions {
    width: 100%;
    margin-left: 0;
  }
  .cookie-dialog-actions .btn {
    flex: 1;
  }
  .cookie-dialog-foot {
    align-items: flex-start;
    flex-direction: column-reverse;
  }
  .cookie-version {
    align-self: flex-start;
  }
  .editor-ruler span:nth-child(even) {
    display: none;
  }
  .demo-dialog-stage .editor-side {
    display: none;
  }
  .cta-word {
    opacity: 0.6;
  }
}
@media (max-width: 460px) {
  .head-frame {
    gap: 12px;
  }
  .menu-trigger-text {
    font-size: 9px;
  }
  .editor-dots {
    display: none;
  }
  .editor-bar {
    gap: 10px;
  }
  .editor-avatars {
    display: none;
  }
  .editor-transport {
    font-size: 7px;
  }
  .hero-chips .chip {
    font-size: 8.5px;
  }
  .plan {
    padding: 20px;
  }
}

/* ── motion preferences ────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .playhead-run,
  .wave i,
  .editor-chip,
  .editor-rec i {
    animation: none;
  }
}
