/* Bizable website, standard edition: the category standard at Ramp, Mercury and Linear craft.
   White ground, one ink, Bizable spruce as the single brand accent, Instrument Sans throughout
   (the console's face and the film's): headings at 600, figures in even widths rather than a monospace. */

@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f4f6f5;
  --ink: #0b0f0d;
  --ink-2: #47524c;
  --ink-3: #626d67;
  --line: #e2e7e4;
  --line-strong: #cbd3cf;
  --brand: #0f7b5b;
  --brand-hover: #0b674c;
  --brand-soft: #e7f3ee;
  --brand-ink: #0b5e46;
  --sodium: #f2a516;
  --danger: #b3261e;

  --dark: #0b0f0d;
  --dark-2: #141a17;
  --dark-3: #1b2320;
  --dark-line: #27312c;
  --dark-ink-2: #aab5af;
  --dark-ink-3: #8a958f;

  --font: "Instrument Sans", ui-sans-serif, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(11, 15, 13, 0.06);
  --shadow: 0 1px 2px rgba(11, 15, 13, 0.06), 0 10px 28px -12px rgba(11, 15, 13, 0.18);
  --shadow-lg: 0 2px 6px rgba(11, 15, 13, 0.08), 0 32px 64px -24px rgba(11, 15, 13, 0.32);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1200px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 1rem; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 0.2em; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--brand-soft); color: var(--brand-ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 8px 14px; border-radius: var(--r-sm); background: var(--ink); color: #fff; text-decoration: none; }
.skip:focus { top: 12px; }
[data-placeholder]::after { content: " (placeholder)"; color: var(--ink-3); font-size: 0.85em; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- Buttons and inputs ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 20px; border: 0; border-radius: 10px;
  font-size: 0.9375rem; font-weight: 560; letter-spacing: -0.005em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background 0.15s var(--ease), box-shadow 0.15s var(--ease), transform 0.15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 1px 2px rgba(11, 15, 13, 0.2); }
.btn-primary:hover { background: var(--brand-hover); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #e9eeeb; }
.btn-sm { height: 38px; padding: 0 14px; font-size: 0.875rem; border-radius: 9px; }
.btn-block { width: 100%; }

.email-cta { display: flex; gap: 8px; max-width: 460px; }
.email-cta input {
  flex: 1; min-width: 0; height: 48px; padding: 0 14px;
  border: 1px solid var(--line-strong); border-radius: 10px; background: #fff;
  font-size: 0.9375rem; box-shadow: var(--shadow-sm);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.email-cta input::placeholder { color: var(--ink-3); opacity: 1; }
.email-cta input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15, 123, 91, 0.16); }
.email-cta input[aria-invalid="true"] { border-color: var(--danger); }
.cta-error { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 0.875rem; color: var(--danger); }
.cta-error svg { width: 15px; height: 15px; flex: none; }
.cta-error[hidden] { display: none; }

/* ---------- Nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color 0.2s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 32px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.125rem; letter-spacing: -0.02em; }
.brand-mark { width: 20px; height: 17px; }
.nav-links { display: flex; gap: 28px; margin-right: auto; }
.nav-links a { font-size: 0.9375rem; color: var(--ink-2); text-decoration: none; transition: color 0.15s; }
.nav-links a:hover { color: var(--ink); }
.nav-menu { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.nav-menu span { display: block; height: 1.5px; border-radius: 1px; background: var(--ink); transition: transform 0.2s var(--ease); }
.nav-menu[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-menu[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero { padding: 44px 0 56px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 56px; align-items: center; }
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.25rem); line-height: 1.02; font-weight: 600; letter-spacing: -0.03em;
  text-wrap: balance;
}
.hero-sub { margin-top: 22px; max-width: 34em; font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.hero .email-cta { margin-top: 32px; }
.hero-terms { margin-top: 12px; font-size: 0.875rem; color: var(--ink-3); }

.hero-demo {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 28px 20px 18px; border-radius: 28px;
  background: var(--brand-soft);
}
.demo-note { font-size: 0.8125rem; color: var(--brand-ink); }

.trades { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
@media (max-width: 1180px) { .trades { display: grid; grid-template-columns: repeat(2, auto); } }
.trade {
  height: 32px; padding: 0 12px; border: 1px solid rgba(11, 94, 70, 0.22); border-radius: 999px; background: rgba(255, 255, 255, 0.7);
  font-size: 0.8125rem; font-weight: 540; color: var(--brand-ink); cursor: pointer;
  transition: background 0.15s var(--ease), color 0.15s var(--ease), border-color 0.15s var(--ease);
}
.trade:hover { background: #fff; }
.trade[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- The phone ---------- */

.phone {
  width: 318px; padding: 10px; border-radius: 54px;
  background: #0d0f0e;
  box-shadow: inset 0 0 0 1.5px #3a3f3c, inset 0 0 0 5px #0d0f0e, inset 0 0 0 6px #262a28, var(--shadow-lg);
}
.phone-screen {
  position: relative; height: 600px; overflow: hidden; border-radius: 44px;
  background: #e9ecea;
}
.phone-screen::before {
  content: ""; position: absolute; z-index: 4; left: 50%; top: 10px; transform: translateX(-50%);
  width: 92px; height: 27px; border-radius: 20px; background: #0d0f0e;
}
.ios-status {
  position: absolute; z-index: 3; left: 0; right: 0; top: 0; height: 46px;
  display: flex; align-items: center; justify-content: space-between; padding: 6px 28px 0 34px;
  background: linear-gradient(#e9ecea 70%, rgba(233, 236, 234, 0));
  font: 600 14px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif; color: #000;
}
.ios-icons { display: flex; gap: 6px; align-items: center; }
.ios-icons svg { height: 11px; width: auto; fill: #000; color: #000; }

/* The app, drawn in its own colors (mobile/DESIGN.md). */
.app {
  --a-ground: #e9ecea; --a-panel: #fff; --a-ink: #000; --a-ink2: #4c5850;
  --a-needs: #f2c230; --a-on-needs: #1c1a0e; --a-carbon: #1c211e; --a-neutral: #23272b;
  --a-ribbon: #b3261e; --a-bar: #2c6a4b; --a-ledger: #1f5fa8; --a-sodium: #9a5800; --a-sodium-chip: #f9ebd3;
  --a-slate: #52606d; --a-slate-chip: #e0e5ea; --a-opp-tag: #d5e9db; --a-fill: rgba(118, 118, 128, 0.12);
  height: 100%; overflow-y: auto; padding: 50px 0 96px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  color: var(--a-ink); scrollbar-width: none;
}
.app::-webkit-scrollbar { display: none; }
.app-head { padding: 6px 16px 12px; }
.app-title { font-size: 29px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.app-sig { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; }
.app-sig svg { width: 13px; height: 11px; }
.app-run { margin-top: 2px; font-size: 10.5px; color: var(--a-ink2); font-variant-numeric: tabular-nums; }
.app-summary { margin-top: 10px; font-size: 16.5px; line-height: 1.28; letter-spacing: -0.01em; }
.app-summary b { font-weight: 600; font-variant-numeric: tabular-nums; }
.app-summary .f-found { color: var(--a-bar); }
.app-summary .f-needs { color: var(--a-sodium); }
.app-summary .f-risk { color: var(--a-ribbon); }

.app-strip { display: flex; align-items: center; gap: 9px; padding: 10px 16px; color: #fff; }
.app-strip-needs { background: var(--a-needs); color: var(--a-on-needs); }
.app-strip-live { background: var(--a-neutral); margin-top: 0; }
.app-strip svg { width: 19px; height: 19px; flex: none; }
.app-strip-word { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; }
.app-strip-count { font: 600 12.5px/1 ui-monospace, "SF Mono", Menlo, monospace; }
.app-strip-total { margin-left: auto; font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.app-strip-total small { font-size: 10px; font-weight: 500; }

.app-row { padding: 13px 16px 14px; background: var(--a-panel); margin-bottom: 8px; transition: background 0.3s var(--ease); }
.app-row-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.app-row-title { font-size: 14px; font-weight: 600; line-height: 1.25; letter-spacing: -0.005em; }
.app-row.posted .app-row-title { color: var(--a-ink2); }
.app-amt { text-align: right; font: 400 13px/1.2 ui-monospace, "SF Mono", Menlo, monospace; white-space: nowrap; }
.app-amt.big { font-weight: 600; }
.app-amt.k-concern { color: var(--a-ribbon); }
.app-amt.k-opportunity { color: var(--a-bar); }
.app-amt.k-task { color: var(--a-ledger); }
.app-amt.k-done { color: var(--a-ink2); font-weight: 400; }
.app-amt-label { display: block; margin-top: 2px; font: 400 10px/1.2 -apple-system, system-ui, sans-serif; color: var(--a-ink2); }
.app-chip { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; padding: 2px 7px; border-radius: 999px; font-size: 10.5px; font-weight: 600; }
.app-chip i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.app-chip-needs { background: var(--a-sodium-chip); color: var(--a-sodium); }
.app-chip-slate { background: var(--a-slate-chip); color: var(--a-slate); }
.app-chip-slate i { background: none; border: 1.5px solid currentColor; clip-path: inset(0 0 0 50%); }
.app-chip-posted { background: var(--a-opp-tag); color: var(--a-bar); }
.app-chip-posted svg { width: 10px; height: 10px; }
.app-brief { margin-top: 6px; font-size: 12px; line-height: 1.35; color: var(--a-ink2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.app-actions { display: flex; gap: 6px; margin-top: 10px; }
.app-btn {
  height: 29px; padding: 0 12px; border: 0; border-radius: 999px; cursor: pointer;
  font-size: 12.5px; font-weight: 600; font-family: inherit;
  transition: opacity 0.15s var(--ease), transform 0.15s var(--ease);
}
.app-btn:active { opacity: 0.6; }
.app-btn-primary { background: var(--a-carbon); color: #fff; }
.app-btn-secondary { background: var(--a-fill); color: var(--a-ink); font-weight: 500; }
.app-undo { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 10px; margin-top: 10px; }
.app-undo-text { font-size: 12px; color: var(--a-ink2); }
.app-undo-bar { grid-column: 1; height: 3px; border-radius: 2px; background: var(--a-slate-chip); overflow: hidden; }
.app-undo-bar i { display: block; height: 100%; background: var(--a-slate); transform-origin: left; animation: drain var(--undo, 3s) linear forwards; }
.app-undo .app-btn { grid-column: 2; grid-row: 1 / span 2; }
@keyframes drain { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.app-next { margin-top: 6px; font-size: 11.5px; color: var(--a-ink2); }

.phone-screen::after {
  content: ""; position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 104px; pointer-events: none;
  background: linear-gradient(rgba(233, 236, 234, 0), rgba(233, 236, 234, 0.92) 46%, #e9ecea 70%);
}
.home-bar { position: absolute; z-index: 4; left: 50%; bottom: 8px; width: 112px; height: 4.5px; border-radius: 3px; background: #0d0f0e; transform: translateX(-50%); }
.app-ask {
  position: absolute; z-index: 3; left: 14px; right: 14px; bottom: 24px; height: 42px;
  display: flex; align-items: center; gap: 8px; padding: 0 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.94); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 8px 20px -8px rgba(0, 0, 0, 0.3);
  font: 400 14px/1 -apple-system, system-ui, sans-serif; color: #4c5850;
}
.app-ask svg { width: 15px; height: 15px; color: #000; }

/* ---------- Logos ---------- */

.logos { padding: 40px 0 44px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logos-title { text-align: center; font-size: 0.9375rem; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.logo-row { display: grid; grid-template-columns: repeat(8, auto); justify-content: space-between; gap: 16px 24px; max-width: 1040px; margin: 22px auto 0; }
.logo-row li { display: flex; align-items: center; justify-content: center; gap: 9px; color: #59645e; font-size: 1rem; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
.logo-row svg { flex: none; width: 22px; height: 22px; fill: currentColor; }
@media (max-width: 1080px) { .logo-row { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 640px; } }
@media (max-width: 560px) { .logo-row { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 320px; } .logo-row li { justify-content: flex-start; } }
.logos-note { margin-top: 18px; text-align: center; font-size: 0.8125rem; color: var(--ink-3); }

/* ---------- Feature rows ---------- */

.feature { padding: 104px 0; }
.feature-alt { background: var(--bg-soft); }
.feature-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.feature-grid-flip .feature-copy { order: 2; }
.feature-copy h2, .section-head h2, .pricing-copy h2, .faq h2 {
  font-size: clamp(1.875rem, 3.2vw, 2.75rem); line-height: 1.08; font-weight: 600; letter-spacing: -0.028em; text-wrap: balance;
}
.feature-copy p, .section-head p, .pricing-copy > p { margin-top: 18px; max-width: 32em; font-size: 1.0625rem; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.ticks { display: grid; gap: 10px; margin-top: 26px; }
.ticks li { display: flex; align-items: center; gap: 10px; font-size: 0.9375rem; color: var(--ink); }
.ticks svg { width: 20px; height: 20px; flex: none; padding: 3px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }

/* Streams visual */
.streams { padding: 22px; }
.streams-summary { font-size: 1.1875rem; line-height: 1.35; letter-spacing: -0.015em; }
.streams-summary b { font-weight: 600; font-variant-numeric: tabular-nums; }
.streams-summary .f-found { color: var(--brand); }
.streams-summary .f-needs { color: #9a5800; }
.streams-summary .f-risk { color: var(--danger); }
.stream-list { display: grid; gap: 8px; margin-top: 18px; }
.stream { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 10px; color: #fff; }
.stream svg { width: 18px; height: 18px; flex: none; }
.stream-word { font-weight: 600; letter-spacing: -0.01em; }
.stream-count { font-variant-numeric: tabular-nums; font-size: 0.8125rem; opacity: 0.92; }
.stream-total { margin-left: auto; font-size: 0.875rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.stream-total small { font-weight: 450; opacity: 0.92; }
.stream-needs { background: #f2c230; color: #1c1a0e; }
.stream-concern { background: #b8241a; }
.stream-opp { background: #1c7339; }
.stream-quiet { background: var(--bg-soft); color: var(--ink-2); border: 1px dashed var(--line-strong); }
.stream-quiet .stream-word { font-weight: 550; }

/* Item card visual */
.item-card { padding: 22px; }
.item-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: start; }
.kind-tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; }
.kind-concern { background: #f6d9d5; color: #b3261e; }
.kind-opportunity { background: #d5e9db; color: #2c6a4b; }
.kind-task { background: #d6e4f6; color: #1f5fa8; }
.item-title { margin-top: 10px; font-size: 1.1875rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; text-wrap: balance; }
.item-amt { text-align: right; font-variant-numeric: tabular-nums; font-size: 1.0625rem; font-weight: 600;  }
.item-amt small { display: block; font-family: var(--font); font-size: 0.75rem; font-weight: 450; color: var(--ink-3); }
.item-label { margin-top: 20px; font-size: 0.75rem; font-weight: 600; color: var(--ink-3); }
.item-would { margin-top: 6px; font-size: 0.9375rem; line-height: 1.55; color: var(--ink); }
.evidence { margin-top: 8px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.evidence li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 12px; border-top: 1px solid var(--line); font-size: 0.8125rem; }
.evidence li:first-child { border-top: 0; }
.src { padding: 2px 7px; border-radius: 6px; background: var(--bg-soft); font-size: 0.6875rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.evidence .fig { font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.calls { display: grid; gap: 8px; margin-top: 8px; }
.call { display: flex; align-items: flex-start; gap: 10px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 0.875rem; line-height: 1.4; }
.call-dot { flex: none; width: 16px; height: 16px; margin-top: 1px; border-radius: 50%; border: 1.5px solid var(--line-strong); }
.call.on { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.call.on .call-dot { border: 5px solid var(--brand); }
.call small { display: block; color: var(--ink-3); font-size: 0.8125rem; }
.call-rec { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); font-size: 0.6875rem; font-weight: 600; }
.item-go { margin-top: 14px; display: flex; justify-content: flex-end; }
.item-go span { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; background: #1c211e; color: #fff; font-size: 0.875rem; font-weight: 600; }

/* ---------- Beyond the back office ---------- */

.beyond { padding: 104px 0; }
.beyond-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 44px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.beyond-tab {
  height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font-size: 0.875rem; font-weight: 550; color: var(--ink-2); cursor: pointer;
  transition: background 0.15s var(--ease), color 0.15s var(--ease), border-color 0.15s var(--ease);
}
.beyond-tab:hover { color: var(--ink); border-color: var(--line-strong); }
.beyond-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.beyond-panel { outline: none; }
.beyond-panel:focus-visible { outline: 2px solid var(--brand); outline-offset: 6px; border-radius: 8px; }
.beyond-list li {
  display: grid; grid-template-columns: 180px minmax(0, 1fr) 150px; gap: 8px 32px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.beyond-trade { font-size: 0.875rem; font-weight: 550; color: var(--ink-3); }
.beyond-what { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.015em; text-wrap: balance; }
.beyond-how { margin-top: 6px; font-size: 0.9375rem; line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.beyond-start { justify-self: end; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--bg-soft); font-size: 0.75rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.beyond-start i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); }
.beyond-start.s-notices { background: var(--brand-soft); color: var(--brand-ink); }
.beyond-start.s-notices i { background: var(--brand); }
.beyond-note { margin-top: 18px; font-size: 0.8125rem; color: var(--ink-3); }
.beyond-list li.arrive { animation: beyond-in 0.4s var(--ease) both; }
@keyframes beyond-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Dark: agents ---------- */

.dark { padding: 104px 0; background: var(--dark); color: #fff; }
.dark .section-head p { color: var(--dark-ink-2); }
.section-head { max-width: 760px; }
.section-head-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 24px 64px; align-items: end; max-width: none; }
.section-head-split p { margin-top: 0; }
.agents-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; margin-top: 48px; }
.record-panel { display: flex; flex-direction: column; }
.record-panel .thread-next { margin-top: auto; }
.record-panel .thread { margin-bottom: 18px; }
.prompt-panel { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px 28px; align-items: center; }
.prompt-panel .agent-prompt, .prompt-panel .dpanel-meta { margin-top: 0; }
.dpanel { padding: 22px; border: 1px solid var(--dark-line); border-radius: var(--r-lg); background: var(--dark-2); }
.dpanel-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; padding-bottom: 14px; border-bottom: 1px solid var(--dark-line); }
.dpanel-title { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }
.dpanel-meta { display: flex; align-items: center; gap: 7px; font-size: 0.8125rem; color: var(--dark-ink-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-agent { background: #9f8cf0; box-shadow: 0 0 0 3px rgba(159, 140, 240, 0.18); }
.thread { display: grid; gap: 16px; margin-top: 18px; }
.thread li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; }
.av { display: grid; place-items: center; width: 32px; height: 32px; font-size: 0.75rem; font-weight: 600; color: #fff; }
.av-person { border-radius: 50%; background: #0e7480; }
.av-agent { border-radius: 8px; background: #5e46b8; }
.av-agent svg { width: 15px; height: 13px; }
.thread-who { font-size: 0.875rem; font-weight: 600; }
.thread-who span { margin-left: 8px; font-weight: 400; color: var(--dark-ink-3); font-size: 0.8125rem; }
.thread-text { margin-top: 2px; font-size: 0.9375rem; line-height: 1.5; color: #dfe5e1; }
.thread-next { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--dark-line); font-size: 0.875rem; color: var(--dark-ink-2); }
.thread-next span { color: #fff; }
.team-list { display: grid; gap: 12px; margin-top: 14px; }
.team-list li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: center; }
.team-name { font-size: 0.9375rem; font-weight: 550; }
.team-role { font-size: 0.8125rem; color: var(--dark-ink-2); }
.agent-prompt { margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: var(--dark-3); font-size: 0.9375rem; line-height: 1.5; }
.prompt-panel .dpanel-meta { display: block; line-height: 1.5; }

/* ---------- Bento ---------- */

.bento-section { padding: 104px 0; }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 44px; align-items: start; }
.cell { grid-column: span 3; display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-soft); }
.cell-team { grid-column: span 6; flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
.cell-team .avatars { margin-top: 0; padding-top: 0; }
.cell h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.015em; }
.cell > p { margin-top: 8px; font-size: 0.9375rem; line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.ask-demo { display: grid; gap: 12px; margin-top: 22px; }
.ask-q { justify-self: end; max-width: 85%; padding: 10px 14px; border-radius: 16px 16px 4px 16px; background: var(--ink); color: #fff; font-size: 0.9375rem; line-height: 1.45; }
.ask-a { max-width: 92%; padding: 14px 16px; border-radius: 16px 16px 16px 4px; background: #fff; border: 1px solid var(--line); font-size: 0.9375rem; line-height: 1.55; box-shadow: var(--shadow-sm); }
.ask-a b { font-variant-numeric: tabular-nums; font-weight: 600; }
.ask-chip { justify-self: start; display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; background: #1c211e; color: #fff; font-size: 0.8125rem; font-weight: 600; }
.money-demo { margin-top: 22px; display: grid; gap: 10px; }
.money-btn { display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 999px; background: #1c211e; color: #fff; font-size: 0.9375rem; font-weight: 600; }
.undo-bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 0.8125rem; color: var(--ink-2); }
.undo-count { font-weight: 600; color: #52606d; }
.auto-demo { margin-top: 22px; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.auto-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 0.9375rem; font-weight: 600; }
.switch { position: relative; flex: none; width: 46px; height: 28px; border: 0; border-radius: 999px; background: #d3d9d6; cursor: pointer; transition: background 0.2s var(--ease); }
.switch span { position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); transition: transform 0.22s var(--ease); }
.switch[aria-checked="true"] { background: var(--brand); }
.switch[aria-checked="true"] span { transform: translateX(18px); }
.limits { display: grid; gap: 6px; margin-top: 12px; }
.limits li { display: flex; align-items: center; gap: 8px; font-size: 0.8125rem; color: var(--ink-2); }
.limits svg { width: 14px; height: 14px; color: #5e46b8; flex: none; }
.avatars { display: flex; margin-top: auto; padding-top: 20px; }
.avatars .av { width: 38px; height: 38px; margin-left: -8px; border: 2.5px solid var(--bg-soft); font-size: 0.8125rem; }
.avatars .av:first-child { margin-left: 0; }
.close-mini { display: grid; gap: 8px; margin-top: 22px; }
.close-mini li { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; }
.close-mini svg { width: 18px; height: 18px; padding: 2px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); }
.close-mini .open { font-weight: 600; }
.open-dot { width: 18px; height: 18px; border-radius: 50%; background: #f9ebd3; box-shadow: inset 0 0 0 5px #f9ebd3, inset 0 0 0 9px #9a5800; }

/* ---------- Control ---------- */

.control { padding: 104px 0; background: var(--bg); border-top: 1px solid var(--line); }
.control-item { display: flex; flex-direction: column; }
.mini { margin-top: auto; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); }
.control-item > p { margin-bottom: 22px; }
.mini-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-top: 1px solid var(--line); font-size: 0.875rem; }
.mini-row:first-child { border-top: 0; padding-top: 0; font-weight: 600; }
.mini-chip { padding: 2px 8px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); font-size: 0.75rem; font-weight: 600; }
.mini-chip-on { background: var(--brand-soft); color: var(--brand-ink); }
.mini-chip-ask { background: #f9ebd3; color: #8a4f00; }
.mini-btn { display: flex; align-items: center; justify-content: center; height: 40px; border-radius: 999px; background: #1c211e; color: #fff; font-size: 0.875rem; font-weight: 600; }
.mini-fine { margin-top: 8px; font-size: 0.8125rem; color: var(--ink-3); text-align: center; }
.mini-log p:first-child { font-size: 0.875rem; line-height: 1.5; }
.mini-log .mini-fine { text-align: left; margin-top: 6px; }
.control-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 48px; }
.control-icon { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: var(--brand); box-shadow: var(--shadow-sm); }
.control-item h3 { margin-top: 18px; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.015em; }
.control-item p { margin-top: 8px; font-size: 0.9375rem; line-height: 1.6; color: var(--ink-2); }

/* ---------- Pricing ---------- */

.pricing { padding: 104px 0; }
.pricing-grid { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 72px; align-items: center; }
.price-card { padding: 32px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-lg); }
.price { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.price-figure { font-size: 4rem; line-height: 1; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price-unit { font-size: 0.9375rem; line-height: 1.3; color: var(--ink-3); }
.calc { margin: 24px 0 22px; padding: 18px 0 4px; border-top: 1px solid var(--line); }
.calc-label { display: flex; justify-content: space-between; font-size: 0.9375rem; font-weight: 550; }
.calc-label output { font-weight: 600; font-variant-numeric: tabular-nums; }
.range { width: 100%; margin: 14px 0 6px; accent-color: var(--brand); }
.calc-lines > div { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.calc-lines dt { color: var(--ink-2); }
.calc-lines dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.price-fine { margin-top: 12px; text-align: center; font-size: 0.8125rem; color: var(--ink-3); }

/* ---------- FAQ ---------- */

.faq { padding: 96px 0 104px; border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0;
  font-size: 1.0625rem; font-weight: 560; letter-spacing: -0.01em; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px;
  border-right: 1.75px solid var(--ink-3); border-bottom: 1.75px solid var(--ink-3);
  transform: rotate(45deg) translateY(-3px); transition: transform 0.2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq details p { padding: 0 32px 22px 0; font-size: 0.9375rem; line-height: 1.65; color: var(--ink-2); max-width: 60ch; }

/* ---------- Final CTA ---------- */

.final { padding: 96px 0; background: var(--dark); color: #fff; }
.final-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.final-mark { width: 34px; height: 29px; }
.final h2 { margin-top: 22px; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.05; font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
.final p { margin-top: 14px; font-size: 1.0625rem; color: var(--dark-ink-2); }
.final .email-cta { margin-top: 30px; width: 100%; }
.email-cta-dark input { background: var(--dark-2); border-color: var(--dark-line); color: #fff; box-shadow: none; }
.email-cta-dark input::placeholder { color: var(--dark-ink-3); }
.email-cta-dark input:focus { border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.14); }
.cta-error-dark { color: #ff9a8f; }

/* ---------- Footer ---------- */

.footer { padding: 36px 0 44px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-right: auto; }
.footer-links a { font-size: 0.875rem; color: var(--ink-2); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.footer-fine { width: 100%; font-size: 0.8125rem; color: var(--ink-3); }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .hero-grid { gap: 40px; }
  .feature-grid { gap: 48px; }
  .pricing-grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-inner { gap: 10px; }
  .nav-inner .btn { margin-left: auto; }
  .nav-menu { display: flex; }
  .nav.open .nav-links {
    display: grid; position: absolute; left: 0; right: 0; top: 64px; gap: 0; margin: 0;
    padding: 8px var(--gutter) 14px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav.open .nav-links a { padding: 12px 0; font-size: 1rem; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav.open .nav-links a:last-child { border-bottom: 0; }
  .hero { padding: 40px 0 56px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .feature { padding: 72px 0; }
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .feature-grid-flip .feature-copy { order: 0; }
  .dark, .bento-section, .control, .pricing { padding: 72px 0; }
  .agents-grid { grid-template-columns: minmax(0, 1fr); }
  .prompt-panel { grid-template-columns: minmax(0, 1fr); }
  .section-head-split { grid-template-columns: minmax(0, 1fr); }
  .section-head-split p { margin-top: 0; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .cell, .cell-team { grid-column: auto; }
  .cell-team { flex-direction: column; align-items: flex-start; }
  .control-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .pricing-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .beyond { padding: 72px 0; }
  .beyond-list li { grid-template-columns: minmax(0, 1fr) auto; }
  .beyond-trade { grid-column: 1; }
  .beyond-start { grid-column: 2; grid-row: 1; }
  .beyond-body { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .hero h1 { font-size: clamp(2.25rem, 10.5vw, 2.75rem); }
  .email-cta { flex-direction: column; }
  .email-cta input { flex: none; }
  .email-cta .btn { width: 100%; }
  .hero-demo { padding: 28px 12px 18px; border-radius: 22px; }
  .phone { width: 300px; }
  .phone-screen { height: 580px; }
  .price-card { padding: 24px; }
  .price-figure { font-size: 3.25rem; }
  .logo-row { gap: 14px 22px; }
  .beyond-tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .beyond-tabs::-webkit-scrollbar { display: none; }
  .beyond-tab { flex: none; }
}

@media (prefers-reduced-motion: reduce) {
  .app-undo-bar i { animation: none; }
  .switch span, .faq summary::after, .btn { transition: none; }
  .beyond-list li.arrive { animation: none; }
}

/* ---------- Checkout (signup.html) ---------- */

.checkout-body { background: var(--bg); }
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; }
.co-summary { display: flex; justify-content: flex-end; padding: 56px 64px; background: var(--bg-soft); border-right: 1px solid var(--line); }
.co-summary-inner { width: 100%; max-width: 420px; }
.co-back { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.02em; }
.co-back svg:first-child { width: 18px; height: 18px; color: var(--ink-3); }
.co-back:hover svg:first-child { color: var(--ink); }
.co-big { margin-top: 44px; font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.1; font-weight: 600; letter-spacing: -0.028em; text-wrap: balance; }
.co-then { margin-top: 10px; font-size: 0.9375rem; color: var(--ink-2); }
.co-then span { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.co-lines { margin-top: 36px; }
.co-line { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.co-line-name { font-weight: 600; }
.co-line-sub { margin-top: 2px; font-size: 0.8125rem; color: var(--ink-3); }
.co-qty { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; overflow: hidden; }
.co-qty-btn { display: grid; place-items: center; width: 36px; height: 38px; border: 0; background: none; color: var(--ink-2); cursor: pointer; }
.co-qty-btn:hover { background: var(--bg-soft); color: var(--ink); }
.co-qty:has(:disabled) { opacity: 0.45; background: var(--bg-soft); }
.co-qty-btn:disabled, .co-qty-input:disabled { color: var(--ink-3); background: transparent; cursor: default; }
.co-qty-btn svg { width: 15px; height: 15px; }
.co-qty-input { width: 38px; height: 38px; border: 0; border-inline: 1px solid var(--line); text-align: center; font-weight: 600; font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.co-qty-input:focus { outline: none; background: var(--brand-soft); }
.co-row { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; color: var(--ink-2); }
.co-row span:last-child { font-weight: 550; font-variant-numeric: tabular-nums; color: var(--ink); }
.co-row-strong { color: var(--ink); font-weight: 600; border-bottom: 0; }
.co-row-strong span:last-child { font-weight: 600; }
.co-note { margin-top: 18px; font-size: 0.8125rem; line-height: 1.5; color: var(--ink-3); }

.co-form-side { display: flex; padding: 56px 64px; }
.co-form-inner { width: 100%; max-width: 440px; }
.co-title { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.03em; }
.co-form { display: grid; gap: 18px; }
.co-form .co-title { margin-bottom: 6px; }
.co-group { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.co-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.co-label { padding: 0; font-size: 0.875rem; font-weight: 550; color: var(--ink-2); }
.co-input {
  width: 100%; height: 44px; padding: 0 12px;
  border: 1px solid var(--line-strong); border-radius: 9px; background: #fff;
  font-size: 0.9375rem; box-shadow: var(--shadow-sm);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.co-input::placeholder { color: var(--ink-3); opacity: 1; }
.co-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15, 123, 91, 0.16); position: relative; z-index: 1; }
.co-input[aria-invalid="true"] { border-color: var(--danger); }
.co-input-short { max-width: 160px; }
.card-box { display: grid; }
.card-num { position: relative; }
.card-num .co-input { border-radius: 9px 9px 0 0; padding-right: 110px; font-variant-numeric: tabular-nums; }
.card-brand { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 600; color: var(--ink-2); pointer-events: none; }
.card-brand svg { width: 22px; height: 15px; color: var(--ink-3); }
.card-split { display: grid; grid-template-columns: 1fr 1fr; margin-top: -1px; }
.card-split .co-input:first-child { border-radius: 0 0 0 9px; }
.card-split .co-input:last-child { border-radius: 0 0 9px 0; margin-left: -1px; width: calc(100% + 1px); }
.co-error { display: flex; align-items: flex-start; gap: 6px; font-size: 0.8125rem; line-height: 1.4; color: var(--danger); }
.co-error svg { width: 14px; height: 14px; flex: none; margin-top: 1px; }
.co-error[hidden] { display: none; }
.co-agree { display: flex; align-items: flex-start; gap: 10px; font-size: 0.875rem; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.co-agree input { flex: none; width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--brand); }
.co-agree b { font-weight: 600; color: var(--ink); }
.co-submit { margin-top: 4px; }
.co-submit[disabled] { opacity: 0.7; cursor: progress; }
.co-fine { font-size: 0.8125rem; line-height: 1.5; color: var(--ink-3); text-align: center; text-wrap: balance; }
.co-fine svg { display: inline-block; width: 13px; height: 13px; margin-right: 5px; vertical-align: -2px; }
.co-proto { font-size: 0.75rem; color: var(--ink-3); text-align: center; }

.co-done { outline: none; }
.co-done[hidden] { display: none; }
.co-done-check { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); }
.co-done-check svg { width: 24px; height: 24px; }
.co-done-sub { margin-top: 8px; font-size: 0.9375rem; line-height: 1.55; color: var(--ink-2); }
.co-done-lines { margin-top: 24px; border-top: 1px solid var(--line); }
.co-done-lines > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.co-done-lines dt { color: var(--ink-2); }
.co-done-lines dd { text-align: right; font-weight: 550; }
.co-app { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 20px; margin-top: 28px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.co-qr { width: 148px; height: 148px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.co-qr svg { display: block; width: 100%; height: 100%; }
.co-app-copy { display: grid; gap: 10px; align-content: start; font-size: 0.875rem; line-height: 1.5; color: var(--ink-2); }
.co-app-title { font-size: 1rem; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.co-code { font-size: 0.8125rem; }
.co-code span { margin-left: 6px; font-variant-numeric: tabular-nums; font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.06em; color: var(--ink); }
.co-qr-note { font-size: 0.75rem; color: var(--ink-3); }
.co-app-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.co-store { font-size: 0.875rem; font-weight: 550; color: var(--brand-ink); }

@media (max-width: 900px) {
  .checkout { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .co-summary { justify-content: center; padding: 28px var(--gutter) 28px; border-right: 0; border-bottom: 1px solid var(--line); }
  .co-form-side { justify-content: center; padding: 32px var(--gutter) 56px; }
  .co-big { margin-top: 28px; }
  .co-lines { margin-top: 24px; }
}
@media (max-width: 560px) {
  .co-pair { grid-template-columns: minmax(0, 1fr); }
  .co-app { grid-template-columns: minmax(0, 1fr); justify-items: start; }
}

/* ---------- Sign in link, and the written pages (privacy, terms, security, contact) ---------- */

.nav-signin { font-size: 0.9375rem; color: var(--ink-2); text-decoration: none; margin-right: -12px; }
.nav-signin:hover { color: var(--ink); }
@media (max-width: 900px) { .nav-signin { margin-left: auto; margin-right: 6px; } .nav-inner .nav-signin + .btn { margin-left: 0; } }
@media (max-width: 420px) { .nav-signin { display: none; } .nav-inner .nav-signin + .btn { margin-left: auto; } }

.logo-row .logo-text { font-weight: 600; letter-spacing: -0.02em; }

.doc { padding: 72px 0 96px; }
.doc-inner { width: min(720px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.doc-eyebrow { font-size: 0.8125rem; font-weight: 560; color: var(--brand-ink); letter-spacing: 0.01em; margin-bottom: 12px; }
.doc h1 { font-size: clamp(2.125rem, 4vw, 3rem); font-weight: 600; line-height: 1.05; letter-spacing: -0.03em; }
.doc-lead { margin-top: 16px; font-size: 1.0625rem; line-height: 1.6; color: var(--ink-2); }
.doc-meta { margin-top: 12px; font-size: 0.875rem; color: var(--ink-3); }
.doc h2 { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 1.375rem; font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; }
.doc h3 { margin-top: 24px; font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.015em; }
.doc p, .doc ul, .doc ol { margin-top: 12px; color: var(--ink-2); font-size: 0.9875rem; line-height: 1.65; }
.doc ul, .doc ol { padding-left: 1.25em; }
.doc ul { list-style: disc; }
.doc ol { list-style: decimal; }
.doc li + li { margin-top: 6px; }
.doc li::marker { color: var(--ink-3); }
.doc b, .doc strong { color: var(--ink); font-weight: 600; }
.doc a { color: var(--brand-ink); }
.doc a:hover { color: var(--brand); }
.doc table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 0.9375rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.doc th { color: var(--ink); font-weight: 600; font-size: 0.8125rem; }
.doc-table-wrap { overflow-x: auto; }
.doc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 28px; }
.doc-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-soft); }
.doc-card h3 { margin-top: 0; font-size: 1rem; }
.doc-card p { margin-top: 6px; font-size: 0.9375rem; }
.doc-card a { font-weight: 560; }
.doc-toc { margin-top: 28px; padding: 16px 20px; border-radius: var(--r); background: var(--bg-soft); }
.doc-toc ol { margin-top: 4px; columns: 2; column-gap: 24px; font-size: 0.9375rem; }
@media (max-width: 560px) { .doc { padding: 48px 0 72px; } .doc-toc ol { columns: 1; } }

/* ---------- Hero film: the 30-second film plays muted with captions set in the site's type ---------- */

.hero-film { position: relative; isolation: isolate; padding: 72px 0 0; }
/* The stage: the film's lower half stands on a soft ground that runs the full width, anchored to the frame
   so a taller hero (the industry picker wraps on phones) never moves it. */
.hero-film { overflow-x: clip; }
.film { position: relative; }
.film::before { content: ""; position: absolute; z-index: -1; top: 28%; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); background: var(--bg-soft); }
.hero-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-film h1 { font-size: clamp(2.5rem, 5.4vw, 4.5rem); }
.hero-film .hero-sub { max-width: 38em; margin-inline: auto; }
.hero-film .email-cta { width: 100%; }
.hero-film .cta-error { justify-content: center; }

.film { max-width: 1120px; margin: 56px auto 0; padding-bottom: 64px; }
.film-frame {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 20px; background: #dbe0dd;
  box-shadow: 0 0 0 1px rgba(11, 15, 13, 0.06), 0 2px 6px rgba(11, 15, 13, 0.06), 0 44px 88px -36px rgba(11, 15, 13, 0.42);
}
.film-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-video::cue { opacity: 0; } /* the rail shows the captions; this only covers browsers that ignore mode = hidden */
.film-progress { position: absolute; inset: auto 0 0; height: 3px; background: rgba(11, 15, 13, 0.08); }
.film-progress span { display: block; height: 100%; background: var(--brand); transform: scaleX(0); transform-origin: left; }

.film-rail { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px; margin-top: 20px; }
.film-sound {
  display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px 0 14px;
  border: 0; border-radius: 999px; background: var(--ink); color: #fff; cursor: pointer;
  font-size: 0.9375rem; font-weight: 560; letter-spacing: -0.005em; white-space: nowrap;
  box-shadow: 0 1px 2px rgba(11, 15, 13, 0.2), 0 8px 20px -10px rgba(11, 15, 13, 0.5);
  transition: background 0.15s var(--ease), transform 0.15s var(--ease);
}
.film-sound:hover { background: #222b27; }
.film-sound:active { transform: translateY(1px); }
.film-sound svg { width: 20px; height: 20px; flex: none; }
.film-sound-off, [data-mode="sound"]:not(.is-muted) .film-sound-on { display: none; }
[data-mode="sound"]:not(.is-muted) .film-sound-off { display: block; }
.film-len { padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, 0.2); font-variant-numeric: tabular-nums; font-size: 0.8125rem;  color: rgba(255, 255, 255, 0.66); }

.film-line {
  min-height: 1.45em; font-size: 1.1875rem; line-height: 1.45; font-weight: 540; letter-spacing: -0.018em; color: var(--ink);
  text-align: center; text-wrap: balance;
  transition: opacity 0.35s var(--ease), filter 0.35s var(--ease), transform 0.35s var(--ease);
}
.film-line.is-out { opacity: 0; filter: blur(4px); transform: translateY(3px); }
.film:not(.has-captions) .film-line { visibility: hidden; }

.film-tools { display: flex; gap: 8px; }
.film-tool {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; color: var(--ink-2); cursor: pointer;
  transition: color 0.15s var(--ease), border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.film-tool:hover { color: var(--ink); border-color: var(--ink-3); }
.film-tool[aria-pressed="true"] { background: var(--brand-soft); border-color: rgba(15, 123, 91, 0.3); color: var(--brand-ink); }
.film-tool svg { width: 20px; height: 20px; }
.film-play-icon, .film.is-paused .film-pause-icon { display: none; }
.film.is-paused .film-play-icon { display: block; }

/* The film ends on its own brand card; the actions sit under its tagline, so the last frame is the call to action. */
.film-end {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding: 0 16px 8.5%;
  animation: film-end-in 0.7s var(--ease) 0.15s both;
}
.film-end-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.btn-quiet { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-quiet:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
.btn-quiet svg { width: 18px; height: 18px; }
@keyframes film-end-in { from { opacity: 0; transform: translateY(8px); } }

.tryit-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }

@media (max-width: 900px) {
  .hero-film { padding-top: 48px; }
  .film { margin-top: 40px; padding-bottom: 48px; }
  .tryit-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .film-frame { border-radius: 14px; }
  .film-rail { grid-template-columns: auto auto; grid-template-areas: "line line" "sound tools"; justify-content: space-between; gap: 14px 12px; margin-top: 14px; }
  .film-line { grid-area: line; min-height: 2.9em; font-size: 1rem; display: flex; align-items: center; justify-content: center; }
  .film-sound { grid-area: sound; }
  .film-tools { grid-area: tools; }
  .film-end { padding-bottom: 5%; }
  .film-end .btn { height: 38px; padding: 0 14px; font-size: 0.875rem; }
}
@media (max-width: 560px) {
  .hero-film h1 { font-size: clamp(2.25rem, 10.5vw, 2.75rem); }
}
@media (prefers-reduced-motion: reduce) {
  .film-line, .film-end { transition: none; animation: none; }
  .film-line.is-out { filter: none; transform: none; }
}

/* ---------- Hero industry picker: tailors the film and the sample business below ---------- */

.hero-pick { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 36px; }
.hero-pick-label { font-size: 0.875rem; font-weight: 560; color: var(--ink-2); }
.hero-pick .trades { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 720px; }
.hero-pick .trade { height: 38px; padding: 0 16px; font-size: 0.875rem; background: #fff; border-color: var(--line-strong); color: var(--ink); }
.hero-pick .trade:hover { border-color: var(--ink-3); background: #fff; }
.hero-pick .trade[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.film-video { transition: opacity 0.3s var(--ease); }
.film.is-switching .film-video { opacity: 0.35; }
@media (max-width: 560px) {
  .hero-pick { margin-top: 28px; }
  .hero-pick .trades { gap: 6px; }
  .hero-pick .trade { height: 36px; padding: 0 12px; }
}

/* ---------- The real app: two captures from the iPhone app in a drawn device ---------- */

.shots-row { display: flex; justify-content: center; gap: clamp(28px, 6vw, 88px); margin-top: 56px; }
.shot { width: min(320px, 100%); }
.shot:nth-child(2) { margin-top: 64px; } /* a stagger, so the pair reads as two moments, not a grid */
.shot-device {
  position: relative; padding: 10px; border-radius: 52px; background: #0d0f0e;
  box-shadow: 0 0 0 1px rgba(11, 15, 13, 0.4), 0 2px 6px rgba(11, 15, 13, 0.08), 0 40px 70px -30px rgba(11, 15, 13, 0.45);
}
.shot-device img { display: block; width: 100%; height: auto; border-radius: 42px; background: #eceeed; }
/* The Dynamic Island is hardware, so the capture doesn't have it; the frame draws it. */
.shot-device::after { content: ""; position: absolute; top: 22px; left: 50%; width: 31%; height: 26px; transform: translateX(-50%); border-radius: 20px; background: #0d0f0e; }
.shot figcaption { margin-top: 22px; font-size: 0.9375rem; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.shot figcaption b { color: var(--ink); font-weight: 600; }
@media (max-width: 700px) {
  .shots-row { flex-direction: column; align-items: center; gap: 48px; margin-top: 40px; }
  .shot { width: min(300px, 100%); }
  .shot:nth-child(2) { margin-top: 0; }
}
