/* The company site at xpenstack.com in brand G (owner's OK on the mock-up, 24 Oct 2026). Colours and faces come from
   /design/tokens.css; this file adds one type scale, one radius and the motion curves. Motion: time-based hero entrance,
   scroll-linked CSS where the browser has it, and site.js reveals for the rest; all of it off with reduced motion. */
:root {
  --t-display: clamp(3.25rem, 13vw, 11rem);
  --t-giant: clamp(3.5rem, 17.5vw, 15.5rem);
  --t-big: clamp(1.75rem, 3.6vw, 2.125rem);
  --t-mid: 1.375rem;
  --t-body: 1.0625rem;
  --t-small: 0.875rem;
  --r: 20px;
  --gap-section: clamp(96px, 14vw, 200px);
  --m-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --m-ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --field: var(--color-surface);
  --field-2: var(--color-muted-bg);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.55;
  overflow-x: clip;
}
::selection { background: var(--color-primary); color: var(--color-on-primary); }
html { scrollbar-color: var(--color-border-strong) var(--color-bg); caret-color: var(--color-text); }
.wrap {
  max-width: 76rem;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--color-ring); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1; text-wrap: balance; margin: 0; letter-spacing: -0.03em; }
p { margin: 0; text-wrap: pretty; }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }


/* Top: a plain bar, wordmark and three links */
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: var(--weight-heavy); font-size: var(--t-body); text-decoration: none; min-height: 44px; }
.brand img { width: 28px; height: 28px; display: block; }
@media (max-width: 459px) { .links .wide { display: none; } }
.links { display: flex; gap: 2px; }
.links a { white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 999px; text-decoration: none; font-size: var(--t-small); font-weight: var(--weight-bold); transition: background-color 180ms ease; }
.links a[aria-current="page"] { background: var(--field-2); }
@media (hover: hover) { .links a:hover { background: var(--field-2); } }

/* One button shape: a flat pill */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px;
  background: var(--color-primary); color: var(--color-on-primary);
  font: inherit; font-weight: var(--weight-bold); text-decoration: none; cursor: pointer;
  transition: transform 140ms var(--m-ease-out), background-color 180ms ease;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.button:active { transform: scale(0.97); }
.button svg { width: 18px; height: 18px; transition: transform 200ms var(--m-ease-out); }
@media (hover: hover) { .button:hover { background: var(--color-primary-glow); } .button:hover svg { transform: translate(2px, -2px); } }


/* Hero: the statement across the full width, sentence left and action right on one line, then the app itself */
.hero { padding-top: clamp(32px, 7vw, 96px); }
.hero h1 { font-size: var(--t-display); font-weight: var(--weight-heavy); line-height: 0.92; letter-spacing: -0.045em; }
.hero h1 .line { display: block; overflow: clip; padding-bottom: 0.06em; }
.hero h1 .line > span { display: inline-block; animation: lift 900ms var(--m-ease-out) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: 90ms; }
@keyframes lift { from { transform: translateY(105%); } }
.hero-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-top: clamp(24px, 4vw, 48px); }
.hero-foot p { font-size: var(--t-mid); line-height: 1.4; max-width: 34ch; }
.hero-foot .small { font-size: var(--t-small); margin-top: 10px; max-width: 46ch; }
.hero-foot > * { animation: rise 700ms var(--m-ease-out) both; }
.hero-foot > :nth-child(1) { animation-delay: 240ms; }
.hero-foot > :nth-child(2) { animation-delay: 320ms; }
@keyframes rise { from { opacity: 0.001; transform: translateY(20px); } }

/* The app's Home, large, cut by the section's bottom edge */
.showcase-home { margin-top: clamp(48px, 8vw, 96px); display: grid; gap: 16px; justify-items: center; }
@keyframes open { from { clip-path: inset(18% 8% 0 8% round var(--r)); transform: translateY(32px); } to { clip-path: inset(0 0 0 0 round var(--r)); } }
.picker { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px; }
.picker-label { width: 100%; text-align: center; font-size: var(--t-small); margin: 0 0 4px; }


/* Theme colour picker: the app's own eight swatches */
.picker { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px; }
.picker-label { width: 100%; text-align: center; font-size: var(--t-small); margin: 0 0 4px; }
.swatch { width: 44px; height: 44px; border: 0; padding: 0; background: none; cursor: pointer; display: grid; place-items: center; border-radius: 50%; -webkit-tap-highlight-color: transparent; }
.swatch::before { content: ""; width: 26px; height: 26px; border-radius: 50%; background: var(--sw); box-shadow: 0 0 0 2px var(--color-bg), 0 0 0 3px transparent; transition: box-shadow 160ms ease, transform 140ms var(--m-ease-out); }
.swatch[aria-pressed="true"]::before { box-shadow: 0 0 0 2px var(--color-bg), 0 0 0 4px var(--color-text); }
.swatch:active::before { transform: scale(0.9); }
.sw-ocean { --sw: var(--swatch-ocean); }
.sw-graphite { --sw: var(--swatch-graphite); }
.sw-lagoon { --sw: var(--swatch-lagoon); }
.sw-ember { --sw: var(--swatch-ember); }
.sw-plum { --sw: var(--swatch-plum); }
.sw-sage { --sw: var(--swatch-sage); }
.sw-black { --sw: var(--swatch-black); }
.sw-brass { --sw: var(--swatch-brass); }

/* ---------- Real app screens ---------- */
.shot { margin: 0; border-radius: 28px; overflow: hidden; background: var(--field-2); aspect-ratio: 390 / 844; max-width: 100%; }
.shot picture { display: contents; }
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot-hero { width: min(100%, 390px); }
.showcase-home .shot-hero { animation: open 1100ms var(--m-ease-out) 380ms both; }
.picker-note { font-size: var(--t-small); text-align: center; margin: 0; }
.feature-block { padding-top: var(--gap-section); }
.block-head { display: grid; gap: 16px 48px; align-items: start; }
.block-head h2, .row-text h2, .also h2 { font-size: var(--t-big); font-weight: var(--weight-heavy); line-height: 1.1; }
.block-head p { max-width: 60ch; }
@media (min-width: 900px) { .block-head { grid-template-columns: 1fr 1fr; } }
.trio { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 72%); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; margin-top: 48px; padding-bottom: 8px; scrollbar-width: none; }
.trio figure { margin: 0; scroll-snap-align: start; min-width: 0; }
.trio figcaption { margin-top: 16px; max-width: 34ch; }
.trio figcaption h3 { display: block; font-family: var(--font-head); font-size: var(--t-mid); letter-spacing: -0.01em; line-height: 1.2; margin-bottom: 4px; }
@media (min-width: 900px) { .trio { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; gap: 32px; } }
.rows { padding-top: var(--gap-section); display: grid; gap: clamp(72px, 10vw, 140px); }
.row-feature { display: grid; gap: 32px; align-items: center; }
.row-feature .shot { width: min(100%, 360px); }
.row-text ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; max-width: 46ch; }
.row-text li { padding-left: 22px; position: relative; }
.row-text li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); }
@media (min-width: 900px) {
  .row-feature { grid-template-columns: 5fr 7fr; gap: 72px; }
  .row-feature .shot { justify-self: center; }
  .row-feature.flip .shot { order: 2; }
}
.also { padding-top: var(--gap-section); }
.also-list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 28px 48px; }
.also-list h3 { display: block; font-family: var(--font-head); font-size: var(--t-mid); letter-spacing: -0.01em; }
@media (min-width: 700px) { .also-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .also-list { grid-template-columns: 1fr 1fr 1fr; } }

/* ---------- Story: the phone stays put while the features scroll past (Mercury-style pinned product) ---------- */
.story { padding-top: var(--gap-section); display: grid; gap: 0 72px; }
.story-phone { display: none; }
.step { display: grid; gap: 28px; padding-block: 48px; }
.step-shot { width: min(80%, 320px); }
.step .row-text h2 { font-size: var(--t-big); font-weight: var(--weight-heavy); line-height: 1.1; }
@media (min-width: 900px) {
  .story { grid-template-columns: 5fr 6fr; }
  .story-phone { display: grid; gap: 20px; justify-items: center; position: sticky; top: max(24px, calc(50svh - 370px)); align-self: start; }
  .story-phone .shot { position: relative; height: min(700px, calc(100svh - 96px)); width: auto; aspect-ratio: 390 / 844; box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.35); }
  .story-phone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity 520ms var(--m-ease-out); }
  .story-phone img.is-on { opacity: 1; }
  .story-dots { display: flex; gap: 8px; }
  .story-dots i { width: 8px; height: 8px; border-radius: 999px; background: var(--field-2); transition: width 320ms var(--m-ease-out), background-color 320ms ease; }
  .story-dots i.is-on { width: 28px; background: var(--color-accent); }
  .step { min-height: 78svh; align-content: center; padding-block: 0; }
  .step-shot { display: none; }
  .step .row-text { opacity: 0.28; transition: opacity 420ms ease; }
  .step.is-on .row-text { opacity: 1; }
}
/* Phone: each feature's screen slides up and unmasks as it arrives */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 700ms var(--m-ease-out), transform 900ms var(--m-ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.shot.reveal { clip-path: inset(0 0 22% 0 round 28px); transition: opacity 700ms var(--m-ease-out), transform 900ms var(--m-ease-out), clip-path 1000ms var(--m-ease-out); }
.shot.reveal.is-in { clip-path: inset(0 0 0 0 round 28px); }


/* ---------- The tour: a rail of the guided tour's screens, swiped or stepped ---------- */
.tour { padding-top: var(--gap-section); }
.tour-head { display: grid; gap: 12px 48px; align-items: end; }
.tour-head h2 { font-size: var(--t-big); font-weight: var(--weight-heavy); line-height: 1.1; }
.tour-head p { max-width: 52ch; }
.tour-nav { display: none; gap: 8px; }
@media (min-width: 900px) { .tour-head { grid-template-columns: 1fr 1fr auto; } .tour-nav { display: flex; } }
.tour-btn { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--field-2); color: var(--color-text); display: grid; place-items: center; cursor: pointer; transition: transform 140ms var(--m-ease-out), background-color 180ms ease; -webkit-tap-highlight-color: transparent; }
.tour-btn svg { width: 22px; height: 22px; }
.tour-btn:active { transform: scale(0.94); }
.tour-btn:disabled { opacity: 0.35; cursor: default; }
.tour-rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(72%, 280px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; margin-top: 40px; padding-bottom: 8px; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); scroll-padding-inline: max(20px, env(safe-area-inset-left, 0px)); }
.tour-rail::-webkit-scrollbar { display: none; }
@media (min-width: 1216px) { .tour-rail { padding-left: calc((100vw - 76rem) / 2 + 20px); scroll-padding-inline: calc((100vw - 76rem) / 2 + 20px); } }
.tour-rail:focus-visible { outline: 3px solid var(--color-ring); outline-offset: 4px; }
.tour-item { margin: 0; scroll-snap-align: start; min-width: 0; }
.tour-item figcaption { margin-top: 16px; }
.tour-n { display: block; font-size: var(--t-small); font-weight: var(--weight-bold); color: var(--color-accent); margin-bottom: 6px; }
.tour-item h3 { display: block; font-family: var(--font-head); font-size: var(--t-mid); letter-spacing: -0.01em; line-height: 1.2; margin-bottom: 4px; }
.tour-item .shot { transition: transform 420ms var(--m-ease-out); }
@media (hover: hover) { .tour-item:hover .shot { transform: translateY(-6px); } }

/* ---------- Showcase: two giant figures compared ---------- */
.compare { padding-top: var(--gap-section); }
.compare-head { display: grid; gap: 16px 48px; align-items: start; }
.compare-head h2 { font-size: var(--t-big); font-weight: var(--weight-heavy); }
.compare-head p { max-width: 60ch; }
@media (min-width: 900px) { .compare-head { grid-template-columns: 1fr 1fr; } }
.specimens { margin-top: 12vh; display: grid; gap: 16px; }
.spec-item { min-width: 0; }
/* Every figure is shown whole: it sizes to its card (owner, 24 Oct: a money app never crops a number) */
.spec { min-width: 0; container-type: inline-size; background: var(--field); border-radius: var(--r); padding: clamp(20px, 3vw, 32px); }
.spec-label { margin: 0 0 12px; font-size: var(--t-small); font-weight: var(--weight-bold); color: var(--color-muted); }
.cap { margin: 20px 0 0; font-size: var(--t-body); max-width: 60ch; }
.spec .fig { margin: 0; font-family: var(--font-head); font-weight: var(--weight-heavy); font-size: min(var(--t-display), 13cqi); line-height: 1; letter-spacing: -0.04em; white-space: nowrap; }
@supports not (font-size: 1cqi) { .spec .fig { font-size: clamp(2rem, 11vw, 4.5rem); } .contact-address { font-size: clamp(1.25rem, 5.4vw, 2.5rem); } }
.spec.inv { background: var(--color-primary); color: var(--color-on-primary); }
.spec.inv .spec-label { color: inherit; opacity: 0.8; }
@media (min-width: 900px) { .specimens { grid-template-columns: 1fr 1fr; gap: 0 24px; } }

/* ---------- Contact: three cards in the site's look, the app's own feedback menu beside them ---------- */
.contact-grid { display: grid; gap: 16px; padding-bottom: var(--gap-section); }
.contact-card { min-width: 0; background: var(--field); border-radius: var(--r); padding: clamp(24px, 4vw, 40px); }
.contact-card h2 { margin: 0 0 12px; font-size: var(--t-small); font-weight: var(--weight-bold); color: var(--color-muted); letter-spacing: 0.02em; }
.contact-card p { margin: 12px 0 0; max-width: 46ch; }
.contact-mail { container-type: inline-size; }
.contact-address { display: inline-block; font-family: var(--font-head); font-weight: var(--weight-heavy); font-size: min(3rem, 7.4cqi); letter-spacing: -0.03em; line-height: 1.1; text-decoration: none; white-space: nowrap; }
@media (hover: hover) { .contact-address:hover { text-decoration: underline; text-decoration-thickness: 2px; } }
.contact-app { display: grid; gap: 28px; align-items: center; }
.contact-app h2 + p { font-size: var(--t-mid); line-height: 1.4; color: var(--color-text); }
.contact-app .button { margin-top: 24px; }
.contact-note { font-size: var(--t-small); color: var(--color-muted); }
.contact-shot { width: min(100%, 300px); justify-self: center; }
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-app { grid-column: 2; grid-row: 1 / span 2; grid-template-columns: 1fr; }
}

/* ---------- Statement: your data, pushed to the right half ---------- */
/* Under the hero: the data promise as one band in a tone step, on the hero's left edge, close to the hero */
.statement { margin-top: clamp(48px, 7vw, 88px); }
.statement-band { background: var(--field); border-radius: var(--r); padding: clamp(28px, 5vw, 56px); display: grid; gap: 16px 48px; align-items: end; }
.statement .say { font-family: var(--font-head); font-weight: var(--weight-bold); font-size: var(--t-big); line-height: 1.2; letter-spacing: -0.02em; max-width: 26ch; margin: 0; }
.statement .say span { display: block; text-wrap: balance; }
.statement .say-body { max-width: 40ch; margin: 0; }
@media (min-width: 900px) { .statement-band { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
@media (max-width: 899px) { .statement .say { font-size: 1.5rem; } }

/* ---------- One word is the button ---------- */
.cta { display: block; margin-top: var(--gap-section); background: var(--color-accent); color: var(--color-bg); text-decoration: none; position: relative; min-height: 60svh; overflow: hidden; transition: background-color 0s, color 0s; }
.cta .wrap { position: relative; min-height: 60svh; display: flex; flex-direction: column; justify-content: space-between; padding-block: 24px; }
.cta-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.cta-top p { font-size: var(--t-body); max-width: 30ch; }
.cta-top svg { width: 48px; height: 48px; flex: none; transition: transform 260ms var(--m-ease-out); }
.cta-word { font-family: var(--font-head); font-weight: var(--weight-heavy); font-size: var(--t-giant); line-height: 0.8; letter-spacing: -0.06em; margin-bottom: -0.02em; }
.cta:hover, .cta:focus-visible { background: var(--color-bg); color: var(--color-accent); }
.cta:hover svg, .cta:focus-visible svg { transform: translate(6px, -6px); }
.cta:active .cta-word { transform: scale(0.99); transform-origin: left bottom; }
.cta:focus-visible { outline-offset: -6px; border-radius: 0; }
@media (max-width: 640px) { .cta, .cta .wrap { min-height: 46svh; } .cta-top svg { width: 32px; height: 32px; } }

/* ---------- Footer: the name first, cut at its foot ---------- */
.foot { background: var(--field); overflow: hidden; }
.foot-name { font-family: var(--font-head); font-weight: var(--weight-heavy); font-size: var(--t-giant); line-height: 0.85; letter-spacing: -0.06em; white-space: nowrap; padding-top: 48px; transform-origin: left bottom; }
.foot-row { display: grid; gap: 32px 48px; padding-block: 72px 32px; }
.foot-row .places a { display: block; font-family: var(--font-head); font-weight: var(--weight-bold); font-size: min(var(--t-big), 7.4vw); letter-spacing: -0.02em; text-decoration: none; min-height: 44px; }
.foot-row .places a:hover { text-decoration: underline; }
.foot-row nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; align-content: start; }
.foot-row nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--t-small); font-weight: var(--weight-bold); text-decoration: none; }
@media (hover: hover) { .foot-row nav a:hover { text-decoration: underline; } }
.foot-last { display: flex; justify-content: space-between; gap: 16px; padding-block: 24px 40px; font-size: var(--t-small); }
@media (min-width: 900px) { .foot-row { grid-template-columns: 5fr 7fr; } .foot-row nav { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Legal, contact and 404 pages ---------- */
.page-lead { font-size: var(--t-mid); line-height: 1.4; max-width: 40ch; margin-top: 24px; }
.page-body { max-width: 60ch; padding-bottom: var(--gap-section); }
.page-body p + p { margin-top: 16px; }
.legal-head { padding-block: clamp(40px, 8vw, 112px) 48px; }
.legal-head h1 { font-size: clamp(2.5rem, 8vw, 6rem); font-weight: var(--weight-heavy); line-height: 0.95; letter-spacing: -0.04em; max-width: 14ch; }
.legal-head .updated { margin-top: 20px; font-size: var(--t-mid); }
.legal-grid { display: grid; gap: 40px; padding-bottom: var(--gap-section); }
.toc { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px; margin: -4px; }
.toc a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--field-2); font-size: var(--t-small); text-decoration: none; white-space: nowrap; transition: background-color 180ms ease, color 180ms ease; }
.toc a.is-on { background: var(--color-primary); color: var(--color-on-primary); }
.legal-body { max-width: 66ch; min-width: 0; }
.legal-body h2 { font-size: var(--t-big); font-weight: var(--weight-heavy); line-height: 1.1; margin: 96px 0 20px; scroll-margin-top: 24px; }
.legal-body > h2:first-of-type { margin-top: 48px; }
.legal-body h3 { font-size: var(--t-mid); letter-spacing: -0.01em; line-height: 1.2; margin: 40px 0 12px; }
.legal-body p, .legal-body ul { margin: 0 0 18px; }
.legal-body ul { padding-left: 22px; }
.legal-body li + li { margin-top: 8px; }
.legal-body a { text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; }
.legal-body .muted { display: none; }
@media (min-width: 900px) {
  .legal-grid { grid-template-columns: 17rem minmax(0, 1fr); gap: 72px; }
  .toc { flex-direction: column; position: sticky; top: 24px; align-self: start; overflow: visible; gap: 2px; }
  .toc a { background: none; white-space: normal; min-height: 40px; border-radius: 12px; line-height: 1.3; padding: 8px 14px; }
  .toc a.is-on { background: var(--field-2); color: var(--color-text); }
}


/* ---------- Plans: three cards, each on the colour it starts on ---------- */
.plans-head { padding-block: clamp(40px, 8vw, 112px) 0; display: grid; gap: 20px 48px; align-items: end; }
.plans-head h1 { font-size: clamp(2.5rem, 8vw, 6rem); font-weight: var(--weight-heavy); line-height: 0.95; letter-spacing: -0.04em; }
.plans-head p { max-width: 52ch; }
@media (min-width: 900px) { .plans-head { grid-template-columns: 1fr 1fr; } }
.placeholder { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; background: var(--field-2); font-size: var(--t-small); font-weight: var(--weight-bold); }
.plan-grid { display: grid; gap: 24px; margin-top: 56px; }
@media (min-width: 900px) { .plan-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.plan { min-width: 0; display: grid; grid-template-rows: auto 1fr; border-radius: 28px; background: var(--field); overflow: hidden; }
.plan .shot { border-radius: 0; aspect-ratio: 390 / 336; }
.plan-body { padding: 24px; display: grid; gap: 16px; align-content: start; }
.plan h2 { font-size: var(--t-big); font-weight: var(--weight-heavy); line-height: 1.1; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price b { font-family: var(--font-head); font-weight: var(--weight-heavy); font-size: var(--t-big); letter-spacing: -0.02em; }
.price span { font-size: var(--t-small); }
.dots { display: flex; gap: 6px; flex-wrap: wrap; }
.dots i { width: 22px; height: 22px; border-radius: 50%; background: var(--sw); box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--color-text) 30%, transparent); }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); }
.plan .state { font-size: var(--t-small); }
/* Plans table: short cells so four columns fit a 320 px phone; Coming marks what isn't built yet */
.compare-plans { padding-top: var(--gap-section); display: grid; gap: 24px; }
.compare-plans h2 { font-size: var(--t-big); font-weight: var(--weight-heavy); line-height: 1.1; }
.plan-table-wrap { overflow-x: auto; }
.plan-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: var(--t-small); line-height: 1.35; }
.plan-table th, .plan-table td { padding: 12px 3px; border-bottom: 1px solid color-mix(in srgb, var(--color-text) 12%, transparent); vertical-align: top; }
.plan-table thead th { position: sticky; top: 0; background: var(--color-bg); font-family: var(--font-head); font-size: 0.8125rem; font-weight: var(--weight-heavy); text-align: center; }
.plan-table tbody th { text-align: left; font-weight: 400; padding-right: 8px; }
.plan-table thead th { padding-inline: 0; }
.plan-table thead th:first-child { width: 35%; }
.plan-table td { text-align: center; font-weight: var(--weight-bold); }
.plan-table .no { color: var(--color-muted); font-weight: 400; }
.plan-table tr.group th { padding-top: 32px; font-family: var(--font-head); font-size: var(--t-body); font-weight: var(--weight-heavy); border-bottom-color: var(--color-border-strong); }
.soon { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: var(--field-2); color: var(--color-muted); font-size: 0.75rem; font-weight: var(--weight-bold); white-space: nowrap; }
.table-note { margin: 0; font-size: var(--t-small); color: var(--color-muted); max-width: 60ch; }
@media (min-width: 600px) { .plan-table { font-size: var(--t-body); } .plan-table thead th { font-size: var(--t-body); } .plan-table th, .plan-table td { padding: 14px 12px; } }
.always { padding-block: var(--gap-section); display: grid; gap: 24px 48px; }
.always h2 { font-size: var(--t-big); font-weight: var(--weight-heavy); line-height: 1.1; }
.always ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 20px; max-width: 60ch; }
.always li h3 { display: block; font-family: var(--font-head); font-size: var(--t-mid); letter-spacing: -0.01em; }
@media (min-width: 900px) { .always { grid-template-columns: 5fr 7fr; } }
/* ---------- Scroll-linked motion (static where unsupported) ---------- */
@supports (animation-timeline: view()) {
  /* Signature: the name in the footer grows the last few percent as the page ends */
  .foot-name { animation: weigh linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
  @keyframes weigh { from { scale: 0.93; } }
}

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 160ms ease both; }
::view-transition-new(root) { animation: vt-in 380ms var(--m-ease-out) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after, ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; transition-duration: 0s !important; }
}

/* Home UX pass (owner, 24 Oct 12:55): invite first, jump row, FAQ, laptop shot, dots under side-scrolling rows */
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 599px) { .hero-actions { width: 100%; } }
.button-quiet { background: transparent; color: var(--color-text); box-shadow: inset 0 0 0 1.5px var(--color-border-strong); }
@media (hover: hover) { .button-quiet:hover { background: var(--field-2); } }
.jump { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-top: 28px; padding-bottom: 4px; align-items: center; }
.jump::-webkit-scrollbar { display: none; }
.jump span { flex: none; font-size: var(--t-small); color: var(--color-muted); margin-right: 4px; }
.jump a { flex: none; display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--field-2); color: var(--color-text); font-size: var(--t-small); font-weight: var(--weight-bold); text-decoration: none; }
@media (hover: hover) { .jump a:hover { background: var(--color-primary-soft); } }
:target, [id^="h-"], #tour-h, #cmp-h, #faq-h { scroll-margin-top: 88px; }
.faq { padding-top: var(--gap-section); }
.faq-list { margin-top: 32px; display: grid; border-top: 1px solid var(--color-line); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--color-line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 12px 0; cursor: pointer; font-family: var(--font-head); font-size: var(--t-mid); font-weight: var(--weight-bold); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.5rem; line-height: 1; color: var(--color-muted); transition: transform 200ms var(--m-ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; max-width: 62ch; }
.laptop-shot { margin: 40px 0 0; border-radius: 18px; overflow: hidden; background: var(--field-2); aspect-ratio: 1280 / 800; box-shadow: 0 30px 60px -36px rgb(0 0 0 / 0.35), 0 0 0 1px var(--color-line); }
.laptop-shot picture { display: contents; }
.laptop-shot img { display: block; width: 100%; height: 100%; }
.rail-dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.rail-dots[hidden] { display: none; }
.rail-dots i { width: 6px; height: 6px; border-radius: 999px; background: var(--color-border-strong); transition: width 200ms var(--m-ease-out), background-color 200ms ease; }
.rail-dots i.is-on { width: 18px; background: var(--color-text); }
@media (prefers-reduced-motion: reduce) { .rail-dots i, .faq summary::after { transition: none; } }

/* Home's view switch, Story | Simple (owner, 1 Nov 2026 22:07: both views stay; view.js remembers the pick) */
.ab { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--color-surface); box-shadow: inset 0 0 0 1px var(--color-line); }
.ab a { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 10px; border-radius: 999px; font-weight: var(--weight-bold); font-size: var(--t-small); text-decoration: none; color: var(--color-muted); }
.ab a[aria-current="page"] { background: var(--color-text); color: var(--color-bg); }
.ab a:focus-visible { outline: 3px solid var(--color-ring); outline-offset: 2px; }

.top .links { margin-left: auto; } /* links, then the switch at the right end, the order Story's bar uses */
@media (max-width: 429px) { .top .links { display: none; } } /* on a phone the bar is the name and the switch, as on Story; Sign in is in the hero */
