/* Impulse Body Fitness
   Layout: a "signal path" page. The hero shows the suit,
   then sections follow the supply chain from Impulse to the client.
   Brand: white or black base (follows light/dark mode), cyan and purple from the logo wave. */

:root {
  /* Color: light mode */
  --paper: #ffffff;
  --surface: #ffffff;
  --alt: #f4f6f9;            /* alternating section band */
  --ink: #0a0a0a;
  --muted: #535b67;
  --line: #e1e5eb;
  --strong-line: #0a0a0a;
  --cyan: #289ce2;           /* logo cyan, for graphics */
  --purple: #812d78;         /* logo purple, for graphics */
  --cyan-ink: #0a6fae;       /* cyan dark enough for text on white */
  --purple-ink: #812d78;
  --brand-gradient: linear-gradient(90deg, var(--purple), var(--cyan));
  --btn-bg: #0a0a0a;
  --btn-fg: #ffffff;
  --field-bg: #ffffff;
  --focus: #0a6fae;
  --chart-1: #812d78;        /* chart series, validated for color-blind separation */
  --chart-2: #1f8fd4;
  --chart-3: #3d4fa8;
  --logo-light: block;      /* which logo file shows */
  --logo-dark: none;
  --icon-moon: block;
  --icon-sun: none;

  /* Type */
  --display: "Jost", "Futura", "Century Gothic", "Avenir Next", sans-serif;
  --body: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.75rem);
  --step-4: clamp(2.5rem, 1.5rem + 4.4vw, 4.6rem);

  --radius: 10px;
  --maxw: 1180px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #000000;
    --surface: #0d0f13;
    --alt: #08090c;
    --ink: #ffffff;
    --muted: #a3abb7;
    --line: #23272f;
    --strong-line: #ffffff;
    --cyan: #33a9ec;
    --purple: #a2459a;
    --cyan-ink: #4cb8f2;
    --purple-ink: #c77fc0;
    --btn-bg: #ffffff;
    --btn-fg: #000000;
    --field-bg: #0d0f13;
    --focus: #4cb8f2;
    --logo-light: none;
    --logo-dark: block;
    --icon-moon: none;
    --icon-sun: block;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #000000;
  --surface: #0d0f13;
  --alt: #08090c;
  --ink: #ffffff;
  --muted: #a3abb7;
  --line: #23272f;
  --strong-line: #ffffff;
  --cyan: #33a9ec;
  --purple: #a2459a;
  --cyan-ink: #4cb8f2;
  --purple-ink: #c77fc0;
  --btn-bg: #ffffff;
  --btn-fg: #000000;
  --field-bg: #0d0f13;
  --focus: #4cb8f2;
  --chart-1: #b04ea6;
  --chart-2: #2a9be0;
  --chart-3: #4e5fc4;
  --logo-light: none;
  --logo-dark: block;
  --icon-moon: none;
  --icon-sun: block;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--paper);
}

img { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 700px) {
  .wrap {
    padding-left: max(32px, env(safe-area-inset-left, 0px));
    padding-right: max(32px, env(safe-area-inset-right, 0px));
  }
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--btn-bg); color: var(--btn-fg);
  padding: 8px 14px; border-radius: 6px; font-weight: 700;
}
.skip:focus { top: 12px; }

/* Wide-tracked caps echo the IMPULSE wordmark */
.eyebrow {
  font-family: var(--display);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cyan-ink);
}

/* Logo: two files, CSS shows the one that matches the theme */
.logo { display: block; height: auto; }
.logo-light { display: var(--logo-light); }
.logo-dark { display: var(--logo-dark); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 10px 24px; line-height: 1.25; text-align: center;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 2px solid var(--btn-bg); border-radius: 999px;
  font-family: var(--display); font-weight: 600; font-size: 1rem; letter-spacing: 0.02em;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 0 0 4px color-mix(in srgb, var(--cyan) 30%, transparent); }
.btn:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: .95rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; box-shadow: none; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: inherit; padding-block: 10px; }
.brand .logo { width: 168px; }
.nav-toggle {
  display: none;
  background: transparent; color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font: 600 .95rem var(--body); cursor: pointer;
}
.site-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.header-tools { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px; display: inline-grid; place-items: center;
  background: transparent; color: var(--ink);
  border: 1px solid var(--line); border-radius: 50%; cursor: pointer;
}
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-moon { display: var(--icon-moon); }
.icon-sun { display: var(--icon-sun); }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }
.lang-opt {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 9px; border-radius: 999px;
  font: 600 .8rem var(--body); letter-spacing: .04em; color: var(--muted); text-decoration: none;
}
.lang-opt:hover { color: var(--ink); }
.lang-opt[aria-current="true"] { background: var(--alt); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.flag { width: 20px; height: 14px; border-radius: 2px; display: block; box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 15%, transparent); }
.site-nav a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
.site-nav a:not(.btn):hover { color: var(--ink); }

@media (max-width: 860px) {
  .brand .logo { width: 140px; }
  .nav-toggle { display: inline-block; }
  .header-tools { margin-left: auto; }
  .site-nav { order: 3; display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 4px; padding-bottom: 16px; }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 12px; }
}

/* Hero */
.hero { padding-block: 64px 48px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero h1 {
  font-size: var(--step-4);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.02;
}
.hero h1 .grad {
  background: var(--brand-gradient);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.lede { font-size: var(--step-1); color: var(--muted); max-width: 36ch; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-media {
  margin: 0; min-width: 0; position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-media::before {
  content: ""; position: absolute; inset: 6% 0 10%;
  background:
    radial-gradient(closest-side at 38% 42%, color-mix(in srgb, var(--purple) 26%, transparent), transparent),
    radial-gradient(closest-side at 64% 58%, color-mix(in srgb, var(--cyan) 30%, transparent), transparent);
  filter: blur(8px);
  z-index: 0;
}
.hero-media picture, .hero-media img { position: relative; z-index: 1; display: block; }
.hero-media img { width: auto; max-width: 100%; max-height: 560px; height: auto; }
.hero-media figcaption { position: relative; z-index: 1; font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) { .hero-media img { max-height: 420px; } }


.facts {
  list-style: none; margin: 52px 0 0; padding: 26px 0 0;
  position: relative;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
}
.facts::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--brand-gradient); }
.facts li { display: flex; flex-direction: column; gap: 4px; }
.facts strong { font-family: var(--display); font-size: var(--step-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.facts span { color: var(--muted); font-size: var(--step--1); line-height: 1.4; }

@media (max-width: 900px) {
  .hero { padding-block: 40px 40px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Sections */
.section { padding-block: 88px; }
.section-alt { background: var(--alt); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 62ch; margin-bottom: 44px; }
.section-head h2 { font-size: var(--step-3); font-weight: 500; letter-spacing: -0.01em; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: var(--step-1); line-height: 1.5; }
@media (max-width: 700px) { .section { padding-block: 64px; } }

.note { color: var(--muted); max-width: 70ch; margin-top: 28px; font-size: var(--step--1); }
.small { font-size: var(--step--1); color: var(--muted); }

/* Equipment */
.equip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.equip {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
}
.equip-icon { width: 48px; height: 48px; color: var(--cyan-ink); }
.equip h3 { font-size: var(--step-1); font-weight: 600; }
.equip p { color: var(--muted); }
.equip .spec { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: .9rem; color: var(--ink); }
.equip .spec b { font-weight: 600; color: var(--purple-ink); }
@media (max-width: 860px) { .equip-grid { grid-template-columns: minmax(0, 1fr); } }

/* Chain diagram */
.chain {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr 1.25fr 1fr; gap: 36px;
}
.chain > li { position: relative; min-width: 0; }
.chain > li:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -30px; width: 24px; height: 12px;
  background: var(--cyan);
  clip-path: polygon(0 42%, 70% 42%, 70% 0, 100% 50%, 70% 100%, 70% 58%, 0 58%);
}
.node {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; display: flex; flex-direction: column; gap: 6px; height: 100%;
}
.node h3 { font-size: var(--step-1); font-weight: 600; }
.node p { color: var(--muted); font-size: .95rem; line-height: 1.45; }
.node-role { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--purple-ink); }
.chain > li.node-end { border-color: var(--cyan); }
.node-pair { display: flex; flex-direction: column; gap: 8px; }
.node-pair .node { height: auto; }
.node-or { align-self: center; font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
@media (max-width: 960px) {
  .chain { grid-template-columns: minmax(0, 1fr); gap: 30px; max-width: 520px; }
  .chain > li:not(:last-child)::after {
    top: auto; bottom: -24px; right: auto; left: 28px; width: 12px; height: 18px;
    clip-path: polygon(42% 0, 58% 0, 58% 65%, 100% 65%, 50% 100%, 0 65%, 42% 65%);
  }
}

/* Paths */
.path-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.path-tab {
  text-align: left; cursor: pointer;
  background: var(--surface); color: var(--ink);
  border: 2px solid transparent; border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--line);
  padding: 20px; display: flex; flex-direction: column; gap: 8px;
  font: inherit;
  transition: box-shadow .15s ease, transform .15s ease;
}
.path-tab:hover { box-shadow: inset 0 0 0 1px var(--muted); transform: translateY(-2px); }
.path-tab[aria-selected="true"] {
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--brand-gradient) border-box;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--cyan) 14%, transparent);
  transform: none;
}
.path-tab-name { font-family: var(--display); font-weight: 600; font-size: var(--step-1); }
.path-tab-line { color: var(--muted); font-size: .95rem; line-height: 1.45; }
.path-tab-cta { margin-top: auto; padding-top: 6px; font-size: .85rem; font-weight: 600; color: var(--cyan-ink); }
.path-tab .cta-on { display: none; }
.path-tab[aria-selected="true"] .cta-on { display: inline; }
.path-tab[aria-selected="true"] .cta-off { display: none; }
@media (max-width: 800px) { .path-tabs { grid-template-columns: minmax(0, 1fr); } }

.panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px;
}
.panel + .panel { margin-top: 20px; } /* only when JS is off and all panels show */
.panel-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 44px; }
.panel-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.panel-main h3 { font-size: var(--step-2); font-weight: 500; }
.panel-main h4 { font-family: var(--display); font-size: .8rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan-ink); margin-top: 10px; }
.panel-main p { color: var(--muted); max-width: 60ch; }
.panel-main .panel-for { color: var(--ink); }
.panel-numbers { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.call-line { font-size: .9rem; color: var(--muted); text-align: center; }
.call-line a { color: var(--ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.call-line a:hover { text-decoration: underline; }
@media (max-width: 960px) { .panel-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
@media (max-width: 600px) { .panel { padding: 22px 16px; } }

.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .62em; width: 12px; height: 2px; background: var(--cyan);
}
.ticks-quiet li { color: var(--muted); font-size: .97rem; }
.ticks-quiet li::before { background: var(--line); }

.figure-block { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.figure-block.example { background: var(--alt); }
.figure-title { font-family: var(--display); font-weight: 600; font-size: var(--step-1); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.tag { font-family: var(--mono); font-weight: 500; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--purple-ink); border: 1px solid currentColor; border-radius: 999px; padding: 2px 8px; }
.disclaimer { font-size: .8rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 10px; line-height: 1.45; }

/* Tables */
.table-scroll { overflow-x: auto; }
table.num { width: 100%; border-collapse: collapse; font-size: .93rem; }
table.num th, table.num td { padding: 9px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.num thead th { font-family: var(--mono); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--strong-line); }
table.num td { font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
table.num tbody th { font-weight: 600; }
table.num tfoot th, table.num tfoot td { font-weight: 700; border-bottom: none; border-top: 2px solid var(--strong-line); }
table.num tfoot td:last-child { color: var(--cyan-ink); }
table.num th:first-child { padding-left: 0; }
table.num td:last-child, table.num th:last-child { padding-right: 0; }
.sub { display: block; font-family: var(--body); font-weight: 400; font-size: .8rem; color: var(--muted); }
@media (max-width: 520px) { table.num td { white-space: normal; } }

.kv { margin: 0; display: flex; flex-direction: column; }
.kv > div { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.kv > div:last-child { border-bottom: none; }
.kv dt { font-weight: 600; font-size: .93rem; }
.kv dd { margin: 0; color: var(--muted); font-size: .93rem; }
@media (max-width: 520px) { .kv > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* Panel: wide row (chart + side card) and paired tables */
.panel-wide { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line); }
.panel-tables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
@media (max-width: 960px) {
  .panel-wide, .panel-tables { grid-template-columns: minmax(0, 1fr); }
}
.kv-num dd { font-family: var(--mono); font-variant-numeric: tabular-nums; color: var(--ink); text-align: right; }
.kv-num > div { grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; }
@media (max-width: 520px) { .kv-num > div { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; } }

.chart-card { margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.chart-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px 20px; }
.chart-title { font-family: var(--display); font-weight: 600; font-size: var(--step-1); }
.chart-sub { font-size: .9rem; color: var(--muted); margin-top: 2px; }
.chart { position: relative; min-width: 0; }
.chart svg { max-width: 100%; }
.chart text { font-variant-numeric: tabular-nums; }
.chart-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .85rem; color: var(--muted); }
.chart-legend li { display: flex; align-items: center; gap: 8px; }
.chart-legend i, .tip-row i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; flex: none; }
.chart-tip {
  position: absolute; z-index: 5; pointer-events: none;
  min-width: 190px; max-width: 260px;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 6px 20px color-mix(in srgb, #000 14%, transparent);
  padding: 10px 12px; font-size: .82rem; line-height: 1.4;
}
.tip-row { display: flex; align-items: center; gap: 8px; margin-top: 4px; color: var(--muted); }
.tip-row span { margin-left: auto; font-family: var(--mono); color: var(--ink); font-variant-numeric: tabular-nums; }
.tip-total { border-top: 1px solid var(--line); padding-top: 4px; color: var(--ink); font-weight: 600; }
.chart-table summary { cursor: pointer; font-size: .88rem; font-weight: 600; color: var(--cyan-ink); }
.chart-table[open] summary { margin-bottom: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg-btn {
  border: 0; background: transparent; color: var(--muted);
  font: 600 .85rem var(--body); padding: 7px 14px; border-radius: 999px; cursor: pointer;
}
.seg-btn[aria-pressed="true"] { background: var(--btn-bg); color: var(--btn-fg); }

.steps-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 14px; align-self: start; min-width: 0; }
.steps-card h4 { font-family: var(--display); font-size: .8rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan-ink); }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 12px; }
.steps li { counter-increment: step; position: relative; padding-left: 38px; font-weight: 600; font-size: .95rem; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -1px;
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); font-family: var(--mono); font-size: .78rem; color: var(--ink);
}
.steps li span { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; }
.timeline { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.timeline li { position: relative; padding: 0 0 14px 22px; font-size: .93rem; color: var(--muted); }
.timeline li b { display: block; color: var(--ink); font-family: var(--mono); font-size: .8rem; font-weight: 600; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: var(--chart-2); box-shadow: 0 0 0 2px var(--surface); z-index: 1; }
.timeline li::after { content: ""; position: absolute; left: 4px; top: 10px; bottom: -4px; width: 1px; background: var(--line); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }

/* Kit */
.kit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.kit-grid .section-head { margin-bottom: 0; }
.kit-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.kit-table { font-size: 1rem; }
.kit-table tfoot td:last-child { font-family: var(--display); font-size: var(--step-2); font-weight: 600; }
.kit-after { font-size: var(--step-1); font-weight: 600; margin-top: 12px; }
@media (max-width: 900px) { .kit-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
@media (max-width: 600px) { .kit-card { padding: 20px 16px; } }

/* Clients */
.clients-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.clients-main { min-width: 0; }
@media (max-width: 960px) { .clients-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
.client-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 24px; border-top: 2px solid var(--strong-line); }
@media (max-width: 800px) { .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* What happens in a 45-minute visit */
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; margin-top: 56px; }
@media (max-width: 960px) { .visit-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.visit-copy { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.visit-copy h3 { font-size: var(--step-2); font-weight: 500; }
.visit { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.visit li {
  display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); column-gap: 14px; row-gap: 2px;
  padding: 12px 0;
}
.visit li b { grid-column: 2; font-weight: 700; }
.visit li > span:last-child { grid-column: 2; color: var(--muted); font-size: .93rem; line-height: 1.45; }
.visit-time { grid-row: 1 / span 2; font-family: var(--mono); font-size: .8rem; font-weight: 600; color: var(--cyan-ink); padding-top: 3px; }
.client-step { display: flex; flex-direction: column; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.client-step strong { font-family: var(--display); font-size: var(--step-2); font-weight: 500; line-height: 1.1; }
.client-step span { color: var(--muted); font-size: .95rem; }
.safety {
  margin-top: 28px; padding: 16px 20px;
  border: 1px solid var(--line); border-left: 4px solid var(--purple);
  border-radius: 6px; background: var(--surface); max-width: 75ch;
}
.safety p { font-size: .95rem; color: var(--muted); }
.safety b { color: var(--ink); }
.safety-more { margin-top: 10px; }
.safety-more summary { cursor: pointer; font-size: .9rem; font-weight: 600; color: var(--cyan-ink); }
.safety-more[open] summary { margin-bottom: 10px; }
.safety-more ul { margin-bottom: 10px; }
.safety-body { display: flex; flex-direction: column; gap: 10px; }
.safety-body h4 { font-family: var(--display); font-size: .8rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan-ink); margin-top: 8px; }
.safety-body .ticks { gap: 6px; }
.safety-body .ticks li { font-size: .92rem; }
.faq a, .footer-legal a { color: var(--cyan-ink); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; align-items: start; }
.faq-wrap .section-head { margin-bottom: 0; }
.faq { border-top: 2px solid var(--strong-line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative;
  font-weight: 700; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 1.3rem; color: var(--cyan-ink);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 65ch; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 56px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.contact-info .section-head { margin-bottom: 0; }
.contact-list { font-style: normal; margin: 0; display: flex; flex-direction: column; border-top: 2px solid var(--strong-line); }
.contact-list > div { display: flex; flex-direction: column; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font-family: var(--display); font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan-ink); }
.contact-list dd { margin: 0; font-size: 1rem; }
.contact-list a { text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

.form {
  display: flex; flex-direction: column; gap: 18px; min-width: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px;
}
@media (max-width: 600px) { .form { padding: 20px 16px; } }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 560px) { .field-row { grid-template-columns: minmax(0, 1fr); } }
.form label, .form legend { font-weight: 600; font-size: .93rem; }
.form legend { padding: 0; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--muted); font-size: .85rem; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  background: var(--field-bg); color: var(--ink);
  border: 1px solid var(--line); border-radius: 8px;
  font: inherit; font-size: 1rem;
}
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--cyan); outline-offset: 1px; border-color: transparent; }
.form [aria-invalid="true"] { border-color: var(--purple); }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 560px) { .choices { grid-template-columns: minmax(0, 1fr); } }
.choice {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px;
  cursor: pointer;
}
.form .choice { font-weight: 500; }
.choice:has(input:checked) { border-color: var(--cyan); }
.choice input { accent-color: var(--cyan); width: 18px; height: 18px; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { align-self: flex-start; }
.form-status { min-height: 1.5em; font-size: .95rem; color: var(--muted); }
.form-status.ok { color: var(--ink); }
.form-status.err { color: var(--purple-ink); }

/* Footer */
.site-footer { background: var(--alt); color: var(--muted); border-top: 1px solid var(--line); padding-block: 48px; font-size: .88rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.site-footer .logo { width: 190px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.footer-legal p { max-width: 80ch; line-height: 1.55; }
.footer-legal b { color: var(--ink); }
.copy { margin-top: 8px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Small phones: keep logo and header controls on one row */
@media (max-width: 520px) {
  .brand .logo { width: 124px; }
  .header-tools { gap: 6px; }
  .lang-opt { padding: 5px 6px; }
  .lang-opt span { display: none; }
  .icon-btn { width: 38px; height: 38px; }
  .nav-toggle { padding: 8px 12px; }
}
@media (max-width: 380px) {
  .brand .logo { width: 104px; }
  .header-tools { gap: 4px; }
  .icon-btn { width: 36px; height: 36px; }
  .nav-toggle { padding: 7px 10px; font-size: .9rem; }
}

/* Currency suffix next to big prices */
.cur { font-family: var(--mono); font-size: .45em; font-weight: 500; letter-spacing: .06em; color: var(--muted); vertical-align: .35em; }


/* Videos */
.video-card { margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.video-card video { display: block; width: 100%; height: auto; border-radius: var(--radius); background: #000; }
.visit-media { justify-self: center; width: min(100%, 420px); }
.video-fit { width: min(100%, 300px); margin-top: 12px; }
.video-note { font-size: .85rem; color: var(--muted); text-align: center; }
.video-frame { position: relative; }
.video-sound {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px; cursor: pointer;
  background: rgba(0, 0, 0, .62); color: #fff; border: 1px solid rgba(255, 255, 255, .35);
  font: 600 .82rem var(--body);
  backdrop-filter: blur(6px);
}
.video-sound:hover { background: rgba(0, 0, 0, .8); }
.video-sound svg { width: 16px; height: 16px; }
