/* ==========================================================================
   Ontivum. Ink and paper, light serif headlines, ruled lists and a lot of room.
   The system is written down in DESIGN.md. One fluid type scale and one section rhythm
   (the tokens below); surfaces separate by space and hairlines, not by boxes.
   ========================================================================== */

:root {
  color-scheme: dark;   /* native form controls and scrollbars match the page */
  /* Colour tokens. The light theme (below) swaps ink and paper, so "paper" always means the text colour and "ink" the
     page colour. Anything that must look the same in both themes is a token, never a literal. */
  --ink-rgb: 16 16 16;
  --paper-rgb: 245 244 240;
  --ink: #101010;       /* brand ink and paper (brand/rebrand-2026-11/kit/guidelines.md, section 4) */
  --paper: #F5F4F0;
  --bg: var(--ink);
  --card: #1a1a19;
  --surface: #232321;
  --surface-2: #2e2e2e;
  --alt-chip: #D8D7D0;       /* the pricing sheet uses the other theme's palette */
  --alt-chip-hover: #CDCCC4;
  --alt-solid-hover: #2a2a28;
  --fg: var(--paper);
  --fg-70: rgb(var(--paper-rgb) / 0.7);
  --fg-60: rgb(var(--paper-rgb) / 0.6);
  --fg-50: rgb(var(--paper-rgb) / 0.5);
  --line: rgb(var(--paper-rgb) / 0.1);
  --code: #8d867e;
  --ok: #4ade80;
  --err: #ff9b8f;
  caret-color: var(--paper);
  accent-color: var(--paper);
  scrollbar-color: rgb(var(--paper-rgb) / 0.28) var(--ink);

  --f-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;   /* brand headline face, weight 300 */
  --f-sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Type and space: fluid between a 375px phone and a 1440px desktop, so nothing jumps at a breakpoint. */
  --t-display: clamp(2.5rem, 1.35rem + 4.9vw, 5.5rem);     /* the home headline: 40 to 88px */
  --t-headline: clamp(2.125rem, 1.5rem + 2.65vw, 4rem);    /* page titles and section ideas: 34 to 64px */
  --t-title: clamp(1.5rem, 1.32rem + 0.75vw, 2rem);        /* names: a service, a concept, a plan: 24 to 32px */
  --t-lead: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);       /* the paragraph under a headline: 17 to 20px */
  --sec: clamp(5rem, 3.25rem + 7.5vw, 10rem);              /* between sections: 80 to 160px */
  --sec-sm: clamp(3rem, 2.3rem + 3vw, 5rem);               /* between parts of one section: 48 to 80px */

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  /* springs, "stiffness damping" (Motion Studies tokens, read by js/plan.js) */
  --spring-settle: 280 22;   /* landing on a value: one small overshoot */
  --spring-soft: 260 24;     /* large moves: rows opening, panels */
  --spring-lead: 620 36;     /* stretchy highlight: the edge facing the move */
  --spring-trail: 190 19;    /* the edge that lags, this makes the stretch */
  --spring-pop: 520 16;      /* a check or a pill popping in */
  --spring-fade: 420 32;     /* opacity and small slides */
  --stagger: 45;             /* ms between items entering one after another */
  --r: 16px;            /* concept previews */
  --gutter: 20px;
  --max: 80rem;
}
@media (min-width: 64rem) { :root { --gutter: 32px; } }

/* Light theme: set by js/theme.js (data-theme on <html>), remembered in localStorage. Ink and paper trade places. */
:root[data-theme="light"] {
  color-scheme: light;
  --ink-rgb: 245 244 240;
  --paper-rgb: 16 16 16;
  --ink: #F5F4F0;
  --paper: #101010;
  --card: #E9E8E2;
  --surface: #DEDDD6;
  --surface-2: #D2D1C9;
  --alt-chip: #232321;
  --alt-chip-hover: #2e2e2e;
  --alt-solid-hover: #E2E1DB;
  --fg-70: rgb(var(--paper-rgb) / 0.76);
  --fg-60: rgb(var(--paper-rgb) / 0.66);
  --fg-50: rgb(var(--paper-rgb) / 0.58);
  --line: rgb(var(--paper-rgb) / 0.12);
  --code: #6f6a63;
  --ok: #1f8f4d;
  --err: #b3261e;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; background: var(--bg); }
html.menu-open { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--f-sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
::selection { background: var(--paper); color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: 16px; z-index: 100; padding: 10px 18px; border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 500; transform: translateY(-200%); }
.skip:focus-visible { transform: none; outline-color: var(--ink); }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.small { font-size: 13px; color: var(--fg-60); }

/* ---------- headings ----------
   Fraunces is always weight 300, tracked -0.02em and balanced. Three sizes carry the whole site. */
.hero__title, .h-lg, .dev h2, .svc-group h2, .h30, .ncard h3, .price h3, .svcs__t, .form__done h3, .mail, .pcard__price b, .svc__price b, .plans__faq h4, .billing h4 { font-family: var(--f-serif); font-weight: 300; letter-spacing: -0.02em; text-wrap: balance; }
.h-lg, .dev h2, .svc-group h2 { font-size: var(--t-headline); line-height: 1.06; }
.h30, .ncard h3, .price h3, .svcs__t, .plans__faq h4, .billing h4 { font-size: var(--t-title); line-height: 1.15; }
.eyebrow { font-size: 14px; font-weight: 500; line-height: 20px; color: var(--fg-60); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 12px 24px; border: 0; border-radius: 999px; font-size: 15px; font-weight: 500; line-height: 20px; white-space: nowrap; transition: background-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.2s var(--ease); }
.btn:active { transform: scale(0.97); }
.btn--sm { height: 40px; padding: 10px 18px; font-size: 14px; }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--dark { background: var(--surface); color: var(--paper); }
@media (hover: hover) {
  .btn--light:hover { background: rgb(var(--paper-rgb) / 0.85); }
  .btn--dark:hover { background: var(--surface-2); }
}
/* a quiet link with an arrow: "See all concepts", "Explore websites" */
.more { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; line-height: 24px; }
.more svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s var(--ease); }
@media (hover: hover) { .more:hover svg { transform: translateX(4px); } }
/* a service named in running text links to where that service is explained */
.tlink { color: var(--paper); text-decoration: underline; text-decoration-color: rgb(var(--paper-rgb) / 0.35); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: text-decoration-color 0.2s var(--ease); }
@media (hover: hover) { .tlink:hover { text-decoration-color: var(--paper); } }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; }
.hdr::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(var(--ink-rgb) / 0.85); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.hdr__in { display: flex; align-items: center; gap: 8px; min-height: 76px; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
.wordmark { height: 22.5px; width: auto; fill: currentColor; }   /* drawn logo; the link's aria-label carries the name */
/* Load: a light drop-down. The header slides down from the top edge and the hero drops into place
   in a short stagger. CSS only, transform and opacity, nothing to download or run. */
@keyframes drop-bar { from { transform: translateY(-100%); } }
@keyframes drop { from { opacity: 0; transform: translateY(-14px); } }
.hdr { animation: drop-bar 0.55s var(--ease) both; }
.hero .chip { animation: drop 0.6s var(--ease) 0.05s both; }
/* the subtitle is the largest text on phones: it slides but never fades, so it paints on the first frame */
@keyframes drop-move { from { transform: translateY(-14px); } }
.hero .hero__sub { animation: drop-move 0.6s var(--ease) both; }
.hero > .wrap > .hero__actions { animation: drop 0.6s var(--ease) 0.38s both; }
.hdr__nav { display: none; }
.hdr__cta { display: flex; gap: 8px; margin-left: auto; }
.menu-btn { position: relative; width: 48px; height: 48px; flex: none; border: 0; border-radius: 50%; background: var(--surface); }
.menu-btn i { position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; background: var(--paper); transform: translate(-50%, -4px); transition: transform 0.25s var(--ease); }
.menu-btn i + i { transform: translate(-50%, 3px); }
.menu-btn[aria-expanded="true"] i { transform: translate(-50%, -50%) rotate(45deg); }
.menu-btn[aria-expanded="true"] i + i { transform: translate(-50%, -50%) rotate(-45deg); }
@media (min-width: 64rem) {
  .hdr__in { min-height: 72px; padding-block: 0; gap: 32px; }
  .hdr__nav { display: flex; gap: 4px; margin-right: auto; }
  .hdr__nav a { padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; line-height: 20px; color: var(--fg-70); transition: background-color 0.25s var(--ease), color 0.25s var(--ease); }
  .hdr__nav a:hover, .hdr__nav a[aria-current="page"] { color: var(--paper); }
  .hdr__nav a[aria-current="page"] { background: var(--surface); }   /* the page you are on */
  .hdr__cta { margin-left: 0; }
  .menu-btn { display: none; }
}
.menu { position: fixed; inset: 0; z-index: 45; display: grid; align-content: center; padding: 96px var(--gutter) 48px; background: var(--bg); opacity: 0; visibility: hidden; transition: opacity 0.25s var(--ease), visibility 0s linear 0.25s; }
.menu.is-open { opacity: 1; visibility: visible; transition: opacity 0.25s var(--ease); }
.menu nav a { display: block; padding: 8px 0; font-family: var(--f-serif); font-weight: 300; font-size: 40px; line-height: 1.15; letter-spacing: -0.02em; }
.menu nav a[aria-current="page"] { color: var(--fg-60); }
@media (min-width: 64rem) { .menu { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow-x: clip; padding: 136px 0 0; text-align: center; }   /* clip: the particle word's canvas is wider than the word, and a long Spanish word must not make the page scroll sideways */
.hero > .wrap { position: relative; z-index: 1; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; background: var(--card); font-size: 13px; font-weight: 500; line-height: 19.5px; transition: background-color 0.25s var(--ease); }
.chip b { padding: 4px 10px; border-radius: 999px; background: var(--surface-2); font-weight: 500; }
.chip svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .chip:hover { background: var(--surface); } }
.chip + .hero__title { margin-top: 30px; }
.hero__title { max-width: 12em; margin-inline: auto; font-size: var(--t-display); line-height: 1.04; }
.hero--page .hero__title { max-width: 15em; font-size: var(--t-headline); line-height: 1.06; }
.w { display: inline-block; }
.rot { display: inline-block; position: relative; }
.hero__sub { max-width: 40rem; margin: 28px auto 0; font-size: var(--t-lead); line-height: 1.6; color: var(--fg-70); text-wrap: pretty; }
.hero__notice { max-width: 38rem; margin: 16px auto 0; font-size: 13px; line-height: 20px; color: var(--fg-60); }   /* the courtesy-translation line on the Spanish legal pages */
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.hero__actions--left { justify-content: flex-start; }
@media (min-width: 48rem) { .hero { padding-top: clamp(168px, 24vh, 232px); } .hero--page { padding-top: clamp(152px, 20vh, 200px); } }

/* hero headline: each word drops into place in turn. Hidden only while JS is about to run. */
.js .hero__title .w, .js .hero__title .rot { opacity: 0; transform: translateY(-0.3em); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); transition-delay: calc(var(--i) * 70ms + 0.12s); animation: rescue 0s 2.5s forwards; }
.js .hero.is-in .hero__title .w, .js .hero.is-in .hero__title .rot { opacity: 1; transform: none; }
@keyframes rescue { to { opacity: 1; transform: none; } }

/* ---------- section rhythm ----------
   Every section owns the space above it. The first one under a page title sits closer to it. */
.news, .dev, .how, .svc-group { padding-top: var(--sec); }
.svc, .plans { padding-top: var(--sec-sm); }
.svc-group + .svc { padding-top: clamp(2.5rem, 4vw, 3.5rem); }
.hero--page { padding-bottom: var(--sec-sm); }
.hero--page + * { padding-top: 0; }
.news__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; }
.news__note { max-width: 36rem; margin-top: 14px; font-size: 16px; line-height: 1.6; color: var(--fg-60); text-wrap: pretty; }

/* ---------- concept previews (home and the work page) ---------- */
.news__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px 24px; margin-top: clamp(32px, 4vw, 56px); }
.ncard { display: block; position: relative; }
.ncard h3 a::after, .ncard h2 a::after { content: ""; position: absolute; inset: 0; }   /* the whole card follows the title link (and on iPhones a finger on the preview scrolls this page, not the one inside it) */
/* live preview: the real concept page at 1440 x 900, scaled by main.js (--s), over a still poster */
.live { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--r); background: var(--card); }
.live img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.live iframe { position: absolute; left: 0; top: 0; width: 1440px; height: 900px; border: 0; pointer-events: none; opacity: 0; transform: scale(var(--s, 0.25)); transform-origin: 0 0; transition: opacity 0.6s var(--ease); }
.live.is-live iframe { opacity: 1; }
.live video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s var(--ease); }   /* phones: a recording of the preview */
.live.is-live video { opacity: 1; }
.ncard .live { transition: transform 0.6s var(--ease); }
@media (hover: hover) { .ncard:hover .live { transform: scale(1.012); } }
.ncard__cap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 24px; margin-top: 20px; }
.ncard__meta { font-size: 14px; line-height: 22px; color: var(--fg-60); }
.ncard__p { max-width: 34rem; margin-top: 12px; font-size: 16px; line-height: 1.6; text-wrap: pretty; }
.ncard__p--2 { margin-top: 6px; color: var(--fg-60); }
@media (min-width: 48rem) {
  .news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 72px; }
  .ncard--wide { grid-column: 1 / -1; }
  .ncard--wide .live { aspect-ratio: 16 / 9; }   /* the lead concept: full width, a little shallower so it fits one screen */
}

/* ---------- a statement beside its paragraph (home: websites; about: standards) ---------- */
.dev__grid { display: grid; gap: 24px; align-items: start; }
.dev__p { max-width: 32rem; font-size: var(--t-lead); line-height: 1.6; color: var(--fg-70); text-wrap: pretty; }
.dev h2 + .dev__p { margin-top: 24px; }
.dev .more { margin-top: 28px; }
@media (min-width: 64rem) { .dev__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 64px; } .dev__grid > :last-child { padding-top: 10px; } }

/* the two quieter services under the websites statement */
.svcs__list { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: var(--sec-sm); }
.svcs__list a { display: grid; grid-template-rows: auto 1fr auto; gap: 10px; height: 100%; padding: 28px 0; border-top: 1px solid var(--line); }
.svcs__list p { max-width: 28rem; font-size: 16px; line-height: 1.6; color: var(--fg-70); text-wrap: pretty; }
.svcs__meta { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--fg-60); transition: color 0.25s var(--ease); }
.svcs__meta svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s var(--ease); }
@media (hover: hover) {
  .svcs__list a:hover .svcs__meta svg { transform: translateX(4px); }
  .svcs__list a:hover .svcs__meta { color: var(--paper); }
}
@media (min-width: 48rem) { .svcs__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; } .svcs__list a { padding: 32px 0 0; } }

/* a ruled list of a name and what it means (about: standards) */
.rules li { display: grid; gap: 4px; padding: 20px 0; border-top: 1px solid var(--line); font-size: 16px; line-height: 24px; }
.rules b { font-weight: 500; }
.rules span { color: var(--fg-60); }
@media (min-width: 40rem) { .rules li { grid-template-columns: 10rem minmax(0, 1fr); gap: 24px; } }

/* numbered steps (about): a ruled row, not boxes */
.steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px 40px; margin-top: clamp(32px, 4vw, 56px); }
.steps li { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; border-top: 1px solid var(--line); }
.steps span { font-size: 14px; color: var(--fg-50); }
.steps b { font-size: 17px; line-height: 24px; font-weight: 500; letter-spacing: -0.01em; }
.steps p { font-size: 15px; line-height: 23px; color: var(--fg-60); }
@media (min-width: 48rem) { .steps--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---------- starting prices (home): three ruled rows on the paper sheet ----------
   The sheet is brand paper rising over the ink page, so the page has one light beat before the footer. */
.start--paper { position: relative; overflow: hidden; margin-top: var(--sec); padding-block: clamp(72px, 9vw, 128px); border-radius: 28px 28px 0 0; background: var(--paper); color: var(--ink); }
.start--paper > .wrap { position: relative; z-index: 1; }
.start--paper ::selection { background: var(--ink); color: var(--paper); }
.start--paper :focus-visible { outline-color: var(--ink); }
.start--paper .news__note, .start--paper .start__note, .price__what p, .price .pcard__price { color: rgb(var(--ink-rgb) / 0.72); }
.prices { margin-top: clamp(32px, 4vw, 56px); }
.price { display: grid; gap: 14px 32px; padding-block: 28px; border-top: 1px solid rgb(var(--ink-rgb) / 0.14); }
.price:last-child { border-bottom: 1px solid rgb(var(--ink-rgb) / 0.14); }
.price h3 a { text-decoration: underline transparent 1px; text-underline-offset: 6px; transition: text-decoration-color 0.2s var(--ease); }
@media (hover: hover) { .price h3 a:hover { text-decoration-color: rgb(var(--ink-rgb) / 0.5); } }
.price__what p { max-width: 30rem; margin-top: 6px; font-size: 16px; line-height: 1.6; }
.price .pcard__price { margin: 0; font-size: 15px; line-height: 24px; }
.pcard__price b { font-size: clamp(32px, 2.6vw + 22px, 48px); line-height: 1; color: var(--ink); }
.pcard__price--words b { font-size: var(--t-title); }   /* "Custom quote": words, so one step quieter than a number */
.price .promo__tag { display: inline-block; margin-top: 12px; padding: 4px 12px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 12px; line-height: 18px; font-weight: 500; }
@media (min-width: 48rem) {
  .price { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding-block: 36px; }
  .price__num { text-align: right; }
}
.start__note { max-width: 40rem; margin-top: 28px; font-size: 14px; line-height: 22px; }
.start--paper .hero__actions { margin-top: 32px; }
.start--paper .btn--light { background: var(--ink); color: var(--paper); }
.start--paper .btn--dark { background: var(--alt-chip); color: var(--ink); }
@media (hover: hover) {
  .start--paper .btn--light:hover { background: var(--alt-solid-hover); }
  .start--paper .btn--dark:hover { background: var(--alt-chip-hover); }
}

/* Black Friday / Cyber Monday price. main.js adds .is-armed, then .is-in once the price is on screen, or .is-over
   after data-promo-end. With no JS the row shows the finished state. */
.px { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.reg { position: relative; transition: opacity 0.4s ease 0.8s; }
.pcard--promo:not(.is-over) .reg { opacity: 0.6; }   /* 4.9:1 on paper: the struck price stays readable */
.pcard--promo:not(.is-over) .reg::after { content: ""; position: absolute; left: -3px; right: -3px; top: 54%; height: 2px; border-radius: 2px; background: currentColor; transform-origin: left; transition: transform 0.45s var(--ease) 0.35s; }
.sale { display: inline-block; transition: opacity 0.35s ease 0.8s, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s; }
.pcard--promo.is-armed:not(.is-in) .reg { opacity: 1; }
.pcard--promo.is-armed:not(.is-in) .reg::after { transform: scaleX(0); }
.pcard--promo.is-armed:not(.is-in) .sale { opacity: 0; transform: translateY(0.45em) scale(0.92); }
.pcard--promo.is-over [data-promo] { display: none; }
@media (prefers-reduced-motion: reduce) { .reg, .reg::after, .sale { transition: none; } }

/* ---------- footer: the last invitation, the form, then the sign-off ---------- */
.ftr { margin-top: var(--sec); padding-block: var(--sec-sm) 32px; border-top: 1px solid var(--line); }
body:has(.start--paper) .ftr { margin-top: 0; padding-top: var(--sec); border-top: 0; }   /* the paper sheet already ends the page above */
.ftr__top { display: grid; gap: 56px; }
@media (min-width: 64rem) { .ftr__top { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 96px; align-items: start; } }
.ftr__contact { display: grid; gap: 20px; align-content: start; }
.ftr__lead { max-width: 30rem; font-size: var(--t-lead); line-height: 1.6; color: var(--fg-70); }
.ftr__mail { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 8px; }
.mail { font-size: var(--t-title); line-height: 1.15; overflow-wrap: anywhere; border-bottom: 1px solid var(--line); transition: border-color 0.25s var(--ease); }
@media (hover: hover) { .mail:hover { border-color: var(--paper); } }
.ftr__where { max-width: 560px; font-size: 14px; line-height: 22px; color: var(--fg-60); }
.usmap { display: none; max-width: 520px; margin: 12px 0 0; }   /* decoration: shown beside the form on wide screens, never between the invitation and the form on a phone */
@media (min-width: 64rem) { .usmap { display: block; } }
.usmap canvas { display: block; width: 100%; }
.ftr__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
.ftr__top + .ftr__cols { margin-top: var(--sec); }   /* 404 and thanks have no form above the links */
@media (min-width: 48rem) { .ftr__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ftr__cols h3 { margin-bottom: 14px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--fg-60); }
.ftr__cols a { display: block; padding-block: 4px; font-size: 14px; line-height: 22px; transition: color 0.25s var(--ease); overflow-wrap: anywhere; }
@media (hover: hover) { .ftr__cols a:hover { color: var(--fg-60); } }
.ftr__mark { width: min(100%, 520px); height: auto; margin-top: var(--sec-sm); }
.ftr__fine { margin-top: 32px; font-size: 13px; color: var(--fg-50); }
/* the footer mark is an image file with the dark theme paper colour baked in: darken it in the light theme (the animated copy follows the theme itself) */
:root[data-theme="light"] img.ftr__mark { filter: brightness(0.0653); }

/* ---------- inquiry form (footer): fields straight on the page, no box ---------- */
.form { display: grid; gap: 20px; }
.form__row { display: grid; gap: 20px; }
@media (min-width: 40rem) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 8px; font-size: 14px; font-weight: 500; line-height: 20px; color: var(--fg-70); }
.field i { font-style: normal; font-weight: 400; color: var(--fg-60); }
/* 16px text stops iOS zooming in; the 36% border keeps 3:1 against the page (WCAG 1.4.11) */
.field input, .field select, .field textarea { width: 100%; min-height: 48px; margin: 0; padding: 12px 14px; border: 1px solid rgb(var(--paper-rgb) / 0.36); border-radius: 12px; background: var(--bg); color: var(--paper); font: 400 16px/22px var(--f-sans); transition: border-color 0.25s var(--ease); }
.field textarea { min-height: 136px; resize: vertical; }
.field select { appearance: none; padding-right: 40px; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23888' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 14px; }
.field option { background: var(--card); color: var(--paper); }
.field ::placeholder { color: var(--fg-50); }
@media (hover: hover) { .field input:hover, .field select:hover, .field textarea:hover { border-color: rgb(var(--paper-rgb) / 0.6); } }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--paper); outline-offset: 2px; }
.form__ts:not(:empty) { min-height: 0; }   /* Turnstile: invisible unless it needs a tap, then its box appears above Send */
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__end { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 4px; }
.form__end .btn:disabled { opacity: 0.6; cursor: progress; }
.form__fine { font-size: 13px; line-height: 20px; color: var(--fg-60); }
.form__fine a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.form__status { font-size: 14px; line-height: 22px; color: var(--fg-70); }
.form__status.is-err { color: var(--err); }
.form__status a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
/* confirmation after sending */
.form__done { display: none; gap: 12px; justify-items: start; align-content: center; min-height: 240px; }
.form__done svg { width: 28px; height: 28px; fill: none; stroke: var(--ok); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.form__done h3 { font-size: var(--t-title); line-height: 1.15; }
.form__done p { max-width: 26rem; font-size: 16px; line-height: 26px; color: var(--fg-70); }
.form__done:focus { outline: none; }
.form.is-sent > :not(.form__done) { display: none; }
.form.is-sent .form__done { display: grid; animation: drop 0.5s var(--ease) both; }

/* ---------- services page ---------- */
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; line-height: 20px; color: var(--fg-70); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.status--soon::before { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
.svcnav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 36px; }
.svcnav a { padding: 8px 16px; border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 500; line-height: 20px; transition: background-color 0.25s var(--ease); }
@media (hover: hover) { .svcnav a:hover { background: var(--surface-2); } }
/* a group: its name, one line, whether it is available, and one illustration */
.svc-group .svc__p { font-size: var(--t-lead); line-height: 1.6; }
.svc-group .status { margin-top: 20px; }
/* a service: what it is on the left, what it covers on the right */
.svc__grid { display: grid; gap: 40px; }
.svc__lede { max-width: 30rem; margin-top: 14px; font-size: var(--t-lead); line-height: 1.5; text-wrap: pretty; }
.svc__p { max-width: 34rem; margin-top: 16px; font-size: 16px; line-height: 1.65; color: var(--fg-70); text-wrap: pretty; }
.svc__p b { font-weight: 500; color: var(--paper); }
.svc__note { max-width: 34rem; margin-top: 16px; font-size: 14px; line-height: 22px; color: var(--fg-60); text-wrap: pretty; }
.svc__note b { font-weight: 500; color: var(--fg-70); }
.svc__status { margin: 24px 0 16px; }
.svc__grid .btn { margin-top: 28px; }
.svc__list { align-self: start; }
.svc__list h3, .svc__list h4 { margin-bottom: 14px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--fg-60); }
.svc__list ul { display: grid; gap: 10px; }
.svc__list li { font-size: 16px; line-height: 24px; text-wrap: pretty; }
.svc__list li b { font-weight: 500; }
.svc__list ul + h4 { margin-top: 40px; }
.svc__price { font-size: 15px; line-height: 24px; color: var(--fg-60); }
.svc__price b { font-size: var(--t-title); line-height: 1.15; color: var(--paper); }
.svc__list .promo__tag { display: inline-block; margin-top: 10px; padding: 4px 12px; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 12px; line-height: 18px; font-weight: 500; }
.svc__list .promo__tag + ul, .svc__price + ul { margin-top: 20px; }
.svc__list .svc__note { margin-top: 20px; }
.svc__list .svc__note + h4 { margin-top: 40px; }
@media (min-width: 64rem) {
  .svc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 96px; }
  .svc__list { padding-top: 6px; }
}
/* an illustration drawn by js/flow.js, framed on one tonal step */
.flow__fig { margin: clamp(32px, 4vw, 48px) 0 0; border-radius: var(--r); background: var(--card); overflow: hidden; }
.flow__fig canvas { display: block; width: 100%; }
.flow__cap { max-width: 44rem; padding: 0 24px 20px; font-size: 13px; line-height: 20px; color: var(--fg-60); }
@media (min-width: 48rem) { .flow__cap { padding: 0 32px 24px; } }
.svc > .wrap + .wrap .flow__fig { margin-top: var(--sec-sm); }

/* ---------- long text pages (privacy, terms) and the FAQ: one centred column under the centred title ---------- */
.prose { max-width: 44rem; margin-inline: auto; }
.prose h2 { margin-top: 48px; font-size: 20px; line-height: 28px; font-weight: 500; letter-spacing: -0.01em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { margin-top: 12px; font-size: 16px; line-height: 1.65; color: var(--fg-70); }
.prose ul { display: grid; gap: 4px; }
.prose li { padding-left: 18px; position: relative; }
.prose li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--fg-50); }
.prose b { font-weight: 500; color: var(--paper); }
.prose a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.prose ol { counter-reset: n; display: grid; gap: 4px; }
.prose ol > li::before { counter-increment: n; content: counter(n) "."; width: auto; height: auto; top: 0; border-radius: 0; background: none; color: var(--fg-50); }

/* FAQ: native <details>, so it works without JavaScript */
.faq { max-width: 48rem; margin-inline: auto; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; cursor: pointer; list-style: none;
  font-size: 18px; line-height: 26px; font-weight: 500; letter-spacing: -0.01em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-right: 4px;
  background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  transition: transform 0.3s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:focus-visible { outline-offset: 4px; }
.faq__a { padding: 0 40px 28px 0; }
.faq__a p { font-size: 16px; line-height: 1.65; color: var(--fg-70); }
.faq__a b { font-weight: 500; color: var(--paper); }
.faq__a b .tlink { color: inherit; }
@media (hover: hover) { .faq__item summary:hover { color: var(--fg-70); } }

/* ---------- care plans (services page) ---------- */
.plans .svc__p { margin-top: 12px; }
.plans__faq { margin-top: var(--sec-sm); }
.plans__faq .faq { max-width: none; margin-top: 24px; }
.plans__note { max-width: 44rem; margin-top: 28px; font-size: 13px; line-height: 20px; color: var(--fg-60); }
.plans__quote { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: var(--sec-sm); padding-top: 28px; border-top: 1px solid var(--line); }
.plans__quote p { max-width: 38rem; font-size: 16px; line-height: 26px; color: var(--fg-70); }
.plans__quote b { font-weight: 500; color: var(--paper); }

/* Care billing options: the no-script fallback for the switch in the picker below */
.billing { margin-top: var(--sec-sm); }
.billing__lede { max-width: 40rem; margin-top: 12px; font-size: 15px; line-height: 24px; color: var(--fg-70); }
.billing__wrap { margin-top: 20px; overflow-x: auto; }
.billing table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; }
.billing th, .billing td { padding: 14px 16px 14px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.billing thead th { font-size: 13px; font-weight: 500; color: var(--fg-60); }
.billing tbody th { font-weight: 500; color: var(--paper); }
.billing td small { display: block; font-size: 13px; color: var(--fg-60); }
.billing__rules { display: grid; gap: 8px; max-width: 40rem; margin: 20px 0 0; padding-left: 20px; list-style: disc; font-size: 14px; line-height: 22px; color: var(--fg-70); }

/* Reduce Motion: no sequences, no word cascade, no shimmer, no transitions. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; transition-delay: 0s !important; }
  .js .hero__title .w, .js .hero__title .rot { opacity: 1; transform: none; }
}
/* pages cross-fade into each other, with the header held still */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .hdr { view-transition-name: site-header; }
}

/* ---------- care plan picker (services page) ----------
   Three plans as a radio group. Without script, keyboard still works with the arrow keys, and where :has() is
   missing all three panels show one under the other. With script (js/plan.js) the picker goes live: one panel
   is built from the three and moves on springs, as in the "Plan switch" study. The highlight stretches
   (leading edge stiff, trailing edge soft), the price rolls on digit drums, rows grow in and out, the time
   meter fills or drains, and a small pill says how much time you gained or gave up. */
.picker { display: grid; gap: 16px; margin-top: 32px; }
.picker__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.ptab { position: relative; display: grid; gap: 4px; align-content: center; padding: 14px 12px; border-radius: 16px; background: var(--card); cursor: pointer; transition: background-color 0.25s var(--ease), color 0.25s var(--ease); }
.ptab input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.ptab:has(input:focus-visible) { outline: 2px solid var(--paper); outline-offset: 3px; }
.ptab:has(input:checked) { background: var(--paper); color: var(--ink); }
.ptab__n { font-family: var(--f-serif); font-weight: 300; font-size: 17px; line-height: 1.15; letter-spacing: -0.02em; }
.ptab__p { font-family: var(--f-serif); font-weight: 300; font-size: 24px; line-height: 1.1; letter-spacing: -0.02em; }
.ptab__p i { margin-left: 2px; font: 400 12px/1 var(--f-sans); letter-spacing: 0; opacity: 0.6; }
.ptab__tag { display: block; margin-top: 4px; font: 500 11px/16px var(--f-sans); letter-spacing: 0; opacity: 0.6; }
@media (hover: hover) { .ptab:not(:has(input:checked)):hover { background: var(--surface); } }
.picker__stage { padding: 24px; border-radius: 16px; background: var(--card); }
.ppanel { display: grid; gap: 0; align-content: start; }
.ppanel + .ppanel { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.ppanel__t { margin: 0; font-family: var(--f-serif); font-weight: 300; font-size: 24px; line-height: 32px; letter-spacing: -0.02em; }
.ppanel__for { margin-top: 4px; max-width: 32rem; font-size: 15px; line-height: 22px; color: var(--fg-70); }
.ppanel__price { margin-top: 20px; font-size: 14px; line-height: 20px; color: var(--fg-60); }
.ppanel__price b { font-family: var(--f-serif); font-weight: 300; font-size: 48px; line-height: 1; letter-spacing: -0.02em; color: var(--paper); }
.meter { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; margin-top: 24px; }
.meter i { position: relative; height: 10px; overflow: hidden; border-radius: 999px; background: rgb(var(--paper-rgb) / 0.12); }
.meter i::after { content: ""; position: absolute; inset: 0; background: var(--paper); transform: scaleX(var(--f, 0)); transform-origin: left; }
.meter i.on { --f: 1; }
.meter__t { margin-top: 10px; font-size: 14px; line-height: 20px; color: var(--fg-70); }
.meter__t b { font-weight: 500; color: var(--paper); }
.meter__k { margin-top: 24px; font-size: 12px; line-height: 16px; color: var(--fg-50); }
.ppanel ul { display: grid; gap: 12px; margin: 24px 0 28px; }
.ppanel li { display: flex; gap: 10px; font-size: 15px; line-height: 22px; color: var(--fg-70); }
.ppanel li svg { flex: none; width: 14px; height: 14px; margin-top: 4px; fill: none; stroke: var(--paper); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ppanel li.is-new { color: var(--paper); }
.ppanel .btn { justify-self: start; }
@supports selector(:has(*)) {
  .ppanel { display: none; }
  .ppanel + .ppanel { margin-top: 0; padding-top: 0; border-top: 0; }
  .picker:has(input[value="essential"]:checked) [data-plan="essential"],
  .picker:has(input[value="plus"]:checked) [data-plan="plus"],
  .picker:has(input[value="growth"]:checked) [data-plan="growth"] { display: grid; animation: panel-in 0.45s var(--ease) both; }
}
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } }

/* live mode: js/plan.js adds .picker--live and builds .plive from the panels above */
.plive { display: none; }
.picker--live .plive { display: grid; align-content: start; }
.picker--live .ppanel { display: none !important; }
.picker--live .picker__tabs { position: relative; isolation: isolate; }
.picker--live .ptab, .picker--live .ptab:has(input:checked) { background: none; }
.picker--live .ptab:has(input:checked) { color: var(--ink); }
.picker--live .ptab::before { content: ""; position: absolute; inset: 0; z-index: -2; border-radius: 16px; background: var(--card); transition: background-color 0.25s var(--ease); }
@media (hover: hover) {
  .picker--live .ptab:not(:has(input:checked)):hover { background: none; }
  .picker--live .ptab:not(:has(input:checked)):hover::before { background: var(--surface); }
}
.hl { position: absolute; left: 0; top: 0; z-index: -1; width: 0; height: 0; border-radius: 16px; background: var(--paper); pointer-events: none; }

.sw { position: relative; overflow: hidden; }
.sw > .si.is-old { position: absolute; left: 0; top: 0; width: 100%; }
.live__name { height: 32px; margin: 0; font-family: var(--f-serif); font-weight: 300; font-size: 24px; line-height: 32px; letter-spacing: -0.02em; }
.live__name > .si { white-space: nowrap; }
.live__for { min-height: 44px; max-width: 32rem; margin-top: 4px; font-size: 15px; line-height: 22px; color: var(--fg-70); }
.live__price { display: flex; align-items: flex-end; margin-top: 20px; font-family: var(--f-serif); font-weight: 300; font-size: 48px; line-height: 48px; letter-spacing: -0.02em; color: var(--paper); font-variant-numeric: lining-nums tabular-nums; }
.live__price .num { display: inline-flex; height: 48px; }
.live__price .per { margin: 0 0 6px 8px; font: 400 14px/20px var(--f-sans); letter-spacing: 0; color: var(--fg-60); }
.rc { display: inline-block; flex: none; width: 0.56em; height: 48px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%); }
.rs { display: block; }
.rs i { display: block; height: 48px; font-style: normal; text-align: center; }
.live__mt { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.live__mt .sw { flex: 1; min-width: 0; height: 20px; font-size: 14px; line-height: 20px; color: var(--fg-70); }
.live__mt .si { white-space: nowrap; }
.live__mt b { font-weight: 500; color: var(--paper); }
.pill { flex: none; padding: 0 9px; border-radius: 999px; font: 500 12px/18px var(--f-sans); white-space: nowrap; opacity: 0; transform: scale(0); transform-origin: 100% 50%; }
.pill--up { background: var(--paper); color: var(--ink); }
.pill--down { padding: 0 8px; border: 1px solid rgb(var(--paper-rgb) / 0.36); color: var(--fg-70); }
.live__list { display: block; margin: 24px 0 16px; padding: 0; list-style: none; }
.live__list li { overflow: hidden; padding-bottom: 12px; color: var(--fg-70); transition: color 0.25s var(--ease); }
.live__list li.is-new { color: var(--paper); }
.live__list .si { display: flex; gap: 10px; font-size: 15px; line-height: 22px; }
.live__list svg { flex: none; width: 14px; height: 14px; margin-top: 4px; fill: none; stroke: var(--paper); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.live__btn { position: relative; justify-self: start; padding: 0; overflow: hidden; }
.cta-sw { position: absolute; inset: 0; }
.cta-sw > .si, .cta-sw > .si.is-old { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; white-space: nowrap; }
.cta-m { position: absolute; visibility: hidden; white-space: nowrap; pointer-events: none; }

@media (min-width: 48rem) {
  .picker__tabs { gap: 12px; }
  .ptab { padding: 18px 20px; }
  .ptab__n { font-size: 20px; }
  .ptab__p { font-size: 30px; }
  .picker__stage { padding: 40px; }
}
@media (min-width: 64rem) {
  .picker { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px; align-items: start; }
  .picker__tabs { grid-template-columns: minmax(0, 1fr); }
  .ptab { grid-template-columns: 1fr auto; align-items: baseline; padding: 24px 28px; }
  .picker__stage { padding: 48px; }
  .ppanel { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- ambient effects (js/fx.js, js/fx-home.js, js/flow.js) ----------
   All of them are drawn on canvases that ignore the pointer, sit behind the content and are very quiet. */
.grain { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.ptext { position: absolute; pointer-events: none; }
.rot.is-particles { color: transparent; }
.bhole { position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
.stipple { position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 0, #000 35%, transparent 100%); mask-image: linear-gradient(180deg, #000 0, #000 35%, transparent 100%); }

/* ---------- blur highlight (js/blur.js, FAQ answers) ----------
   Key phrases are <mark class="key"> in the page. They show lit by default; the script lets the words come
   into focus first and then sweeps the highlight over them. */
.faq__a mark.key { color: var(--paper); background: rgb(var(--paper-rgb) / 0.15); padding: 0 0.14em; margin: 0 -0.14em; border-radius: 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.faq__a.is-split mark.key { background: linear-gradient(rgb(var(--paper-rgb) / 0.15), rgb(var(--paper-rgb) / 0.15)) no-repeat 0 50% / 0% 100%; transition: background-size 0.7s var(--ease) var(--d, 0.4s); }
.faq__a.is-split.is-in mark.key { background-size: 100% 100%; }
.faq__a.is-split .bw { display: inline-block; transition: opacity 0.5s var(--ease), filter 0.5s var(--ease); transition-delay: min(calc(var(--i) * 16ms), 700ms); }
.faq__a.is-split:not(.is-in) .bw { opacity: 0; filter: blur(6px); }

/* Billing switch inside the care plan picker (js/plan.js builds it). The old "Pay your way" table stays as the no-script fallback. */
.picker--live ~ .billing { display: none; }
.bill { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 28px; padding: 4px; border: 0; border-radius: 16px; background: rgb(var(--paper-rgb) / 0.07); }
.bopt { position: relative; display: grid; justify-items: center; gap: 1px; padding: 8px 4px; border-radius: 12px; text-align: center; cursor: pointer; color: var(--fg-70); transition: color 0.25s var(--ease); }
.bopt input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.bopt b { font: 500 14px/20px var(--f-sans); }
.bopt small { font: 400 11px/16px var(--f-sans); opacity: 0.65; }
.bopt:has(input:checked) { color: var(--ink); }
.bopt:has(input:focus-visible) { outline: 2px solid var(--paper); outline-offset: 2px; }
@media (hover: hover) { .bopt:not(:has(input:checked)):hover { color: var(--paper); } }
.bhl { position: absolute; left: 0; top: 4px; bottom: 4px; z-index: -1; width: 0; border-radius: 12px; background: var(--paper); pointer-events: none; }
.live__price { flex-wrap: wrap; row-gap: 8px; }
.live__price .per { transition: opacity 0.14s ease; }
.live__price .cm { flex: none; display: inline-block; width: 0; overflow: hidden; opacity: 0; }
.live__price .spill { margin: 0 0 10px 14px; }   /* sits right after the price, left of the half-tone art, so the spheres never run under it */
.live__bn { min-height: 88px; max-width: 32rem; margin-top: 12px; font-size: 14px; line-height: 22px; color: var(--fg-70); }
@media (min-width: 48rem) { .live__bn { min-height: 66px; } }
.ptab__p { transition: opacity 0.14s ease; }


/* Care tier art (js/spheres.js): half-tone pixel spheres beside the plan name. Decorative, drawn by the script. */
.picker__stage { position: relative; }
.orbs { position: absolute; top: 108px; right: 28px; width: 216px; height: 216px; opacity: 0; image-rendering: pixelated; pointer-events: none; transition: opacity 0.9s var(--ease); }
.orbs.is-on { opacity: 0.92; }
.picker__stage.has-orbs .live__for { max-width: 24rem; }

/* ---------- language and theme switch (header, and the mobile menu) ---------- */
.tools { display: flex; align-items: center; gap: 8px; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface); }
.seg a, .seg span { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 30px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 500; letter-spacing: 0.04em; color: var(--fg-70); transition: background-color 0.25s var(--ease), color 0.25s var(--ease); }
.seg [aria-current="true"] { background: var(--paper); color: var(--ink); }
@media (hover: hover) { .seg a:hover { color: var(--paper); } }
.tbtn { display: grid; place-items: center; width: 36px; height: 36px; flex: none; padding: 0; border: 0; border-radius: 50%; background: var(--surface); color: var(--paper); transition: background-color 0.25s var(--ease); }
@media (hover: hover) { .tbtn:hover { background: var(--surface-2); } }
.tbtn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tbtn .moon, :root[data-theme="light"] .tbtn .sun { display: none; }
:root[data-theme="light"] .tbtn .moon { display: block; }
.hdr__cta .tools { display: none; }
@media (min-width: 64rem) { .hdr__cta .tools { display: flex; } }
.menu .tools { margin-top: 28px; }
.menu .seg a, .menu .seg span { height: 36px; min-width: 44px; font-size: 13px; }
.menu .tbtn { width: 44px; height: 44px; }
html.theme-fade, html.theme-fade *, html.theme-fade *::before, html.theme-fade *::after { transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, fill 0.3s ease, stroke 0.3s ease !important; }
