/* Augmora · augmora.org
 * Tokens: design/augmora-tokens.json. Button metrics: design/escalate-style-kit/escalate.css,
 * in Augmora's ink and silver. Light only; the tour is the one dark stage. */

@font-face {
  font-family: Archivo;
  src: url("/assets/archivo-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #f3f4f6;
  --surface: #ffffff;
  --text: #181b21;
  --muted: #5c6470;
  --border: #dde1e7;
  --ink: #212630;
  --ink-hover: #171c24;
  --on-ink: #ffffff;
  --soft: #e9edf3;
  --soft-text: #394352;
  --band: #2a3039;
  --alt: #f6f7f9;
  --tour-bg: #0b0d11;
  --tour-text: #f5f7fa;
  --tour-muted: #aeb8c6;
  --tour-body: #c9d1dc;
  --pearl: #e7ecf4;
  --sh-card: 0 10px 36px rgba(24, 27, 33, 0.055);
  --sh-kit: 0 2px 3px rgba(23, 58, 71, 0.063);
  --font-brand: Archivo, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-ui: -apple-system, "SF Pro Text", "SF Pro Display", system-ui, "Helvetica Neue", Arial, sans-serif;
  --gutter: 24px;
  --page: 88vw;   /* one content width for every section; grows with the window */
  --topbar-h: max(81px, 4.2vw);
  --page-left: max(var(--gutter), calc((100% - var(--page)) / 2 + var(--gutter)));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.78; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 14px 20px; border-radius: 4px;
  background: var(--ink); color: var(--on-ink);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.wrap {
  max-width: var(--page); margin: 0 auto;
  padding-left: var(--gutter); padding-right: var(--gutter);
  display: flex; flex-direction: column; gap: 32px;
}

/* ---------- Lockup ---------- */
.lockup { display: flex; flex-direction: column; gap: 5px; justify-content: center; min-height: 44px; flex: none; }
.lockup-word { display: flex; align-items: flex-end; gap: 4px; color: var(--text); }
.lockup-a { height: max(26px, 1.7vw); width: auto; flex: none; margin-right: 1px; }
.lockup-word span {
  font-family: var(--font-brand); font-size: max(24px, 1.55vw); line-height: 1.04; font-weight: 400;
  letter-spacing: 0.25em; text-transform: uppercase;
}
.lockup-line {
  font-family: var(--font-brand); font-size: max(11px, 0.7vw); line-height: 1.3; font-weight: 600;
  letter-spacing: 0.27em; text-transform: uppercase; color: var(--muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 26px;
  min-width: min(236px, 100%); min-height: 52px; max-width: 100%;
  padding: 0 23px; margin: 0; appearance: none;
  font-family: var(--font-brand); font-size: 13px; font-weight: 500; line-height: 1.4;
  letter-spacing: 0.065em; text-transform: uppercase; text-align: left;
  border-radius: 4px; box-shadow: var(--sh-kit); cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.btn:hover { opacity: 1; }
.btn:active { transform: scale(0.98); }
.btn svg { flex: none; }
.btn-primary { background: var(--ink); color: var(--on-ink); border: 1px solid var(--ink); }
.btn-primary:hover { background: var(--ink-hover); border-color: var(--ink-hover); }
.btn-secondary { background: var(--soft); color: var(--text); border: 1px solid rgba(24, 27, 33, 0.15); }
.btn-secondary:hover { background: var(--border); }
.btn-pearl { background: var(--pearl); color: var(--ink-hover); border: 1px solid var(--pearl); }
.btn-line { background: transparent; color: var(--tour-text); border: 1px solid rgba(231, 236, 244, 0.45); box-shadow: none; }
.btn-pearl:focus-visible, .btn-line:focus-visible { outline-color: var(--pearl); }
.btn-compact { min-width: min(188px, 100%); min-height: 44px; padding: 0 18px; font-size: 12px; justify-content: center; box-shadow: none; }
.btn-block { width: 100%; }
@media (max-width: 760px) { .btn { min-width: 0; } }

/* ---------- Top bar ---------- */
/* Pinned to the top of the window so the navigation stays reachable while scrolling. */
.topbar { background: var(--soft); color: var(--text); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 30; }
main [id] { scroll-margin-top: var(--topbar-h); }
/* The bar spans the whole window; its gutter and spacing grow with the window width. */
.topbar-inner { display: flex; align-items: center; gap: max(48px, 3vw); padding: max(10px, 0.6vw) max(var(--gutter), 2vw); }
.nav { display: flex; gap: max(24px, 2.6vw); }
.nav a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-size: max(17px, 1.1vw); line-height: 1.3; font-weight: 500; white-space: nowrap; }
.topbar-tools { display: flex; align-items: center; gap: max(20px, 1.4vw); flex: none; margin-left: auto; }
.topbar-tools .tool > svg { width: auto; height: max(22px, 1.45vw); }
.tool {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-width: 44px; min-height: 44px; font-size: max(15px, 1vw); line-height: 1.3; font-weight: 500;
}
.menu-btn { background: none; border: 0; padding: 0; color: var(--text); cursor: pointer; font: inherit; display: none; }
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-open { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }
.mmenu { display: flex; flex-direction: column; padding: 20px 24px 28px; background: var(--bg); border-bottom: 1px solid var(--border); }
.mmenu a {
  display: block; text-align: right; padding: 6px 0;
  font-size: 34px; line-height: 42px; font-weight: 600; letter-spacing: -0.6px; color: var(--muted);
}
.mmenu a[aria-current] { color: var(--text); font-weight: 700; }
@media (max-width: 1180px) { .topbar-inner { gap: 32px; } .nav { gap: 24px; } }
@media (max-width: 1040px) {
  .nav, .tool-label { display: none; }
  .menu-btn { display: inline-flex; }
  .topbar-inner { padding: 10px 16px; gap: 12px; }
  .topbar-tools { gap: 8px; }
}
@media (max-width: 480px) {
  .topbar-tools { gap: 0; }
  .topbar .lockup-a { height: 22px; }
  .topbar .lockup-word span { font-size: 20px; line-height: 21px; letter-spacing: 4.5px; }
  .topbar .lockup-line { font-size: 9px; line-height: 12px; letter-spacing: 1.2px; }
}
@media (min-width: 1041px) { .mmenu { display: none !important; } }

/* ---------- Opening screen ---------- */
.opening { background: var(--bg); }
.opening-inner {
  max-width: var(--page); margin: 0 auto; min-height: calc(100vh - var(--topbar-h)); padding: 4vw var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center;
}
.opening-copy { display: flex; flex-direction: column; gap: max(20px, 1.5vw); min-width: 0; transition: opacity 600ms ease, transform 600ms ease; }
.opening h1 { font-family: var(--font-brand); font-size: clamp(44px, 4.6vw, 76px); line-height: 1.02; font-weight: 500; letter-spacing: -0.02em; color: var(--text); text-wrap: balance; }
.opening .lede { font-size: max(20px, 1.45vw); line-height: 1.3; font-weight: 600; color: var(--soft-text); }
.opening .body { font-size: max(18px, 1.3vw); line-height: 1.55; color: var(--muted); max-width: 46ch; }
.opening .btn { font-size: max(13px, 0.85vw); min-height: max(52px, 3.3vw); min-width: max(236px, 15vw); padding: 0 max(23px, 1.5vw); }
.opening .actions { gap: max(14px, 1vw); }
.actions { display: flex; gap: 14px; flex-wrap: wrap; padding-top: 4px; }
.hero-art { width: 100%; height: auto; justify-self: center; min-width: 0; transition: opacity 600ms ease; }
.intro-running .opening-copy { opacity: 0; transform: translateY(14px); }
.intro-running .hero-art { opacity: 0; }
@media (max-width: 760px) {
  .opening-inner { grid-template-columns: 1fr; min-height: 0; padding: 40px 16px 48px; gap: 28px; }
  .hero-art { order: -1; }
}

/* ---------- The tour ---------- */
.tour { position: relative; background: var(--tour-bg); color: var(--tour-text); }
.tour-anchor { position: absolute; left: 0; width: 1px; height: 1px; }
.tour-stage { position: sticky; top: 0; overflow: hidden; background: var(--tour-bg); }
.tour-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 2; pointer-events: none; }
.tour-col { position: absolute; left: var(--page-left); top: 0; bottom: 0; width: min(calc(min(100%, var(--page)) * 0.44), max(560px, 38.9vw)); z-index: 3; pointer-events: none; }
.tour-panel {
  position: absolute; left: 0; right: 0; top: 50%;
  display: flex; flex-direction: column; gap: max(18px, 1.250vw);
  opacity: 0; transform: translateY(-38%); pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.tour-panel.on { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
.tour-eyebrow { font-size: max(12px, 0.833vw); line-height: 1.333; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--tour-muted); }
.tour-panel h2 { font-size: max(44px, 3.056vw); line-height: 1.136; font-weight: 300; letter-spacing: -0.8px; color: var(--tour-text); }
.tour-body { font-size: max(18px, 1.250vw); line-height: 1.556; color: var(--tour-body); }
.tour-steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: max(12px, 0.833vw); }
.tour-steps li { display: flex; align-items: center; gap: max(14px, 0.972vw); font-size: max(18px, 1.250vw); line-height: 1.333; }
.tour-steps b {
  width: max(32px, 2.222vw); height: max(32px, 2.222vw); border-radius: 50%; border: 1px solid rgba(231, 236, 244, 0.4);
  display: flex; align-items: center; justify-content: center; font-size: max(14px, 0.972vw); font-weight: 600; flex: none;
}
.tour-panel .actions { padding-top: 6px; }
.tour-rail {
  position: absolute; right: max(20px, calc((100% - var(--page)) / 2 + 8px)); top: 50%; transform: translateY(-50%); z-index: 4;
  display: flex; flex-direction: column; padding: 6px 0; border-radius: 9999px;
  background: rgba(245, 247, 250, 0.06); border: 1px solid rgba(245, 247, 250, 0.12);
}
.tour-rail a { width: max(44px, 3.056vw); height: max(40px, 2.778vw); display: flex; align-items: center; justify-content: center; }
.tour-rail a:focus-visible { outline-color: var(--pearl); }
.tour-rail span { width: max(8px, 0.556vw); height: max(8px, 0.556vw); border-radius: 50%; background: rgba(231, 236, 244, 0.35); transition: all 0.3s ease; }
.tour-rail a[aria-current] span { width: max(12px, 0.833vw); height: max(12px, 0.833vw); background: var(--tour-text); box-shadow: 0 0 0 4px rgba(231, 236, 244, 0.18), 0 0 14px rgba(245, 247, 250, 0.6); }
.tour-hint {
  position: absolute; left: var(--page-left); bottom: max(28px, 1.944vw); z-index: 3;
  display: flex; align-items: center; gap: max(10px, 0.694vw);
  font-size: max(13px, 0.903vw); line-height: 1.385; color: var(--tour-muted); transition: opacity 0.4s ease;
}
@media (max-width: 760px) {
  .tour-col { left: max(20px, 1.389vw); right: max(64px, 4.444vw); width: auto; top: auto; bottom: max(24px, 1.667vw); height: 46%; }
  .tour-panel { top: auto; bottom: 0; transform: translateY(16px); }
  .tour-panel.on { transform: none; }
  .tour-panel h2 { font-size: max(30px, 2.083vw); line-height: 1.200; }
  .tour-body { font-size: max(16px, 1.111vw); line-height: 1.500; }
  .tour-steps li { font-size: max(16px, 1.111vw); }
  .tour-rail { right: max(8px, 0.556vw); }
  .tour-rail a { width: max(36px, 2.500vw); height: max(36px, 2.500vw); }
  .tour-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) { .tour-panel, .tour-rail span, .tour-hint { transition: none; } }

/* ---------- Sections ---------- */
.sec { padding: max(72px, 5.000vw) 0; border-top: 1px solid var(--border); background: var(--surface); }
.sec.alt { background: var(--alt); }
.head { display: flex; flex-direction: column; gap: max(12px, 0.833vw); max-width: max(680px, 47.222vw); }
.eyebrow { font-size: max(12px, 0.833vw); line-height: 1.333; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--soft-text); }
.klabel { font-size: max(12px, 0.833vw); line-height: 1.333; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.klabel small { font-size: inherit; font-weight: 400; letter-spacing: 0; text-transform: none; margin-left: max(8px, 0.556vw); }
.h2 { font-size: max(38px, 2.640vw); line-height: 1.15; font-weight: 600; letter-spacing: -0.6px; }
.sub { font-size: max(17px, 1.181vw); line-height: 1.412; color: var(--muted); }
.ct { font-size: max(20px, 1.389vw); line-height: 1.300; font-weight: 600; }
.cd { font-size: max(16px, 1.111vw); line-height: 1.438; color: var(--muted); }
.grid { display: grid; gap: max(16px, 1.111vw); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: max(40px, 2.778vw); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.medallion {
  width: max(44px, 3.056vw); height: max(44px, 3.056vw); border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--soft); color: var(--soft-text); font-size: max(15px, 1.042vw); font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(221, 225, 231, 0.6);
}
.badge {
  display: inline-flex; align-items: center; height: max(28px, 1.944vw); padding: 0 max(12px, 0.833vw); border-radius: 9999px;
  background: var(--soft); color: var(--soft-text); font-size: max(13px, 0.903vw); font-weight: 600; line-height: 1.231; white-space: nowrap;
}
.pill {
  display: inline-flex; align-items: center; height: max(24px, 1.667vw); padding: 0 max(10px, 0.694vw); border-radius: 9999px;
  background: var(--soft); border: 1px solid var(--border); color: var(--soft-text);
  font-size: max(11px, 0.764vw); line-height: 1.273; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase; white-space: nowrap;
}
.pill.live { background: var(--surface); border-color: var(--soft-text); }
.card {
  display: flex; flex-direction: column; gap: max(14px, 0.972vw); min-width: 0; padding: max(24px, 1.667vw);
  background: var(--surface); border: 1px solid var(--border); border-radius: 26px; box-shadow: var(--sh-card);
}
.card.ink { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.card.ink .cd { color: inherit; opacity: 0.8; }
.card .badge { align-self: flex-start; }

/* What we build */
#build { padding-top: 0; }
.band { background: var(--band); color: var(--tour-text); }
.band .wrap { padding-top: max(14px, 0.972vw); padding-bottom: max(14px, 0.972vw); font-size: max(20px, 1.389vw); line-height: 1.300; font-weight: 600; }
.build-wrap { padding-top: max(64px, 4.444vw); align-items: center; }
.build-head { align-items: center; text-align: center; max-width: max(760px, 52.778vw); }
.build-grid { width: 100%; gap: max(20px, 1.389vw); }
.wcard {
  display: flex; flex-direction: column; gap: max(12px, 0.833vw); min-width: 0; padding: max(22px, 1.528vw) max(22px, 1.528vw) max(18px, 1.250vw);
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--sh-card);
  transition: border-color 180ms ease;
}
.wcard:hover { opacity: 1; border-color: var(--muted); }
/* Line the four cards up row by row, so titles, descriptions and examples start at the same height */
@supports (grid-template-rows: subgrid) {
  .build-grid .wcard { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: max(12px, 0.833vw); }
}
.wkind { font-size: max(12px, 0.833vw); line-height: 1.333; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--soft-text); }
.wtitle { font-size: max(22px, 1.528vw); line-height: 1.273; font-weight: 600; }
.wdesc { font-size: max(15px, 1.042vw); line-height: 1.467; color: var(--muted); flex: 1; }
/* Each card shows a small, labelled example of the result instead of a placeholder */
.wart {
  position: relative; display: flex; flex-direction: column; gap: max(8px, 0.556vw); justify-content: center;
  padding: max(36px, 2.500vw) max(14px, 0.972vw) max(14px, 0.972vw); border-radius: 12px; background: var(--soft);
  min-height: max(176px, 12.222vw); font-size: max(13px, 0.903vw); line-height: 1.385; color: var(--text);
}
.wart-tag { position: absolute; top: max(12px, 0.833vw); left: max(14px, 0.972vw); font-size: max(11px, 0.764vw); font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase; color: var(--muted); }
.msg { max-width: 88%; padding: 8px 12px; border-radius: 14px; display: flex; flex-direction: column; gap: 2px; }
.msg em { font-style: normal; font-size: 0.85em; opacity: 0.65; }
.msg.in { align-self: flex-start; background: var(--surface); border-bottom-left-radius: 4px; }
.msg.out { align-self: flex-end; background: var(--ink); color: var(--on-ink); border-bottom-right-radius: 4px; }
.wstatus, .wcheck { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--soft-text); }
.wstatus { padding-top: 4px; }
.wstatus svg, .wcheck svg { flex: none; }
.wcheck { font-weight: 500; color: var(--text); padding: 6px 10px; background: var(--surface); border-radius: 8px; }
.wrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; padding: 8px 10px; background: var(--surface); border-radius: 8px; }
.wrow span { grid-column: 1; color: var(--muted); font-size: 0.92em; }
.wrow i { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-size: 0.85em; font-weight: 600; padding: 3px 8px; border-radius: 9999px; background: var(--soft); color: var(--soft-text); white-space: nowrap; }
.wrow i.wait { background: var(--ink); color: var(--on-ink); }
.wfield { display: flex; justify-content: space-between; gap: 12px; padding: 7px 10px; background: var(--surface); border-radius: 8px; }
.wfield span { color: var(--muted); }
.wfield b { font-weight: 600; text-align: right; }
.wmore { font-size: max(14px, 0.972vw); line-height: 1.286; font-weight: 600; color: var(--soft-text); }
.wcard:hover .wmore span { margin-left: 4px; }
.wmore span { transition: margin 180ms ease; }
.tools-row { display: flex; gap: max(10px, 0.694vw); flex-wrap: wrap; align-items: center; justify-content: center; }
.tools-row > span:first-child { font-size: max(13px, 0.903vw); line-height: 1.385; color: var(--muted); margin-right: 4px; }

/* Systems we've built */
.work-wrap { gap: max(28px, 1.944vw); }
.work-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: max(40px, 2.778vw); align-items: start; }
.rows { border-top: 1px solid var(--border); margin-top: max(12px, 0.833vw); }
.arow {
  display: grid; grid-template-columns: 200px minmax(0, 1fr) auto 16px; gap: max(20px, 1.389vw); align-items: center;
  padding: max(18px, 1.250vw) 0; border-bottom: 1px solid var(--border); min-height: max(44px, 3.056vw);
}
.arow:hover { opacity: 1; background: rgba(233, 237, 243, 0.5); }
.aname { font-size: max(19px, 1.319vw); line-height: 1.263; font-weight: 600; }
.adesc { font-size: max(16px, 1.111vw); line-height: 1.375; color: var(--muted); }
.chev { width: max(8px, 0.556vw); height: max(8px, 0.556vw); border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted); transform: rotate(-45deg); justify-self: end; margin-right: 4px; }
.side { display: flex; flex-direction: column; gap: max(24px, 1.667vw); min-width: 0; }
.kcard { display: flex; flex-direction: column; gap: max(14px, 0.972vw); padding: max(22px, 1.528vw); background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--sh-card); min-width: 0; }
.kcard-head { display: flex; justify-content: space-between; align-items: center; gap: max(12px, 0.833vw); }
.frow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: max(14px, 0.972vw); align-items: start; padding: max(12px, 0.833vw) 0; border-bottom: 1px solid var(--border); }
.frow:last-child { border-bottom: 0; }
.fname { font-size: max(17px, 1.181vw); line-height: 1.294; font-weight: 700; min-width: max(84px, 5.833vw); }
.fdesc { font-size: max(15px, 1.042vw); line-height: 1.400; color: var(--muted); }
.kcard-foot { border-top: 1px solid var(--border); padding-top: max(16px, 1.111vw); display: flex; align-items: center; gap: max(14px, 0.972vw); flex-wrap: wrap; }
.brief { display: flex; flex-direction: column; gap: max(10px, 0.694vw); border-top: 1px solid var(--border); padding-top: max(18px, 1.250vw); }
.brief-title { font-size: max(22px, 1.528vw); line-height: 1.273; font-weight: 700; letter-spacing: -0.3px; }
.facts { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: max(10px, 0.694vw) max(16px, 1.111vw); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: max(14px, 0.972vw) 0; font-size: max(15px, 1.042vw); line-height: 1.467; }
.facts .klabel { padding-top: 3px; }
.timeline { display: flex; flex-direction: column; gap: max(14px, 0.972vw); border-top: 1px solid var(--border); padding-top: max(18px, 1.250vw); }
.timeline-head { display: flex; justify-content: space-between; align-items: center; gap: max(12px, 0.833vw); flex-wrap: wrap; min-height: max(44px, 3.056vw); }
.tstep { display: flex; flex-direction: column; gap: max(8px, 0.556vw); padding-top: 4px; }
.tdot { width: max(12px, 0.833vw); height: max(12px, 0.833vw); border-radius: 50%; border: 1.5px solid var(--muted); background: var(--soft); }
.tdot.now { background: var(--soft-text); border-color: var(--soft-text); }
.tdate { font-size: max(12px, 0.833vw); line-height: 1.333; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: var(--muted); }
.tdate.now { color: var(--text); }
.ttxt { font-size: max(16px, 1.111vw); line-height: 1.375; }

/* How we work */
.path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr); gap: max(16px, 1.111vw); }
.path > .card { gap: max(10px, 0.694vw); }
.path .cd { flex: 1; }
.step { font-size: max(12px, 0.833vw); line-height: 1.333; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--soft-text); }
.yield { font-size: max(14px, 0.972vw); line-height: 1.429; font-weight: 600; padding-top: max(12px, 0.833vw); border-top: 1px solid var(--border); }
.card.ink .yield { border-color: rgba(255, 255, 255, 0.18); }
.card.ink .step { color: var(--pearl); }
.choose { display: flex; flex-direction: column; gap: max(12px, 0.833vw); padding: max(16px, 1.111vw); border: 1px dashed #c3c9d2; border-radius: 30px; min-width: 0; }
.choose > .step { padding-left: max(8px, 0.556vw); }
.choose-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: max(16px, 1.111vw); flex: 1; }
.choose-grid .card .cd { flex: 1; }
.promises { list-style: none; margin: 0; padding: max(20px, 1.389vw) 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: max(20px, 1.389vw); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.promises li { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.promises svg { flex: none; margin-top: 2px; color: var(--soft-text); }
.promises div { display: flex; flex-direction: column; gap: 2px; }
.promises strong { font-size: max(16px, 1.111vw); line-height: 1.312; font-weight: 600; }
.promises span { font-size: max(14px, 0.972vw); line-height: 1.429; color: var(--muted); }
.progress { display: flex; flex-direction: column; gap: 8px; }
.progress-label { display: flex; justify-content: space-between; font-size: max(13px, 0.903vw); font-weight: 600; color: var(--soft-text); }
.progress-bar { height: 6px; border-radius: 3px; background: var(--soft); overflow: hidden; }
.progress-bar span { display: block; height: 100%; background: var(--ink); border-radius: 3px; }
.task-actions { display: flex; gap: 8px; padding-top: 6px; flex-wrap: wrap; }
.mini { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 9999px; background: var(--surface); border: 1px solid var(--border); font-size: 13px; font-weight: 600; color: var(--soft-text); }
.mini.ink { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.task.waiting .task-text .mini.ink { color: var(--on-ink); }
.portal-files { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-top: max(12px, 0.833vw); border-top: 1px solid var(--border); font-size: max(13px, 0.903vw); color: var(--muted); }
.portal-files > span:first-child { font-weight: 600; margin-right: 4px; }
.file { padding: 4px 10px; border-radius: 6px; background: var(--soft); color: var(--soft-text); font-weight: 500; }
.portal { align-items: center; padding-top: max(8px, 0.556vw); }
.portal-copy { display: flex; flex-direction: column; gap: max(10px, 0.694vw); min-width: 0; }
.portal-copy .ct { font-size: max(26px, 1.806vw); line-height: 1.231; }
.text-link { display: inline-flex; align-items: center; gap: 6px; padding: max(12px, 0.833vw) 0; font-size: max(16px, 1.111vw); line-height: 1.312; font-weight: 600; color: var(--soft-text); }
.portal-card { padding: max(20px, 1.389vw); }
.portal-meta { font-size: max(12px, 0.833vw); line-height: 1.333; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.task { display: flex; gap: max(14px, 0.972vw); align-items: flex-start; }
.task.waiting { padding: max(14px, 0.972vw); background: var(--soft); border-radius: 18px; }
.task.waiting .medallion { background: var(--surface); }
.task.done { align-items: center; padding-top: 4px; }
.task-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.task-text strong { font-size: max(16px, 1.111vw); line-height: 1.312; font-weight: 600; }
.task-text span { font-size: max(14px, 0.972vw); line-height: 1.429; color: var(--muted); }
.task.waiting .task-text span { color: var(--soft-text); }

/* Start a conversation */
.talk-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; }
.talk-copy { display: flex; flex-direction: column; gap: max(24px, 1.667vw); min-width: 0; }
.talk-copy .head { gap: max(10px, 0.694vw); }
.talk-q { font-size: max(20px, 1.389vw); line-height: 1.300; font-weight: 600; }
.next { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: max(14px, 0.972vw); }
.next li { display: flex; gap: max(14px, 0.972vw); align-items: center; }
.next .medallion { width: max(36px, 2.500vw); height: max(36px, 2.500vw); font-size: max(14px, 0.972vw); }
.next div { display: flex; flex-direction: column; gap: 2px; }
.next strong { font-size: max(16px, 1.111vw); line-height: 1.312; font-weight: 600; }
.next span { font-size: max(14px, 0.972vw); line-height: 1.429; color: var(--muted); }
.form-head { display: flex; flex-direction: column; gap: 4px; padding-bottom: 4px; }
.form-note { font-size: max(13px, 0.903vw); line-height: 1.385; color: var(--muted); text-align: center; }
.form-note a { text-decoration: underline; text-underline-offset: 2px; }
.founder { display: flex; gap: max(16px, 1.111vw); align-items: flex-start; padding-top: max(20px, 1.389vw); border-top: 1px solid var(--border); scroll-margin-top: max(24px, 1.667vw); }
.founder .medallion { width: max(56px, 3.889vw); height: max(56px, 3.889vw); font-size: max(18px, 1.250vw); }
.founder-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.founder-name { font-size: max(17px, 1.181vw); line-height: 1.294; font-weight: 600; }
.founder-name span { font-weight: 500; color: var(--muted); }
.founder-links { display: flex; gap: max(16px, 1.111vw); flex-wrap: wrap; font-size: max(15px, 1.042vw); line-height: 1.333; font-weight: 600; color: var(--soft-text); }
.founder-links > * { padding: max(12px, 0.833vw) 0; }
.founder-links span { font-weight: 400; color: var(--muted); }
.form { padding: max(28px, 1.944vw); gap: max(16px, 1.111vw); }
.form .g2 { gap: max(14px, 0.972vw); }
.field { display: flex; flex-direction: column; gap: max(8px, 0.556vw); min-width: 0; }
.field label { font-size: max(15px, 1.042vw); line-height: 1.333; font-weight: 600; }
.field input, .field textarea {
  width: 100%; min-height: max(52px, 3.611vw); padding: max(14px, 0.972vw) max(16px, 1.111vw); border-radius: 18px;
  border: 1px solid var(--border); background: var(--bg); color: var(--text);
  font: inherit; font-size: max(17px, 1.181vw); line-height: 1.294; resize: vertical;
}
.field input[aria-invalid="true"] { border-color: var(--soft-text); }
.form-error { font-size: max(15px, 1.042vw); line-height: 1.400; color: var(--soft-text); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { display: flex; gap: max(14px, 0.972vw); align-items: flex-start; padding: max(16px, 1.111vw); background: var(--soft); border-radius: 14px; color: var(--soft-text); font-size: max(16px, 1.111vw); line-height: 1.312; }
.notice svg { flex: none; margin-top: 1px; }
.notice > div { display: flex; flex-direction: column; gap: 5px; }
.notice strong { font-weight: 600; }
.notice a { font-weight: 600; text-decoration: underline; }
.sent { padding: max(28px, 1.944vw); justify-content: center; }

/* Footer */
.footer { border-top: 1px solid var(--border); background: var(--surface); }
.footer-inner {
  max-width: var(--page); margin: 0 auto; padding: 28px var(--gutter);
  display: flex; flex-wrap: wrap; gap: max(16px, 1.111vw); align-items: center; justify-content: space-between;
  font-size: max(13px, 0.903vw); line-height: 1.385; color: var(--muted);
}
.footer-brand { display: flex; flex-direction: column; gap: max(8px, 0.556vw); }
.footer .lockup-a { height: max(23px, 1.597vw); }
.footer .lockup-word span { font-size: max(21px, 1.458vw); line-height: 1.048; letter-spacing: 5px; }
.footer-links { display: flex; gap: max(24px, 1.667vw); flex-wrap: wrap; align-items: center; }
.footer-links a, .footer-links button { padding: max(12px, 0.833vw) 0; color: var(--muted); }
.link-btn { background: none; border: 0; font: inherit; cursor: pointer; }
.link-btn:hover { opacity: 0.78; }

/* Featured rows: name and status on one line, description under them, once the side column gets narrow. */
@media (max-width: 1180px) {
  .frow { grid-template-columns: minmax(0, 1fr) auto; }
  .frow .fdesc { grid-column: 1 / -1; order: 3; }
  .fname { min-width: 0; }
}
/* The service examples need about 290px a card; below that, two per row */
@media (max-width: 1400px) { .build-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1180px) {
  .path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choose { grid-column: 1 / -1; }
  .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-grid, .talk-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  .sec { padding: max(48px, 3.333vw) 0; }
  .g2, .g4, .path, .choose-grid, .promises { grid-template-columns: 1fr; }
  .choose { padding: 12px; border-radius: 30px; }
  .h2 { font-size: max(30px, 2.083vw); line-height: 1.2; }
  .build-wrap { padding-top: max(40px, 2.778vw); }
  .arow { grid-template-columns: minmax(0, 1fr) auto 16px; gap: max(8px, 0.556vw) max(16px, 1.111vw); }
  .arow .adesc { grid-column: 1 / -1; order: 3; }
  .form { padding: max(20px, 1.389vw); }
}

/* ---------- Intro video ---------- */
.intro {
  position: fixed; inset: 0; width: 100%; max-width: 100%; height: 100dvh; max-height: 100%;
  margin: 0; padding: 0; border: 0; overflow: hidden;
  background: var(--bg); color: var(--text); opacity: 1; transition: opacity 0.6s ease;
}
.intro::backdrop { background: transparent; }
.intro video { width: 100%; height: 100%; display: block; object-fit: cover; transform-origin: 0 0; }
.intro-controls {
  position: absolute; left: 24px; right: 24px; bottom: max(30px, env(safe-area-inset-bottom));
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: var(--font-brand); font-size: 13px; letter-spacing: 0.065em; text-transform: uppercase;
  transition: opacity 0.4s ease;
}
.intro-controls button {
  display: inline-flex; align-items: center; gap: 16px; min-height: 44px; padding: 0 4px;
  background: none; border: 0; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer;
}
.intro.is-leaving, .intro.is-handoff .intro-controls { opacity: 0; }
@media (max-width: 680px) {
  .intro video { object-fit: contain; background: #faeee8; }
  .intro-controls { font-size: 11px; bottom: 25px; }
}
@media (prefers-reduced-motion: reduce) { .intro, .intro-controls, .opening-copy, .hero-art { transition: none; } }

/* ---------- Sign-in page ---------- */
.signin { min-height: 100vh; min-height: 100dvh; display: flex; flex-wrap: wrap; background: var(--bg); }
.signin-mark {
  flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  padding: 40px 48px; border-right: 1px solid var(--border);
}
.signin-mark .lockup { align-self: flex-start; }
.signin-art { display: flex; flex-direction: column; gap: 20px; align-items: center; text-align: center; }
.signin-art img { width: 100%; max-width: 520px; border-radius: 30px; }
.signin-art h2 { font-size: 34px; line-height: 41px; font-weight: 600; letter-spacing: -0.4px; }
.signin-art h2 span { color: var(--muted); }
.signin-copy { font-size: 13px; line-height: 18px; color: var(--muted); }
.signin-main { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 48px var(--gutter); }
.signin-col { width: 100%; max-width: 420px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.signin-col .lockup { display: none; }
.signin-col h1 { font-size: 34px; line-height: 41px; font-weight: 700; }
.signin-intro { display: flex; flex-direction: column; gap: 12px; }
.signin-intro p { font-size: 17px; line-height: 22px; color: var(--muted); }
.signin-form { padding: 28px; gap: 18px; }
.signin-forgot { font-size: 15px; line-height: 20px; font-weight: 600; color: var(--soft-text); text-align: center; padding: 12px 0; }
.signin-help { font-size: 13px; line-height: 18px; color: var(--muted); text-align: center; }
.signin-help a { font-weight: 600; color: var(--soft-text); }
@media (max-width: 860px) {
  .signin-mark { display: none; }
  .signin-col .lockup { display: flex; }
}

/* ---------- Law-firm page ---------- */
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .g3 { grid-template-columns: 1fr; } }
ol.plain { list-style: none; margin: 0; padding: 0; }
.g3 > .card .cd { flex: 1; }
.source-note { font-size: max(13px, 0.903vw); line-height: 1.5; color: var(--muted); max-width: max(760px, 52.778vw); }

/* ---------- Help pages: support and account deletion ---------- */
.page-head { padding: max(56px, 3.889vw) 0 max(64px, 4.444vw); background: var(--bg); }
.page-title { font-size: max(40px, 2.778vw); line-height: 1.150; font-weight: 600; letter-spacing: -0.8px; }
.help-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: max(24px, 1.667vw); align-items: start; }
.help-card { padding: max(28px, 1.944vw); }
.help-email {
  align-self: flex-start; font-size: max(24px, 1.667vw); line-height: 1.25; font-weight: 600; letter-spacing: -0.3px;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em;
}
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: max(14px, 0.972vw); }
.steps li {
  counter-increment: step; display: grid; grid-template-columns: max(30px, 2.083vw) minmax(0, 1fr); gap: max(14px, 0.972vw); align-items: baseline;
  font-size: max(16px, 1.111vw); line-height: 1.438;
}
.steps li::before {
  content: counter(step); display: flex; align-items: center; justify-content: center;
  width: max(30px, 2.083vw); height: max(30px, 2.083vw); border-radius: 50%;
  background: var(--soft); color: var(--soft-text); font-size: max(14px, 0.972vw); font-weight: 700;
}
.steps strong { font-weight: 600; }
.help-list { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: max(10px, 0.694vw); font-size: max(16px, 1.111vw); line-height: 1.438; color: var(--muted); }
.inline-link { font-weight: 600; color: var(--soft-text); text-decoration: underline; text-underline-offset: 0.18em; }
.footer-links a[aria-current] { color: var(--text); }
@media (max-width: 960px) { .help-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .page-head { padding: 40px 0 48px; }
  .page-title { font-size: 34px; line-height: 1.2; letter-spacing: -0.5px; }
  .help-card .btn { width: 100%; }
}

/* ---------- Privacy policy ---------- */
.policy-updated { font-size: max(14px, 0.972vw); line-height: 1.4; color: var(--muted); }
.policy-summary { max-width: max(760px, 52.778vw); }
.policy-layout { grid-template-columns: minmax(180px, 240px) minmax(0, 1fr); gap: max(40px, 3.333vw); align-items: start; }
.policy-nav { position: sticky; top: calc(var(--topbar-h) + 24px); display: flex; flex-direction: column; font-size: max(15px, 1.042vw); line-height: 1.4; }
.policy-nav a { padding: 7px 0; color: var(--muted); }
.policy-nav a:hover { color: var(--text); opacity: 1; }
.policy { display: flex; flex-direction: column; gap: max(44px, 3.056vw); max-width: 72ch; min-width: 0; }
.policy section { display: flex; flex-direction: column; gap: max(12px, 0.833vw); }
.policy h2 { font-size: max(24px, 1.667vw); line-height: 1.25; font-weight: 600; letter-spacing: -0.3px; }
.policy h3 { font-size: max(17px, 1.181vw); line-height: 1.35; font-weight: 600; padding-top: 6px; }
.policy p, .policy li { font-size: max(16px, 1.111vw); line-height: 1.55; color: var(--soft-text); }
.policy ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; }
.policy a { font-weight: 600; text-decoration: underline; text-underline-offset: 0.18em; overflow-wrap: anywhere; }
.policy strong { font-weight: 600; color: var(--text); }
@media (max-width: 960px) {
  .policy-layout { grid-template-columns: 1fr; }
  .policy-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 0 18px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
}
