/* vision5.com — The Exchange.
   Two sides of a table: blue is your side, the pale ground is theirs, navy is ink.
   Four colour roles. The ribbon gradient belongs to the card being handed and nothing else. */

@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  /* Vision Blue carrying white text. #0A84FF measures 3.6:1 against white; this shade measures 4.8:1,
     so the side of the table that speaks can be read. #0A84FF survives inside the ribbon. */
  --blue: #0A6FDF;
  --blue-deep: #075CBA;
  --ink: #0B1E3D;
  --ground: #F5F7FB;
  --white: #FFFFFF;
  --ribbon: linear-gradient(120deg, #00D2FF 0%, #0A84FF 42%, #7B5CFF 78%, #E0B4FF 100%);

  --ink-2: #3A4A66;   /* secondary text on white or ground: 8.9:1 */
  --ink-3: #56657F;   /* tertiary text on white: 5.9:1 */
  --line: #DCE4F0;
  --ink-raised: #13294D;

  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --bar-h: 72px;
  --card-w: 316px;
  --gutter: clamp(20px, 4vw, 56px);
  /* The bar's content edge: the page's left and right edges line up with the logo and the CTA at every width.
     cqw reads the width of <main> (a size container), so a classic scrollbar does not skew it. */
  --edge: max(var(--gutter), calc(50cqw - 720px + var(--gutter)));

  --z-base: 1;
  --z-card: 5;
  --z-bar: 50;
  --z-skip: 100;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 16px); -webkit-text-size-adjust: 100%; }
body { background: var(--ground); color: var(--ink); font: 400 18px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; }
p { text-wrap: pretty; }

::selection { background: var(--blue); color: var(--white); }
input { caret-color: var(--blue); }
html { scrollbar-color: var(--ink-3) var(--ground); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .finale :focus-visible, .privacy :focus-visible, .foot :focus-visible { outline-color: var(--white); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: var(--z-skip); background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600; transition: top .2s var(--ease); }
.skip:focus { top: 12px; }
main { container-type: inline-size; }
.wrap { width: min(1440px - 2 * var(--gutter), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- buttons and links ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 999px; padding: 15px 26px; font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap;
       transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-deep); }
.btn-white { background: var(--white); color: var(--ink); box-shadow: 0 10px 24px -14px rgba(11, 30, 61, .6); }
.btn-white:hover { background: var(--ground); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-raised); }
.btn[disabled], .btn[aria-disabled="true"] { background: #C7D0DE; color: #4A5872; cursor: not-allowed; box-shadow: none; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: color-mix(in oklab, currentColor 45%, transparent); transition: text-decoration-color .2s var(--ease), gap .2s var(--ease); }
.text-link:hover { text-decoration-color: currentColor; gap: 12px; }
.text-link-light { color: var(--white); }

/* ---------- the top bar (from the category-standard sample, by request) ---------- */
.bar { position: sticky; top: 0; z-index: var(--z-bar); background: var(--white); border-bottom: 1px solid #EEF1F6; transition: box-shadow .3s var(--ease); }
.bar.scrolled { box-shadow: 0 10px 30px -22px rgba(11, 30, 61, .45); }
.bar-inner { height: var(--bar-h); display: flex; align-items: center; gap: 48px; padding-inline: var(--gutter); max-width: 1440px; margin-inline: auto; }
.bar-logo img { height: 25px; width: auto; }
.bar-links { display: flex; gap: 30px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.bar-links a { text-decoration: none; padding: 6px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--ease), color .2s; }
.bar-links a:hover { color: var(--ink); background-size: 100% 2px; }
.bar-actions { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.bar-signin { font-size: 15px; font-weight: 600; text-decoration: none; }
.bar-signin:hover { text-decoration: underline; text-underline-offset: 5px; }
.bar .btn { padding: 12px 20px; font-size: 15px; }
.bar-menu { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); cursor: pointer; }
.bar-menu:hover { background: var(--ground); }
.menu { position: fixed; inset: calc(var(--bar-h) + 8px) var(--gutter) auto auto; margin: 0; width: min(280px, calc(100vw - 2 * var(--gutter))); padding: 10px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); color: var(--ink);
        box-shadow: 0 30px 60px -30px rgba(11, 30, 61, .45); opacity: 0; transform: translateY(-8px);
        transition: opacity .2s var(--ease), transform .3s var(--ease), overlay .3s allow-discrete, display .3s allow-discrete; }
.menu:popover-open { display: grid; opacity: 1; transform: none; }
@starting-style { .menu:popover-open { opacity: 0; transform: translateY(-8px); } }
.menu a { padding: 12px 14px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 16px; }
.menu a:hover { background: var(--ground); }
.menu .menu-signin { margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; padding-top: 16px; }

/* ---------- the table: hero and finale share it ---------- */
.table { position: relative; background: linear-gradient(90deg, var(--blue) 0 50%, var(--ground) 50% 100%); }
.lane-tag { position: absolute; top: 26px; font: 600 13px/1 var(--body); padding: 7px 12px; border-radius: 999px; z-index: var(--z-base); }
.lane-you { left: var(--edge); color: var(--white); background: var(--ink); }
.lane-them { right: var(--edge); color: var(--ink); background: var(--white); box-shadow: 0 1px 0 rgba(11, 30, 61, .08); }

.hero { overflow-x: clip; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr auto; min-height: min(calc(100svh - var(--bar-h)), 900px); }
.hero-yours { grid-column: 1; align-self: center; padding: 64px calc(var(--card-w) / 2 + 64px) 64px var(--edge); color: var(--white); container-type: inline-size; }
.hero h1 span { display: block; white-space: nowrap; }
.hero h1 { font-size: clamp(2.4rem, 16.5cqi, 5.4rem); font-weight: 800; line-height: .98; letter-spacing: -0.025em; font-variation-settings: "opsz" 96; }
.hero-lede { margin-top: 28px; max-width: 34ch; font-size: clamp(18px, 1.45vw, 20px); font-weight: 500; line-height: 1.55; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 22px 28px; }

.hero-card { position: absolute; left: 50%; top: calc(50% - 28px); width: var(--card-w); transform: translate(-50%, -50%); z-index: var(--z-card); }
.ghost { position: absolute; inset: 0 0 auto 0; height: calc(var(--card-w) * 1.71); border-radius: 26px; background: rgba(255, 255, 255, .17); }
.ghost-1 { transform: translate(-44px, 22px) rotate(-21deg); }
.ghost-2 { transform: translate(-96px, 52px) rotate(-33deg); background: rgba(255, 255, 255, .09); }
.hero-card .v5card { transform: rotate(-7deg); }
.try-hint { position: absolute; left: 50%; bottom: -54px; transform: translateX(-50%) rotate(-7deg); display: flex; align-items: center; gap: 8px; white-space: nowrap;
            font: 600 14px/1 var(--body); color: var(--ink); background: var(--white); padding: 9px 14px 9px 12px; border-radius: 999px; box-shadow: 0 10px 22px -14px rgba(11, 30, 61, .6); }
.try-hint .ic { width: 16px; height: 16px; transform: rotate(-90deg); }

.hero-theirs { grid-column: 2; align-self: center; padding: 64px var(--edge) 64px calc(var(--card-w) / 2 + 72px); display: grid; gap: 30px; justify-items: end; grid-template-columns: minmax(0, 1fr); }

.sheet { width: 100%; max-width: 400px; background: var(--white); border-radius: 22px; padding: 22px 22px 20px; box-shadow: 0 30px 60px -36px rgba(11, 30, 61, .45), 0 2px 0 rgba(11, 30, 61, .03); }
.sheet-title { font: 700 20px/1.25 var(--display); letter-spacing: -0.01em; }
.sheet-sub { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.sheet-fields { margin-top: 14px; border-top: 1px solid var(--line); }
.sheet-fields div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.sheet-fields dt { color: var(--ink-3); }
.sheet-fields dd { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sheet-add { display: block; margin-top: 16px; background: var(--blue); color: var(--white); text-align: center; font: 600 16px/1 var(--body); padding: 15px; border-radius: 14px; }

.reply { width: 100%; max-width: 372px; background: var(--ink); color: var(--white); border-radius: 20px; padding: 18px 20px 20px; box-shadow: 0 24px 50px -30px rgba(11, 30, 61, .7); }
.reply-note { margin-top: 10px; font-size: 13px; font-weight: 500; color: #AFC2E2; }
.reply-title { font: 700 18px/1.3 var(--display); }
.reply-row { margin-top: 12px; display: flex; gap: 8px; }
.reply-row span { flex: 1; min-width: 0; background: rgba(255, 255, 255, .09); border-radius: 10px; padding: 10px 12px; font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reply-row .reply-send { flex: none; background: var(--white); color: var(--ink); font-weight: 600; }

.facts { grid-column: 1 / -1; list-style: none; padding: 0 var(--edge); display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 68px; padding: 0 12px; font-size: 15px; font-weight: 600; text-align: center; }
.facts li:nth-child(-n + 2) { color: var(--white); }
.facts li:nth-child(n + 3) { color: var(--ink); }

/* ---------- the card: the one object that carries the ribbon ---------- */
.v5card { --paper: #FFFFFF; --paper-end: #FFFFFF; --card-ink: #0B1E3D; --accent: #0A6FDF; --tile: #EEF2F8; --tile-ink: #0B1E3D; --button: #0B1E3D; --button-ink: #FFFFFF;
          width: var(--card-w); border-radius: 26px; overflow: hidden; background: linear-gradient(180deg, var(--paper), var(--paper-end)); color: var(--card-ink);
          box-shadow: 0 42px 80px -34px rgba(11, 30, 61, .6), 0 14px 30px -14px rgba(11, 30, 61, .3); }
.v5card-head { position: relative; height: 164px; background: var(--accent); }
.v5card.ribbon .v5card-head { background: var(--ribbon); }
.v5card-mono { position: absolute; left: 24px; bottom: -36px; width: 82px; height: 82px; border-radius: 50%; display: grid; place-items: center;
               background: var(--paper); color: var(--card-ink); font: 800 28px/1 var(--display); letter-spacing: -0.02em; box-shadow: 0 6px 18px rgba(11, 30, 61, .2); }
.v5card-body { padding: 50px 24px 26px; }
.v5card-name { display: block; width: 100%; border: 0; background: transparent; padding: 0; font: 700 29px/1.15 var(--display); letter-spacing: -0.02em; color: inherit; border-radius: 6px; }
input.v5card-name { cursor: text; }
input.v5card-name:hover { background: rgba(10, 111, 223, .06); }
input.v5card-name:focus-visible { outline-offset: 4px; outline-color: var(--blue); }
.v5card-role { margin-top: 4px; font-size: 15px; font-weight: 500; opacity: .82; }
.v5card-city { margin-top: 1px; font-size: 13px; font-weight: 500; opacity: .72; }
.v5card-save { display: block; margin-top: 20px; background: var(--button); color: var(--button-ink); text-align: center; font: 600 16px/1 var(--body); padding: 15px; border-radius: 14px; }
.v5card-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.v5card-quick span { background: var(--tile); color: var(--tile-ink); border-radius: 12px; text-align: center; padding: 12px 0; font-size: 13px; font-weight: 600; }
.v5card-links { margin-top: 12px; display: grid; gap: 8px; }
.v5card-links span { border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; font-size: 14px; font-weight: 500; }

/* ---------- section rhythm ---------- */
section h2 { font-size: clamp(2.2rem, 3.7vw, 3.4rem); font-weight: 750; line-height: 1.02; letter-spacing: -0.03em; font-variation-settings: "opsz" 72; }
.section-lede { margin-top: 20px; max-width: 58ch; color: var(--ink-2); font-size: 19px; }

/* ---------- how it works: a sequence between two lifelines ---------- */
.how { background: var(--white); padding: 130px 0 120px; }
.how .wrap { text-align: center; }
.how .section-lede { margin-inline: auto; }
.lanes { position: relative; width: min(1440px - 2 * var(--gutter), 100% - 2 * var(--gutter)); margin: 72px auto 0; }
.lanes::before { content: ""; position: absolute; left: 50%; top: 52px; bottom: 0; width: 1px; background: repeating-linear-gradient(180deg, var(--line) 0 8px, transparent 8px 14px); }
.lifeline { position: absolute; top: 0; }
.lifeline span { display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1 var(--body); padding: 9px 14px; border-radius: 999px; }
.lifeline-you { right: calc(50% + 16px); }
.lifeline-you span { background: var(--blue); color: var(--white); }
.lifeline-them { left: calc(50% + 16px); }
.lifeline-them span { background: var(--ground); color: var(--ink); border: 1px solid var(--line); }
.moves { list-style: none; padding: 80px 0 0; display: grid; gap: 44px; }
.move { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 168px; }
.move-text { max-width: 440px; }
.move h3 { font-size: 26px; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 12px; }
.move-n { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--white); font: 700 14px/1 var(--body); transform: translateY(-3px); }
.move p { margin-top: 10px; color: var(--ink-2); font-size: 17px; }
.from-you .move-text, .at-you .move-text { grid-column: 1; grid-row: 1; justify-self: end; padding-right: 64px; text-align: right; }
.from-you h3, .at-you h3 { flex-direction: row-reverse; justify-content: flex-start; }
.at-them .move-text, .from-them .move-text { grid-column: 2; grid-row: 1; justify-self: start; padding-left: 64px; }
.move-path { grid-row: 1; position: relative; height: 56px; }
.from-you .move-path { grid-column: 2; }
.from-them .move-path { grid-column: 1; }
.move-line { position: absolute; top: 50%; height: 2px; background: var(--ink); transform-origin: left center; }
.from-you .move-line { left: 0; width: calc(100% - 180px); }
.from-them .move-line { right: 0; width: calc(100% - 180px); transform-origin: right center; }
.move-line::after { content: ""; position: absolute; top: -6px; width: 12px; height: 14px; background: var(--ink); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.from-you .move-line::after { right: -2px; }
.from-them .move-line::after { left: -2px; transform: scaleX(-1); }
.move-token { position: absolute; top: 50%; display: inline-flex; align-items: center; gap: 10px; transform: translateY(-50%); padding: 12px 16px; border-radius: 16px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.token-share { right: 24px; background: var(--blue); color: var(--white); box-shadow: 0 16px 30px -18px rgba(10, 111, 223, .9); }
.token-reply { left: 24px; background: var(--ink); color: var(--white); box-shadow: 0 16px 30px -18px rgba(11, 30, 61, .9); }
/* Things that happen on one side stay in that side's lane, under their words. */
.move-visual { grid-row: 2; margin-top: 22px; }
.at-them .move-visual { grid-column: 2; justify-self: start; padding-left: 64px; }
.at-you .move-visual { grid-column: 1; justify-self: end; padding-right: 64px; }
.mini-browser { width: 250px; border-radius: 16px; background: var(--ground); border: 1px solid var(--line); padding: 10px; }
.mini-url { display: block; font-size: 12px; font-weight: 500; color: var(--ink-3); background: var(--white); border-radius: 8px; padding: 6px 10px; }
.mini-card { display: grid; margin-top: 10px; padding: 0 0 12px; border-radius: 12px; background: var(--white); overflow: hidden; text-align: left; }
.mini-card i { height: 44px; background: var(--ribbon); }
.mini-mono { width: 36px; height: 36px; margin: -18px 0 0 12px; border-radius: 50%; display: grid; place-items: center; background: var(--white); box-shadow: 0 2px 8px rgba(11, 30, 61, .18); font: 700 12px/1 var(--display); }
.mini-card strong { margin: 6px 12px 0; font: 700 15px/1.2 var(--display); }
.mini-card small { margin: 2px 12px 0; font-size: 12px; color: var(--ink-3); }
.mini-card em { margin: 10px 12px 0; padding: 8px; border-radius: 8px; background: var(--ink); color: var(--white); font: normal 600 12px/1 var(--body); text-align: center; }
.mini-sheet { width: 260px; display: grid; gap: 8px; padding: 16px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 20px 40px -30px rgba(11, 30, 61, .5); }
.mini-sheet b { font: 700 16px/1.2 var(--display); }
.mini-sheet span { font-size: 13px; color: var(--ink-3); }
.mini-sheet em { font-style: normal; text-align: center; background: var(--blue); color: var(--white); border-radius: 10px; padding: 9px; font-size: 14px; font-weight: 600; }
.mini-contact { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--ground); border: 1px solid var(--line); width: 330px; }
.mini-contact b { display: block; font-size: 15px; }
.mini-contact small { display: block; font-size: 13px; color: var(--ink-3); }
.mini-avatar, .av { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--white); font: 700 14px/1 var(--display); }

/* ---------- two codes ---------- */
.codes { background: var(--ground); padding: 130px 0; }
.codes-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.seg { margin-top: 34px; display: inline-flex; padding: 5px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); gap: 4px; }
.seg button { border: 0; background: transparent; border-radius: 999px; padding: 11px 18px; font-size: 15px; font-weight: 600; cursor: pointer; color: var(--ink-2); transition: background-color .25s var(--ease), color .25s var(--ease); }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.code-explain { margin-top: 26px; max-width: 52ch; }
.code-explain > p { font-size: 17px; color: var(--ink-2); }
.code-explain strong { color: var(--ink); }
.ticks { list-style: none; padding: 0; margin-top: 18px; display: grid; gap: 10px; }
.ticks li { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; }
.ticks .ic { color: var(--blue); }
.ticks .con .ic { color: var(--ink-3); }
.present-note { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); max-width: 52ch; font-size: 16px; color: var(--ink-2); }
.present-note strong { color: var(--ink); }
.qr-stage { justify-self: center; text-align: center; }
.qr-frame { position: relative; width: min(380px, 78vw); border-radius: 34px; background: var(--white); padding: 44px; box-shadow: 0 40px 80px -46px rgba(11, 30, 61, .55); overflow: hidden; }
.qr { display: block; width: 100%; height: auto; aspect-ratio: 1; image-rendering: pixelated; }
.qr[hidden] { display: none; }
.qr-sweep { position: absolute; left: 0; right: 0; top: 0; height: 90px; background: linear-gradient(180deg, transparent, rgba(10, 111, 223, .16) 70%, rgba(10, 111, 223, .5)); transform: translateY(-110%); pointer-events: none; }
.qr-stage figcaption { margin-top: 18px; font-size: 14px; color: var(--ink-3); }

/* ---------- privacy ---------- */
.privacy { background: var(--ink); color: var(--white); padding: 130px 0; }
.privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.privacy .section-lede { color: #C9D6EC; }
.promises { list-style: none; padding: 0; margin-top: 32px; display: grid; gap: 14px; }
.promises li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; font-weight: 500; }
.promises .ic { margin-top: 3px; color: #7FD4FF; }
.requests { background: var(--ink-raised); border-radius: 22px; padding: 22px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); font-size: 14px; }
.req-head, .req { display: grid; grid-template-columns: 1.6fr .7fr .8fr; gap: 12px; }
.req-head { padding: 0 4px 12px; color: #9FB1D1; font-size: 12px; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.req { position: relative; padding: 13px 4px 18px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.req span:first-child { font-family: ui-monospace, "Cascadia Code", Menlo, Consolas, monospace; font-size: 13px; color: var(--white); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.req span { color: #C9D6EC; }
.req i { position: absolute; left: 4px; bottom: 7px; height: 4px; width: var(--w); border-radius: 2px; background: #7FD4FF; transform-origin: left center; }
.req-foot { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 18px; }
.req-foot span { font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: rgba(127, 212, 255, .14); color: #CDEFFF; }

/* ---------- look: presets and the legibility gate ---------- */
.look { background: var(--ground); padding: 130px 0; }
.look-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.look-preview { display: grid; place-items: center; padding: 40px 0; background: radial-gradient(closest-side, rgba(10, 111, 223, .09), transparent); }
.preset-card { transition: background .45s var(--ease), color .45s var(--ease); }
.preset-card .v5card-head, .preset-card .v5card-save, .preset-card .v5card-quick span, .preset-card .v5card-mono { transition: background .45s var(--ease), color .45s var(--ease); }
.preset-card.glass .v5card-quick span { backdrop-filter: blur(6px); border: 1px solid color-mix(in oklab, var(--card-ink) 18%, transparent); }
.preset-card.fade .v5card-head { background: linear-gradient(180deg, var(--accent) 38%, transparent 64%); }
.presets { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.presets button { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 8px 14px 8px 8px; font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.presets button:hover { border-color: var(--ink-3); }
.presets button[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.presets .chip { width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(11, 30, 61, .12); }
.contrast { margin-top: 30px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px 22px; padding: 22px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); max-width: 560px; }
.contrast label { font-size: 15px; font-weight: 600; }
.contrast input[type="range"] { width: 100%; accent-color: var(--blue); }
.verdict { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 12px; }
.ratio { font: 700 30px/1 var(--display); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.verdict-text { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.verdict.fail .ratio { color: #B42318; }
.verdict.fail .verdict-text { color: #7A271A; }
.contrast .btn { grid-column: 1 / -1; justify-self: start; }
.fine { margin-top: 16px; font-size: 14px; color: var(--ink-3); max-width: 56ch; }

/* ---------- teams ---------- */
.teams { background: var(--white); padding: 130px 0; }
.teams-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.locks { list-style: none; padding: 0; margin: 30px 0 30px; max-width: 460px; display: grid; gap: 10px; }
.locks li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border-radius: 16px; background: var(--ground); font-weight: 600; font-size: 16px; }
.locks li span { display: flex; align-items: center; gap: 10px; }
.switch { position: relative; width: 44px; height: 26px; border-radius: 999px; background: #C7D0DE; transition: background-color .35s var(--ease); }
.switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); box-shadow: 0 2px 5px rgba(11, 30, 61, .25); transition: transform .35s var(--ease); }
.switch.on { background: var(--blue); }
.switch.on::after { transform: translateX(18px); }
.roster { position: relative; background: var(--ground); border-radius: 28px; padding: 26px; display: grid; gap: 10px; }
.member { display: flex; align-items: center; gap: 14px; background: var(--white); border-radius: 16px; padding: 12px 16px; transition: opacity .5s var(--ease); }
.member b { display: block; font-size: 15px; }
.member small { display: block; font-size: 13px; color: var(--ink-3); }
.member em { margin-left: auto; font-style: normal; font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 999px; background: #E3F4EA; color: #14532D; }
.member.removed b, .member.removed small { color: var(--ink-3); }
.member.removed .av { background: #8A97AD; }
.member.removed em { background: #FDE8E7; color: #7A271A; }
.gone-card { position: relative; margin-top: 10px; height: 150px; border-radius: 18px; overflow: hidden; }
.gone-live, .gone-off { position: absolute; inset: 0; border-radius: 18px; padding: 20px; display: grid; align-content: center; gap: 4px; transition: opacity .5s var(--ease), transform .6s var(--ease), filter .5s var(--ease); }
.gone-live { background: var(--white); border: 1px solid var(--line); }
.gone-live b { font: 700 20px/1.2 var(--display); }
.gone-live small { font-size: 14px; color: var(--ink-3); }
.gone-live span { margin-top: 10px; justify-self: start; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; }
.gone-off { background: var(--ink); color: var(--white); opacity: 0; transform: translateY(10px); }
.gone-off b { font: 700 19px/1.2 var(--display); }
.gone-off small { color: #C9D6EC; font-size: 14px; }
.gone-off .ic { color: #7FD4FF; margin-bottom: 4px; }
.roster.revoked .gone-live { opacity: 0; filter: blur(4px); transform: scale(.98); }
.roster.revoked .gone-off { opacity: 1; transform: none; }
.replay { justify-self: end; margin-top: 4px; border: 0; background: transparent; font-size: 14px; font-weight: 600; color: var(--ink-2); text-decoration: underline; text-underline-offset: 5px; cursor: pointer; }
.replay:hover { color: var(--ink); }

/* ---------- questions ---------- */
.questions { background: var(--ground); padding: 130px 0; }
.q-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.q-grid h2 { position: sticky; top: calc(var(--bar-h) + 40px); }
.q-list { display: grid; gap: 10px; }
.q-list details { background: var(--white); border-radius: 18px; border: 1px solid var(--line); }
.q-list summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative; font: 650 19px/1.35 var(--display); letter-spacing: -0.01em; }
.q-list summary::-webkit-details-marker { display: none; }
.q-list summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 11px; height: 11px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.q-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.q-list details p { padding: 0 22px 22px; color: var(--ink-2); font-size: 17px; max-width: 62ch; }
.q-list summary:hover { color: var(--blue-deep); }

/* ---------- finale: their card comes back across the line ---------- */
.finale { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 560px; }
.finale-yours { grid-column: 1; align-self: center; padding: 100px calc(var(--card-w) / 2 + 40px) 100px var(--edge); color: var(--white); }
.finale h2 { font-size: clamp(2.4rem, 4.2vw, 4rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em; margin-bottom: 36px; }
.finale-card { grid-column: 2; align-self: center; justify-self: start; margin-left: calc(-1 * var(--card-w) / 2); z-index: var(--z-card); }
.return-card { transform: rotate(5deg); }
.return-card .v5card-head { height: 118px; background: var(--ink); }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: var(--white); padding: 72px 0 48px; }
.foot-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 18px 40px; align-items: center; }
.foot-logo { height: 26px; width: auto; }
.foot-line { font: 600 16px/1 var(--display); color: #C9D6EC; }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 26px; font-size: 15px; font-weight: 500; }
.foot-links a { text-decoration: none; color: #DDE6F5; }
.foot-links a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 5px; }
.foot-fine { grid-column: 1 / -1; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: #9FB1D1; }

/* ---------- legal pages: your side opens the page, the text sits on theirs ---------- */
.legal-head { background: var(--blue); color: var(--white); padding: 72px 0 64px; }
.legal-switch { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--blue-deep); }
.legal-switch a { padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--white); transition: background-color .2s var(--ease), color .2s var(--ease); }
.legal-switch a:hover { background: rgba(255, 255, 255, .14); }
.legal-switch a[aria-current="page"] { background: var(--white); color: var(--ink); }
.legal-head h1 { margin-top: 28px; font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.legal-version { margin-top: 20px; max-width: 64ch; font-size: 16px; line-height: 1.6; color: #E4EEFB; }
.legal-version strong { color: var(--white); }
.legal-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; padding: 72px 0 120px; }
.legal-toc { position: sticky; top: calc(var(--bar-h) + 32px); }
.legal-toc-title { font-size: 14px; font-weight: 600; color: var(--ink-3); }
.legal-toc ol { list-style: none; padding: 0; margin-top: 12px; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.legal-toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none; transition: color .2s var(--ease), border-color .2s var(--ease); }
.legal-toc a:hover, .legal-toc a[aria-current="true"] { color: var(--ink); border-left-color: var(--blue); }
.legal-doc { max-width: 68ch; background: var(--white); border-radius: 28px; padding: clamp(28px, 4vw, 56px); }
.legal-doc h2 { font-size: clamp(1.4rem, 2vw, 1.7rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; margin-top: 44px; scroll-margin-top: calc(var(--bar-h) + 24px); }
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc p, .legal-doc ul { margin-top: 14px; color: var(--ink-2); font-size: 17px; line-height: 1.7; }
.legal-doc ul { padding-left: 22px; }
.legal-doc strong { color: var(--ink); }
.legal-doc code { font: 500 .88em/1 ui-monospace, "Cascadia Code", Consolas, monospace; background: var(--ground); border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; }
.legal-doc .legal-same { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-3); }
@media (max-width: 900px) {
  .legal-head { padding: 48px 0 44px; }
  .legal-grid { grid-template-columns: minmax(0, 1fr); padding: 32px 0 88px; gap: 28px; }
  .legal-toc { position: static; background: var(--white); border-radius: 20px; padding: 20px 22px; }
  .legal-doc { border-radius: 20px; }
}

/* ---------- pricing ---------- */
.price-head { padding-bottom: 150px; }
.price-head h1 { margin-top: 0; max-width: 16ch; }
.price-lede { margin-top: 22px; max-width: 52ch; font-size: clamp(18px, 1.45vw, 20px); font-weight: 500; line-height: 1.55; }
.launch-note { margin-top: 28px; display: inline-flex; align-items: flex-start; gap: 12px; max-width: 62ch; padding: 14px 18px; border-radius: 16px; background: var(--ink); font-size: 15px; line-height: 1.5; color: #DDE6F5; }
.launch-note .ic { color: #7FD4FF; margin-top: 1px; }
.launch-note strong { color: var(--white); }
.plans-wrap { margin-top: -110px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--white); border-radius: 28px; box-shadow: 0 40px 80px -50px rgba(11, 30, 61, .5); overflow: hidden; }
.plan { padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; }
.plan + .plan { border-left: 1px solid var(--line); }
.plan-pro { background: #F8FAFE; }
.plan h2 { font-size: 26px; font-weight: 750; letter-spacing: -0.02em; }
.plan-for { margin-top: 4px; font-size: 16px; color: var(--ink-2); }
.plan-price { margin-top: 26px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.plan-amount { font: 800 clamp(3rem, 4.4vw, 4rem)/1 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan-per { font-size: 16px; font-weight: 600; color: var(--ink-2); }
.plan-alt { margin-top: 8px; min-height: 1.6em; font-size: 15px; color: var(--ink-3); }
.plan-cta { margin-top: 24px; justify-content: center; }
.plan-plus { margin-top: 28px; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.plan-list { list-style: none; padding: 0; margin-top: 14px; display: grid; gap: 12px; font-size: 16px; line-height: 1.45; }
.plan-cta + .plan-list { margin-top: 28px; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; }
.plan-list .ic { width: 18px; height: 18px; margin-top: 2px; color: var(--blue); }
.soon { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--ground); border: 1px solid var(--line); font: normal 600 12px/1.5 var(--body); color: var(--ink-2); white-space: nowrap; }

.compare { padding: 120px 0 40px; }
.compare h2, .trust-sec h2, .lapse h2 { font-size: clamp(2rem, 3.2vw, 3rem); font-weight: 750; line-height: 1.05; letter-spacing: -0.03em; }
.compare-scroll { margin-top: 40px; overflow-x: auto; border-radius: 22px; background: var(--white); border: 1px solid var(--line); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare-table th, .compare-table td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table thead th { font: 700 17px/1.2 var(--display); }
.compare-table:not(.trust-table) thead th + th { width: 18%; }
.compare-table tbody th { font-weight: 500; color: var(--ink); width: 46%; }
.compare-table td { color: var(--ink-2); font-weight: 500; }
.compare-table tr:last-child > * { border-bottom: 0; }
.compare-table .group th { padding-top: 26px; font: 700 14px/1 var(--body); color: var(--ink-3); background: var(--ground); }
.compare-table td[data-yes], .compare-table td[data-no] { font-size: 0; }
.compare-table td[data-yes]::before { content: ""; display: inline-block; width: 18px; height: 18px; background: var(--blue); clip-path: polygon(14% 52%, 0 66%, 38% 100%, 100% 22%, 86% 8%, 38% 72%); }
.compare-table td[data-no]::before { content: ""; display: inline-block; width: 14px; height: 2px; margin-top: 8px; background: #8A97AD; }

.lapse { padding: 100px 0; }
.lapse-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.lapse-list, .trust-list { list-style: none; padding: 0; display: grid; gap: 14px; }
.lapse-list li, .trust-list li { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border-radius: 20px; padding: 22px 24px; }
.lapse-list .ic, .trust-list .ic { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--blue); }
.lapse-list h3, .trust-list h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.lapse-list p, .trust-list p { margin-top: 6px; color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.price-questions { background: var(--white); }
.price-questions .q-list details { background: var(--ground); }
.price-end { background: var(--blue); color: var(--white); padding: 88px 0; }
.price-end-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.price-end h2 { font-size: clamp(2rem, 3.4vw, 3.2rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }

/* ---------- trust ---------- */
.trust-sec { padding: 110px 0; }
.trust-alt { background: var(--white); }
.trust-alt .trust-list li { background: var(--ground); }
.trust-two { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 26px; overflow: hidden; }
.trust-side { padding: clamp(28px, 3.4vw, 48px); }
.trust-side h3 { font-size: 26px; font-weight: 750; letter-spacing: -0.02em; }
.trust-side p { margin-top: 12px; font-size: 17px; line-height: 1.6; max-width: 46ch; }
.trust-yours { background: var(--blue); color: var(--white); }
.trust-theirs { background: var(--white); color: var(--ink); }
.trust-theirs p { color: var(--ink-2); }
.trust-note { margin-top: 24px; max-width: 70ch; color: var(--ink-2); font-size: 16px; }
.trust-list { margin-top: 40px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.trust-table tbody th { width: 22%; font-weight: 600; }
.trust-gone { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.trust-steps { list-style: none; padding: 0; display: grid; border-left: 2px solid var(--line); }
.trust-steps li { position: relative; display: grid; gap: 6px; padding: 0 0 30px 28px; }
.trust-steps li:last-child { padding-bottom: 0; }
.trust-steps li::before { content: ""; position: absolute; left: -7px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--white); }
.trust-steps b { font: 700 20px/1.2 var(--display); }
.trust-steps span { color: var(--ink-2); font-size: 16px; line-height: 1.55; max-width: 56ch; }
.trust-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 96px); }
.trust-pair h2 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); }
.trust-pair p { margin-top: 16px; color: var(--ink-2); font-size: 17px; max-width: 52ch; }
@media (max-width: 1000px) {
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line); }
  .lapse-grid, .trust-gone, .trust-pair { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .trust-two, .trust-list { grid-template-columns: minmax(0, 1fr); }
  .compare-table th, .compare-table td { padding: 12px; font-size: 14px; }
  .compare-table tbody th { width: 40%; }
  .compare, .lapse, .trust-sec { padding: 72px 0; }
  .price-head { padding-bottom: 130px; }
}

@media (max-width: 1180px) {
  .codes-grid, .privacy-grid, .look-grid, .teams-grid, .q-grid { grid-template-columns: 1fr; }
  .q-grid h2 { position: static; }
  .look-preview { order: 2; }
  /* The table keeps its two sides down to tablet width; the card shrinks to fit between them. */
  :root { --card-w: clamp(260px, 25vw, 316px); }
  .hero-yours, .finale-yours { padding-right: calc(var(--card-w) / 2 + 32px); }
  .hero-theirs { padding-left: calc(var(--card-w) / 2 + 32px); }
}

@media (max-width: 1000px) {
  .bar-links, .bar-signin { display: none; }
  .bar-menu { display: inline-flex; }
}

/* ---------- smaller screens: the table turns; the line runs across instead of down ---------- */
@media (max-width: 900px) {
  :root { --card-w: 316px; }
  .table { background: none; }
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; min-height: 0; overflow-x: clip; }
  .lane-tag { display: none; }
  .hero-yours { grid-column: 1; background: var(--blue); padding: 64px var(--gutter) 230px; }
  .hero-lede { max-width: 46ch; }
  .hero-card { position: relative; left: auto; top: auto; transform: none; margin: -190px auto 0; }
  .hero-theirs { grid-column: 1; background: var(--ground); padding: 100px var(--gutter) 40px; justify-items: center; margin-top: -20px; grid-template-columns: minmax(0, 1fr); }
  .facts { background: var(--ground); grid-template-columns: repeat(2, 1fr); padding: 0 var(--gutter) 28px; }
  .facts li { color: var(--ink) !important; justify-content: flex-start; min-height: 52px; text-align: left; }
  .finale { grid-template-columns: 1fr; }
  .finale-yours { background: var(--blue); padding: 80px var(--gutter) 200px; }
  .finale-card { grid-column: 1; justify-self: center; margin: -170px 0 60px; }
}

@media (max-width: 860px) {
  .how, .codes, .privacy, .look, .teams, .questions { padding: 88px 0; }
  .lanes { margin-top: 48px; }
  .lanes::before { left: 14px; top: 0; }
  .lifeline { display: none; }
  .moves { padding: 0; gap: 34px; }
  .move { grid-template-columns: 1fr; min-height: 0; padding-left: 42px; }
  .move-text, .from-you .move-text, .at-you .move-text, .at-them .move-text, .from-them .move-text { grid-column: 1; grid-row: 1; justify-self: start; padding: 0; text-align: left; max-width: none; }
  .from-you h3, .at-you h3 { flex-direction: row; }
  .move-n { position: absolute; left: 0; }
  .move { position: relative; }
  .move-path, .from-you .move-path, .from-them .move-path, .move-visual, .at-them .move-visual, .at-you .move-visual { grid-column: 1; grid-row: 2; justify-self: start; padding: 0; margin-top: 16px; }
  .move-path { height: 50px; width: 100%; }
  .move-line { display: none; }
  .move-token, .token-share, .token-reply { position: static; transform: none; display: inline-flex; }
  .mini-contact { width: 100%; max-width: 340px; }
}

@media (max-width: 560px) {
  body { font-size: 17px; }
  .bar-inner { gap: 16px; }
  .bar .btn { padding: 11px 16px; font-size: 14px; }
  .hero-yours { padding-top: 48px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  :root { --card-w: 292px; }
  .facts { grid-template-columns: 1fr; }
  .req-head, .req { grid-template-columns: 1.5fr .8fr; }
  .req-head span:last-child, .req span:nth-child(3) { display: none; }
  .contrast { grid-template-columns: 1fr; }
  .foot-inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.not-found { padding: 120px 0 140px; min-height: 60vh; }
