/* Swiftbird website. One dark look by design; every colour is set explicitly. */
/* Caveat (SIL Open Font License, see /assets/fonts/CAVEAT-OFL.txt), self-hosted: no third-party font requests. */
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 500 600; font-display: swap; src: url("/assets/fonts/caveat-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 500 600; font-display: swap; src: url("/assets/fonts/caveat-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }


:root {
  --stage: #161616;
  --bg: #202020;
  --rail: #1a1a1a;
  --panel: #262626;
  --raised: #303030;
  --line: #3d3d3a;
  --line-soft: #2e2e2c;
  --text: #f1f0ee;
  --muted: #aaa9a5;
  --faint: #9a9994;
  --cyan: #57cbe9;
  --cyan-hover: #83dff3;
  --bird: #78d8ed;
  --blue: #8db7ee;
  --red: #d95d65;
  --amber: #c78a32;
  --teal: #389cb8;
  --ink-on-cyan: #0d1b1f;
  --danger-bg: #3a2224;
  --ok: #7fd1a4;

  --font-ui: "Segoe UI Variable Text", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --font-hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --font-mono: "Cascadia Code", "Cascadia Mono", Consolas, "SFMono-Regular", Menlo, monospace;

  --r-sm: 8px;
  --r: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --gutter: 16px;
  --max: 1240px;
  --max-narrow: 760px;
  --shadow-media: 0 30px 80px -30px rgba(0, 0, 0, .75);
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: dark;
}

@media (min-width: 720px) { :root { --gutter: 32px; } }
@media (min-width: 1100px) { :root { --gutter: 48px; } }

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
@supports (overflow-x: clip) { body { overflow-x: clip; } }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--cyan-hover); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.1; font-weight: 600; letter-spacing: -.02em; color: var(--text); }
em { font-style: italic; }
strong { font-weight: 650; color: var(--text); }
code, kbd { font-family: var(--font-mono); font-size: .88em; background: var(--raised); color: var(--text); border: 1px solid var(--line); border-radius: 6px; padding: .08em .38em; }
kbd { border-bottom-width: 2px; }
pre { background: var(--rail); color: var(--text); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; overflow-x: auto; }
pre code { background: none; border: 0; padding: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
::selection { background: #1f4f5c; color: #ffffff; }
/* The hidden attribute must win over component display rules (.notice, .clip-toggle…). */
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--cyan); color: var(--ink-on-cyan); padding: 10px 14px; border-radius: var(--r); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--ink-on-cyan); }

.i { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { width: 100%; max-width: calc(var(--max-narrow) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.hand { font-family: var(--font-hand); font-weight: 600; color: var(--bird); letter-spacing: 0; line-height: 1.1; }
.kicker { display: inline-flex; align-items: center; gap: .5em; margin: 0 0 1rem; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.kicker .i { color: var(--cyan); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 44rem; }
.selectable { user-select: all; -webkit-user-select: all; font-family: var(--font-mono); background: var(--raised); border: 1px dashed var(--line); border-radius: 6px; padding: .05em .4em; color: var(--text); }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 44px; padding: .62em 1.15em; border-radius: 999px;
  font: 600 .98rem/1.2 var(--font-ui); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color .18s, color .18s, border-color .18s, transform .18s var(--ease);
  white-space: nowrap;
}
.btn .i { width: 1.05em; height: 1.05em; }
.btn-primary { background: var(--cyan); color: var(--ink-on-cyan); }
.btn-primary:hover { background: var(--cyan-hover); color: var(--ink-on-cyan); }
.btn-primary:active { transform: translateY(1px) scale(.99); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--raised); color: var(--text); border-color: #55554f; }
.btn-sm { min-height: 38px; padding: .45em .95em; font-size: .9rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ------------------------------------------------------------ bird mark and flight */
.mark { position: relative; display: inline-block; width: 30px; height: 30px; overflow: hidden; flex: none; vertical-align: middle; }
.mark-body { position: absolute; inset: 0; display: block; transform-origin: 54% 54%; }
.mark-bird {
  position: absolute; inset: 0; display: block; background: var(--bird);
  -webkit-mask: url("/assets/img/swiftbird-mark.png") center / contain no-repeat;
  mask: url("/assets/img/swiftbird-mark.png") center / contain no-repeat;
}
.mark .wind { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke: var(--bird); stroke-width: 1.1; stroke-linecap: round; }
.mark .wind path { opacity: 0; stroke-dasharray: 100; stroke-dashoffset: 100; }
.mark-xs { width: 20px; height: 20px; }
.mark-sm { width: 30px; height: 30px; }
.mark-lg { width: 88px; height: 88px; }
.mark-xl { width: 128px; height: 128px; }
.mark-lg .wind, .mark-xl .wind { stroke-width: .8; }

/* The pen stroke from the app: one small hand-drawn underline. */
.pen { position: absolute; left: 50%; bottom: -12px; width: 52px; height: 22px; transform: translateX(-50%); overflow: visible; pointer-events: none; }
.pen path { fill: none; stroke: var(--bird); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 60; stroke-dashoffset: 0; }
.js .pen path { animation: pen-draw .55s var(--ease) both .15s; }
@keyframes pen-draw { from { stroke-dashoffset: 60; } to { stroke-dashoffset: 0; } }

/* ------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(26, 26, 26, .86);
  border-bottom: 1px solid var(--line-soft);
}
@supports (backdrop-filter: blur(10px)) { .site-header { backdrop-filter: saturate(1.2) blur(14px); -webkit-backdrop-filter: saturate(1.2) blur(14px); } }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.wordmark { font-family: var(--font-serif); font-size: 1.42rem; font-weight: 700; letter-spacing: -.035em; line-height: 1; color: var(--text); }
.nav-toggle {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px;
  background: transparent; color: var(--text); border: 1px solid var(--line); border-radius: 999px; font: 600 .92rem var(--font-ui); cursor: pointer;
}
.nav-toggle .when-open { display: none; }
.nav-toggle[aria-expanded="true"] .when-open { display: block; }
.nav-toggle[aria-expanded="true"] .when-closed { display: none; }
.site-nav { display: none; }
.site-nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--rail); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
  max-height: calc(100vh - 64px); overflow-y: auto;
}
.no-js .site-nav { display: block; position: static; }
.no-js .nav-toggle { display: none; }
.no-js .waitlist .wl-label, .no-js .waitlist .wl-row, .no-js .waitlist .wl-consent { display: none; } /* joining needs JavaScript; the noscript note offers email instead of a button that can't save */
.no-js [data-panel="loading"] > .notice { display: none; } /* "Checking…" never finishes without JavaScript; the noscript note explains instead */
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list a { position: relative; display: block; padding: 12px 4px; color: var(--text); text-decoration: none; font-weight: 550; border-bottom: 1px solid var(--line-soft); }
.nav-list a:hover { color: var(--cyan-hover); }
.nav-list a[aria-current="page"] { color: var(--bird); }
.nav-list .pen { display: none; }
.nav-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 16px; }
.nav-account { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 8px; color: var(--text); text-decoration: none; font-weight: 550; }
.nav-account:hover, .nav-account[aria-current="page"] { color: var(--bird); }

@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open { display: flex; position: static; align-items: center; flex: 1; gap: 24px; background: none; border: 0; padding: 0; max-height: none; overflow: visible; }
  .nav-list { display: flex; gap: 6px; margin-left: 20px; }
  .nav-list a { border: 0; padding: 8px 12px; border-radius: 999px; font-size: .95rem; color: #d8d7d3; }
  .nav-list a:hover { background: var(--raised); color: var(--text); }
  .nav-list a[aria-current="page"] { color: var(--text); background: transparent; }
  .nav-list .pen { display: block; bottom: -9px; }
  .nav-actions { margin-left: auto; padding: 0; gap: 6px; flex-wrap: nowrap; }
  .nav-account { font-size: .95rem; padding: 0 12px; }
}

/* ------------------------------------------------------------ hero */
.hero { position: relative; background: radial-gradient(1200px 520px at 78% -10%, #1d3940 0%, rgba(22, 22, 22, 0) 60%), var(--stage); padding: clamp(48px, 9vw, 120px) 0 0; overflow: hidden; }
.hero-grid { position: relative; }
.hero .kicker { color: #c9c8c4; }
.hero-title {
  font-family: var(--font-display); font-weight: 650; letter-spacing: -.045em; line-height: .96;
  font-size: clamp(2.7rem, 9.2vw, 7.6rem); margin: 0 0 .32em; max-width: 12ch;
}
.hero-title em, .display em, .page-hero h1 em, .section-head h2 em {
  font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.035em; color: var(--bird);
}
.hero-title .line { display: block; }
.hero-lead { font-size: clamp(1.1rem, 1.9vw, 1.42rem); color: #c8c7c3; max-width: 38rem; margin-bottom: 1.6rem; }
.hero-lead strong { color: var(--text); font-weight: 600; }
.hero-bird { position: absolute; right: 0; top: 4px; }
.hero-note { position: relative; margin: 22px 0 0; font-size: 1.45rem; transform: rotate(-2deg); display: inline-flex; align-items: flex-end; gap: 8px; color: var(--bird); }
.hero-note svg { width: 56px; height: 40px; fill: none; stroke: var(--bird); stroke-width: 1.6; stroke-linecap: round; }
@media (max-width: 719px) { .hero-bird { position: relative; right: auto; top: auto; display: block; margin-bottom: 18px; } .hero-bird.mark-xl { width: 76px; height: 76px; } }

.stage { position: relative; margin-top: clamp(40px, 7vw, 88px); perspective: 1400px; padding-bottom: clamp(48px, 8vw, 110px); }
.monitor {
  position: relative; margin: 0 auto; max-width: 1180px;
  border-radius: var(--r-xl); background: #0f0f0f; border: 1px solid #34342f;
  box-shadow: var(--shadow-media), 0 0 0 1px rgba(255, 255, 255, .03) inset;
  padding: 10px; transform-origin: 50% 0;
  transform: rotateX(calc(var(--tilt, 0) * 14deg)) scale(calc(1 - var(--tilt, 0) * .08));
  will-change: transform;
}
.monitor-bar { display: flex; align-items: center; gap: 8px; padding: 2px 6px 10px; color: var(--muted); font-size: .8rem; }
.monitor-bar .mark { width: 16px; height: 16px; }
.monitor-bar .grow { flex: 1; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: #1c2b2f; color: var(--bird); border: 1px solid #2d4b53; font-size: .76rem; font-weight: 600; letter-spacing: .01em; white-space: nowrap; }
.media { position: relative; border-radius: 12px; overflow: hidden; background: #0c0c0c; }
.media video, .media img { width: 100%; height: 100%; object-fit: cover; }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-wide { aspect-ratio: 1200 / 482; }
.clip-toggle {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px;
  background: rgba(15, 15, 15, .78); color: var(--text); border: 1px solid #45453f; font: 600 .82rem var(--font-ui); cursor: pointer;
}
.clip-toggle:hover { background: rgba(40, 40, 40, .92); }
.clip-toggle .i { width: 14px; height: 14px; }
.clip-toggle .when-paused { display: none; }
.is-paused .clip-toggle .when-paused { display: block; }
.is-paused .clip-toggle .when-playing { display: none; }
.media-caption { display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: space-between; margin-top: 10px; padding: 0 4px; font-size: .84rem; color: var(--muted); }

/* ------------------------------------------------------------ truths strip */
.truths { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--rail); }
.truths-list { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; }
.truth { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; padding: 26px 0; border-bottom: 1px solid var(--line-soft); }
.truth:last-child { border-bottom: 0; }
.truth .i { grid-row: span 2; width: 26px; height: 26px; color: var(--bird); margin-top: 2px; }
.truth h2 { font-size: 1.12rem; margin: 0; letter-spacing: -.01em; }
.truth p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (min-width: 860px) {
  .truths-list { grid-template-columns: repeat(3, 1fr); }
  .truth { padding: 34px 28px 34px 0; border-bottom: 0; border-right: 1px solid var(--line-soft); }
  .truth + .truth { padding-left: 28px; }
  .truth:last-child { border-right: 0; }
}

/* ------------------------------------------------------------ sections */
.section { padding: clamp(72px, 11vw, 150px) 0; }
.section-tight { padding: clamp(56px, 8vw, 100px) 0; }
.section-head { max-width: 60rem; margin-bottom: clamp(36px, 6vw, 72px); }
.section-head h2, .display {
  font-family: var(--font-display); font-weight: 650; letter-spacing: -.04em; line-height: 1;
  font-size: clamp(2.2rem, 6vw, 4.8rem); margin-bottom: .35em;
}
.section-head .lead { margin: 0; }
.section-alt { background: var(--stage); }

/* ------------------------------------------------------------ the shot list */
.shot-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); counter-reset: shot; }
.shot { border-bottom: 1px solid var(--line); padding: clamp(28px, 5vw, 56px) 0; }
.shot-row { display: grid; grid-template-columns: auto auto 1fr; align-items: baseline; gap: 6px 14px; margin-bottom: 22px; }
.shot-id { font-family: var(--font-mono); font-size: .82rem; font-weight: 600; color: var(--bird); background: #1c2b2f; border: 1px solid #2d4b53; border-radius: 6px; padding: 2px 7px; }
.shot-tc { font-family: var(--font-mono); font-size: .82rem; color: var(--faint); font-variant-numeric: tabular-nums; }
.route { justify-self: end; font-family: var(--font-mono); font-size: .72rem; font-weight: 600; letter-spacing: .08em; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; white-space: nowrap; }
.shot-title { grid-column: 1 / -1; position: relative; font-family: var(--font-display); font-size: clamp(1.9rem, 4.6vw, 3.4rem); letter-spacing: -.035em; line-height: 1.02; margin: 6px 0 0; }
.shot-title em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--bird); }
.shot-body { display: grid; gap: 28px; align-items: start; }
.shot-copy p { color: #c8c7c3; }
.shot-copy .narration { font-family: var(--font-serif); font-style: italic; font-size: 1.22rem; line-height: 1.45; color: var(--text); margin-bottom: 1rem; }
.facts { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: 10px; }
.facts li { display: grid; grid-template-columns: auto 1fr; gap: 10px; color: #c8c7c3; font-size: .98rem; }
.facts .i { color: var(--bird); margin-top: .28em; }
.facts strong { color: var(--text); }
.shot-media { margin: 0; min-width: 0; }
.shot-media figcaption { margin-top: 10px; font-size: .84rem; color: var(--muted); }
.shot-media figcaption .hand { font-size: 1.2rem; margin-right: 6px; }
@media (min-width: 980px) {
  .shot-row { grid-template-columns: auto auto 1fr auto; }
  .shot-title { grid-column: 3; margin: 0; }
  .route { grid-column: 4; }
  .shot-body { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; }
  .shot:nth-child(even) .shot-body { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .shot:nth-child(even) .shot-copy { order: 2; }
}
.also { margin-top: clamp(40px, 6vw, 72px); }
.also h3 { font-size: 1.05rem; color: var(--muted); font-weight: 600; letter-spacing: 0; margin-bottom: 18px; }
.also-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.also-list li { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 16px 18px; }
.also-list strong { display: flex; align-items: center; gap: 8px; font-size: 1rem; }
.also-list strong .i { color: var(--bird); }
.also-list span { display: block; color: var(--muted); font-size: .92rem; margin-top: 4px; }

/* ------------------------------------------------------------ recreated app surfaces */
.app {
  --a-text: #f1f0ee; --a-muted: #aaa9a5;
  position: relative; background: #202020; color: var(--a-text); border: 1px solid #3d3d3a; border-radius: var(--r-lg);
  box-shadow: var(--shadow-media); font-size: 13px; line-height: 1.45; overflow: hidden;
}
.app * { min-width: 0; }
.app-top { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; background: #1a1a1a; border-bottom: 1px solid #3d3d3a; color: var(--a-muted); font-size: 12px; }
.app-top .mark { width: 16px; height: 16px; }
.app-top .title { color: var(--a-text); font-weight: 600; }
.app-top .spacer { flex: 1; }
.chip { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 8px; border-radius: 7px; background: #303030; border: 1px solid #3d3d3a; color: #dcdbd7; font-size: 11.5px; font-weight: 550; white-space: nowrap; }
.chip .i { width: 12px; height: 12px; }
.chip-cyan { background: #1c2b2f; border-color: #2d4b53; color: var(--bird); }
.app-pad { padding: 14px; }
.tag { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 5px; font: 600 10.5px/1 var(--font-mono); letter-spacing: .06em; border: 1px solid #3d3d3a; color: #cfcdc8; background: #262626; white-space: nowrap; }
.tag-blender { color: #f0b37a; border-color: #5a4430; background: #2c231b; }
.tag-remotion { color: #9fc2f2; border-color: #33465e; background: #1d2530; }

/* Chat */
.chat-thread { padding: 16px 14px 8px; display: grid; gap: 14px; }
.msg-user { justify-self: end; max-width: 86%; background: #303030; border: 1px solid #3d3d3a; border-radius: 14px 14px 4px 14px; padding: 9px 12px; }
.msg-agent { max-width: 96%; }
.agent-head { display: flex; align-items: center; gap: 7px; color: var(--a-muted); font-size: 11.5px; margin-bottom: 5px; }
.agent-head .i { width: 13px; height: 13px; color: var(--bird); }
.msg-agent p { margin: 0 0 8px; }
.artifact { display: flex; align-items: center; gap: 10px; background: #262626; border: 1px solid #3d3d3a; border-radius: 10px; padding: 9px 11px; }
.artifact .i { color: var(--bird); width: 18px; height: 18px; }
.artifact .a-text { display: grid; line-height: 1.3; }
.artifact .a-text small { color: var(--a-muted); font-size: 11.5px; }
.artifact .go { margin-left: auto; color: var(--a-muted); }
.warm { display: inline-flex; align-items: center; gap: 7px; color: var(--a-muted); font-size: 11.5px; justify-self: center; }
.warm .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(127, 209, 164, .15); }
.composer { margin: 6px 12px 12px; border-radius: 14px; background: #262626; border: 1px solid #45453f; box-shadow: 3px 3px 0 -1px #1a1a1a, 3px 3px 0 0 #3d3d3a; padding: 10px 12px 10px; }
.composer .scope { display: inline-flex; align-items: center; gap: 5px; color: var(--a-muted); font-size: 11.5px; }
.composer .scope .i { width: 12px; height: 12px; }
.composer .field { color: #9a9994; padding: 8px 0 12px; font-size: 13.5px; }
.composer-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.switch { display: inline-flex; background: #1f1f1f; border: 1px solid #3d3d3a; border-radius: 8px; padding: 2px; }
.switch span { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 11.5px; color: var(--a-muted); }
.switch .on { background: #303030; color: var(--a-text); }
.switch .i { width: 12px; height: 12px; }
.model { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: #dcdbd7; border-bottom: 1px dashed #55554f; padding-bottom: 1px; }
.model .i { width: 12px; height: 12px; }
.send { margin-left: auto; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--cyan); color: var(--ink-on-cyan); }
.send .i { width: 15px; height: 15px; stroke-width: 2.4; }
.composer-hint { display: flex; justify-content: space-between; margin: 0 14px 12px; color: #9a9994; font-size: 11px; }

/* Production */
.prod-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 14px 14px 10px; }
.prod-head h4 { font-size: 15px; letter-spacing: -.01em; margin: 0; flex: 1 1 260px; line-height: 1.25; }
.prod-meta { color: var(--a-muted); font-size: 12px; }
.search { display: flex; align-items: center; gap: 7px; margin: 0 14px 10px; height: 32px; padding: 0 10px; border-radius: 8px; background: #262626; border: 1px solid #3d3d3a; color: #9a9994; font-size: 12.5px; }
.search .i { width: 14px; height: 14px; }
.rows { padding: 0 14px 14px; display: grid; gap: 6px; }
.row { display: grid; grid-template-columns: 58px 44px minmax(0, 1fr) auto 14px; align-items: center; gap: 10px; min-height: 40px; padding: 6px 10px; border-radius: 9px; background: #262626; border: 1px solid #2f2f2d; }
.row .id { font: 600 12px var(--font-mono); color: var(--a-text); }
.row .tc { font: 12px var(--font-mono); color: #9a9994; font-variant-numeric: tabular-nums; }
.row .nar { color: #d5d4d0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .i { width: 14px; height: 14px; color: #9a9994; }
.row-open { background: #2a2a29; border-color: #45453f; grid-template-columns: 58px 44px minmax(0, 1fr) auto 14px; }
.row-open .nar { white-space: normal; }
.row-open .chev { transform: rotate(90deg); }
.row-detail { grid-column: 1 / -1; display: grid; gap: 10px; padding: 8px 0 6px; border-top: 1px solid #3d3d3a; margin-top: 4px; }
.detail-label { color: var(--a-muted); font-size: 11.5px; display: flex; gap: 8px; align-items: center; }
.stills { display: grid; grid-template-columns: 2fr 1fr; gap: 6px; }
.stills .main { grid-row: span 2; }
.stills img { border-radius: 6px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #111111; }
.change-box { height: 30px; border-radius: 8px; background: #202020; border: 1px solid #3d3d3a; display: flex; align-items: center; padding: 0 10px; color: #9a9994; font-size: 12px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 520px) {
  .row, .row-open { grid-template-columns: 46px minmax(0, 1fr) auto 12px; }
  .row .tc { display: none; }
}

/* Thumbnails */
.thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 12px 14px; }
.thumb { margin: 0; border-radius: 8px; overflow: hidden; border: 1px solid #3d3d3a; background: #111111; }
.thumb img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.thumb figcaption { padding: 5px 7px; font-size: 11px; color: var(--a-muted); display: flex; justify-content: space-between; gap: 6px; }
.thumb.selected { border-color: var(--cyan); box-shadow: 0 0 0 2px rgba(87, 203, 233, .35); }
.thumb.selected figcaption { color: var(--bird); }
.corr { margin: 0 14px 14px; background: #262626; border: 1px solid #3d3d3a; border-radius: 10px; padding: 10px 12px; }
.corr-label { font-size: 11.5px; color: var(--a-muted); margin-bottom: 6px; }
.corr-text { color: var(--a-text); font-size: 13px; }
.corr-text .caret { display: inline-block; width: 1px; height: 1em; background: var(--cyan); vertical-align: -2px; margin-left: 1px; }
.corr-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; gap: 8px; flex-wrap: wrap; color: #9a9994; font-size: 11px; }
.mini-btn { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 7px; background: var(--cyan); color: var(--ink-on-cyan); font-size: 11.5px; font-weight: 650; }
.mini-btn .i { width: 12px; height: 12px; }
.mini-btn.ghost { background: #303030; color: #dcdbd7; border: 1px solid #3d3d3a; }

/* Calendar */
.cal-alerts { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 10px 14px; border-bottom: 1px solid #3d3d3a; font-size: 11.5px; color: #d5d4d0; }
.cal-alerts span { display: inline-flex; align-items: center; gap: 6px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot-red { background: var(--red); }
.dot-amber { background: var(--amber); }
.dot-teal { background: var(--teal); }
.cal-head { display: flex; align-items: center; gap: 8px; padding: 12px 14px 8px; }
.cal-head h4 { margin: 0; font-size: 15px; flex: 1; }
.cal-head .nav { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; border: 1px solid #3d3d3a; color: var(--a-muted); }
.cal-head .nav .i { width: 13px; height: 13px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; padding: 0 14px 10px; }
.cal-dow { font-size: 10.5px; color: #9a9994; text-align: center; padding: 2px 0 4px; }
.cal-day { position: relative; min-height: 48px; border-radius: 7px; background: #262626; border: 1px solid #2f2f2d; padding: 4px 5px; font-size: 11px; color: #cfcdc8; font-variant-numeric: tabular-nums; }
.cal-day.out { background: transparent; color: #5e5d59; border-color: #262626; }
.cal-day.today { border-color: #55554f; }
.cal-day.planned { border-color: var(--cyan); box-shadow: 0 0 0 1px rgba(87, 203, 233, .4) inset; }
.cal-day .dot { position: absolute; right: 5px; top: 6px; width: 6px; height: 6px; }
.cal-card { position: absolute; left: 3px; right: 3px; bottom: 3px; background: #1c2b2f; border: 1px solid #2d4b53; color: var(--bird); border-radius: 5px; font-size: 9.5px; line-height: 1.2; padding: 3px 4px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cal-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; padding: 0 14px 12px; color: #9a9994; font-size: 11px; }
@media (max-width: 520px) { .cal-day { min-height: 38px; font-size: 10px; } .cal-card { font-size: 0; min-height: 6px; padding: 0; bottom: 4px; height: 5px; } }

/* Publishing */
.pub { padding: 14px; display: grid; gap: 10px; }
.pub-title { margin: 0; font-size: 15px; }
.pub-sub { color: var(--a-muted); font-size: 12px; margin: -6px 0 2px; }
.field-row { display: grid; gap: 4px; }
.field-row label, .field-row .lbl { font-size: 11.5px; color: var(--a-muted); }
.inp { min-height: 30px; border-radius: 8px; background: #262626; border: 1px solid #3d3d3a; padding: 6px 10px; color: var(--a-text); font-size: 12.5px; }
.inp.placeholder { color: #9a9994; }
.inp-thumb { display: flex; align-items: center; gap: 10px; }
.inp-thumb img { width: 72px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
.seg { display: inline-flex; border: 1px solid #3d3d3a; border-radius: 8px; overflow: hidden; }
.seg span { padding: 5px 11px; font-size: 12px; color: var(--a-muted); border-right: 1px solid #3d3d3a; }
.seg span:last-child { border-right: 0; }
.seg .on { background: #1c2b2f; color: var(--bird); }
.pub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pub-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding-top: 4px; border-top: 1px solid #3d3d3a; margin-top: 2px; padding-top: 12px; color: #9a9994; font-size: 11px; }
.tags-row { display: flex; flex-wrap: wrap; gap: 5px; }
@media (max-width: 520px) { .pub-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ how a film moves */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 4px 18px; padding: 26px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step-n { grid-row: span 3; font-family: var(--font-serif); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--bird); }
.step h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 0 0 4px; letter-spacing: -.02em; }
.step p { margin: 0; color: #c8c7c3; max-width: 46rem; }
.who { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.who span { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; color: #d5d4d0; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.who .i { width: 13px; height: 13px; color: var(--bird); }
@media (min-width: 900px) { .step { grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1fr); } .step-n { font-size: 3.4rem; } .step .who { grid-column: 3; grid-row: 1 / span 2; align-self: start; justify-content: flex-end; margin: 0; } }

/* ------------------------------------------------------------ plans */
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.plan { display: flex; flex-direction: column; gap: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 26px 24px; }
.plan-plus { border-color: #2d4b53; background: linear-gradient(180deg, #1f2b2e 0%, #262626 60%); }
.plan-head { display: grid; gap: 6px; }
.plan-name { font-family: var(--font-serif); font-weight: 700; font-size: 1.6rem; letter-spacing: -.02em; margin: 0; }
.plan-price { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.plan-price .amount { font-family: var(--font-display); font-size: 2.8rem; font-weight: 650; letter-spacing: -.04em; line-height: 1; }
.plan-price .period { color: var(--muted); font-size: .95rem; }
.plan-blurb { margin: 0; color: #c8c7c3; }
.plan-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.plan-features li { display: grid; grid-template-columns: auto 1fr; gap: 10px; color: #d5d4d0; }
.plan-features .i { color: var(--bird); margin-top: .3em; }
.plan-note { margin: 0; font-size: .86rem; color: var(--muted); }
.plan-cta { margin-top: auto; padding-top: 8px; }
.plan-cta .btn { width: 100%; white-space: normal; text-align: center; }
.plans-foot { margin-top: 22px; display: grid; gap: 10px; color: var(--muted); font-size: .95rem; }
.plans-foot p { margin: 0; display: flex; gap: 10px; align-items: flex-start; }
.plans-foot .i { color: var(--bird); margin-top: .25em; }
.same-email { background: #1c2b2f; border: 1px solid #2d4b53; color: var(--text); border-radius: var(--r-lg); padding: 14px 16px; }

/* ------------------------------------------------------------ waitlist */
.waitlist-section { position: relative; background: radial-gradient(900px 420px at 20% 0%, #1d3940 0%, rgba(22, 22, 22, 0) 65%), var(--stage); overflow: hidden; }
.waitlist-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 980px) { .waitlist-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; } }
.waitlist { display: grid; gap: 10px; max-width: 560px; }
.wl-label { font-weight: 600; font-size: .95rem; }
.wl-row { display: grid; gap: 10px; }
@media (min-width: 560px) { .wl-row { grid-template-columns: minmax(0, 1fr) auto; } }
.wl-input {
  width: 100%; min-height: 50px; border-radius: 999px; border: 1px solid #55554f; background: #1a1a1a; color: var(--text);
  padding: 0 20px; font: 1rem var(--font-ui);
}
.wl-input::placeholder { color: #9a9994; }
.wl-input:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-color: var(--cyan); }
.wl-input[aria-invalid="true"] { border-color: var(--red); }
.wl-row .btn { min-height: 50px; }
.wl-note { margin: 0; font-size: .86rem; color: var(--muted); }
.wl-status { margin: 0; min-height: 1.5em; font-weight: 600; }
.wl-status.ok { color: var(--ok); }
.wl-status.err { color: #f0a0a6; }
.wl-fallback { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 16px; }
.wl-fallback p { margin: 0; color: #d5d4d0; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.waitlist-aside { display: grid; justify-items: start; gap: 12px; }
.waitlist-aside .hand { font-size: 1.7rem; transform: rotate(-2deg); }

/* ------------------------------------------------------------ page heroes, docs, posts */
.page-hero { padding-top: clamp(48px, 8vw, 104px); padding-bottom: clamp(32px, 5vw, 56px); }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2.5rem, 7vw, 5.4rem); letter-spacing: -.045em; line-height: .98; font-weight: 650; max-width: 16ch; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .88rem; color: var(--muted); margin-bottom: 1.2rem; }
.crumbs .i { width: 14px; height: 14px; }

.docs-index { padding-bottom: 96px; display: grid; gap: 40px; }
.docs-group-h { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.doc-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.doc-card { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: start; height: 100%; padding: 18px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line-soft); color: var(--text); text-decoration: none; transition: border-color .18s, background-color .18s; }
.doc-card:hover { border-color: #2d4b53; background: #272b2c; color: var(--text); }
.doc-card-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #1c2b2f; color: var(--bird); }
.doc-card-text { display: grid; gap: 4px; }
.doc-card-text strong { font-size: 1.05rem; }
.doc-card-text span { color: var(--muted); font-size: .94rem; line-height: 1.45; }
.doc-card-go { color: var(--muted); margin-top: 10px; }
.docs-support { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 22px; border-radius: var(--r-lg); border: 1px dashed #45453f; }
.docs-support p { margin: 0; color: #c8c7c3; }

.docs-layout { display: grid; gap: 24px; padding-top: 32px; padding-bottom: 96px; }
@media (min-width: 1000px) { .docs-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 56px; padding-top: 48px; } }
.docs-nav-details { background: var(--rail); border: 1px solid var(--line-soft); border-radius: var(--r-lg); }
.docs-nav-details summary { display: flex; align-items: center; gap: 8px; padding: 12px 14px; cursor: pointer; font-weight: 600; list-style: none; min-height: 44px; }
.docs-nav-details summary::-webkit-details-marker { display: none; }
.docs-nav-details summary .chev { margin-left: auto; transition: transform .2s; }
.docs-nav-details[open] summary .chev { transform: rotate(180deg); }
.docs-nav ol { list-style: none; margin: 0; padding: 0 8px 10px; counter-reset: d; }
.docs-nav li a { display: block; padding: 8px 10px; border-radius: 8px; color: #d5d4d0; text-decoration: none; font-size: .95rem; line-height: 1.35; }
.docs-nav li a:hover { background: var(--raised); color: var(--text); }
.docs-nav li a[aria-current="page"] { background: #1c2b2f; color: var(--bird); }
@media (min-width: 1000px) { .docs-nav { position: sticky; top: 88px; align-self: start; } }

.prose { max-width: 46rem; }
.doc h1, .post h1, .legal h1, .standalone h1 { font-family: var(--font-display); font-size: clamp(2.1rem, 5vw, 3.5rem); letter-spacing: -.04em; line-height: 1.02; font-weight: 650; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); letter-spacing: -.025em; margin: 2.2em 0 .6em; }
.prose h3 { font-size: 1.15rem; margin: 1.8em 0 .5em; letter-spacing: -.01em; }
.prose p, .prose li { color: #d5d4d0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--bird); }
.prose a { color: var(--cyan); }
.callout { margin: 1.4em 0; padding: 14px 18px; border-left: 3px solid var(--bird); background: var(--panel); border-radius: 0 var(--r) var(--r) 0; }
.callout p { margin: 0 0 .5em; color: #e2e1dd; }
.callout p:last-child { margin: 0; }
.table-wrap { overflow-x: auto; margin: 1.4em 0; border: 1px solid var(--line); border-radius: var(--r); }
table { width: 100%; border-collapse: collapse; font-size: .94rem; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; color: #d5d4d0; }
th { background: var(--rail); color: var(--text); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
.toc { margin: 1.6em 0 2em; padding: 16px 18px; border: 1px solid var(--line-soft); border-radius: var(--r-lg); background: var(--rail); max-width: 46rem; }
.toc-h { margin: 0 0 6px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2 16rem; column-gap: 32px; }
.toc li { margin: 4px 0; break-inside: avoid; }
.toc a { color: #d5d4d0; text-decoration: none; }
.toc a:hover { color: var(--cyan-hover); text-decoration: underline; }
.reviewed { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .88rem; margin-top: 2.4em; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 2em; max-width: 46rem; }
.pager a { display: flex; align-items: center; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--text); text-decoration: none; min-height: 64px; }
.pager a:hover { border-color: #2d4b53; background: var(--panel); }
.pager small { display: block; color: var(--muted); font-size: .78rem; }
.pager-next { justify-content: flex-end; text-align: right; }

.standalone, .legal, .post { padding-top: clamp(40px, 7vw, 88px); padding-bottom: 96px; }
.jump-cards ol { list-style: none; margin: 1.6em 0 2.4em; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.jump-cards a { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 52px; padding: 12px 14px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line-soft); color: var(--text); text-decoration: none; font-weight: 600; }
.jump-cards a:hover { border-color: #2d4b53; color: var(--text); background: #272b2c; }
.jump-cards .i { color: var(--bird); }
.standalone .prose h2 { scroll-margin-top: 90px; padding-top: 1.2em; border-top: 1px solid var(--line-soft); }

.draft-banner { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 28px; padding: 14px 16px; border: 1px solid var(--red); background: var(--danger-bg); border-radius: var(--r-lg); color: #f6d6d8; }
.draft-banner .i { color: #f0a0a6; width: 22px; height: 22px; margin-top: 2px; }
.draft-banner p { margin: 0; color: #f6d6d8; }
.draft-banner strong { color: #ffffff; }

.post-list { display: grid; gap: 0; padding-bottom: 96px; max-width: 900px; }
.post-card { padding: 28px 0; border-top: 1px solid var(--line); }
.post-card:last-child { border-bottom: 1px solid var(--line); }
.post-card h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 3.4vw, 2.3rem); letter-spacing: -.035em; margin: 0 0 8px; }
.post-card h2 a { color: var(--text); text-decoration: none; }
.post-card h2 a:hover { color: var(--bird); }
.post-card p { color: #c8c7c3; max-width: 44rem; }
.post-card-date { color: var(--muted); font-size: .9rem; margin-bottom: 6px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.byline { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .92rem; margin: 1.2em 0 2em; }
.post .prose { font-size: 1.1rem; }
.post .prose p { line-height: 1.7; }
.post-end { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 3em; }

.changelog { padding-bottom: 96px; }
.release { display: grid; gap: 8px 32px; padding: 30px 0; border-top: 1px solid var(--line); }
.release:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 820px) { .release { grid-template-columns: 170px minmax(0, 1fr); } }
.release-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: .92rem; align-self: start; }
@media (min-width: 820px) { .release-meta { flex-direction: column; align-items: flex-start; position: sticky; top: 90px; } }
.release-meta .tag { font-family: var(--font-mono); }
.release h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); letter-spacing: -.025em; margin: 0 0 8px; }
.release-summary { color: #c8c7c3; }
.release .prose ul { margin-bottom: 0; }

/* Pricing page */
.faq { display: grid; gap: 0; max-width: 52rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 14px 0; cursor: pointer; font-weight: 600; font-size: 1.08rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { margin-left: auto; color: var(--muted); transition: transform .2s; }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details > div { padding: 0 0 18px; color: #c8c7c3; max-width: 46rem; }
.faq details > div p:last-child { margin: 0; }

/* Download page */
.dl-grid { display: grid; gap: 32px; padding-bottom: 96px; }
@media (min-width: 980px) { .dl-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; } }
.card { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--r-xl); padding: clamp(20px, 3vw, 30px); }
.card h2 { font-size: 1.3rem; letter-spacing: -.02em; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: auto 1fr; gap: 12px; color: #d5d4d0; }
.checklist .i { color: var(--bird); margin-top: .3em; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #2c231b; border: 1px solid #5a4430; color: #f0c48f; font-size: .88rem; font-weight: 600; }

/* Account page */
.account-grid { display: grid; gap: 24px; padding-bottom: 96px; }
@media (min-width: 980px) { .account-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; } }
.acct-panel[hidden] { display: none; }
.form-row { display: grid; gap: 8px; margin-bottom: 14px; }
.form-row label { font-weight: 600; font-size: .95rem; }
.input { width: 100%; min-height: 48px; border-radius: var(--r); border: 1px solid #55554f; background: #1a1a1a; color: var(--text); padding: 0 14px; font: 1rem var(--font-ui); }
.input:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-color: var(--cyan); }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .86rem; margin: 18px 0; }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.acct-status { min-height: 1.5em; margin: 12px 0 0; font-weight: 600; }
.acct-status.ok { color: var(--ok); }
.acct-status.err { color: #f0a0a6; }
.kv { display: grid; grid-template-columns: minmax(110px, auto) 1fr; gap: 10px 18px; margin: 0 0 18px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.plan-badge { display: inline-flex; align-items: center; gap: 8px; }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r); background: var(--rail); border: 1px solid var(--line); color: #d5d4d0; font-size: .95rem; }
.notice .i { color: var(--bird); margin-top: .2em; }
.notice p { margin: 0; }

/* 404 */
.notfound .mark { display: block; margin-bottom: 20px; }

/* ------------------------------------------------------------ footer */
.site-footer { background: var(--rail); border-top: 1px solid var(--line-soft); padding: 56px 0 28px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.footer-brand { grid-column: 1 / -1; max-width: 22rem; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }
.footer-tag { color: var(--muted); font-size: .95rem; margin: 14px 0 6px; }
.footer-hand { font-size: 1.3rem; transform: rotate(-2deg); display: inline-block; }
.footer-h { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-col a { display: inline-block; padding: 5px 0; color: #d5d4d0; text-decoration: none; font-size: .95rem; }
.footer-col a:hover { color: var(--cyan-hover); text-decoration: underline; }
.footer-legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.footer-legal p { margin: 0; font-size: .82rem; color: var(--faint); max-width: 70rem; }

/* ------------------------------------------------------------ reveals (start visible) */
.js .reveal-pending { transform: translate3d(0, 26px, 0); }
.js .reveal { transition: transform .8s var(--ease); }
.js .reveal-media.reveal-pending { transform: translate3d(0, 34px, 0) scale(.97); }
.js .shot .pen-title::after { content: ""; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal-pending { transform: none !important; }
  .monitor { transform: none !important; }
  .mark .wind { display: none; }
}
.media-stack { display: grid; gap: 12px; }
.step-media { margin: 16px 0 0; grid-column: 2; max-width: 520px; }
.step-media figcaption { margin-top: 8px; font-size: .84rem; color: var(--muted); }
.step-media figcaption .hand { font-size: 1.15rem; margin-right: 6px; }
@media (max-width: 899px) { .step-media { grid-column: 1 / -1; } }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (max-width: 899px) {
  .step h3, .step p, .step .who, .step-media { grid-column: 2; }
  .step-n { grid-row: span 4; }
}
@media (max-width: 520px) { .app-chat .app-top .ctx { display: none; } }
.changelog { max-width: 980px; }

/* Pen stroke under each feature title: drawn when the row scrolls into view. */
.shot-title em { position: relative; display: inline-block; }
.pen-wide { left: 0; width: 100%; height: 16px; bottom: -8px; transform: none; }
.pen-wide path { stroke-width: 1.8; stroke-dasharray: 60; }
.js .shot .pen-wide path { animation: none; }
.js .shot.reveal-pending .pen-wide path { stroke-dashoffset: 60; }
.js .shot.reveal:not(.reveal-pending) .pen-wide path { animation: pen-draw .8s var(--ease) .35s both; }

/* Account page: "accounts are created in the app" line under the sign-in options. */
.acct-new { margin-top: 18px; }

/* ------------------------------------------------------------ waitlist states, dialog, footer band, leave page (28 Sep) */
.wl-consent { font-size: .82rem; line-height: 1.5; }
.wl-status { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.wl-status[data-state="sending"], .wl-status[data-state="removing"] { color: var(--muted); font-weight: 500; }
.wl-status[data-state="offline"] { color: #f2c98d; }
.wl-undo { font: 500 .88rem var(--font-ui); color: var(--muted); background: none; border: 0; padding: 4px 0; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.wl-undo:hover { color: var(--text); }
.wl-undo[disabled] { opacity: .6; cursor: default; }
.waitlist[aria-busy="true"] .btn-primary { cursor: progress; }

.wl-dialog { width: min(560px, calc(100vw - 2 * var(--gutter))); max-height: calc(100dvh - 32px); margin: auto; padding: 0; color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .8); overflow: auto; }
.wl-dialog::backdrop { background: rgba(8, 10, 11, .72); backdrop-filter: blur(3px); }
.wl-dialog[open] { animation: wl-in .26s var(--ease) both; }
.wl-dialog[open]::backdrop { animation: wl-fade .26s ease both; }
@keyframes wl-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes wl-fade { from { opacity: 0; } to { opacity: 1; } }
.wl-dialog-inner { position: relative; padding: clamp(22px, 4vw, 34px); }
.wl-dialog h2 { font-size: clamp(1.45rem, 3.4vw, 1.8rem); margin-bottom: .35em; padding-right: 44px; }
.wl-dialog-lead { color: var(--muted); margin: 0 0 18px; }
.wl-dialog .kicker { margin-bottom: .7rem; }
.wl-dialog-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; }
.wl-dialog-close:hover { background: var(--raised); }
.wl-dialog-close .i { width: 20px; height: 20px; }
.wl-dialog-open body { overflow: hidden; }

.footer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-bottom: 44px; padding: 20px 22px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--r-lg); }
.footer-cta p { margin: 0; color: #d5d4d0; }
.footer-cta p span { color: var(--muted); }

.leave-card { max-width: 620px; display: grid; gap: 14px; }
.leave-card p { margin: 0; }
.leave-actions:empty { display: none; }

@media (prefers-reduced-motion: reduce) {
  .wl-dialog[open], .wl-dialog[open]::backdrop { animation: none !important; }
}
