/*
 * expeio.com landing page, version 3 (owner's brief, 19 Nov 2026).
 * Taste: light, clean, fast, product first - Ramp, Revolut, Apple. See
 * .claude/skills/expeio-design. Palette "Apple mist", font Geist.
 * Self-contained: this page loads only landing.css and landing.js.
 */

/* ------------------------------------------------------------- fonts -- */
@font-face {
  font-family: "Geist"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("fonts/geist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("fonts/geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* DM Sans only for the "Expeio" name, which is part of the logo. */
@font-face {
  font-family: "DM Sans"; font-style: normal; font-display: swap; font-weight: 100 1000;
  src: url("fonts/dm-sans-latin-standard-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF;
}

/* ------------------------------------------------------------ tokens -- */
:root {
  --page: #f5f5f7;
  --card: #ffffff;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --ink-3: #6e6e73;
  --line: #e5e5ea;
  --accent: #5222e4;          /* the logo's purple */
  --accent-hover: #6439ee;
  --accent-pale: #ece8ff;
  --accent-ink: #2e1a8c;
  --sky: #e2eeff;  --sky-ink: #0b437f;
  --mint: #e2f4ea; --mint-ink: #0d5133;
  --sand: #f6efe4; --sand-ink: #5a4523;
  --font: "Geist", -apple-system, "Segoe UI", system-ui, sans-serif;
  --brand-font: "DM Sans", -apple-system, "Segoe UI", system-ui, sans-serif;
  --wrap: 1180px;
  --pad: clamp(20px, 4vw, 40px);
  --r-lg: 28px;
  --r-md: 18px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --shadow: 0 1px 2px rgba(29, 29, 31, .04), 0 24px 60px -28px rgba(46, 26, 140, .28);
}

/* -------------------------------------------------------------- base -- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font: 400 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-inline-size: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.03em; line-height: 1.06; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: #fff; text-decoration: none; }
.skip:focus { top: 12px; }
.sr { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { inline-size: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
.mute { color: var(--ink-3); }

/* ----------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-block-size: 44px; padding: 0 20px; border: 0; border-radius: 999px;
  font: 500 16px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s ease, transform .2s ease, color .2s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:active { transform: scale(.98); }
.btn-lg { min-block-size: 52px; padding: 0 26px; font-size: 17px; }
.link {
  display: inline-flex; align-items: center; gap: 4px; min-block-size: 44px;
  color: var(--accent); font-weight: 500; text-decoration: none;
}
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------ header -- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 245, 247, .78);
  -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  border-block-end: 1px solid transparent;
  transition: border-color .3s ease, background-color .3s ease;
}
.nav.is-stuck { border-block-end-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; block-size: 64px; }
.brand { display: inline-flex; align-items: center; gap: 3px; color: var(--ink); text-decoration: none; font: 800 22px/1 var(--brand-font); letter-spacing: -.04em; }
.brand img { inline-size: 28px; block-size: 28px; }
/* The "expeio" wordmark (Outfit Bold, drawn as a shape so no font has to load).
   Sizes chosen by the owner, 21 Nov 2026: cube 28px, name 28px type, gap 3px. */
.brand-word { flex: none; inline-size: 80px; block-size: 26.8px; fill: currentColor; }
.nav-in > nav { margin-inline: auto; }
.nav-links { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-links a { display: inline-flex; align-items: center; min-block-size: 40px; padding: 0 14px; border-radius: 999px; color: var(--ink-2); font-size: 15px; text-decoration: none; transition: color .2s, background-color .2s; }
.nav-links a:hover { color: var(--ink); background: rgba(29, 29, 31, .05); }
.nav-act { display: flex; align-items: center; gap: 6px; }
.nav-act .login { color: var(--ink-2); font-size: 15px; text-decoration: none; padding: 0 12px; min-block-size: 40px; display: inline-flex; align-items: center; }
.nav-act .login:hover { color: var(--ink); }
.nav-act .btn { min-block-size: 38px; padding: 0 16px; font-size: 15px; }
.menu-btn { display: none; inline-size: 40px; block-size: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.menu-btn svg { margin: auto; }
.menu-btn:hover { background: rgba(29, 29, 31, .06); }
@media (max-width: 800px) {
  .nav-in { gap: 10px; }
  .nav-links, .nav-act .login { display: none; }
  .nav-act { margin-inline-start: auto; }
  .menu-btn { display: grid; }
  .nav.is-open .nav-links {
    display: flex; flex-direction: column; position: absolute; inset: 64px 0 auto; margin: 0;
    padding: 8px var(--pad) 20px; gap: 0; background: rgba(245, 245, 247, .97);
    border-block-end: 1px solid var(--line);
  }
  .nav.is-open .nav-links a { min-block-size: 52px; padding: 0; border-radius: 0; font-size: 20px; color: var(--ink); border-block-end: 1px solid var(--line); }
  .nav.is-open .nav-links a:hover { background: none; }
  .nav.is-open .nav-links .only-menu { display: block; }
}
.only-menu { display: none; }

/* -------------------------------------------------------------- hero -- */
/* Ramp-style first screen: words and a work-email box on the left, the product on the right. */
.hero { padding-block: clamp(36px, 6vw, 72px) clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(32px, 5vw, 72px); }
.hero h1 { font-size: clamp(2.2rem, .9rem + 3.1vw, 3.75rem); letter-spacing: -.045em; line-height: 1.04; }
.hero .lead { max-inline-size: 44ch; margin-block-start: 20px; color: var(--ink-2); font-size: clamp(1.05rem, .98rem + .3vw, 1.2rem); line-height: 1.5; }
.hero-form { display: flex; gap: 6px; inline-size: min(100%, 520px); margin-block-start: 30px; padding: 5px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), 0 10px 30px -18px rgba(29, 29, 31, .25); transition: box-shadow .15s; }
.hero-form:focus-within { box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 4px var(--accent-pale); }
.hero-form input { flex: 1; min-inline-size: 0; padding: 0 14px; border: 0; background: transparent; color: var(--ink); font: 400 16px/1 var(--font); }
.hero-form input::placeholder { color: #8e8e93; }
.hero-form input:focus { outline: none; }
.hero-form .btn { min-block-size: 48px; border-radius: 12px; padding: 0 22px; }
.hero-err { min-block-size: 0; margin-block-start: 8px; color: #b42318; font-size: 13px; }
.hero-err:empty { display: none; }
.hero-ticks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 14px; }
.hero-ticks li { display: inline-flex; align-items: center; gap: 7px; }
.hero-ticks li::before {
  content: ""; inline-size: 16px; block-size: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink-3);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Hero picture. Tablet and laptop: a soft panel with a dashboard shot and two
   floating cards. Phones: the whole first screen is one picture (see "phone hero"
   below). Plain HTML, so both are sharp and instant. */
.hero-visual { position: relative; aspect-ratio: 1.08; padding: clamp(28px, 4vw, 48px) 0 0 clamp(28px, 4vw, 48px); border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(155deg, #e9e4ff 0%, #e2eeff 55%, #e6f4ec 100%); }
/* The shot is drawn like the new dashboard (owner, 22 Nov 2026): grey "Apple mist" frame,
   slim icon menu with the selected item on a white pill, content on white cards. */
.shot { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-content: start; block-size: 100%; border-radius: 18px 0 0 0; background: #f0f0f4; box-shadow: 0 30px 60px -30px rgba(46, 26, 140, .45), 0 0 0 1px rgba(29, 29, 31, .05); overflow: hidden; font-size: 12px; }
.shot-side { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 0; }
.shot-side img { inline-size: 22px; block-size: 22px; margin-block-end: 12px; }
.shot-side i { display: grid; place-items: center; inline-size: 34px; block-size: 34px; border-radius: 10px; color: #3f3f46; }
.shot-side i.on { background: var(--card); color: var(--ink); box-shadow: 0 2px 8px -2px rgba(29, 29, 31, .14), 0 0 0 1px rgba(29, 29, 31, .04); }
.shot-side svg { inline-size: 18px; block-size: 18px; }
.shot-body { padding: 16px 16px 16px 4px; display: grid; gap: 10px; align-content: start; }
.shot-h { padding: 2px 2px 2px; font-size: 18px; font-weight: 600; letter-spacing: -.035em; }
.shot-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.shot-kpis > div, .shot-markets { padding: 12px 14px; border-radius: 16px; background: var(--card); box-shadow: 0 1px 2px rgba(20, 16, 40, .06), 0 10px 28px -16px rgba(20, 16, 40, .28); }
.shot-markets .fl { flex: none; inline-size: 18px; block-size: 12px; border-radius: 3px; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .2); }
.shot-kpis p, .shot-markets > p { color: var(--ink-3); font-size: 11px; }
.shot-kpis b { display: block; margin-block-start: 4px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.shot-kpis svg { inline-size: 100%; block-size: 26px; margin-block-start: 6px; }
.float { position: absolute; border-radius: 16px; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 0 0 1px rgba(29, 29, 31, .05), 0 22px 44px -20px rgba(29, 29, 31, .35); }
.float-order { left: 7%; bottom: 16%; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; }
.float-order .float-ic { display: grid; place-items: center; inline-size: 36px; block-size: 36px; border-radius: 10px; background: var(--accent-pale); color: var(--accent-ink); }
.float-order svg { inline-size: 18px; block-size: 18px; }
.float-order b { display: block; font-size: 13px; font-weight: 600; }
.float-order span { color: var(--ink-3); font-size: 12px; }
.float-pay { right: 6%; bottom: 5%; padding: 14px 18px; min-inline-size: 180px; }
.float-pay p { color: var(--mint-ink); font-size: 12px; font-weight: 600; }
.float-pay b { display: block; margin-block-start: 4px; font-size: 24px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.float-pay span { color: var(--ink-3); font-size: 12px; }
/* Phone-only pieces, hidden until the phone hero turns them on. */
.pv, .hero-phone-cta, .h1-phone { display: none; }
/* Markets list: hero shot and dashboard preview. */
.shot-markets ul, .markets ul { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.shot-markets li, .markets li { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 34px; align-items: center; gap: 10px; font-size: 12px; }
.shot-markets li span, .markets li span { display: flex; align-items: center; gap: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot-markets i, .markets i, .mk { display: inline-grid; place-items: center; min-inline-size: 22px; block-size: 16px; padding: 0 3px; border-radius: 4px; background: var(--page); color: var(--ink-2); font: 600 9px/1 var(--font); font-style: normal; letter-spacing: .02em; }
.shot-markets em, .markets em { display: block; block-size: 6px; border-radius: 6px; background: linear-gradient(90deg, #a99cf2 var(--w), #ececf1 var(--w)); }
.shot-markets li:first-child em, .markets li:first-child em { background: linear-gradient(90deg, var(--accent) var(--w), #ececf1 var(--w)); }
.shot-markets b, .markets b { justify-self: end; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Narrow laptops: a taller panel, so the floating cards sit below the market list. */
@media (max-width: 1240px) { .hero-visual { aspect-ratio: .9; } }
@media (max-width: 1100px) { .hero-visual { aspect-ratio: .84; } }
@media (max-width: 1000px) {
  /* One column on tablets: the centred headline, line and email box first, so
     Get started is always on the first screen; the picture follows. */
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .hero-visual { margin-block-start: 44px; aspect-ratio: auto; block-size: clamp(512px, 60vw + 100px, 600px); }
  .hero .lead { margin-inline: auto; }
  .hero-form { inline-size: min(100%, 520px); }
  .hero-ticks { justify-content: center; }
}
/* ------------------------------------------------------- phone hero -- */
/* Phones (owner's design, 23 Nov 2026): the first screen is one picture on the
   Apple-mist page - a rounded island with a soft lilac, sky and mint wallpaper.
   Inside it: the headline, the next payout as part of the screen, this week's
   orders as phone notifications just above the buttons, and the two buttons. */
@media (max-width: 600px) {
  .hero { padding: 2px 10px 10px; }
  .hero-grid { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: stretch; gap: 0; inline-size: auto;
    block-size: max(500px, calc(100svh - 76px)); padding: 26px 18px 18px; border-radius: 34px; overflow: hidden;
    background: radial-gradient(60% 42% at 12% 8%, #d8cdff 0%, transparent 70%), radial-gradient(55% 40% at 100% 34%, #cfe0ff 0%, transparent 72%),
      radial-gradient(70% 45% at 70% 100%, #ddd3ff 0%, transparent 70%), radial-gradient(60% 40% at 0% 82%, #d6efe4 0%, transparent 72%), #f2f0f9; }
  /* A whisper of grain, so the wallpaper looks like a photo rather than a flat fill. */
  .hero-grid::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; mix-blend-mode: soft-light; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E"); }
  .hero-copy { display: block; text-align: start; }
  /* Both lines always fit on one line each, on any phone. */
  .hero h1 { font-size: clamp(22px, calc((100vw - 56px) / 11), 35px); line-height: 1.04; white-space: nowrap; }
  .hero h1 .mute { color: #77737f; }
  .h1-wide, .hero .lead, .hero-form, .hero-err, .hero-ticks, .shot, .float { display: none; }
  .h1-phone { display: inline; }
  .hero-visual { flex: 1; display: flex; flex-direction: column; min-block-size: 0; block-size: auto; margin: 0; padding: 40px 0 14px; aspect-ratio: auto; border-radius: 0; overflow: visible; background: none; }
  .pv { flex: 1; display: flex; flex-direction: column; min-block-size: 0; }
  .hero-phone-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero-phone-cta .btn { min-block-size: 52px; }
  .btn-frost { background: rgba(255, 255, 255, .72); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 6px 18px -12px rgba(40, 20, 110, .35); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
  .btn-frost:hover { background: rgba(255, 255, 255, .9); }
}
/* The payout card and the notifications: frosted white, as on a phone's lock screen. */
.pv-pay, .pv-n { -webkit-backdrop-filter: blur(26px) saturate(1.7); backdrop-filter: blur(26px) saturate(1.7); }
.pv-pay { padding: 14px 16px; border-radius: 26px; background: rgba(255, 255, 255, .78); box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .95), 0 18px 40px -24px rgba(46, 26, 140, .55); }
.pv-pay-h { display: flex; align-items: center; gap: 10px; }
.pv-pay-h img { inline-size: 32px; block-size: 32px; margin-inline: 3px; }
.pv-pay-h small { display: block; color: #6e6a78; font-size: 12px; white-space: nowrap; }
.pv-pay-h b { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; }
.pv-pay-h em { margin-inline-start: auto; font-style: normal; font-size: clamp(20px, 6.4vw, 25px); font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
/* Mon to Fri: each day starts exactly where its bar starts. */
.pv-wk, .pv-wkd { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.pv-wk { margin-block-start: 14px; }
.pv-wk i { block-size: 8px; border-radius: 99px; background: #e4e0f2; }
.pv-wk i.on { background: var(--accent); }
.pv-wk i.now { background: linear-gradient(90deg, var(--accent) 50%, #c9bcff 50%); }
.pv-wkd { margin-block-start: 6px; color: #6e6a78; font-size: 11.5px; }
.pv-wkd .t { color: var(--accent); font-weight: 600; }
.pv-notes { margin-block-start: auto; display: grid; gap: 10px; padding-block-start: 18px; }
/* The newest orders, the rest of the group peeking out beneath them. */
.pv-grp { position: relative; display: grid; gap: 8px; padding-block-end: 16px; }
.pv-grp::before, .pv-grp::after { content: ""; position: absolute; left: 50%; translate: -50% 0; block-size: 30px; border-radius: 18px; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .8); }
.pv-grp::before { inline-size: 93%; bottom: 8px; z-index: 1; background: rgba(255, 255, 255, .5); }
.pv-grp::after { inline-size: 85%; bottom: 0; z-index: 0; background: rgba(255, 255, 255, .34); }
.pv-n { position: relative; z-index: 2; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 10px; align-items: start; padding: 11px 13px 12px 11px; border-radius: 22px;
  background: rgba(255, 255, 255, .64); box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .9), 0 10px 26px -18px rgba(40, 20, 110, .45); }
.pv-n img { inline-size: 34px; block-size: 34px; margin: 2px; }
.pv-n-h { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 600; }
.pv-n-h time { color: #6e6a78; font-size: 12.5px; font-weight: 400; }
.pv-n p:not(.pv-n-h) { margin-block-start: 1px; color: #26242c; font-size: 14px; line-height: 1.3; }
.pv-n b { font-weight: 600; font-variant-numeric: tabular-nums; }
.pv-more { margin-block-start: -6px; color: #6e6a78; font-size: 12px; text-align: center; }
/* Short phones (e.g. iPhone SE) show two orders; very short ones one, so the buttons stay on the first screen. */
@media (max-width: 600px) and (max-height: 760px) { .pv-grp .pv-n:nth-child(3) { display: none; } }
@media (max-width: 600px) and (max-height: 620px) { .pv-grp .pv-n:nth-child(2) { display: none; } .hero-visual { padding-block-start: 24px; } }
.hero-cta { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px 22px; margin-block-start: 32px; }
@media (max-width: 600px) {
  .hero-cta { flex-direction: column; align-items: stretch; inline-size: min(100%, 360px); margin-inline: auto; }
  .hero-cta .link { justify-content: center; }
}

/* --------------------------------------------- dashboard preview (hero) -- */
.stage { position: relative; padding-block-end: clamp(24px, 3.5vw, 56px); }
/* The clickable dashboard (dash-demo.js / dash-demo.css). The box keeps the app's height
   before the script draws it, so nothing below jumps: desktop app 1280 x 780 scaled to
   fit, the iPad-upright version (820 x 1080) under 980px, the phone app on phones,
   nearly edge to edge and as tall as the screen allows. */
.xd-host { display: block; inline-size: min(100% - 2 * var(--pad), 1180px); margin-inline: auto; aspect-ratio: 1280 / 780; }
@media (max-width: 979px) { .xd-host { aspect-ratio: 820 / 1080; } }
@media (max-width: 559px) { .xd-host { inline-size: calc(100% - 24px); aspect-ratio: auto; min-block-size: clamp(560px, calc(100svh - 112px), 860px); } }
.xd-off { padding: 40px 0; color: var(--ink-3); text-align: center; }
.sec-head .lead { margin: 16px auto 0; max-inline-size: 48ch; color: var(--ink-2); font-size: clamp(1.05rem, .98rem + .3vw, 1.2rem); }
.kpis.kpis-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.spark { inline-size: 100%; block-size: 24px; margin-block-start: 8px; }
.dash-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 12px; margin-block-start: 12px; }
.dash-row .chart { margin: 0; }
.markets { padding: 16px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.markets ul { gap: 11px; margin-block-start: 14px; }
.markets li { font-size: 13px; }
.chart-key { display: inline-flex; align-items: center; gap: 6px; }
.chart-key i { display: inline-block; inline-size: 12px; block-size: 2px; border-radius: 2px; }
.chart-key .k1 { background: #5222e4; }
.chart-key .k2 { margin-inline-start: 8px; background: repeating-linear-gradient(90deg, #0b437f 0 4px, transparent 4px 7px); }
.mk { margin-inline-end: 7px; vertical-align: 1px; }
.dash-note { margin-block-start: 14px; color: var(--ink-3); font-size: 12px; }
@media (max-width: 1100px) { .kpis.kpis-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kpis-4 .kpi-pay { grid-column: auto; } }

/* -------------------- dashboard v2: modelled on the real Expeio Orders screen -- */
.dash-v2 { inline-size: min(100% - 2 * var(--pad), 1180px); }
.dash-v2 .dash-body { grid-template-columns: 232px minmax(0, 1fr); }
.dash-v2 .dash-side { padding: 16px 12px; }
.dash-brandrow { display: flex; align-items: center; gap: 9px; padding: 2px 8px 0; color: var(--ink); font: 800 18px/1 var(--brand-font); letter-spacing: -.04em; }
.dash-find { display: flex; align-items: center; gap: 8px; block-size: 36px; margin: 16px 0 12px; padding: 0 8px 0 10px; border-radius: 10px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-3); font-size: 13px; }
.dash-find svg { inline-size: 16px; block-size: 16px; }
.dash-find kbd { margin-inline-start: auto; padding: 3px 6px; border-radius: 6px; background: var(--page); font: 500 11px/1 var(--font); color: var(--ink-3); }
.dash-v2 .dash-tab { min-block-size: 38px; border-radius: 11px; color: var(--ink); }
.dash-v2 .dash-tab[aria-selected="true"] { background: var(--accent); color: #fff; font-weight: 600; box-shadow: 0 6px 16px -8px rgba(82, 34, 228, .7); }
.dash-v2 .dash-count { background: var(--accent); color: #fff; border-radius: 999px; padding: 3px 8px; font-size: 11px; }
.dash-v2 .dash-tab[aria-selected="true"] .dash-count { background: rgba(255, 255, 255, .24); box-shadow: none; }
.dash-v2 .dash-more { margin-block-start: 2px; }
.dash-v2 .dash-more li { min-block-size: 38px; color: var(--ink); }
.dash-v2 .dash-main { padding: 22px 24px 24px; background: var(--page); }
.dash-v2 .dash-h { margin-block-end: 14px; }
.dash-v2 .dash-h h3 { font-size: 22px; }
.dash-v2 .sample { padding: 4px 10px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-3); font-size: 12px; }
.dash-v2 .kpi, .dash-v2 .chart, .dash-v2 .markets { background: var(--card); }

/* Metrics strip */
.mstrip { display: grid; grid-template-columns: auto repeat(4, minmax(0, 1fr)); border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.mstrip-date { display: flex; align-items: center; gap: 7px; padding: 0 16px; border-inline-end: 1px solid var(--line); font-size: 13px; font-weight: 500; white-space: nowrap; }
.mstrip-date svg { inline-size: 16px; block-size: 16px; }
.mstat { padding: 9px 16px 8px; border-inline-end: 1px solid var(--line); }
.mstat:last-child { border-inline-end: 0; }
.mstat p { color: var(--ink); font-size: 13px; font-weight: 500; text-decoration: underline dotted #c7c7cc; text-underline-offset: 3px; }
.mstat b { display: block; margin-block-start: 2px; font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mstat svg { display: block; inline-size: 100%; block-size: 14px; margin-block-start: 3px; }

/* Orders and payouts tables */
.otable { margin-block-start: 12px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.otools { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-block-end: 1px solid var(--line); }
.chip { padding: 6px 11px; border-radius: 8px; color: var(--ink-2); font-size: 13px; font-weight: 500; }
.chip.is-on { background: rgba(29, 29, 31, .07); color: var(--ink); }
.osearch { display: flex; align-items: center; gap: 7px; margin-inline-start: 8px; color: var(--ink-3); font-size: 13px; }
.osearch svg { inline-size: 16px; block-size: 16px; }
.otable table { inline-size: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.otable th { padding: 9px 12px; background: #fafafb; color: var(--ink-3); font-size: 12px; font-weight: 500; text-align: left; white-space: nowrap; }
.otable td { padding: 10px 12px; border-block-start: 1px solid #efeff3; color: var(--ink-2); white-space: nowrap; }
.otable tbody tr { transition: background-color .15s; }
.otable tbody tr:hover { background: #fafafd; }
.otable .r { text-align: right; }
.otable td.on { color: var(--ink); font-weight: 600; }
.otable td.r:not(:last-child), .otable td:nth-child(5) { color: var(--ink); }
.cust { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.cust i { display: grid; place-items: center; inline-size: 24px; block-size: 24px; border-radius: 50%; background: hsl(var(--h) 80% 93%); color: hsl(var(--h) 45% 32%); font: 600 10px/1 var(--font); font-style: normal; }
.otable .mk { margin: 0; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px 3px 8px; border-radius: 999px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.pill::before { content: ""; inline-size: 6px; block-size: 6px; border-radius: 50%; background: currentColor; }
.p-paid { background: #f1f1f4; color: #3a3a3c; }
.p-ref { background: #f1f1f4; color: #6e6e73; }
.p-unf { background: #fff3c4; color: #7a5600; }
.p-unf::before { background: none; box-shadow: inset 0 0 0 1.5px currentColor; }
.p-ful { background: var(--mint); color: var(--mint-ink); }
.p-sched { background: var(--accent-pale); color: var(--accent-ink); }
.otable-foot { padding: 10px 12px; border-block-start: 1px solid #efeff3; color: var(--ink-3); font-size: 12px; }
.stmt { padding: 3px 8px; border-radius: 6px; background: var(--accent-pale); color: var(--accent-ink); font-size: 11px; font-weight: 600; }
.paynext { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.paynext p { color: var(--ink-3); font-size: 13px; }
.paynext b { display: block; margin-block-start: 4px; font-size: 30px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.paynext span:not(.pill) { color: var(--ink-3); font-size: 13px; }

@media (max-width: 1100px) {
  .otable th:nth-child(2), .otable td:nth-child(2) { display: none; }
}
@media (max-width: 1240px) {
  #p-or .otable th:nth-child(8), #p-or .otable td:nth-child(8) { display: none; }
}
@media (max-width: 1000px) {
  .dash-v2 .dash-body { grid-template-columns: 196px minmax(0, 1fr); }
  .mstrip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mstrip-date { grid-column: 1 / -1; min-block-size: 40px; border-inline-end: 0; border-block-end: 1px solid var(--line); }
  .mstat:nth-child(3) { border-inline-end: 0; }
  .mstat:nth-child(n + 4) { border-block-start: 1px solid var(--line); }
}
@media (max-width: 800px) {
  .dash-v2 .dash-body { grid-template-columns: 1fr; }
  .dash-brandrow, .dash-find { display: none; }
  .dash-v2 .dash-main { padding: 16px; }
  #p-or .otable th:nth-child(6), #p-or .otable td:nth-child(6), #p-or .otable th:nth-child(4), #p-or .otable td:nth-child(4) { display: none; }
  #p-pa .otable th:nth-child(3), #p-pa .otable td:nth-child(3), #p-pa .otable th:nth-child(4), #p-pa .otable td:nth-child(4) { display: none; }
  .osearch { display: none; }
}
@media (max-width: 480px) {
  .otable th, .otable td { padding-inline: 8px; }
  .cust i { display: none; }
  .paynext { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 400px) {
  .dash-v2 .dash-main { padding: 12px; }
  .otable table { font-size: 12px; }
  .otable th, .otable td { padding-inline: 6px; }
  .otable .pill { gap: 4px; padding: 2px 7px 2px 6px; font-size: 11px; }
}
@media (max-width: 600px) {
  /* Phones go straight to the order list; the four numbers take too much room. */
  #p-or .mstrip { display: none; }
  /* Overview stays no taller than Orders: plain numbers and the market list, no chart. */
  #p-ov .kpi em, #p-ov .kpi .spark, #p-ov .chart { display: none; }
}
@media (max-width: 359px) {
  .dash-v2 .dash-main { padding: 10px; }
  .otable th, .otable td { padding-inline: 4px; }
  .otable .pill { padding-inline: 7px; }
  .otable .pill::before { display: none; }
}
@media (max-width: 1000px) { .dash-row { grid-template-columns: 1fr; } }
.dash {
  inline-size: min(100% - 2 * var(--pad), 1080px); margin-inline: auto; overflow: hidden;
  border-radius: 22px; background: var(--card); box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
  text-align: left; font-size: 14px;
}
/* Top bar, Shopify-style: store, search, account. */
.dash-bar { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; align-items: center; gap: 16px; block-size: 52px; padding: 0 14px 0 16px; border-block-end: 1px solid var(--line); color: var(--ink-3); font-size: 13px; }
.dash-store { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: 14px; }
.dash-search { display: flex; align-items: center; gap: 8px; inline-size: min(100%, 420px); block-size: 34px; padding: 0 6px 0 10px; border-radius: 10px; background: var(--page); color: var(--ink-3); }
.dash-search svg { inline-size: 16px; block-size: 16px; flex: none; }
.dash-search kbd { margin-inline-start: auto; padding: 3px 6px; border-radius: 6px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font: 500 11px/1 var(--font); color: var(--ink-3); }
.dash-right { display: flex; align-items: center; gap: 10px; }
.dash-right .sample { font-size: 12px; }
.dash-av { display: grid; place-items: center; inline-size: 28px; block-size: 28px; border-radius: 50%; background: var(--accent-pale); color: var(--accent-ink); font-size: 11px; font-weight: 600; }

/* Sidebar: neutral highlight like Shopify, icons 20px on a 24px grid. */
.dash-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); }
.dash-side { padding: 12px 10px; border-inline-end: 1px solid var(--line); background: #fbfbfd; }
.dash-tabs { display: flex; flex-direction: column; gap: 1px; }
.dash-tab {
  display: flex; align-items: center; gap: 10px; inline-size: 100%; min-block-size: 36px; padding: 0 10px;
  border: 0; border-radius: 9px; background: none; color: var(--ink-2); font: 500 14px/1 var(--font); text-align: left; cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.dash-tab svg, .dash-more svg { inline-size: 20px; block-size: 20px; flex: none; }
.dash-tab:hover { background: rgba(29, 29, 31, .04); color: var(--ink); }
.dash-tab[aria-selected="true"] { background: rgba(29, 29, 31, .07); color: var(--ink); font-weight: 600; }
.dash-count { margin-inline-start: auto; min-inline-size: 22px; padding: 3px 7px; border-radius: 7px; background: rgba(29, 29, 31, .08); color: var(--ink); font-size: 12px; font-weight: 600; text-align: center; }
.dash-tab[aria-selected="true"] .dash-count { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.dash-sec { margin: 18px 10px 6px; color: var(--ink-3); font-size: 12px; font-weight: 500; }
.dash-more { margin: 0; padding: 0; list-style: none; }
.dash-more li { display: flex; align-items: center; gap: 10px; min-block-size: 36px; padding: 0 10px; color: var(--ink-3); font-size: 14px; font-weight: 500; }

/* Panels share one grid cell, so every tab is exactly the same height. */
.dash-main { display: grid; padding: 22px 26px 26px; }
.dash-panel { grid-area: 1 / 1; min-inline-size: 0; transition: opacity .25s ease, visibility 0s linear 0s; }
.dash-panel[hidden] { display: block; opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s linear .2s; }
.dash-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-block-end: 16px; }
.dash-h h3 { font-size: 20px; letter-spacing: -.02em; }
.dash-h small { color: var(--ink-3); font-size: 13px; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.kpi { padding: 14px 16px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.kpi p { color: var(--ink-3); font-size: 13px; }
.kpi b { display: block; margin-block-start: 6px; font-size: 24px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi em { display: inline-block; margin-block-start: 6px; color: var(--mint-ink); font-size: 12px; font-style: normal; }
.kpi-pay { background: var(--accent-pale); box-shadow: none; }
.kpi-pay p, .kpi-pay em { color: var(--accent-ink); }
.kpi-pay b { color: var(--accent-ink); }
.chart { margin-block-start: 14px; padding: 16px 16px 10px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.chart-h { display: flex; justify-content: space-between; color: var(--ink-3); font-size: 13px; }
.chart svg { inline-size: 100%; block-size: auto; margin-block-start: 8px; }
.chart-x { display: flex; justify-content: space-between; color: var(--ink-3); font-size: 11px; }
.rows { margin: 0; padding: 0; list-style: none; }
.rows li {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto auto; align-items: center; gap: 14px;
  min-block-size: 52px; border-block-end: 1px solid var(--line); font-variant-numeric: tabular-nums;
}
.rows li:last-child { border-block-end: 0; }
.rows .who { font-weight: 500; }
.rows .sub { color: var(--ink-3); }
.tag { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 999px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.tag-paid { background: var(--mint); color: var(--mint-ink); }
.tag-ship { background: var(--sky); color: var(--sky-ink); }
.tag-new { background: var(--accent-pale); color: var(--accent-ink); }
.rows .amt { justify-self: end; font-weight: 500; }
.statement { color: var(--accent); font-weight: 500; text-decoration: none; }
@media (max-width: 1000px) {
  .dash-bar, .dash-body { grid-template-columns: 180px minmax(0, 1fr) auto; }
  .dash-body { grid-template-columns: 180px minmax(0, 1fr); }
}
@media (max-width: 800px) {
  .dash-bar { grid-template-columns: auto minmax(0, 1fr); }
  .dash-search { display: none; }
  .dash-right { justify-self: end; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-side { padding: 8px; border-inline-end: 0; border-block-end: 1px solid var(--line); }
  .dash-sec, .dash-more { display: none; }
  .dash-tabs { flex-direction: row; }
  .dash-tab { justify-content: center; }
  .dash-count { margin-inline-start: 2px; }
  .dash-main { padding: 18px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi-pay { grid-column: 1 / -1; }
  .rows li { grid-template-columns: minmax(0, 1fr) auto; row-gap: 2px; padding-block: 10px; }
  .rows .sub { grid-column: 1; grid-row: 2; font-size: 13px; }
  .rows .tag { grid-column: 2; grid-row: 2; justify-self: end; }
}
@media (max-width: 420px) {
  .dash-tab span { font-size: 13px; }
  .dash-tab svg { display: none; }
  .kpi b { font-size: 21px; }
}

/* ---------------------------------------------------------- sections -- */
.sec { padding-block: clamp(56px, 7vw, 104px); }
.sec.flush { padding-block-start: 0; }
.btn-white { background: #fff; color: var(--accent-ink); }
.btn-white:hover { background: var(--accent-pale); }
.vs-us .hero-cta { justify-content: flex-start; margin-block-start: 28px; }
@media (max-width: 600px) { .vs-us .hero-cta { inline-size: 100%; } }
.sec-head { max-inline-size: 760px; margin-block-end: clamp(36px, 5vw, 64px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.kicker { margin-block-end: 14px; color: var(--accent); font-size: 15px; font-weight: 500; }
.sec h2 { font-size: clamp(2rem, 1rem + 3.6vw, 3.6rem); }
.sec-head p.lead { margin-block-start: 18px; color: var(--ink-2); font-size: clamp(1.05rem, .98rem + .3vw, 1.25rem); }

/* the four walls */
.walls { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.wall { position: relative; padding: 26px 24px 28px; border-radius: var(--r-lg); background: var(--card); }
.wall-ic { inline-size: 28px; block-size: 28px; margin-block-end: 44px; color: var(--ink); }
.wall h3 { font-size: 21px; letter-spacing: -.02em; }
.wall p { margin-block-start: 10px; color: var(--ink-3); font-size: 15px; line-height: 1.5; }
.walls-out { margin-block-start: clamp(40px, 5vw, 64px); font-size: clamp(1.5rem, 1rem + 1.6vw, 2.25rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; text-align: center; text-wrap: balance; }
@media (max-width: 1000px) { .walls { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .walls { grid-template-columns: 1fr; } .wall-ic { margin-block-end: 22px; } }

/* how it works: four steps, each with a small picture of what really happens */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.step { position: relative; display: flex; flex-direction: column; padding: 10px; border-radius: var(--r-lg); background: var(--card); transition: transform .35s ease, box-shadow .35s ease; }
.step-art { display: grid; place-items: center; min-block-size: 248px; padding: 22px 16px; border-radius: var(--r-md); }
.step-txt { padding: 20px 14px 18px; }
.step-who { display: flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: 13px; font-weight: 500; }
.step-n { display: grid; place-items: center; inline-size: 22px; block-size: 22px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; }
.step h3 { margin-block-start: 12px; font-size: 20px; letter-spacing: -.02em; }
.step-txt > p:last-child { margin-block-start: 8px; color: var(--ink-3); font-size: 15px; line-height: 1.5; }
/* An arrow between steps while they sit in one row. */
.step + .step::before {
  content: ""; position: absolute; z-index: 1; inset-inline-start: -20px; inset-block-start: 132px; inline-size: 24px; block-size: 24px; border-radius: 50%;
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m10 7 5 5-5 5'/%3E%3C/svg%3E") center / 16px no-repeat;
  box-shadow: 0 0 0 1px var(--line), 0 4px 10px -4px rgba(29, 29, 31, .2);
}
/* the small product pictures */
.mini { inline-size: 100%; max-inline-size: 260px; padding: 14px; border-radius: 14px; background: var(--card); box-shadow: 0 0 0 1px rgba(29, 29, 31, .05), 0 18px 36px -22px rgba(29, 29, 31, .35); color: var(--ink); font-size: 12px; font-variant-numeric: tabular-nums; }
.mini-head { display: flex; align-items: center; gap: 7px; margin-block-end: 6px; font-size: 13px; font-weight: 600; }
.mini-head > span { margin-inline-start: auto; color: var(--ink-3); font-size: 11px; font-weight: 500; }
.mini-head > .pill { color: var(--mint-ink); }
.mini-line { display: flex; justify-content: space-between; gap: 10px; padding-block: 7px; border-block-start: 1px solid #efeff3; color: var(--ink-3); }
.mini-line b { color: var(--ink); font-weight: 600; white-space: nowrap; }
.mini-line .ok { color: var(--mint-ink); }
.mini-total { color: var(--ink); font-weight: 600; }
.mini-total b { font-size: 14px; }
.mini-item { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding-block-end: 10px; }
.mini-item small { display: block; color: var(--ink-3); font-size: 11px; }
.mini-thumb { inline-size: 34px; block-size: 34px; border-radius: 8px; background: linear-gradient(140deg, #efe9dc, #d9cdb4); }
.mini-btn { display: flex; align-items: center; justify-content: center; gap: 7px; margin-block-start: 8px; padding: 9px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; }
.mini-btn svg { inline-size: 14px; block-size: 14px; }
.mini .stmt { display: inline-block; margin-block-start: 6px; }
.track { margin: 4px 0 0; padding: 0; list-style: none; }
.track li { position: relative; padding: 0 0 12px 24px; }
.track li:last-child { padding-block-end: 0; }
.track li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: 1px; inline-size: 14px; block-size: 14px; border-radius: 50%;
  background: var(--mint-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 10px no-repeat; }
.track li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 6px; inset-block: 18px 2px; inline-size: 2px; border-radius: 2px; background: #cfe7d9; }
.track b { display: block; font-weight: 600; }
.track small { color: var(--ink-3); font-size: 11px; }
.steps-note { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 12px; margin-block-start: 28px; color: var(--ink-2); font-size: 15px; text-align: center; text-wrap: balance; }
/* Apple-style pastel tints: the whole area takes the tint. */
.t-lilac { background: var(--accent-pale); color: var(--accent-ink); }
.t-sky { background: var(--sky); color: var(--sky-ink); }
.t-mint { background: var(--mint); color: var(--mint-ink); }
.t-sand { background: var(--sand); color: var(--sand-ink); }
@media (hover: hover) {
  .step:hover, .plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
}
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step + .step::before { display: none; }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; }
  .step-art { min-block-size: 0; padding: 26px 18px; }
}
/* one agreement instead of five */
.vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vs-card { padding: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); background: var(--card); }
.vs-card h3 { font-size: 24px; letter-spacing: -.02em; }
.vs-card > p { margin-block-start: 8px; color: var(--ink-3); }
.vs-list { margin: 26px 0 0; padding: 0; list-style: none; }
.vs-list li { display: flex; align-items: center; gap: 12px; min-block-size: 52px; border-block-start: 1px solid var(--line); font-size: 16px; }
.vs-list svg { flex: none; inline-size: 20px; block-size: 20px; }
.vs-alone .vs-list li { color: var(--ink-2); }
.vs-alone .vs-list svg { color: #b0b0b8; }
.vs-us { background: var(--accent); color: #fff; }
.vs-us > p { color: rgba(255, 255, 255, .78); }
.vs-us .vs-list li { border-block-start-color: rgba(255, 255, 255, .18); }
.vs-big { margin-block-start: 26px; font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.4rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.vs-big small { display: block; margin-block-start: 10px; font-size: 16px; font-weight: 400; letter-spacing: 0; opacity: .8; }
@media (max-width: 800px) { .vs { grid-template-columns: 1fr; } }

/* plans */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 28px; border-radius: var(--r-lg); background: var(--card); transition: transform .35s ease, box-shadow .35s ease; }
.plan h3 { font-size: 22px; letter-spacing: -.02em; }
.plan .for { margin-block-start: 6px; color: var(--ink-3); font-size: 15px; }
.plan .price { margin-block-start: 26px; font-size: 48px; font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .price span { margin-inline-start: 6px; color: var(--ink-3); font-size: 16px; font-weight: 400; letter-spacing: 0; }
.plan .bill { margin-block-start: 8px; color: var(--ink-3); font-size: 14px; }
.plan-rates { display: grid; gap: 0; margin: 22px 0 0; padding: 4px 16px; border-radius: 14px; background: var(--page); }
.plan-rates div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-block: 10px; }
.plan-rates div + div { border-block-start: 1px solid var(--line); }
.plan-rates dt { color: var(--ink-2); font-size: 14px; }
.plan-rates dd { margin: 0; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.plan-rates div:first-child dd { color: var(--accent); font-size: 20px; letter-spacing: -.02em; }
.plan-feat { display: grid; gap: 10px; margin: 22px 0 26px; padding: 0; list-style: none; color: var(--ink-2); font-size: 15px; line-height: 1.4; }
.plan-feat li { position: relative; padding-inline-start: 26px; }
.plan-feat li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: 1px; inline-size: 18px; block-size: 18px; border-radius: 50%;
  background: var(--accent-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235222e4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }
.plan-feat li.plus { padding-inline-start: 0; color: var(--ink); font-weight: 500; }
.plan-feat li.plus::before { display: none; }
.plan > .btn { margin-block-start: auto; }
.btn-soft { background: var(--accent-pale); color: var(--accent-ink); }
.btn-soft:hover { background: #e2dcff; }
.plan-custom { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; margin-block-start: 16px; padding: 26px 28px; border-radius: var(--r-lg); background: var(--card); }
.plan-custom h3 { font-size: 22px; letter-spacing: -.02em; }
.plan-custom p { margin-block-start: 6px; max-inline-size: 62ch; color: var(--ink-3); font-size: 15px; line-height: 1.5; }
.plan-custom .btn { flex: none; }
.plans-note { margin-block-start: 22px; color: var(--ink-3); font-size: 14px; text-align: center; text-wrap: balance; }
.plans-more { display: flex; justify-content: center; margin-block-start: 6px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-inline-size: 520px; margin-inline: auto; } .plan-custom { max-inline-size: 520px; margin-inline: auto; } }
@media (max-width: 600px) { .plan-custom { flex-direction: column; align-items: stretch; } .plan { padding: 26px 22px; } }

/* coming next: Expeio 2.0 waitlist. Ids are load-bearing (dashboard/server/site-pages.ts). */
.next { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: var(--r-lg); background: var(--card); }
.next h2 { font-size: clamp(2rem, 1.1rem + 3vw, 3.2rem); }
.next .lead { margin-block-start: 16px; color: var(--ink-2); font-size: 18px; }
.soon-form { display: flex; gap: 8px; margin-block-start: 26px; padding: 6px; border-radius: 999px; background: var(--page); box-shadow: inset 0 0 0 1px var(--line); }
.soon-form:focus-within { box-shadow: inset 0 0 0 2px var(--accent); }
.soon-form input { flex: 1; min-inline-size: 0; padding: 0 14px; border: 0; background: transparent; color: var(--ink); font: 400 16px/1 var(--font); }
.soon-form input:focus { outline: none; }
.soon-form .btn { min-block-size: 44px; }
.h-soon-note { margin-block-start: 12px; color: var(--ink-3); font-size: 13px; }
.h-soon-note a { color: inherit; }
.h-soon-status { min-block-size: 1.4em; margin-block-start: 8px; font-size: 14px; }
.h-soon-status.is-ok { color: var(--mint-ink); }
.h-soon-status.is-bad { color: #b42318; }
.next-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.next-list li { display: flex; align-items: center; gap: 10px; min-block-size: 56px; padding: 0 16px; border-radius: 16px; background: var(--page); font-size: 15px; font-weight: 500; }
.next-list svg { flex: none; inline-size: 18px; block-size: 18px; color: var(--accent); }
/* minmax(0, …) and a zero base width let the form and list shrink with the card instead of pushing past its edge. */
.soon-form input { inline-size: 0; }
@media (max-width: 900px) { .next { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .soon-form { flex-direction: column; border-radius: 22px; padding: 8px; }
  .soon-form input { inline-size: auto; min-block-size: 44px; }
}
@media (max-width: 480px) { .next-list { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-inline-size: 880px; margin-inline: auto; border-block-start: 1px solid var(--line); }
.faq details { border-block-end: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; min-block-size: 76px;
  font-size: clamp(1.05rem, .98rem + .35vw, 1.3rem); font-weight: 500; letter-spacing: -.01em; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; inline-size: 22px; block-size: 22px; color: var(--ink-3); transition: transform .3s var(--ease); }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { max-inline-size: 68ch; padding-block-end: 26px; color: var(--ink-2); font-size: 17px; }
.faq details p a { color: var(--accent); }

/* closing call to action */
.cta { text-align: center; }
.cta h2 { font-size: clamp(2.4rem, 1rem + 5vw, 4.8rem); letter-spacing: -.045em; }
.cta .hero-cta { margin-block-start: 30px; }
.cta .small { margin-block-start: 18px; color: var(--ink-3); font-size: 14px; }
.cta .small a { color: var(--ink-2); }

/* ------------------------------------------------------------ footer -- */
.foot { padding-block: 56px 36px; border-block-start: 1px solid var(--line); color: var(--ink-3); font-size: 13px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot-id p { max-inline-size: 30ch; margin-block-start: 14px; line-height: 1.5; }
.socials { display: flex; flex-wrap: wrap; gap: 6px; margin-block-start: 18px; }
.socials a { display: grid; place-items: center; inline-size: 36px; block-size: 36px; border-radius: 50%; color: var(--ink-2); background: var(--card); transition: color .2s, background-color .2s; }
.socials a:hover { color: var(--accent); background: var(--accent-pale); }
.socials svg { inline-size: 17px; block-size: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.foot-col summary { color: var(--ink); font-size: 13px; font-weight: 600; list-style: none; pointer-events: none; }
.foot-col summary::-webkit-details-marker { display: none; }
.foot-col summary svg { display: none; }
.foot-col ul { margin: 12px 0 0; padding: 0; list-style: none; }
.foot-col li + li { margin-block-start: 9px; }
.foot-col a, .foot-col button { padding: 0; border: 0; background: none; color: var(--ink-3); font: inherit; text-decoration: none; cursor: pointer; }
.foot-col a:hover, .foot-col button:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-block-start: 44px; padding-block-start: 20px; border-block-start: 1px solid var(--line); }
.foot-base address { font-style: normal; max-inline-size: 80ch; }
@media (max-width: 1100px) { .foot-top { grid-template-columns: repeat(4, minmax(0, 1fr)); } .foot-id { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; } .foot-id p { margin: 0; } .foot-id .socials { margin: 0; } }
@media (max-width: 900px) { .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-id { display: block; } .foot-id p { margin-block-start: 14px; } .foot-id .socials { margin-block-start: 18px; } }
/* Phones: each column folds into a tap-to-open row, like Apple and Ramp. */
@media (max-width: 700px) {
  .foot-top { grid-template-columns: 1fr; gap: 0; }
  .foot-id { margin-block-end: 24px; }
  .foot-col { border-block-end: 1px solid var(--line); }
  .foot-col summary { display: flex; align-items: center; justify-content: space-between; min-block-size: 48px; font-size: 15px; font-weight: 500; pointer-events: auto; cursor: pointer; }
  .foot-col summary svg { display: block; inline-size: 18px; block-size: 18px; transition: transform .25s var(--ease); }
  .foot-col details[open] summary svg { transform: rotate(180deg); }
  .foot-col ul { margin: 0; padding-block-end: 16px; }
  .foot-col li { font-size: 15px; }
}

/* ------------------------------------------- cookie note (meta-pixel.js) -- */
/* Both answers the same size: saying no is as easy as saying yes. */
.cookie-note {
  position: fixed; z-index: 1000; left: 16px; right: 16px; bottom: 16px; max-inline-size: 560px; margin-inline: auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 16px 18px;
  border-radius: 20px; background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 0 0 1px rgba(29, 29, 31, .06), 0 20px 50px -20px rgba(29, 29, 31, .35);
  color: var(--ink); font: 400 14px/1.5 var(--font);
}
.cookie-note p { flex: 1 1 260px; margin: 0; color: var(--ink-2); }
.cookie-note a { color: var(--accent); text-underline-offset: 2px; }
.cookie-note-actions { display: flex; gap: 8px; }
.cookie-note-btn {
  min-inline-size: 104px; min-block-size: 40px; padding: 0 16px; border: 0; border-radius: 999px;
  background: var(--page); color: var(--ink); font: 500 14px/1 var(--font); cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--line); transition: background-color .2s;
}
.cookie-note-btn:hover { background: #ebebef; }
@media (max-width: 520px) { .cookie-note-actions { inline-size: 100%; } .cookie-note-btn { flex: 1; } }

/* ------------------------------------- pricing and document pages -- */
.pricing-main { padding-block: clamp(48px, 7vw, 96px) clamp(72px, 9vw, 128px); }
.shell.pricing-shell { inline-size: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
.reveal { opacity: 1; }

/* Pricing */
.pricing-v2-note {
  display: flex; justify-content: center; align-items: center; gap: 10px; inline-size: fit-content; margin: 0 auto 28px;
  padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink-2); font-size: 14px;
}
.pricing-v2-note strong { padding: 4px 10px; border-radius: 999px; background: var(--accent-pale); color: var(--accent-ink); font-size: 13px; font-weight: 600; }
.pricing-intro { max-inline-size: 860px; margin: 0 auto clamp(36px, 4vw, 56px); text-align: center; }
.pricing-intro h1 { font-size: clamp(2.3rem, .9rem + 4.2vw, 4.4rem); letter-spacing: -.045em; }
.pricing-intro .h-lead { max-inline-size: 52ch; margin: 18px auto 0; color: var(--ink-2); font-size: clamp(1rem, .95rem + .25vw, 1.15rem); }
.pricing-includes { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.pricing-includes li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); font-size: 14px; }
.pricing-includes li::before { content: ""; inline-size: 14px; block-size: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235222e4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 28px 24px 24px; border-radius: var(--r-lg); background: var(--card); transition: transform .35s ease, box-shadow .35s ease; }
.price-card-popular { box-shadow: inset 0 0 0 2px var(--accent); }
.popular-label { position: absolute; top: 20px; right: 20px; padding: 4px 9px; border-radius: 999px; background: var(--accent-pale); color: var(--accent-ink); font-size: 12px; font-weight: 500; }
.price-card-head h2 { font-size: 22px; letter-spacing: -.02em; }
.price-card-head p { margin-block-start: 6px; color: var(--ink-3); font-size: 15px; line-height: 1.4; }
.price-block { margin-block-start: 26px; }
.price-line { display: flex; align-items: baseline; gap: 6px; }
.price-line strong { font-size: 44px; font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.price-block-custom .price-line strong { font-size: 34px; }
.price-line span, .price-billing, .price-monthly { color: var(--ink-3); font-size: 14px; }
.price-billing { margin-block-start: 8px; }
.rate-block { margin-block-start: 22px; padding-block-start: 18px; border-block-start: 1px solid var(--line); }
.rate-block > p { color: var(--ink-3); font-size: 13px; }
.rate-block > strong { display: block; margin-block-start: 4px; font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.rate-block dl { margin: 12px 0 0; }
.rate-block dl div { display: flex; justify-content: space-between; gap: 12px; padding-block: 6px; font-size: 14px; }
.rate-block dt { color: var(--ink-3); }
.rate-block dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; }
.price-features { margin: 18px 0 0; padding: 18px 0 0; border-block-start: 1px solid var(--line); list-style: none; }
.price-features li { display: flex; gap: 10px; padding-block: 5px; color: var(--ink-2); font-size: 15px; line-height: 1.4; }
.price-features li::before {
  content: ""; flex: none; inline-size: 18px; block-size: 18px; margin-block-start: 1px; border-radius: 50%;
  background: var(--accent-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235222e4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.price-volume { margin-block-start: auto; padding-block-start: 18px; color: var(--ink-3); font-size: 13px; }
.pricing-note { max-inline-size: 72ch; margin: 28px auto 0; color: var(--ink-3); font-size: 14px; text-align: center; }
@media (hover: hover) { .price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); } .price-card-popular:hover { box-shadow: inset 0 0 0 2px var(--accent), var(--shadow); } }
@media (max-width: 1100px) { .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pricing-grid { grid-template-columns: 1fr; } }

/* Documents: Brand Agreement, policies, 404. A readable column, numbered sections. */
.legal { max-inline-size: 780px; margin-inline: auto; }
.legal-title { font-size: clamp(2.4rem, 1.1rem + 4vw, 4.2rem); letter-spacing: -.045em; }
.legal-updated { margin-block-start: 14px; color: var(--ink-3); font-size: 15px; }
.legal-lead { margin-block-start: 22px; color: var(--ink-2); font-size: clamp(1.05rem, .98rem + .3vw, 1.25rem); line-height: 1.55; }
.legal-draft { margin: 0 0 28px; padding: 14px 18px; border-radius: 16px; background: var(--accent-pale); box-shadow: inset 0 0 0 1px rgba(82, 34, 228, .35); color: var(--accent-ink); font-size: 15px; font-weight: 500; line-height: 1.5; }
.legal-list { margin: clamp(36px, 5vw, 56px) 0 0; padding: 0; list-style: none; counter-reset: legal; border-block-start: 1px solid var(--line); }
.legal-list > li { counter-increment: legal; display: grid; grid-template-columns: 52px minmax(0, 1fr); padding-block: 26px; border-block-end: 1px solid var(--line); scroll-margin-top: 88px; }
.legal-list > li::before { content: counter(legal, decimal-leading-zero); grid-row: 1 / span 20; color: var(--ink-3); font-size: 15px; font-variant-numeric: tabular-nums; line-height: 1.6; }
.legal-list > li > * { grid-column: 2; }
.legal-list h2 { font-size: 21px; letter-spacing: -.02em; line-height: 1.3; }
.legal-list h3 { margin: 18px 0 0; font-size: 17px; letter-spacing: -.01em; line-height: 1.35; }
.legal-list p { margin: 8px 0 0; color: var(--ink-2); font-size: 17px; line-height: 1.65; }
.legal-list p + p { margin-block-start: 12px; }
.legal-list ul, .legal-list ol { margin: 10px 0 0; padding-inline-start: 22px; color: var(--ink-2); font-size: 17px; line-height: 1.65; }
.legal-list li li + li { margin-block-start: 6px; }
.legal-list ul + p, .legal-list ol + p { margin-block-start: 12px; }
.legal-list b { color: var(--ink); font-weight: 600; }
.legal-list code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; overflow-wrap: anywhere; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal a:hover { color: var(--accent-ink); }
.legal-end { margin-block-start: 28px; color: var(--ink-3); font-size: 15px; line-height: 1.6; }
@media (max-width: 600px) { .legal-list > li { grid-template-columns: 1fr; } .legal-list > li::before { grid-row: auto; margin-block-end: 4px; } .legal-list > li > * { grid-column: 1; } }

/* Blog index. Post cards are ready for when the first posts go in. */
.blog-head { max-inline-size: 760px; margin-block-end: clamp(32px, 4vw, 52px); }
.blog-head h1 { font-size: clamp(2.4rem, 1.1rem + 4vw, 4.2rem); letter-spacing: -.045em; }
.blog-head .lead { margin-block-start: 18px; max-inline-size: 48ch; color: var(--ink-2); font-size: clamp(1.05rem, .98rem + .3vw, 1.2rem); }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.posts:empty { display: none; }
.posts:not(:empty) + .blog-empty { display: none; }
.post a { display: flex; flex-direction: column; block-size: 100%; padding: 26px; border-radius: var(--r-lg); background: var(--card); color: var(--ink); text-decoration: none; transition: transform .35s ease, box-shadow .35s ease; }
.post time { color: var(--ink-3); font-size: 13px; }
.post h2 { margin-block-start: 28px; font-size: 22px; letter-spacing: -.02em; line-height: 1.2; }
.post p { margin-block-start: 10px; color: var(--ink-3); font-size: 15px; }
@media (hover: hover) { .post a:hover { transform: translateY(-4px); box-shadow: var(--shadow); } }
.post-more { margin-block-start: auto; padding-block-start: 22px; color: var(--accent); font-size: 15px; font-weight: 500; }
/* The newest post, full width while there are only a few. */
.post.is-feature { grid-column: 1 / -1; }
.post.is-feature a { padding: clamp(28px, 4vw, 48px); }
.post.is-feature h2 { margin-block-start: 22px; max-inline-size: 20ch; font-size: clamp(1.8rem, 1.1rem + 2.4vw, 2.8rem); letter-spacing: -.04em; line-height: 1.08; }
.post.is-feature p { max-inline-size: 60ch; font-size: clamp(1rem, .95rem + .3vw, 1.15rem); line-height: 1.5; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr; } }
.blog-empty { display: grid; justify-items: center; gap: 10px; padding: clamp(40px, 6vw, 72px) 24px; border-radius: var(--r-lg); background: var(--card); text-align: center; }
.blog-empty-ic { display: grid; place-items: center; inline-size: 52px; block-size: 52px; margin-block-end: 6px; border-radius: 16px; background: var(--accent-pale); color: var(--accent-ink); }
.blog-empty-ic svg { inline-size: 26px; block-size: 26px; }
.blog-empty h2 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); letter-spacing: -.03em; }
.blog-empty p { color: var(--ink-3); }
.blog-empty .hero-cta { margin-block-start: 14px; }

/* A blog post: one readable column (about 68 characters a line), Apple-style
   type, the four walls as small cards, and a closing call to action. */
.article { max-inline-size: 760px; }
.article-back { display: inline-flex; align-items: center; gap: 6px; margin-block-end: 22px; color: var(--accent); font-size: 15px; font-weight: 500; text-decoration: none; }
.article-back:hover { text-decoration: underline; text-underline-offset: 3px; }
.article-head h1 { font-size: clamp(2.3rem, 1.2rem + 3.6vw, 3.9rem); letter-spacing: -.045em; line-height: 1.04; text-wrap: balance; }
.article-dek { margin-block-start: 20px; color: var(--ink-2); font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); line-height: 1.45; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-block-start: 26px; padding-block-end: 28px; border-block-end: 1px solid var(--line); color: var(--ink-3); font-size: 14px; }
.article-meta > * + *::before { content: "·"; margin-inline-end: 18px; }
.article-body { margin-block-start: 36px; color: var(--ink-2); font-size: clamp(1.05rem, 1rem + .25vw, 1.15rem); line-height: 1.7; }
.article-body > * + * { margin-block-start: 1.1em; }
.article-body .article-lede { color: var(--ink); font-size: clamp(1.2rem, 1.05rem + .5vw, 1.4rem); line-height: 1.55; letter-spacing: -.01em; }
.article-body h2 { margin-block-start: 2.2em; color: var(--ink); font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.2rem); letter-spacing: -.03em; line-height: 1.15; }
.article-body h2 + p { margin-block-start: .7em; }
.article-body b { color: var(--ink); font-weight: 600; }
.article-walls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-block-start: 1.6em; padding: 0; list-style: none; }
.article-walls li { padding: 22px 22px 24px; border-radius: var(--r-md); background: var(--card); }
.aw-ic { display: grid; place-items: center; inline-size: 40px; block-size: 40px; border-radius: 12px; background: var(--accent-pale); color: var(--accent-ink); }
.aw-ic svg { inline-size: 22px; block-size: 22px; }
.article-walls h3 { margin-block-start: 16px; color: var(--ink); font-size: 18px; letter-spacing: -.01em; }
.article-walls p { margin-block-start: 6px; color: var(--ink-3); font-size: 15px; line-height: 1.55; }
.article-steps { display: grid; gap: 10px; margin-block-start: 1.4em; padding: 0; list-style: none; counter-reset: step; }
.article-steps li { counter-increment: step; position: relative; padding: 16px 18px 16px 58px; border-radius: var(--r-md); background: var(--card); line-height: 1.55; }
.article-steps li::before { content: counter(step); position: absolute; inset-inline-start: 18px; inset-block-start: 16px; display: grid; place-items: center; inline-size: 26px; block-size: 26px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 13px; font-weight: 600; line-height: 1; }
.article-ticks { display: grid; gap: 8px; padding: 0; list-style: none; }
.article-ticks li { position: relative; padding-inline-start: 30px; }
.article-ticks li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .35em; inline-size: 20px; block-size: 20px; border-radius: 50%;
  background: var(--accent-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235222e4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.article-quote { margin: 2em 0; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); background: var(--accent-pale); }
.article-quote p { color: var(--accent-ink); font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.25; text-wrap: balance; }
.article-body a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-body a:hover { color: var(--accent-hover); }
.article-body h2 + .article-quote { margin-block-start: .9em; }

.article-cta { margin-block-start: clamp(48px, 6vw, 72px); padding: clamp(32px, 5vw, 56px) 24px; border-radius: var(--r-lg); background: var(--card); text-align: center; }
.article-cta h2 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); letter-spacing: -.04em; line-height: 1.1; }
.article-cta .hero-cta { margin-block-start: 26px; }
@media (max-width: 600px) {
  .article-walls { grid-template-columns: 1fr; }
  .article-meta { gap: 4px 12px; }
  .article-meta > * + *::before { margin-inline-end: 12px; }
  /* Author on its own line, then "date · read time", so no line starts with a dot. */
  .article-meta > :first-child { flex-basis: 100%; }
  .article-meta > :nth-child(2)::before { content: none; }
}

/* ------------------------------------------ sign-in pages (gate-page) -- */
/* Markup and form logic are untouched (site.js; the server fills #form-alert
   and the login token). This only draws them in the new design. */
.gate { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; min-block-size: 100svh; padding: 40px var(--pad); }
.gate-panel { inline-size: min(100%, 440px); padding: clamp(28px, 5vw, 44px); border-radius: var(--r-lg); background: var(--card); box-shadow: 0 0 0 1px rgba(29, 29, 31, .04), 0 30px 70px -40px rgba(46, 26, 140, .35); }
.gate-brand { display: inline-flex; align-items: center; gap: 8px; margin-block-end: 30px; color: var(--ink); text-decoration: none; font: 800 22px/1 var(--brand-font); letter-spacing: -.04em; }
.gate-brand img { inline-size: 36px; block-size: 36px; }
.gate-panel h1 { font-size: 32px; letter-spacing: -.035em; }
.gate-note { margin-block-start: 8px; color: var(--ink-3); font-size: 15px; }
.gate-form { display: grid; gap: 18px; margin-block-start: 26px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 14px; font-weight: 500; color: var(--ink); }
.field-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.field-row a, .swap a, .gate-backup summary { color: var(--accent); font-size: 14px; font-weight: 500; text-decoration: none; }
.field-row a:hover, .swap a:hover { text-decoration: underline; text-underline-offset: 3px; }
.gate-form input:not([type="checkbox"]):not([type="hidden"]) {
  inline-size: 100%; min-block-size: 48px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--page);
  box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font: 400 16px/1 var(--font); transition: box-shadow .15s;
}
.gate-form input::placeholder { color: #a1a1a6; }
.gate-form input:hover { box-shadow: inset 0 0 0 1px #d2d2d7; }
.gate-form input:focus { outline: none; background: var(--card); box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 4px var(--accent-pale); }
.gate-form input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #d92d20; }
.input-wrap { position: relative; }
.input-wrap input { padding-inline-end: 48px !important; }
.peek { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); display: grid; place-items: center; inline-size: 36px; block-size: 36px; border: 0; border-radius: 9px; background: none; color: var(--ink-3); cursor: pointer; }
.peek:hover { color: var(--ink); background: rgba(29, 29, 31, .05); }
.peek svg { inline-size: 18px; block-size: 18px; }
.err { min-block-size: 0; color: #b42318; font-size: 13px; }
.err:empty { display: none; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; font-size: 14px; line-height: 1.45; }
.alert[hidden] { display: none; }
.alert svg { flex: none; inline-size: 18px; block-size: 18px; margin-block-start: 1px; }
.alert, .alert-bad { background: #fef3f2; color: #b42318; }
.alert-ok { background: var(--mint); color: var(--mint-ink); }
.alert-info { background: var(--sky); color: var(--sky-ink); }
.btn-block { inline-size: 100%; min-block-size: 50px; font-size: 16px; }
.swap { color: var(--ink-3); font-size: 14px; text-align: center; }
.gate-panel > .swap { margin-block-start: 18px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); line-height: 1.5; cursor: pointer; }
.check input { flex: none; inline-size: 18px; block-size: 18px; margin-block-start: 2px; accent-color: var(--accent); }
.check-line { display: block; }
.check-line + .check-line { margin-block-start: 6px; color: var(--ink-3); }
.check a { color: var(--accent); }
.meter { display: grid; gap: 6px; margin-block-start: 2px; }
.meter-track { display: flex; gap: 4px; }
.meter-track i { flex: 1; block-size: 3px; border-radius: 3px; background: var(--line); transition: background-color .2s; }
.meter-track[data-score="1"] i:nth-child(-n+1) { background: #d92d20; }
.meter-track[data-score="2"] i:nth-child(-n+2) { background: #dc6803; }
.meter-track[data-score="3"] i:nth-child(-n+3) { background: #12b76a; }
.meter-track[data-score="4"] i { background: var(--accent); }
.meter-label, .gate-hint { color: var(--ink-3); font-size: 13px; }
.gate-form input.gate-code { min-block-size: 60px; font-size: 28px; font-weight: 600; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; }
.gate-backup summary { cursor: pointer; list-style: none; }
.gate-backup summary::-webkit-details-marker { display: none; }
.gate-backup[open] summary { margin-block-end: 12px; }
.gate-foot { color: var(--ink-3); font-size: 13px; line-height: 1.5; text-align: center; }
.gate-panel > .gate-foot { margin-block-start: 10px; }
.gate-company { inline-size: min(100%, 520px); }
.gate-company b { color: var(--ink-2); font-weight: 600; }

/* ------------------------------------------------- scroll reveal (once) -- */
html.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .rv { opacity: 1; transform: none; transition: none; }
  .dash-panel, .dash-panel[hidden] { transition: none; }
}
