/* ==========================================================================
   SweetDeck marketing site. Plain CSS, no build step.
   Two palettes: the page (Apple-style light/dark sections) and the app mock
   (the shell's real tokens from src/style.css, so the recreation matches).
   ========================================================================== */

:root {
  --page: #ffffff;
  --page-gray: #f5f5f7;
  --page-dark: #000000;
  --ink: #1d1d1f;
  --ink-muted: #6e6e73;
  --ink-on-dark: #f5f5f7;
  --ink-on-dark-muted: #a1a1a6;
  --blue: #2997ff;
  --blue-deep: #0071e3;
  --wrap: 980px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Inter, Arial, sans-serif;

  /* App shell tokens (src/style.css) */
  --app-bg: #0b0d10;
  --app-elev: #14181d;
  --app-elev-2: #1b2127;
  --app-border: #262d35;
  --app-text: #e6e9ee;
  --app-muted: #8a94a0;
  --app-accent: #4f8cff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font);
  color: var(--ink);
  background: var(--page);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; }

.wrap { width: min(var(--wrap), calc(100% - 32px)); margin: 0 auto; text-align: center; }

/* ------------------------------------------------------------------ nav */

.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  color: var(--ink-on-dark);
  font-size: 13px;
}
.nav__inner {
  width: min(var(--wrap), calc(100% - 32px)); margin: 0 auto;
  height: 48px; display: flex; align-items: center; justify-content: space-between;
}
.nav__brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.nav__brand img { border-radius: 6px; }
.nav__links { display: flex; align-items: center; gap: 28px; opacity: 0.9; }
.nav__links a:hover { opacity: 1; color: #fff; }
.nav__cta { background: var(--blue-deep); color: #fff; padding: 5px 12px; border-radius: 999px; }

/* ----------------------------------------------------------------- hero */

.hero {
  background: var(--page-dark);
  color: var(--ink-on-dark);
  padding: 96px 0 0;
  overflow: hidden;
}
.hero__title {
  font-size: clamp(44px, 8vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.hero__cta { display: flex; justify-content: center; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 160px; padding: 12px 24px; border-radius: 999px;
  font-size: 17px; font-weight: 500; transition: background 150ms ease, color 150ms ease;
}
.btn--primary { background: var(--blue-deep); color: #fff; }
.btn--primary:hover { background: #0077ed; }
.btn--ghost { border: 1px solid rgba(255, 255, 255, 0.35); color: #fff; }
.btn--ghost:hover { border-color: #fff; }

/* The stage holds a fixed-size mock and scales it to the available width. */
.stage {
  width: min(1280px, calc(100% - 32px));
  margin: 64px auto 0;
  position: relative;
  overflow: hidden;
}
.stage > * { transform-origin: top left; }

/* ------------------------------------------------------- mac window mock */

.mac {
  width: 1280px;
  border-radius: 12px 12px 0 0;
  background: var(--app-bg);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.12), 0 40px 120px rgba(41, 151, 255, 0.12), 0 24px 60px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  font-family: var(--font);
  font-size: 13px;
  color: var(--app-text);
  line-height: 1.4;
  user-select: none;
}
.mac__bar { position: relative; height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: #1e2227; border-bottom: 1px solid #000; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot--r { background: #ff5f57; } .dot--y { background: #febc2e; } .dot--g { background: #28c840; }
.mac__title { position: absolute; left: 0; right: 0; text-align: center; color: var(--app-muted); font-weight: 600; font-size: 13px; pointer-events: none; }

.app { display: grid; grid-template-rows: auto auto auto 1fr; height: 720px; }
.app__top {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  height: 44px; padding: 0 12px; background: var(--app-elev); border-bottom: 1px solid var(--app-border);
}
.app__brand { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.app__logo { color: var(--app-accent); font-size: 18px; }
.app__width { display: flex; align-items: center; gap: 8px; color: var(--app-muted); justify-self: center; }
.app__width .num { min-width: 3ch; font-variant-numeric: tabular-nums; }
.range { position: relative; width: 120px; height: 4px; border-radius: 2px; background: #3a4552; }
.range i { position: absolute; top: 50%; left: calc(var(--v, .5) * 100%); width: 14px; height: 14px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); box-shadow: 0 1px 3px rgba(0,0,0,.6); }
.range::before { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v, .5) * 100%); border-radius: 2px; background: var(--app-accent); }
.app__actions { display: flex; justify-content: flex-end; gap: 6px; }

.abtn {
  display: inline-flex; align-items: center; gap: 4px;
  border: 1px solid var(--app-border); background: var(--app-elev-2); color: var(--app-text);
  border-radius: 6px; padding: 4px 10px; line-height: 1.2; font-size: 13px; white-space: nowrap;
}
.abtn--primary { background: var(--app-accent); border-color: var(--app-accent); color: #fff; }
.abtn--on { color: var(--app-accent); border-color: var(--app-accent); }
.pill { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 9px; background: var(--app-accent); color: #fff; font-size: 11px; font-style: normal; text-align: center; margin-left: 2px; }

.app__tabs { display: flex; gap: 4px; padding: 6px 12px 0; background: var(--app-elev); }
.atab {
  flex: 1 1 0; max-width: 200px; display: flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px;
  border: 1px solid transparent; border-radius: 6px; font-size: 11px; font-weight: 600;
  color: color-mix(in srgb, var(--app-accent) 45%, var(--app-muted));
  background: color-mix(in srgb, var(--app-accent) 10%, var(--app-bg));
  white-space: nowrap; overflow: hidden;
}
.atab.is-visible { color: var(--app-text); border-color: color-mix(in srgb, var(--app-accent) 70%, transparent); background: color-mix(in srgb, var(--app-accent) 22%, var(--app-elev-2)); }
.app__bar { height: 18px; padding: 4px 12px 6px; background: var(--app-elev); border-bottom: 1px solid var(--app-border); }
.app__bar i { display: block; height: 100%; width: calc(var(--w, .6) * 100%); border-radius: 4px; background: color-mix(in srgb, var(--app-accent) 70%, var(--app-elev-2)); }

.badge { flex: none; padding: 1px 5px; border-radius: 4px; font-size: 10px; font-weight: 700; font-style: normal; color: #fff; background: var(--app-accent); line-height: 1.4; }
.badge--x { background: #000; border: 1px solid #333; }
.badge--threads { background: #101010; border: 1px solid #333; }
.badge--facebook { background: #1877f2; }
.badge--linkedin { background: #0a66c2; }
.badge--instagram { background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); }
.badge--tiktok { background: #000; border: 1px solid #333; color: #69c9d0; }

.app__deck { display: flex; gap: 8px; padding: 8px; min-height: 0; overflow: hidden; }
.col {
  flex: 0 0 400px; width: 400px; display: flex; flex-direction: column; min-height: 0;
  background: var(--app-elev); border: 1px solid var(--app-border); border-radius: 10px; overflow: hidden;
}
.col__head {
  display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 8px;
  height: 36px; padding: 0 6px; border-bottom: 1px solid var(--app-border);
}
.grip { color: var(--app-muted); opacity: .55; font-size: 14px; }
.col__title { display: flex; flex-direction: column; line-height: 1.15; font-weight: 600; font-size: 12px; min-width: 0; }
.col__title small { font-weight: 400; color: var(--app-muted); font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.col__icons { color: var(--app-muted); letter-spacing: 6px; font-size: 12px; }
.col__body { position: relative; flex: 1; min-height: 0; overflow: hidden; background: var(--site-bg, #000); }

/* Site mock palettes (per platform) */
.col[data-p="x"], .mini[data-p="x"] { --site-bg: #000; --site-line: #2f3336; --site-text: #e7e9ea; --site-muted: #71767b; --site-tint: #1d9bf0; }
.col[data-p="threads"], .mini[data-p="threads"] { --site-bg: #0a0a0a; --site-line: #2d2d2d; --site-text: #f3f5f7; --site-muted: #777; --site-tint: #fff; }
.col[data-p="linkedin"], .mini[data-p="linkedin"] { --site-bg: #f4f2ee; --site-line: #e0dfdc; --site-text: #1f1f1f; --site-muted: #666; --site-tint: #0a66c2; --site-card: #fff; }
.col[data-p="facebook"], .mini[data-p="facebook"] { --site-bg: #18191a; --site-line: #3e4042; --site-text: #e4e6eb; --site-muted: #b0b3b8; --site-tint: #2d88ff; --site-card: #242526; }

/* Skeleton feed, generated by site.js. Scrolls on a loop in the hero. */
.feed { position: absolute; inset: 0; padding: 0; color: var(--site-text); }
.feed__track { display: flex; flex-direction: column; will-change: transform; }
.feed.is-live .feed__track { animation: feed-scroll var(--dur, 40s) linear infinite; }
@keyframes feed-scroll { to { transform: translateY(-50%); } }
.post { display: grid; grid-template-columns: 40px 1fr; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--site-line); background: var(--site-card, transparent); }
.post__av { width: 40px; height: 40px; border-radius: 50%; background: var(--av, #556); }
.post__name { display: flex; gap: 6px; align-items: center; margin-bottom: 6px; }
.post__name b { display: block; height: 10px; width: var(--nw, 70px); border-radius: 5px; background: var(--site-text); opacity: .85; }
.post__name i { display: block; height: 8px; width: 46px; border-radius: 4px; background: var(--site-muted); opacity: .6; }
.line { height: 9px; border-radius: 5px; background: var(--site-text); opacity: .55; margin-top: 7px; width: var(--lw, 100%); }
.post__img { margin-top: 10px; height: var(--ih, 150px); border-radius: 12px; background: linear-gradient(135deg, var(--img-a, #334), var(--img-b, #556)); }
.post__acts { display: flex; gap: 22px; margin-top: 12px; }
.post__acts i { display: block; width: 16px; height: 12px; border-radius: 3px; background: var(--site-muted); opacity: .5; }
.post__acts i:first-child { background: var(--site-tint); opacity: .7; }

/* ------------------------------------------------------------- sections */

.section { padding: 112px 0; }
.section--light { background: var(--page); }
.section--gray { background: var(--page-gray); }
.section--dark { background: var(--page-dark); color: var(--ink-on-dark); }
.h2 { font-size: clamp(34px, 5.5vw, 56px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 700; }
.lede { margin: 20px auto 0; max-width: 680px; font-size: clamp(17px, 2vw, 21px); line-height: 1.45; color: var(--ink-muted); }
.section--dark .lede { color: var(--ink-on-dark-muted); }

/* platforms (features card) */
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 16px; width: 100%; max-width: 420px; margin: 0 auto; font-size: 14px; font-weight: 600; color: var(--ink); }
.platforms li { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.plogo { width: 60px; height: 60px; border-radius: 17px; display: grid; place-items: center; font-size: 26px; font-weight: 700; color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.plogo--x, .plogo--threads { background: #000; }
.plogo--facebook { background: #1877f2; font-family: Georgia, serif; font-size: 34px; }
.plogo--linkedin { background: #0a66c2; font-size: 24px; }
.plogo--instagram { background: linear-gradient(45deg, #f9ce34, #ee2a7b 50%, #6228d7); }
.plogo--tiktok { background: #000; color: #69c9d0; text-shadow: 2px 2px 0 #ee1d52; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 56px; text-align: left; }
.card {
  background: #fff; border-radius: 28px; padding: 36px 36px 0; min-height: 360px;
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.card > *, .card--wide > * { min-width: 0; }
.card--wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; padding-bottom: 36px; align-items: center; }
.card h3 { font-size: 28px; letter-spacing: -0.02em; line-height: 1.15; font-weight: 700; }
.card p { margin-top: 12px; font-size: 17px; color: var(--ink-muted); line-height: 1.45; }
.card__media { flex: 1; margin-top: 28px; display: flex; align-items: flex-end; min-height: 0; }
.card__media--center { align-items: center; justify-content: center; padding-bottom: 36px; }
.card--wide .card__media { margin-top: 0; align-items: center; justify-content: center; }

/* before/after strip */
.strip { display: flex; align-items: center; gap: 16px; width: 100%; }
.strip__pane { position: relative; flex: 1; height: 220px; border-radius: 14px; background: #000; display: flex; gap: 8px; padding: 12px; border: 1px solid #222; }
.strip__arrow { font-size: 28px; color: var(--ink-muted); }
.sk { border-radius: 8px; background: repeating-linear-gradient(0deg, #1f2328 0 24px, #15181c 24px 30px); }
.sk--rail { flex: 0 0 34px; background: #15181c; }
.sk--side { flex: 0 0 90px; }
.sk--feed { flex: 1; }
.sk--full { flex: 1; background: repeating-linear-gradient(0deg, #262b31 0 42px, #0e1114 42px 50px); }
.tag { position: absolute; left: 12px; bottom: 12px; font-size: 11px; font-weight: 600; color: #fff; background: rgba(255,255,255,.14); padding: 3px 8px; border-radius: 999px; }
.tag--on { background: var(--blue-deep); }

/* shield / stat / keys / twins */
.shield { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; padding: 26px 40px; border-radius: 22px; background: var(--app-elev); color: var(--app-accent); border: 1px solid var(--app-accent); box-shadow: 0 0 0 8px rgba(79,140,255,.08), 0 0 48px rgba(79,140,255,.25); }
.shield span { font-size: 44px; line-height: 1; }
.shield b { font-size: 18px; color: var(--app-text); }
.shield i { font-style: normal; font-size: 12px; color: var(--app-muted); }
.stat { text-align: center; }
.stat b { display: block; font-size: 56px; letter-spacing: -0.03em; line-height: 1; background: linear-gradient(90deg, #2997ff, #7fb3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat i { display: block; margin-top: 10px; font-style: normal; color: var(--ink-muted); font-size: 15px; }
.keys { display: inline-flex; align-items: center; gap: 14px; }
.keys span { font-size: 28px; font-weight: 600; padding: 14px 22px; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 0 1px 0 #cfcfd4, 0 6px 14px rgba(0,0,0,.12), inset 0 -3px 0 #e3e3e8; }
.keys i { font-style: normal; color: var(--ink-muted); font-size: 15px; }
.twins { display: flex; gap: 16px; }
.twin { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 22px; border-radius: 16px; background: var(--app-elev); border: 1px solid var(--app-border); color: var(--app-text); font-size: 13px; }
.twin__av { width: 48px; height: 48px; border-radius: 50%; }
.twin__av--a { background: linear-gradient(135deg, #f7971e, #ffd200); }
.twin__av--b { background: linear-gradient(135deg, #7f00ff, #e100ff); }

/* interactive mini deck */
.slider { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: 14px; color: var(--ink-muted); }
.slider input { flex: 1; max-width: 260px; accent-color: var(--blue-deep); }
.slider output { min-width: 3ch; font-variant-numeric: tabular-nums; color: var(--ink); }
.minideck { --cw: 420; min-width: 0; display: flex; gap: 6px; width: 100%; height: 260px; padding: 8px; border-radius: 14px; background: var(--app-bg); overflow: hidden; }
.mini { position: relative; flex: 0 0 calc(var(--cw) * 0.3px); border: 1px solid var(--app-border); border-radius: 8px; overflow: hidden; background: var(--site-bg); transition: flex-basis 200ms ease; }
.mini .badge { position: absolute; top: 6px; left: 6px; z-index: 1; }
.mini .feed { top: 0; font-size: 8px; }
.mini .post { grid-template-columns: 20px 1fr; gap: 6px; padding: 8px; }
.mini .post__av { width: 20px; height: 20px; }
.mini .post__name b { height: 6px; width: calc(var(--nw, 70px) * .5); } .mini .post__name i { height: 5px; width: 24px; }
.mini .line { height: 5px; margin-top: 4px; }
.mini .post__img { height: calc(var(--ih, 150px) * .5); border-radius: 6px; margin-top: 6px; }
.mini .post__acts { gap: 10px; margin-top: 6px; } .mini .post__acts i { width: 9px; height: 7px; }
.mini:first-child .post { padding-top: 10px; }
.mini:first-child .feed__track { padding-top: 22px; }
.mini .feed__track { padding-top: 22px; }

/* compose dialog mockup (features card) */

.dlg {
  width: 100%; max-width: 560px; margin: 0 auto;
  border: 1px solid var(--app-border); border-radius: 12px; background: var(--app-elev); color: var(--app-text);
  padding: 18px 20px 16px; display: flex; flex-direction: column; gap: 10px; font-size: 13px;
  box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 80px rgba(79,140,255,.12);
}
.card .dlg { box-shadow: 0 16px 40px rgba(0,0,0,.18); }
.dlg h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.dlg__label { color: var(--app-muted); font-size: 12px; }
.dlg__textarea { min-height: 96px; padding: 8px 10px; border: 1px solid var(--app-accent); border-radius: 6px; background: var(--app-bg); line-height: 1.5; font-size: 13px; }
.caret { display: inline-block; width: 1px; height: 14px; background: var(--app-text); vertical-align: -2px; margin-left: 1px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.dlg__hint { color: var(--app-muted); font-size: 11px; margin-top: -6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--app-border); border-radius: 999px; background: var(--app-elev-2); font-size: 12px; }
.chip i { width: 12px; height: 12px; border-radius: 3px; border: 1px solid var(--app-muted); }
.chip.is-on { border-color: var(--app-accent); box-shadow: inset 0 0 0 1px var(--app-accent); }
.chip.is-on i { background: var(--app-accent); border-color: var(--app-accent); }
.chip--muted { color: var(--app-muted); }
.dlg__row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.dlg__when { color: var(--app-muted); } .dlg__when b { color: var(--app-text); font-weight: 600; }
.dlg__btns { display: flex; gap: 6px; }

/* download */
.section--download { text-align: center; }
.download__icon { margin: 0 auto 24px; filter: drop-shadow(0 20px 40px rgba(79,140,255,.35)); }
.hero__cta--section { margin-top: 32px; }
.hero__price { margin-top: 18px; font-size: 15px; color: var(--ink-on-dark-muted); }
.hero__price strong { color: var(--ink-on-dark); font-weight: 600; }
.code { padding: 2px 8px; border-radius: 6px; background: #1c1c1e; border: 1px solid #333; color: var(--ink-on-dark); font-size: 14px; letter-spacing: 0.04em; user-select: all; -webkit-user-select: all; }

/* price + launch offer */
.pricing { display: flex; justify-content: center; align-items: stretch; gap: 20px; margin-top: 40px; flex-wrap: wrap; }
.price { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; min-width: 200px; padding: 26px 32px; border-radius: 22px; background: #111; border: 1px solid #262626; }
.price__amount { font-size: 64px; line-height: 1; letter-spacing: -0.04em; font-weight: 700; }
.price__meta { font-size: 14px; line-height: 1.4; color: var(--ink-on-dark-muted); text-align: center; }
.offer { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; min-width: 300px; padding: 26px 32px; border-radius: 22px; background: linear-gradient(135deg, #0a2a5e, #0b1a33); border: 1px solid #1e4b9a; box-shadow: 0 0 60px rgba(41, 151, 255, .18); }
.offer__kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); }
.offer__text { font-size: 28px; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
.offer__how { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 4px; font-size: 15px; color: var(--ink-on-dark-muted); }
.offer .code { font-size: 15px; padding: 3px 10px; background: #000; border-color: #2f5fa8; }
.copy { font: inherit; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid #2f5fa8; background: transparent; color: var(--blue); cursor: pointer; }
.copy:hover { background: rgba(41, 151, 255, .15); }
.copy.is-done { color: #30d158; border-color: #30d158; }
.downloads { display: flex; justify-content: center; gap: 20px; margin-top: 44px; flex-wrap: wrap; }
.dl {
  display: flex; flex-direction: column; align-items: center; gap: 8px; width: 300px; padding: 28px 24px;
  border-radius: 22px; background: #111; border: 1px solid #262626; transition: border-color 150ms ease, transform 150ms ease;
}
.dl:hover { border-color: #555; transform: translateY(-2px); }
.dl b { font-size: 24px; letter-spacing: -0.02em; }
.dl span { color: var(--ink-on-dark-muted); font-size: 14px; line-height: 1.4; }
.dl i { margin-top: auto; padding-top: 10px; font-style: normal; color: var(--blue); font-weight: 500; }

.footer { background: var(--page-gray); padding: 32px 0; font-size: 12px; color: var(--ink-muted); line-height: 1.6; }
.footer .wrap { max-width: 720px; }
.footer p + p { margin-top: 6px; }

/* --------------------------------------------------------------- mobile */

@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; }
  .card--wide { grid-column: auto; grid-template-columns: 1fr; padding-bottom: 0; }
  .card--wide .card__media { margin-top: 24px; padding-bottom: 28px; }
  .section { padding: 80px 0; }
  .nav__links { gap: 18px; }
}
@media (max-width: 600px) {
  .nav__links a:not(.nav__cta) { display: none; }
  .hero { padding-top: 64px; }
  .card { padding: 28px 24px 0; min-height: 0; }
  .card h3 { font-size: 24px; }
  .strip__pane { height: 160px; }
  .stage { margin-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .feed.is-live .feed__track { animation: none; }
  .caret { animation: none; }
  .mini { transition: none; }
}

/* ------------------------------------------------------------ doc pages */

.doc-page { background: var(--page); }
.doc { width: min(680px, calc(100% - 32px)); margin: 0 auto; padding: 72px 0 96px; font-size: 17px; line-height: 1.55; }
.doc__kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--blue-deep); }
.doc h1 { margin-top: 8px; font-size: clamp(34px, 5vw, 48px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 700; }
.doc__lede { margin-top: 20px; font-size: 21px; line-height: 1.4; color: var(--ink); }
.doc h2 { margin-top: 48px; font-size: 24px; letter-spacing: -0.02em; font-weight: 700; }
.doc p { margin-top: 14px; color: var(--ink-muted); }
.doc p strong, .doc li strong { color: var(--ink); }
.doc a { color: var(--blue-deep); }
.doc a:hover { text-decoration: underline; }
.doc__table { width: 100%; margin-top: 20px; border-collapse: collapse; font-size: 15px; }
.doc__table th, .doc__table td { padding: 12px 10px; border-top: 1px solid #e5e5ea; text-align: left; vertical-align: top; }
.doc__table thead th { border-top: 0; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-muted); }
.doc__table tbody th { white-space: nowrap; font-weight: 600; width: 1%; }
.doc__table td { color: var(--ink-muted); }
.doc__table td a { display: block; margin-top: 4px; font-size: 13px; }
.doc__list { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; color: var(--ink-muted); }
.doc__list li { padding-left: 22px; position: relative; }
.doc__list li::before { content: "•"; position: absolute; left: 6px; color: var(--blue-deep); }
.doc__foot { margin-top: 48px; font-size: 14px; }
.downloads { margin-top: 48px; }
.terms-note { margin-top: 20px; font-size: 14px; color: var(--ink-on-dark-muted); max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.5; }
.terms-note a { color: var(--blue); }
.footer a { color: var(--ink); }
