/* CSOL Tech
   Look: Apple's marketing chassis (white, parchment and near-black bands, one
   blue for every action, pill buttons, tight display type, 17px body), with
   a header that turns solid once you scroll, two-tone headlines
   ("Title.<span>Second line.</span>") and scroll-driven film sections
   (stack.js, rebuild.js). */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --card: #ffffff;
  --tile: #1d1d1f;          /* dark bands */
  --tile-raised: #1d1d1f;   /* dark cards; lifts off a black page in dark mode */
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --hair: rgba(0, 0, 0, 0.1);
  --accent: #0066cc;
  --accent-hover: #0071e3;
  --on-accent: #ffffff;
  --btn-bg: #0066cc;        /* filled buttons; stays deep blue with white text in dark mode */
  --btn-bg-hover: #0071e3;
  --on-dark: #f5f5f7;
  --on-dark-muted: #a1a1a6;
  --accent-on-dark: #2997ff;
  --field-bg: #ffffff;
  --field-border: #86868b;
  --error: #d70015;
  --header-bg: rgba(255, 255, 255, 0.72);
  --shadow-product: 3px 5px 30px rgba(0, 0, 0, 0.22);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, "Segoe UI", sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, "Segoe UI", sans-serif;

  --radius-card: 18px;
  --radius-field: 12px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 7vw, 104px);
  --header-h: 56px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-alt: #161617;
    --card: #1d1d1f;
    --tile: #1d1d1f;
    --ink: #f5f5f7;
    --muted: #a1a1a6;
    --hair: rgba(255, 255, 255, 0.14);
    --accent: #2997ff;
    --accent-hover: #47a6ff;
    --on-accent: #ffffff;
    --btn-bg: #0071e3;
    --btn-bg-hover: #0077ed;
    --field-bg: #000000;
    --field-border: #8e8e93;
    --error: #ff6961;
    --header-bg: rgba(22, 22, 23, 0.72);
    --shadow-product: 3px 5px 30px rgba(0, 0, 0, 0.6);
    --tile-raised: #2c2c2e;
    color-scheme: dark;
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 0;   /* sections carry their own top padding; landing flush keeps the header off the section above */
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a, button, label, input, textarea, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
/* a control reached with the keyboard is never parked under the fixed header */
a, button, summary, input, textarea, [tabindex] { scroll-margin-top: calc(var(--header-h) + 16px); }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 600; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: color-mix(in srgb, var(--accent) 25%, transparent); }

.skip {
  position: fixed; top: -120px; left: 8px; z-index: 100;
  padding: 10px 16px; border-radius: 9999px;
  background: var(--btn-bg); color: var(--on-accent); text-decoration: none;
}
.skip:focus { top: 8px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

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

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 9999px;
  font: inherit; font-weight: 400; letter-spacing: -0.012em; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.15s var(--ease);
}
.btn:active { transform: scale(0.95); }
.btn-primary { background: var(--btn-bg); color: var(--on-accent); }
.btn-primary:hover { background: var(--btn-bg-hover); }
.btn-light { background: #f5f5f7; color: #1d1d1f; }
.btn-light:hover { background: #ffffff; }
.i { width: 1em; height: 1em; fill: currentColor; flex: none; }
.i-sm { width: 16px; height: 16px; }
.btn-ghost { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-ghost:hover { background: color-mix(in srgb, var(--accent) 8%, transparent); }
.btn-lg { min-height: 48px; padding: 12px 26px; font-size: 17px; }
.btn-sm { min-height: 34px; padding: 6px 16px; font-size: 14px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: progress; }

.link {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--accent); text-decoration: none;
}
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
p > .link { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ---------- header (see-through at the top, frosted once scrolled) ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-solid, .site-header.is-open {
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 var(--hair);
}
.site-header.is-open { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header.on-dark:not(.is-open) { color: var(--on-dark); }
.site-header.on-dark.is-solid:not(.is-open) { background: rgba(22, 22, 23, 0.72); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1); }
.header-inner {
  height: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 24px;
}
.brand {
  font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -0.02em;
  text-decoration: none; color: inherit;
}
.brand { display: inline-flex; align-items: center; }
.brand-mark { width: 24px; height: 24px; margin-right: 8px; flex: none; }
.brand span { margin-left: 4px; font-weight: 400; opacity: 0.62; }
.nav { display: flex; gap: 32px; margin: 0 auto; }
.nav a { font-size: 14px; text-decoration: none; opacity: 0.8; transition: opacity 0.2s; }
.nav a:hover { opacity: 1; }
/* the section on screen (main.js); a line as well as the weight of the ink, so it is not told by shade alone */
.nav a[aria-current] { opacity: 1; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 7px; }
.header-cta { flex: none; }
.only-narrow { display: none; }
.menu-btn {
  display: none; flex: none; width: 44px; height: 44px; margin-right: -10px; padding: 0;
  border: 0; background: transparent; color: inherit; cursor: pointer;
  position: relative;
}
.menu-btn span {
  position: absolute; left: 13px; width: 18px; height: 1.5px; border-radius: 2px; background: currentColor;
  transition: transform 0.3s var(--ease);
}
.menu-btn span:first-child { top: 18px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu {
  display: flex; flex-direction: column;
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
  padding: 8px var(--gutter) 28px;
  background: var(--bg);
  box-shadow: 0 1px 0 var(--hair);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  padding: 12px 0; font-family: var(--font-display); font-size: 28px; font-weight: 600; letter-spacing: -0.02em;
  text-decoration: none;
}
.mobile-menu a[aria-current] { color: var(--accent); }

@media (max-width: 760px) {
  .nav { display: none; }
  .header-cta { margin-left: auto; }
  .menu-btn { display: block; }
  .only-wide { display: none; }
  .only-narrow { display: inline; }
}

/* ---------- section scaffolding ---------- */
.band { padding: var(--section) 0; background: var(--bg); }
.band-alt { background: var(--bg-alt); }
.band-dark { background: var(--tile); color: var(--on-dark); }
@media (prefers-color-scheme: dark) {
  /* on a black page the dark band needs its own light to stand apart */
  .band-dark { background: radial-gradient(120% 90% at 50% 120%, rgba(41, 151, 255, 0.2), transparent 60%), #1d1d1f; }
}
.h-section {
  font-size: clamp(32px, 3.6vw + 8px, 56px);
  line-height: 1.07; letter-spacing: -0.028em;
  max-width: 24ch;
}
.h-section span { display: block; color: var(--muted); }
.h-section.on-dark span { color: var(--on-dark-muted); }
.band .h-section + * { margin-top: clamp(40px, 5vw, 64px); }

/* ---------- hero (the opening frame of the stack section) ---------- */
.hero-copy {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding-top: calc(var(--header-h) + clamp(32px, 8vh, 96px));
  color: var(--ink);
  will-change: opacity, transform;
}
.hero-title {
  font-size: clamp(40px, 5.6vw + 8px, 84px);
  line-height: 1.04; letter-spacing: -0.035em;
}
.hero-title span { display: block; color: var(--muted); }
.hero-lede {
  margin-top: 24px; max-width: 42ch; text-wrap: balance;
  font-size: clamp(19px, 1.1vw + 12px, 24px); line-height: 1.38; letter-spacing: -0.016em;
  color: var(--muted);
}
.hero-cta { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.hero-trust {
  list-style: none; margin: 18px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0;
  font-size: 14px; color: var(--muted);
}
.hero-trust li + li::before { content: "·"; content: "·" / ""; margin: 0 10px; opacity: 0.6; }

/* hero entry */
@media (prefers-reduced-motion: no-preference) {
  .js .rise { opacity: 0; transform: translateY(18px); animation: rise 1s var(--ease) forwards; }
  .js .rise-2 { animation-delay: 0.08s; }
  .js .rise-3 { animation-delay: 0.16s; }
  .js .rise-4 { animation-delay: 0.28s; animation-duration: 1.3s; }
  @keyframes rise { to { opacity: 1; transform: none; } }

  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

@media print { .js .reveal, .js .rise { opacity: 1; transform: none; animation: none; } }

/* ---------- the stack: hero, then the scroll film ---------- */
.stack { position: relative; background: #000; color: var(--on-dark); }
/* the sticky frame opens white with the headline; stack.js darkens it to
   black as the stack moves into the film (always black in dark mode) */
.stack-sticky { position: relative; background: var(--bg); }
.stack-static { padding: var(--section) var(--gutter); }
.stack-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; max-width: 980px; }
.stack-list li { color: var(--on-dark-muted); }
.stack-list strong { color: var(--on-dark); font-weight: 600; }
@media (max-width: 640px) { .stack-list { grid-template-columns: 1fr; } }

/* without script the headline sits on its own screen, then the list */
.stack:not(.is-live):not(.is-still) .stack-sticky { min-height: 100vh; min-height: min(100svh, 1200px); padding-bottom: 40px; }

/* live: one tall section whose frame sticks; the first ~0.7 screens of
   scroll are the hand-off from hero to film, the rest is the film */
.stack.is-live { height: 300vh; }
.stack.is-live .stack-sticky { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; }
.stack.is-live .stack-static {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* still (reduced motion): the opening frame as a picture, then the list */
.stack.is-still .stack-sticky { height: 100vh; height: min(100svh, 1200px); overflow: hidden; }
.stack.is-still .st-copy, .stack.is-still .st-bar { display: none; }

.stack-stage { position: absolute; inset: 0; }
.st-scene { position: absolute; inset: 0; perspective: 2600px; }
.st-iso { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; }
.st-shadow {
  position: absolute; left: 0; top: 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.16), transparent);
  filter: blur(10px); pointer-events: none;
}
.st-bar { transition: opacity 0.2s linear; }
.st-copy {
  position: absolute; left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); top: 50%;
  width: min(470px, 34vw);
  display: flex; flex-direction: column; gap: 18px;
  transform: translateY(calc(-50% + var(--ty, 0px)));
  opacity: var(--op, 1);
  will-change: transform, opacity;
}
.st-words { display: flex; flex-direction: column; gap: inherit; }
.st-cta { align-self: flex-start; margin-top: 10px; visibility: hidden; opacity: 0; transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s; }
.st-cta.is-on { visibility: visible; opacity: 1; transition: opacity 0.3s var(--ease); }
.st-head {
  font-family: var(--font-display); font-size: clamp(34px, 3.4vw + 8px, 64px); font-weight: 600;
  line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance;
}
.st-body { font-size: clamp(17px, 0.6vw + 12px, 21px); line-height: 1.43; color: var(--on-dark-muted); max-width: 30ch; }
.st-slab {
  position: absolute; left: -250px; top: -160px; width: 500px; height: 320px;
  transform-style: preserve-3d;
  will-change: transform;
}
.st-front, .st-side { position: absolute; }
.st-front { left: 0; top: 100%; width: 100%; height: 16px; transform-origin: 50% 0; transform: rotateX(-90deg); border-radius: 0 0 6px 6px; }
.st-side { right: 100%; top: 0; width: 16px; height: 100%; transform-origin: 100% 50%; transform: rotateY(-90deg); border-radius: 6px 0 0 6px; }
.st-top {
  position: absolute; inset: 0; overflow: hidden;
  border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(140deg, #353538 0%, #222224 100%);
}
.st-top .st-light { position: absolute; inset: 0; background: linear-gradient(140deg, #ffffff 0%, #ececf0 100%); }
.st-top .st-lit {
  position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(120% 110% at 75% 20%, rgba(41, 151, 255, 0.22), transparent 60%), linear-gradient(140deg, #48484c 0%, #2c2c2f 100%);
}
.st-top .st-art {
  position: absolute; right: 30px; top: 78px; width: 200px; height: 155px;
  color: #f5f5f7; overflow: visible;
}
.st-top .st-mark {
  position: absolute; left: 34px; bottom: 26px;
  font-family: var(--font-display); font-size: 40px; font-weight: 600; letter-spacing: -0.02em;
  color: rgba(245, 245, 247, 0.92);
}
.st-top .st-mark span { margin-left: 8px; font-weight: 400; opacity: 0.55; }
.st-top img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
.st-top .st-inset { position: absolute; inset: 14px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.06); }
.st-top .st-name {
  position: absolute; left: 34px; bottom: 26px;
  font-family: var(--font-display); font-size: 38px; font-weight: 600; letter-spacing: -0.02em;
  color: rgba(245, 245, 247, 0.92);
}
.st-top .st-dim { position: absolute; inset: 0; background: #000; opacity: 0; }

.st-bar {
  position: absolute; left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); right: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); bottom: 28px;
  display: flex; gap: 6px;
}
.st-seg {
  flex: var(--w, 1) 1 0; min-width: 0;
  display: flex; flex-direction: column; gap: 10px;
  padding: 12px 0 8px; border: 0; background: transparent; color: #86868b;
  font: inherit; font-size: 13px; text-align: left; cursor: pointer;
}
.st-seg:hover { color: #c7c7cc; }
.st-seg.is-on { color: var(--on-dark); }
.st-track { position: relative; display: block; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.18); overflow: hidden; }
.st-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--on-dark); }
.st-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-seg:focus-visible { outline-color: var(--accent-on-dark); }

@media (max-width: 760px) {
  .st-copy { left: var(--gutter); right: var(--gutter); top: calc(var(--header-h) + 46%); bottom: auto; width: auto; transform: translateY(var(--ty, 0px)); gap: 10px; }
  .st-cta { margin-top: 6px; }
  .st-head { font-size: clamp(30px, 8vw, 40px); }
  .st-body { max-width: none; }
  .st-bar { left: var(--gutter); right: var(--gutter); bottom: 20px; }
  .st-label { display: none; }
  .st-seg { padding: 18px 0; }
}

/* ---------- demos ---------- */
.demos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.demo {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius-card); background: var(--card);
  text-decoration: none; color: inherit;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.demo:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1); }
.demo:active { transform: scale(0.99); }
.demo-shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; margin: 16px 16px 0; border-radius: 12px; background: var(--card); box-shadow: 0 1px 0 var(--hair); }
.demo-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform 0.8s var(--ease); }
.demo:hover .demo-shot img { transform: scale(1.03); }
.demo-copy { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 22px clamp(20px, 2vw, 28px) 26px; }
.demo-kicker { font-size: 14px; font-weight: 600; color: var(--accent); }
.demo h3 { font-size: clamp(22px, 1vw + 12px, 28px); line-height: 1.14; letter-spacing: -0.022em; }
.demo-copy > p:not(.demo-kicker) { color: var(--muted); max-width: 46ch; }
.demo .link { margin-top: auto; padding-top: 6px; }
.demo:hover .link { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .demos { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .demo-shot img { width: 185%; max-width: none; height: auto; object-fit: initial; }
}
@media (prefers-color-scheme: dark) { .demo:hover { box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5); } }
@media (prefers-reduced-motion: reduce) {
  .demo, .demo-shot img { transition: none; }
  .demo:hover, .demo:active, .demo:hover .demo-shot img { transform: none; }
}

/* ---------- services ---------- */
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 40px; }
.services li { display: flex; flex-direction: column; gap: 10px; padding-top: 24px; border-top: 1px solid var(--hair); }
.svc-kicker { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--accent); }
.svc-kicker .i { width: 22px; height: 22px; }
.services h3 { font-size: 24px; line-height: 1.15; letter-spacing: -0.022em; }
.services li > p:last-child { color: var(--muted); max-width: 40ch; }
@media (max-width: 900px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; gap: 28px; } .services h3 { font-size: 22px; } }

/* the tools we connect */
#integrations { scroll-margin-top: calc(var(--header-h) + 52px); }
.works { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 48px; margin-top: clamp(64px, 8vw, 104px); }
.works-head h3 { font-size: clamp(28px, 2vw + 12px, 40px); line-height: 1.1; letter-spacing: -0.028em; max-width: 14ch; }
.works-head p { margin-top: 16px; color: var(--muted); max-width: 36ch; }
.works-list { margin: 0; display: flex; flex-direction: column; }
.works-list > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--hair); }
.works-list > div:last-child { border-bottom: 1px solid var(--hair); }
.works-list dt { font-size: 14px; font-weight: 600; color: var(--muted); }
.works-list dd { margin: 0; }
.tools { list-style: none; margin: 0; padding: 0; line-height: 1.5; }
.tools li { display: inline-block; white-space: nowrap; }
.tools li:not(:last-child)::after { content: ","; }
.works-note { grid-column: 2; font-size: 14px; color: var(--muted); max-width: 62ch; }
@media (max-width: 900px) {
  .works { grid-template-columns: 1fr; }
  .works-note { grid-column: auto; }
}
@media (max-width: 560px) {
  .works-list > div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- industries (tabs) ---------- */
.ind-tabs {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 24px;
}
.ind-tab {
  min-height: 44px; padding: 10px 18px;
  border: 0; border-radius: 9999px;
  background: var(--bg-alt); color: var(--ink);
  font: inherit; font-size: 15px; white-space: nowrap; cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.15s var(--ease);
}
.ind-tab:hover { background: color-mix(in srgb, var(--ink) 10%, var(--bg-alt)); }
.ind-tab:active { transform: scale(0.95); }
.ind-tab[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.ind-panel {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px;
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--radius-card); background: var(--bg-alt);
}
.ind-panel + .ind-panel { margin-top: 20px; }
.js .ind-panel + .ind-panel { margin-top: 0; }
.ind-panel[hidden] { display: none; }
.ind-panel:focus-visible { outline-offset: 4px; }
.ind-name { grid-column: 1 / -1; margin-bottom: -32px; font-size: 14px; color: var(--muted); }
.js .ind-name { display: none; }
.ind-title { font-size: clamp(28px, 2vw + 12px, 40px); line-height: 1.1; letter-spacing: -0.028em; }
.ind-label { font-size: 14px; font-weight: 600; color: var(--muted); }
.ind-label-after { margin-top: 28px; color: var(--accent); }
.ind-before { margin-top: 6px; font-size: 19px; line-height: 1.42; letter-spacing: -0.014em; color: var(--muted); max-width: 30ch; }
.ind-label-after + .ind-title { margin-top: 8px; }
.ind-demo { margin-top: 24px; }
.ind-list { margin: 0; display: flex; flex-direction: column; }
.ind-list > div { padding: 20px 0; }
.ind-list > div:first-child { padding-top: 4px; }
.ind-list > div + div { border-top: 1px solid var(--hair); }
.ind-list dt { font-size: 14px; font-weight: 600; color: var(--accent); }
.ind-list dd { margin: 4px 0 0; font-size: 19px; line-height: 1.42; letter-spacing: -0.014em; }
.ind-more { margin-top: 28px; color: var(--muted); }
.ind-more .link { margin-left: 6px; }
@media (prefers-reduced-motion: no-preference) {
  .js .ind-panel:not([hidden]) { animation: ind-in 0.5s var(--ease); }
  @keyframes ind-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 900px) {
  .ind-panel { grid-template-columns: 1fr; gap: 24px; }
  .ind-name { margin-bottom: -8px; }
}
@media (max-width: 640px) {
  /* one row to swipe, bleeding to the screen edges; the right edge fades to show there is more */
  .ind-tabs {
    flex-wrap: nowrap; gap: 8px; overflow-x: auto; scrollbar-width: none;
    margin: -4px calc(var(--gutter) * -1) 16px; padding: 6px var(--gutter);   /* room for the focus ring */
    overscroll-behavior-x: contain;
    scroll-padding: 0 var(--gutter);
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent);
  }
  .ind-tabs::-webkit-scrollbar { display: none; }
  .ind-tab { flex: none; min-height: 44px; padding: 8px 14px; font-size: 14px; }
  .ind-tab:last-child { margin-right: 32px; }
}
/* a mouse at this width (a narrow window, or 200% zoom) gets a thin scrollbar to drag */
@media (max-width: 640px) and (pointer: fine) {
  .ind-tabs { scrollbar-width: thin; padding-bottom: 10px; }
  .ind-tabs::-webkit-scrollbar { display: block; height: 6px; }
}
/* without script every panel is already open, so the buttons would do nothing */
html:not(.js) .ind-tabs { display: none; }

/* ---------- process ---------- */
.safety { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.safety > div { display: flex; flex-direction: column; gap: 8px; padding: 28px; border-radius: var(--radius-card); background: var(--card); }
.safety h3 { font-size: 19px; letter-spacing: -0.014em; }
.safety p { color: var(--muted); }
@media (max-width: 900px) { .safety { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* on a phone the six promises are a plain list with hairlines: six stacked cards ran too long */
@media (max-width: 560px) {
  .safety { grid-template-columns: 1fr; gap: 0; }
  .safety > div { padding: 18px 0; border-radius: 0; background: none; border-top: 1px solid var(--hair); }
  .safety > div:last-child { border-bottom: 1px solid var(--hair); }
}

/* ---------- ways to work ---------- */
/* three ways side by side: the prices compare at a glance and the section stays short */
.engage .h-section + * { margin-top: 0; }
.engage-rows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(28px, 3vw, 48px); align-items: start; margin-top: clamp(40px, 5vw, 64px); }
/* the three columns share two rows (name and price, then the detail), so they line up */
.engage-row { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; padding-top: 24px; border-top: 1px solid var(--hair); }
.engage-row > div:last-child { padding-top: 18px; }
.engage-row h3 { font-size: clamp(26px, 1.6vw + 10px, 36px); letter-spacing: -0.025em; }
.engage-row p { color: var(--muted); }
.engage-row .engage-price { margin-top: 6px; font-size: 19px; font-weight: 600; letter-spacing: -0.014em; color: var(--ink); }
.engage-row .engage-best { margin-top: 6px; font-size: 14px; line-height: 1.35; }
.price-list { list-style: none; margin: 14px 0 0; padding: 0; }
.price-list li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid var(--hair); font-size: 15px; }
.price-list li:last-child { border-bottom: 1px solid var(--hair); }
.price-list span:first-child { color: var(--muted); }
.price-list span:last-child { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-list small { display: block; margin-top: 3px; font-size: 13px; line-height: 1.4; }
.engage-inc { margin-top: 14px; font-size: 15px; color: var(--muted); }
.engage-note { grid-column: 1 / -1; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--hair); font-size: 15px; color: var(--muted); }
.engage-next { grid-column: 1 / -1; margin-top: 12px; color: var(--muted); }
.engage-next .link { margin-left: 6px; }
.engage-next .link + .link { margin-left: 18px; }
@media (max-width: 1000px) {
  .engage-rows { grid-template-columns: 1fr; }
  .engage-row { display: block; }
  .engage-row + .engage-row { margin-top: 36px; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.faq .h-section + * { margin-top: 0; }
.faq-list details { border-top: 1px solid var(--hair); }
.faq-list details:last-child { border-bottom: 1px solid var(--hair); }
.faq-list summary {
  position: relative; display: block; padding: 22px 44px 22px 0;
  font-family: var(--font-display); font-size: 21px; font-weight: 600; line-height: 1.25; letter-spacing: -0.016em;
  cursor: pointer; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 1.5px; border-radius: 2px;
  background: var(--muted); transition: transform 0.3s var(--ease);
}
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0deg); }
.faq-list summary:hover::before, .faq-list summary:hover::after { background: var(--ink); }
.faq-list details p { padding: 0 44px 26px 0; color: var(--muted); max-width: 62ch; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 560px) { .faq-list summary { font-size: 19px; padding-right: 36px; } .faq-list details p { padding-right: 0; } }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact .h-section { font-size: clamp(32px, 2.6vw + 10px, 48px); max-width: 14ch; }
.contact .h-section + * { margin-top: 20px; }
.contact-lede { font-size: 19px; line-height: 1.42; color: var(--muted); }
.contact-lede + .next-steps { margin-top: 20px; }
.contact-note { margin-top: 24px; color: var(--muted); }
.contact-note .link { margin-left: 6px; }
.contact-place { margin-top: 12px; color: var(--muted); }
.next-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: flex; flex-direction: column; }
.next-steps li { counter-increment: step; position: relative; padding: 16px 0 16px 44px; color: var(--muted); }
.next-steps li + li { border-top: 1px solid var(--hair); }
.next-steps li::before {
  content: counter(step); position: absolute; left: 0; top: 15px;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 14px; font-weight: 600; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.next-steps strong { color: var(--ink); font-weight: 600; }
.form-privacy { font-size: 14px; color: var(--muted); }
.form-privacy a { color: var(--accent); padding: 13px 0; }   /* a taller place to tap; the line does not grow */
.form-nojs { display: none; color: var(--error); }
html:not(.js) .form-nojs { display: block; }
html:not(.js) .form-foot { display: none; }
@media (forced-colors: active) {
  .chip input:checked + span, .ind-tab[aria-selected="true"] { background: Highlight; color: HighlightText; forced-color-adjust: none; }
}
.botcheck { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; align-items: start;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius-card); background: var(--card);
}
.form > * { grid-column: 1 / -1; }
.form > .field-half { grid-column: auto; }
@media (max-width: 640px) { .form > .field-half { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-size: 15px; font-weight: 600; padding: 0; }
.field legend { margin-bottom: 8px; }
.optional { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; min-height: 48px; padding: 12px 16px;
  font: inherit; color: var(--ink);
  background: var(--field-bg); border: 1px solid var(--field-border); border-radius: var(--radius-field);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 104px; }
.field input:focus-visible, .field textarea:focus-visible {
  outline: 2px solid transparent; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent);
}
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { font-size: 14px; color: var(--error); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px;
  border: 1px solid var(--field-border); border-radius: 9999px;
  font-size: 15px; transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--on-accent); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.form-status { font-size: 15px; color: var(--muted); }
.form-status.is-error { color: var(--error); }
.form-status.is-ok { color: var(--ink); }
/* sent: the confirmation stands where the fields were */
.form.is-sent > :not(.form-done) { display: none; }
.form-done { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(8px, 2vw, 24px) 0; }
.form-done[hidden] { display: none; }
.form-done:focus { outline: none; }
.form-done-mark { width: 48px; height: 48px; color: var(--accent); }
.form-done h3 { font-size: clamp(24px, 1vw + 16px, 32px); letter-spacing: -0.022em; }
.form-done p { font-size: 19px; line-height: 1.42; color: var(--muted); }
.form-done strong { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.form-done-fix { margin-top: 8px; padding: 12px 0; border: 0; background: none; cursor: pointer; font: inherit; font-size: 15px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { padding: 48px 0 56px; background: var(--bg-alt); border-top: 1px solid var(--hair); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-nav a { font-size: 14px; color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--ink); }
@media (max-width: 640px) {
  .footer-nav { gap: 0 28px; }
  .footer-nav a { display: inline-block; padding: 10px 0; }
  .header-cta { position: relative; }
  .header-cta::after { content: ""; position: absolute; inset: -5px 0; }   /* 44px tall to the finger, 34px to the eye */
}
.footer-legal { margin-left: auto; font-size: 13px; color: var(--muted); }
@media (max-width: 640px) { .footer-legal { margin-left: 0; width: 100%; } }

/* ---------- simple pages (privacy, 404) ---------- */
.page { padding: calc(var(--header-h) + clamp(56px, 8vw, 112px)) 0 var(--section); }
.page-wrap { max-width: calc(760px + var(--gutter) * 2); }
.page h1 { font-size: clamp(36px, 3vw + 16px, 56px); }
.page h2 { margin-top: 44px; font-size: 24px; letter-spacing: -0.018em; }
.page h2 + p { margin-top: 10px; }
.page p + p { margin-top: 14px; }
.page p { color: var(--muted); max-width: 62ch; }
.page-date { margin-top: 20px; font-size: 14px; }
.page-404 { min-height: 80vh; display: flex; align-items: center; }
.page-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* ---------- old system, rebuilt (rebuild.js) ---------- */
/* Text on the left, the window on the right. With script the window plays by
   itself and each step lights up as its part plays; with reduced motion it is
   the finished app as a still; without script it is the text alone. */
.rebuild { position: relative; background: var(--bg-alt); }
.rebuild-sticky { display: none; }
.rebuild-static { padding: var(--section) var(--gutter); }
.rebuild-static .h-section { font-size: clamp(32px, 2.6vw + 10px, 48px); }
.rebuild-static .h-section + * { margin-top: clamp(24px, 3vw, 36px); }
.rebuild-list { grid-template-columns: 1fr; gap: 18px; max-width: 46ch; }
.rebuild-list li { color: var(--muted); }
.rebuild-list strong { color: var(--ink); }
.rebuild.is-live, .rebuild.is-still {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 48px; align-items: center;
  padding: var(--section) max(var(--gutter), calc((100% - var(--wrap)) / 2));
}
.rebuild.is-live .rebuild-static, .rebuild.is-still .rebuild-static { order: 1; width: auto; max-width: none; margin: 0; padding: 0; }
.rebuild.is-live .rebuild-sticky, .rebuild.is-still .rebuild-sticky { display: block; order: 2; position: relative; aspect-ratio: 800 / 600; }
.rebuild-stage, .rb-scene { position: absolute; inset: 0; }
.rebuild.is-live .rebuild-list strong { color: var(--muted); transition: color 0.6s var(--ease); }
.rebuild.is-live .rebuild-list li.is-on strong { color: var(--ink); }
.rb-again {
  margin-top: 24px; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 15px; color: var(--accent);
}
.rb-again:hover { text-decoration: underline; text-underline-offset: 3px; }
.rb-again:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
@media (max-width: 900px) {
  .rebuild.is-live, .rebuild.is-still { grid-template-columns: 1fr; }
  /* the window sits below the text here, so the steps are read before it plays: keep them at full strength */
  .rebuild.is-live .rebuild-list strong { color: var(--ink); }
}
.rb-fit { position: absolute; left: 50%; top: 50%; width: 760px; height: 560px; transform: translate(-50%, -50%) scale(var(--s, 1)); }
.rb-win {
  position: absolute; inset: 0; overflow: hidden; border-radius: 14px; background: #fff; color: #1d1d1f;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 30px 60px rgba(0, 0, 0, 0.12);
  font-family: var(--font); letter-spacing: -0.01em;
}
@media (prefers-color-scheme: dark) { .rb-win { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 80px rgba(0, 0, 0, 0.6); } }
.rb-win > * { position: absolute; }
.rb-titlebar { left: 0; right: 0; top: 0; height: 44px; border-bottom: 1px solid rgba(0, 0, 0, 0.08); background: #f2f2f4; }
.rb-dot { position: absolute; top: 16px; width: 12px; height: 12px; border-radius: 50%; }
.rb-title { position: absolute; left: 0; right: 0; top: 13px; text-align: center; font-size: 13px; font-weight: 600; color: #3a3a3c; }
.rb-title-app { color: #1d1d1f; opacity: 0; }
.rb-sheet { inset: 0; pointer-events: none; }
.rb-sheet > * { position: absolute; left: 0; right: 0; }
.rb-fx { top: 44px; height: 32px; border-bottom: 1px solid #e3e3e6; font-size: 13px; color: #3a3a3c; }
.rb-fx i { position: absolute; left: 14px; top: 8px; color: #8e8e93; }
.rb-fx code { position: absolute; left: 44px; top: 8px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; }
.rb-letters { top: 76px; height: 24px; background: #f2f2f4; border-bottom: 1px solid #e3e3e6; }
.rb-letters span { position: absolute; top: 4px; text-align: center; font-size: 12px; color: #8e8e93; }
.rb-grid {
  top: 354px; height: 170px;
  background-image: repeating-linear-gradient(to bottom, transparent 0 31px, #e3e3e6 31px 32px), repeating-linear-gradient(to right, transparent 0 43px, #e3e3e6 43px 44px);
}
.rb-tabs { bottom: 0; height: 36px; background: #f2f2f4; border-top: 1px solid #e3e3e6; font-size: 12px; color: #8e8e93; }
.rb-tabs span { position: absolute; top: 10px; padding: 0 10px; }
.rb-tabs .is-on { color: #3a3a3c; font-weight: 600; }
.rb-cell {
  height: 32px; padding: 7px 8px 0; white-space: nowrap; overflow: hidden;
  border-right: 1px solid #e3e3e6; border-bottom: 1px solid #e3e3e6; font-size: 13px;
}
.rb-app { inset: 0; opacity: 0; pointer-events: none; }
.rb-search { position: absolute; left: 16px; top: 60px; width: 452px; height: 40px; padding: 11px 14px; border-radius: 10px; background: #f2f2f4; font-size: 14px; color: #8e8e93; }
.rb-panel { position: absolute; left: 488px; top: 52px; width: 256px; height: 488px; border-radius: 12px; background: #f5f5f7; }
.rb-row { left: 16px; width: 452px; height: 52px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.07); font-size: 14px; opacity: 0; }
.rb-row > span { position: absolute; }
.rb-r0 { left: 14px; top: 9px; font-weight: 600; }
.rb-r1 { left: 14px; top: 28px; font-size: 13px; color: #6e6e73; }
.rb-pill { left: 196px; top: 15px; padding: 3px 10px; border-radius: 9999px; font-size: 13px; font-weight: 500; }
.rb-r3 { left: 318px; top: 17px; color: #6e6e73; }
.rb-r4 { right: 14px; top: 17px; font-weight: 500; }
.rb-note { box-sizing: border-box; }
.rb-note > span { position: absolute; }
.rb-old { left: 14px; top: 12px; right: 12px; font-family: "Marker Felt", "Segoe Print", "Comic Sans MS", cursive; font-size: 17px; line-height: 1.2; color: #4a3b00; }
.rb-rule { left: 14px; top: 12px; right: 58px; font-size: 13px; line-height: 1.3; font-weight: 600; opacity: 0; }
.rb-when { left: 14px; bottom: 11px; font-size: 12px; color: #6e6e73; opacity: 0; }
.rb-toggle { right: 12px; top: 20px; width: 36px; height: 22px; border-radius: 11px; background: #34c759; opacity: 0; }
.rb-toggle span { position: absolute; right: 2px; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); }

/* ---------- sample quote (/sample-quote/) ---------- */
.quote-page { background: var(--bg-alt); }
.qwrap { max-width: calc(860px + var(--gutter) * 2); }
.page .qintro { margin-top: 24px; font-size: 19px; line-height: 1.42; max-width: 60ch; }
.qdoc {
  margin-top: 48px; padding: clamp(24px, 5vw, 64px);
  border-radius: var(--radius-card); background: var(--card);
  box-shadow: 0 1px 0 var(--hair), 0 24px 60px rgba(0, 0, 0, 0.08);
}
.qdoc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding-bottom: 28px; border-bottom: 1px solid var(--hair); }
.page .qdoc-kind { font-size: 14px; font-weight: 600; color: var(--accent); }
.page .qdoc-for { margin-top: 6px; font-family: var(--font-display); font-size: clamp(22px, 1.4vw + 14px, 30px); line-height: 1.15; letter-spacing: -0.022em; color: var(--ink); }
.page .qdoc-meta { margin-top: 8px; font-size: 15px; }
.page .qdoc-stamp { flex: none; margin: 0; padding: 5px 12px; border-radius: 9999px; background: var(--bg-alt); font-size: 13px; font-weight: 600; color: var(--muted); }
.qdoc section { padding: 28px 0; border-bottom: 1px solid var(--hair); }
.qdoc section:last-child { border-bottom: 0; padding-bottom: 0; }
.page .qdoc h2 { margin: 0 0 14px; display: flex; align-items: center; gap: 12px; font-size: 21px; letter-spacing: -0.016em; }
.qdoc h2 span {
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-size: 14px; font-weight: 600; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.qdoc ul { margin: 0; padding-left: 20px; color: var(--muted); }
.qdoc li + li { margin-top: 6px; }
.qdoc section > p { margin-top: 14px; }
.page .qdoc-goal { color: var(--ink); font-weight: 600; }
.qdoc-build { margin: 0; }
.qdoc-build > div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; padding: 10px 0; }
.qdoc-build > div + div { border-top: 1px solid var(--hair); }
.qdoc-build dt { font-weight: 600; }
.qdoc-build dd { margin: 0; color: var(--muted); }
.qdoc-stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.qdoc-stages li { margin: 0; padding: 16px; border-radius: 12px; background: var(--bg-alt); }
.page .qdoc-when { font-size: 14px; font-weight: 600; color: var(--accent); }
.qdoc-stages li p + p { margin-top: 6px; font-size: 15px; }
.qdoc-stages strong { color: var(--ink); }
.qdoc-price { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.qdoc-price th { padding: 10px 16px 10px 0; text-align: left; font-weight: 400; color: var(--muted); }
.qdoc-price td { padding: 10px 0; text-align: right; white-space: nowrap; }
.qdoc-price tr + tr th, .qdoc-price tr + tr td { border-top: 1px solid var(--hair); }
.qdoc-price .qdoc-sub th, .qdoc-price .qdoc-sub td { color: var(--ink); font-weight: 600; }
.qdoc-price .qdoc-total th, .qdoc-price .qdoc-total td { padding-top: 14px; font-size: 21px; font-weight: 600; letter-spacing: -0.016em; color: var(--ink); border-top: 2px solid var(--ink); }
.qcta { margin-top: clamp(64px, 8vw, 104px); }
.qcta .h-section { font-size: clamp(32px, 2.6vw + 12px, 48px); }
.qcta > p { margin-top: 20px; }
@media (max-width: 640px) {
  .qdoc-build > div { grid-template-columns: 1fr; gap: 2px; }
  .qdoc-stages { grid-template-columns: 1fr; }
}

/* long two-column sections: the heading stays in view beside its list */
@media (min-width: 901px) {
  .works-head, .faq > .h-section { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
}
@media (max-width: 600px) {
  /* four promises as two tidy rows around the dot */
  .hero-trust { display: grid; grid-template-columns: auto auto; justify-content: center; gap: 4px 0; }
  .hero-trust li:nth-child(odd) { text-align: right; }
  .hero-trust li:nth-child(odd)::before { content: none; }
}
