/* Aupulens marketing site — shared design layer.
   Brand tokens follow the Aupulens design system (Roboto / Roboto Mono, canonical HEX).
   Light-theme values, spacing, radii and motion are implementation choices, not brand-PDF rules. */

:root {
  --au-bg-primary: #0A0A0A;
  --au-bg-secondary: #161616;
  --au-border: #272727;
  --au-text-primary: #F2F2F2;
  --au-text-secondary: #757575;
  --au-text-tertiary: #525252;
  --au-green: #8AE06C;
  --au-yellow: #F1DF38;
  --au-red: #F56868;
  --au-purple: #A77DFF;
  --au-blue: #6CADF5;

  --au-font-heading: "Roboto", sans-serif;
  --au-font-body: "Roboto Mono", monospace;

  /* sharp corners: brand decision overrides the 4/8/12 suggestion; tokens kept so components stay wired */
  --au-radius-sm: 0;
  --au-radius-md: 0;
  --au-radius-lg: 0;

  --container: 1368px;
  --nav-h: 80px; /* restored floating navbar: 56px bar + 12px padding */
  --ease: cubic-bezier(.2, .8, .2, 1);
  --section-y: clamp(64px, 8vw, 120px);

  /* consumed by the preserved footer markup */
  --background-primary-rgb: 10, 10, 10;
  --text-primary-rgb: 242, 242, 242;
  --border-primary-rgb: 39, 39, 39;
  color-scheme: dark;
}

html:not(.dark) {
  --au-bg-primary: #F2F2F2;
  --au-bg-secondary: #E8E8E8;
  --au-border: #D4D4D4;
  --au-text-primary: #0A0A0A;
  --au-text-secondary: #525252;
  --au-text-tertiary: #757575;
  --background-primary-rgb: 242, 242, 242;
  --text-primary-rgb: 10, 10, 10;
  --border-primary-rgb: 212, 212, 212;
  color-scheme: light;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 24px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--au-bg-primary);
  color: var(--au-text-primary);
  font: 400 14px/1.65 var(--au-font-body);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--au-font-heading); font-weight: 400; letter-spacing: -0.05em; margin: 0; }
p { margin: 0; }
b, strong { font-weight: 500; } /* brand allows 400/500 only */
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--au-text-primary); color: var(--au-bg-primary); }
:focus-visible { outline: 1px solid var(--au-text-primary); outline-offset: 3px; border-radius: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -48px; z-index: 2000; background: var(--au-text-primary); color: var(--au-bg-primary); padding: 8px 12px; font-size: 12px; border-radius: var(--au-radius-sm); }
.skip-link:focus { top: 12px; }

/* ---------- layout ---------- */
.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }
@media (min-width: 1024px) { .container { width: min(var(--container), 100% - 72px); } }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.rule { }
main { padding-top: var(--nav-h); }

/* ---------- type ---------- */
.display { font-size: clamp(46px, 8.4vw, 128px); line-height: .92; }
.h-xl { font-size: clamp(40px, 5.8vw, 84px); line-height: .98; }
.h-lg { font-size: clamp(32px, 4vw, 56px); line-height: 1.04; }
.h-md { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; }
.h-sm { font-size: 20px; line-height: 1.25; letter-spacing: -0.04em; }
.lead { font-size: clamp(14px, 1.1vw, 16px); line-height: 1.7; color: var(--au-text-secondary); max-width: 58ch; }
.muted { color: var(--au-text-secondary); }
.faint { color: var(--au-text-tertiary); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; line-height: 16px; font-weight: 500; text-transform: uppercase;
  color: var(--au-text-secondary);
}
.label { font-size: 11px; line-height: 16px; font-weight: 500; text-transform: uppercase; color: var(--au-text-secondary); }
.index { font-size: 12px; font-weight: 500; color: var(--au-text-tertiary); font-variant-numeric: tabular-nums; }
.index b { color: var(--au-text-primary); font-weight: 500; }
.num { font-variant-numeric: tabular-nums; }
.dim-words .w { color: var(--au-text-tertiary); transition: color .5s var(--ease); }
.dim-words .w.on { color: var(--au-text-primary); }

/* ---------- buttons ---------- */
.btn {
  --h: 44px;
  position: relative; display: inline-flex; align-items: center; justify-content: space-between; gap: 18px;
  height: var(--h); padding: 0 16px 0 18px;
  font-size: 12px; font-weight: 500; text-transform: uppercase; white-space: nowrap;
  border: 1px solid var(--au-border); border-radius: var(--au-radius-sm);
  color: var(--au-text-primary); background: transparent;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn:hover { border-color: var(--au-text-secondary); }
.btn--primary { background: var(--au-text-primary); border-color: var(--au-text-primary); color: var(--au-bg-primary); }
.btn--primary:hover { background: var(--au-text-secondary); border-color: var(--au-text-secondary); color: var(--au-bg-primary); }
.btn--sm { --h: 36px; padding: 0 12px 0 14px; gap: 12px; font-size: 11px; }
.btn .arrow { width: 10px; height: 10px; flex: none; transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translate(2px, -2px); }
.btn--block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; text-transform: uppercase; color: var(--au-text-primary); }
.link-arrow .arrow { width: 9px; height: 9px; transition: transform .3s var(--ease); }
.link-arrow:hover .arrow { transform: translate(2px, -2px); }

/* ---------- hero ---------- */
.hero { padding-top: clamp(64px, 10vw, 140px); }
.hero__top { display: grid; gap: 32px; }
.hero__title { max-width: 14ch; }
.hero__aside { display: grid; gap: 28px; align-content: end; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 12px; color: var(--au-text-secondary); }
.hero__meta span::before { content: "+ "; color: var(--au-text-tertiary); }
@media (min-width: 1024px) { .hero__top { grid-template-columns: 1.55fr 1fr; align-items: end; gap: 48px; } }
.hero__visual { margin-top: clamp(48px, 7vw, 96px); }

.page-hero { padding-top: clamp(64px, 9vw, 128px); padding-bottom: clamp(32px, 4vw, 56px); }
.page-hero__grid { display: grid; gap: 28px; }
.page-hero h1 { margin-top: 24px; max-width: 16ch; }
@media (min-width: 1024px) {
  .page-hero__grid { grid-template-columns: 1.4fr 1fr; align-items: end; gap: 48px; }
  .page-hero__grid > :last-child { display: grid; gap: 28px; }
}
.page-hero__grid > :last-child { display: grid; gap: 24px; }

/* ---------- product frame ---------- */
.frame { position: relative; border: 1px solid var(--au-border); border-radius: var(--au-radius-lg); background: var(--au-bg-secondary); overflow: hidden; }
.frame__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--au-border); font-size: 11px; color: var(--au-text-secondary); }
.frame__bar b { font-weight: 500; color: var(--au-text-primary); }
.frame__bar > * { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 479px) { .frame__bar > :last-child:not(:first-child) { display: none; } }
.frame__img { width: 100%; height: auto; }
.frame__img--light { display: none; }
html:not(.dark) .frame__img--dark { display: none; }
html:not(.dark) .frame__img--light { display: block; }
.scale-in { transform-origin: 50% 0; will-change: transform; }

/* ---------- stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stat { padding: 28px 24px; background: var(--au-bg-secondary); border-radius: var(--au-radius-lg); }
.stat__v { font-family: var(--au-font-heading); font-size: clamp(32px, 3.6vw, 52px); letter-spacing: -0.05em; line-height: 1; }
.stat__l { margin-top: 10px; font-size: 12px; color: var(--au-text-secondary); }
@media (min-width: 1024px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- section heads ---------- */
.shead { display: grid; gap: 24px; margin-bottom: clamp(40px, 6vw, 80px); }
.shead__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.shead h2 { max-width: 18ch; }
.shead__body { display: grid; gap: 20px; }
@media (min-width: 1024px) { .shead__body { grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; } }

/* ---------- statement ---------- */
.statement { font-family: var(--au-font-heading); font-size: clamp(28px, 3.7vw, 56px); line-height: 1.12; letter-spacing: -0.05em; max-width: 26ch; }

/* ---------- cells (bordered grid) ---------- */
.cells { display: grid; grid-template-columns: 1fr; gap: 12px; }
.cells > * { background: var(--au-bg-secondary); border-radius: var(--au-radius-lg); }
@media (min-width: 720px) { .cells--2, .cells--3, .cells--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cells--3 { grid-template-columns: repeat(3, 1fr); } .cells--4 { grid-template-columns: repeat(4, 1fr); } }
.cell { position: relative; padding: clamp(24px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 14px; min-height: 240px; transition: background-color .3s var(--ease); }
a.cell:hover { background: var(--au-border); }
.cell__top .arrow { margin-left: auto; }
.cell__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.cell h3 { margin-top: auto; padding-top: 32px; }
.cell p { color: var(--au-text-secondary); font-size: 13px; max-width: 46ch; }
.cell .arrow { width: 10px; height: 10px; color: var(--au-text-secondary); transition: transform .3s var(--ease), color .3s; }
a.cell:hover .arrow { transform: translate(2px, -2px); color: var(--au-text-primary); }

/* ---------- panels / bento ---------- */
.panel { background: var(--au-bg-secondary); border: 1px solid transparent; border-radius: var(--au-radius-lg); }
.bento { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .bento > .b-2 { grid-column: span 2; } .bento > .b-3 { grid-column: span 3; } .bento > .b-4 { grid-column: span 4; }
}
.bento .panel { padding: 28px; display: flex; flex-direction: column; gap: 12px; min-height: 260px; overflow: hidden; }
.bento .panel h3 { font-size: 20px; letter-spacing: -0.04em; line-height: 1.25; }
.bento .panel p { font-size: 13px; color: var(--au-text-secondary); max-width: 48ch; }
.bento .panel .demo { margin-top: auto; padding-top: 20px; }
.bento .panel .demo.kpis { padding-top: 0; }

/* ---------- mini UI pieces ---------- */
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--au-text-secondary); white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 0; background: var(--au-text-tertiary); flex: none; }
.status--ok::before { background: var(--au-green); }
.status--warn::before { background: var(--au-yellow); }
.status--bad::before { background: var(--au-red); }
.status--info::before { background: var(--au-blue); }
.status--ai::before { background: var(--au-purple); }
.up { color: var(--au-green); } .down { color: var(--au-red); }

.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--au-border); border: 1px solid var(--au-border); border-radius: var(--au-radius-md); overflow: hidden; }
@media (min-width: 720px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi { background: var(--au-bg-primary); padding: 16px; }
.kpi__l { font-size: 11px; color: var(--au-text-secondary); }
.kpi__v { font-family: var(--au-font-heading); font-size: 26px; letter-spacing: -0.05em; margin-top: 6px; line-height: 1.1; }
.kpi__d { font-size: 11px; margin-top: 4px; color: var(--au-text-secondary); }

.table-wrap { overflow-x: auto; border: 1px solid var(--au-border); border-radius: var(--au-radius-md); }
.table { width: 100%; border-collapse: collapse; font-size: 12px; font-variant-numeric: tabular-nums; }
.table th { text-align: left; font-weight: 500; font-size: 11px; text-transform: uppercase; color: var(--au-text-secondary); padding: 10px 14px; border-bottom: 1px solid var(--au-border); white-space: nowrap; }
.table td { padding: 11px 14px; border-bottom: 1px solid var(--au-border); white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.table .r { text-align: right; }
.table tbody tr { transition: background-color .2s; }
.table tbody tr:hover { background: var(--au-bg-secondary); }

.feed { display: grid; }
.feed__row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--au-border); font-size: 12px; }
.feed__row:first-child { border-top: 0; }
.feed__row .t { color: var(--au-text-tertiary); font-size: 11px; }
.feed__row p { color: var(--au-text-secondary); }
.feed__row p b { color: var(--au-text-primary); font-weight: 500; }

.bars { display: flex; align-items: flex-end; gap: 6px; height: 120px; }
.bars span { flex: 1; background: var(--au-border); border-radius: 0; height: var(--h); transform-origin: bottom; transition: transform .9s var(--ease); }
.bars span.f { background: transparent; border: 1px dashed var(--au-text-tertiary); border-bottom: 0; }
.bars span.hi { background: var(--au-text-primary); }
.js .reveal:not(.is-in) .bars span { transform: scaleY(.05); }

/* ---------- module tabs (home + erp) ---------- */
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--au-border); }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; flex: none; padding: 14px; font-size: 12px; font-weight: 500; text-transform: uppercase; color: var(--au-text-secondary); transition: color .2s; }
.tab::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 1px; background: var(--au-text-primary); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.tab:hover, .tab[aria-selected="true"] { color: var(--au-text-primary); }
.tab[aria-selected="true"]::after { transform: none; }
.tabpanel { padding: 20px; display: grid; gap: 16px; animation: panel-in .5s var(--ease); }
.tabpanel[hidden] { display: none; }
.tabpanel__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.tabpanel__head h3 { font-size: 22px; letter-spacing: -0.04em; }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.app { display: grid; grid-template-columns: 1fr; }
.app__side, .app__ai { display: none; }
@media (min-width: 1024px) {
  .app { grid-template-columns: 200px minmax(0, 1fr) 260px; min-height: 560px; }
  .app__side { display: block; border-right: 1px solid var(--au-border); padding: 16px 10px; }
  .app__ai { display: block; border-left: 1px solid var(--au-border); padding: 16px; }
  .app__main > .tabs { display: none; }
}
.app__side .label { padding: 10px 10px 6px; display: block; }
.app__nav { display: block; width: 100%; text-align: left; padding: 7px 10px; font-size: 12px; color: var(--au-text-secondary); border-radius: var(--au-radius-sm); transition: background-color .2s, color .2s; }
.app__nav:hover { color: var(--au-text-primary); }
.app__nav[aria-selected="true"] { background: var(--au-bg-primary); color: var(--au-text-primary); }
.app__main { min-width: 0; }
.app__ai .feed__row { grid-template-columns: 1fr; gap: 4px; }

/* ---------- sticky steps ---------- */
.steps { display: grid; gap: 40px; }
@media (min-width: 1024px) {
  .steps { grid-template-columns: 1fr 1.25fr; gap: 64px; }
  .steps__visual { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; }
}
.step { padding: 28px 0; transition: opacity .4s var(--ease); }
@media (min-width: 1024px) {
  .step { min-height: 52vh; padding: 32px 0; }
  .js .step:not(.is-current) { opacity: .35; }
  .step .frame { display: none; }
}
.step__n { display: block; margin-bottom: 18px; }
.step h3 { margin-bottom: 14px; }
.step p { color: var(--au-text-secondary); max-width: 44ch; }
.step .frame { margin-top: 24px; }
.steps__visual .frame { display: none; }
.steps__visual .frame.is-current { display: block; animation: panel-in .5s var(--ease); }
@media (max-width: 1023px) { .steps__visual { display: none; } }

/* ---------- logos ---------- */
.logo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 720px) { .logo-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .logo-grid { grid-template-columns: repeat(6, 1fr); } }
.logo-grid > * { display: flex; align-items: center; gap: 12px; padding: 22px 18px; background: var(--au-bg-secondary); border-radius: var(--au-radius-md); font-size: 12px; color: var(--au-text-secondary); transition: background-color .25s, color .25s; }
.logo-grid > *:hover { background: var(--au-border); color: var(--au-text-primary); }
/* third-party logos rendered as single-colour marks so dark and colourful logos read alike on the brand surfaces */
.logo-grid img, .int-card img, .marquee__item img { width: 22px; height: 22px; object-fit: contain; filter: brightness(0) invert(1); opacity: .7; transition: opacity .3s; }
html:not(.dark) .logo-grid img, html:not(.dark) .int-card img, html:not(.dark) .marquee__item img { filter: brightness(0); }
.logo-grid > *:hover img, .int-card:hover img { opacity: 1; }

.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: flex; align-items: center; gap: 10px; padding: 20px 28px; font-size: 12px; color: var(--au-text-secondary); white-space: nowrap; }
.marquee__item img { width: 18px; height: 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- list rows ---------- */
.rows { display: grid; gap: 8px; }
.row { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 22px 24px; background: var(--au-bg-secondary); border-radius: var(--au-radius-md); transition: background-color .3s; }
a.row:hover { background: var(--au-border); }
.row__t { font-family: var(--au-font-heading); font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.04em; }
.row__m { display: flex; gap: 20px; align-items: center; font-size: 12px; color: var(--au-text-secondary); }
.row .arrow { width: 10px; height: 10px; }
@media (max-width: 719px) { div.row { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 8px; }
.faq + .faq { margin-top: 8px; }
.faq details { background: var(--au-bg-secondary); border-radius: var(--au-radius-md); padding: 0 24px; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; cursor: pointer; font-family: var(--au-font-heading); font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -0.04em; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 12px; height: 12px; flex: none; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; top: 50%; width: 12px; height: 1px; background: var(--au-text-secondary); transition: transform .35s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq .faq__a { padding: 0 0 24px; color: var(--au-text-secondary); max-width: 72ch; }
.faq-layout { display: grid; gap: 40px; }
@media (min-width: 1024px) { .faq-layout { grid-template-columns: 1fr 1.6fr; gap: 64px; } }

/* ---------- CTA band ---------- */
.cta { padding-block: clamp(64px, 9vw, 140px); }
.cta__grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .cta__grid { grid-template-columns: 1.6fr 1fr; align-items: end; gap: 48px; } }
.cta h2 { max-width: 13ch; }
.cta__grid > :last-child { display: grid; gap: 24px; }

/* ---------- split rows (product pages) ---------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1.2fr; gap: 72px; } .split--rev > :first-child { order: 2; } }
.split + .split { margin-top: clamp(80px, 10vw, 140px); }
.split h3 { margin: 18px 0 16px; }
.checks { display: grid; gap: 10px; margin-top: 24px; list-style: none; }
.checks li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; font-size: 13px; color: var(--au-text-secondary); }
.checks li::before { content: "+"; color: var(--au-text-primary); }

/* workflow mock */
.flow { padding: 24px; display: grid; }
.flow__node { position: relative; display: grid; grid-template-columns: 28px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; background: var(--au-bg-primary); border: 1px solid var(--au-border); border-radius: var(--au-radius-md); font-size: 12px; }
.flow__node + .flow__node { margin-top: 28px; }
.flow__node + .flow__node::before, .flow__node + .flow__node::after { content: ""; position: absolute; left: 29px; top: -29px; height: 28px; width: 1px; background: var(--au-border); }
.flow__node + .flow__node::after { background: var(--au-text-primary); transform: scaleY(0); transform-origin: top; transition: transform .6s var(--ease) var(--d, 0s); }
.is-in .flow__node + .flow__node::after { transform: none; }
.flow__ic { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--au-border); border-radius: var(--au-radius-sm); font-size: 10px; color: var(--au-text-secondary); }
.flow__node b { display: block; font-weight: 500; color: var(--au-text-primary); }
.flow__node small { color: var(--au-text-secondary); font-size: 11px; }

/* chat mock */
.chat { padding: 20px; display: grid; gap: 14px; }
.msg { max-width: 88%; padding: 12px 14px; border: 1px solid var(--au-border); border-radius: var(--au-radius-md); font-size: 12px; line-height: 1.6; background: var(--au-bg-primary); }
.msg--me { justify-self: end; background: var(--au-text-primary); color: var(--au-bg-primary); border-color: var(--au-text-primary); }
.msg__who { display: block; font-size: 10px; text-transform: uppercase; color: var(--au-text-secondary); margin-bottom: 6px; font-weight: 500; }
.msg--me .msg__who { color: var(--au-text-tertiary); }
.msg .table-wrap { margin-top: 10px; }
.chat__input { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--au-border); border-radius: var(--au-radius-md); font-size: 12px; color: var(--au-text-tertiary); }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 4px; height: 4px; border-radius: 0; background: var(--au-text-secondary); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }

/* code */
.code { margin: 0; font-size: 12px; line-height: 1.75; padding: 20px; overflow-x: auto; color: var(--au-text-primary); }
.code .c { color: var(--au-text-tertiary); } .code .k { color: var(--au-purple); } .code .s { color: var(--au-green); }
.code .n { color: var(--au-yellow); } .code .f { color: var(--au-blue); } .code .e { color: var(--au-red); }

/* ---------- pipeline (how it works) ---------- */
.phase { display: grid; gap: 24px; padding: clamp(32px, 4vw, 56px) 0; }
@media (min-width: 1024px) { .phase { grid-template-columns: 1fr 3fr; gap: 48px; } .phase__name { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; } }
.phase__name { display: grid; gap: 10px; align-content: start; }
.phase__nodes { display: grid; gap: 12px; }
@media (min-width: 720px) { .phase__nodes { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.node { padding: 22px; display: grid; gap: 10px; align-content: start; }
.node h3 { font-size: 20px; letter-spacing: -0.04em; }
.node p { font-size: 13px; color: var(--au-text-secondary); }

/* ---------- filters / integrations ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { height: 30px; padding: 0 12px; border: 1px solid var(--au-border); border-radius: var(--au-radius-sm); font-size: 11px; font-weight: 500; text-transform: uppercase; color: var(--au-text-secondary); transition: color .2s, border-color .2s, background-color .2s; }
.chip:hover { color: var(--au-text-primary); border-color: var(--au-text-tertiary); }
.chip[aria-pressed="true"] { background: var(--au-text-primary); border-color: var(--au-text-primary); color: var(--au-bg-primary); }
.search { position: relative; min-width: min(100%, 280px); }
.search input { width: 100%; height: 36px; padding: 0 12px 0 34px; background: transparent; border: 1px solid var(--au-border); border-radius: var(--au-radius-sm); font-size: 12px; }
.search input:focus { outline: none; border-color: var(--au-text-secondary); }
.search svg { position: absolute; left: 12px; top: 50%; width: 12px; height: 12px; transform: translateY(-50%); color: var(--au-text-secondary); }
.int-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .int-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .int-grid { grid-template-columns: repeat(3, 1fr); } }
.int-card { padding: 22px; display: grid; gap: 12px; align-content: start; transition: border-color .25s; }
.int-card:hover { border-color: var(--au-text-tertiary); }
.int-card[hidden] { display: none; }
.int-card__top { display: flex; align-items: center; justify-content: space-between; }
.int-card h3 { font-size: 20px; letter-spacing: -0.04em; }
.int-card p { font-size: 12px; color: var(--au-text-secondary); }
.empty { padding: 48px 0; text-align: center; color: var(--au-text-secondary); font-size: 13px; }

/* ---------- pricing ---------- */
.seg { display: inline-flex; padding: 3px; border: 1px solid var(--au-border); border-radius: var(--au-radius-sm); }
.seg button { height: 30px; padding: 0 14px; font-size: 11px; font-weight: 500; text-transform: uppercase; color: var(--au-text-secondary); border-radius: 0; transition: background-color .25s, color .25s; }
.seg button[aria-pressed="true"] { background: var(--au-text-primary); color: var(--au-bg-primary); }
.seg em { font-style: normal; color: var(--au-green); margin-left: 6px; }
.seg button[aria-pressed="true"] em { color: inherit; }
.plans { display: grid; gap: 12px; }
@media (min-width: 1024px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.plan--hl { border-color: var(--au-text-tertiary); }
.plan__head { display: flex; justify-content: space-between; align-items: center; }
.plan__price { font-family: var(--au-font-heading); font-size: clamp(36px, 3.4vw, 48px); letter-spacing: -0.05em; line-height: 1; transition: opacity .15s; }
.plan__price small { font-family: var(--au-font-body); font-size: 12px; letter-spacing: 0; color: var(--au-text-secondary); }
.plan__note { font-size: 11px; color: var(--au-text-tertiary); min-height: 16px; }
.plan hr { border: 0; border-top: 1px solid var(--au-border); margin: 0; width: 100%; }
.range { display: grid; gap: 10px; }
.range__top { display: flex; justify-content: space-between; font-size: 12px; }
.range input { width: 100%; accent-color: var(--au-text-primary); }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--au-text-secondary); cursor: pointer; padding: 4px 0; }
.toggle input { appearance: none; width: 28px; height: 16px; border-radius: 0; border: 1px solid var(--au-border); background: var(--au-bg-primary); position: relative; cursor: pointer; transition: background-color .2s, border-color .2s; flex: none; margin: 0; }
.toggle input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 10px; height: 10px; border-radius: 0; background: var(--au-text-secondary); transition: transform .25s var(--ease), background-color .2s; }
.toggle input:checked { background: var(--au-text-primary); border-color: var(--au-text-primary); }
.toggle input:checked::after { transform: translateX(12px); background: var(--au-bg-primary); }
.plan .checks { margin-top: 0; }
.plan .btn { margin-top: auto; }
.compare { min-width: 760px; }
.compare td, .compare th { white-space: normal; vertical-align: top; }
.compare td { color: var(--au-text-secondary); }
.compare td:first-child { color: var(--au-text-primary); }
.compare .grp td { padding-top: 28px; font-size: 11px; font-weight: 500; text-transform: uppercase; color: var(--au-text-secondary); }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; }
@media (min-width: 720px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: 11px; font-weight: 500; text-transform: uppercase; color: var(--au-text-secondary); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; background: var(--au-bg-primary); border: 1px solid var(--au-border); border-radius: var(--au-radius-sm);
  font-size: 13px; transition: border-color .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--au-text-secondary); }
.field ::placeholder { color: var(--au-text-tertiary); }
.form__status { font-size: 12px; color: var(--au-text-secondary); min-height: 18px; }
.form__status.ok { color: var(--au-green); } .form__status.err { color: var(--au-red); }
.inline-form { display: flex; gap: 8px; max-width: 480px; }
.inline-form input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; background: transparent; border: 1px solid var(--au-border); border-radius: var(--au-radius-sm); font-size: 13px; }
.inline-form input:focus { outline: none; border-color: var(--au-text-secondary); }

/* ---------- long-form (legal, posts) ---------- */
.doc { display: grid; gap: 48px; padding-block: clamp(48px, 6vw, 88px); }
@media (min-width: 1024px) { .doc { grid-template-columns: 260px minmax(0, 1fr); gap: 80px; } }
.toc { display: none; }
@media (min-width: 1024px) {
  .toc { display: block; position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; max-height: calc(100vh - var(--nav-h) - 64px); overflow-y: auto; }
}
.toc .label { display: block; margin-bottom: 12px; }
.toc a { display: block; padding: 6px 0; font-size: 12px; color: var(--au-text-secondary); transition: color .2s; }
.toc a:hover, .toc a.is-current { color: var(--au-text-primary); }
.prose { max-width: 760px; font-size: 14px; line-height: 1.8; color: var(--au-text-secondary); }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; color: var(--au-text-primary); margin-top: 56px; }
.prose h3 { font-size: 20px; line-height: 1.3; color: var(--au-text-primary); margin-top: 40px; }
.prose a { color: var(--au-text-primary); text-decoration: underline; text-decoration-color: var(--au-text-tertiary); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 20px; display: grid; gap: 8px; }
.prose b, .prose strong { color: var(--au-text-primary); font-weight: 500; }
.legal-sec { padding: 0 0 48px; }
.prose .legal-sec h2 { display: flex; gap: 20px; align-items: baseline; margin: 0 0 16px; }
.legal-num { font-family: var(--au-font-body); font-size: 12px; letter-spacing: 0; color: var(--au-text-tertiary); flex: none; }
.legal-body > * + * { margin-top: 14px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 12px; color: var(--au-text-secondary); text-transform: uppercase; }

/* ---------- cards (blog, docs, help) ---------- */
.cards { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card { padding: 24px; display: flex; flex-direction: column; gap: 12px; min-height: 200px; transition: border-color .25s; }
.card[hidden] { display: none; }
a.card:hover { border-color: var(--au-text-tertiary); }
.card h3 { font-size: 22px; letter-spacing: -0.04em; line-height: 1.2; }
.card p { font-size: 13px; color: var(--au-text-secondary); }
.card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--au-text-secondary); text-transform: uppercase; padding-top: 16px; }
.card__foot .arrow { width: 10px; height: 10px; transition: transform .3s var(--ease); }
a.card:hover .card__foot .arrow { transform: translate(2px, -2px); }

/* changelog */
.release { display: grid; gap: 20px; padding: 40px 0; }
@media (min-width: 1024px) { .release { grid-template-columns: 260px 1fr; gap: 80px; } .release > :first-child { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; } }
.release h2 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; margin-bottom: 16px; }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border: 1px solid var(--au-border); border-radius: var(--au-radius-sm); font-size: 10px; font-weight: 500; text-transform: uppercase; color: var(--au-text-secondary); }

/* press */
.swatches { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .swatches { grid-template-columns: repeat(4, 1fr); } }
.swatch { border: 1px solid var(--au-border); border-radius: var(--au-radius-md); overflow: hidden; font-size: 11px; }
.swatch i { display: block; height: 88px; border-bottom: 1px solid var(--au-border); }
.swatch div { padding: 10px 12px; display: flex; justify-content: space-between; color: var(--au-text-secondary); }
.swatch b { font-weight: 500; color: var(--au-text-primary); }
.logo-tile { display: grid; place-items: center; min-height: 200px; padding: 32px; }
.logo-tile img { max-height: 40px; width: auto; }
.logo-tile--dark { background: #0A0A0A; border-color: #272727; }

/* centered utility pages (404 / coming soon) */
.center-page { min-height: calc(100vh - var(--nav-h)); display: grid; align-content: center; gap: 28px; padding-block: 80px; }

/* ---------- navbar menus (first-iteration menus inside the original navbar shell, _src/partials/nav.html) ---------- */
.dropdown-menu-list.dropdown-mega { display: grid; grid-template-columns: 1.5fr 1fr; gap: 8px; padding: 12px; min-width: 560px; left: 0; transform: translateY(10px); }
.nav-item:hover .dropdown-menu-list.dropdown-mega { transform: translateY(0); }
.mega-col { display: flex; flex-direction: column; gap: 2px; }
.mega-title { padding: 6px 8px 8px; font: 500 11px/16px var(--au-font-body); text-transform: uppercase; color: var(--nav-text-muted); }
.mega-col .dropdown-item-direct { padding: 6px 8px; }
.dropdown-item-rich { display: block; padding: 10px 8px; text-decoration: none; transition: background-color .2s; }
.dropdown-item-rich strong { display: block; font: 400 16px/1.3 var(--au-font-heading); letter-spacing: -0.03em; color: var(--nav-text-hover); }
.dropdown-item-rich span { display: block; margin-top: 2px; font: 400 12px/1.5 var(--au-font-body); color: var(--nav-text-muted); }
.dropdown-item-rich:hover { background: rgba(255, 255, 255, .05); }
html:not(.dark) .dropdown-item-rich:hover { background: rgba(0, 0, 0, .05); }
/* specificity beats the navbar's own html:not(.dark) .nav-cta overrides */
html body .nav-cta.nav-cta--solid { background: var(--au-text-primary); border-color: var(--au-text-primary); color: var(--au-bg-primary); font-weight: 500; }
html body .nav-cta.nav-cta--solid::before { background-color: rgba(127, 127, 127, .25); }
html body .nav-cta.nav-cta--solid:hover { color: var(--au-bg-primary); border-color: var(--au-text-primary); }
.nav-cta.nav-cta--solid > * { position: relative; z-index: 1; }

/* ---------- book-a-demo popover (nav.html): unfolds downward from the button, morphs into a confirmation ---------- */
.demo-pop { position: fixed; z-index: 1020; width: min(360px, 100vw - 32px); background: var(--au-bg-secondary); border: 1px solid var(--au-border); opacity: 0; transform: translateY(-8px); clip-path: inset(0 0 100% 0); transition: opacity .3s var(--ease), transform .5s var(--ease), clip-path .55s var(--ease); }
.demo-pop.is-open { opacity: 1; transform: none; clip-path: inset(0); }
@media (max-width: 1023px) { .demo-pop { left: 16px; right: 16px; bottom: 16px; width: auto; transform: translateY(16px); clip-path: inset(100% 0 0 0); } }
.demo-pop__head { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 6px 0 20px; border-bottom: 1px solid var(--au-border); }
.demo-pop__head .label { flex: 1; }
.demo-pop__step { font-size: 11px; color: var(--au-text-tertiary); font-variant-numeric: tabular-nums; }
.demo-pop__close { display: grid; place-items: center; width: 32px; height: 32px; color: var(--au-text-secondary); transition: color .2s; }
.demo-pop__close:hover { color: var(--au-text-primary); }
.demo-pop__close svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.demo-pop__body { overflow: hidden; transition: height .45s var(--ease); }
.demo-pop__form, .demo-pop__done { display: grid; gap: 14px; padding: 20px; }
.demo-pop h3 { font-size: 22px; line-height: 1.15; }
.demo-pop .field input { padding: 10px 12px; }
.demo-pop__fine { font-size: 11px; color: var(--au-text-tertiary); }
.demo-pop__form > * { opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i, 0) * 60ms + .15s); }
.demo-pop.is-open .demo-pop__form > * { opacity: 1; transform: none; }
.demo-pop__form.is-leaving { opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s; }
.demo-pop__done > * { opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .5s var(--ease); }
.demo-pop__done > :nth-child(2) { transition-delay: .1s; } .demo-pop__done > :nth-child(3) { transition-delay: .18s; } .demo-pop__done > :nth-child(4) { transition-delay: .26s; }
.demo-pop__done.is-in > * { opacity: 1; transform: none; }
.demo-pop__done p { font-size: 13px; color: var(--au-text-secondary); }
.demo-pop__done b { font-weight: 500; color: var(--au-text-primary); word-break: break-word; }
.demo-pop__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.demo-pop__check { width: 44px; height: 44px; fill: none; stroke: var(--au-green); stroke-width: 1.5; }
.demo-pop__check rect { stroke-dasharray: 184; stroke-dashoffset: 184; transition: stroke-dashoffset .7s var(--ease) .1s; }
.demo-pop__check path { stroke-dasharray: 34; stroke-dashoffset: 34; transition: stroke-dashoffset .45s var(--ease) .55s; }
.demo-pop__done.is-in .demo-pop__check rect, .demo-pop__done.is-in .demo-pop__check path { stroke-dashoffset: 0; }
html:not(.dark) .demo-pop__check { stroke: var(--au-text-primary); } /* the green is too pale on light surfaces */

/* checkbox row inside .form (affiliate terms) */
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; color: var(--au-text-secondary); cursor: pointer; }
.check input { appearance: none; flex: none; width: 16px; height: 16px; margin-top: 2px; border: 1px solid var(--au-text-tertiary); background: var(--au-bg-primary); display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--au-text-primary); border-color: var(--au-text-primary); }
.check input:checked::after { content: ""; width: 8px; height: 8px; background: var(--au-bg-primary); }
.check a { color: var(--au-text-primary); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- home, modelled on cursor.com: left-aligned hero, product stage, feature cards, lists ---------- */
.hero--left { padding-top: clamp(56px, 8vw, 112px); }
.hero--left h1 { max-width: 24ch; }
.hero--left .lead { margin-top: 20px; }
.hero--left .actions { margin-top: 32px; }
.hero__note { margin-top: 16px; font-size: 12px; color: var(--au-text-secondary); }
.stage { margin-top: clamp(40px, 6vw, 72px); padding: clamp(12px, 4.5vw, 72px); background: var(--au-bg-secondary); border-radius: var(--au-radius-lg); }
.stage .frame { background: var(--au-bg-primary); }

.lhead { display: grid; gap: 12px; margin-bottom: clamp(24px, 3vw, 40px); }
.lhead .lead { max-width: 56ch; }

.logos { padding-block: clamp(48px, 6vw, 80px); }
.logos .label { margin-bottom: 16px; }

.features { display: grid; gap: 12px; }
.feature { display: grid; gap: 28px; padding: clamp(20px, 3vw, 32px); background: var(--au-bg-secondary); border-radius: var(--au-radius-lg); }
@media (min-width: 1024px) { .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; } }
.feature__text { display: grid; gap: 12px; align-content: start; }
.feature__text p { font-size: 13px; color: var(--au-text-secondary); max-width: 40ch; }
.feature__text .link-arrow { margin-top: 8px; }
.feature .frame { background: var(--au-bg-primary); }

.fgrid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .fgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .fgrid { grid-template-columns: repeat(4, 1fr); } }
.fcard { display: flex; flex-direction: column; gap: 10px; padding: 10px 10px 24px; background: var(--au-bg-secondary); border-radius: var(--au-radius-lg); transition: background-color .3s var(--ease); }
a.fcard:hover { background: var(--au-border); }
.fcard__vis { height: 176px; padding: 16px; display: grid; align-content: center; gap: 8px; overflow: hidden; background: var(--au-bg-primary); border-radius: var(--au-radius-md); font-size: 11px; }
.fcard__vis .bars { height: 96px; }
.fcard h3 { padding: 14px 14px 0; font-size: 20px; line-height: 1.25; letter-spacing: -0.04em; }
.fcard p { padding: 0 14px; font-size: 13px; color: var(--au-text-secondary); }
.fcard .link-arrow { margin: auto 14px 0; padding-top: 12px; }
.mini-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; background: var(--au-bg-secondary); border-radius: var(--au-radius-sm); color: var(--au-text-secondary); }
.mini-row b { font-weight: 500; color: var(--au-text-primary); }

.switch-cards { display: grid; gap: 12px; }
@media (min-width: 1024px) { .switch-cards { grid-template-columns: repeat(3, 1fr); } }
.switch-card { padding: clamp(24px, 3vw, 32px); background: var(--au-bg-secondary); border-radius: var(--au-radius-lg); display: flex; flex-direction: column; gap: 20px; }
.switch-card h3 { font-size: 20px; line-height: 1.25; letter-spacing: -0.04em; }
.switch-card .was { color: var(--au-text-tertiary); font-size: 13px; text-decoration: line-through; text-decoration-color: var(--au-text-tertiary); }
.switch-card .now { color: var(--au-text-primary); font-size: 13px; margin-top: auto; }

.trust { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .trust { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .trust { grid-template-columns: repeat(6, 1fr); } }
.trust > div { display: grid; gap: 6px; padding: 24px 20px; background: var(--au-bg-secondary); border-radius: var(--au-radius-lg); }
.trust b { font: 400 20px/1.1 var(--au-font-heading); letter-spacing: -0.04em; color: var(--au-text-primary); }
.trust span { font-size: 11px; color: var(--au-text-secondary); }

.list-foot { margin-top: 24px; }
.team { display: grid; gap: 24px; padding-block: clamp(40px, 6vw, 80px); border-top: 1px solid var(--au-border); border-bottom: 1px solid var(--au-border); }
@media (min-width: 1024px) { .team { grid-template-columns: 1.6fr 1fr; align-items: end; gap: 48px; } }
.team .actions { gap: 24px; }

.cta-panel { padding: clamp(56px, 9vw, 128px) 24px; background: var(--au-bg-secondary); border-radius: var(--au-radius-lg); text-align: center; display: grid; justify-items: center; gap: 24px; }
.cta-panel h2 { max-width: 16ch; }
.cta-panel .actions { justify-content: center; }

/* ---------- footer wrapper (footer markup itself is preserved as-is) ---------- */
.site-footer { margin: 0 auto; width: 100%; max-width: calc(100% - 32px); }
@media (min-width: 1440px) { .site-footer { max-width: calc(1440px - 72px); } }
.site-footer > .css-1hj36d6 { padding-top: 72px; }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .split-lines .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.js .split-lines .ln > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 90ms + .1s); }
.js .split-lines.is-in .ln > span { transform: none; }
body { animation: page-in .5s var(--ease) both; }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .split-lines .ln > span { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* ---------- waitlist confirmation modal (Section 03 / FR-07) ---------- */
.waitlist-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s var(--ease), visibility .25s var(--ease);
}
.waitlist-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.waitlist-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.waitlist-modal__card {
  position: relative;
  z-index: 1;
  width: min(500px, 100%);
  background: var(--au-bg-secondary);
  border: 1px solid var(--au-border);
  border-radius: var(--au-radius-lg, 12px);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  display: grid;
  gap: 16px;
  transform: translateY(12px) scale(0.98);
  transition: transform .3s var(--ease);
}
.waitlist-modal.is-open .waitlist-modal__card {
  transform: translateY(0) scale(1);
}
.waitlist-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: none;
  border: none;
  color: var(--au-text-secondary);
  cursor: pointer;
  border-radius: 4px;
  transition: color .2s, background-color .2s;
}
.waitlist-modal__close:hover,
.waitlist-modal__close:focus-visible {
  color: var(--au-text-primary);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}
.waitlist-modal__close svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.waitlist-modal__eyebrow {
  font-family: "Roboto Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--au-text-tertiary);
}
.waitlist-modal__title {
  font-size: clamp(20px, 2.5vw, 24px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--au-text-primary);
  margin: 0;
}
.waitlist-modal__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--au-text-secondary);
  margin: 0;
}
.waitlist-modal__actions {
  margin-top: 8px;
  display: flex;
  justify-content: flex-start;
}
.waitlist-modal__btn {
  font-family: "Roboto Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 10px 24px;
}
.btn:disabled, .btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

