/* elivance.eu - base.css v1 (18.10.2026)
   Needs tokens.css first. Order: reset -> base -> layout -> components -> utilities.
   No framework, no external requests. */

/* =========================================================
   1. Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
summary { cursor: pointer; }
summary::-webkit-details-marker { display: none; }
[hidden] { display: none !important; }

/* =========================================================
   2. Base
   ========================================================= */
body {
  min-height: 100vh;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: var(--fw-body);
  line-height: var(--lh-body);
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, h4 { font-weight: var(--fw-heading); line-height: var(--lh-heading); letter-spacing: var(--tracking-heading); text-wrap: balance; }
h1 { font-size: var(--fs-display); line-height: var(--lh-tight); letter-spacing: var(--tracking-display); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: var(--fw-bold); letter-spacing: -0.015em; }
p { text-wrap: pretty; }
strong, b { font-weight: var(--fw-bold); }

a { color: var(--c-link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--c-link-hover); text-decoration-thickness: 2px; }

:focus { outline: none; }
:focus-visible { outline: var(--focus-ring); outline-offset: var(--focus-offset); border-radius: 4px; }

::selection { background: var(--c-emerald-tint); color: var(--c-text); }

.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 100;
  background: var(--c-paper); color: var(--c-text); padding: var(--s-3) var(--s-4);
  border: var(--border) solid var(--c-text); border-radius: var(--r-sm); font-weight: var(--fw-bold);
}
.skip-link:focus { top: var(--s-4); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* =========================================================
   3. Layout
   ========================================================= */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--sunk { background: var(--c-bg-sunk); }
.section--paper { background: var(--c-paper); }
.section + .section:not(.section--sunk):not(.section--paper) { padding-top: 0; }

/* 12-column grid; children span with .col-* at >= 960px, full width below */
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--grid-gap); }
.grid > * { grid-column: 1 / -1; }
@media (min-width: 960px) {
  .col-4 { grid-column: span 4; } .col-5 { grid-column: span 5; } .col-6 { grid-column: span 6; }
  .col-7 { grid-column: span 7; } .col-8 { grid-column: span 8; }
}

/* Auto card grids: column count set by breakpoints, never minmax overflow */
.cards { display: grid; gap: var(--grid-gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .cards--2, .cards--3, .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.stack > * + * { margin-top: var(--s-4); }
.stack-lg > * + * { margin-top: var(--s-5); }

.section-head { max-width: 760px; margin-bottom: var(--s-8); }
.section-head > * + * { margin-top: var(--s-4); }
.section-head p { color: var(--c-muted); font-size: var(--fs-lead); }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--fs-label); font-weight: var(--fw-bold); letter-spacing: var(--tracking-label);
  text-transform: uppercase; color: var(--c-muted);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-emerald); flex: none; }

.prose { max-width: var(--measure); }
.muted { color: var(--c-muted); }

/* =========================================================
   4. Icons (inline SVG sprite, Tabler-style outline)
   ========================================================= */
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--lg { width: 32px; height: 32px; }

/* =========================================================
   5. Logo (temporary wordmark - swap for brandbook/logo SVG)
   ========================================================= */
.logo { display: inline-flex; align-items: baseline; font-weight: var(--fw-heading); font-size: 1.5rem; letter-spacing: -0.04em; color: var(--c-text); text-decoration: none; line-height: 1; }
.logo:hover { color: var(--c-text); }
.logo__i { position: relative; }
.logo__i::after { content: ""; position: absolute; left: 50%; top: -0.12em; width: 0.26em; height: 0.26em; margin-left: -0.13em; border-radius: 50%; background: var(--c-emerald); }

/* =========================================================
   6. Notice banner
   ========================================================= */
.notice {
  background: var(--c-emerald-tint); color: var(--c-text);
  font-size: var(--fs-small); font-weight: var(--fw-semibold); line-height: 1.45;
}
.notice__inner { display: flex; align-items: center; gap: var(--s-3); padding-block: var(--s-3); }
.notice__mark { width: 8px; height: 8px; border-radius: 50%; background: var(--c-emerald-strong); flex: none; }
.notice a { color: var(--c-text); font-weight: var(--fw-bold); white-space: nowrap; }
.notice--warning { background: var(--c-paper); border-block: var(--border-hair) solid var(--c-line); }
.notice--warning .notice__mark { background: var(--c-coral); }

/* =========================================================
   7. Header + navigation
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: color-mix(in srgb, var(--c-bg) 94%, transparent);
  -webkit-backdrop-filter: saturate(1.2) blur(8px); backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: var(--border-hair) solid var(--c-line);
}
.site-header__inner { display: flex; align-items: center; gap: var(--s-5); min-height: var(--header-h); }
.site-header__brand { margin-right: auto; }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: var(--s-1); list-style: none; margin: 0; padding: 0; }
.nav__link, .nav__trigger {
  display: inline-flex; align-items: center; gap: var(--s-1); min-height: 44px; padding: 0 var(--s-3);
  color: var(--c-text); font-weight: var(--fw-semibold); font-size: var(--fs-small); text-decoration: none; border-radius: var(--r-sm);
}
.nav__link:hover, .nav__trigger:hover { color: var(--c-text); background: var(--c-bg-sunk); text-decoration: none; }
.nav__link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--c-emerald); border-radius: 0; }
.nav__trigger { list-style: none; }
.nav__trigger .icon { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.nav__dropdown { position: relative; }
.nav__dropdown[open] .nav__trigger .icon { transform: rotate(180deg); }
.nav__menu {
  position: absolute; left: 0; top: calc(100% + 8px); min-width: 280px; padding: var(--s-2);
  background: var(--c-paper); border: var(--border-hair) solid var(--c-line); border-radius: var(--r-md); box-shadow: var(--shadow-float);
  list-style: none; margin: 0;
}
.nav__menu a { display: block; padding: var(--s-3) var(--s-4); border-radius: var(--r-sm); color: var(--c-text); text-decoration: none; font-weight: var(--fw-semibold); font-size: var(--fs-small); }
.nav__menu a:hover { background: var(--c-bg); }
.nav__menu a span { display: block; color: var(--c-muted); font-weight: var(--fw-body); font-size: 0.875rem; }

.lang { display: flex; align-items: center; gap: 2px; font-size: var(--fs-label); font-weight: var(--fw-bold); }
.lang .icon { width: 18px; height: 18px; color: var(--c-muted); margin-right: var(--s-1); }
.lang a { display: inline-grid; place-items: center; min-width: 36px; min-height: 44px; padding: 0 var(--s-1); color: var(--c-muted); text-decoration: none; border-radius: var(--r-sm); }
.lang a:hover { color: var(--c-text); background: var(--c-bg-sunk); }
.lang a[aria-current="true"] { color: var(--c-text); box-shadow: inset 0 -2px 0 var(--c-emerald); border-radius: 0; }

.site-header .header-cta { display: none; }

/* Mobile menu: <details>, works without JS */
.menu-mobile { position: static; }
.menu-mobile__toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-width: var(--tap); min-height: var(--tap); padding: 0 var(--s-3);
  border: var(--border) solid var(--c-text); border-radius: var(--r-sm); background: var(--c-paper);
  font-weight: var(--fw-bold); font-size: var(--fs-small); list-style: none;
}
.menu-mobile__toggle .icon-close { display: none; }
.menu-mobile[open] .menu-mobile__toggle .icon-open { display: none; }
.menu-mobile[open] .menu-mobile__toggle .icon-close { display: block; }
.menu-mobile__panel {
  position: absolute; left: 0; right: 0; top: 100%;
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  background: var(--c-bg); border-bottom: var(--border-hair) solid var(--c-line); box-shadow: var(--shadow-float);
  padding: var(--s-4) var(--gutter) var(--s-6);
}
.menu-mobile__panel ul { list-style: none; margin: 0; padding: 0; }
.menu-mobile__panel > ul > li { border-bottom: var(--border-hair) solid var(--c-line); }
.menu-mobile__panel a { display: flex; align-items: center; min-height: 52px; color: var(--c-text); font-weight: var(--fw-bold); text-decoration: none; }
.menu-mobile__panel .sub a { min-height: 44px; padding-left: var(--s-4); font-weight: var(--fw-semibold); color: var(--c-muted); }
.menu-mobile__panel .lang { margin-top: var(--s-4); }
.menu-mobile__panel .btn { margin-top: var(--s-5); width: 100%; color: var(--btn-fg); justify-content: center; }

/* header CTA from 900px; below that the sticky bottom bar carries the call */
@media (min-width: 900px) {
  .site-header .header-cta { display: inline-flex; }
}
@media (min-width: 1080px) {
  .nav { display: block; }
  .menu-mobile { display: none; }
}
.site-header .lang--header { display: none; }
@media (min-width: 1080px) { .site-header .lang--header { display: flex; } }

/* =========================================================
   8. Buttons
   ========================================================= */
.btn {
  --btn-bg: var(--c-emerald-strong); --btn-fg: var(--c-on-emerald); --btn-bd: var(--c-emerald-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: var(--tap); padding: 0 var(--s-5);
  background: var(--btn-bg); color: var(--btn-fg); border: var(--border) solid var(--btn-bd); border-radius: var(--r-sm);
  font-weight: var(--fw-bold); font-size: var(--fs-small); line-height: 1.2; text-align: center; text-decoration: none;
  transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.btn:hover { --btn-bg: var(--c-emerald-deep); --btn-bd: var(--c-emerald-deep); color: var(--btn-fg); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 20px; height: 20px; }
.btn--lg { min-height: 56px; padding: 0 var(--s-6); font-size: 1.0625rem; }
.btn--secondary { --btn-bg: transparent; --btn-fg: var(--c-text); --btn-bd: var(--c-text); }
.btn--secondary:hover { --btn-bg: var(--c-text); --btn-fg: var(--c-paper); --btn-bd: var(--c-text); }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { --btn-bg: var(--c-line); --btn-bd: var(--c-line); --btn-fg: var(--c-muted); cursor: not-allowed; }

.link-arrow { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; font-weight: var(--fw-bold); color: var(--c-link); text-decoration: none; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* =========================================================
   9. Hero
   ========================================================= */
.hero { padding-block: clamp(40px, 1.6rem + 4vw, 96px) var(--section-y); }
.hero__grid { display: grid; gap: var(--s-7); grid-template-columns: minmax(0, 1fr); align-items: center; }
.hero__copy > * + * { margin-top: var(--s-5); }
.hero__copy h1 { max-width: 15ch; }
.hero__lead { font-size: var(--fs-lead); color: var(--c-muted); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); padding-top: var(--s-2); }
.trust-line { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); list-style: none; padding: 0; color: var(--c-muted); font-size: var(--fs-small); font-weight: var(--fw-semibold); }
.trust-line li { display: inline-flex; align-items: center; gap: var(--s-2); }
.trust-line .icon { color: var(--c-emerald-strong); width: 18px; height: 18px; }

.person { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: var(--s-4); align-items: center; }
.person__photo { width: 88px; aspect-ratio: 1; border-radius: var(--r-md); object-fit: cover; background: var(--c-bg-sunk); }
.person__name { font-weight: var(--fw-heading); font-size: 1.125rem; letter-spacing: -0.01em; line-height: 1.3; }
.person__role { color: var(--c-muted); font-size: var(--fs-small); line-height: 1.45; }

@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-10); }
  .hero .person { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
  .hero .person__photo { width: 100%; max-width: 440px; aspect-ratio: 1; object-position: 50% 30%; }
  .hero .person figcaption { padding-left: var(--s-1); border-left: var(--border) solid var(--c-emerald); padding-inline-start: var(--s-4); }
}

/* =========================================================
   10. Steps (numbered, e.g. "what happens on the call")
   ========================================================= */
.steps { display: grid; gap: var(--grid-gap); grid-template-columns: minmax(0, 1fr); counter-reset: step; list-style: none; padding: 0; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step { counter-increment: step; padding-top: var(--s-5); border-top: var(--border) solid var(--c-text); }
.step::before {
  content: counter(step, decimal-leading-zero); display: block; margin-bottom: var(--s-4);
  font-size: var(--fs-label); font-weight: var(--fw-heading); letter-spacing: var(--tracking-label); color: var(--c-emerald-strong);
}
.step h3 { margin-bottom: var(--s-2); }
.step p { color: var(--c-muted); }

.callout { margin-top: var(--s-8); padding: var(--s-5) var(--s-6); border-left: 4px solid var(--c-emerald); background: var(--c-paper); border-radius: 0 var(--r-md) var(--r-md) 0; font-weight: var(--fw-semibold); max-width: 760px; }

/* =========================================================
   11. Cards
   ========================================================= */
.card {
  position: relative; display: flex; flex-direction: column; gap: var(--s-4);
  padding: clamp(24px, 1.2rem + 0.8vw, 32px);
  background: var(--c-paper); border: var(--border) solid var(--c-line); border-radius: var(--r-md);
}
.card__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--c-emerald-tint); color: var(--c-emerald-strong); }
.card__icon .icon { width: 26px; height: 26px; }
.card__title { font-size: var(--fs-h3); }
.card__title a { color: inherit; text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-md); } /* whole card clickable */
.card__title a:focus-visible { outline: none; }
.card:has(.card__title a:focus-visible) { outline: var(--focus-ring); outline-offset: var(--focus-offset); }
.card:has(.card__title a:hover) { border-color: var(--c-text); }
.card__text { color: var(--c-muted); }
.card__meta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding-top: var(--s-4); border-top: var(--border-hair) solid var(--c-line); font-size: var(--fs-small); }
.card__price { font-weight: var(--fw-bold); color: var(--c-text); }
.card__more { display: inline-flex; align-items: center; gap: var(--s-1); color: var(--c-link); font-weight: var(--fw-bold); }
.card__more .icon { width: 18px; height: 18px; }
/* "Right" block (brand): emerald frame - one per section */
.card--featured { border-color: var(--c-emerald); }
.card--featured .tag { align-self: flex-start; }

.tag { display: inline-flex; align-items: center; min-height: 28px; padding: 0 var(--s-3); border-radius: var(--r-sm); background: var(--c-emerald-tint); color: var(--c-emerald-strong); font-size: var(--fs-label); font-weight: var(--fw-bold); letter-spacing: 0.02em; }
.tag--neutral { background: var(--c-bg-sunk); color: var(--c-text); }

/* =========================================================
   12. Proof: flow diagram ("this site runs on what I sell")
   ========================================================= */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); grid-template-columns: minmax(0, 1fr); counter-reset: flow; }
.flow__step { counter-increment: flow; position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--s-4); align-items: start; padding: var(--s-4) var(--s-5); background: var(--c-paper); border: var(--border) solid var(--c-line); border-radius: var(--r-md); }
.flow__step::before { content: counter(flow); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--c-emerald-tint); color: var(--c-emerald-strong); font-weight: var(--fw-heading); }
.flow__step strong { display: block; line-height: 1.35; }
.flow__step span { display: block; color: var(--c-muted); font-size: var(--fs-small); line-height: 1.45; margin-top: 2px; }
.flow__step:last-child { border-color: var(--c-emerald); }
@media (min-width: 1024px) {
  .flow { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-4); }
  .flow__step { grid-template-columns: minmax(0, 1fr); padding: var(--s-5); }
  .flow__step:not(:last-child)::after { content: ""; position: absolute; right: calc(-1 * var(--s-4) - 1px); top: 44px; width: var(--s-4); height: 2px; background: var(--c-text); }
}
.proof-grid { display: grid; gap: var(--grid-gap); grid-template-columns: minmax(0, 1fr); margin-top: var(--grid-gap); }
@media (min-width: 960px) { .proof-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-3); }
.checklist li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--s-3); align-items: start; }
.checklist .icon { color: var(--c-emerald-strong); width: 22px; height: 22px; margin-top: 3px; }
.status-note { display: inline-flex; align-items: center; gap: var(--s-2); font-size: var(--fs-small); color: var(--c-muted); font-weight: var(--fw-semibold); }
.status-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--c-muted); }

/* =========================================================
   13. Price cards
   ========================================================= */
.price-card { display: flex; flex-direction: column; gap: var(--s-4); padding: clamp(24px, 1.2rem + 0.8vw, 40px); background: var(--c-paper); border: var(--border) solid var(--c-line); border-radius: var(--r-md); }
.price-card__name { font-size: var(--fs-h3); font-weight: var(--fw-bold); }
.price-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--s-2); }
.price-card__from { flex-basis: 100%; font-size: var(--fs-label); font-weight: var(--fw-bold); letter-spacing: var(--tracking-label); color: var(--c-muted); text-transform: uppercase; }
.price-card__amount { font-size: var(--fs-number); font-weight: var(--fw-heading); letter-spacing: var(--tracking-display); line-height: 1; font-variant-numeric: tabular-nums; }
.price-card__unit { font-size: var(--fs-small); color: var(--c-muted); font-weight: var(--fw-semibold); }
.price-card__desc { color: var(--c-muted); }
.price-card .checklist { padding-top: var(--s-4); border-top: var(--border-hair) solid var(--c-line); font-size: var(--fs-small); }
.price-card__cta { margin-top: auto; padding-top: var(--s-3); }
.price-card--featured { border-color: var(--c-emerald); }
.price-foot { margin-top: var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); align-items: center; justify-content: space-between; color: var(--c-muted); font-size: var(--fs-small); }
.launch { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-5); align-items: center; margin-top: var(--grid-gap); padding: var(--s-5) clamp(24px, 1.2rem + 0.8vw, 40px); background: var(--c-paper); border: var(--border) dashed var(--c-line-strong); border-radius: var(--r-md); }
.launch__number { font-size: var(--fs-number); font-weight: var(--fw-heading); letter-spacing: var(--tracking-display); line-height: 1; color: var(--c-coral); } /* large text only: 3.14:1 OK >= 24px */
.launch p { font-weight: var(--fw-semibold); }
.launch p span { display: block; color: var(--c-muted); font-weight: var(--fw-body); font-size: var(--fs-small); }

/* =========================================================
   14. Feature list ("how projects work")
   ========================================================= */
.terms { display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); border-top: var(--border) solid var(--c-text); }
.terms__row { display: grid; gap: var(--s-2) var(--s-6); grid-template-columns: minmax(0, 1fr); padding-block: var(--s-5); border-bottom: var(--border-hair) solid var(--c-line); }
.terms__row dt { font-weight: var(--fw-heading); font-size: 1.125rem; }
.terms__row dd { color: var(--c-muted); }
@media (min-width: 768px) { .terms__row { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }

/* =========================================================
   15. About block
   ========================================================= */
.about { display: grid; gap: var(--s-7); grid-template-columns: minmax(0, 1fr); align-items: center; }
.about__photo { width: 100%; max-width: 360px; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-md); }
.about__copy > * + * { margin-top: var(--s-4); }
.about__facts { list-style: none; padding: 0; display: grid; gap: var(--s-2); color: var(--c-muted); font-size: var(--fs-small); font-weight: var(--fw-semibold); }
@media (min-width: 768px) { .about { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--s-10); } }

/* =========================================================
   16. Blog / notes card
   ========================================================= */
.post-card { position: relative; display: flex; flex-direction: column; gap: var(--s-3); padding: clamp(24px, 1.2rem + 0.8vw, 32px); background: var(--c-paper); border: var(--border) solid var(--c-line); border-radius: var(--r-md); }
.post-card__thumb { aspect-ratio: 16 / 9; border-radius: var(--r-sm); background: var(--c-bg); border: var(--border-hair) solid var(--c-line); display: grid; place-items: center; color: var(--c-muted); margin-bottom: var(--s-2); overflow: hidden; }
.post-card__thumb .icon { width: 40px; height: 40px; color: var(--c-emerald); }
.post-card__title { font-size: var(--fs-h3); }
.post-card__title a { color: inherit; text-decoration: none; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-md); }
.post-card__title a:focus-visible { outline: none; }
.post-card:has(.post-card__title a:focus-visible) { outline: var(--focus-ring); outline-offset: var(--focus-offset); }
.post-card:has(.post-card__title a:hover) { border-color: var(--c-text); }
.post-card__excerpt { color: var(--c-muted); font-size: var(--fs-small); }
.post-card__more { margin-top: auto; padding-top: var(--s-2); display: inline-flex; align-items: center; gap: var(--s-1); font-weight: var(--fw-bold); color: var(--c-link); font-size: var(--fs-small); }
.post-card__more .icon { width: 18px; height: 18px; }

/* =========================================================
   17. FAQ accordion (<details>, no JS)
   ========================================================= */
.faq { border-top: var(--border) solid var(--c-text); max-width: 880px; }
.faq__item { border-bottom: var(--border-hair) solid var(--c-line); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  min-height: 64px; padding-block: var(--s-4); list-style: none;
  font-weight: var(--fw-bold); font-size: 1.125rem; line-height: 1.4;
}
.faq__q:hover { color: var(--c-emerald-deep); }
.faq__q:focus-visible { outline-offset: 2px; }
.faq__sign { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; border: var(--border) solid var(--c-text); }
.faq__sign::before, .faq__sign::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: currentColor; transition: transform var(--dur) var(--ease); }
.faq__sign::after { transform: rotate(90deg); }
.faq__item[open] .faq__sign { background: var(--c-text); color: var(--c-paper); }
.faq__item[open] .faq__sign::after { transform: rotate(0deg); }
.faq__a { padding-bottom: var(--s-5); color: var(--c-muted); max-width: var(--measure); }
.faq__a > * + * { margin-top: var(--s-3); }

/* =========================================================
   18. Forms
   ========================================================= */
.form { display: grid; gap: var(--s-5); }
.form__row { display: grid; gap: var(--s-5); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: var(--s-2); }
.field__label { font-weight: var(--fw-bold); font-size: var(--fs-small); }
.field__opt { font-weight: var(--fw-body); color: var(--c-muted); }
.field__hint { font-size: 0.9375rem; color: var(--c-muted); line-height: 1.45; }
.input, .textarea, .select {
  width: 100%; min-height: var(--tap); padding: var(--s-3) var(--s-4);
  background: var(--c-paper); color: var(--c-text);
  border: var(--border) solid var(--c-line-strong); border-radius: var(--r-sm);
  font-size: 1rem; font-weight: var(--fw-body); line-height: 1.4;
  transition: border-color var(--dur-fast) var(--ease);
}
.textarea { min-height: 128px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--c-muted); opacity: 1; }
.input:hover, .textarea:hover, .select:hover { border-color: var(--c-text); }
.input:focus-visible, .textarea:focus-visible, .select:focus-visible { outline: var(--focus-ring); outline-offset: 1px; border-color: var(--c-text); border-radius: var(--r-sm); }
/* Error state: border + icon + text, never color alone */
.field--error .input, .field--error .textarea, .input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--c-error); border-width: 2px; background: #FFFBFA; }
.field__error { display: flex; align-items: flex-start; gap: var(--s-2); color: var(--c-error); font-size: 0.9375rem; font-weight: var(--fw-bold); line-height: 1.45; }
.field__error .icon { width: 18px; height: 18px; margin-top: 2px; }
.check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--s-3); align-items: start; font-size: 0.9375rem; color: var(--c-muted); line-height: 1.5; }
.check input { width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--c-emerald-strong); }
.form__foot { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; }
.form__note { color: var(--c-muted); font-size: 0.9375rem; }
.form-summary { padding: var(--s-4) var(--s-5); border: var(--border) solid var(--c-error); border-radius: var(--r-sm); background: var(--c-paper); }
.form-summary h3 { font-size: 1rem; color: var(--c-error); }

/* =========================================================
   19. Final CTA block (calendar placeholder + form)
   ========================================================= */
.final { display: grid; gap: var(--grid-gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .final { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); } }
.panel { padding: clamp(24px, 1.2rem + 1.2vw, 48px); background: var(--c-paper); border: var(--border) solid var(--c-line); border-radius: var(--r-md); }
.panel--featured { border-color: var(--c-emerald); }
.panel { display: flex; flex-direction: column; }
.panel > * + * { margin-top: var(--s-5); }
.panel > .embed-slot { flex: 1 1 auto; }
.panel h3 { font-size: var(--fs-h3); }
.embed-slot {
  display: grid; place-items: center; gap: var(--s-4); text-align: center;
  min-height: 280px; padding: var(--s-6); border: var(--border) dashed var(--c-line-strong); border-radius: var(--r-md); background: var(--c-bg);
}
.embed-slot p { color: var(--c-muted); font-size: var(--fs-small); max-width: 36ch; text-align: center; }
.final__dot { width: 56px; height: 56px; border-radius: 50%; background: var(--c-emerald); } /* brand dot - only here and in logo */

/* =========================================================
   20. Footer (dark surface)
   ========================================================= */
.site-footer { background: var(--c-dark); color: var(--c-on-dark); padding-block: var(--s-10) var(--s-6); font-size: var(--fs-small); }
.site-footer a { color: var(--c-on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--c-on-dark); }
.site-footer :focus-visible { outline-color: var(--c-focus-on-dark); }
.site-footer .logo { color: var(--c-on-dark); }
.footer__grid { display: grid; gap: var(--s-7) var(--grid-gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: minmax(0, 4fr) repeat(4, minmax(0, 2fr)); } }
.footer__brand p { color: var(--c-on-dark-muted); margin-top: var(--s-4); max-width: 34ch; }
.footer__title { font-size: var(--fs-label); font-weight: var(--fw-bold); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--c-on-dark-muted); margin-bottom: var(--s-3); }
.footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.footer__list a, .footer__list span { display: inline-flex; align-items: center; min-height: 36px; }
.footer__list span { color: var(--c-on-dark-muted); }
.footer__bottom { margin-top: var(--s-8); padding-top: var(--s-5); border-top: var(--border-hair) solid var(--c-on-dark-line); display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); justify-content: space-between; color: var(--c-on-dark-muted); }
.site-footer .lang a { color: var(--c-on-dark-muted); }
.site-footer .lang a[aria-current="true"] { color: var(--c-on-dark); box-shadow: inset 0 -2px 0 var(--c-emerald); }
.site-footer .lang .icon { color: var(--c-on-dark-muted); }

/* =========================================================
   21. Chat launcher (assistant - never auto-opens)
   ========================================================= */
.launcher {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(var(--sticky-cta-h) + 16px + env(safe-area-inset-bottom));
  z-index: var(--z-launcher);
  display: inline-flex; align-items: center; gap: var(--s-2);
  min-width: 56px; min-height: 56px; padding: 0 var(--s-4);
  background: var(--c-paper); color: var(--c-text); border: var(--border) solid var(--c-text); border-radius: var(--r-pill);
  box-shadow: var(--shadow-float); font-weight: var(--fw-bold); font-size: var(--fs-small);
}
.launcher:hover { background: var(--c-text); color: var(--c-paper); }
.launcher .icon { width: 24px; height: 24px; }
.launcher__label { display: none; }
.launcher--float { display: none; }
.launcher__ai { font-size: 0.75rem; font-weight: var(--fw-heading); letter-spacing: 0.04em; padding: 2px 6px; border-radius: 4px; background: var(--c-emerald-tint); color: var(--c-emerald-strong); }
.launcher:hover .launcher__ai { background: var(--c-paper); }
@media (min-width: 900px) {
  .launcher--float { display: inline-flex; bottom: max(24px, env(safe-area-inset-bottom)); right: 24px; }
  .launcher__label { display: inline; }
}
/* in-bar variant (mobile): sits left of the sticky CTA, no overlap with content */
.launcher--bar { position: static; box-shadow: none; flex: none; padding: 0 var(--s-3); min-height: 56px; }

/* =========================================================
   22. Sticky mobile CTA
   ========================================================= */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky-cta);
  padding: var(--s-3) var(--gutter) calc(var(--s-3) + env(safe-area-inset-bottom));
  background: var(--c-paper); border-top: var(--border-hair) solid var(--c-line); box-shadow: var(--shadow-float);
}
.sticky-cta { display: flex; gap: var(--s-3); align-items: center; }
.sticky-cta .btn { flex: 1 1 auto; min-width: 0; }
/* reserve room under the footer (dark), not under body (light strip) */
body.has-sticky-cta .site-footer { padding-bottom: calc(var(--s-6) + var(--sticky-cta-h) + env(safe-area-inset-bottom)); }
@media (min-width: 900px) {
  .sticky-cta { display: none; }
  body.has-sticky-cta .site-footer { padding-bottom: var(--s-6); }
}

/* =========================================================
   23. Utilities
   ========================================================= */
.u-coral { color: var(--c-coral); } /* ONE word per screen, large text only */
.u-mt-0 { margin-top: 0 !important; }
.u-center-x { margin-inline: auto; }
.nowrap { white-space: nowrap; }

@media print {
  .site-header, .sticky-cta, .launcher, .notice { display: none !important; }
  body { background: #fff; }
}
