/* Homepage (2026-11 redesign): "Ship Log" layout with does / doesn't lists.
   Self-contained on purpose: styles.css carries older, conflicting page rules.
   Brand tokens from DESIGN.md: accent #0b5fff, navy #05101d, DM Sans. */

:root {
  --bg: oklch(0.985 0.004 262);
  --surface: oklch(1 0 0);
  --ink: oklch(0.21 0.035 262);
  --ink-2: oklch(0.42 0.03 262);
  --rule: oklch(0.89 0.012 262);
  --rule-strong: oklch(0.80 0.02 262);
  --tint: oklch(0.965 0.01 262);
  --accent: oklch(0.53 0.24 263);          /* #0b5fff */
  --accent-hover: oklch(0.46 0.22 263);
  --navy: oklch(0.17 0.03 255);            /* #05101d */
  --shipped: oklch(0.50 0.13 150);
  --pilot: oklch(0.52 0.12 65);
  --doesnt: oklch(0.55 0.13 55);
  --sans: "DM Sans", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, monospace;
  --wrap: min(1160px, calc(100vw - 40px));
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --z-skip: 30;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { width: var(--wrap); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: 0.8125rem; letter-spacing: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: var(--surface); padding: 8px 12px; z-index: var(--z-skip); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Header */
.top { border-bottom: 1px solid var(--rule); background: var(--surface); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; min-height: 68px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; }
.brand small { display: block; font: 500 0.75rem/1.2 var(--sans); color: var(--ink-2); letter-spacing: 0; }
.nav { display: flex; gap: 22px; margin-left: auto; font-weight: 600; font-size: 0.95rem; }
.nav a { text-decoration: none; color: var(--ink-2); white-space: nowrap; }
.nav a:hover { color: var(--ink); }
.lang { display: flex; border: 1px solid var(--rule-strong); border-radius: 999px; padding: 2px; }
.lang button {
  font: 600 0.78rem/1 var(--sans); color: var(--ink-2);
  background: none; border: 0; border-radius: 999px; padding: 6px 10px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--surface); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 8px;
  font: 700 0.95rem/1 var(--sans); text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn-solid { background: var(--accent); color: oklch(1 0 0); }
.btn-solid:hover { background: var(--accent-hover); }
.btn-line { border: 1px solid var(--rule-strong); color: var(--ink); background: var(--surface); }
.btn-line:hover { border-color: var(--ink); }

/* Hero */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); line-height: 1.04; font-weight: 800; letter-spacing: -0.03em; }
.hero p.lede { margin-top: 22px; max-width: 34em; font-size: 1.15rem; color: var(--ink-2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* What's live */
.ledger { background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; }
.ledger-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--rule); }
.ledger-head h2 { font-size: 1rem; font-weight: 800; letter-spacing: -0.005em; }
.ledger-head .mono { color: var(--ink-2); }
.ledger li + li { border-top: 1px solid var(--rule); }
.ledger a.row {
  display: grid; grid-template-columns: 5.6rem 1fr auto; gap: 4px 16px; align-items: baseline;
  padding: 16px 20px; text-decoration: none;
  transition: background-color 0.2s var(--ease);
  animation: rise 0.7s var(--ease) both;
}
.ledger li:nth-child(2) a.row { animation-delay: 0.08s; }
.ledger li:nth-child(3) a.row { animation-delay: 0.16s; }
.ledger li:nth-child(4) a.row { animation-delay: 0.24s; }
.ledger a.row:hover { background: oklch(0.975 0.008 262); }
.ledger time { color: var(--ink-2); }
.ledger strong { font-size: 1.05rem; font-weight: 700; }
.ledger .what { grid-column: 2; color: var(--ink-2); font-size: 0.95rem; }
.status { grid-row: 1 / span 2; grid-column: 3; justify-self: end; white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; font-weight: 500; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.s-shipped { color: var(--shipped); }
.s-pilot { color: var(--pilot); }
.s-beta { color: var(--accent); }
/* Motion only, never visibility: if animations are paused, rows still show. */
@keyframes rise { from { transform: translateY(10px); } }

/* Products */
section.product { padding: clamp(56px, 8vw, 104px) 0; border-top: 1px solid var(--rule); }
.product h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); line-height: 1.12; font-weight: 800; max-width: 22em; }
.product .body { margin-top: 16px; max-width: 38em; color: var(--ink-2); font-size: 1.08rem; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 20px; color: var(--ink-2); }
.facts span + span::before { content: "/"; margin-right: 18px; color: var(--rule-strong); }
.product .actions { margin-top: 28px; }
.shot { border-radius: 12px; border: 1px solid var(--rule); overflow: hidden; background: var(--surface); }

.lists { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 4vw, 48px); margin-top: 28px; max-width: 52rem; }
.lists h3 { font: 500 0.8rem/1 var(--mono); letter-spacing: 0.04em; color: var(--ink-2); padding-bottom: 12px; border-bottom: 1px solid var(--rule-strong); }
.lists li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 0.98rem; }
.mark { width: 18px; height: 18px; margin-top: 3px; }
.mark-does { color: var(--accent); }
.mark-doesnt { color: var(--doesnt); }

.p-socialbar .shot { margin-top: 40px; }
.p-clearwaive .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.p-clearwaive .lists { grid-template-columns: 1fr; gap: 24px; }
.video { position: relative; display: block; text-decoration: none; }
.video .play {
  position: absolute; left: 20px; bottom: 20px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 12px; border-radius: 999px;
  background: var(--ink); color: oklch(1 0 0); font-weight: 700; font-size: 0.95rem;
  transition: background-color 0.2s var(--ease);
}
.video:hover .play { background: var(--accent); }
.video .play svg { width: 22px; height: 22px; }
.p-counterops .pair { display: grid; grid-template-columns: 1fr 0.32fr; gap: 20px; margin-top: 40px; align-items: end; }

/* Downloads strip */
.extra { padding: 40px 0; border-top: 1px solid var(--rule); }
.extra .wrap { display: grid; grid-template-columns: 220px 1fr auto; gap: 24px; align-items: center; }
.extra img { border-radius: 8px; border: 1px solid var(--rule); }
.extra h2 { font-size: 1.2rem; font-weight: 800; }
.extra p { color: var(--ink-2); margin-top: 4px; }

/* How releases work */
.ship { padding: clamp(56px, 8vw, 104px) 0; background: var(--navy); color: oklch(0.96 0.01 262); }
.ship h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); line-height: 1.12; font-weight: 800; max-width: 18em; }
.ship dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 40px; margin: 40px 0 0; }
.ship dl > div { padding: 20px 0; border-top: 1px solid oklch(0.36 0.03 255); }
.ship dt { font-weight: 700; font-size: 1.05rem; }
.ship dd { margin: 6px 0 0; color: oklch(0.80 0.02 262); }

/* Hire */
.hire { padding: clamp(56px, 8vw, 104px) 0; }
.hire .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); }
.hire h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); line-height: 1.12; font-weight: 800; }
.hire .body { margin-top: 16px; color: var(--ink-2); font-size: 1.08rem; max-width: 30em; }
.hire dl { margin: 0; border-top: 1px solid var(--rule); }
.hire dl div { padding: 18px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 9.5rem 1fr; gap: 16px; }
.hire dt { font-weight: 700; }
.hire dd { margin: 0; color: var(--ink-2); }

/* Captions under product screenshots */
.shot figcaption { padding: 10px 14px; border-top: 1px solid var(--rule); color: var(--ink-2); font-size: 0.9rem; }

/* Document pages (Support, Privacy) and product pages (SocialBar) */
.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(28px, 4vw, 40px); }
.page-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.06; font-weight: 800; letter-spacing: -0.03em; max-width: 20em; }
.page-head .lede { margin-top: 18px; max-width: 40em; font-size: 1.12rem; color: var(--ink-2); }
.page-head .updated { margin-top: 14px; color: var(--ink-2); }
.doc { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 6vw, 72px); align-items: start; padding-bottom: clamp(56px, 8vw, 104px); }
.prose { max-width: 68ch; }
.prose h2 { font-size: 1.45rem; font-weight: 800; margin: 40px 0 10px; }
.prose > h2:first-child, .prose > section:first-child > h2 { margin-top: 0; }
.prose h3 { font-size: 1.1rem; font-weight: 700; margin: 24px 0 6px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 1.2rem; margin-top: 8px; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose a:hover { color: var(--accent-hover); }
.prose strong { color: var(--ink); }
.side { position: sticky; top: 24px; border: 1px solid var(--rule); border-radius: 12px; background: var(--surface); padding: 22px; display: grid; gap: 12px; }
.side h2 { font-size: 1.1rem; font-weight: 800; }
.side p { color: var(--ink-2); font-size: 0.98rem; }
.side .btn { justify-content: center; }
.note { margin-top: 24px; padding: 16px 18px; background: var(--tint); border-radius: 10px; max-width: 52rem; }
.note b { color: var(--ink); }
.feature-rows { margin: 0; border-top: 1px solid var(--rule); }
.feature-rows div { display: grid; grid-template-columns: 13rem 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.feature-rows dt { font-weight: 700; }
.feature-rows dd { margin: 0; color: var(--ink-2); }
.tag { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--tint); color: var(--accent); font: 500 0.75rem/1.5 var(--mono); vertical-align: middle; }
.platforms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.platforms li { padding: 5px 12px; border: 1px solid var(--rule-strong); border-radius: 999px; font-size: 0.92rem; }
.platforms li.next { border-style: dashed; color: var(--ink-2); }
section.block { padding: clamp(44px, 6vw, 72px) 0; border-top: 1px solid var(--rule); }
section.block h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.12; font-weight: 800; }
section.block .body { margin-top: 12px; max-width: 42em; color: var(--ink-2); font-size: 1.05rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); margin-top: 28px; }
.two h3 { font: 500 0.8rem/1 var(--mono); letter-spacing: 0.04em; color: var(--ink-2); padding-bottom: 12px; border-bottom: 1px solid var(--rule-strong); margin-bottom: 4px; }
.two p { color: var(--ink-2); margin-top: 10px; }
.two p b { color: var(--ink); }

footer { border-top: 1px solid var(--rule); padding: 28px 0 40px; color: var(--ink-2); font-size: 0.92rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }

@media (max-width: 900px) {
  .hero .wrap, .p-clearwaive .wrap, .hire .wrap { grid-template-columns: 1fr; }
  .nav { order: 3; width: 100%; margin-left: 0; flex-wrap: wrap; gap: 6px 18px; }
  .lang { margin-left: auto; }
  .extra .wrap { grid-template-columns: 1fr; }
  .extra img { max-width: 360px; }
  .doc { grid-template-columns: 1fr; }
  .side { position: static; }
  .two { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .brand small { display: none; }
  .top .wrap { gap: 10px 10px; }
  .brand { font-size: 0.98rem; gap: 8px; }
  .brand img { width: 26px; height: 26px; }
  .top .btn { display: none; } /* hero CTA and #contact cover email on phones */
  .lang button { padding: 6px 8px; }
  .nav { gap: 6px 14px; font-size: 0.9rem; }
  .lists { grid-template-columns: 1fr; gap: 24px; }
  .ledger a.row { grid-template-columns: 1fr auto; }
  .ledger time { grid-column: 1 / -1; }
  .ledger .what { grid-column: 1; }
  .status { grid-row: 2 / span 2; grid-column: 2; }
  .p-counterops .pair { grid-template-columns: 1fr; }
  .p-counterops .pair .phone { display: none; }
  .hire dl div { grid-template-columns: 1fr; gap: 4px; }
  .feature-rows div { grid-template-columns: 1fr; gap: 4px; }
  .facts span + span::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
