/* ==========================================================================
   Vyomara: vyomara.com homepage, draft v2 (inspiration pass)
   Geist + Geist Mono. Stone page, white cards, one accent (teal #0F766E).
   Near-black pill buttons. Green only for "done" states.
   Spacing on an 8px scale. Radii: 6/8px controls, 12px cards, 16px hero.
   ========================================================================== */

:root {
  --bg: #F5F5F4;          /* page */
  --surface: #FFFFFF;     /* cards */
  --wash: #FAFAFA;        /* quiet areas inside cards and mocks */
  --subtle: #F5F5F5;
  --ink: #0A0A0A;
  --g900: #171717;
  --g800: #262626;
  --g700: #404040;
  --g600: #525252;
  --g500: #6B6B6B;        /* smallest text grey: AA on #F5F5F4 and white */
  --g450: #8A8A8A;        /* decorative mocks only */
  --g400: #A3A3A3;
  --g300: #D4D4D4;
  --line: #E7E7E7;
  --line-soft: #F0F0F0;
  --tone: #858A93;        /* second tone of headlines (AA large text on #F5F5F4) */

  --accent: #0F766E;
  --accent-hover: #115E59;
  --accent-tint: #F0FDFA;
  --accent-soft: rgba(15, 118, 110, 0.18);
  --accent-ring: rgba(15, 118, 110, 0.14);
  --accent-border: rgba(15, 118, 110, 0.22);
  --accent-on-dark: #14B8A6; /* same hue, lifted for contrast on ink */
  --done: #16A34A;           /* "done" states only */

  --btn: #111111;
  --btn-hover: #2A2A2A;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;

  --r-sm: 6px;
  --r: 8px;
  --r-lg: 12px;
  --r-xl: 16px;

  --shadow-xs: 0 1px 2px rgba(10, 10, 10, 0.04);
  --shadow-sm: 0 1px 2px rgba(10, 10, 10, 0.04), 0 4px 12px -4px rgba(10, 10, 10, 0.08);
  --shadow-float: 0 20px 60px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-lg:
    0 0 0 1px rgba(10, 10, 10, 0.03),
    0 2px 4px rgba(10, 10, 10, 0.03),
    0 16px 32px -8px rgba(10, 10, 10, 0.08),
    0 48px 96px -24px rgba(10, 10, 10, 0.16);

  --gutter: 20px;
  --nav-h: 60px;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --nav-h: 64px; }
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
s { text-decoration-thickness: 1px; }

::selection { background: #CCFBF1; color: var(--ink); }

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

.wrap {
  width: 100%;
  max-width: calc(1200px + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
/* Nav and hero card run a little wider than the content below (Cal.com feel) */
.wrap--wide { max-width: calc(1320px + var(--gutter) * 2); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r);
  font-size: 14px;
  text-decoration: none;
}
.skip:focus { top: 12px; }

/* Icons: stroke icons from the inline sprite */
.i {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tone { color: var(--tone); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 500 15px/1 var(--font);
  letter-spacing: -0.006em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn .i { transition: transform .15s ease; }
.btn:hover .i { transform: translateX(2px); }

.btn--primary {
  background: var(--btn);
  color: #fff;
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.btn--primary:hover { background: var(--btn-hover); }

.btn--secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-xs);
}
.btn--secondary:hover { border-color: var(--g300); }

.btn--sm { height: 34px; padding: 0 14px; font-size: 14px; }
.btn--block { width: 100%; }

.btn.is-disabled {
  background: var(--subtle);
  color: var(--g500);
  border-color: var(--line);
  box-shadow: none;
  cursor: default;
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.is-scrolled,
.nav.is-open { border-bottom-color: var(--line); }

.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-decoration: none;
  color: var(--ink);
}

.nav__links {
  display: none;
  align-items: center;
  gap: 2px;
}
.nav__links a,
.nav__signin {
  padding: 6px 10px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 450;
  color: var(--g600);
  text-decoration: none;
  transition: color .15s ease, background-color .15s ease;
}
.nav__links a:hover,
.nav__signin:hover { color: var(--ink); background: rgba(10, 10, 10, 0.05); }

.nav__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__signin { display: none; }

.nav__toggle {
  display: grid;
  place-items: center;
  width: 36px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  cursor: pointer;
}
.nav__toggle-bars {
  position: relative;
  width: 14px;
  height: 10px;
}
.nav__toggle-bars::before,
.nav__toggle-bars::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  border-radius: 1px;
  background: var(--ink);
  transition: transform .2s ease, top .2s ease;
}
.nav__toggle-bars::before { top: 2px; }
.nav__toggle-bars::after { top: 6.5px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars::before { top: 4.25px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars::after { top: 4.25px; transform: rotate(-45deg); }

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 24px -16px rgba(10, 10, 10, 0.12);
}
.mobile-menu nav { padding-block: 8px 16px; }
.mobile-menu a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid #EBEBEA;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}
.mobile-menu a:last-child { border-bottom: 0; }

@media (min-width: 768px) {
  .nav__links { display: flex; }
  .nav__signin { display: inline-block; }
  .nav__toggle, .mobile-menu { display: none !important; }
}

/* ==========================================================================
   Hero: one white card. Copy left, client view right (stacked below 1180px).
   ========================================================================== */

.hero { padding-top: 8px; }
@media (min-width: 768px) { .hero { padding-top: 12px; } }

.hero__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xs);
}

.hero__copy {
  max-width: 720px;
  padding: 40px 24px 36px;
}
@media (min-width: 640px) {
  .hero__copy { padding: 64px 48px 48px; }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 3px 12px 3px 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  font-size: 13px;
  line-height: 1;
}
.pill__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent);
  font-weight: 500;
}
.pill__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ring);
}
.pill__label { color: var(--g600); white-space: nowrap; }
@media (max-width: 399px) { .pill__extra { display: none; } }

.hero__title {
  margin-top: 24px;
  font-size: clamp(2.25rem, 1.2rem + 3.6vw, 3.5rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero__lede {
  margin-top: 20px;
  max-width: 32em;
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  line-height: 1.55;
  color: var(--g600);
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__fine {
  margin-top: 16px;
  max-width: 30em;
  font-size: 14px;
  color: var(--g500);
}

/* Visual column */
.hero__visual {
  position: relative;
  height: clamp(380px, 72vw, 540px);
}

/* One very soft teal glow behind the product, nothing else */
.hero__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(closest-side at 55% 45%, rgba(15, 118, 110, 0.07), rgba(15, 118, 110, 0));
  pointer-events: none;
}

.hero__shot {
  container: hshot / inline-size;
  position: absolute;
  inset: 0 16px 0 16px;
}
@media (min-width: 640px) {
  .hero__shot { inset: 0 40px 0 48px; }
}

/* Crops the frame at the card's bottom edge and fades it out.
   The negative inset leaves room for the frame's shadow. */
.hero__crop {
  position: absolute;
  inset: -24px -24px 0 -24px;
  padding: 24px 24px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 66%, transparent 98%);
  mask-image: linear-gradient(to bottom, #000 66%, transparent 98%);
}

.browser--hero {
  min-height: 100%;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  box-shadow: 0 0 0 1px rgba(10, 10, 10, 0.02), 0 16px 48px -12px rgba(10, 10, 10, 0.14);
}

.hero__tag {
  position: absolute;
  right: 20px;
  bottom: 14px;
  z-index: 3;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--g500);
}

@media (min-width: 1180px) {
  .hero__card {
    grid-template-columns: minmax(0, 37rem) minmax(0, 1fr);
    column-gap: 48px;
    min-height: 640px;
    min-height: clamp(600px, calc(100svh - 140px), 720px);
  }
  .hero__copy { align-self: center; padding: 72px 0 72px 56px; }
  .hero__visual { height: auto; }
  .hero__shot { inset: 56px 28px 0 0; }
}

/* ---------- Satellite notes ---------- */

.sat {
  position: absolute;
  z-index: 2;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 9px 9px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-float);
  font-size: 12.5px;
  line-height: 1.35;
  white-space: nowrap;
  color: var(--g900);
}
@media (min-width: 640px) { .sat { display: flex; } }

.sat .i { width: 15px; height: 15px; }
.sat__text b { display: block; font-weight: 500; color: var(--ink); }
.sat__text span { font-size: 12px; color: var(--g500); }
.sat__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px; height: 32px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--wash);
  color: var(--g600);
}
/* A four-segment stepper as the icon: the page's motif, at 20px */
.sat__icon--steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-color: var(--accent-border);
  background: var(--accent-tint);
}
.sat__icon--steps i {
  width: 4px; height: 12px;
  border-radius: 2px;
  background: #CFE3E1;
}
.sat__icon--steps i.is-done { background: var(--accent); }
.sat__icon--steps i.is-now { background: linear-gradient(to top, var(--accent) 50%, #CFE3E1 50%); }
.sat .pa-ftype { width: 32px; height: 32px; }
.sat__done {
  display: grid;
  place-items: center;
  flex: none;
  width: 18px; height: 18px;
  margin-left: 2px;
  border-radius: 50%;
  background: var(--done);
  color: #fff;
}
.sat__done .i { width: 11px; height: 11px; stroke-width: 3; }

/* Stage note sits in the empty space right of the project title; the other
   two sit low, over the part of the frame that is already fading out. */
.sat--stage   { top: 100px; right: -20px; }
.sat--file    { bottom: 112px; left: -32px; }
.sat--invoice { bottom: 36px; right: -12px; }

@media (prefers-reduced-motion: no-preference) {
  .sat { animation: sat-in .7s cubic-bezier(.2, .7, .2, 1) both; }
  .sat--stage   { animation-delay: .3s; }
  .sat--file    { animation-delay: .5s; }
  .sat--invoice { animation-delay: .7s; }
}
@keyframes sat-in {
  from { opacity: 0; transform: translateY(10px); }
}

/* ==========================================================================
   Browser frame (shared)
   ========================================================================== */

.shot { container: shot / inline-size; }

.browser {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}

.browser__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 12px;
  background: #FBFBFB;
  border-bottom: 1px solid var(--line);
}
.browser__dots { display: flex; gap: 6px; flex: 0 0 auto; }
.browser__dots i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #E3E3E3;
}
.browser__url {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 0 1 440px;
  min-width: 0;
  height: 28px;
  margin-inline: auto;
  padding: 0 12px;
  border-radius: var(--r-sm);
  background: #F1F1F1;
  font-size: 12px;
  color: var(--g700);
  white-space: nowrap;
}
.browser__url > span { overflow: hidden; text-overflow: ellipsis; }
.browser__url .i { width: 12px; height: 12px; color: var(--g500); }
.browser__path { color: var(--g500); }
.browser__tag {
  flex: 0 0 auto;
  min-width: 72px;
  text-align: right;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--g500);
  white-space: nowrap;
}

/* Private-link chip: the address bar of the client's page */
.linkchip {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 440px;
  height: 30px;
  margin-inline: auto;
  padding: 0 4px 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}
.linkchip > .i { width: 12px; height: 12px; color: var(--g600); }
.linkchip__url {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--g800);
}
.linkchip__path { color: var(--g500); }
.linkchip__valid {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: none;
  height: 22px;
  margin-left: auto;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}
.linkchip__valid .i { width: 11px; height: 11px; }
.linkchip__copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: none;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--btn);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.linkchip__copy .i { width: 13px; height: 13px; }

@container hshot (max-width: 479px) {
  .browser__dots { display: none; }
  .linkchip__copy { width: 30px; padding: 0; }
  .linkchip__copy span { display: none; }
}
@container hshot (max-width: 379px) {
  .linkchip__path { display: none; }
}

/* ==========================================================================
   Stepper: the signature element. Segmented bar, done segments in teal.
   ========================================================================== */

.stepper {
  display: grid;
  grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr));
  gap: 6px;
}
.stepper--road { --n: 3; }
.stepper li { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.stepper__bar {
  position: relative;
  height: 6px;
  margin-bottom: 10px;
  border-radius: 99px;
  background: #EBEBEB;
  overflow: hidden;
}
.stepper .is-done .stepper__bar { background: var(--accent); }
.stepper .is-now .stepper__bar { background: var(--accent-soft); }
.stepper .is-now .stepper__bar::after {
  content: "";
  position: absolute;
  inset: 0 50% 0 0;
  border-radius: 99px;
  background: var(--accent);
}
.stepper__name {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--ink);
}
.stepper li:not(.is-done):not(.is-now) .stepper__name { color: var(--g500); }
.stepper__name .i { width: 13px; height: 13px; color: var(--accent); stroke-width: 2.5; }
.stepper__dot {
  flex: none;
  width: 7px; height: 7px;
  margin-inline: 3px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ring);
}
.stepper__meta { font-size: 12px; color: var(--g450); white-space: nowrap; }
.stepper .is-now .stepper__meta { color: var(--accent); }

/* ==========================================================================
   Client view (what the client sees). Adapts to its own width.
   ========================================================================== */

.cv {
  container: cv / inline-size;
  background: var(--surface);
  color: var(--g900);
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
}
.cv .pa-btn .i { width: 14px; height: 14px; }

.cv-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 52px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
}
.cv-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.cv-logo {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px; height: 24px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.cv-brand__tag {
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--wash);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--g600);
}
.cv-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  height: 30px;
  padding: 0 8px 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  font-size: 12.5px;
  white-space: nowrap;
}
.cv-switch b { font-weight: 500; }
.cv-switch__label { color: var(--g500); }
.cv-switch .i { width: 13px; height: 13px; color: var(--g450); }

.cv-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 20px 24px;
}
.cv-hello { font-size: 12px; color: var(--g500); }
.cv-title {
  margin-top: 2px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.cv-muted { color: var(--g500); font-weight: 400; font-size: 12px; }

.cv-card {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.cv-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 40px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line-soft);
  font-weight: 600;
}
.cv-card__head > span:first-child { display: flex; align-items: center; gap: 8px; }
.cv-stepper { padding: 16px 14px 14px; }

.cv-grid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.cv-stack { display: flex; flex-direction: column; gap: 12px; min-width: 0; }

.cv-files li {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 14px;
  border-top: 1px solid var(--line-soft);
}
.cv-files li:first-child { border-top: 0; }
.cv-files .pa-ftype { width: 28px; height: 28px; }
.cv-files li > .i { width: 15px; height: 15px; color: var(--g450); }
.cv-fname { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.cv-fsize { margin-left: auto; flex: none; font-size: 12px; color: var(--g500); font-variant-numeric: tabular-nums; }

.cv-invoice__body { display: flex; flex-direction: column; padding: 14px; }
.cv-invoice__body .pa-btn { flex: none; }
.cv .pa-invoice__amount { margin-bottom: 14px; }
.cv-updates { display: none; }
.cv-updates .pa-feed { padding: 14px; }

@container cv (min-width: 520px) {
  .cv-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
}
@container cv (max-width: 599px) {
  .cv-files .pa-new { display: none; }
}
@container cv (max-width: 419px) {
  .cv-brand__tag, .cv-switch__label { display: none; }
  .cv-top { padding: 0 14px; }
  .cv-body { padding: 16px 14px 20px; }
  .stepper__meta { display: none; }
}
/* Full page width (Client view tab) */
@container cv (min-width: 860px) {
  .cv-top { padding-inline: max(32px, calc((100% - 960px) / 2 + 32px)); height: 56px; }
  .cv-body { width: 100%; max-width: 960px; margin-inline: auto; padding: 32px 32px 40px; gap: 18px; }
  .cv-title { font-size: 26px; letter-spacing: -0.025em; }
  .cv-stepper { padding: 20px 18px 18px; }
  .cv-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; }
  .cv-stack { gap: 18px; }
  .cv-updates { display: block; }
  .cv-files li { height: 52px; }
}

/* ==========================================================================
   Portal app screenshot (HTML/CSS)
   ========================================================================== */

/* App shell */
.pa {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  background: var(--surface);
  color: var(--g900);
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
}
.pa .i { width: 16px; height: 16px; }
.pa-num { font-variant-numeric: tabular-nums; }
.pa-muted { color: var(--g500); }
.pa-accent { color: var(--accent); }

/* Sidebar */
.pa-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 12px 10px;
  background: var(--wash);
  border-right: 1px solid var(--line);
}

.pa-ws {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 8px;
}
.pa-ws__logo {
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.pa-ws__name { font-weight: 600; letter-spacing: -0.01em; }
.pa-ws__chev { margin-left: auto; color: var(--g400); }
.pa .pa-ws__chev { width: 14px; height: 14px; }

.pa-nav { display: flex; flex-direction: column; gap: 2px; }
.pa-nav a,
.pa-nav__item {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 32px;
  padding: 0 8px;
  border-radius: var(--r-sm);
  color: var(--g700);
  font-weight: 450;
}
.pa-nav a .i,
.pa-nav__item .i { color: var(--g500); }
.pa-nav em {
  margin-left: auto;
  font-style: normal;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--g450);
}
.pa-nav a.is-active {
  background: var(--surface);
  color: var(--ink);
  font-weight: 500;
  box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(10, 10, 10, 0.04);
}
.pa-nav a.is-active .i { color: var(--ink); }

.pa-side__label {
  padding: 0 8px 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--g450);
}
.pa-plist li {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 30px;
  padding: 0 8px;
  border-radius: var(--r-sm);
  color: var(--g600);
}
.pa-plist li.is-current { color: var(--ink); font-weight: 500; background: rgba(10, 10, 10, 0.035); }
.pa-dot {
  flex: none;
  width: 7px; height: 7px;
  margin-inline: 4px 1px;
  border-radius: 50%;
  background: var(--g300);
}
.pa-dot--accent { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }

.pa-side__foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pa-storage {
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.pa-storage__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--g600);
}
.pa-storage__row .pa-num { color: var(--g500); }
.pa-meter {
  height: 4px;
  margin-top: 8px;
  border-radius: 99px;
  background: #EDEDED;
  overflow: hidden;
}
.pa-meter span { display: block; height: 100%; border-radius: 99px; background: var(--accent); }

/* Main column */
.pa-main { min-width: 0; display: flex; flex-direction: column; }

.pa-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 48px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
}
.pa-crumbs { display: flex; align-items: center; gap: 6px; min-width: 0; white-space: nowrap; }
.pa-crumbs__parent { color: var(--g500); }
.pa-crumbs__current { font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.pa .pa-crumbs__sep { width: 14px; height: 14px; color: var(--g400); }
.pa-crumbs__back { display: none; color: var(--g600); }

.pa-top__actions { display: flex; align-items: center; gap: 12px; }
.pa-visible {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--g600);
  white-space: nowrap;
}
.pa .pa-visible .i { width: 15px; height: 15px; color: var(--g500); }
.pa-avatar {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #EDEDED;
  color: var(--g700);
  font-size: 10px;
  font-weight: 600;
}

/* App buttons (static, decorative) */
.pa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
}
.pa-btn .i { width: 14px; height: 14px; }
.pa .pa-btn .i { width: 14px; height: 14px; }
.pa-btn--secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
  box-shadow: 0 1px 1px rgba(10, 10, 10, 0.03);
}
.pa-btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.pa-btn--dark { background: var(--btn); color: #fff; }
.pa-btn--xs { height: 26px; padding: 0 8px; font-size: 12px; }
.pa-btn--icon { width: 30px; padding: 0; }
.pa-btn--grow { flex: 1; }

.pa-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 24px 24px;
}

.pa-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.pa-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.pa-sub {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--g500);
}
.pa-client { display: inline-flex; align-items: center; gap: 6px; color: var(--g700); }
.pa-client__av {
  display: grid;
  place-items: center;
  flex: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--subtle);
  border: 1px solid var(--line);
  color: var(--g600);
  font-size: 8.5px;
  font-weight: 600;
}
.pa-sub__sep { width: 3px; height: 3px; border-radius: 50%; background: var(--g300); }
.pa-head__actions { display: flex; gap: 8px; }
.pa-usage { flex: 0 0 220px; padding-bottom: 2px; }

/* Cards */
.pa-card {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.pa-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 44px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line-soft);
}
.pa-card__title { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.pa-card__meta { display: flex; align-items: center; gap: 12px; font-size: 12px; }
.pa-count {
  padding: 1px 6px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--wash);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 400;
  color: var(--g600);
}
.pa-link { color: var(--accent); font-weight: 500; }

/* Stage tracker */
.pa-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 18px 16px 16px;
}
.pa-steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-right: 12px;
}
.pa-steps li::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 30px;
  right: 8px;
  height: 2px;
  border-radius: 2px;
  background: #EBEBEB;
}
.pa-steps li:last-child::after { display: none; }
.pa-steps li.is-done::after { background: var(--accent); }

.pa-step__marker {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  margin-bottom: 10px;
  border: 1.5px solid var(--g300);
  border-radius: 50%;
  background: var(--surface);
  color: #fff;
}
.pa .pa-step__marker .i { width: 12px; height: 12px; stroke-width: 2.75; }
.is-done .pa-step__marker { background: var(--accent); border-color: var(--accent); }
.is-now .pa-step__marker {
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 4px var(--accent-ring);
}
.is-now .pa-step__marker::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.pa-step__name { font-weight: 500; color: var(--ink); }
.pa-steps li:not(.is-done):not(.is-now) .pa-step__name { color: var(--g600); }
.pa-step__meta { font-size: 12px; color: var(--g450); }
.pa-step__meta.pa-accent { color: var(--accent); }

/* Split: files + right column */
.pa-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 288px;
  gap: 16px;
  align-items: start;
}
.pa-stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

/* Files table */
.pa-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 12.5px;
}
.pa-table th {
  height: 34px;
  padding: 0 14px;
  background: var(--wash);
  border-bottom: 1px solid var(--line-soft);
  font-size: 12px;
  font-weight: 500;
  color: var(--g500);
  text-align: left;
}
.pa-table td {
  height: 48px;
  padding: 0 14px;
  border-bottom: 1px solid #F3F3F3;
  color: var(--g600);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pa-table tr:last-child td { border-bottom: 0; }
.pa-table .pa-num { text-align: right; }
.pa-table th.pa-num { width: 80px; }
.pa-col-type { width: 76px; }
.pa-col-date { width: 108px; }
.pa-col-proj { width: 168px; }
.pa-col-act { width: 44px; text-align: right; }
.pa .pa-col-act .i { width: 15px; height: 15px; margin-left: auto; color: var(--g450); }
.pa-proj { display: inline-flex; align-items: center; gap: 6px; color: var(--g700); }
.pa-proj .pa-dot { margin: 0; width: 6px; height: 6px; box-shadow: none; }

.pa-fname {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  font-weight: 500;
}
.pa-fname__text { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

.pa-ftype {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px; height: 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--wash);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--g600);
}
.pa-new {
  flex: none;
  padding: 1px 6px;
  border: 1px solid var(--accent-border);
  border-radius: 99px;
  background: var(--accent-tint);
  color: var(--accent);
  font-size: 10.5px;
  font-weight: 500;
}

/* Invoice card */
.pa-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--wash);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--g600);
}
.pa-badge .i { width: 12px; height: 12px; }
.pa .pa-badge .i { width: 12px; height: 12px; }
.pa-invoice__body { padding: 14px; }
.pa-invoice__no { font-family: var(--mono); font-size: 11.5px; color: var(--g500); }
.pa-invoice__amount {
  margin: 4px 0 12px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}
.pa-invoice__amount span { color: var(--g450); font-weight: 500; }
.pa-invoice__lines { margin-bottom: 14px; border-top: 1px solid var(--line-soft); }
.pa-invoice__lines div {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12.5px;
}
.pa-invoice__lines dt { color: var(--g600); }
.pa-invoice__lines dd { font-variant-numeric: tabular-nums; }
.pa-invoice__actions { display: flex; gap: 8px; }

/* Activity feed (also used in the bento and the client view) */
.pa-feed { padding: 14px; }
.pa-feed li {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 0 0 14px 18px;
  font-size: 12.5px;
}
.pa-feed li:last-child { padding-bottom: 0; }
.pa-feed li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 7px; height: 7px;
  border-radius: 50%;
  border: 1.5px solid var(--g300);
  background: var(--surface);
}
.pa-feed li:first-child::before { border-color: var(--accent); background: var(--accent); }
.pa-feed li::after {
  content: "";
  position: absolute;
  left: 3px; top: 15px; bottom: 1px;
  width: 1px;
  background: #EBEBEB;
}
.pa-feed li:last-child::after { display: none; }
.pa-feed p { color: var(--g600); }
.pa-feed b { color: var(--ink); font-weight: 500; }
.pa-feed time { flex: none; font-size: 12px; color: var(--g450); }

/* --- Screenshot at tablet widths: icon rail, single main column --- */
@container shot (max-width: 979px) {
  .pa { grid-template-columns: 56px minmax(0, 1fr); }
  .pa-side { align-items: center; padding: 12px 8px; }
  .pa-ws { padding: 4px; }
  .pa-ws__name, .pa-ws__chev,
  .pa-nav span, .pa-nav em,
  .pa-nav__item span,
  .pa-side__group, .pa-storage { display: none; }
  .pa-nav a, .pa-nav__item { width: 36px; padding: 0; justify-content: center; }
  .pa-split { grid-template-columns: minmax(0, 1fr); }
  .pa-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .pa-table--files .pa-col-date { display: none; }
}

/* --- Screenshot on phones: no sidebar, vertical stages, fewer columns --- */
@container shot (max-width: 599px) {
  .browser__bar { height: 40px; padding: 0 10px; gap: 8px; }
  .browser__dots { display: none; }
  .browser__url { flex: 1 1 auto; margin: 0; justify-content: flex-start; }
  .browser__path { display: none; }
  .browser__tag { flex: none; min-width: 0; }
  .linkchip { margin: 0; }
  .linkchip__path { display: none; }

  .pa { grid-template-columns: minmax(0, 1fr); }
  .pa-side { display: none; }

  .pa-top { height: 44px; padding: 0 14px; }
  .pa-crumbs__back { display: block; }
  .pa-crumbs__parent, .pa-crumbs__sep, .pa-visible { display: none; }
  .pa-btn--link > span { display: none; }
  .pa-btn--link { width: 30px; padding: 0; }

  .pa-body { padding: 16px 14px; gap: 12px; }
  .pa-title { font-size: 18px; }
  .pa-head__actions, .pa-usage { display: none; }

  .pa-stages .pa-card__meta .pa-btn { display: none; }
  .pa-steps { grid-template-columns: minmax(0, 1fr); padding: 8px 14px; }
  .pa-steps li {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    height: 40px;
    padding: 0;
  }
  .pa-steps li::after { top: 31px; left: 10px; right: auto; width: 2px; height: 18px; }
  .pa-step__marker { margin: 0; }
  .pa-step__meta { margin-left: auto; }

  .pa-split, .pa-stack { gap: 12px; }
  .pa-stack { grid-template-columns: minmax(0, 1fr); }
  .pa-col-type, .pa-col-date, .pa-col-proj, .pa-row-extra, .pa-feed__extra, .pa-new { display: none; }
  .pa-table td { height: 46px; padding: 0 12px; }
  .pa-table th { padding: 0 12px; }
  .pa-table th.pa-num { width: 72px; }
  .pa-col-act { width: 36px; }
}

/* ==========================================================================
   Sections: one rhythm. Same-colour sections share a single gap.
   ========================================================================== */

.section { padding-block: clamp(72px, 9vw, 120px); }
.section:not(.band) + .section:not(.band) { padding-top: 0; }
.section--tight { padding-block: clamp(48px, 6vw, 72px); }
#how { padding-top: clamp(56px, 7vw, 96px); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--split { max-width: none; display: grid; gap: 16px; }
@media (min-width: 1000px) {
  .section-head--split {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: end;
    gap: 64px;
  }
  .section-head--split .section-lede { margin-top: 0; padding-bottom: 4px; }
}

/* Mono eyebrow with a short teal segment: the stepper, one more time */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--g600);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 14px; height: 3px;
  border-radius: 2px;
  background: var(--accent);
}

.section-title {
  max-width: 22em;
  font-size: clamp(1.875rem, 1.2rem + 2.2vw, 2.75rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.section-lede {
  max-width: 36em;
  margin-top: 16px;
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  line-height: 1.6;
  color: var(--g600);
  text-wrap: pretty;
}

/* ---------- How it works: numbered 3-step row ---------- */

.steps__track { display: none; }
@media (min-width: 900px) {
  .steps__track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
  }
  .steps__track span {
    position: relative;
    height: 4px;
    border-radius: 99px;
    background: var(--accent);
    overflow: hidden;
  }
  .steps__track .is-now { background: var(--accent-soft); }
  .steps__track .is-now::after {
    content: "";
    position: absolute;
    inset: 0 50% 0 0;
    border-radius: 99px;
    background: var(--accent);
  }
}

.steps { display: grid; gap: 16px; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.step {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
}
.step__text { padding: 24px 24px 24px; }
.step__num {
  display: inline-grid;
  place-items: center;
  height: 24px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--wash);
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.04em;
  color: var(--g800);
}
.step__title {
  margin-top: 18px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.step__text p {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--g600);
  text-wrap: pretty;
}

/* The fragment well. The UI card inside runs off the right and bottom edges. */
.step__frag {
  position: relative;
  margin-top: auto;
  height: 216px;
  overflow: hidden;
  background: var(--wash);
  border-top: 1px solid var(--line-soft);
}
.mini {
  position: absolute;
  top: 24px;
  left: 24px;
  right: -40px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  line-height: 1.4;
  color: var(--g900);
}
.mini .i { width: 14px; height: 14px; }
.mini__head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
  font-weight: 600;
}
.mini__head span { font-size: 12px; font-weight: 400; color: var(--g500); }
.mini__field + .mini__field { margin-top: 12px; }
.mini__label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 500; color: var(--g600); }
.mini__input {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  white-space: nowrap;
}
.mini__field:first-of-type .mini__input { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.mini__caret { width: 1.5px; height: 15px; margin-left: -6px; background: var(--accent); }
.mini__chips { display: flex; flex-wrap: nowrap; gap: 6px; }
.mini__chips i {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--wash);
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  color: var(--g700);
  white-space: nowrap;
}
.mini .fl-field { background: var(--wash); }
.mini__row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  white-space: nowrap;
}
.mini__done,
.mini__valid {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
}
.mini__done { color: var(--done); }
.mini__done .i { stroke-width: 2.5; }
.mini__valid { color: var(--g600); font-weight: 400; }
.mini__valid .i { color: var(--accent); }
.mini__list { margin-top: 14px; border-top: 1px solid var(--line-soft); }
.mini__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  border-bottom: 1px solid var(--line-soft);
  font-weight: 500;
}
.mini__list .pa-dot { margin: 0 2px; width: 6px; height: 6px; box-shadow: none; }
.mini__list em { margin-left: auto; padding-right: 56px; font-style: normal; font-size: 12px; font-weight: 400; color: var(--g500); }
.stepper--mini { gap: 4px; }
.stepper--mini .stepper__bar { height: 5px; margin-bottom: 8px; }
.stepper--mini .stepper__name { font-size: 12px; }
.mini__feed { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.mini__feed li { display: flex; gap: 12px; padding-right: 56px; font-size: 12.5px; }
.mini__feed li + li { margin-top: 8px; }
.mini__feed p { color: var(--g600); }
.mini__feed b { color: var(--ink); font-weight: 500; }
.mini__feed time { margin-left: auto; font-size: 12px; color: var(--g450); }

/* ---------- App tour (tabs) ---------- */

.tour__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 20px;
}
.tour__note {
  font: 400 12px/1 var(--mono);
  letter-spacing: 0.04em;
  color: var(--g500);
}

.tabs { display: none; }
.js .tabs {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: #EAEAE8;
  max-width: 100%;
  overflow-x: auto;
}
.tabs__tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--g600);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.tabs__tab .i { width: 15px; height: 15px; color: var(--g500); }
.tabs__tab:hover { color: var(--ink); }
.tabs__tab[aria-selected="true"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.08), 0 0 0 1px rgba(10, 10, 10, 0.04);
}
.tabs__tab[aria-selected="true"] .i { color: var(--accent); }
.tabs__tab:focus-visible { outline-offset: 0; border-radius: 999px; }

/* Panels share one grid cell, so the frame keeps its height when switching */
.tour__panels { display: grid; }
.tour__panel { grid-area: 1 / 1; min-width: 0; background: var(--surface); }
.tour__panel[hidden] { display: block; visibility: hidden; }
.tour__panel:focus-visible { outline-offset: -2px; border-radius: var(--r-lg); }

@media (prefers-reduced-motion: no-preference) {
  .js .tour__panel:not([hidden]) { animation: panel-in .3s ease both; }
}
@keyframes panel-in { from { opacity: 0; } }

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

.bento { display: grid; gap: 16px; }

@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .tile--stages  { grid-column: span 7; }
  .tile--files   { grid-column: span 5; }
  .tile--invoice { grid-column: span 5; }
  .bento__minis  { grid-column: span 7; }
}

.tile {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
}

.tile__text { padding: 28px 28px 24px; }
.tile__title {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.tile__text p {
  max-width: 34em;
  font-size: 15px;
  line-height: 1.55;
  color: var(--g600);
  text-wrap: pretty;
}

/* Fragment "well" that holds a piece of real UI */
.frag {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 248px;
  padding: 32px 28px;
  background: var(--wash);
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  line-height: 1.4;
  color: var(--g900);
}
.frag .i { width: 16px; height: 16px; }

/* Tile 1: stage list + undo toast, with the activity log beside it */
.tile--stages { container: tstages / inline-size; }
.frag--stages {
  align-items: flex-end;
  gap: 12px;
  padding-bottom: 0;
}
.fs-card,
.fa-card {
  position: relative;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  box-shadow: var(--shadow-sm);
}
.fs-card { flex: 1 1 0; max-width: 400px; padding-bottom: 68px; }
.fa-card { display: none; flex: 1 1 0; padding-bottom: 20px; }
@container tstages (min-width: 560px) {
  .fs-card { flex-grow: 1.15; }
  .fa-card { display: block; }
}
.fs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line-soft);
  font-weight: 600;
}
.fs-head__meta { font-size: 12px; font-weight: 400; color: var(--g500); }
.fs-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line-soft);
}
.fs-marker {
  display: grid;
  place-items: center;
  flex: none;
  width: 20px; height: 20px;
  border: 1.5px solid var(--g300);
  border-radius: 50%;
  background: var(--surface);
  color: #fff;
}
.frag .fs-marker .i { width: 11px; height: 11px; stroke-width: 2.75; }
.fs-list .is-done .fs-marker { background: var(--accent); border-color: var(--accent); }
.fs-list .is-now .fs-marker { border: 2px solid var(--accent); box-shadow: 0 0 0 4px var(--accent-ring); }
.fs-list .is-now .fs-marker::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.fs-list .is-just { background: #FCFEFE; }
.fs-name { font-weight: 500; }
.fs-meta { margin-left: auto; font-size: 12px; color: var(--g450); }
.fs-meta--accent { color: var(--accent); }
.fa-card .pa-feed { padding: 16px; }

.toast {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 12px;
  border-radius: 10px;
  background: var(--g900);
  color: #fff;
  font-size: 13px;
  white-space: nowrap;
  box-shadow: 0 12px 28px -8px rgba(10, 10, 10, 0.35), 0 2px 6px rgba(10, 10, 10, 0.12);
}
.toast__icon {
  display: grid;
  place-items: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent-on-dark);
  color: var(--g900);
}
.frag .toast__icon .i { width: 11px; height: 11px; stroke-width: 3; }
.toast__action {
  margin-left: 6px;
  padding: 5px 10px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.12);
  font-size: 12.5px;
  font-weight: 500;
}

/* Tile 2: storage meter + file list, bleeding off the bottom */
.frag--files { align-items: flex-end; padding-bottom: 0; }
.ff-card {
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  box-shadow: var(--shadow-sm);
}
.ff-storage { padding: 14px 14px 12px; border-bottom: 1px solid var(--line-soft); }
.ff-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line-soft);
}
.ff-list li:last-child { border-bottom: 0; }
.ff-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.ff-size { margin-left: auto; flex: none; font-size: 12px; color: var(--g500); font-variant-numeric: tabular-nums; }
.ff-list .is-blocked { background: var(--wash); }
.ff-list .is-blocked .ff-name { color: var(--g500); text-decoration: line-through; text-decoration-color: var(--g400); }
.ff-list .is-blocked .ff-size { color: var(--g700); font-weight: 500; }
.ff-ban {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px; height: 30px;
  border: 1px dashed var(--g300);
  border-radius: var(--r-sm);
  color: var(--g500);
}

/* Tile 3: invoice PDF */
.paper {
  width: 100%;
  max-width: 280px;
  padding: 20px 20px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
  font-size: 11.5px;
}
.paper__top { display: flex; align-items: flex-start; justify-content: space-between; }
.paper__logo {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 7px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
}
.paper__title { text-align: right; }
.paper__title b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.paper__title span { font-family: var(--mono); font-size: 10.5px; color: var(--g500); }
.paper__parties {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}
.paper__parties span { display: block; font-size: 10.5px; color: var(--g500); }
.paper__parties b { font-weight: 500; }
.paper__lines { margin-top: 16px; }
.paper__lines div {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--line-soft);
}
.paper__lines dt { color: var(--g600); }
.paper__lines dd { font-variant-numeric: tabular-nums; }
.paper__lines .paper__total { border-bottom: 0; border-top: 1px solid var(--g800); margin-top: 4px; }
.paper__total dt, .paper__total dd { color: var(--ink); font-weight: 600; }
.paper__sign { margin-top: 12px; }
.paper__sign svg { width: 96px; height: auto; }
.paper__sign span {
  display: block;
  width: 120px;
  margin-top: 2px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--g500);
}

.pdf-chip {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-float);
  font-size: 12.5px;
  font-weight: 500;
}
.pdf-chip .pa-ftype { width: 26px; height: 26px; }
.frag .pdf-chip .i { width: 14px; height: 14px; color: var(--g500); }

/* Small tiles: text left, a small piece of UI right */
.bento__minis { display: grid; grid-auto-rows: 1fr; gap: 16px; }
.tile--mini { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; }
.tile--mini .tile__text { padding: 22px 24px; }
.tile--mini .tile__title { font-size: 16px; margin-bottom: 4px; }
.tile--mini .tile__text p { font-size: 14.5px; }
.mu { padding: 0 24px 22px; font-size: 13px; line-height: 1.4; color: var(--g900); }
@media (min-width: 560px) {
  .tile--mini { grid-template-columns: minmax(0, 1fr) 216px; }
  .mu { padding: 20px 24px 20px 0; }
}
.mu .i { width: 14px; height: 14px; }
.mu-menu,
.mu-rows {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.mu-menu { padding: 4px; }
.mu-menu li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 32px;
  padding: 0 10px;
  border-radius: var(--r-sm);
  color: var(--g600);
}
.mu-menu .is-current { background: var(--wash); color: var(--ink); font-weight: 500; }
.mu-menu .i { color: var(--accent); stroke-width: 2.25; }
.mu-rows li {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 12px;
  border-top: 1px solid var(--line-soft);
}
.mu-rows li:first-child { border-top: 0; }
.mu-rows .i { color: var(--g500); }
.mu-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.mu-state { margin-left: auto; font-size: 12px; color: var(--g500); }
.mu-rows .is-off .mu-name { color: var(--g500); }
.mu-badge {
  margin-left: auto;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--wash);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--g600);
}

.switch {
  position: relative;
  flex: none;
  width: 28px; height: 16px;
  border-radius: 99px;
  background: var(--g300);
}
.switch::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.2);
}
.switch.is-on { background: var(--accent); }
.switch.is-on::after { left: 14px; }

/* Shared link field (step 02) */
.fl-field {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--wash);
}
.fl-url {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--g700);
}
.fl-url > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.fl-url .i { color: var(--g500); }

/* Fragments on narrow screens */
@media (max-width: 599px) {
  .tile__text { padding: 24px 20px 20px; }
  .frag { min-height: 0; padding: 24px 16px; }
  .frag--stages, .frag--files { padding-bottom: 0; }
  .frag--invoice { flex-direction: column; gap: 16px; }
  .pdf-chip { position: static; }
  .step__text { padding: 22px 20px; }
  .mini { left: 20px; }
}

/* ---------- Live / coming next ---------- */

.status {
  display: grid;
  gap: 32px;
  margin-top: 16px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
}
.status__title {
  max-width: 16em;
  font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.stepper--road { margin-top: 28px; font-size: 14px; }
.stepper--road .stepper__meta { font-size: 12.5px; color: var(--g500); }
.stepper--road .is-now .stepper__meta { color: var(--accent); }
.status__cols { display: grid; gap: 32px; }
.status__head { margin-bottom: 12px; }
.status__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--subtle);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--g700);
}
.status__badge--live {
  background: var(--accent-tint);
  border-color: var(--accent-border);
  color: var(--accent);
}
.status__badge--live::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.checklist li {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 15px;
  line-height: 1.45;
  color: var(--g800);
}
.checklist .i { margin-top: 2px; color: var(--accent); stroke-width: 2; }
.checklist--next li { color: var(--g600); }
.checklist--next .i { color: var(--g400); stroke-width: 1.75; }

@media (min-width: 640px) {
  .status__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .status { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; padding: 40px 40px 32px; }
}

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

.pricing { display: grid; gap: 40px; }
.pricing__head .section-lede { max-width: 30em; }

.plans { display: grid; gap: 16px; }

.plan {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
}
.plan--featured {
  border-color: rgba(15, 118, 110, 0.45);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.06), var(--shadow-sm);
}
.plan__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 24px; }
.plan__name { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.plan__tag {
  padding: 2px 8px;
  border: 1px solid var(--accent-border);
  border-radius: 99px;
  background: var(--accent-tint);
  font: 500 11.5px/1.5 var(--mono);
  letter-spacing: 0.02em;
  color: var(--accent);
}
.plan__price { display: flex; align-items: baseline; gap: 6px; margin: 20px 0 6px; }
.plan__amount {
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.plan__per { font-size: 15px; color: var(--g500); }
.plan__desc { font-size: 15px; color: var(--g600); }
.plan__list {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.plan__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 15px;
  color: var(--g800);
}
.plan__list .i { color: var(--accent); stroke-width: 2; }
.plan__foot { margin-top: auto; padding-top: 28px; }
.plan__status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--g600);
}
.plan__status--muted { color: var(--g500); }
.plan__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ring);
}

@media (min-width: 640px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .pricing { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .pricing__head { position: sticky; top: calc(var(--nav-h) + 32px); }
}

/* ---------- Voice ---------- */

.band {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.voice__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) {
  .voice__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; }
}

.product-label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
}
.product-label__mark {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
}
.product-label__mark .i { width: 15px; height: 15px; stroke-width: 2.25; }

.badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border: 1px solid var(--accent-border);
  border-radius: 99px;
  background: var(--accent-tint);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  white-space: nowrap;
}
.badge--muted { background: var(--subtle); border-color: var(--line); color: var(--g600); }

.voice__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 32px;
}
.voice__version { font-family: var(--mono); font-size: 12.5px; color: var(--g500); }

/* Voice widget */
.vw {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: clamp(20px, 4vw, 40px);
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.vw__pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 16px 0 14px;
  border-radius: 99px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 12px 28px -10px rgba(10, 10, 10, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.vw__rec {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-on-dark);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.25);
}
.vw__wave { display: flex; align-items: center; gap: 3px; height: 20px; }
.vw__wave i {
  width: 3px;
  height: 100%;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.85);
  transform-origin: center;
  transform: scaleY(var(--h, .4));
}
.vw__wave i:nth-child(1)  { --h: .25; }
.vw__wave i:nth-child(2)  { --h: .45; }
.vw__wave i:nth-child(3)  { --h: .7; }
.vw__wave i:nth-child(4)  { --h: .5; }
.vw__wave i:nth-child(5)  { --h: .9; }
.vw__wave i:nth-child(6)  { --h: .6; }
.vw__wave i:nth-child(7)  { --h: .35; }
.vw__wave i:nth-child(8)  { --h: .75; }
.vw__wave i:nth-child(9)  { --h: 1; }
.vw__wave i:nth-child(10) { --h: .55; }
.vw__wave i:nth-child(11) { --h: .8; }
.vw__wave i:nth-child(12) { --h: .4; }
.vw__wave i:nth-child(13) { --h: .65; }
.vw__wave i:nth-child(14) { --h: .9; }
.vw__wave i:nth-child(15) { --h: .5; }
.vw__wave i:nth-child(16) { --h: .3; }
.vw__wave i:nth-child(17) { --h: .6; }
.vw__wave i:nth-child(18) { --h: .45; }
.vw__wave i:nth-child(19) { --h: .3; }
.vw__wave i:nth-child(20) { --h: .2; }
.vw__time { font-family: var(--mono); font-size: 13px; color: rgba(255, 255, 255, 0.7); font-variant-numeric: tabular-nums; }

.vw__panes { display: flex; flex-direction: column; align-items: stretch; width: 100%; }
.vw__pane {
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.vw__pane--out {
  border-color: rgba(15, 118, 110, 0.4);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.06), var(--shadow-sm);
}
.vw__label {
  margin-bottom: 8px;
  font: 500 11px/1.4 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--g500);
}
.vw__said { font-size: 15px; line-height: 1.6; color: var(--g600); }
.vw__said s { color: #9A9A9A; text-decoration-color: #B5B5B5; }
.vw__clean { font-size: 15px; line-height: 1.6; color: var(--ink); }
.vw__caret {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  margin-left: 2px;
  vertical-align: -0.18em;
  background: var(--accent);
}
.vw__arrow {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  align-self: center;
  width: 28px; height: 28px;
  margin: -6px 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--g500);
}
.vw__arrow .i { width: 14px; height: 14px; }

@media (prefers-reduced-motion: no-preference) {
  .vw__wave i { animation: wave 1.2s ease-in-out infinite alternate; }
  .vw__wave i:nth-child(3n)   { animation-delay: -.4s; }
  .vw__wave i:nth-child(3n+1) { animation-delay: -.8s; }
  .vw__wave i:nth-child(4n)   { animation-duration: .9s; }
  .vw__caret, .mini__caret { animation: blink 1.1s steps(1) infinite; }
}
@keyframes wave {
  from { transform: scaleY(calc(var(--h) * .45)); }
  to   { transform: scaleY(var(--h)); }
}
@keyframes blink { 50% { opacity: 0; } }

/* Voice specs */
.specs {
  display: grid;
  column-gap: 40px;
  margin-top: clamp(56px, 7vw, 88px);
  border-top: 1px solid var(--line);
}
.specs__row { padding: 20px 0; border-bottom: 1px solid var(--line); }
.specs dt {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
}
.specs dd { font-size: 15px; line-height: 1.55; color: var(--g600); max-width: 30em; }

@media (min-width: 640px) {
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .specs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Bills ---------- */

.bills {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
}
.bills .eyebrow { margin-bottom: 12px; }
.bills__title { margin-bottom: 4px; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }
.bills__text p:not(.eyebrow) { font-size: 15px; color: var(--g600); }

@media (min-width: 768px) {
  .bills { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; padding: 28px 32px; }
}

/* ---------- About ---------- */

.about__card {
  display: grid;
  gap: 28px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
}
@media (min-width: 768px) {
  .about__card { grid-template-columns: 200px minmax(0, 620px); gap: 48px; align-items: start; }
}

.about__photo {
  width: 112px;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  object-fit: cover;
}
@media (min-width: 768px) { .about__photo { width: 100%; } }

.about__photo--placeholder {
  display: grid;
  place-items: center;
  background: var(--wash);
  border: 1px solid var(--line);
}
.about__photo--placeholder span {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--g400);
}

.about__title {
  margin-bottom: 16px;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.about__text > p:not(.eyebrow) {
  margin-bottom: 14px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--g700);
  max-width: 34em;
}
.about__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; }
.about__links a {
  font-size: 15px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--g300);
  text-underline-offset: 4px;
  transition: color .15s ease, text-decoration-color .15s ease;
}
.about__links a:hover { color: var(--accent); text-decoration-color: currentColor; }

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

.footer {
  padding: 56px 0 32px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 32px;
}
.footer__brand { grid-column: 1 / -1; }
.footer__brand p { max-width: 24em; margin-top: 14px; font-size: 14px; line-height: 1.55; color: var(--g500); }
.footer__head {
  margin-bottom: 14px;
  font: 500 12px/1.4 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--g600);
}
.footer__col li { margin-bottom: 10px; font-size: 14px; }
.footer__col a { color: var(--g600); text-decoration: none; transition: color .15s ease; }
.footer__col a:hover { color: var(--ink); }
.footer__note { margin-left: 4px; font-size: 12px; color: var(--g500); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--g500);
}

@media (min-width: 900px) {
  .footer__grid { grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: auto; }
}

/* ---------- Reveal on scroll ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1);
  }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- Oct 25 Portal & Voice updates ---------- */

@media (min-width: 900px) {
  .bento--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .bento--three > .tile {
    grid-column: span 1;
  }
}

.paper__bottom-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}
.paper__bottom-row .paper__sign { margin-top: 0; }
.paper__bottom-row .paper__sign span { width: 96px; }
.paper__qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--g500);
}
.paper__qr-box {
  width: 28px;
  height: 28px;
  border: 1px solid var(--g400);
  border-radius: 3px;
  background:
    linear-gradient(90deg, var(--ink) 25%, transparent 25%, transparent 50%, var(--ink) 50%, var(--ink) 75%, transparent 75%),
    linear-gradient(var(--ink) 25%, transparent 25%, transparent 50%, var(--ink) 50%, var(--ink) 75%, transparent 75%);
  background-size: 8px 8px;
  opacity: 0.78;
}

.pricing__body {
  display: grid;
  gap: 16px;
}
.plan__tag--muted {
  background: var(--subtle);
  border-color: var(--line);
  color: var(--g600);
}
.plan-free {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  padding: 16px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
}
.plan-free__badge {
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--wash);
  font: 500 12px/1.4 var(--mono);
  color: var(--ink);
  white-space: nowrap;
}
.plan-free__text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--g600);
}
.plan-free__text strong {
  color: var(--ink);
  font-weight: 600;
}

/* Voice Top Notch + 4-stage pipeline */
.vw {
  gap: 16px;
  padding: clamp(18px, 3vw, 28px);
}
.vw__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}
.vw__bezel {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 0 14px 12px;
  background: linear-gradient(180deg, #EBEBEA 0%, var(--surface) 100%);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.vw__notch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 14px;
  border-radius: 0 0 14px 14px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(10, 10, 10, 0.45);
}
.vw__sine { display: block; }
.vw__shortcut {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--g500);
}
.vw__shortcut kbd {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 26px;
  padding: 0 7px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}
.vw__pipe {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
}
.vw__pipe li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 30px;
  padding: 0 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--g600);
  white-space: nowrap;
}
.vw__pipe li span {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--g450);
}
.vw__pipe li.is-done {
  color: var(--g800);
}
.vw__pipe li.is-done span {
  color: var(--accent);
}
.vw__pipe li.is-active {
  background: var(--accent-tint);
  border-color: var(--accent-border);
  color: var(--accent);
  font-weight: 600;
}
.vw__pipe li.is-active span {
  color: var(--accent);
}
@media (max-width: 520px) {
  .vw__pipe { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.vw__label-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.vw__label-row .vw__label { margin-bottom: 0; }
.vw__pasted {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 99px;
  background: var(--accent-tint);
  border: 1px solid var(--accent-border);
  font: 500 11px/1.4 var(--mono);
  color: var(--accent);
}
.vw__pasted .i { width: 12px; height: 12px; stroke-width: 2.5; }

/* Voice 3-card mini-bento */
.voice-bento {
  margin-top: clamp(36px, 5vw, 56px);
}
.frag--voice {
  min-height: 176px;
  padding: 20px;
}
.vm-card {
  width: 100%;
  display: grid;
  gap: 10px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.vm-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.vm-tag {
  font: 500 11px/1.3 var(--mono);
  color: var(--g500);
}
.vm-notch-bar,
.vm-cap-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  padding: 0 10px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
}
.vm-notch-bar { border-radius: 0 0 10px 10px; }
.vm-cap-pill { border-radius: 99px; }
.vm-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-on-dark);
}
.vm-act {
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 10.5px;
}
.vm-bars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 12px;
}
.vm-bars i {
  width: 2px;
  height: 10px;
  border-radius: 1px;
  background: var(--accent-on-dark);
}
.vm-bars i:nth-child(even) { height: 6px; opacity: 0.7; }
.vm-mono {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
}
.vm-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px 10px;
  background: var(--wash);
  border: 1px solid var(--line-soft);
  border-radius: 7px;
}
.vm-field__label {
  font: 500 10.5px/1.2 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--g500);
}
.vm-field__val {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
}
.vm-field__val em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
}
.vm-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.vm-modes span {
  padding: 2px 8px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 11.5px;
  color: var(--g600);
}
.vm-modes span.is-on {
  background: var(--accent-tint);
  border-color: var(--accent-border);
  color: var(--accent);
  font-weight: 500;
}
.vm-priv {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 7px;
  background: var(--accent-tint);
  border: 1px solid var(--accent-border);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
}
.vm-priv__icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  flex: none;
}
.frag .vm-priv__icon .i { width: 11px; height: 11px; stroke-width: 2.75; }
