/* MED DOK, site web. Une seule feuille, pas de framework. */

:root {
  --ink: #111518;
  --ink-2: #3d464b;
  --ink-3: #6b767b;
  --mute: #98a1a5;
  --bg: #ffffff;
  --bg-2: #f4f6f5;
  --bg-3: #eaeeed;
  --line: #e3e7e6;
  --line-2: #cdd4d3;
  --teal: #008687;
  --teal-deep: #0a6364;
  --teal-ink: #0b5d5d;
  --teal-soft: #e2f2f1;
  --teal-faint: #f2f9f8;
  --dark: #0f1a1b;
  --dark-2: #14292a;
  --on-dark: #e9f2f1;
  --on-dark-2: rgba(233, 242, 241, 0.62);
  --line-dark: rgba(255, 255, 255, 0.1);
  --ok: #1d8a5a;
  --ok-soft: #dff3e9;
  --warn: #b35f0a;
  --warn-soft: #fbead3;
  --bad: #c43030;
  --bad-soft: #fbe1e1;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --wrap: 1140px;
  --gut: 20px;
  --r: 14px;
  --r-lg: 22px;
  --nav-h: 64px;
  --shadow-frame: 0 1px 2px rgba(15, 26, 27, 0.06), 0 24px 70px -28px rgba(15, 26, 27, 0.35);
}

@media (min-width: 760px) {
  :root { --gut: 32px; --nav-h: 72px; }
}
@media (min-width: 1100px) {
  :root { --gut: 40px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 1.5rem + 4.6vw, 4.75rem); letter-spacing: -0.035em; line-height: 1.0; }
h2 { font-size: clamp(1.85rem, 1.25rem + 2.4vw, 3.1rem); letter-spacing: -0.03em; line-height: 1.06; }
h3 { font-size: 1.3rem; letter-spacing: -0.015em; line-height: 1.25; }
h4 { font-size: 1.05rem; letter-spacing: -0.01em; }
strong { font-weight: 600; }
small { font-size: 0.875rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--teal-soft); color: var(--teal-ink); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

.lead { font-size: clamp(1.125rem, 1.02rem + 0.5vw, 1.375rem); line-height: 1.5; color: var(--ink-2); max-width: 36em; }
.muted { color: var(--ink-3); }
.small { font-size: 0.9375rem; }
.eyebrow { display: block; font-size: 0.9375rem; font-weight: 600; color: var(--teal); margin-bottom: 14px; letter-spacing: 0; }
.dark .eyebrow { color: #4fd1c5; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 999px;
  font-weight: 600; font-size: 0.9875rem; line-height: 1;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #2a3337; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--bg-2); }
.btn-lg { height: 52px; padding: 0 24px; font-size: 1.0625rem; }
.btn svg { width: 16px; height: 16px; }
.link { color: var(--teal-ink); font-weight: 600; border-bottom: 1px solid transparent; transition: border-color .15s; }
.link:hover { border-bottom-color: currentColor; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .18s; }
.link-arrow:hover svg { transform: translateX(3px); }


/* long buttons wrap on narrow screens instead of overflowing */
@media (max-width: 640px) {
  .btn { white-space: normal; height: auto; min-height: 46px; padding-top: 12px; padding-bottom: 12px; line-height: 1.25; text-align: center; }
  .btn-lg { min-height: 52px; }
}

/* ---------- Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.hdr.is-stuck { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; height: var(--nav-h); gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.125rem; letter-spacing: -0.02em; }
.brand img { width: 28px; height: 28px; border-radius: 8px; }
.brand b { font-weight: 700; }
.brand span { color: var(--teal); font-weight: 700; }
.nav-links { display: none; gap: 4px; margin-left: 12px; }
.nav-links a { padding: 8px 12px; border-radius: 999px; font-weight: 500; color: var(--ink-2); font-size: 0.9875rem; transition: background-color .15s, color .15s; }
.nav-links a:hover { background: var(--bg-2); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-right .btn { display: none; height: 40px; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .x { display: none; }
.nav-toggle[aria-expanded="true"] .bars { display: none; }
.nav-toggle[aria-expanded="true"] .x { display: block; }
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-right .btn { display: inline-flex; }
  .nav-toggle { display: none; }
}
.drawer {
  display: none; position: fixed; inset: var(--nav-h) 0 0 0; z-index: 49;
  background: #fff; padding: 20px var(--gut) 40px; flex-direction: column; gap: 4px; overflow: auto;
}
.drawer.open { display: flex; }
.drawer a { font-size: 1.5rem; font-weight: 600; padding: 14px 0; border-bottom: 1px solid var(--line); letter-spacing: -0.02em; }
.drawer .btn { margin-top: 22px; border-bottom: 0; font-size: 1.0625rem; }
.drawer .drawer-note { margin-top: auto; color: var(--ink-3); font-size: 0.9375rem; padding-top: 28px; }
body.menu-open { overflow: hidden; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 6vw + 32px, 120px) 0; }
.section-tight { padding: clamp(40px, 4vw + 16px, 72px) 0; }
.section + .section.bordered, .bordered { border-top: 1px solid var(--line); }
.bg-2 { background: var(--bg-2); }
.dark { background: var(--dark); color: var(--on-dark); }
.dark .muted { color: var(--on-dark-2); }
.dark .lead { color: var(--on-dark-2); }
.dark hr { border-color: var(--line-dark); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head .lead { margin-top: 18px; }
.center { text-align: center; }
.center .lead, .center .section-head { margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 5vw + 16px, 96px) 0 clamp(48px, 5vw, 80px); }
.hero h1 { max-width: 13em; }
.hero .lead { margin-top: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-cta .btn { flex: 1 1 auto; }
@media (min-width: 560px) { .hero-cta .btn { flex: 0 0 auto; } }
.hero-note { margin-top: 20px; color: var(--ink-3); font-size: 0.9375rem; max-width: 40em; }
.hero-shot { margin-top: clamp(40px, 5vw, 72px); }

/* Product screenshot frame */
.frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-frame);
}
.frame img { width: 100%; }
.frame-cap { margin-top: 12px; font-size: 0.875rem; color: var(--ink-3); }
.frame-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #fbfcfc; font-size: 0.8125rem; color: var(--ink-3); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); display: inline-block; }
.frame-bar i:first-child { background: #e6e9e8; }
.frame-bar span { margin-left: 6px; }
.frame-bar .right { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; }
.frame-bar .right::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.dark .frame { border-color: rgba(255,255,255,0.12); box-shadow: 0 30px 80px -30px rgba(0,0,0,0.7); }

/* Strip of facts under hero */
.facts { display: grid; gap: 18px 32px; grid-template-columns: 1fr; margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.fact b { display: block; font-size: 1.05rem; font-weight: 600; margin-bottom: 4px; letter-spacing: -0.01em; }
.fact span { color: var(--ink-3); font-size: 0.9375rem; line-height: 1.5; display: block; }

/* ---------- Split layouts ---------- */
.split { display: grid; gap: 36px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .split { grid-template-columns: 5fr 7fr; gap: 64px; }
  .split.flip > :first-child { order: 2; }
  .split.even { grid-template-columns: 1fr 1fr; }
}
.split h2 { margin-bottom: 18px; }
.split h3 { margin-bottom: 14px; }
.split p { color: var(--ink-2); }
.dark .split p { color: var(--on-dark-2); }

/* status pill */
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 0.875rem; font-weight: 600; color: var(--ink-2); padding: 5px 12px 5px 9px; border: 1px solid var(--line); border-radius: 999px; background: #fff; margin-bottom: 18px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.status.soon::before { background: var(--warn); }
.status.later::before { background: var(--mute); }
.dark .status { background: rgba(255,255,255,0.06); border-color: var(--line-dark); color: var(--on-dark); }

/* plain list with hairlines */
.list { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); }
.list li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr; gap: 2px; }
.list li b { font-weight: 600; }
.list li span { color: var(--ink-3); font-size: 0.9875rem; }
.dark .list, .dark .list li { border-color: var(--line-dark); }
.dark .list li span { color: var(--on-dark-2); }

/* numbered principles */
.steps { counter-reset: s; list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 26px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: 0.9375rem; color: var(--teal); padding-top: 6px; }
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; color: var(--ink-2); max-width: 44em; }
@media (min-width: 900px) { .steps li { grid-template-columns: 80px 1fr 1fr; align-items: start; } .steps li h3 { padding-top: 2px; } }

/* product cards (products overview) */
.products { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 8px; }
@media (min-width: 760px) { .products { grid-template-columns: 1fr 1fr; } }
.product { display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; transition: border-color .15s, transform .15s; min-height: 100%; }
a.product:hover { border-color: var(--line-2); transform: translateY(-2px); }
.product .status { margin-bottom: 18px; align-self: flex-start; }
.product h3 { margin-bottom: 8px; }
.product p { color: var(--ink-2); margin-bottom: 18px; }
.product .link-arrow { margin-top: auto; font-size: 0.9875rem; }
.product .thumb { margin: 0 -26px 20px; border-top-left-radius: var(--r-lg); border-top-right-radius: var(--r-lg); overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.product .thumb img { width: 100%; }
@media (min-width: 900px) { .products-3 { grid-template-columns: repeat(3, 1fr); } }
.product.wide { grid-column: 1 / -1; }
.product.wide .thumb { max-height: 420px; }

/* family tiles */
.fam { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .fam { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .fam { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.fam-tile { display: flex; flex-direction: column; padding: 24px 22px 26px; border: 1px solid var(--line-dark); border-radius: var(--r-lg); background: rgba(255,255,255,0.03); transition: background-color .18s, border-color .18s, transform .18s; }
.fam-tile:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.22); transform: translateY(-3px); }
.fam-tile .status { margin-bottom: auto; align-self: flex-start; }
.fam-tile h3 { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.5rem); letter-spacing: -0.035em; margin-top: 22px; color: #fff; }
@media (min-width: 1000px) { .fam-tile { min-height: 300px; } .fam-tile h3 { margin-top: 40px; } }
.fam-tile h3 b { color: #4fd1c5; font-weight: 700; }
.fam-tile p { margin: 6px 0 14px; color: var(--on-dark); font-weight: 500; }
.fam-desc { color: var(--on-dark-2); font-size: 0.9375rem; line-height: 1.5; }
.fam-foot { margin: 28px 0 0; color: var(--on-dark-2); }
.fam-foot .link { color: #4fd1c5; }

/* timeline / état des lieux */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 18px 0; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline time { font-family: var(--mono); font-size: 0.875rem; color: var(--teal); }
.timeline b { font-weight: 600; }
.timeline p { margin: 0; color: var(--ink-2); }
@media (min-width: 760px) { .timeline li { grid-template-columns: 150px 1fr; gap: 24px; } }
.dark .timeline li { border-color: var(--line-dark); }
.dark .timeline time { color: #4fd1c5; }
.dark .timeline p { color: var(--on-dark-2); }

/* OCR demo */
.ocr { display: grid; gap: 18px; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 760px) { .ocr { grid-template-columns: 1fr 1fr; gap: 24px; } }
.ocr-scan { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; box-shadow: var(--shadow-frame); position: relative; }
.ocr-scan img { width: 100%; max-height: 560px; object-fit: cover; object-position: top; }
.ocr-scan .tag, .ocr-panel .tag { position: absolute; top: 12px; left: 12px; font-size: 0.75rem; font-weight: 600; background: rgba(17,21,24,0.82); color: #fff; padding: 5px 9px; border-radius: 6px; letter-spacing: 0.01em; }
.ocr-panel { position: relative; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow-frame); padding: 48px 20px 20px; font-size: 0.9375rem; }
.ocr-panel .tag { background: var(--teal-soft); color: var(--teal-ink); }
.field { display: grid; grid-template-columns: 112px 1fr auto; gap: 10px; align-items: start; padding: 10px 0; border-top: 1px solid var(--line); }
.field:last-of-type { border-bottom: 1px solid var(--line); }
.field .k { color: var(--ink-3); font-size: 0.8125rem; padding-top: 2px; }
.field .v { font-weight: 500; }
.field .v small { display: block; color: var(--ink-3); font-weight: 400; }
.conf { font-family: var(--mono); font-size: 0.75rem; padding: 3px 7px; border-radius: 6px; white-space: nowrap; }
.conf.ok { background: var(--ok-soft); color: var(--ok); }
.conf.warn { background: var(--warn-soft); color: var(--warn); }
.conf.bad { background: var(--bad-soft); color: var(--bad); }
.ocr-foot { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; font-size: 0.875rem; color: var(--ink-3); }
.ocr-foot .btn { height: 36px; padding: 0 14px; font-size: 0.875rem; margin-left: auto; }
.legend { display: flex; flex-wrap: wrap; gap: 14px 18px; margin-top: 18px; font-size: 0.875rem; color: var(--ink-3); }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; }

/* quote / founder block */
.quote { font-size: clamp(1.25rem, 1rem + 1.2vw, 1.75rem); line-height: 1.4; letter-spacing: -0.015em; font-weight: 500; max-width: 30em; text-wrap: pretty; }
.quote-by { margin-top: 20px; display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: 0.9375rem; }
.quote-by .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.875rem; }
.quote-by b { display: block; color: var(--ink); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta { padding: clamp(56px, 7vw, 110px) 0; }
.cta .wrap { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .cta .wrap { grid-template-columns: 1fr auto; } }
.cta h2 { max-width: 14em; }
.cta p { color: var(--on-dark-2); max-width: 38em; margin-top: 16px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- En bref (texte descriptif, visible, discret) ---------- */
.brief { border-top: 1px solid var(--line); padding: 40px 0 8px; font-size: 0.875rem; color: var(--ink-3); }
.brief h2 { font-size: 0.9375rem; color: var(--ink-2); margin-bottom: 8px; letter-spacing: 0; }
.brief p { margin: 0; line-height: 1.55; }
.brief .cols { gap: 20px 48px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 48px 0 32px; font-size: 0.9375rem; color: var(--ink-3); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer .brand { color: var(--ink); margin-bottom: 12px; }
.footer-about { grid-column: 1 / -1; max-width: 34em; }
@media (min-width: 760px) { .footer-about { grid-column: auto; } }
.footer h4 { color: var(--ink); margin-bottom: 12px; font-size: 0.9375rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a:hover { color: var(--ink); }
.footer-legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 0.875rem; }
.footer-legal address { font-style: normal; }

/* ---------- Page header ---------- */
.page-head { padding: clamp(40px, 5vw + 16px, 88px) 0 clamp(32px, 4vw, 56px); }
.page-head h1 { font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4rem); max-width: 14em; }
.page-head .lead { margin-top: 20px; }
.crumbs { font-size: 0.875rem; color: var(--ink-3); margin-bottom: 20px; }
.crumbs a:hover { color: var(--ink); }

/* ---------- Prose (legal, security) ---------- */
.prose { max-width: 720px; }
.prose h2 { font-size: 1.5rem; letter-spacing: -0.02em; margin: 2.2em 0 0.7em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.125rem; margin: 1.6em 0 0.5em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose a { color: var(--teal-ink); font-weight: 500; border-bottom: 1px solid var(--teal-soft); }
.prose a:hover { border-bottom-color: currentColor; }
.prose .meta { color: var(--ink-3); font-size: 0.9375rem; margin-bottom: 2em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; margin: 0 0 1.5em; }
.prose th, .prose td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; color: var(--ink); white-space: nowrap; }

/* definition grid (legal identity, contact details) */
.defs { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
.defs div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.defs dt { color: var(--ink-3); font-size: 0.875rem; }
.defs dd { margin: 0; font-weight: 500; }
@media (min-width: 600px) { .defs div { grid-template-columns: 200px 1fr; gap: 16px; } }

/* two col text */
.cols { display: grid; gap: 28px 56px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .cols { grid-template-columns: 1fr 1fr; } }
.cols h3 { margin-bottom: 10px; }
.cols p { color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.4rem; color: var(--ink-3); flex: 0 0 auto; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 20px; color: var(--ink-2); max-width: 44em; }
.faq .a p:last-child { margin-bottom: 0; }

/* ---------- Form ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; font-size: 1rem;
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none; appearance: none;
}
.form select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b767b' stroke-width='2.2'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.form textarea { min-height: 140px; resize: vertical; }
.form .btn { justify-self: start; }
.form-note { font-size: 0.875rem; color: var(--ink-3); }
.form-ok { display: none; padding: 20px; border: 1px solid var(--ok); border-radius: 12px; background: var(--ok-soft); color: #0e5e3b; }
.form-ok.show { display: block; }
.form-err { display: none; font-size: 0.9375rem; color: var(--bad); }
.form-err.show { display: block; }
.contact-grid { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 7fr 5fr; gap: 72px; } }
.contact-side h3 { margin-bottom: 8px; }
.contact-side p { color: var(--ink-2); }
.contact-side .defs { margin-top: 8px; }

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .js [data-reveal].in { opacity: 1; transform: none; }
}

/* ---------- 404 ---------- */
.err { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.err h1 { font-size: clamp(3rem, 10vw, 7rem); color: var(--line-2); }

/* ---------- Print (DPA) ---------- */
@media print {
  .hdr, .footer, .drawer, .btn, .cta, .no-print { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .prose a { border: 0; color: #000; }
  .wrap { max-width: none; padding: 0; }
}
