/* deho landing pages – shared design tokens and components. No external resources. */
@font-face {
  font-family: "Inter";
  src: url("/lp-assets/inter.f052ee44c3.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
/* Until Inter has loaded, one local face stands in for every weight (metrics matched to Inter). A list of
   system families would be resolved per weight on the first layout, which costs more than the page itself. */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  font-weight: 100 900;
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22.5%;
  line-gap-override: 0%;
}

:root {
  color-scheme: light;
  --ink: #0f1e2a;
  --ink-2: #253b48;
  --muted: #4a5f6d;
  --line: #dde6eb;
  --bg: #ffffff;
  --bg-soft: #f3f7f9;
  --card: #ffffff;
  --accent: #c42a3c;
  --accent-ink: #a01f2f;
  --accent-soft: #fdecee;
  --ok: #2f7a45;
  --ok-soft: #e7f4ea;
  --brand-green: #4f7f47;
  --glow-a: rgba(64, 136, 170, .18);
  --glow-b: rgba(196, 42, 60, .10);
  --band: #0f1e2a;
  --band-ink: #e9f0f4;
  --band-muted: #b5c6d0;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(15, 30, 42, .06), 0 12px 32px -12px rgba(15, 30, 42, .18);
  --shadow-lg: 0 2px 4px rgba(15, 30, 42, .06), 0 30px 60px -20px rgba(15, 30, 42, .30);
  --font: "Inter", "Inter Fallback", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;
  --wire: #c42a3c;
  --hub-line: #2f7a45;
}

.theme-workshop {
  color-scheme: dark;
  --ink: #e8eff4;
  --ink-2: #d3dfe6;
  --muted: #a4b7c3;
  --line: #22384a;
  --bg: #0b1620;
  --bg-soft: #0f1d2a;
  --card: #112333;
  --accent: #e2414f;
  --accent-ink: #ff6b77;
  --accent-soft: #3a1820;
  --ok: #6fcf8e;
  --ok-soft: #12321f;
  --glow-a: rgba(242, 169, 59, .12);
  --glow-b: rgba(80, 160, 220, .12);
  --band: #0f2232;
  --band-ink: #e9f0f4;
  --band-muted: #b5c6d0;
  --shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 18px 40px -18px rgba(0, 0, 0, .6);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .7);
  --wire: #f2a93b;
  --hub-line: #6fcf8e;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  font-feature-settings: "cv11", "ss01";
  text-rendering: optimizeLegibility;
}
.theme-workshop body {
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(120, 170, 200, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 170, 200, .055) 1px, transparent 1px);
  background-size: 32px 32px;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-ink); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.022em; margin: 0 0 .6em; color: var(--ink); }
h1 { font-size: clamp(2.15rem, 1.4rem + 3.6vw, 4rem); font-weight: 780; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.9vw, 2.6rem); font-weight: 740; }
h3 { font-size: 1.15rem; font-weight: 680; letter-spacing: -0.012em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(820px, 100% - 2.5rem); }
.center { text-align: center; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--bg); padding: .6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.brand img { width: 112px; height: auto; }
.theme-workshop .brand img { filter: brightness(0) invert(1); }
.header-nav { margin-left: auto; }
.header-nav ul { display: flex; gap: .25rem; }
.header-nav a {
  color: var(--muted); text-decoration: none; font-size: .93rem; font-weight: 520;
  padding: .45rem .7rem; border-radius: 999px;
}
.header-nav a:hover { color: var(--ink); background: var(--bg-soft); }
@media (max-width: 900px) { .header-nav { display: none; } .header-inner > .btn { margin-left: auto; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 640; font-size: 1rem; line-height: 1.2;
  padding: .8rem 1.25rem; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  min-height: 44px;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-primary:hover { background: var(--accent-ink); transform: translateY(-1px); }
.theme-workshop .btn-primary { background: #c42a3c; }
.theme-workshop .btn-primary:hover { background: #a82232; }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--muted); transform: translateY(-1px); }
.btn-sm { padding: .5rem 1rem; font-size: .92rem; min-height: 40px; }
.btn-lg { padding: .95rem 1.5rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.icon { width: 1.4rem; height: 1.4rem; flex: none; }
.icon-sm { width: 1.05rem; height: 1.05rem; }
.text-link {
  min-height: 28px;
  display: inline-flex; align-items: center; gap: .35rem; background: none; border: 0; padding: 0;
  font: inherit; font-weight: 620; color: var(--accent-ink); cursor: pointer; text-decoration: underline;
}

/* Typography helpers */
.eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: .9rem;
}
.eyebrow--pill {
  display: inline-flex; align-items: center; gap: .5rem; letter-spacing: .06em;
  padding: .35rem .8rem; border-radius: 999px; background: var(--accent-soft);
}
.theme-workshop .eyebrow { font-family: var(--mono); letter-spacing: .08em; color: var(--wire); }
.theme-workshop .eyebrow--pill { background: rgba(242, 169, 59, .12); }
.lead { font-size: clamp(1.08rem, 1rem + .45vw, 1.28rem); color: var(--muted); max-width: 40rem; }
.section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.section-intro { color: var(--muted); font-size: 1.1rem; }
.section-intro--center { text-align: center; margin-inline: auto; max-width: 46rem; }
.sub-title { font-size: 1.2rem; margin: 2rem 0 1rem; }
.sub-title--center { text-align: center; margin-top: 3.5rem; }
.fineprint { font-size: .86rem; color: var(--muted); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 2rem + 5vw, 6.5rem) 0 clamp(3rem, 2rem + 4vw, 5.5rem); }
.hero-bg {
  position: absolute; inset: -20% -10% auto -10%; height: 140%; z-index: -1;
  background:
    radial-gradient(42rem 26rem at 78% 18%, var(--glow-a), transparent 70%),
    radial-gradient(34rem 22rem at 12% 8%, var(--glow-b), transparent 70%);
}
.theme-default .hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(15, 30, 42, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 30, 42, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(60% 55% at 60% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(60% 55% at 60% 30%, #000 30%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
.hero h1 em { font-style: normal; color: var(--accent); }
.theme-workshop .hero h1 em { color: var(--wire); }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0 1.5rem; }
.trust-pills { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; color: var(--muted); font-size: .93rem; }
.trust-pills li { display: inline-flex; align-items: center; gap: .4rem; }
.trust-pills .icon { color: var(--ok); }
.trust-pills--plain { margin: 1.2rem 0 .5rem; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

/* Hero flow card */
.hero-visual { margin: 0; }
.hero-visual figcaption { font-size: .82rem; color: var(--muted); margin-top: .8rem; text-align: center; }
.flow-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg);
  padding: 1rem 1rem 1.25rem; transform: rotate(-1deg);
}
.flow-card-bar { display: flex; align-items: center; gap: .4rem; padding: .25rem .4rem 1rem; border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.flow-card-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.flow-card-bar p { margin: 0 0 0 .6rem; font-size: .82rem; font-weight: 600; color: var(--muted); }
.flow-steps { display: grid; gap: .65rem; position: relative; }
.flow-step {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .9rem;
  padding: .85rem 1rem; border-radius: 14px; border: 1px solid var(--line); background: var(--bg);
}
.flow-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--bg-soft); color: var(--ink-2); }
.flow-text strong { display: block; font-size: .98rem; }
.flow-text small { color: var(--muted); font-size: .84rem; }
.flow-state { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); }
.flow-step { animation: flow-in .6s cubic-bezier(.2, .7, .2, 1) both; }
.flow-step[data-step="1"] { animation-delay: .35s; }
.flow-step[data-step="2"] { animation-delay: .7s; }
.flow-step[data-step="3"] { animation-delay: 1.05s; }
.flow-step .flow-state { animation: pop .4s ease both; animation-delay: inherit; }
@keyframes flow-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }

/* Hero circuit (workshop) */
.hero-visual--circuit { border: 1px solid var(--line); border-radius: 22px; background: rgba(11, 22, 32, .6); padding: .5rem; box-shadow: var(--shadow-lg); }
.circuit .c-dot { fill: rgba(150, 190, 215, .22); }
.circuit .c-wires path { fill: none; stroke: rgba(150, 190, 215, .45); stroke-width: 2; }
.circuit .c-pulses path { fill: none; stroke: var(--wire); stroke-width: 2.5; stroke-dasharray: 14 400; stroke-linecap: round; }
.circuit .c-pulses path { animation: pulse 3.2s linear infinite; }
.circuit .c-pulses path:nth-child(2) { animation-delay: 1.1s; }
.circuit .c-pulses path:nth-child(3) { animation-delay: 2.1s; }
@keyframes pulse { from { stroke-dashoffset: 260; } to { stroke-dashoffset: -150; } }
.circuit .c-parts path { stroke: rgba(150, 190, 215, .6); stroke-width: 2; fill: none; }
.circuit .c-chip { fill: #10283a; stroke: var(--wire); stroke-width: 2; }
.circuit .c-node { fill: #10283a; stroke: rgba(150, 190, 215, .7); stroke-width: 2; }
.circuit .c-node--idea { stroke: var(--wire); }
.circuit .c-graph { stroke: var(--ok) !important; stroke-width: 2.5 !important; fill: none; }
.circuit .c-label { fill: #cfe0ea; font: 600 10px var(--mono); text-anchor: middle; letter-spacing: .08em; }
.circuit .c-label--chip { fill: var(--wire); font-size: 13px; }

/* Sections */
.section { padding: clamp(4rem, 3rem + 4vw, 7rem) 0; }
/* Below-the-fold sections are laid out when they approach the viewport. */
main > .section, main > .band { content-visibility: auto; contain-intrinsic-size: auto 1000px; }
/* app.js releases them one per frame once the page is idle (see renderNext). */
main > .is-rendered { content-visibility: visible; }
.section--soft { background: var(--bg-soft); }
.theme-workshop .section--soft { background: rgba(15, 29, 42, .85); border-block: 1px solid var(--line); }
.band { padding: clamp(4rem, 3rem + 4vw, 6.5rem) 0; }
.band--dark { background: var(--band); color: var(--band-ink); position: relative; overflow: hidden; }
.band--dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40rem 20rem at 85% 0%, rgba(196, 42, 60, .22), transparent 70%), radial-gradient(30rem 20rem at 0% 100%, rgba(64, 136, 170, .25), transparent 70%);
}
.band--dark h2 { color: #fff; }
.band--dark p { color: var(--band-muted); }
.band--dark .eyebrow { color: #ff9aa5; }
.theme-workshop .band--dark { border-block: 1px solid var(--line); }
.core-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.core-copy h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.85rem); }
.core-note { color: #fff !important; font-weight: 600; border-left: 3px solid var(--accent); padding-left: 1rem; }
.safeguards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.safeguards li {
  display: grid; gap: .35rem; padding: 1.3rem; border-radius: var(--radius);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
}
.safeguards strong { color: #fff; font-size: 1.05rem; }
.safeguards span:last-child { color: var(--band-muted); font-size: .94rem; line-height: 1.5; }
.safeguards .tile-icon { background: rgba(255, 255, 255, .08); color: #fff; }
@media (max-width: 900px) { .core-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .safeguards { grid-template-columns: 1fr; } }

.tile-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-ink); flex: none; }
.tile-icon--sm { width: 38px; height: 38px; border-radius: 11px; }
.theme-workshop .tile-icon { background: rgba(242, 169, 59, .12); color: var(--wire); }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.1rem; }
.card {
  display: flex; flex-direction: column; gap: .2rem; padding: 1.6rem; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.card h3 { margin-top: 1rem; }
.card p { color: var(--muted); font-size: .98rem; }
.card-needs { margin-top: auto !important; margin-bottom: 0 !important; padding-top: .9rem; border-top: 1px dashed var(--line); font-size: .9rem !important; }
.card-needs span { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .15rem; }
.callout {
  display: flex; gap: .9rem; align-items: flex-start; margin: 2rem 0 0; padding: 1.2rem 1.4rem;
  border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-2);
}
.section--soft .callout { background: var(--card); }
.callout .icon { color: var(--accent); margin-top: .1rem; }
.theme-workshop .callout .icon { color: var(--wire); }

/* Split / feature list */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.honest { padding: 1.1rem 1.3rem; border-radius: var(--radius-sm); background: var(--ok-soft); color: var(--ink-2); font-weight: 560; }
.feature-list { display: grid; gap: 1rem; }
.feature-list li { display: flex; gap: 1.1rem; padding: 1.3rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.feature-list h3 { margin-bottom: .3rem; }
.feature-list p { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Landscape */
.symptoms { display: flex; flex-wrap: wrap; gap: .6rem; margin: -1rem 0 2.2rem; }
.symptoms { gap: .5rem 1.6rem; }
.symptoms li { display: inline-flex; align-items: center; gap: .45rem; color: var(--ink-2); font-size: .97rem; font-weight: 560; }
.symptoms .icon { color: var(--accent); }
.check {
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 1.25rem;
  padding: clamp(1rem, 2vw, 1.75rem); border-radius: 24px; background: var(--card);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.check-step { display: flex; align-items: center; gap: .6rem; font-weight: 680; margin: .3rem 0 1rem; }
.check-step span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: .82rem; }
.check-canvas { position: relative; padding: .5rem 0; }
.check-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.check-lines path { fill: none; stroke-width: 1.6; }
.check-lines .l-p2p { stroke: var(--wire); stroke-opacity: .75; stroke-width: 1.8; stroke-dasharray: 6 5; }
.check-lines .l-hub { stroke: var(--hub-line); stroke-opacity: .85; stroke-width: 2.2; }
.check-lines path.is-new { stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); animation: draw .7s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.chip-row { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: .55rem; }
.chip {
  font: inherit; font-size: .9rem; font-weight: 560; padding: .55rem .95rem; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--bg); color: var(--ink-2); min-height: 40px;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.chip:hover { border-color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); transform: translateY(-1px); }
.chip--pain[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip-row--pains { margin-bottom: .5rem; }
.hub-row { position: relative; z-index: 1; display: flex; justify-content: center; padding: 1.6rem 0; }
.hub {
  display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.1rem; border-radius: 999px;
  border: 1.5px dashed var(--line); color: var(--muted); font-weight: 640; font-size: .92rem; background: var(--bg);
  transition: all .25s ease;
}
.check.is-hub .hub { border-style: solid; border-color: var(--hub-line); color: var(--ok); background: var(--ok-soft); box-shadow: 0 0 0 6px color-mix(in srgb, var(--hub-line) 14%, transparent); }
.check-toggle { display: inline-flex; padding: .25rem; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); margin: .8rem 0 1.4rem; }
.toggle { font: inherit; font-size: .88rem; font-weight: 620; border: 0; background: none; color: var(--muted); padding: .5rem .9rem; border-radius: 999px; cursor: pointer; min-height: 40px; }
.toggle.is-active { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.check-result {
  display: flex; flex-direction: column; gap: 1rem; padding: 1.4rem; border-radius: var(--radius);
  background: var(--bg-soft); border: 1px solid var(--line);
}
.check-metrics { display: grid; gap: .7rem; }
.check-metrics div { display: flex; align-items: baseline; gap: .7rem; }
.check-metrics strong { font-size: 2rem; font-weight: 780; letter-spacing: -0.03em; min-width: 2.6ch; color: var(--ink); font-variant-numeric: tabular-nums; }
.check-metrics div:nth-child(2) strong { color: var(--accent); }
.check-metrics div:nth-child(3) strong { color: var(--ok); }
.check-metrics span { color: var(--muted); font-size: .9rem; line-height: 1.3; }
.check-advice ul { display: grid; gap: .55rem; }
.check-advice li { display: flex; gap: .5rem; font-size: .95rem; color: var(--ink-2); }
.check-advice li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: .55rem; border-radius: 50%; background: var(--accent); }
.check-advice p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 960px) { .check { grid-template-columns: 1fr; } }
.landscape-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 3rem; margin-top: 2.5rem; }
.mini-list { display: grid; gap: .9rem; }
.mini-list li { display: flex; gap: 1rem; }
.mini-list strong { display: block; margin-bottom: .1rem; }
.mini-list p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (max-width: 860px) { .landscape-grid { grid-template-columns: 1fr; } }

/* Vibe coding */
.vibe-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.vibe-situations { padding: 1.6rem; border-radius: var(--radius); background: var(--band); color: var(--band-ink); }
.vibe-situations .sub-title { color: #fff; margin-top: 0; }
.vibe-situations ul { display: grid; gap: .9rem; margin-bottom: 1.5rem; }
.vibe-situations li { display: flex; gap: .7rem; color: var(--band-muted); }
.vibe-situations .icon { color: #ff9aa5; margin-top: .2rem; }
.vibe-offers { display: grid; gap: .8rem; counter-reset: offer; }
.vibe-offers li { display: flex; gap: 1rem; padding: 1.15rem 1.3rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.vibe-offers h3 { margin-bottom: .25rem; }
.vibe-offers p { margin: 0; color: var(--muted); font-size: .97rem; }
@media (max-width: 900px) { .vibe-grid { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; position: relative; }
.steps li { position: relative; padding: 1.5rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.step-no {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--bg); font-weight: 760; margin-bottom: 1rem;
}
.steps--path .step-no { background: var(--accent-soft); color: var(--accent-ink); }
.theme-workshop .steps--path .step-no { background: rgba(242, 169, 59, .14); color: var(--wire); }
.step-tag { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: .35rem; }
.theme-workshop .step-tag { font-family: var(--mono); color: var(--wire); }
.steps p:last-child { color: var(--muted); font-size: .96rem; margin: 0; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Stories */
.story-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1.1rem; }
.story { padding: 1.6rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.story h3 { margin-top: .4rem; }
.story p:last-child { margin: 0; color: var(--muted); }
.story-tag { font: 600 .76rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); margin: 1rem 0 .3rem; }
.theme-workshop .story-tag { color: var(--wire); }

/* Practice fields (insider pages): symptom -> solution -> already built */
.audience-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: -1rem 0 2.2rem; }
.audience-row li {
  display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .9rem; border-radius: 999px;
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-2); font-size: .92rem; font-weight: 600;
}
.audience-row .icon { color: var(--accent); }
.field-list { display: grid; gap: 1.1rem; }
.field-card {
  display: grid; grid-template-columns: 13rem 1fr; gap: 1.5rem; padding: clamp(1.2rem, 2.5vw, 1.9rem);
  border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.field-card-head { display: flex; flex-direction: column; gap: .9rem; }
.field-card-head h3 { display: flex; align-items: baseline; gap: .55rem; margin: 0; font-size: 1.3rem; }
.field-no { font: 700 .82rem/1 var(--mono); color: var(--accent-ink); }
.field-rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0; }
.field-rows-item { padding: 1rem 1.1rem; border-radius: var(--radius-sm); background: var(--bg-soft); }
.field-rows-item dt {
  display: flex; align-items: center; gap: .35rem; margin-bottom: .4rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2);
}
.field-rows-item dd { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.field-rows-item--pain dt { color: var(--accent-ink); }
.field-rows-item--built { background: var(--ok-soft); }
.field-rows-item--built dt { color: var(--ok); }
.field-rows-item--built dd { color: var(--ink-2); }
@media (max-width: 1000px) { .field-card { grid-template-columns: 1fr; } .field-card-head { flex-direction: row; align-items: center; } }
@media (max-width: 760px) { .field-rows { grid-template-columns: 1fr; } }
.figures {
  margin-top: 2rem; padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: var(--radius);
  background: var(--band); color: var(--band-ink);
}
.figures-title { margin: 0 0 1.1rem; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #ff9aa5; }
.figures-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.figures-list li { display: grid; gap: .2rem; padding-left: 1rem; border-left: 2px solid rgba(255, 255, 255, .16); }
.figures-list strong { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.8rem); font-weight: 780; letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
.figures-list span { color: var(--band-muted); font-size: .95rem; }
.figures .fineprint { color: var(--band-muted); margin: 1.2rem 0 0; }
.names-note { margin-top: 1rem; }
@media (max-width: 700px) { .figures-list { grid-template-columns: 1fr; } }

/* Service modules */
.module-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1.1rem; }
.module {
  display: flex; flex-direction: column; padding: 1.6rem; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.module:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.module h3 { margin: 1rem 0 .6rem; }
.module p { color: var(--muted); font-size: .96rem; margin: 0 0 .8rem; }
.module .module-label { margin: .35rem 0 .2rem; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.module .module-practice {
  display: flex; gap: .5rem; margin: auto 0 1.1rem; padding: .8rem .9rem; border-radius: var(--radius-sm);
  background: var(--ok-soft); color: var(--ink-2); font-size: .92rem;
}
.module-practice .icon { color: var(--ok); margin-top: .15rem; }

/* Person & evidence */
.person-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.portrait { margin: 0; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); max-width: 21rem; aspect-ratio: 480 / 560; background: var(--bg-soft); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.person-role { color: var(--accent-ink); font-weight: 620; }
.theme-workshop .person-role { color: var(--wire); }
.check-list { display: grid; gap: .6rem; }
.check-list li { display: flex; gap: .6rem; color: var(--ink-2); }
.check-list .icon { color: var(--ok); margin-top: .3rem; }
.evidence-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1rem; margin-top: 1.5rem; }
.evidence { padding: 1.4rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.evidence .story-tag { margin-top: 0; }
.evidence p:last-child { margin: 0; color: var(--muted); font-size: .96rem; }
/* Above the cards: while a card waits for its reveal it sits 16px lower and must not cover the link (target size). */
.center .text-link { margin-top: 1.5rem; position: relative; z-index: 1; }
@media (max-width: 860px) { .person-grid { grid-template-columns: 1fr; } .portrait { max-width: 15rem; } }

/* FAQ */
.faq { display: grid; gap: .7rem; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); padding: 0 1.3rem; }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 2rem 1.1rem 0; font-weight: 640; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .2rem; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--muted); padding-bottom: 1.1rem; margin: 0; }

/* Contact */
.contact { background: linear-gradient(180deg, var(--bg-soft), var(--bg)); }
.theme-workshop .contact { background: linear-gradient(180deg, rgba(15, 29, 42, .9), var(--bg)); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-alt { display: grid; gap: .7rem; margin: 1.8rem 0 1rem; }
.contact-alt a {
  display: flex; align-items: center; gap: .9rem; padding: .9rem 1.1rem; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--card); color: var(--ink); text-decoration: none;
}
.contact-alt a:hover { border-color: var(--muted); }
.contact-alt .icon { color: var(--accent); }
.contact-alt strong { display: block; font-size: .98rem; }
.contact-alt small { color: var(--muted); }
.lead-form {
  padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.lead-form h3 { font-size: 1.35rem; }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field label { font-weight: 600; font-size: .94rem; }
.req, .opt { font-weight: 450; color: var(--muted); font-size: .86rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); width: 100%;
  border: 1.5px solid var(--line); border-radius: 12px; padding: .75rem .9rem; min-height: 46px;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink-2); outline: 3px solid color-mix(in srgb, var(--accent) 35%, transparent); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: var(--accent); }
.field-error { margin: 0; color: var(--accent-ink); font-size: .88rem; font-weight: 560; }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: .7rem; }
.field--check input { width: 22px; height: 22px; min-height: 0; margin-top: .15rem; accent-color: var(--accent); }
.field--check label { font-weight: 450; font-size: .9rem; color: var(--muted); }
.field--check .field-error { grid-column: 2; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.check-attached { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 1rem; margin-bottom: 1rem; border-radius: 12px; background: var(--ok-soft); }
.check-attached p { display: flex; align-items: center; gap: .5rem; margin: 0; font-size: .92rem; font-weight: 560; color: var(--ink-2); }
.form-status { margin: 1rem 0 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-success { color: var(--ok); padding: 1rem; border-radius: 12px; background: var(--ok-soft); }
.form-status.is-error { color: var(--accent-ink); padding: 1rem; border-radius: 12px; background: var(--accent-soft); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 3rem 0; font-size: .94rem; color: var(--muted); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer-brand, .footer-head { font-weight: 700; color: var(--ink); margin-bottom: .5rem; }
.site-footer ul { display: grid; gap: .35rem; }
.site-footer a { color: var(--muted); display: inline-block; padding: .3rem 0; min-height: 28px; }
.site-footer a:hover { color: var(--ink); }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } }

/* Scroll reveal: only when JS runs and motion is welcome. */
.reveal-pending { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.reveal-pending.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-pending { opacity: 1; transform: none; }
}

@media (max-width: 420px) {
  .container, .narrow { width: calc(100% - 2rem); }
  .cta-row .btn { width: 100%; }
  .flow-card { transform: none; }
}

/* ---- Theme "care": calm, trustworthy – someone keeps an eye on things ---- */
.theme-care {
  --ink: #0f1e2a;
  --ink-2: #24394a;
  --bg-soft: #f2f7f5;
  --line: #d9e5e1;
  --accent: #1d6b58;
  --accent-ink: #165545;
  --accent-soft: #e2f1ec;
  --glow-a: rgba(29, 107, 88, .16);
  --glow-b: rgba(64, 136, 170, .12);
  --warn: #8a4b06;
  --warn-soft: #fdf1dc;
  --risk: #a32a36;
  --risk-soft: #fbe9eb;
}
.theme-care .hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(29, 107, 88, .14) 1px, transparent 1.5px);
  background-size: 22px 22px;
  mask-image: radial-gradient(55% 50% at 70% 30%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(55% 50% at 70% 30%, #000 25%, transparent 75%);
}
.theme-care .band--dark::before {
  background: radial-gradient(40rem 20rem at 85% 0%, rgba(47, 160, 128, .22), transparent 70%), radial-gradient(30rem 20rem at 0% 100%, rgba(64, 136, 170, .25), transparent 70%);
}
.theme-care .band--dark .eyebrow, .theme-care .vibe-situations .icon { color: #8fdcc2; }
.theme-care .core-note { border-left-color: #8fdcc2; }

/* Hero status board */
.care-card { transform: none; }
.heartbeat { width: 100%; height: 56px; margin: -.25rem 0 .75rem; }
.heartbeat path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hb-base { stroke: var(--line); stroke-width: 2; }
.hb-pulse { stroke: var(--accent); stroke-width: 2.6; stroke-dasharray: 90 700; animation: heartbeat 3.6s linear infinite; }
@keyframes heartbeat { from { stroke-dashoffset: 90; } to { stroke-dashoffset: -700; } }
.care-state {
  font-size: .76rem; font-weight: 700; letter-spacing: .02em; padding: .3rem .6rem; border-radius: 999px; white-space: nowrap;
  animation: pop .4s ease both; animation-delay: inherit;
}
.care-state--ok { background: var(--ok-soft); color: var(--ok); }
.care-state--warn { background: var(--warn-soft); color: var(--warn); }
@media (max-width: 420px) { .care-row { grid-template-columns: auto 1fr; } .care-row .care-state { grid-column: 2; justify-self: start; } }

/* Betreuen / überwachen / eingreifen */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.pillar { padding: 1.7rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.pillar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.pillar-no { font: 700 .8rem/1 var(--mono); color: var(--muted); letter-spacing: .1em; }
.pillar-no::before { content: "0"; }
.pillar h3 { font-size: 1.35rem; margin-bottom: .2rem; }
.pillar-lead { color: var(--accent-ink); font-weight: 620; }
.pillar .check-list li { font-size: .97rem; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }

/* Situations */
.situation-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1.1rem; }
.situation { padding: 1.5rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.situation h3 { margin: 1rem 0 .4rem; }
.situation p { margin: 0; color: var(--muted); font-size: .98rem; }
.situation-then { font-weight: 700; color: var(--accent-ink); }

/* Models */
.model-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; align-items: stretch; }
.model {
  position: relative; display: flex; flex-direction: column; padding: 1.7rem; border-radius: var(--radius);
  background: var(--card); border: 1.5px solid var(--line); box-shadow: var(--shadow);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.model h3 { margin: 1rem 0 .15rem; font-size: 1.3rem; }
.model-tagline { font-weight: 640; color: var(--accent-ink); }
.model > p { color: var(--muted); font-size: .98rem; }
.model .check-list { margin: .3rem 0 1.2rem; }
.model .check-list li { font-size: .95rem; }
.model-fit { margin-top: auto; padding-top: .9rem; border-top: 1px dashed var(--line); color: var(--ink-2) !important; }
.model-fit span { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.model-caveat { font-size: .9rem !important; }
.model .model-badge {
  position: absolute; top: -.8rem; left: 1.4rem; margin: 0; padding: .25rem .7rem; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: .78rem; font-weight: 700;
}
.model.is-recommended { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent), var(--shadow-lg); transform: translateY(-3px); }
@media (max-width: 960px) { .model-grid { grid-template-columns: 1fr; } }

.compare-wrap { margin-top: 2.2rem; overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.compare-wrap:focus-visible { outline-offset: 2px; }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .95rem; }
.compare caption { text-align: left; padding: 1.1rem 1.2rem .4rem; font-weight: 700; color: var(--ink); }
.compare th, .compare td { padding: .8rem 1.2rem; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.compare thead th { font-size: .9rem; color: var(--accent-ink); border-top: 0; }
.compare thead td { border-top: 0; }
.compare tbody th { font-weight: 640; color: var(--ink-2); width: 22%; }
.compare td { color: var(--muted); }
.compare tbody tr:nth-child(odd) { background: var(--bg-soft); }

/* Betreuungs-Check */
.care-q { border: 0; margin: 0 0 1.1rem; padding: 0; min-width: 0; }
.care-q legend { padding: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice-input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.choice-input + label {
  display: inline-flex; align-items: center; min-height: 40px; padding: .5rem .95rem; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--bg); color: var(--ink-2); font-size: .9rem; font-weight: 560; line-height: 1.3;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.choice-input + label:hover { border-color: var(--muted); }
.choice-input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }
.choice-input:checked + label { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.choice-input[type="radio"]:checked + label { background: var(--accent); border-color: var(--accent); color: #fff; }
.care-check { grid-template-columns: 1.15fr .85fr; align-items: start; }
.care-result { position: sticky; top: 88px; }
.care-result-title { font-weight: 700; margin: 0; }
.meters { display: grid; gap: .75rem; }
.meter { display: grid; grid-template-columns: 7.5rem 1fr auto; align-items: center; gap: .7rem; font-size: .9rem; }
.meter-label { color: var(--ink-2); font-weight: 600; }
.meter-track { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.meter-fill { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--muted); transition: width .5s cubic-bezier(.2, .7, .2, 1), background .3s ease; }
.meter-value { font-size: .8rem; font-weight: 700; color: var(--muted); min-width: 7.2rem; text-align: right; }
.meter[data-level="good"] .meter-fill { width: 100%; background: var(--ok); }
.meter[data-level="good"] .meter-value { color: var(--ok); }
.meter[data-level="fair"] .meter-fill { width: 60%; background: #c27a12; }
.meter[data-level="fair"] .meter-value { color: var(--warn); }
.meter[data-level="poor"] .meter-fill { width: 25%; background: var(--risk); }
.meter[data-level="poor"] .meter-value { color: var(--risk); }
@media (max-width: 420px) { .meter { grid-template-columns: 1fr auto; } .meter-track { grid-column: 1 / -1; grid-row: 2; } }
.care-model { padding: 1rem 1.1rem; border-radius: var(--radius-sm); background: var(--accent-soft); }
.care-model p { margin: 0; }
.care-model-label { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.care-model-name { font-size: 1.2rem; font-weight: 740; color: var(--ink); margin: .15rem 0 .3rem !important; }
.care-model-why { font-size: .93rem; color: var(--ink-2); margin-bottom: .4rem !important; }
.theme-care .check-advice li::before { background: var(--accent); }
@media (max-width: 960px) { .care-check { grid-template-columns: 1fr; } .care-result { position: static; } }
