/* ethea.app — the iOS app's design language, on the web.
   Palette and metrics are lifted from ios/Ethea/Ethea/Design/Theme.swift, so the site and
   the app cannot drift apart. The app is deliberately light-only and pins color-scheme;
   the site does the same rather than half-doing a dark pass. */

:root {
  color-scheme: light;

  --bg: #fafaf9;
  --card: #ffffff;
  --card-muted: #f7f7f5;
  --divider: #f0f0ee;
  --border: #e2e8f0;

  --ink: #2d3748;
  --ink-strong: #1a202c;
  --ink-soft: #4a5568;
  --muted: #718096;
  --faint: #a0aec0;

  --teal: #2c7a7b;
  --teal-light: #e6fffa;
  --purple: #9f7aea;
  --purple-light: #faf5ff;
  --coral: #f56565;
  --coral-light: #fff5f5;
  --green: #48bb78;
  --green-light: #f0fff4;
  --amber: #ecc94b;
  --amber-light: #fffff0;
  --blue: #4299e1;
  --blue-light: #ebf8ff;

  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --wrap: 1160px;
  --gutter: clamp(20px, 4vw, 32px);
  --sec-y: clamp(56px, 6.5vw, 100px);

  --shadow-sm: 0 1px 2px rgba(45, 55, 72, 0.04), 0 8px 24px -16px rgba(45, 55, 72, 0.18);
  --shadow: 0 2px 4px rgba(45, 55, 72, 0.04), 0 24px 48px -28px rgba(45, 55, 72, 0.35);
  --shadow-lg: 0 8px 16px rgba(45, 55, 72, 0.06), 0 48px 80px -40px rgba(45, 55, 72, 0.45);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Inter,
    system-ui, "Helvetica Neue", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }

a { color: var(--teal); text-decoration-color: color-mix(in srgb, var(--teal) 32%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }

h1, h2, h3, h4 { color: var(--ink-strong); margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); letter-spacing: -0.038em; line-height: 1.03; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.75rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.375rem); letter-spacing: -0.02em; }
h4 { font-size: 0.8125rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; margin-inline: auto; }
.center { text-align: center; margin-inline: auto; }

.lead { font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); line-height: 1.55; color: var(--ink-soft); max-width: 62ch; }
.tiny { font-size: 0.875rem; color: var(--muted); }
.eyebrow { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-bottom: 1.1em; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink-strong); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--r) 0;
}
.skip:focus { left: 0; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

/* ── header ─────────────────────────────────────────────────────────────── */

.site-head {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--divider);
}
.head-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--teal); font-weight: 700; font-size: 1.1875rem; letter-spacing: -0.02em; text-decoration: none; }
.brand span { color: var(--ink-strong); }
.mark { width: 26px; height: 26px; flex: none; border-radius: 7px; }
.head-nav { display: flex; gap: 22px; margin-left: 8px; flex-wrap: wrap; }
.head-nav a { color: var(--ink-soft); text-decoration: none; font-size: 0.9375rem; font-weight: 500; }
.head-nav a:hover, .head-nav a[aria-current] { color: var(--ink-strong); }
.head-end { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.lang { color: var(--muted); font-size: 0.875rem; text-decoration: none; white-space: nowrap; }
.lang:hover { color: var(--ink-strong); }

/* ── buttons ────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; font-size: 1rem; font-weight: 600;
  text-decoration: none; border: 1px solid transparent; white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--coral) 80%, transparent); }
.btn-primary:hover { background: #e85555; transform: translateY(-1px); }
.btn-ghost { background: var(--card); color: var(--ink-strong); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--faint); transform: translateY(-1px); }
.btn.is-soon { background: var(--ink-strong); color: #fff; cursor: default; box-shadow: none; }
.btn.is-soon:hover { transform: none; }
.head-end .btn { padding: 10px 20px; font-size: 0.9375rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 28px 0 18px; }

/* ── hero ───────────────────────────────────────────────────────────────── */

.hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(44px, 6vw, 84px) clamp(40px, 5vw, 72px); }
.hero-art { position: absolute; inset: -20% -10% auto -10%; height: 140%; z-index: -1; }
.hero-art::before,
.hero-art::after { content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.62; }
.hero-art::before { width: 46vw; height: 46vw; left: 46%; top: -6%; background: radial-gradient(circle, #ffd9c4, transparent 70%); }
.hero-art::after { width: 40vw; height: 40vw; left: -8%; top: 22%; background: radial-gradient(circle, var(--teal-light), transparent 70%); }
.hero { background: linear-gradient(178deg, #fde5d5 0%, #fdf0e6 30%, #fbf7f3 62%, var(--bg) 100%); }

.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { padding-bottom: 0; }
.hero h1 span { display: block; }
.hero h1 span:nth-child(2) { color: var(--teal); }
.hero .lead { margin-top: 1.1em; }
.trust { font-size: 0.9375rem; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; }
.trust::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none; }
.hero-phone { display: flex; justify-content: center; align-items: flex-end; }
.hero-phone .phone { max-width: 328px; }

/* ── phone frame ────────────────────────────────────────────────────────── */

.phone {
  margin: 0; padding: 9px; background: linear-gradient(160deg, #2f3946, #12171f);
  border-radius: 46px; box-shadow: var(--shadow-lg); max-width: 300px; width: 100%;
  flex: none; align-self: center;
}
.phone img { border-radius: 38px; width: 100%; }

/* ── stats ──────────────────────────────────────────────────────────────── */

.stats { padding-block: clamp(28px, 4vw, 44px); border-block: 1px solid var(--divider); background: var(--card); }
.stats-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; text-align: center; }
.stats-row div { display: flex; flex-direction: column; gap: 2px; }
.stats-row strong { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -0.03em; color: var(--teal); line-height: 1; }
.stats-row span { font-size: 0.8125rem; color: var(--muted); line-height: 1.35; }

/* ── sections ───────────────────────────────────────────────────────────── */

.sec { padding-block: var(--sec-y); }
.sec-head { max-width: 66ch; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head p { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--ink-soft); margin-bottom: 0; }
.sec-cta { margin-top: clamp(28px, 3vw, 44px); }

.sec-statement { padding-block: clamp(56px, 7vw, 104px); }
.statement { max-width: 74ch; }
.statement h2 { font-size: clamp(1.9rem, 4.2vw, 3.4rem); }
.statement p { font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); color: var(--ink-soft); }

.sec-dims { background: linear-gradient(180deg, var(--card) 0%, #fbfbfa 100%); border-block: 1px solid var(--divider); }
.sec-types, .sec-science { background: var(--card); border-block: 1px solid var(--divider); }
.sec-price { background: linear-gradient(180deg, var(--bg), #fff6f2); }

/* ── grids and tiles ────────────────────────────────────────────────────── */

.grid { display: grid; gap: clamp(14px, 1.6vw, 22px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.tile {
  display: flex; flex-direction: column; gap: 14px; padding: 22px;
  background: var(--card); border: 1px solid var(--divider); border-radius: var(--r-lg);
  text-decoration: none; color: inherit; box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--border); }
.tile img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); background: var(--card-muted); }
.tile h3 { margin: 4px 0 6px; }
.tile p { font-size: 0.9375rem; color: var(--ink-soft); margin: 0; }

.tile-code {
  display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em;
  padding: 3px 9px; border-radius: 999px; background: var(--card-muted); color: var(--muted);
}
.tile-code.big { font-size: 0.9375rem; padding: 6px 14px; margin-bottom: 14px; }

.tile-teal .tile-code, .card-teal .tile-code { background: var(--teal-light); color: var(--teal); }
.tile-purple .tile-code, .card-purple .tile-code { background: var(--purple-light); color: var(--purple); }
.tile-coral .tile-code, .card-coral .tile-code { background: var(--coral-light); color: var(--coral); }
.tile-green .tile-code, .card-green .tile-code { background: var(--green-light); color: var(--green); }
.tile-blue .tile-code, .card-blue .tile-code { background: var(--blue-light); color: var(--blue); }
.tile-amber .tile-code, .card-amber .tile-code { background: #fbf3d3; color: #97801d; }

.type-tile img, .skill-tile img { background: var(--tint-light); padding: 12%; }
.tile-teal img { background: var(--teal-light); }
.tile-purple img { background: var(--purple-light); }
.tile-coral img { background: var(--coral-light); }
.tile-green img { background: var(--green-light); }
.tile-blue img { background: var(--blue-light); }
.tile-amber img { background: #fdf6dd; }
.type-tile .tile-code, .skill-tile .pill { background: var(--tint-light); color: color-mix(in srgb, var(--tint) 78%, #1a202c); }
.pill { display: inline-block; font-size: 0.75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--card-muted); color: var(--muted); }
.skill-tile .pill::after { content: ""; }

.cards .card { display: flex; flex-direction: column; }
.card { background: var(--card); border: 1px solid var(--divider); border-radius: var(--r-lg); padding: clamp(22px, 2.4vw, 32px); box-shadow: var(--shadow-sm); }
.sec-types .card, .sec-science .card { background: var(--bg); }
.card h2 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
.card p { color: var(--ink-soft); }
.card-good { background: linear-gradient(180deg, var(--green-light), var(--card) 70%); }
.card-cost { background: linear-gradient(180deg, var(--coral-light), var(--card) 70%); }
.pair { align-items: start; }

/* ── steps ──────────────────────────────────────────────────────────────── */

.steps { display: flex; flex-direction: column; gap: clamp(40px, 5.5vw, 84px); }
.step { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.step:nth-child(even) .step-copy { order: 2; }
.step-copy { max-width: 52ch; }
.step-n { display: inline-block; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; color: var(--coral); margin-bottom: 12px; }
.step-copy h3 { font-size: clamp(1.5rem, 2.6vw, 2.125rem); letter-spacing: -0.03em; }
.step-copy p { color: var(--ink-soft); font-size: 1.0625rem; }
.step .phone { max-width: 268px; margin-inline: auto; }

/* ── phases and ladder ──────────────────────────────────────────────────── */

.phases { margin-top: clamp(36px, 4vw, 56px); padding: clamp(24px, 3vw, 40px); background: var(--card); border: 1px solid var(--divider); border-radius: var(--r-xl); }
.phases h3 { font-size: clamp(1.25rem, 2vw, 1.625rem); }
.phases > p { color: var(--ink-soft); margin-bottom: 22px; }
.phases ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.phases li { display: flex; flex-direction: column; gap: 4px; padding: 18px; background: var(--bg); border-radius: var(--r); }
.phases li span:last-child { color: var(--muted); font-size: 0.9375rem; }
.phase-days { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; color: var(--teal); text-transform: uppercase; }

.phase-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.phase-cards li { background: var(--card); border: 1px solid var(--divider); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.phase-cards h3 { margin: 10px 0 6px; }
.phase-cards p { color: var(--ink-soft); font-size: 0.9375rem; margin: 0; }

/* ── ticks, splits ──────────────────────────────────────────────────────── */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.ticks { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
/* An item may carry one child (a line) or two (a heading and a paragraph). Pinning every
   real child to the second column keeps the tick in its own lane either way — left to
   auto-placement, a second child lands under the tick and wraps a word per line. */
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 2px 12px; align-items: start; }
.ticks li > * { grid-column: 2; }
.ticks li::before {
  grid-column: 1; grid-row: 1;
  content: ""; width: 22px; height: 22px; border-radius: 50%; margin-top: 3px;
  background: var(--green-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2348BB78' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.ticks-cost li::before {
  background: var(--coral-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F56565' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.ticks li strong { display: block; color: var(--ink-strong); }
.ticks li span { color: var(--ink-soft); }
.ticks li strong + span { font-size: 0.9375rem; }
.sec-privacy .ticks { gap: 22px; }

/* ── price ──────────────────────────────────────────────────────────────── */

.price-card { max-width: 760px; margin-inline: auto; text-align: center; background: var(--card); border: 1px solid var(--divider); border-radius: var(--r-xl); padding: clamp(32px, 4vw, 56px); box-shadow: var(--shadow); }
.price-card .lead { margin-inline: auto; }
.price-card h3 { margin-top: 32px; font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.price-card .ticks { text-align: left; max-width: 520px; margin-inline: auto; }
.price-card .cta-row { justify-content: center; margin-bottom: 0; }

/* ── faq ────────────────────────────────────────────────────────────────── */

.faq { max-width: 860px; border-top: 1px solid var(--divider); }
.faq details { border-bottom: 1px solid var(--divider); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); font-weight: 600; color: var(--ink-strong);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding-bottom: 24px; color: var(--ink-soft); max-width: 68ch; }

/* ── final band ─────────────────────────────────────────────────────────── */

.final { background: linear-gradient(165deg, #12171f, #223040 60%, #2c7a7b); color: #fff; padding-block: clamp(64px, 8vw, 112px); text-align: center; }
.final h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 3.2rem); }
.final p { color: rgba(255, 255, 255, 0.76); font-size: clamp(1.0625rem, 1.4vw, 1.25rem); max-width: 54ch; margin-inline: auto; }
.final .cta-row { justify-content: center; }
.final .tiny { color: rgba(255, 255, 255, 0.52); }
.final .btn.is-soon { background: #fff; color: var(--ink-strong); }

/* ── page heads and inner pages ─────────────────────────────────────────── */

.page-head { padding-block: clamp(36px, 5vw, 72px) clamp(28px, 4vw, 56px); background: linear-gradient(180deg, var(--card), var(--bg)); border-bottom: 1px solid var(--divider); }
.page-head h1 { margin-top: 8px; }
.type-head { background: linear-gradient(180deg, var(--tint-light, var(--card)) 0%, var(--bg) 100%); }
.type-head-inner { display: grid; grid-template-columns: 1fr auto; gap: clamp(24px, 4vw, 56px); align-items: center; }
.type-emblem { width: clamp(120px, 18vw, 220px); border-radius: var(--r-xl); background: rgba(255, 255, 255, 0.6); padding: 16px; }
.dim-head.dim-teal { --tint-light: var(--teal-light); }
.dim-head.dim-purple { --tint-light: var(--purple-light); }
.dim-head.dim-coral { --tint-light: var(--coral-light); }
.dim-head.dim-green { --tint-light: var(--green-light); }
.dim-head.dim-blue { --tint-light: var(--blue-light); }
.dim-head.dim-amber { --tint-light: var(--amber-light); }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 4px; padding: 0; font-size: 0.875rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--faint); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--teal); }

.page-head + .sec { padding-top: clamp(36px, 4vw, 64px); }

.prose { max-width: 72ch; }
/* On a narrow page the body has to line up with the head, not merely share its centre. */
.prose.narrow { max-width: 760px; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.375rem, 2.2vw, 1.875rem); }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-soft); font-size: 1.0625rem; }
.legal-address { font-style: normal; font-size: 1.125rem; line-height: 1.7; color: var(--ink-strong); font-weight: 500; }
.legal-rows { margin: 2em 0 0; display: flex; flex-direction: column; gap: 18px; }
.legal-row { display: grid; grid-template-columns: minmax(0, 18em) 1fr; gap: 4px 24px; }
.legal-row dt { color: var(--muted); font-size: 0.9375rem; }
.legal-row dd { margin: 0; color: var(--ink-strong); }
@media (max-width: 640px) { .legal-row { grid-template-columns: 1fr; } }

.citation { margin-top: 3em; padding: 24px; background: var(--card); border: 1px solid var(--divider); border-radius: var(--r-lg); }
.citation h2 { margin: 0 0 8px; font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.citation p { font-size: 0.9375rem; margin-bottom: 0.5em; }
.citation a { word-break: break-word; }

.type-row, .dim-row {
  display: grid; grid-template-columns: 140px 1fr; gap: clamp(20px, 3vw, 36px); align-items: start;
  padding: clamp(20px, 2.4vw, 30px); background: var(--card); border: 1px solid var(--divider);
  border-radius: var(--r-xl); box-shadow: var(--shadow-sm);
}
.dim-row + .dim-row { margin-top: clamp(14px, 1.6vw, 22px); }
.type-row img, .dim-row img { width: 100%; border-radius: var(--r-lg); background: var(--tint-light, var(--card-muted)); padding: 10%; }
.dim-row.dim-teal img { background: var(--teal-light); }
.dim-row.dim-purple img { background: var(--purple-light); }
.dim-row.dim-coral img { background: var(--coral-light); }
.dim-row.dim-green img { background: var(--green-light); }
.dim-row.dim-blue img { background: var(--blue-light); }
.dim-row.dim-amber img { background: var(--amber-light); }
.type-row h2, .dim-row h2 { margin: 8px 0 4px; font-size: clamp(1.375rem, 2.2vw, 1.75rem); }
.type-row h2 a, .dim-row h2 a { color: inherit; text-decoration: none; }
.type-row h2 a:hover, .dim-row h2 a:hover { color: var(--teal); }
.tagline { color: var(--teal); font-weight: 500; }
.type-row p, .dim-row p { color: var(--ink-soft); font-size: 0.9875rem; }
.more { font-weight: 600; text-decoration: none; }
.more::after { content: " →"; }

.facet-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1em; padding: 0; }
.facet-chips li { font-size: 0.8125rem; padding: 4px 12px; border-radius: 999px; background: var(--card-muted); color: var(--ink-soft); }

.axes, .facets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; max-width: 860px; }
.axes li, .facets li { background: var(--card); border: 1px solid var(--divider); border-radius: var(--r-lg); padding: 20px 24px; }
.axes li { display: grid; grid-template-columns: auto auto 1fr; gap: 8px 14px; align-items: center; }
.axes li span:last-child { grid-column: 1 / -1; color: var(--muted); font-size: 0.9375rem; }
.axes strong a { color: var(--ink-strong); text-decoration: none; }
.axes strong a:hover { color: var(--teal); }
.axis-end { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.axis-high .axis-end { color: var(--green); }
.axis-low .axis-end { color: var(--purple); }
.facets li { display: flex; flex-direction: column; gap: 2px; }
.facets strong { color: var(--ink-strong); }
.facets span { color: var(--ink-soft); font-size: 0.9375rem; }

.exemplars { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.exemplars figure { margin: 0; padding: 22px; background: var(--card); border: 1px solid var(--divider); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.exemplars img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; background: var(--card-muted); margin-bottom: 14px; }
.exemplars figcaption { display: flex; flex-direction: column; gap: 4px; font-size: 0.9375rem; color: var(--ink-soft); }
.exemplars strong { color: var(--ink-strong); font-size: 1.0625rem; }
.src { color: var(--muted); font-size: 0.8125rem; font-style: italic; }
.end { align-self: flex-start; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.end-high { background: var(--green-light); color: #2f855a; }
.end-low { background: var(--purple-light); color: #6b46c1; }

/* ── challenges ─────────────────────────────────────────────────────────── */

.challenges { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(14px, 1.6vw, 22px); align-items: stretch; }
.challenge { background: var(--card); border: 1px solid var(--divider); border-radius: var(--r-xl); padding: clamp(22px, 2.4vw, 30px); box-shadow: var(--shadow-sm); }
.challenge-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.challenge h3 { font-size: 1.25rem; }
.challenge > p { color: var(--ink-soft); }
.challenge-meta { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--divider); display: flex; flex-direction: column; gap: 16px; }
.challenge-meta h4 { margin-bottom: 4px; }
.challenge-meta p, .challenge-meta li { font-size: 0.9375rem; color: var(--ink-soft); margin: 0; }
.challenge-meta ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }

.sec-measured .phone { max-width: 250px; }

/* ── footer ─────────────────────────────────────────────────────────────── */

.site-foot { background: var(--card); border-top: 1px solid var(--divider); padding-block: clamp(48px, 6vw, 80px) 32px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.foot-brand p { color: var(--ink-soft); max-width: 34ch; }
.foot-brand .btn { margin-top: 8px; }
.foot-brand .tiny { margin-top: 12px; }
.site-foot h2 { font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-foot ul a { color: var(--ink-soft); text-decoration: none; font-size: 0.9375rem; }
.site-foot ul a:hover { color: var(--teal); }
.foot-fine { margin-top: clamp(36px, 4vw, 56px); padding-top: 24px; border-top: 1px solid var(--divider); display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; }
.foot-fine p { font-size: 0.8125rem; color: var(--faint); max-width: 70ch; margin: 0; }

/* ── responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .head-nav { display: none; }
  .stats-row { grid-template-columns: repeat(3, 1fr); gap: 24px 12px; }
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: left; }
  .hero-phone { order: 2; }
  .hero-phone .phone { max-width: 280px; margin-bottom: 0; }
  .hero-copy { padding-bottom: 32px; }
  .step, .split, .type-head-inner, .foot-grid { grid-template-columns: 1fr; }
  .step:nth-child(even) .step-copy { order: 0; }
  .step .phone, .sec-measured .phone { max-width: 240px; }
  .grid-3, .grid-2, .phases ol, .phase-cards { grid-template-columns: 1fr; }
  .type-row, .dim-row { grid-template-columns: 90px 1fr; }
  .type-emblem { width: 120px; }
  .foot-grid { gap: 32px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid-4 { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .cta-row .btn { width: 100%; }
  .head-end .lang { display: none; }
  .type-row, .dim-row { grid-template-columns: 1fr; }
  .type-row img, .dim-row img { width: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
