/* =====================================================================
   CARELO SITE v2 — "Lamp light"
   One shared stylesheet for the marketing site (24 Nov 2026).
   Owner: the Foundation agent. Page builders do not edit this file;
   page-only rules go in v2/pages/<page>.css.

   Contents
     01  Tokens
     02  Base, type, links, focus
     03  Layout: wrap, section shell, columns
     04  Section header, eyebrow, lead, lists, chip line
     05  Buttons and links
     06  Header, phone menu, scroll progress
     07  Heroes: photo, split, compact
     08  Device scenes (laptop, phone) and slideshow
     09  Screen frame
     10  Glass card
     11  Split
     12  Screen wall
     13  Photo card row
     14  Bento grid
     15  Feature grid
     16  Number row
     17  Story strip
     18  Tabs console
     19  Index bar (sticky in-page index)
     20  Phone frame and app swipe row
     21  Swipe rows (shared) and arrows
     22  Comparison table
     23  Elsewhere / With Carelo pair
     24  Timeline
     25  Price cards (pricing.html hooks), add-on rows
     26  Steps
     27  Questions (details/summary and div.p-q)
     28  Forms (demo.html hooks)
     29  Marquee
     30  Statement band
     31  Closing band
     32  Footer and phone "Book a demo" dock
     33  Lightbox
     34  Reading layout: articles and legal pages (paper)
     35  Legacy class aliases kept for article bodies
     36  Utilities
     37  Motion: reveal, draw, pointer light, reduced motion
     38  Laptop-short and large-screen steps

   Screen sizes (BUILD-BRIEF section 4)
     phone   <= 760px        its own layout, cards in two columns
     tablet  761 - 1079px    burger menu, mostly two columns
     laptop  1080 - 1599px   (and short: max-height 820px) one step smaller
     large   >= 1600px       type one step up, 1360px content column
   ===================================================================== */


/* =====================================================================
   01  TOKENS
   ===================================================================== */
:root {
  /* night */
  --night: #050c1c;
  --night-2: #071127;
  --night-3: #0c1830;
  --night-4: #12213f;
  --line: rgba(160, 185, 255, .14);
  --line-2: rgba(160, 185, 255, .26);
  /* text on night */
  --white: #f6f8ff;
  --body: #a9b6d3;
  --faint: #7e8cb0;
  /* warm accents */
  --ivory: #f4ead8;
  --gold: #e3b877;
  --gold-soft: rgba(227, 184, 119, .5);
  --gold-ink: #85601f;
  /* brand */
  --blue: #2f6bff;
  --blue-2: #1d4ed8;
  --blue-soft: #8fb2ff;
  /* paper */
  --paper: #f6f1e6;
  --paper-2: #efe8d9;
  --ink: #101a33;
  --ink-2: #3a4463;
  --ink-3: #5a6382;

  /* semantic: what components read. .paper redefines these. */
  --bg: var(--night);
  --fg: var(--white);
  --fg-2: var(--body);
  --fg-3: var(--faint);
  --rule: var(--line);
  --rule-2: var(--line-2);
  --accent: var(--gold);
  --em: var(--ivory);
  --link: var(--blue-soft);
  --surface: rgba(255, 255, 255, .022);
  --surface-2: var(--night-3);

  /* type */
  --sans: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;

  /* shape and space */
  --r: 10px;
  --r-sm: 8px;
  --r-lg: 12px;
  --wrap: 1360px;
  --gut: clamp(16px, 4vw, 56px);
  --gap: clamp(12px, 1.5vw, 22px);
  --sec: clamp(64px, 7.6vw, 128px);
  --hdr: 72px;

  /* motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --slow: 800ms;

  /* icon masks (tick, arrow) used by ticks, links, tables */
  --m1: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8.6l3.4 3.3 7.6-8' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --m2: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h11M9 4l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --m3: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h11M9 4l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --m4: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8.6l3.4 3.3 7.6-8' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

  color-scheme: dark;
}

.paper,
.on-paper {
  --bg: var(--paper);
  --fg: var(--ink);
  --fg-2: var(--ink-2);
  --fg-3: var(--ink-3);
  --rule: rgba(16, 26, 51, .13);
  --rule-2: rgba(16, 26, 51, .26);
  --accent: var(--gold-ink);
  --em: #6e4a17;
  --link: var(--blue-2);
  --surface: #fbf8f1;
  --surface-2: #fffdf8;
  color-scheme: light;
}


/* =====================================================================
   02  BASE, TYPE, LINKS, FOCUS
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--hdr) + 16px);
  background: var(--night);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@view-transition { navigation: auto; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--night);
  color: var(--body);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
img, svg, video, picture { display: block; max-width: 100%; }
img { height: auto; }
picture img { width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }
::selection { background: rgba(227, 184, 119, .32); color: var(--white); }

/* headings: light, tight, large */
h1, h2, h3, h4, .h1, .h2, .h3, .h4 { color: var(--fg); text-wrap: balance; }
h1, .h1 {
  font-size: clamp(2.25rem, 1.1rem + 3.3vw, 4.4rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -.036em;
}
h2, .h2 {
  font-size: clamp(1.85rem, 1.05rem + 2.25vw, 3.25rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.032em;
}
h3, .h3 {
  font-size: clamp(1.08rem, .98rem + .3vw, 1.3rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -.012em;
}
h4, .h4 { font-size: 1rem; font-weight: 500; line-height: 1.4; letter-spacing: -.005em; }
p { text-wrap: pretty; }
strong, b { font-weight: 600; color: var(--fg); }

/* the serif accent: one or two words inside a heading, never a whole heading */
h1 em, h2 em, h3 em, .h1 em, .h2 em, .h3 em, .statement em, .serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.09em;
  line-height: .9;
  letter-spacing: -.008em;
  color: var(--em);
}

/* the wordmark: "Care" + "lo" in Cormorant Garamond 700 */
.wordmark, .brand b {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--white);
}
.wordmark span, .brand b span { color: var(--blue-soft); }

a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--fg); }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--blue-soft);
  outline-offset: 3px;
  border-radius: 4px;
}
.paper :focus-visible { outline-color: var(--blue-2); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 14px; border-radius: var(--r-sm);
  background: var(--white); color: var(--night); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }


/* =====================================================================
   03  LAYOUT: WRAP, SECTION SHELL, COLUMNS
   ===================================================================== */
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gut));
  margin-inline: auto;
  padding-inline: var(--gut);
}
.wrap.narrow { --wrap: 1040px; }
.wrap.slim { --wrap: 820px; }
.wrap.wide { --wrap: 1520px; }

/* Section shell. Default night; .alt = night-2; .paper = ivory paper. */
.sec {
  position: relative;
  padding-block: var(--sec);
  background: var(--bg);
  color: var(--fg-2);
}
.sec.alt { --bg: var(--night-2); }
.sec.deep { --bg: #030817; }
.sec.paper { background: var(--paper); }
.sec.tight { padding-block: calc(var(--sec) * .62); }
.sec.roomy { padding-block: calc(var(--sec) * 1.3); }
.sec.flush { padding-block: 0; }
.sec.no-top { padding-top: 0; }
.sec.no-bottom { padding-bottom: 0; }
.sec.rule { border-top: 1px solid var(--rule); }
/* a soft lamp glow behind a section (optional) */
.sec.lamp::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 520px at 82% 0%, rgba(227, 184, 119, .07), transparent 62%),
    radial-gradient(900px 600px at 8% 100%, rgba(47, 107, 255, .08), transparent 62%);
}
.sec.lamp > * { position: relative; }

/* edge-to-edge band: a child that ignores the wrap */
.bleed { width: 100%; }
.bleed > picture img, .bleed > img { width: 100%; height: 100%; object-fit: cover; }

/* centred column */
.center { text-align: center; margin-inline: auto; }
.col { max-width: 760px; }
.col.center { margin-inline: auto; }

/* simple grids for builders */
.grid { display: grid; gap: var(--gap); grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); }
.grid.c3 { --cols: 3; }
.grid.c4 { --cols: 4; }
@media (max-width: 1079px) { .grid.c3, .grid.c4 { --cols: 2; } }
@media (max-width: 760px) { .grid { --cols: 2; } }

.stack > * + * { margin-top: var(--stack, 16px); }

/* vertical rhythm between parts of a section */
.mt-s { margin-top: 16px; } .mt-m { margin-top: clamp(24px, 3vw, 40px); } .mt-l { margin-top: clamp(40px, 5vw, 72px); }


/* =====================================================================
   04  SECTION HEADER, EYEBROW, LEAD, LISTS, CHIP LINE
   ===================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .7rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: ""; flex: none; width: 28px; height: 1px;
  background: currentColor; opacity: .75;
}
.center .eyebrow::after, .eyebrow.both::after {
  content: ""; flex: none; width: 28px; height: 1px;
  background: currentColor; opacity: .75;
}

/* section header: eyebrow, h2, intro of two lines at most */
.sh { max-width: 780px; margin-bottom: clamp(32px, 4vw, 60px); }
.sh > * + * { margin-top: 18px; }
.sh .eyebrow + h2, .sh .eyebrow + .h2 { margin-top: 20px; }
.sh.center { margin-inline: auto; text-align: center; }
.sh .intro, .intro {
  font-size: clamp(1rem, .96rem + .2vw, 1.12rem);
  line-height: 1.7;
  color: var(--fg-2);
  max-width: 62ch;
}
.sh.center .intro { margin-inline: auto; }
/* editorial header: heading left, intro right, aligned on the baseline */
.sh.split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  column-gap: clamp(32px, 6vw, 120px);
  align-items: end;
}
.sh.split > .eyebrow { grid-column: 1 / -1; }
.sh.split { row-gap: 0; } /* polish: .sh.split also matched the .split pattern and took its 5vw row gap under the eyebrow */
.sh.split > h2 { grid-column: 1; align-self: start; } /* polish: a taller intro no longer pushes the heading down */
.sh.split > .intro { grid-column: 2; margin-top: 0; padding-bottom: .4em; }
@media (max-width: 1079px) {
  .sh.split { display: block; }
  .sh.split > .intro { margin-top: 18px; }
}

.lead {
  font-size: clamp(1.02rem, .95rem + .3vw, 1.2rem);
  line-height: 1.65;
  color: var(--fg-2);
  max-width: 58ch;
}
.small { font-size: .84rem; }
.fine { font-size: .76rem; color: var(--fg-3); line-height: 1.6; }
.muted { color: var(--fg-3); }

/* ticked list: gold ticks, no bullets */
.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li {
  position: relative;
  padding-left: 30px;
  font-size: .95rem;
  line-height: 1.6;
  color: var(--fg-2);
}
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .28em;
  width: 16px; height: 16px;
  background: var(--accent);
  -webkit-mask: var(--m1) center / contain no-repeat;
          mask: var(--m1) center / contain no-repeat;
}
.ticks li b, .ticks li strong { color: var(--fg); font-weight: 500; }
.ticks.two { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
@media (max-width: 760px) { .ticks.two { column-gap: 14px; } .ticks.two li { font-size: .84rem; padding-left: 24px; } }

/* chip line: a fine line of short facts separated by gold dots. No pills. */
.chipline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 6px;
  font-size: .8rem;
  line-height: 1.5;
  letter-spacing: .02em;
  color: var(--fg-3);
}
.chipline > * + *::before {
  content: "";
  display: inline-block;
  width: 3px; height: 3px;
  margin: 0 12px 2px;
  border-radius: 50%;
  vertical-align: middle;
  background: var(--accent);
}
.center .chipline, .chipline.center { justify-content: center; }


/* =====================================================================
   05  BUTTONS AND LINKS
   ===================================================================== */
.btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.center .btns, .btns.center { justify-content: center; }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--r);
  background: none;
  font-family: var(--sans);
  font-size: .92rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: .005em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.btn.primary {
  color: #fff;
  background: linear-gradient(180deg, #2f6bff 0%, #1f50de 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 12px 30px -14px rgba(47, 107, 255, .85);
}
.btn.primary:hover { color: #fff; background: linear-gradient(180deg, #3a76ff 0%, #2559ea 100%); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 18px 36px -14px rgba(47, 107, 255, .95); }
.btn.quiet { color: var(--fg); border-color: var(--rule-2); background: rgba(255, 255, 255, .02); }
.btn.quiet:hover { border-color: rgba(200, 215, 255, .5); background: rgba(255, 255, 255, .05); color: var(--fg); }
.paper .btn.quiet { background: transparent; }
.paper .btn.quiet:hover { border-color: rgba(16, 26, 51, .5); background: rgba(16, 26, 51, .03); }
/* Migrate: gold hairline instead of the old orange. Never a filled gold button. */
.btn.gold { color: var(--gold); border-color: rgba(227, 184, 119, .5); background: rgba(227, 184, 119, .03); }
.btn.gold:hover { color: #f1cf98; border-color: var(--gold); background: rgba(227, 184, 119, .08); }
.paper .btn.gold { color: var(--gold-ink); border-color: rgba(133, 96, 31, .45); }
.btn.lg { min-height: 54px; padding: 0 28px; font-size: 1rem; }
.btn.sm { min-height: 38px; padding: 0 16px; font-size: .84rem; }
.btn.block { display: flex; width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

/* text link with an arrow */
.more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--link);
  font-size: .92rem;
  font-weight: 500;
  text-decoration: none;
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.more::after {
  content: ""; width: 14px; height: 14px; flex: none; background: currentColor;
  -webkit-mask: var(--m2) center / contain no-repeat;
          mask: var(--m2) center / contain no-repeat;
}
.more:hover { gap: 12px; color: var(--fg); }

@media (max-width: 760px) {
  .btn { min-height: 48px; padding: 0 18px; font-size: .9rem; }
  .btn.lg { min-height: 52px; padding: 0 20px; font-size: .94rem; }
  .btn.sm { min-height: 40px; padding: 0 14px; font-size: .82rem; }
  .btns.fill { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .btns.fill .btn { padding-inline: 10px; white-space: normal; }
}


/* =====================================================================
   06  HEADER, PHONE MENU, SCROLL PROGRESS
   Markup is stamped by scripts/site-chrome.mjs. Never hand-edit it.
   Transparent over a hero that directly follows the header; solid
   navy with a hairline once the page scrolls.
   ===================================================================== */
.hdr {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--hdr);
  background: rgba(5, 12, 28, .86);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
          backdrop-filter: blur(16px) saturate(140%);
  transition: background-color .5s var(--ease), border-color .5s var(--ease);
}
.hdr:has(+ .hero):not(.scrolled),
.hdr.on-hero:not(.scrolled) {
  background: transparent;
  border-bottom-color: transparent;
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
}
html.menu-open .hdr { background: var(--night) !important; border-bottom-color: var(--line) !important; }
.hdr-in {
  height: 100%;
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 28px);
  max-width: calc(1520px + 2 * var(--gut));
  margin-inline: auto;
  padding-inline: var(--gut);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  text-decoration: none;
}
.brand img { width: 30px; height: 30px; }
.brand b { font-size: 1.72rem; line-height: 1; }
.menu {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 0;
}
.menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px clamp(7px, .75vw, 13px);
  border-radius: var(--r-sm);
  color: rgba(246, 248, 255, .76);
  font-size: .86rem;
  font-weight: 400;
  letter-spacing: .005em;
  text-decoration: none;
  white-space: nowrap;
  transition: color .3s var(--ease);
}
.menu a:hover { color: var(--white); }
.menu a .mark { color: var(--gold); font-style: normal; font-size: .8em; }
.menu a svg { width: 13px; height: 13px; stroke: var(--gold); fill: none; stroke-width: 1.8; }
.menu a.on, .menu a[aria-current="page"] { color: var(--white); }
.menu a.on::after, .menu a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 3px;
  width: 18px; height: 1px; margin-left: -9px; background: var(--gold);
}
.hdr-act { display: flex; align-items: center; gap: 10px; flex: none; }
.hdr-act .btn[aria-current="page"] { box-shadow: 0 0 0 1px rgba(227, 184, 119, .6), 0 12px 30px -14px rgba(47, 107, 255, .85); }
.hdr-progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, rgba(227, 184, 119, 0), var(--gold) 70%, #f3d39f);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}
@supports (animation-timeline: scroll()) {
  .hdr-progress { animation: hdr-progress linear both; animation-timeline: scroll(root block); }
  @keyframes hdr-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* burger */
.menu-btn {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  margin-right: -8px;
  border: 0; border-radius: var(--r-sm);
  background: none;
}
.menu-btn span {
  position: absolute; left: 12px; right: 12px; height: 1.5px;
  background: var(--white); border-radius: 1px;
  transition: transform .45s var(--ease), top .45s var(--ease);
}
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* full-screen phone menu */
.mnav {
  position: fixed;
  inset: 0;
  z-index: 59;
  display: flex;
  flex-direction: column;
  padding: calc(var(--hdr) + 12px) var(--gut) max(24px, env(safe-area-inset-bottom));
  overflow-y: auto;
  background:
    radial-gradient(600px 400px at 100% 0%, rgba(47, 107, 255, .14), transparent 60%),
    radial-gradient(500px 420px at 0% 100%, rgba(227, 184, 119, .08), transparent 60%),
    var(--night);
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s var(--ease), visibility 0s linear .45s;
}
.mnav.open { opacity: 1; visibility: visible; transition: opacity .45s var(--ease), visibility 0s; }
.mnav-links { display: flex; flex-direction: column; }
.mnav-links a {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 56px;
  border-bottom: 1px solid var(--line);
  color: var(--white);
  font-size: 1.55rem;
  font-weight: 300;
  letter-spacing: -.02em;
  text-decoration: none;
  transform: translateY(10px);
  opacity: 0;
  transition: transform .6s var(--ease), opacity .6s var(--ease), color .3s;
}
.mnav.open .mnav-links a { transform: none; opacity: 1; }
.mnav.open .mnav-links a:nth-child(2) { transition-delay: 30ms; }
.mnav.open .mnav-links a:nth-child(3) { transition-delay: 60ms; }
.mnav.open .mnav-links a:nth-child(4) { transition-delay: 90ms; }
.mnav.open .mnav-links a:nth-child(5) { transition-delay: 120ms; }
.mnav.open .mnav-links a:nth-child(6) { transition-delay: 150ms; }
.mnav.open .mnav-links a:nth-child(7) { transition-delay: 180ms; }
.mnav.open .mnav-links a:nth-child(8) { transition-delay: 210ms; }
.mnav-links a .mark { color: var(--gold); font-size: .7em; margin-right: 8px; }
.mnav-links a[aria-current="page"] { color: var(--gold); }
.mnav-links a::after {
  content: ""; width: 16px; height: 16px; flex: none; background: var(--faint);
  -webkit-mask: var(--m3) center / contain no-repeat;
          mask: var(--m3) center / contain no-repeat;
}
.mnav-act { margin-top: auto; padding-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mnav-act .btn { white-space: normal; padding-inline: 10px; }
.mnav-mail { margin-top: 16px; font-size: .78rem; color: var(--faint); text-align: center; }
.mnav-mail a { color: var(--body); text-decoration: none; }
html.menu-open { overflow: hidden; }

/* laptop: menu fits one line at 1280 (also with the Migrate button) */
@media (max-width: 1440px) {
  .menu a { font-size: .84rem; padding-inline: clamp(6px, .62vw, 10px); }
  .hdr-act .btn.sm { padding-inline: 14px; }
}
@media (max-width: 1240px) { .hdr-act .btn.gold { display: none; } }
@media (max-width: 1320px) {
  .hdr-in { gap: 10px; }
  .brand b { font-size: 1.6rem; }
  .menu a { font-size: .8rem; padding-inline: 6px; }
  .hdr-act .btn.sm { font-size: .8rem; padding-inline: 12px; }
}
@media (max-width: 1079px) {
  .menu { display: none; }
  .menu-btn { display: block; }
  .hdr-in { justify-content: space-between; }
}
@media (min-width: 1080px) { .mnav { display: none; } }
@media (max-width: 760px) {
  :root { --hdr: 60px; }
  .brand img { width: 26px; height: 26px; }
  .brand b { font-size: 1.5rem; }
  .hdr-act { gap: 4px; }
  .hdr-act .btn.gold { display: none; }
  .hdr-act .btn.sm { min-height: 36px; padding-inline: 12px; font-size: .8rem; }
}


/* =====================================================================
   07  HEROES
   .hero.photo    full-width photograph, scrim, headline on the dark side
   .hero.scene    copy one side, device scene the other
   .hero.compact  inner and article pages
   A hero placed directly after the header slides up beneath it.
   ===================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--night);
  color: var(--body);
}
.hdr + .hero { margin-top: calc(-1 * var(--hdr)); }
.hero-in { position: relative; z-index: 1; }
.hero h1 { color: var(--white); }
.hero .eyebrow { color: var(--gold); }
.hero .lead { color: #c2cce3; margin-top: 22px; }
.hero .btns { margin-top: 32px; }
.hero .proof { margin-top: 26px; color: #96a3c4; }
.hero-copy > .eyebrow + h1 { margin-top: 22px; }

/* --- photo hero --------------------------------------------------- */
.hero.photo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(620px, 100svh, 980px);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focal, 70% 45%);
}
/* scrim: dark on the text side, a fade at the foot, a veil under the header */
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 12, 28, .62) 0, rgba(5, 12, 28, 0) 160px),
    linear-gradient(0deg, var(--night) 0, rgba(5, 12, 28, 0) 26%),
    linear-gradient(90deg, rgba(5, 12, 28, .94) 0%, rgba(5, 12, 28, .82) 26%, rgba(5, 12, 28, .38) 48%, rgba(5, 12, 28, .04) 68%, rgba(5, 12, 28, 0) 100%);
}
.hero.photo.right .hero-bg::after {
  background:
    linear-gradient(180deg, rgba(5, 12, 28, .62) 0, rgba(5, 12, 28, 0) 160px),
    linear-gradient(0deg, var(--night) 0, rgba(5, 12, 28, 0) 26%),
    linear-gradient(270deg, rgba(5, 12, 28, .94) 0%, rgba(5, 12, 28, .82) 26%, rgba(5, 12, 28, .38) 48%, rgba(5, 12, 28, .04) 68%, rgba(5, 12, 28, 0) 100%);
}
.hero.photo .hero-in {
  width: 100%;
  padding-top: calc(var(--hdr) + clamp(32px, 6vh, 72px));
  padding-bottom: clamp(72px, 12vh, 128px);
}
.hero.photo .hero-copy { max-width: 640px; }
.hero.photo.right .hero-copy { margin-left: auto; }
.hero-cards {
  position: absolute;
  right: var(--gut);
  bottom: clamp(36px, 6vh, 64px);
  display: flex;
  align-items: flex-end;
  gap: 14px;
}
.hero.photo.right .hero-cards { right: auto; left: var(--gut); }
.hero-cards .glass { width: 250px; }
.hero-cards .glass:nth-child(2) { margin-bottom: 34px; }

/* large screens: the photo keeps its quality — it sits right and fades into the night */
@media (min-width: 1600px) {
  .hero.photo .hero-bg { left: auto; width: 84%; }
  .hero.photo.right .hero-bg { left: 0; right: auto; }
  .hero.photo .hero-bg img {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%);
            mask-image: linear-gradient(90deg, transparent 0, #000 22%);
  }
  .hero.photo.right .hero-bg img {
    -webkit-mask-image: linear-gradient(270deg, transparent 0, #000 22%);
            mask-image: linear-gradient(270deg, transparent 0, #000 22%);
  }
  .hero.photo .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(5, 12, 28, .62) 0, rgba(5, 12, 28, 0) 160px),
      linear-gradient(0deg, var(--night) 0, rgba(5, 12, 28, 0) 24%),
      linear-gradient(90deg, rgba(5, 12, 28, .8) 0%, rgba(5, 12, 28, .5) 30%, rgba(5, 12, 28, .08) 55%, rgba(5, 12, 28, 0) 100%);
  }
  .hero.photo.right .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(5, 12, 28, .62) 0, rgba(5, 12, 28, 0) 160px),
      linear-gradient(0deg, var(--night) 0, rgba(5, 12, 28, 0) 24%),
      linear-gradient(270deg, rgba(5, 12, 28, .8) 0%, rgba(5, 12, 28, .5) 30%, rgba(5, 12, 28, .08) 55%, rgba(5, 12, 28, 0) 100%);
  }
  .hero.photo { min-height: min(100svh, 960px); }
}
@media (max-width: 1279px) {
  .hero-cards .glass:nth-child(n+2) { display: none; }
  .hero-cards .glass { width: 230px; }
}
@media (max-width: 1079px) and (min-width: 761px) {
  .hero.photo .hero-copy { max-width: 560px; }
  .hero-cards { display: none; }
}

/* --- scene hero (copy + device scene; "split hero") ---------------------------- */
.hero.scene {
  background:
    radial-gradient(760px 520px at 78% 46%, rgba(227, 184, 119, .09), transparent 64%),
    radial-gradient(900px 640px at 8% -10%, rgba(47, 107, 255, .14), transparent 62%),
    var(--night);
}
.hero.scene .hero-in {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(24px, 4vw, 72px);
  min-height: min(100svh, 920px);
  padding-top: calc(var(--hdr) + clamp(24px, 4vh, 56px));
  padding-bottom: clamp(48px, 8vh, 96px);
}
.hero.scene.rev .hero-in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.hero.scene.rev .hero-copy { order: 2; }
.hero.scene :is(h1, .h1) { font-size: clamp(2.2rem, 1rem + 3vw, 4.1rem); }
.hero.scene .device { width: 100%; }
@media (max-width: 1079px) {
  .hero.scene .hero-in { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero.scene.rev .hero-copy { order: 0; }
  .hero.scene .device { max-width: 720px; margin-inline: auto; }
}

/* --- compact hero (inner and article pages) ---------------------- */
.hero.compact {
  background:
    radial-gradient(820px 380px at 85% -20%, rgba(47, 107, 255, .16), transparent 62%),
    radial-gradient(600px 300px at 0% 120%, rgba(227, 184, 119, .07), transparent 60%),
    var(--night);
  border-bottom: 1px solid var(--line);
}
.hero.compact .hero-in {
  padding-top: calc(var(--hdr) + clamp(40px, 6vw, 88px));
  padding-bottom: clamp(40px, 5vw, 72px);
}
.hero.compact :is(h1, .h1) { font-size: clamp(2rem, 1.1rem + 2.4vw, 3.4rem); max-width: 20ch; }
.hero.compact .lead { max-width: 62ch; }
.hero.compact .hero-bg::after {
  background:
    linear-gradient(90deg, rgba(5, 12, 28, .96) 0%, rgba(5, 12, 28, .86) 40%, rgba(5, 12, 28, .55) 75%, rgba(5, 12, 28, .45) 100%),
    linear-gradient(0deg, var(--night) 0, rgba(5, 12, 28, 0) 40%);
}
.crumbs { font-size: .78rem; color: var(--faint); margin-bottom: 22px; }
.crumbs a { color: var(--faint); text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.crumbs span { margin: 0 8px; opacity: .6; }

/* --- phone: its own hero, photo cropped tall, copy on the night --- */
@media (max-width: 760px) {
  .hero.photo { display: block; min-height: 0; }
  .hero.photo .hero-bg, .hero.photo.right .hero-bg { inset: 0 0 auto 0; width: 100%; height: min(72svh, 600px); }
  .hero.photo .hero-bg img { object-position: var(--focal-phone, var(--focal, 70% 45%)); -webkit-mask-image: none; mask-image: none; }
  .hero.photo .hero-bg::after, .hero.photo.right .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(5, 12, 28, .7) 0, rgba(5, 12, 28, 0) 120px),
      linear-gradient(0deg, var(--night) 0%, rgba(5, 12, 28, .9) 22%, rgba(5, 12, 28, .25) 52%, rgba(5, 12, 28, 0) 70%);
  }
  .hero.photo .hero-in { padding-top: calc(min(72svh, 600px) - 190px); padding-bottom: 44px; }
  .hero.photo .hero-copy, .hero.photo.right .hero-copy { max-width: none; margin: 0; }
  .hero :is(h1, .h1) { font-size: clamp(2.05rem, 8.6vw, 2.6rem); }
  .hero .lead { font-size: 1rem; margin-top: 16px; }
  .hero .btns { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hero .btns .btn { padding-inline: 10px; white-space: normal; }
  .hero .proof { margin-top: 20px; font-size: .74rem; }
  .hero-cards, .hero.photo.right .hero-cards {
    position: static;
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
  }
  .hero-cards .glass, .hero-cards .glass:nth-child(n+2) { display: block; width: auto; margin: 0; }
  .hero.scene .hero-in { padding-top: calc(var(--hdr) + 32px); gap: 32px; }
  .hero.compact .hero-in { padding-top: calc(var(--hdr) + 36px); padding-bottom: 36px; }
  .hero.compact .hero-bg::after { background: linear-gradient(0deg, var(--night) 0, rgba(5, 12, 28, .84) 40%, rgba(5, 12, 28, .7) 100%); }
}


/* =====================================================================
   08  DEVICE SCENES
   A device photo with a real screenshot laid inside by percentages
   (PHOTOS.md). .slides cross-fades several screens slowly.
   ===================================================================== */
.device { position: relative; margin: 0; }
.device > picture img, .device > img { width: 100%; height: auto; }
.device .screen {
  position: absolute;
  overflow: hidden;
  background: #02050d;
  left: 26.9%; top: 24.4%; width: 46.1%; height: 41.9%;
}
.device.phone .screen {
  left: 29.6%; top: 15.4%; width: 39.8%; height: 53.2%;
  border-radius: 9% / 4.5%;
}
.device .screen img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--screen-pos, top center);
}
/* a faint glass reflection so the screen sits in the photo */
.device .screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, 0) 38%), linear-gradient(0deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, 0) 30%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .55);
}
.device.phone .screen::after { border-radius: inherit; }
/* soft edges so the photo melts into the night */
.device.fade > picture img, .device.fade > img {
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 48%, #000 62%, transparent 100%);
          mask-image: radial-gradient(ellipse 72% 70% at 50% 48%, #000 62%, transparent 100%);
}
.device.round > picture img { border-radius: var(--r-lg); }
.device .zoom { position: absolute; inset: 0; z-index: 2; cursor: zoom-in; }
/* slideshow: first screen shows without script; the script cross-fades the rest */
.slides img { opacity: 0; transition: opacity 1.6s ease; }
.slides > img:first-child, .slides > picture:first-child img { opacity: 1; }
.slides.live img { opacity: 0; }
.slides.live img.on { opacity: 1; }
.device figcaption, .frame figcaption, .bezel-cap { margin-top: 14px; font-size: .8rem; color: var(--fg-3); text-align: center; }


/* =====================================================================
   09  SCREEN FRAME
   A real Carelo screenshot in a thin frame with a short label.
   Opens full size in the lightbox (a.zoom).
   ===================================================================== */
.frame {
  position: relative;
  margin: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: #08111f;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .35),
    0 40px 80px -42px rgba(0, 0, 0, .9),
    0 0 110px -36px rgba(47, 107, 255, .5);
}
.frame-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01));
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #93a1c3;
  white-space: nowrap;
  overflow: hidden;
}
.frame-bar::before {
  content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 10px rgba(227, 184, 119, .7);
}
.frame-bar .tag { margin-left: auto; letter-spacing: .08em; text-transform: none; color: #8190b4; }
.frame .zoom, .frame .shot { position: relative; display: block; cursor: zoom-in; }
.frame .shot { cursor: default; }
.frame img { width: 100%; height: auto; }
.frame .zoom::after {
  content: ""; position: absolute; right: 12px; bottom: 12px;
  width: 34px; height: 34px; border-radius: var(--r-sm);
  background: rgba(5, 12, 28, .72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 4h6v6M10 20H4v-6M20 4l-7 7M4 20l7-7' fill='none' stroke='%23f6f8ff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
  border: 1px solid var(--line-2);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.frame .zoom:hover::after, .frame .zoom:focus-visible::after { opacity: 1; transform: none; }
@media (hover: none) { .frame .zoom::after { opacity: .9; transform: none; } }
/* crop a screen to a set shape (for close crops of wide shots) */
.frame .crop { display: block; aspect-ratio: var(--ar, 16 / 10); overflow: hidden; }
.frame .crop > picture { height: 100%; }
.frame .crop img { width: 100%; height: 100%; object-fit: cover; object-position: var(--crop, top left); }
/* sizes */
.frame.wide { width: 100%; }
.frame.half { width: 100%; }
.frame.small { border-radius: var(--r); }
.frame.small .frame-bar { height: 28px; font-size: .62rem; padding: 0 11px; }
.frame.small .frame-bar::before { width: 4px; height: 4px; }
/* on paper: a quieter shadow */
.paper .frame { box-shadow: 0 1px 2px rgba(16, 26, 51, .1), 0 30px 60px -36px rgba(16, 26, 51, .55); border-color: rgba(16, 26, 51, .2); }


/* =====================================================================
   10  GLASS CARD
   Dark glass over photos and screens. A label, a value, one line.
   ===================================================================== */
.glass {
  position: relative;
  padding: 16px 18px 17px;
  border: 1px solid rgba(190, 210, 255, .17);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(16, 28, 58, .74), rgba(7, 14, 32, .66));
  -webkit-backdrop-filter: blur(18px) saturate(150%);
          backdrop-filter: blur(18px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 30px 60px -30px rgba(0, 0, 0, .8);
  color: var(--body);
}
@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .glass { background: rgba(9, 18, 40, .94); }
}
.glass .k {
  display: block;
  font-size: .64rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold);
}
.glass .v {
  display: block;
  margin-top: 8px;
  font-size: 1.45rem; font-weight: 300; line-height: 1.1; letter-spacing: -.03em;
  color: var(--white);
}
.glass .v em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--ivory); font-size: 1.08em; }
.glass p { margin-top: 6px; font-size: .8rem; line-height: 1.5; color: #b4c0da; }
.glass .k + p { margin-top: 8px; }
/* polish: on paper the see-through glass turned a muddy grey; it becomes a solid night card */
.paper .glass { background: linear-gradient(160deg, rgba(16, 28, 58, .97), rgba(7, 14, 32, .96)); border-color: rgba(16, 26, 51, .2); }
@media (max-width: 760px) {
  .glass { padding: 13px 14px 14px; }
  .glass .v { font-size: 1.15rem; }
  .glass p { font-size: .74rem; }
}


/* =====================================================================
   11  SPLIT
   Text one side, screen frame or photo the other; optional glass
   card overlapping the media; .rev puts the media first.
   ===================================================================== */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(28px, 5vw, 96px);
}
.split.rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split.rev > .split-copy { order: 2; }
.split.even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split + .split { margin-top: clamp(72px, 9vw, 144px); }
.split-copy > * + * { margin-top: 18px; }
.split-copy .eyebrow + h2, .split-copy .eyebrow + h3 { margin-top: 20px; }
.split-copy .ticks { margin-top: 26px; }
.split-copy .btns { margin-top: 30px; }
.split-copy .proof, .split-copy .chipline { margin-top: 26px; }
.split-media { position: relative; }
.split-media > picture img, .split-media > .pic img { border-radius: var(--r-lg); }
.pic { position: relative; display: block; overflow: hidden; border-radius: var(--r-lg); }
.pic > picture { width: 100%; height: 100%; }
.pic img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focal, center); }
/* the overlapping glass card */
.split-media > .glass {
  position: absolute;
  left: clamp(-56px, -3vw, -20px);
  bottom: clamp(-36px, -2.4vw, -18px);
  max-width: 280px;
  z-index: 2;
}
.split.rev .split-media > .glass { left: auto; right: clamp(-56px, -3vw, -20px); }
.split-media > .glass.top { bottom: auto; top: clamp(-30px, -2vw, -16px); }
@media (max-width: 1079px) {
  .split, .split.rev, .split.even { grid-template-columns: minmax(0, 1fr); }
  .split.rev > .split-copy { order: 0; }
  .split-media > .glass, .split.rev .split-media > .glass { left: 16px; right: auto; bottom: -24px; }
  .split-media { margin-bottom: 24px; }
}
@media (max-width: 760px) {
  .split { gap: 28px; }
  .split .split-media { order: 2; }
  .split.media-first .split-media { order: -1; }
  .split-media > .glass, .split.rev .split-media > .glass { position: relative; left: auto; right: auto; bottom: auto; top: auto; max-width: none; margin: -28px 14px 0; }
  .split-media { margin-bottom: 0; }
}


/* =====================================================================
   12  SCREEN WALL — one wide screen, four short points beneath
   ===================================================================== */
.wall .frame { margin-inline: auto; }
.points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
  margin-top: clamp(28px, 3.4vw, 48px);
}
.point { padding-top: 18px; border-top: 1px solid var(--rule); }
.point h3 { font-size: 1rem; font-weight: 500; letter-spacing: -.005em; }
.point p { margin-top: 8px; font-size: .88rem; line-height: 1.6; color: var(--fg-2); }
.point .k { display: block; font-size: .66rem; font-weight: 600; letter-spacing: .18em; color: var(--accent); margin-bottom: 10px; }
@media (max-width: 1079px) { .points { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } }
@media (max-width: 760px) {
  .points { column-gap: 14px; }
  .point h3 { font-size: .9rem; }
  .point p { font-size: .8rem; }
}


/* =====================================================================
   13  PHOTO CARD ROW — tall photo cards, text at the foot
   Three or four in a row; a swipe row on a phone.
   ===================================================================== */
.pcards {
  display: grid;
  grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr));
  gap: var(--gap);
}
.pcards.four { --n: 4; }
.pcard {
  position: relative;
  isolation: isolate;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--night-3);
  color: var(--body);
  text-decoration: none;
}
.pcards.four .pcard { aspect-ratio: 3 / 4.3; }
.pcard picture, .pcard > img { position: absolute; inset: 0; z-index: -2; }
.pcard img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--focal, center);
  transition: transform 1.4s var(--ease);
}
.pcard::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(4, 9, 22, .96) 0%, rgba(4, 9, 22, .82) 28%, rgba(4, 9, 22, .2) 58%, rgba(4, 9, 22, 0) 78%);
}
.pcard-body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(18px, 2vw, 28px); }
.pcard .k { display: block; font-size: .66rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.pcard h3 { margin-top: 10px; color: var(--white); font-size: clamp(1.15rem, 1rem + .5vw, 1.5rem); font-weight: 300; letter-spacing: -.02em; }
.pcard p { margin-top: 8px; font-size: .86rem; line-height: 1.55; color: #c0cbe3; max-width: 36ch; }
.pcard .more { margin-top: 14px; font-size: .86rem; color: var(--white); }
a.pcard:hover img { transform: scale(1.045); }
a.pcard:hover .more { gap: 12px; }
@media (max-width: 1079px) { .pcards.four { --n: 2; } .pcards.four .pcard { aspect-ratio: 4 / 5; } }
@media (max-width: 760px) {
  .pcards, .pcards.four {
    display: flex;
    gap: 12px;
    margin-inline: calc(-1 * var(--gut));
    padding-inline: var(--gut);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gut);
    scrollbar-width: none;
  }
  .pcards::-webkit-scrollbar { display: none; }
  .pcard, .pcards.four .pcard { flex: 0 0 min(68vw, 300px); aspect-ratio: 3 / 4.2; scroll-snap-align: start; }
  .pcard p { font-size: .8rem; }
}


/* =====================================================================
   14  BENTO GRID — mixed tiles for a summary section
   ===================================================================== */
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(clamp(180px, 15vw, 250px), auto);
  gap: var(--gap);
}
.tile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(18px, 2vw, 28px);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  background: var(--surface);
  color: var(--fg-2);
  text-decoration: none;
}
.tile.w2 { grid-column: span 2; }
.tile.w3 { grid-column: span 3; }
.tile.t2 { grid-row: span 2; }
.tile .k { display: block; font-size: .64rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.tile h3 { margin-top: 10px; font-size: clamp(1.05rem, .95rem + .4vw, 1.4rem); font-weight: 300; letter-spacing: -.02em; }
.tile p { margin-top: 8px; font-size: .86rem; line-height: 1.55; color: var(--fg-2); max-width: 44ch; }
/* photo tile */
.tile.photo picture, .tile.photo > img { position: absolute; inset: 0; z-index: -2; }
.tile.photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focal, center); transition: transform 1.4s var(--ease); }
.tile.photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(4, 9, 22, .95) 0%, rgba(4, 9, 22, .6) 34%, rgba(4, 9, 22, 0) 66%); }
.tile.photo h3 { color: var(--white); }
.tile.photo p { color: #c0cbe3; }
.tile.photo .k { color: var(--gold); }
a.tile.photo:hover img { transform: scale(1.04); }
/* screen tile: a real screen bleeding off the corner */
.tile.screen { background: radial-gradient(120% 90% at 100% 0%, rgba(47, 107, 255, .16), transparent 60%), var(--night-3); }
.tile.screen .tile-shot {
  position: absolute; z-index: -1;
  top: clamp(18px, 2vw, 28px); left: clamp(18px, 2vw, 28px);
  width: 150%;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9);
}
.tile.screen .tile-shot img { width: 100%; }
.tile.screen::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--night-3) 8%, rgba(12, 24, 48, .7) 36%, rgba(12, 24, 48, 0) 64%); }
.tile.screen h3 { color: var(--white); }
/* number tile */
.tile.count { justify-content: space-between; background: linear-gradient(180deg, rgba(227, 184, 119, .05), rgba(227, 184, 119, 0) 60%), var(--surface); }
.tile.count .n { font-size: clamp(2.8rem, 2rem + 2.6vw, 4.6rem); font-weight: 300; line-height: 1; letter-spacing: -.05em; color: var(--fg); font-variant-numeric: tabular-nums; }
.tile.count .n i { font-style: normal; color: var(--accent); font-size: .5em; letter-spacing: 0; vertical-align: .6em; margin-right: 2px; }
/* text tile */
.tile.text { justify-content: flex-start; }
.tile.text .more { margin-top: auto; padding-top: 16px; }
@media (max-width: 1079px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile.w3 { grid-column: span 2; }
}
@media (max-width: 760px) {
  .bento { grid-auto-rows: minmax(150px, auto); gap: 10px; }
  .tile { padding: 15px; }
  .tile h3 { font-size: 1rem; }
  .tile p { font-size: .78rem; }
  .tile.t2 { grid-row: span 2; }
  .tile.screen .tile-shot { width: 220%; top: 14px; left: 14px; }
}


/* =====================================================================
   15  FEATURE GRID — icon, name, one line. 4 / 3 / 2, never one.
   ===================================================================== */
.features {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
  gap: var(--gap);
}
.features.c3 { --cols: 3; }
.features.c5 { --cols: 5; }
.feat {
  position: relative;
  padding: clamp(18px, 1.8vw, 26px);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: border-color .4s var(--ease), background-color .4s var(--ease);
}
a.feat { display: block; text-decoration: none; }
.feat:hover { border-color: var(--rule-2); }
.feat .ic { width: 22px; height: 22px; color: var(--blue-soft); }
.paper .feat .ic { color: var(--blue-2); }
.feat h3 { margin-top: 16px; font-size: .98rem; font-weight: 500; letter-spacing: -.005em; line-height: 1.35; }
.feat p { margin-top: 6px; font-size: .86rem; line-height: 1.55; color: var(--fg-2); }
.features.bare .feat { border: 0; border-top: 1px solid var(--rule); border-radius: 0; background: none; padding: 20px 0 0; }
@media (max-width: 1199px) { .features { --cols: 3; } .features.c5 { --cols: 3; } }
@media (max-width: 860px) { .features, .features.c3, .features.c5 { --cols: 2; } }
@media (max-width: 760px) {
  .features { gap: 10px; }
  .feat { padding: 15px 14px 16px; }
  .feat .ic { width: 20px; height: 20px; }
  .feat h3 { margin-top: 12px; font-size: .88rem; }
  .feat p { font-size: .78rem; line-height: 1.5; }
  .features.bare { column-gap: 16px; }
}


/* =====================================================================
   16  NUMBER ROW — large light numerals with gold detail
   Put data-count on the element that holds only the digits.
   ===================================================================== */
.numbers {
  display: grid;
  grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr));
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.numbers.three { --n: 3; }
.numbers.five { --n: 5; }
.stat { position: relative; padding: clamp(24px, 3vw, 44px) clamp(16px, 2vw, 32px); }
.stat + .stat { border-left: 1px solid var(--rule); }
.stat > b {
  display: flex;
  align-items: baseline;
  font-size: clamp(2.8rem, 1.9rem + 2.6vw, 4.6rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.05em;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.stat > b i { font-style: normal; font-size: .46em; letter-spacing: 0; color: var(--accent); margin-right: 3px; align-self: flex-start; margin-top: .2em; }
.stat > b small { font-size: .38em; letter-spacing: 0; color: var(--accent); margin-left: 4px; font-weight: 400; }
.stat > span {
  display: block;
  margin-top: 18px;
  padding-top: 14px;
  max-width: 26ch;
  font-size: .86rem;
  line-height: 1.5;
  color: var(--fg-2);
  background: linear-gradient(var(--accent), var(--accent)) 0 0 / 22px 1px no-repeat;
}
@media (max-width: 1079px) {
  .numbers, .numbers.five { --n: 3; }
  .stat:nth-child(3n + 1) { border-left: 0; }
  .stat:nth-child(n + 4) { border-top: 1px solid var(--rule); }
}
@media (max-width: 760px) {
  .numbers, .numbers.three, .numbers.five { --n: 2; }
  .stat { padding: 22px 14px 22px 0; }
  .stat:nth-child(even) { padding-left: 16px; }
  .stat:nth-child(3n + 1) { border-left: 0; }
  .stat + .stat { border-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--rule); }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--rule); }
  .stat > span { font-size: .78rem; margin-top: 14px; }
  .numbers.three .stat:last-child:nth-child(odd), .numbers.five .stat:last-child:nth-child(odd) { grid-column: span 2; }
}


/* =====================================================================
   17  STORY STRIP — six photo cards along a gold line
   plan, arrive, care, record, family sees, prove
   ===================================================================== */
.story {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--gap);
  counter-reset: story;
}
.story > li { position: relative; counter-increment: story; padding-top: 44px; }
/* the gold line, drawn in segments so it also runs through a swipe row */
.story > li::before {
  content: ""; position: absolute; top: 14px; left: 0; right: calc(-1 * var(--gap)); height: 1px;
  background: linear-gradient(90deg, var(--gold-soft), rgba(227, 184, 119, .25));
  transform-origin: 0 50%;
}
.story > li:last-child::before { right: 0; background: linear-gradient(90deg, rgba(227, 184, 119, .25), rgba(227, 184, 119, 0)); }
.story > li::after {
  content: counter(story, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  display: grid; place-items: center;
  width: 29px; height: 29px;
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  background: var(--bg);
  font-size: .62rem; font-weight: 600; letter-spacing: .04em;
  color: var(--gold);
}
.story .pic { aspect-ratio: 4 / 5; }
.story h3 { margin-top: 16px; font-size: 1rem; font-weight: 500; }
.story h3 .k { display: block; margin-bottom: 6px; font-size: .64rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.story p { margin-top: 6px; font-size: .84rem; line-height: 1.55; color: var(--fg-2); }
html.js .story.rv > li::before { transform: scaleX(0); transition: transform 1.2s var(--ease); }
html.js .story.rv.in > li::before { transform: none; }
html.js .story.rv.in > li:nth-child(2)::before { transition-delay: .15s; }
html.js .story.rv.in > li:nth-child(3)::before { transition-delay: .3s; }
html.js .story.rv.in > li:nth-child(4)::before { transition-delay: .45s; }
html.js .story.rv.in > li:nth-child(5)::before { transition-delay: .6s; }
html.js .story.rv.in > li:nth-child(6)::before { transition-delay: .75s; }
@media (max-width: 1199px) and (min-width: 761px) {
  .story { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .story > li:nth-child(3)::before { right: 0; }
}
@media (max-width: 760px) {
  .story {
    display: flex;
    gap: 12px;
    margin-inline: calc(-1 * var(--gut));
    padding-inline: var(--gut);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gut);
    scrollbar-width: none;
  }
  .story::-webkit-scrollbar { display: none; }
  .story > li { flex: 0 0 min(46vw, 220px); scroll-snap-align: start; }
  .story > li::before { right: -12px; }
  .story p { font-size: .78rem; }
  .story h3 { font-size: .9rem; }
}


/* =====================================================================
   18  TABS CONSOLE — tabs that switch a real screen and its text
   Without script the tab row is hidden and every panel shows in turn.
   ===================================================================== */
.tabs .tab-list { display: none; }
html.js .tabs .tab-list {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--rule);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs .tab-list::-webkit-scrollbar { display: none; }
.tab-list [role="tab"] {
  position: relative;
  flex: none;
  min-height: 48px;
  padding: 0 clamp(12px, 1.3vw, 20px);
  border: 0;
  background: none;
  color: var(--fg-3);
  font-size: .88rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color .3s var(--ease);
}
.tab-list [role="tab"]:hover { color: var(--fg); }
.tab-list [role="tab"][aria-selected="true"] { color: var(--fg); }
.tab-list [role="tab"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 1px;
  background: var(--gold); transform: scaleX(0); transition: transform .5s var(--ease);
}
.tab-list [role="tab"][aria-selected="true"]::after { transform: none; }
.tab-list [role="tab"] .n { margin-right: 8px; font-size: .72rem; color: var(--accent); font-variant-numeric: tabular-nums; }
.tab-panel {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: clamp(24px, 3.5vw, 64px);
  align-items: center;
  padding-top: clamp(24px, 3vw, 44px);
}
.tab-panel + .tab-panel { margin-top: 56px; }
html.js .tabs .tab-panel + .tab-panel { margin-top: 0; }
.tab-text > * + * { margin-top: 14px; }
.tab-text h3 { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.75rem); font-weight: 300; letter-spacing: -.02em; }
.tab-text p { font-size: .94rem; color: var(--fg-2); }
.tab-text .ticks { margin-top: 20px; gap: 10px; }
.tab-text .ticks li { font-size: .88rem; }
html.js .tab-panel:not([hidden]) { animation: tab-in .6s var(--ease); }
@keyframes tab-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 1079px) {
  .tab-panel { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  html.js .tabs .tab-list { margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); }
  .tab-list [role="tab"] { font-size: .84rem; }
}


/* =====================================================================
   19  INDEX BAR — slim sticky in-page index (Features page)
   ===================================================================== */
.index-bar {
  position: sticky;
  top: var(--hdr);
  z-index: 40;
  background: rgba(5, 12, 28, .88);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
          backdrop-filter: blur(14px) saturate(140%);
}
.index-bar .wrap {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 28px);
  height: 48px;
  overflow-x: auto;
  scrollbar-width: none;
}
.index-bar .wrap::-webkit-scrollbar { display: none; }
.index-bar .label { flex: none; font-size: .64rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.index-bar a {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: center;
  height: 48px;
  font-size: .8rem;
  color: var(--faint);
  text-decoration: none;
  white-space: nowrap;
  transition: color .3s var(--ease);
}
.index-bar a:hover { color: var(--white); }
.index-bar a[aria-current="true"] { color: var(--white); }
.index-bar a[aria-current="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--gold); }
html:has(.index-bar) { scroll-padding-top: calc(var(--hdr) + 64px); }
@media (max-width: 760px) { .index-bar .label { display: none; } .index-bar .wrap { height: 44px; } .index-bar a { height: 44px; } }


/* =====================================================================
   20  PHONE FRAME AND APP SWIPE ROW
   ===================================================================== */
.bezel {
  position: relative;
  margin: 0;
  padding: 7px;
  display: block;
  aspect-ratio: 780 / 1688;
  border-radius: 34px;
  background: linear-gradient(150deg, #24314f 0%, #0d1528 40%, #0a1122 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .1),
    inset 0 0 0 3px rgba(0, 0, 0, .6),
    0 0 0 1px rgba(0, 0, 0, .5),
    0 36px 70px -34px rgba(0, 0, 0, .95),
    0 0 70px -26px rgba(47, 107, 255, .38);
}
.bezel > img, .bezel > picture img, .bezel .zoom img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 28px;
}
.bezel .zoom { display: block; height: 100%; border-radius: 28px; cursor: zoom-in; }
.bezel picture { height: 100%; }
.app { margin: 0; }
.app figcaption { margin-top: 18px; }
.app h3 { font-size: .96rem; font-weight: 500; }
.app p { margin-top: 4px; font-size: .82rem; line-height: 1.5; color: var(--fg-2); }
.app-row > .app { flex: 0 0 clamp(190px, 16vw, 250px); }
@media (max-width: 760px) {
  .bezel { border-radius: 26px; padding: 5px; }
  .bezel > img, .bezel > picture img, .bezel .zoom img, .bezel .zoom { border-radius: 21px; }
  .app-row > .app { flex-basis: min(44vw, 200px); }
  .app h3 { font-size: .86rem; }
  .app p { font-size: .76rem; }
}


/* =====================================================================
   21  SWIPE ROWS (shared) AND ARROWS
   .swipe-wrap > .swipe (the row) + .swipe-nav (prev / next buttons)
   ===================================================================== */
.swipe-wrap { position: relative; }
.swipe {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gut);
  padding-inline: max(var(--gut), calc((100vw - var(--wrap)) / 2));
  padding-bottom: 6px;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.swipe::-webkit-scrollbar { display: none; }
.swipe > * { scroll-snap-align: start; }
.swipe-nav {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  max-width: calc(var(--wrap) + 2 * var(--gut));
  margin: 0 auto 22px;
  padding-inline: var(--gut);
}
.swipe-nav button {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--rule-2);
  border-radius: var(--r);
  background: rgba(255, 255, 255, .02);
  color: var(--fg);
  transition: border-color .3s, background-color .3s, opacity .3s;
}
.swipe-nav button:hover { border-color: rgba(200, 215, 255, .5); background: rgba(255, 255, 255, .05); }
.swipe-nav button[disabled] { opacity: .3; cursor: default; }
.swipe-nav svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.swipe-wrap.fits .swipe-nav { visibility: hidden; }
html:not(.js) .swipe-nav { display: none; }
@media (max-width: 760px) {
  .swipe { gap: 12px; padding-inline: var(--gut); }
  .swipe-nav { margin-bottom: 16px; }
}


/* =====================================================================
   22  COMPARISON TABLE — dark, gold ticks, sticky first column
   Scrolls sideways inside its own box on a phone.
   Also styles pricing.html's table.p-cmp (td.y / td.n).
   ===================================================================== */
.table-box {
  position: relative;
  overflow-x: auto;
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}
table.compare, table.p-cmp {
  width: 100%;
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: .9rem;
  line-height: 1.5;
}
:is(table.compare, table.p-cmp) th,
:is(table.compare, table.p-cmp) td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: middle;
}
:is(table.compare, table.p-cmp) thead th {
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fg-3);
  white-space: nowrap;
}
:is(table.compare, table.p-cmp) tbody tr:last-child > * { border-bottom: 0; }
:is(table.compare, table.p-cmp) tbody tr > :first-child { color: var(--fg); font-weight: 400; }
:is(table.compare, table.p-cmp) tr > :first-child {
  position: sticky; left: 0; z-index: 1;
  background: var(--bg);
}
.sec.alt :is(table.compare, table.p-cmp) tr > :first-child { background: var(--night-2); }
.paper :is(table.compare, table.p-cmp) tr > :first-child { background: var(--surface-2); }
:is(table.compare, table.p-cmp) td.y { color: var(--fg); }
:is(table.compare, table.p-cmp) td.y::before, .tick::before {
  content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 9px; vertical-align: -2px;
  background: var(--accent);
  -webkit-mask: var(--m4) center / contain no-repeat;
          mask: var(--m4) center / contain no-repeat;
}
:is(table.compare, table.p-cmp) td.n { color: var(--fg-3); }
:is(table.compare, table.p-cmp) td.n::before, .dash::before {
  content: ""; display: inline-block; width: 10px; height: 1px; margin-right: 11px; vertical-align: 4px; background: var(--fg-3); opacity: .6;
}
/* the Carelo column, lifted */
:is(table.compare, table.p-cmp) .us { background: linear-gradient(180deg, rgba(227, 184, 119, .07), rgba(227, 184, 119, .03)); }
:is(table.compare, table.p-cmp) thead .us { color: var(--accent); }
.paper :is(table.compare, table.p-cmp) .us { background: rgba(133, 96, 31, .06); }
.table-note { margin-top: 14px; font-size: .76rem; line-height: 1.6; color: var(--fg-3); }
@media (max-width: 760px) {
  table.compare, table.p-cmp { min-width: 560px; font-size: .8rem; }
  :is(table.compare, table.p-cmp) th, :is(table.compare, table.p-cmp) td { padding: 13px 12px; }
  :is(table.compare, table.p-cmp) tr > :first-child { min-width: 150px; max-width: 170px; box-shadow: 1px 0 0 var(--rule); }
}


/* =====================================================================
   23  "ELSEWHERE / WITH CARELO" PAIR — a dim side and a lit side
   ===================================================================== */
.versus {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.vs { position: relative; padding: clamp(20px, 2.6vw, 40px); }
.vs .label {
  display: block;
  font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
}
.vs h3 { margin-top: 12px; font-size: clamp(1.05rem, .96rem + .4vw, 1.35rem); font-weight: 300; letter-spacing: -.02em; }
.vs p { margin-top: 10px; font-size: .9rem; line-height: 1.6; }
.vs ul { margin-top: 16px; list-style: none; display: grid; gap: 9px; }
.vs li { position: relative; padding-left: 22px; font-size: .88rem; line-height: 1.55; }
.vs.dim { background: rgba(255, 255, 255, .012); color: #7c88a8; }
.vs.dim .label { color: #7c88a8; }
.vs.dim h3 { color: #98a3c0; }
.vs.dim li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 10px; height: 1px; background: #5f6a89; }
.vs.lit {
  background: radial-gradient(120% 100% at 100% 0%, rgba(47, 107, 255, .16), transparent 60%), var(--night-3);
  border-left: 1px solid var(--line-2);
  color: var(--body);
}
.vs.lit .label { color: var(--gold); }
.vs.lit h3 { color: var(--white); }
.vs.lit li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 14px; height: 14px; background: var(--gold);
  -webkit-mask: var(--m1) center / contain no-repeat;
          mask: var(--m1) center / contain no-repeat;
}
.vs .pic { margin: -1px -1px 0; aspect-ratio: 16 / 9; border-radius: 0; }
.vs.dim .pic img { filter: saturate(.35) brightness(.7); }
.vs .pic + .label { margin-top: 20px; }
@media (max-width: 760px) {
  .vs { padding: 16px 14px 18px; }
  .vs h3 { font-size: .96rem; }
  .vs p, .vs li { font-size: .78rem; }
  .vs li { padding-left: 18px; }
  .vs.lit li::before { width: 12px; height: 12px; }
}


/* =====================================================================
   24  TIMELINE — a gold line with numbered stops; vertical on a phone
   ===================================================================== */
.timeline {
  position: relative;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr));
  gap: var(--gap);
  counter-reset: stop;
}
.timeline::before {
  content: ""; position: absolute; top: 21px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, rgba(227, 184, 119, 0), var(--gold-soft) 8%, var(--gold-soft) 92%, rgba(227, 184, 119, 0));
  transform-origin: 0 50%;
}
html.js .timeline.rv::before { transform: scaleX(0); transition: transform 1.6s var(--ease) .15s; }
html.js .timeline.rv.in::before { transform: none; }
.timeline > li { position: relative; counter-increment: stop; padding-top: 68px; }
.timeline > li::before {
  content: counter(stop);
  position: absolute; top: 0; left: 0;
  display: grid; place-items: center;
  width: 43px; height: 43px;
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  background: var(--bg);
  font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.25rem;
  color: var(--gold);
}
.timeline .when { display: block; font-size: .66rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.timeline h3 { font-size: 1rem; font-weight: 500; }
.timeline p { margin-top: 8px; font-size: .86rem; line-height: 1.6; color: var(--fg-2); }
@media (max-width: 760px) {
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .timeline::before { top: 0; bottom: 0; left: 21px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--gold-soft), var(--gold-soft) 90%, rgba(227, 184, 119, 0)); transform-origin: 50% 0; }
  html.js .timeline.rv::before { transform: scaleY(0); }
  html.js .timeline.rv.in::before { transform: none; }
  .timeline > li { padding: 6px 0 30px 64px; min-height: 64px; }
}


/* =====================================================================
   25  PRICE CARDS — keeps pricing.html's script hooks
   #toggle.p-toggle (#pill.pill, button[data-mode]), #save.p-save(.show),
   #saveNum, #cyc.p-cyc, #grid.p-grid > .p-card[data-base][data-ai]
   [data-pct][data-tr] (.hot = featured), .p-amt(.yr) > .cur .num .per,
   [data-price] [data-was] [data-aiprice] [data-trprice] .p-ai .p-tr
   ===================================================================== */
.p-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--rule-2);
  border-radius: var(--r);
  background: rgba(255, 255, 255, .02);
}
.p-toggle button {
  position: relative;
  z-index: 2;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--r-sm);
  background: none;
  color: var(--fg-2);
  font-size: .86rem;
  font-weight: 500;
  transition: color .35s var(--ease);
}
.p-toggle button.on { color: #fff; }
.p-toggle .pill {
  position: absolute; z-index: 1; top: 4px; bottom: 4px; left: 4px; width: 0;
  border-radius: var(--r-sm);
  background: linear-gradient(180deg, #2f6bff, #1f50de);
  box-shadow: 0 8px 22px -10px rgba(47, 107, 255, .9);
  transition: left .5s var(--ease), width .5s var(--ease);
}
.p-save {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: 14px;
  font-size: .82rem; color: var(--accent);
  opacity: 0; transform: translateY(4px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.p-save b { color: var(--fg); font-weight: 500; }
.p-save.show { opacity: 1; transform: none; }
.p-cyc { margin-top: 14px; font-size: .8rem; color: var(--fg-3); }
.p-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(32px, 4vw, 52px);
  align-items: stretch;
}
.p-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 1.8vw, 28px) clamp(16px, 1.5vw, 24px) clamp(18px, 1.6vw, 24px);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
  text-align: left;
}
.p-card.hot {
  border-color: rgba(227, 184, 119, .42);
  background: radial-gradient(130% 70% at 50% 0%, rgba(47, 107, 255, .2), transparent 62%), var(--night-3);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9), 0 0 80px -40px rgba(47, 107, 255, .6);
  transform: translateY(-12px);
}
.p-pop {
  position: absolute; top: -10px; left: clamp(16px, 1.5vw, 24px);
  padding: 3px 9px;
  border: 1px solid var(--gold-soft);
  border-radius: 6px;
  background: var(--night-3);
  font-size: .6rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold);
}
.p-band { font-size: .98rem; font-weight: 500; color: var(--fg); letter-spacing: -.005em; }
.p-seats { margin-top: 4px; font-size: .78rem; color: var(--fg-3); line-height: 1.4; min-height: 2.8em; }
.p-amt { display: flex; align-items: baseline; gap: 2px; margin-top: 18px; color: var(--fg); }
.p-amt .cur { align-self: flex-start; margin-top: .3em; font-size: 1.2rem; font-weight: 300; color: var(--accent); }
.p-amt .num { font-size: clamp(2.4rem, 1.7rem + 1.4vw, 3.2rem); font-weight: 300; line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.p-amt.yr .num { font-size: clamp(1.9rem, 1.4rem + 1vw, 2.5rem); }
.p-amt .per { margin-left: 5px; font-size: .78rem; color: var(--fg-3); }
.p-was { margin-top: 8px; min-height: 2.9em; font-size: .72rem; line-height: 1.45; color: var(--fg-3); }
.p-was s { opacity: .75; }
.p-was b { color: var(--accent); font-weight: 500; }
.p-ai { display: flex; align-items: flex-start; gap: 8px; margin-top: 8px; font-size: .76rem; line-height: 1.45; color: var(--fg-2); }
.p-ai svg { flex: none; width: 13px; height: 13px; margin-top: 2px; stroke: var(--blue-soft); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.p-ai b { color: var(--fg); font-weight: 500; }
.p-ai a { color: inherit; }
.p-list { list-style: none; margin: 18px 0 22px; padding-top: 16px; border-top: 1px solid var(--rule); display: grid; gap: 8px; }
.p-list li { position: relative; padding-left: 22px; font-size: .82rem; line-height: 1.45; color: var(--fg-2); }
.p-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 13px; height: 13px; background: var(--accent);
  -webkit-mask: var(--m4) center / contain no-repeat;
          mask: var(--m4) center / contain no-repeat;
}
.p-pick {
  margin-top: auto;
  display: flex; align-items: center; justify-content: center;
  min-height: 44px;
  border: 1px solid var(--rule-2);
  border-radius: var(--r);
  color: var(--fg);
  font-size: .88rem; font-weight: 500;
  text-decoration: none;
  transition: border-color .3s, background-color .3s;
}
.p-pick:hover { border-color: rgba(200, 215, 255, .5); background: rgba(255, 255, 255, .05); color: var(--fg); }
.p-card.hot .p-pick { border-color: transparent; color: #fff; background: linear-gradient(180deg, #2f6bff, #1f50de); box-shadow: 0 12px 28px -14px rgba(47, 107, 255, .9); }
.p-foot { margin-top: clamp(28px, 3vw, 44px); max-width: 80ch; font-size: .84rem; line-height: 1.7; color: var(--fg-3); }
.center .p-foot, .p-foot.center { margin-inline: auto; text-align: center; }
@media (max-width: 1199px) {
  .p-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 26px; }
}
@media (max-width: 760px) {
  .p-toggle { display: flex; }
  .p-toggle button { flex: 1; padding: 0 8px; font-size: .8rem; }
  .p-save { margin: 12px 0 0; }
  .p-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; row-gap: 18px; }
  .p-grid .p-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .p-card { padding: 18px 13px 14px; }
  .p-card.hot { transform: none; }
  .p-band { font-size: .86rem; }
  .p-seats { font-size: .72rem; }
  .p-amt .num { font-size: 2.1rem; }
  .p-amt.yr .num { font-size: 1.6rem; }
  .p-amt .per { font-size: .68rem; margin-left: 3px; }
  .p-was { font-size: .66rem; }
  .p-ai { font-size: .68rem; gap: 6px; }
  .p-list li { font-size: .74rem; padding-left: 18px; }
  .p-list li::before { width: 11px; height: 11px; }
}

/* add-on price rows (Carelo AI, Live Tracking) */
.addons { display: grid; gap: var(--gap); }
.addon {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  padding: clamp(20px, 2.4vw, 32px);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.addon h3 { font-size: 1.15rem; font-weight: 400; }
.addon h3 .mark { color: var(--gold); margin-right: 6px; }
.addon p { margin-top: 6px; font-size: .86rem; color: var(--fg-2); }
.addon-prices { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.addon-prices li { padding: 4px clamp(10px, 1.2vw, 18px); border-left: 1px solid var(--rule); }
.addon-prices span { display: block; font-size: .7rem; color: var(--fg-3); white-space: nowrap; }
.addon-prices b { display: block; margin-top: 4px; font-size: clamp(1.25rem, 1rem + .6vw, 1.6rem); font-weight: 300; letter-spacing: -.03em; color: var(--fg); }
.addon-prices b small { font-size: .5em; color: var(--fg-3); letter-spacing: 0; margin-left: 2px; }
@media (max-width: 1079px) { .addon { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .addon { padding: 16px 14px; }
  .addon-prices { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 12px; }
  .addon-prices li { padding: 2px 10px; }
  .addon-prices li:nth-child(3n + 1) { border-left: 0; padding-left: 0; }
}


/* =====================================================================
   26  STEPS — three numbered steps
   ===================================================================== */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr));
  gap: var(--gap);
  counter-reset: step;
}
.step {
  position: relative;
  counter-increment: step;
  padding: clamp(22px, 2.4vw, 36px);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: clamp(2.2rem, 1.7rem + 1.4vw, 3.2rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.step h3 { margin-top: 22px; font-size: 1.05rem; font-weight: 500; }
.step p { margin-top: 8px; font-size: .88rem; line-height: 1.6; color: var(--fg-2); }
.step .more { margin-top: 16px; }
@media (max-width: 760px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .step { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 8px; padding: 18px 16px; }
  .step::before { grid-row: span 3; font-size: 1.9rem; }
  .step h3 { margin-top: 2px; font-size: .96rem; }
  .step p { font-size: .82rem; }
}


/* =====================================================================
   27  QUESTIONS — both existing FAQ markups, unchanged
   A: <div class="hm-faq|ar-faq"><details><summary>Q</summary><p>A</p></details></div>
   B: <div class="p-q"><button><span>Q</span>[<span class="pm">…</span>]</button>
        <div class="ans"><div>A</div></div></div>
   ===================================================================== */
.hm-faq, .ar-faq, .faq, .p-faq, .lt-faq {
  max-width: 900px;
  border-top: 1px solid var(--rule);
}
.sh.center + :is(.hm-faq, .ar-faq, .faq, .p-faq, .lt-faq), :is(.hm-faq, .ar-faq, .faq, .p-faq, .lt-faq).center { margin-inline: auto; }
:is(.hm-faq, .ar-faq, .faq) details { border-bottom: 1px solid var(--rule); }
:is(.hm-faq, .ar-faq, .faq) summary,
.p-q > button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 22px 44px 22px 0;
  border: 0;
  background: none;
  color: var(--fg);
  font-family: var(--sans);
  font-size: clamp(.98rem, .94rem + .2vw, 1.1rem);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -.008em;
  text-align: left;
  list-style: none;
  cursor: pointer;
  transition: color .3s var(--ease);
}
:is(.hm-faq, .ar-faq, .faq) summary::-webkit-details-marker { display: none; }
:is(.hm-faq, .ar-faq, .faq) summary::marker { content: ""; }
:is(.hm-faq, .ar-faq, .faq) summary:hover, .p-q > button:hover { color: var(--accent); }
.paper :is(.hm-faq, .ar-faq, .faq) summary:hover, .paper .p-q > button:hover { color: var(--blue-2); }
/* the plus: two hairlines, turns into a cross */
:is(.hm-faq, .ar-faq, .faq) summary::after,
.p-q > button::after {
  content: "";
  position: absolute; right: 4px; top: 50%;
  width: 16px; height: 16px; margin-top: -8px;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 16px 1px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 1px 16px no-repeat;
  transition: transform .45s var(--ease);
}
:is(.hm-faq, .ar-faq, .faq) details[open] summary::after,
.p-q.open > button::after { transform: rotate(45deg); }
:is(.hm-faq, .ar-faq, .faq) details p {
  padding: 0 56px 24px 0;
  font-size: .95rem;
  line-height: 1.75;
  color: var(--fg-2);
  max-width: 76ch;
}
:is(.hm-faq, .ar-faq, .faq) details p + p { margin-top: -10px; }
:is(.hm-faq, .ar-faq, .faq, .p-q) a { color: var(--link); }
html.js :is(.hm-faq, .ar-faq, .faq) details[open] p { animation: faq-in .5s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.p-q { border-bottom: 1px solid var(--rule); }
.p-q .pm { display: none; }
.p-q .ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.p-q.open .ans, html:not(.js) .p-q .ans { grid-template-rows: 1fr; }
.p-q .ans > div {
  min-height: 0;
  overflow: hidden;
  font-size: .95rem;
  line-height: 1.75;
  color: var(--fg-2);
  max-width: 76ch;
}
.p-q .ans > div > :last-child, .p-q.open .ans > div { padding-bottom: 24px; }
.p-q .ans > div > :last-child { padding-bottom: 0; }
.p-q .ans p + p { margin-top: 12px; }
.p-q .ans p, .p-q .ans > div { padding-right: 56px; }
.p-q .ans p { padding-right: 0; }
@media (max-width: 760px) {
  :is(.hm-faq, .ar-faq, .faq) summary, .p-q > button { padding: 18px 36px 18px 0; font-size: .95rem; }
  :is(.hm-faq, .ar-faq, .faq) details p, .p-q .ans > div { padding-right: 0; font-size: .88rem; }
}


/* =====================================================================
   28  FORMS — dark form card; keeps demo.html's ids and classes
   .dm-form (#demoForm, #walkForm) .fh .fi .dm-fields .two .opt .dm-hp
   .dm-send .dm-assure .dm-slotbox .dm-slothead .dm-slotdays .dm-slotday
   .dm-slotdate .dm-slotgrid .dm-slot(.taken .on) .dm-slotnote
   .dm-done(.ok) .dm-err
   ===================================================================== */
.form-card, .dm-book {
  position: relative;
  padding: clamp(22px, 2.6vw, 38px);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: radial-gradient(120% 60% at 100% 0%, rgba(47, 107, 255, .14), transparent 60%), var(--night-3);
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .05);
  color: var(--body);
  color-scheme: dark;
}
.dm-book .halo { display: none; }
.dm-form .fh { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.dm-form .fi { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid var(--gold-soft); border-radius: var(--r); color: var(--gold); }
.dm-form .fi svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dm-form .fh h2 { font-size: 1.3rem; font-weight: 400; letter-spacing: -.02em; color: var(--white); }
.dm-form .fh span { display: block; margin-top: 4px; font-size: .82rem; color: var(--faint); }
.dm-fields { display: grid; gap: 14px; }
.dm-fields .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dm-fields label, .field { display: block; font-size: .78rem; font-weight: 500; letter-spacing: .02em; color: #c4cee6; }
.dm-fields label > input, .dm-fields label > select, .dm-fields label > textarea,
.field > input, .field > select, .field > textarea { display: block; margin-top: 7px; }
.dm-fields .opt, .field .opt { font-weight: 400; color: var(--faint); letter-spacing: 0; }
.dm-form input:not([type="hidden"]), .dm-form select, .dm-form textarea,
.form-card input:not([type="hidden"]), .form-card select, .form-card textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: rgba(2, 6, 16, .55);
  color: var(--white);
  font-size: .95rem;
  font-weight: 400;
  letter-spacing: 0;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background-color .3s;
}
.dm-form textarea, .form-card textarea { min-height: 96px; resize: vertical; line-height: 1.55; }
.dm-form select, .form-card select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: 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='%23e3b877' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
}
.dm-form select option { background: var(--night-3); color: var(--white); }
.dm-form ::placeholder, .form-card ::placeholder { color: #7381a5; }
.dm-form input:hover, .dm-form select:hover, .dm-form textarea:hover { border-color: rgba(190, 210, 255, .4); }
.dm-form input:focus, .dm-form select:focus, .dm-form textarea:focus,
.form-card input:focus, .form-card select:focus, .form-card textarea:focus {
  outline: none;
  border-color: var(--blue-soft);
  box-shadow: 0 0 0 3px rgba(143, 178, 255, .22);
  background: rgba(2, 6, 16, .7);
}
.dm-form input:user-invalid, .dm-form textarea:user-invalid { border-color: #ff8f80; }
/* the honeypot stays invisible to people */
.dm-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.dm-send { margin-top: 22px; width: 100%; min-height: 54px; border: 0; border-radius: var(--r); color: #fff; font-size: 1rem; font-weight: 500; background: linear-gradient(180deg, #2f6bff, #1f50de); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 16px 34px -16px rgba(47, 107, 255, .9); transition: filter .3s, transform .3s var(--ease); }
.dm-send:hover { filter: brightness(1.08); transform: translateY(-1px); }
.dm-send[disabled] { opacity: .6; cursor: progress; transform: none; }
.dm-assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 16px; font-size: .76rem; color: var(--faint); }
.dm-assure span { display: inline-flex; align-items: center; gap: 6px; }
.dm-assure svg { width: 13px; height: 13px; stroke: var(--gold); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* slot picker */
.dm-slotbox { display: grid; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: rgba(2, 6, 16, .3); }
.dm-slothead { font-size: .78rem; font-weight: 500; color: #c4cee6; }
.dm-slotdays { display: grid; gap: 12px; }
.dm-slotday { display: grid; gap: 8px; }
.dm-slotdate { font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.dm-slotgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.dm-slot {
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .02);
  color: var(--white);
  font-size: .86rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  transition: border-color .3s, background-color .3s, color .3s;
}
.dm-slot small { font-weight: 400; color: var(--faint); font-size: .74em; }
.dm-slot:hover { border-color: var(--blue-soft); }
.dm-slot.on { border-color: var(--blue); background: rgba(47, 107, 255, .22); box-shadow: inset 0 0 0 1px var(--blue); }
.dm-slot.taken, .dm-slot[disabled] { opacity: .4; cursor: not-allowed; text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .3); }
.dm-slotnote { font-size: .82rem; color: var(--faint); }
/* states */
.dm-err, .form-error { margin-top: 12px !important; padding: 10px 12px; border: 1px solid rgba(255, 143, 128, .35); border-radius: var(--r-sm); background: rgba(255, 110, 90, .08); font-size: .84rem !important; font-weight: 500 !important; color: #ffb3a7 !important; }
.dm-done { text-align: center; padding: 12px 0 4px; }
.dm-done .ok { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 18px; border: 1px solid var(--gold-soft); border-radius: 50%; color: var(--gold); }
.dm-done .ok svg { width: 28px !important; height: 28px !important; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dm-done h3 { font-size: 1.5rem; font-weight: 300; letter-spacing: -.02em; color: var(--white); }
.dm-done p { margin-top: 10px; font-size: .9rem; line-height: 1.65; color: var(--body); }
.dm-done ul { list-style: none; margin-top: 16px; display: grid; gap: 6px; font-size: .84rem; color: var(--faint); }
.dm-done li::before { content: "·"; color: var(--gold); margin-right: 8px; }
@media (max-width: 760px) {
  .dm-fields .two { grid-template-columns: minmax(0, 1fr); }
  .dm-form .fh h2 { font-size: 1.1rem; }
  .dm-slotgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}


/* =====================================================================
   29  MARQUEE — a slow fine line of words
   <div class="marquee"><div class="marquee-track"><span>…</span>…</div></div>
   ===================================================================== */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 20px;
  border-block: 1px solid var(--rule);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  white-space: nowrap;
}
.marquee-track > * {
  display: inline-flex;
  align-items: center;
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.marquee-track > *::after {
  content: "";
  width: 3px; height: 3px; margin: 0 26px;
  border-radius: 50%;
  background: var(--accent);
}
.marquee.live .marquee-track { animation: marquee var(--marquee-time, 70s) linear infinite; }
.marquee.rev.live .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee + .marquee { border-top: 0; padding-top: 0; }


/* =====================================================================
   30  STATEMENT BAND — one large sentence with a serif accent
   ===================================================================== */
.statement { text-align: center; }
.statement .wrap > p, .statement .say {
  max-width: 26ch;
  margin-inline: auto;
  font-size: clamp(1.75rem, 1rem + 2.6vw, 3.4rem);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: -.03em;
  color: var(--fg);
  text-wrap: balance;
}
.statement .line {
  display: block;
  width: 64px; height: 1px;
  margin: 0 auto 34px;
  background: var(--gold);
  transform-origin: 50% 50%;
}
.statement .by { display: block; margin-top: 26px; font-size: .8rem; letter-spacing: .04em; color: var(--fg-3); }
html.js .statement.rv .line { transform: scaleX(0); transition: transform 1.2s var(--ease) .2s; }
html.js .statement.rv.in .line { transform: none; }


/* =====================================================================
   31  CLOSING BAND — photo one side, headline and two buttons
   ===================================================================== */
.closing {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: clamp(460px, 42vw, 640px);
  background: var(--night-2);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.closing-media { position: relative; min-height: 100%; }
.closing-media picture, .closing-media > img { position: absolute; inset: 0; }
.closing-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focal, center); }
.closing-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7, 17, 39, 0) 55%, var(--night-2) 100%);
}
.closing.rev .closing-media { order: 2; }
.closing.rev .closing-media::after { background: linear-gradient(270deg, rgba(7, 17, 39, 0) 55%, var(--night-2) 100%); }
.closing-copy {
  align-self: center;
  max-width: 640px;
  padding: var(--sec) var(--gut) var(--sec) clamp(28px, 5vw, 96px);
}
.closing.rev .closing-copy { justify-self: end; padding: var(--sec) clamp(28px, 5vw, 96px) var(--sec) var(--gut); }
.closing-copy > * + * { margin-top: 18px; }
.closing-copy .eyebrow + h2 { margin-top: 20px; }
.closing-copy .btns { margin-top: 32px; }
.closing-copy .chipline { margin-top: 26px; }
@media (min-width: 1600px) {
  .closing { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .closing-copy { max-width: 700px; }
}
@media (max-width: 760px) {
  .closing { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .closing-media { min-height: 0; aspect-ratio: 4 / 3.4; }
  .closing.rev .closing-media { order: 0; }
  .closing-media::after, .closing.rev .closing-media::after { background: linear-gradient(0deg, var(--night-2) 0%, rgba(7, 17, 39, 0) 45%); }
  .closing-copy, .closing.rev .closing-copy { padding: 8px var(--gut) 56px; max-width: none; }
  .closing-copy .btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .closing-copy .btns .btn { padding-inline: 10px; white-space: normal; }
}


/* =====================================================================
   32  FOOTER AND PHONE "BOOK A DEMO" DOCK
   Stamped by scripts/site-chrome.mjs. Never hand-edit.
   ===================================================================== */
.ft {
  position: relative;
  background:
    radial-gradient(900px 360px at 85% 0%, rgba(47, 107, 255, .08), transparent 62%),
    var(--night-2);
  border-top: 1px solid var(--line);
  color: var(--body);
  content-visibility: auto;
  contain-intrinsic-size: auto 560px;
}
.ft-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 72px);
  padding-top: clamp(56px, 6vw, 96px);
  padding-bottom: clamp(40px, 4vw, 64px);
}
.ft-brand .brand b { font-size: 1.9rem; }
.ft-brand p { margin-top: 18px; max-width: 36ch; font-size: .9rem; line-height: 1.7; color: var(--body); }
.ft-mail { font-size: .84rem !important; line-height: 1.9 !important; color: var(--faint) !important; }
.ft-mail a { color: var(--white); text-decoration: none; }
.ft-mail a:hover { color: var(--gold); }
.ft-col h2 {
  margin-bottom: 14px;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}
.ft-col a {
  display: flex;
  align-items: center;
  min-height: 34px;
  font-size: .88rem;
  line-height: 1.4;
  color: var(--body);
  text-decoration: none;
  transition: color .3s var(--ease);
}
.ft-col a:hover { color: var(--white); }
.ft-col a .mark { color: var(--gold); margin-right: 6px; font-size: .8em; }
.ft-fine {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  padding-top: 22px;
  padding-bottom: 30px;
  border-top: 1px solid var(--line);
  font-size: .76rem;
  line-height: 1.6;
  color: var(--faint);
}
.ft-small { flex-basis: 100%; font-size: .72rem; color: #7886aa; }
.ico { display: inline-flex; align-items: center; gap: 10px; color: var(--body); }
.ico-mark {
  display: inline-grid; place-items: center;
  height: 26px; padding: 0 7px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .82rem; font-weight: 700; letter-spacing: -.02em;
  color: var(--white);
}
.ico b { font-weight: 600; color: var(--white); }
@media (max-width: 1079px) {
  .ft-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ft-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .ft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; row-gap: 32px; padding-top: 52px; }
  .ft-col.wide { grid-column: 1 / -1; }
  .ft-col.wide nav, .ft-col.wide .links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .ft-col a { min-height: 40px; font-size: .86rem; }
  .ft-fine { gap: 8px 18px; padding-bottom: 104px; }
}

/* the slim bar at the foot of a phone screen, after the first screen.
   Leaves room on the right for the support chat button (support.js). */
.dock { display: none; }
@media (max-width: 760px) {
  .dock {
    position: fixed;
    left: 12px;
    right: var(--dock-right, 82px);
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 54px;
    padding: 5px 5px 5px 16px;
    border: 1px solid rgba(190, 210, 255, .18);
    border-radius: var(--r-lg);
    background: rgba(9, 18, 40, .82);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
            backdrop-filter: blur(16px) saturate(150%);
    box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .8);
    transform: translateY(calc(100% + 32px));
    transition: transform .6s var(--ease);
  }
  .dock.show { transform: none; }
  .dock a.dock-link { flex: 1; font-size: .84rem; color: var(--body); text-decoration: none; }
  .dock .btn { min-height: 44px; padding: 0 16px; font-size: .86rem; }
  html.menu-open .dock { transform: translateY(calc(100% + 32px)); }
}


/* =====================================================================
   33  LIGHTBOX — a real screen at full size (site.js builds it)
   ===================================================================== */
dialog.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(2, 5, 13, .94);
  color: var(--body);
  overflow: hidden;
}
dialog.lightbox::backdrop { background: rgba(2, 5, 13, .6); }
dialog.lightbox[open] { animation: lb-in .4s var(--ease); }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox figure {
  display: grid;
  place-items: center;
  gap: 14px;
  width: 100%;
  height: 100%;
  padding: 64px clamp(12px, 3vw, 48px) 40px;
  overflow: auto;
}
.lightbox img {
  max-width: min(100%, 2000px);
  max-height: calc(100dvh - 140px);
  width: auto;
  height: auto;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9);
  cursor: zoom-out;
}
.lightbox figcaption { font-size: .8rem; letter-spacing: .04em; color: var(--faint); text-align: center; }
.lb-close {
  position: fixed;
  top: 14px; right: 14px;
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: rgba(9, 18, 40, .8);
  color: var(--white);
}
.lb-close svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; }
@media (max-width: 760px) {
  .lightbox figure { padding: 64px 8px 24px; }
  .lightbox img { max-height: calc(100dvh - 120px); }
}


/* =====================================================================
   34  READING LAYOUT — articles and legal pages, on paper
   Covers article.css (.tr- .ar- .hb-) and the legal pages (.lg-).
   The hero (.tr-hero / .lg-hero) is a compact night hero; the body
   (.tr-body / .lg-body) is paper. Legal markers stay untouched:
   h1.lg-h1, nav.lg-toc, div.lg-meta.
   ===================================================================== */
.tr-hero, .lg-hero {
  position: relative;
  padding: calc(var(--hdr) + clamp(36px, 5vw, 72px)) 0 clamp(36px, 4.4vw, 64px);
  background:
    radial-gradient(820px 380px at 85% -20%, rgba(47, 107, 255, .16), transparent 62%),
    radial-gradient(600px 300px at 0% 120%, rgba(227, 184, 119, .07), transparent 60%),
    var(--night);
  border-bottom: 1px solid var(--line);
}
.hdr + .tr-hero, .hdr + .lg-hero { margin-top: calc(-1 * var(--hdr)); }
.tr-col, .lg-col { max-width: 76ch; margin: 0 auto; padding: 0 var(--gut); box-sizing: content-box; }
.tr-tag, .lg-tag {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold);
}
.tr-tag::before, .lg-tag::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .75; }
h1.tr-h1, h1.lg-h1 {
  margin-top: 20px;
  font-size: clamp(2rem, 1.2rem + 2.4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.034em;
  color: var(--white);
}
h1.tr-h1 b, h1.lg-h1 b { font-weight: 300; font-family: var(--serif); font-style: italic; color: var(--ivory); font-size: 1.08em; }
.tr-meta, .lg-meta { margin-top: 14px; font-size: .8rem; color: var(--faint); }
.tr-lead, .lg-lead { margin-top: 20px; font-size: 1.06rem; line-height: 1.75; color: #c2cce3; }
.tr-lead a, .lg-lead a { color: var(--blue-soft); }
.tr-hero .ar-crumbs, .lg-hero .ar-crumbs { margin-bottom: 18px; }
/* contents: a quiet two-column list inside the hero */
.lg-toc, .tr-toc {
  margin-top: 30px;
  padding: 20px 22px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .025);
}
.lg-toc .t, .tr-toc .t { font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.lg-toc ol, .tr-toc ol { margin-top: 12px; columns: 2; column-gap: 36px; list-style: none; counter-reset: toc; }
.lg-toc li, .tr-toc li { break-inside: avoid; counter-increment: toc; position: relative; padding: 5px 0 5px 28px; font-size: .86rem; line-height: 1.5; }
.lg-toc li::before, .tr-toc li::before { content: counter(toc, decimal-leading-zero); position: absolute; left: 0; top: 7px; font-size: .7rem; color: var(--faint); font-variant-numeric: tabular-nums; }
.lg-toc a, .tr-toc a { color: var(--body); text-decoration: none; }
.lg-toc a:hover, .tr-toc a:hover { color: var(--white); }
/* a TOC placed in the paper body instead */
.paper .tr-toc, .tr-body .tr-toc, .lg-body .lg-toc { border-color: var(--rule); background: var(--surface-2); }
.tr-body .tr-toc .t, .lg-body .lg-toc .t { color: var(--accent); }
.tr-body .tr-toc a, .lg-body .lg-toc a { color: var(--fg-2); }
.tr-body .tr-toc li::before, .lg-body .lg-toc li::before { color: var(--fg-3); }

/* facts strip under an article hero */
.tr-facts { margin-top: 30px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.tr-fact { padding: 15px 17px; border: 1px solid var(--line); border-radius: var(--r); background: rgba(255, 255, 255, .025); }
.tr-fact .k { font-size: .62rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.tr-fact .v { margin-top: 7px; font-size: .92rem; font-weight: 400; color: var(--white); line-height: 1.5; }

/* the paper body */
.tr-body, .lg-body, .reading {
  --bg: var(--paper);
  --fg: var(--ink);
  --fg-2: var(--ink-2);
  --fg-3: var(--ink-3);
  --rule: rgba(16, 26, 51, .13);
  --rule-2: rgba(16, 26, 51, .26);
  --accent: var(--gold-ink);
  --em: #6e4a17;
  --link: var(--blue-2);
  --surface: #fbf8f1;
  --surface-2: #fffdf8;
  color-scheme: light;
  background: var(--paper);
  color: var(--ink-2);
  padding: clamp(40px, 5vw, 72px) 0 clamp(48px, 6vw, 88px);
}
.tr-sec, .lg-sec { margin-top: 48px; scroll-margin-top: calc(var(--hdr) + 24px); }
.tr-sec:first-child, .lg-sec:first-child { margin-top: 0; }
.tr-sec > h2, .lg-sec > h2 {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
  font-size: clamp(1.2rem, 1.05rem + .5vw, 1.55rem);
  font-weight: 400;
  letter-spacing: -.02em;
  color: var(--ink);
}
.tr-sec h3, .lg-sec h3 { margin-top: 28px; font-size: 1.02rem; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.tr-sec p, .lg-sec p { margin-top: 14px; font-size: 1rem; line-height: 1.82; color: var(--ink-2); }
.tr-sec a, .lg-sec a, .reading a { color: var(--blue-2); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(29, 78, 216, .3); }
.tr-sec a:hover, .lg-sec a:hover, .reading a:hover { text-decoration-color: currentColor; }
.tr-sec strong, .tr-sec b, .lg-sec strong, .lg-sec b { font-weight: 600; color: var(--ink); }
.tr-sec ul, .tr-sec ol, .lg-sec ul, .lg-sec ol { margin-top: 14px; list-style: none; }
.tr-sec ul li, .tr-sec ol li, .lg-sec li { position: relative; padding: 6px 0 6px 24px; font-size: .98rem; line-height: 1.75; color: var(--ink-2); }
.tr-sec ul li::before, .lg-sec li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-ink); opacity: .7; }
.tr-sec ol { counter-reset: steps; }
.tr-sec ol li { padding-left: 34px; counter-increment: steps; }
.tr-sec ol li::before { content: counter(steps); position: absolute; left: 0; top: 8px; width: 22px; height: 22px; border: 1px solid rgba(133, 96, 31, .4); border-radius: 6px; background: none; color: var(--gold-ink); font-size: .72rem; font-weight: 600; display: grid; place-items: center; opacity: 1; }
.lg-sec ol.lg-num { counter-reset: n; }
.lg-sec ol.lg-num > li { padding-left: 32px; counter-increment: n; }
.lg-sec ol.lg-num > li::before { content: counter(n) ")"; left: 0; top: 6px; width: auto; height: auto; border-radius: 0; background: none; color: var(--ink-3); font-size: .86rem; opacity: 1; font-variant-numeric: tabular-nums; }
.lg-sec ol.lg-alpha { counter-reset: a; }
.lg-sec ol.lg-alpha > li { padding-left: 32px; counter-increment: a; }
.lg-sec ol.lg-alpha > li::before { content: "(" counter(a, lower-alpha) ")"; left: 0; top: 6px; width: auto; height: auto; border-radius: 0; background: none; color: var(--ink-3); font-size: .84rem; opacity: 1; }
.lg-def { margin-top: 14px; }
.lg-def div { padding: 12px 0; border-top: 1px solid var(--rule); }
.lg-def div:first-child { border-top: 0; padding-top: 4px; }
.lg-def dt { font-size: .94rem; font-weight: 600; color: var(--ink); }
.lg-def dd { margin-top: 5px; font-size: .96rem; line-height: 1.78; color: var(--ink-2); }
/* tables on paper */
.tr-tablewrap, .lg-scroll, .hb-tablewrap { margin-top: 18px; overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--r); background: var(--surface-2); }
table.tr-table, .lg-tbl, .hb-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.tr-table { min-width: 560px; }
table.tr-table th, .lg-tbl thead th, .hb-table th {
  padding: 12px 15px; text-align: left; white-space: nowrap;
  font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); background: var(--paper-2); border-bottom: 1px solid var(--rule);
}
table.tr-table td, .lg-tbl td, .lg-tbl th, .hb-table td { padding: 12px 15px; border-bottom: 1px solid var(--rule); color: var(--ink-2); line-height: 1.62; vertical-align: top; text-align: left; }
.lg-tbl td:first-child { color: var(--ink); font-weight: 500; white-space: nowrap; }
table.tr-table tr:last-child td, .lg-tbl tbody tr:last-child td, .hb-table tr:last-child td { border-bottom: 0; }
table.tr-table td b { color: var(--ink); font-weight: 600; }
/* notes, placeholders, cross-links */
.tr-note, .lg-note { margin-top: 30px; padding: 20px 22px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--surface-2); }
.tr-note h4 { font-size: .98rem; font-weight: 600; color: var(--ink); }
.tr-note p, .lg-note p { margin-top: 9px; font-size: .95rem; line-height: 1.75; color: var(--ink-2); }
.lg-note p:first-child { margin-top: 0; }
.lg-ph { padding: 1px 7px; border: 1px solid rgba(133, 96, 31, .35); border-radius: 6px; background: rgba(227, 184, 119, .16); color: #6e4a17; font-size: .86em; font-weight: 500; }
.lg-also { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--rule); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lg-also a { display: block; padding: 16px 18px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--surface-2); text-decoration: none; transition: border-color .3s; }
.lg-also a:hover { border-color: var(--rule-2); }
.lg-also b { display: block; font-size: .96rem; font-weight: 600; color: var(--ink); }
.lg-also span { display: block; margin-top: 4px; font-size: .84rem; line-height: 1.55; color: var(--ink-3); }
/* article furniture */
.ar-faq { margin-top: 10px; }
.ar-cta { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ar-cards { margin-top: 26px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.ar-card { display: block; padding: 18px 20px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--surface-2); text-decoration: none !important; transition: border-color .3s, transform .3s var(--ease); }
.ar-card:hover { border-color: var(--rule-2); transform: translateY(-2px); }
.ar-card .k { font-size: .62rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.ar-card h3 { margin-top: 8px; font-size: 1rem; font-weight: 600; color: var(--fg); line-height: 1.4; }
.ar-card p { margin-top: 8px; font-size: .88rem; line-height: 1.65; color: var(--fg-2); }
.ar-crumbs { font-size: .78rem; color: var(--faint); }
.ar-crumbs a { color: var(--faint); text-decoration: none; font-weight: 400; }
.ar-crumbs a:hover { color: var(--white); }
.ar-crumbs span { margin: 0 7px; opacity: .6; }
.ar-related { padding: 8px 0 56px; background: var(--paper); }
.ar-related-h { padding-bottom: 12px; border-bottom: 1px solid var(--rule); font-size: 1.1rem; font-weight: 500; color: var(--ink); }
.ar-related .ar-cards { margin-top: 18px; }
.tr-sec.gl h3 { margin-top: 32px; scroll-margin-top: calc(var(--hdr) + 24px); }
.tr-sec.gl p.aka { margin-top: 6px; font-size: .88rem; color: var(--ink-3); }
.tr-sec.gl p.aka em { font-style: normal; font-weight: 600; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.tr-figwrap { padding-top: 0; padding-bottom: 0; }
.tr-figure { margin: 0 0 28px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--rule); background: var(--surface-2); }
.tr-figure img { width: 100%; height: auto; }
/* handbook blocks: tint and hairline, never a coloured side strip */
.hb-pull { margin: 24px 0; padding: 20px 24px; border: 1px solid rgba(133, 96, 31, .3); border-radius: var(--r); background: rgba(227, 184, 119, .12); font-family: var(--serif); font-style: italic; font-size: 1.32rem; line-height: 1.45; color: var(--ink); font-weight: 500; }
.hb-aside strong { display: block; margin-bottom: 4px; color: var(--ink); }
.hb-fig figcaption { padding: 10px 14px 12px; font-size: .88rem; color: var(--ink-3); background: var(--surface-2); }
.hb-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 18px 0 22px; }
.hb-card { padding: 16px 18px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--surface-2); }
.hb-card h4 { margin: 0 0 6px; font-size: 1rem; color: var(--ink); }
.hb-card p { margin: 0 !important; font-size: .94rem; line-height: 1.55; color: var(--ink-2); }
.hb-card.blue { background: #eef2fb; border-color: #cfd9f0; }
.hb-card.green { background: #edf6ef; border-color: #cde3d3; }
.hb-card.amber { background: #faf1df; border-color: #ecd9b0; }
.hb-card.red { background: #fbefec; border-color: #efd0c9; }
.hb-card.purple { background: #f3effa; border-color: #ddd3ef; }
.hb-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 18px 0 22px; }
.hb-stat { padding: 18px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--surface-2); color: var(--ink); }
.hb-stat .big { font-size: 1.9rem; font-weight: 300; letter-spacing: -.03em; line-height: 1.05; color: var(--ink); }
.hb-stat .lab { margin-top: 6px; font-size: .88rem; line-height: 1.45; color: var(--ink-3); }
.hb-bars { margin: 18px 0 22px; padding: 16px 18px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--surface-2); }
.hb-bars-t { margin-bottom: 10px; font-weight: 600; color: var(--ink); }
.hb-bar { display: grid; grid-template-columns: 1fr 2fr auto; gap: 12px; align-items: center; margin: 6px 0; font-size: .9rem; color: var(--ink-2); }
.hb-bar .track { height: 6px; border-radius: 3px; background: rgba(16, 26, 51, .08); overflow: hidden; }
.hb-bar .fill { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #8fb2ff, var(--blue-2)); }
.hb-bar .val { color: var(--ink-3); }
.hb-nav { display: flex; justify-content: space-between; gap: 16px; margin: 32px 0 8px; font-weight: 600; }
.hb-nav a { color: var(--blue-2); text-decoration: none; }
.hb-grid .hb-chapter img { width: 100%; height: auto; border-radius: var(--r); margin-bottom: 12px; }
@media (max-width: 760px) {
  .lg-toc ol, .tr-toc ol { columns: 1; }
  .tr-sec p, .lg-sec p, .tr-sec ul li, .tr-sec ol li, .lg-sec li { font-size: .94rem; line-height: 1.76; }
  .lg-also { grid-template-columns: minmax(0, 1fr); }
  .hb-bar { grid-template-columns: 1fr; gap: 4px; }
  .hb-nav { flex-direction: column; }
}

/* --- round 2 (24 Nov 2026): the article shell and legal pages. Additive only:
   these selectors exist only on article / legal pages. --- */
/* a hero inside <main> still slides under the transparent header */
.hdr + main > :is(.hero, .tr-hero, .lg-hero):first-child { margin-top: calc(-1 * var(--hdr)); }
.hdr:has(+ :is(.tr-hero, .lg-hero)):not(.scrolled),
.hdr:has(+ main > :is(.hero, .tr-hero, .lg-hero):first-child):not(.scrolled) {
  background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none;
}
/* an optional quiet photo behind an article hero (about-carelo) */
.tr-hero, .lg-hero { isolation: isolate; overflow: hidden; }
.tr-hero > .hero-bg, .lg-hero > .hero-bg { z-index: -1; }
.tr-hero > .hero-bg img, .lg-hero > .hero-bg img { object-position: var(--focal, 70% 40%); }
.tr-hero > .hero-bg::after, .lg-hero > .hero-bg::after {
  background:
    linear-gradient(90deg, rgba(5, 12, 28, .95) 0%, rgba(5, 12, 28, .86) 45%, rgba(5, 12, 28, .5) 80%, rgba(5, 12, 28, .4) 100%),
    linear-gradient(0deg, var(--night) 0, rgba(5, 12, 28, 0) 40%);
}
.tr-hero.has-photo { padding-bottom: clamp(56px, 7vw, 104px); }
.tr-hero .tr-col, .lg-hero .lg-col { position: relative; }
.tr-hero .tr-tag { margin-top: 18px !important; }
.tr-hero .ar-crumbs a:hover { color: var(--white); }
/* paper sections contain their children's margins (no night showing between them) */
.tr-body, .lg-body, .reading { display: flow-root; }
/* paper sections that follow each other read as one column */
.tr-body + .tr-body:not(.ar-related) { padding-top: 0; }
.tr-body.tr-figwrap { padding-top: clamp(32px, 4vw, 56px); }
.tr-body.ar-related { padding-top: 0; }
.ar-related .tr-col { padding-top: 8px; }
.tr-sec.ar-faq { max-width: none; border-top: 0; margin-top: 48px; }
.tr-sec.ar-faq > h2 { margin-bottom: 4px; }
.tr-sec .tr-figure, .tr-sec .hb-fig { margin: 26px 0; }
.tr-sec .hb-pull { margin: 26px 0; }
.tr-note.hb-aside strong { margin-bottom: 6px; }
.hb-card.violet { background: #f1eef9; border-color: #dcd4ee; }
.hb-card.teal { background: #ebf5f3; border-color: #c8e2dd; }
.hb-nav { flex-wrap: wrap; }
.hb-nav .hb-next { margin-left: auto; text-align: right; }
.hb-nav a:hover { text-decoration: underline; }
.ar-card img { display: block; width: 100%; height: auto; border-radius: var(--r-sm); margin-bottom: 14px; }
.ar-cards .ar-card { font-weight: 400; }
.ar-card:hover h3 { color: var(--blue-2); }
/* facts strip placed in the paper body (about-carelo) instead of the night hero */
.tr-body .tr-fact { border-color: var(--rule); background: var(--surface-2); }
.tr-body .tr-fact .k { color: var(--accent); }
.tr-body .tr-fact .v { color: var(--ink); }
/* legal pages: DPA annexes, annex lines in the contents, two-column tables */
.lg-toc li.ax { padding-left: 0; }
.lg-toc li.ax::before { content: ""; }
.lg-toc li.ax a { color: var(--gold); }
.lg-annex { margin-top: 64px; padding-top: 36px; border-top: 1px solid var(--rule-2); }
.lg-annex > h2 { border-bottom: 0; padding-bottom: 0; font-size: clamp(1.3rem, 1.1rem + .6vw, 1.7rem); font-weight: 300; }
.lg-annex > h2 span { display: block; margin-bottom: 10px; font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.lg-tbl td:first-child { white-space: normal; min-width: 9em; }
.lg-tbl.two td:first-child, .lg-tbl.two th:first-child { width: 32%; }
.lg-body .lg-col > .lg-sec:first-child { margin-top: 0; }
@media (max-width: 760px) {
  /* founder's rule: cards in two columns on a phone */
  .ar-cards, .tr-facts, .hb-cards, .hb-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ar-card { padding: 14px 13px; }
  .ar-card h3 { font-size: .88rem; }
  .ar-card p { font-size: .78rem; line-height: 1.55; }
  .ar-card .k { font-size: .58rem; }
  .tr-fact { padding: 12px 12px; }
  .tr-fact .v { font-size: .82rem; }
  .hb-card { padding: 13px 13px; }
  .hb-card h4 { font-size: .9rem; }
  .hb-card p { font-size: .82rem; }
  .hb-stat { padding: 14px; }
  .hb-stat .big { font-size: 1.35rem; }
  .hb-stat .lab { font-size: .78rem; }
  .hb-nav .hb-next { margin-left: 0; text-align: left; }
  .tr-hero h1.tr-h1, .lg-hero h1.lg-h1 { font-size: clamp(1.85rem, 7.4vw, 2.3rem); }
}


/* =====================================================================
   35  LEGACY CLASS ALIASES — still written inside article bodies
   (_articles/** use .btn-demo and .btn-mig in their CTA rows)
   ===================================================================== */
.btn-demo, .btn-mig {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 22px;
  border-radius: var(--r);
  font-size: .92rem; font-weight: 500; text-decoration: none !important;
  white-space: nowrap;
  transition: border-color .3s, background-color .3s, transform .3s var(--ease);
}
.btn-demo { color: #fff !important; background: linear-gradient(180deg, #2f6bff, #1f50de); box-shadow: 0 12px 30px -14px rgba(47, 107, 255, .85); }
.btn-demo:hover { transform: translateY(-1px); }
.btn-mig { color: var(--fg) !important; border: 1px solid var(--rule-2); background: transparent; }
.btn-mig:hover { border-color: var(--fg-3); }
@media (max-width: 760px) { .btn-demo, .btn-mig { white-space: normal; min-height: 48px; text-align: center; } }


/* =====================================================================
   36  UTILITIES
   ===================================================================== */
.vh, .sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
/* aspect boxes: the picture inside fills the box */
.ar-16x9 { aspect-ratio: 16 / 9; } .ar-3x2 { aspect-ratio: 3 / 2; } .ar-4x3 { aspect-ratio: 4 / 3; }
.ar-1x1 { aspect-ratio: 1; } .ar-4x5 { aspect-ratio: 4 / 5; } .ar-3x4 { aspect-ratio: 3 / 4; } .ar-2x3 { aspect-ratio: 2 / 3; } .ar-21x9 { aspect-ratio: 21 / 9; }
:is(.ar-16x9, .ar-3x2, .ar-4x3, .ar-1x1, .ar-4x5, .ar-3x4, .ar-2x3, .ar-21x9) { overflow: hidden; }
:is(.ar-16x9, .ar-3x2, .ar-4x3, .ar-1x1, .ar-4x5, .ar-3x4, .ar-2x3, .ar-21x9) > picture,
:is(.ar-16x9, .ar-3x2, .ar-4x3, .ar-1x1, .ar-4x5, .ar-3x4, .ar-2x3, .ar-21x9) > picture img,
:is(.ar-16x9, .ar-3x2, .ar-4x3, .ar-1x1, .ar-4x5, .ar-3x4, .ar-2x3, .ar-21x9) > img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focal, center); }
/* object-position helpers (or set --focal: 70% 40% on the element) */
.op-top img, img.op-top { object-position: 50% 0 !important; }
.op-bottom img, img.op-bottom { object-position: 50% 100% !important; }
.op-left img, img.op-left { object-position: 0 50% !important; }
.op-right img, img.op-right { object-position: 100% 50% !important; }
.op-center img, img.op-center { object-position: 50% 50% !important; }
/* icons: inline SVG <use> from the page sprite */
.ic { display: inline-block; flex: none; width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.ic.s14 { width: 14px; height: 14px; } .ic.s16 { width: 16px; height: 16px; } .ic.s24 { width: 24px; height: 24px; } .ic.s32 { width: 32px; height: 32px; stroke-width: 1.3; }
.ic.gold { color: var(--gold); } .ic.blue { color: var(--blue-soft); }
/* far sections: skip rendering until near (add to long, below-the-fold sections) */
.cv { content-visibility: auto; contain-intrinsic-size: auto 900px; }
.nowrap { white-space: nowrap; }
.tabnum { font-variant-numeric: tabular-nums; }
.gold-text { color: var(--gold); }
.hairline { height: 1px; border: 0; margin: 0; background: var(--rule); }
.hide-phone { }
.only-phone { display: none !important; }
@media (max-width: 760px) { .hide-phone { display: none !important; } .only-phone { display: revert !important; } }


/* =====================================================================
   37  MOTION: REVEAL, DRAW, POINTER LIGHT, REDUCED MOTION
   Content is visible without script. html.js (set in <head>) hides
   .rv until site.js adds .in. If site.js never runs, a failsafe
   shows everything after 4 s.
   ===================================================================== */
html.js .rv {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease);
  animation: rv-failsafe 0s linear 4s forwards;
}
html.js-live .rv { animation: none; }
html.js .rv.in { opacity: 1; transform: none; }
html.js .rv.d1 { transition-delay: 90ms; }
html.js .rv.d2 { transition-delay: 180ms; }
html.js .rv.d3 { transition-delay: 270ms; }
html.js .stagger > .rv:nth-child(2) { transition-delay: 70ms; }
html.js .stagger > .rv:nth-child(3) { transition-delay: 140ms; }
html.js .stagger > .rv:nth-child(4) { transition-delay: 210ms; }
html.js .stagger > .rv:nth-child(5) { transition-delay: 280ms; }
html.js .stagger > .rv:nth-child(6) { transition-delay: 350ms; }
html.js .stagger > .rv:nth-child(7) { transition-delay: 70ms; }
html.js .stagger > .rv:nth-child(8) { transition-delay: 140ms; }
@keyframes rv-failsafe { to { opacity: 1; transform: none; } }

/* a gold hairline that draws itself */
.draw { display: block; height: 1px; background: linear-gradient(90deg, var(--gold), rgba(227, 184, 119, 0)); transform-origin: 0 50%; }
html.js .draw.rv { opacity: 1; transform: scaleX(0); transition: transform 1.4s var(--ease); }
html.js .draw.rv.in { transform: none; }

/* scroll-driven touch: hero photos settle slowly as the page scrolls */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 761px) {
    .hero.photo .hero-bg img { animation: hero-drift linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
    @keyframes hero-drift { from { transform: scale(1); } to { transform: scale(1.06) translateY(3%); } }
  }
}

/* a soft light that follows the pointer on cards (site.js sets --mx / --my) */
.feat, .tile.text, .tile.count, .p-card, .step, .vs.lit, .addon { --mx: 50%; --my: -200px; }
.feat::before, .tile.text::before, .tile.count::before, .p-card::before, .step::after, .vs.lit::after, .addon::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(143, 178, 255, .09), transparent 62%);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.addon { position: relative; }
.feat > *, .tile.text > *, .tile.count > *, .p-card > *, .step > *, .addon > * { position: relative; z-index: 1; }
.p-card > .p-pop { position: absolute; z-index: 2; }
.feat:hover::before, .tile.text:hover::before, .tile.count:hover::before, .p-card:hover::before, .step:hover::after, .vs.lit:hover::after, .addon:hover::before { opacity: 1; }
.paper .feat::before, .paper .step::after { background: radial-gradient(360px circle at var(--mx) var(--my), rgba(29, 78, 216, .06), transparent 62%); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  html.js .rv, html.js .draw.rv { opacity: 1; transform: none; }
  html.js .story.rv > li::before, html.js .timeline.rv::before, html.js .statement.rv .line { transform: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { flex-wrap: wrap; justify-content: center; width: auto; white-space: normal; row-gap: 10px; }
  .marquee-track > [aria-hidden="true"] { display: none; }
  .slides > :not(:first-child) { display: none; }
}


/* =====================================================================
   38  LAPTOP-SHORT AND LARGE-SCREEN STEPS
   ===================================================================== */
/* 13–14" laptops: 1280–1536 wide but only ~650–800 high */
@media (min-width: 1080px) and (max-height: 820px) {
  :root { --sec: clamp(60px, 6.4vw, 104px); --hdr: 66px; }
  h1, .h1 { font-size: clamp(2.25rem, 1rem + 3vw, 3.9rem); }
  .hero.photo { min-height: max(600px, 100svh); }
  .hero.photo .hero-in { padding-top: calc(var(--hdr) + 28px); padding-bottom: 72px; }
  .hero .lead { margin-top: 18px; font-size: 1.05rem; }
  .hero .btns { margin-top: 26px; }
  .hero .proof { margin-top: 20px; }
  .hero.scene .hero-in { min-height: max(600px, 100svh); padding-top: calc(var(--hdr) + 16px); padding-bottom: 40px; }
  .hero.scene :is(h1, .h1) { font-size: clamp(2.1rem, .9rem + 2.7vw, 3.6rem); }
  .hero-cards { bottom: 40px; }
  .hero-cards .glass:nth-child(2) { margin-bottom: 24px; }
  .sh { margin-bottom: clamp(28px, 3.4vw, 48px); }
}

/* large screens: type one step up, the column holds at 1360px */
@media (min-width: 1680px) {
  html { font-size: 106.25%; }
}
@media (min-width: 1900px) {
  html { font-size: 112.5%; }
  :root { --gut: 64px; }
}


/* =====================================================================
   39  ROUND 3 ADDITIONS (24 Nov 2026) — from the builders' shared-system
   requests. Additive: new modifiers, and phone-only chip-line wrapping.
   ===================================================================== */

/* number row: four that stays four on a tablet; six (three on a tablet) */
.numbers.four { --n: 4; }
.numbers.six { --n: 6; }
.numbers.six .stat { padding-inline: clamp(14px, 1.5vw, 28px); }
.numbers.six .stat > b { font-size: clamp(2.5rem, 1.6rem + 2.2vw, 4.2rem); }
@media (max-width: 1079px) and (min-width: 761px) {
  .numbers.four { --n: 4; }
  .numbers.four .stat { border-top: 0; }
  .numbers.four .stat + .stat { border-left: 1px solid var(--rule); }
  .numbers.six { --n: 3; }
}

/* device scene, close crop: the box crops the photo round the laptop so the
   real screen reads. --z is the zoom (1.5 default, 1.3 to 1.8 sensible);
   the box keeps 16:10 (set --ar to change it). Laptop scene only. */
.device.laptop.close {
  --z: 1.5;
  position: relative;
  aspect-ratio: var(--ar, 16 / 10);
  overflow: hidden;
  border-radius: var(--r-lg);
  -webkit-mask-image: radial-gradient(ellipse 78% 82% at 50% 50%, #000 66%, transparent 100%);
          mask-image: radial-gradient(ellipse 78% 82% at 50% 50%, #000 66%, transparent 100%);
}
.device.laptop.close > picture {
  position: absolute;
  width: calc(var(--z) * 100%);
  height: auto;
  left: calc(50% - var(--z) * 50%);
  top: calc(50% - var(--z) * 48.37%);
}
.device.laptop.close > picture img { -webkit-mask-image: none; mask-image: none; }
.device.laptop.close .screen {
  left: calc(50% - var(--z) * 23.1%);
  top: calc(50% - var(--z) * 22.34%);
  width: calc(var(--z) * 46.1%);
  height: calc(var(--z) * 44.69%);
}

/* chip line on a phone: a wrapped line never starts with a gold dot —
   the dot trails the previous fact instead of leading the next one */
@media (max-width: 760px) {
  .chipline > * + *::before { content: none; }
  .chipline > :not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 3px; height: 3px;
    margin: 0 9px 2px;
    border-radius: 50%;
    vertical-align: middle;
    background: var(--accent);
  }
}


/* =====================================================================
   39  POLISH (final art-director pass, 24 Nov 2026). Additive only.
   ===================================================================== */
/* phone: small links and the header button get a 44px tap area
   without moving anything (an invisible hit box round them) */
@media (max-width: 760px) {
  .more, .brand, .hdr-act .btn.sm { position: relative; }
  .more::before, .brand::before, .hdr-act .btn.sm::before { content: ""; position: absolute; inset: -10px -6px; }
  .hdr-act .btn.sm::before { inset: -5px -2px; }
  .dock a.dock-link { align-self: stretch; display: flex; align-items: center; }
}
/* phone: the hero photo is a little shorter so the hero buttons sit clear
   of the chat button on a 390x844 first screen */
@media (max-width: 760px) {
  .hero.photo .hero-bg, .hero.photo.right .hero-bg { height: var(--hero-ph, min(66svh, 560px)); }
  .hero.photo .hero-in { padding-top: calc(var(--hero-ph, min(66svh, 560px)) - 190px); }
}
/* phone: a feature grid with an odd count lets its last card run the full
   width, so a two-column grid never ends on a lone half card */
@media (max-width: 760px) {
  .features > .feat:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
/* reading pages: a card list never ends on a lone card. The first card
   (on the guides hub, the Care Handbook) takes two columns when the count
   would leave one over; a facts strip in the paper body keeps four across */
@media (min-width: 761px) {
  .ar-cards > .ar-card:first-child:nth-last-child(3n+2) { grid-column: span 2; }
}
@media (max-width: 760px) {
  .ar-cards > .ar-card:first-child:nth-last-child(2n+1) { grid-column: 1 / -1; }
}
@media (min-width: 1080px) {
  .tr-body .tr-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* chip line at every width: the dot trails the previous fact, so a line
   that wraps (a long hero proof line on a laptop) never starts with a dot */
@media (min-width: 761px) {
  .chipline > * + *::before { content: none; }
  .chipline > :not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 3px; height: 3px;
    margin: 0 12px 2px;
    border-radius: 50%;
    vertical-align: middle;
    background: var(--accent);
  }
}


/* ==========================================================================
   ALIVE LAYER (24 Nov 2026): gentle movement on every page.
   Photographs drift very slowly; a line of light travels round each real
   screen. Additive only; switched off when the visitor asks for less motion.
   ========================================================================== */
@property --hxa { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes hxring { to { --hxa: 360deg; } }
@keyframes alive-drift { from { transform: scale(1.001); } to { transform: scale(1.08) translate(-1.2%, -1%); } }
@media (prefers-reduced-motion: no-preference) {
  .pcard img, .closing-media img, .tile.photo img, .story .pic img { animation: alive-drift 24s ease-in-out infinite alternate; }
  .pcard:nth-child(2n) img, .story > li:nth-child(2n) .pic img { animation-delay: -8s; animation-duration: 28s; }
  .frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--hxa, 0deg), transparent 0 74%, rgba(143, 178, 255, .85) 87%, rgba(227, 184, 119, .8) 94%, transparent); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: hxring 8s linear infinite; pointer-events: none; z-index: 2; }
}

/* ==========================================================================
   PHONE READABILITY (24 Nov 2026): small labels one step larger on a phone,
   and numbered steps in two columns like every other card (never a single pile).
   ========================================================================== */
@media (max-width: 760px) {
  .eyebrow { font-size: .75rem; }
  .k, .glass .k, .pcard .k, .tile .k { font-size: .7rem; }
  .oa-store small, .oa-store span small { font-size: .66rem; }
  .steps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .steps > * { min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 14px; }
  .steps > * > * { margin: 0; }
  .steps > *:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* no bottom bar on phones (founder, 24 Nov 2026): Book Demo is already in the header */
.dock { display: none !important; }
body.has-dock, body { --dock-h: 0px; }
