/* Marjn marketing site. Mobile first; tokens in tokens.css. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-feature-settings: "tnum" 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 16px; top: 12px; z-index: 10;
  padding: 10px 14px; background: var(--ink); color: var(--on-ink);
  border-radius: var(--r-sm); text-decoration: none;
  transform: translateY(-200%);
}
.skip:focus-visible { transform: none; }

.wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right));
}

/* Type */
h1 {
  font-size: var(--fs-h1);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
  max-width: 11ch;
  text-wrap: balance;
}
.h2 {
  font-size: var(--fs-h2);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-wrap: balance;
}
.h3 {
  font-size: var(--fs-h3);
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 600;
}
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--text-2); max-width: 34ch; }
.sub { color: var(--text-2); font-size: var(--fs-body); }
.fine { font-size: var(--fs-sm); color: var(--text-3); }
.cur { font-size: 0.78em; color: var(--text-3); font-weight: 500; letter-spacing: 0.01em; }
.loss { color: var(--loss); }
.loss .cur { color: inherit; opacity: 0.8; }

.ico {
  width: 22px; height: 22px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}

/* Logo: ink follows the theme, the dot is the page's one gold mark */
.logo { display: inline-flex; align-items: center; min-height: 44px; border-radius: 6px; }
.wordmark { height: 28px; width: auto; }
.wm-ink { fill: var(--ink); }
.wm-dot { fill: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 1rem; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out), border-color 160ms var(--ease-out);
}
.btn:active { transform: scale(0.98); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 0.9375rem; }
.btn-primary { background: var(--ink); color: var(--on-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--ink) 86%, var(--bg)); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--text-3); background: var(--surface-2); }
.btn-quiet { color: var(--text); border-color: var(--line); }
.btn-quiet:hover { border-color: var(--line-2); background: var(--surface-2); }

/* Header */
.site-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: max(12px, env(safe-area-inset-top));
  padding-bottom: 12px;
}

/* Hero */
.hero {
  display: grid;
  gap: 48px;
  padding-top: 40px;
  padding-bottom: 48px;
}
.hero-copy { display: grid; gap: 22px; align-content: start; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .ctas { margin-top: 6px; }
.hero .ctas .btn { flex: 1 1 200px; }

/* The tally: sold, the costs, kept */
.tally {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px 20px 20px;
  box-shadow: var(--shadow-1);
  font-variant-numeric: tabular-nums;
}
.tally-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tally-brand { font-weight: 600; font-size: 1rem; }
.tag {
  font-size: 0.8125rem; color: var(--text-3);
  border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; white-space: nowrap;
}
.tally-top, .tally-kept { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tally-top { margin-top: 18px; }
.tally-top dt, .tally-kept dt { font-size: 1rem; color: var(--text-2); font-weight: 500; }
.tally-top dd, .tally-kept dd { font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.125rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }

.stack { position: relative; margin: 14px 0 26px; height: 14px; }
.stack-track {
  display: flex; height: 100%; gap: 2px;
  border-radius: 4px; overflow: hidden;
}
.seg { height: 100%; background: var(--bar); }
.seg:nth-child(2n) { opacity: 0.72; }
.s1 { width: 50.5%; } .s2 { width: 16.2%; } .s3 { width: 14.6%; } .s4 { width: 13.4%; } .s5 { width: 5.3%; }
/* Everything past the sales line is money the brand did not have */
.stack-over {
  position: absolute; top: 0; bottom: 0; left: 89.9%; right: 0;
  background: var(--loss); border-radius: 0 4px 4px 0;
}
.stack-line { position: absolute; top: -6px; bottom: -6px; left: 89.9%; width: 2px; margin-left: -1px; background: var(--text); }
.stack-line span { position: absolute; top: calc(100% + 2px); right: 4px; font-size: 0.75rem; color: var(--text-2); white-space: nowrap; line-height: 1.3; }

.tally-rows { display: grid; }
.tally-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.tally-rows dt { color: var(--text-2); }
.tally-rows dd { color: var(--text); white-space: nowrap; }
.tally-kept { border-top: 2px solid var(--text); padding-top: 12px; }
.tally-kept dt { color: var(--text); font-weight: 600; }
.tally-kept dd { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Load sequence, opted in by site.js (html.motion). Costs land one by one
   while Kept counts down; delays mirror START/STEP/DUR in site.js. */
.motion .tally { animation: rise 520ms var(--ease-out) both; }
.motion .seg { transform-origin: left center; animation: grow 380ms var(--ease-out) both; }
.motion .row { animation: fade 380ms var(--ease-out) both; }
.motion .s1, .motion .r1 { animation-delay: 250ms; }
.motion .s2, .motion .r2 { animation-delay: 390ms; }
.motion .s3, .motion .r3 { animation-delay: 530ms; }
.motion .s4, .motion .r4 { animation-delay: 670ms; }
.motion .s5, .motion .r5 { animation-delay: 810ms; }
.motion .stack-over, .motion .stack-line { animation: fade 320ms var(--ease-out) 1100ms both; }

@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* Scroll reveal, opted in by site.js (html.reveal) */
.reveal .rv { opacity: 0; transform: translateY(12px); transition: opacity 560ms var(--ease-out) var(--d, 0ms), transform 560ms var(--ease-out) var(--d, 0ms); }
.reveal .rv.in { opacity: 1; transform: none; }

/* Section rhythm: more air above a heading than below */
.problem, .features, .compare, .flow, .pilot, .faq { padding-top: 72px; padding-bottom: 8px; }
.problem .h2, .faq .h2 { margin-bottom: 28px; }
.section-head { display: grid; gap: 10px; margin-bottom: 36px; }

/* Video */
.film-frame {
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface-3);
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-2);
}
.film-frame video { width: 100%; height: 100%; object-fit: cover; }
.film-cap { margin-top: 12px; font-size: var(--fs-sm); font-weight: 500; color: var(--text-3); letter-spacing: 0; }

/* Problem: three one-liners on a rule, no cards */
.problem .h2 { max-width: 20ch; }
.points { display: grid; gap: 0; }
.points li {
  display: flex; align-items: center; gap: 14px;
  border-top: 1px solid var(--line-2); padding: 16px 0;
  font-size: 1.125rem; font-weight: 500; line-height: 1.4;
}
.points .ico { color: var(--loss); }

/* Features: the screen leads, two lines of text beside it */
.feature { display: grid; gap: 16px; padding: 28px 0; }
.feature:first-of-type { padding-top: 0; }
.feature-copy { display: grid; gap: 6px; align-content: start; }
.feature-copy .h3 { display: flex; align-items: center; gap: 10px; }
.feature-copy .ico { color: var(--text-2); }
.feature-copy p { color: var(--text-2); max-width: 36ch; }

/* The screen frame is a link into the demo: lift on hover, settle on press */
.shot {
  position: relative; display: block;
  background: var(--surface-2);
  border-radius: var(--r-lg);
  padding: 12px;
  transition: transform 260ms var(--ease-out);
}
.shot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: var(--shadow-2); opacity: 0;
  transition: opacity 260ms var(--ease-out);
}
.shot img {
  width: 100%;
  border-radius: var(--r-sm);
  background: #FFFFFF;
  box-shadow: var(--shadow-1);
}
.shot-narrow picture { display: block; max-width: 520px; margin-inline: auto; }
.shot-go {
  position: absolute; top: 18px; right: 18px;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--on-ink);
  opacity: 0; transform: translateY(4px);
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.shot-go .ico { width: 18px; height: 18px; }
@media (hover: hover) {
  .shot:hover { transform: translateY(-4px); }
  .shot:hover::after { opacity: 1; }
  .shot:hover .shot-go { opacity: 1; transform: none; }
}
.shot:focus-visible .shot-go { opacity: 1; transform: none; }
.shot:active { transform: translateY(-1px) scale(0.995); transition-duration: 90ms; }

/* Waterfall: Sold, each cost stepping down, Kept below zero. One scale for
   every bar: lo/hi are positions on -67,008 .. 598,284 (zero sits at 0.1007).
   Phones read it as horizontal rows; desktop as columns. */
.wf { margin: 8px 0 40px; font-variant-numeric: tabular-nums; }
.wf-steps { display: grid; gap: 14px; }
.st { display: grid; grid-template-columns: 1fr auto; row-gap: 6px; column-gap: 12px; align-items: baseline; }
.st-l { color: var(--text-2); font-size: 1rem; }
.st-v { font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; white-space: nowrap; }
.st1 .st-v, .st7 .st-v { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.st1 .st-l, .st7 .st-l { color: var(--text); font-weight: 600; }
.st7 .st-v { color: var(--loss); }
.st7 .st-v .cur { color: inherit; opacity: 0.8; }
.st-t { grid-column: 1 / -1; position: relative; height: 14px; }
.st-t::before { /* the zero line */
  content: ""; position: absolute; top: -4px; bottom: -4px; left: 10.07%; width: 1px; background: var(--text-3);
}
.st-b {
  position: absolute; top: 0; bottom: 0; border-radius: 3px; background: var(--bar);
  left: calc(var(--lo) * 100%); width: calc((var(--hi) - var(--lo)) * 100%);
  transform-origin: right center;
}
.st1 { --lo: 0.1007; --hi: 1; }
.st2 { --lo: 0.4945; --hi: 1; }
.st3 { --lo: 0.3324; --hi: 0.4945; }
.st4 { --lo: 0.1860; --hi: 0.3324; }
.st5 { --lo: 0.0518; --hi: 0.1860; }
.st6 { --lo: 0; --hi: 0.0518; }
.st7 { --lo: 0; --hi: 0.1007; }
.st1 .st-b { background: var(--text); transform-origin: left center; }
.st7 .st-b { background: var(--loss); }
.wf figcaption { margin-top: 18px; font-size: var(--fs-sm); color: var(--text-3); }

/* Plays once in view: Sold grows, each cost drops off in turn, Kept lands */
.reveal .wf .st-b { transform: scaleX(0); }
.reveal .wf .st-v { opacity: 0; }
.reveal .wf.in .st-b { transform: none; transition: transform 460ms var(--ease-out) var(--wd); }
.reveal .wf.in .st-v { opacity: 1; transition: opacity 360ms var(--ease-out) var(--wd); }
.st1 { --wd: 150ms; } .st2 { --wd: 450ms; } .st3 { --wd: 620ms; } .st4 { --wd: 790ms; }
.st5 { --wd: 960ms; } .st6 { --wd: 1130ms; } .st7 { --wd: 1350ms; }

/* Built for Gulf agencies: most tools vs Marjn. Phones: topic above the
   "most tools" answer on the left, Marjn spanning both on a tinted band. */
.cmp { display: grid; }
.cmp-row { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.cmp-head { border-top: 0; }
.cmp-t { grid-column: 1; grid-row: 1; padding: 14px 12px 2px 0; font-size: var(--fs-sm); font-weight: 600; color: var(--text-3); }
.cmp-o, .cmp-m { display: flex; align-items: flex-start; gap: 8px; font-size: 0.9375rem; line-height: 1.4; }
.cmp-o { grid-column: 1; grid-row: 2; padding: 2px 12px 16px 0; color: var(--text-2); }
.cmp-m { grid-column: 2; grid-row: 1 / span 2; padding: 14px 12px 16px; color: var(--text); font-weight: 600; background: var(--surface-2); }
.cmp .ico { width: 18px; height: 18px; margin-top: 1px; }
.cmp-x { color: var(--text-3); }
.cmp-c { color: var(--profit); stroke-width: 2.25; }
.cmp-head .cmp-t { display: none; }
.cmp-head .cmp-o, .cmp-head .cmp-m { grid-row: 1; padding-top: 12px; padding-bottom: 12px; font-size: var(--fs-sm); font-weight: 600; }
.cmp-head .cmp-o { color: var(--text-3); }
.cmp-head .cmp-m { border-radius: var(--r-md) var(--r-md) 0 0; }
.cmp-row:last-child .cmp-m { border-radius: 0 0 var(--r-md) var(--r-md); }

/* How it connects: sources, Marjn, outputs. Stacks on phones. */
.cx { display: grid; justify-items: stretch; }
.cx ul { display: grid; gap: 8px; }
.cx-src { grid-template-columns: repeat(4, 1fr); }
.cx-src .chip { flex-direction: column; gap: 4px; font-size: 0.875rem; padding-inline: 6px; }
/* Not live yet: same size as the live sources, but dashed and muted */
.chip-soon { border-style: dashed; background: transparent; color: var(--text-2); font-weight: 500; }
.soon { font-size: 0.75rem; font-weight: 500; color: var(--text-3); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; white-space: nowrap; line-height: 1.4; }
.cx-dst { grid-template-columns: repeat(2, 1fr); }
.chip {
  display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center;
  min-height: 52px; padding: 8px 10px;
  border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--surface);
  font-weight: 600; font-size: 0.9375rem; line-height: 1.3;
}
.chip-out { background: var(--surface-2); border-color: var(--line); }
.chip-out .ico { width: 18px; height: 18px; color: var(--text-2); }
.cx-w { height: 56px; position: relative; }
.cx-w svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cx-w path { fill: none; stroke: var(--text-3); stroke-width: 1.5; stroke-dasharray: 3 5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.cx-h { display: none !important; }
.cx-node {
  justify-self: center; display: grid; place-items: center;
  padding: 16px 26px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-2);
}
.cx-wm { height: 34px; }
.motion .cx-w path:not(.cx-soon) { animation: flow 1.4s linear infinite; }
.cx-w .cx-soon { stroke: var(--line-2); stroke-dasharray: 2 6; }
@keyframes flow { to { stroke-dashoffset: -16; } }

/* Phone mockup for the morning summary */
.shot-phone { text-decoration: none; color: inherit; display: grid; place-items: center; padding-block: 28px; }
.phone {
  width: 100%; max-width: 340px;
  border-radius: 34px; padding: 10px;
  background: var(--phone-frame); box-shadow: var(--shadow-2);
}
.phone-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 14px 12px; border-radius: 25px 25px 0 0;
  background: var(--chat-head); color: #FFFFFF;
}
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.18); font-weight: 700; font-size: 0.9375rem; }
.phone-who { display: grid; line-height: 1.25; }
.phone-who b { font-size: 0.9375rem; }
.phone-who small { font-size: 0.8125rem; opacity: 0.85; }
.chat { background: var(--chat-bg); border-radius: 0 0 25px 25px; padding: 18px 12px 40px; }
.bubble {
  position: relative; max-width: 92%;
  background: var(--chat-bubble); color: var(--text);
  border-radius: 4px 14px 14px 14px; padding: 10px 12px 8px;
  box-shadow: 0 1px 1px rgba(23, 24, 27, 0.08);
}
.msg { position: relative; white-space: pre-line; font-size: 0.875rem; line-height: 1.45; }
.time { display: block; text-align: right; font-size: 0.75rem; color: var(--text-3); margin-top: 4px; transition: opacity 300ms var(--ease-out); }
/* Typing, opted in by site.js: the real text keeps its space (no layout shift)
   while a copy types over it */
.reveal .bubble:not(.done) .msg { color: transparent; }
.reveal .bubble:not(.done) .time { opacity: 0; }
.typed { position: absolute; inset: 0; color: var(--text); }

/* Pilot: a real sequence, so the steps are numbered */
.steps { display: grid; gap: 24px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; align-content: start; grid-template-columns: 44px 1fr; column-gap: 16px; row-gap: 6px; }
.steps li::before {
  content: counter(step);
  grid-row: span 2;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text);
}
.steps p { color: var(--text-2); max-width: 40ch; }

/* FAQ */
.faq-list { border-top: 1px solid var(--line-2); max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 14px 0;
  font-weight: 600; font-size: 1.0625rem; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover span { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-2); }
.chev { color: var(--text-3); transition: transform 200ms var(--ease-out); }
.faq details[open] .chev { transform: rotate(180deg); }
.faq details p { padding: 0 0 20px; color: var(--text-2); max-width: 62ch; }

/* Closing band */
.close { margin-top: 96px; background: var(--band-bg); color: var(--band-text); }
.close-inner { padding-top: 72px; padding-bottom: 72px; display: grid; gap: 16px; }
.close .h2 { max-width: 18ch; }
.close p { color: var(--band-text-2); font-size: var(--fs-lead); }
.close .ctas { margin-top: 10px; }
.close .ctas .btn { flex: 1 1 200px; }
.btn-band { background: var(--band-btn); color: var(--band-btn-ink); }
.btn-band:hover { background: color-mix(in srgb, var(--band-btn) 88%, var(--band-bg)); }
.btn-band-quiet { color: var(--band-text); border-color: rgba(255, 255, 255, 0.32); }
.btn-band-quiet:hover { border-color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.06); }
.close :focus-visible { outline-color: var(--band-text); }

/* Footer */
.site-foot {
  display: grid; gap: 20px;
  padding-top: 40px;
  padding-bottom: max(32px, calc(env(safe-area-inset-bottom) + 20px));
  font-size: 0.875rem; color: var(--text-3);
}
.logo-foot .wordmark { height: 24px; }
.foot-meta { display: grid; gap: 6px; }
.foot-link { color: var(--text); font-weight: 600; font-size: 1rem; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; justify-self: start; border-radius: 4px; }
.foot-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Tablet and up */
@media (min-width: 640px) {
  .wrap { padding-inline: max(32px, env(safe-area-inset-left)) max(32px, env(safe-area-inset-right)); }
  .hero .ctas .btn, .close .ctas .btn { flex: 0 0 auto; }
  .tally { padding: 26px 26px 22px; }
  .points { grid-template-columns: repeat(3, 1fr); column-gap: 32px; }
  .points li { align-items: flex-start; padding-top: 18px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .steps li { grid-template-columns: 1fr; }
  .steps li::before { grid-row: auto; margin-bottom: 10px; }
  .shot { padding: 20px; }
}

@media (min-width: 960px) {
  .site-head { padding-top: max(20px, env(safe-area-inset-top)); }
  .hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
    gap: 64px;
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .problem, .features, .compare, .flow, .pilot, .faq { padding-top: 112px; }
  .problem .h2, .faq .h2 { margin-bottom: 36px; }
  .section-head { margin-bottom: 48px; }
  .feature {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 56px;
    padding: 40px 0;
    align-items: center;
  }
  .feature.flip { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
  .feature.flip .feature-copy { order: 2; }
  .feature-copy .h3 { font-size: 1.625rem; letter-spacing: -0.02em; }
  .feature-copy p { font-size: var(--fs-lead); line-height: 1.45; }
  /* Waterfall as columns */
  .wf-steps { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; }
  .st { grid-template-columns: 1fr; grid-template-rows: 2.75rem 280px auto; row-gap: 12px; text-align: center; align-items: end; }
  .st-v { order: 1; font-size: 1.25rem; align-self: end; }
  .st1 .st-v, .st7 .st-v { font-size: 1.625rem; }
  .st-t { order: 2; height: auto; align-self: stretch; }
  .st-l { order: 3; font-size: 0.9375rem; }
  .st-t::before { left: 0; right: 0; width: auto; top: auto; bottom: 10.07%; height: 1px; }
  .st-b {
    left: 22%; right: 22%; width: auto; top: auto;
    bottom: calc(var(--lo) * 100%); height: calc((var(--hi) - var(--lo)) * 100%);
    transform-origin: center top;
  }
  .st1 .st-b { transform-origin: center bottom; }
  .reveal .wf .st-b { transform: scaleY(0); }

  /* Comparison as three columns */
  .cmp { max-width: 980px; }
  .cmp-row { grid-template-columns: 220px 1fr 1fr; border-top: 0; }
  .cmp-t, .cmp-o, .cmp-m { grid-column: auto; grid-row: auto; padding: 18px 20px; border-top: 1px solid var(--line); }
  .cmp-t { padding-left: 0; font-size: 1rem; color: var(--text); }
  .cmp-o, .cmp-m { font-size: 1.0625rem; }
  .cmp-head .cmp-t { display: block; }
  .cmp-head .cmp-o, .cmp-head .cmp-m { grid-row: auto; }
  .cmp-head .cmp-t, .cmp-head .cmp-o, .cmp-head .cmp-m { border-top: 0; padding-top: 14px; padding-bottom: 14px; font-size: var(--fs-sm); }
  /* Connect graphic runs left to right */
  .cx { grid-template-columns: 220px 150px auto 150px 290px; justify-content: center; align-items: stretch; }
  .cx-src, .cx-dst { grid-template-columns: 1fr; grid-auto-rows: 56px; align-content: center; }
  .cx .cx-src { gap: 8px; }
  .cx .cx-dst { gap: 48px; }
  .chip, .cx-src .chip { flex-direction: row; justify-content: flex-start; gap: 8px; padding-inline: 18px; font-size: 1rem; }
  .soon { margin-left: auto; }
  .cx-w { height: auto; }
  .cx-v { display: none !important; }
  .cx-h { display: block !important; }
  .cx-node { align-self: center; padding: 22px 32px; }
  .cx-wm { height: 40px; }
  .close { margin-top: 128px; }
  .close-inner { padding-top: 104px; padding-bottom: 104px; }
  .site-foot { grid-template-columns: 1fr auto; align-items: start; padding-top: 48px; }
  .foot-meta { text-align: right; }
  .foot-link { justify-self: end; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
