/* =========================================================================
   DiaSupply Buyers — design system
   Palette: deep navy, medical teal, white. Type: Inter (self-hosted).
   No inline styles anywhere (CSP: style-src 'self').
   ========================================================================= */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-950: #071a33;
  --navy-900: #0b1f3a;
  --navy-800: #123259;
  --navy-700: #1b4373;
  --teal-700: #0f766e;
  --teal-600: #0d9488;
  --teal-400: #2dd4bf;
  --teal-200: #99f6e4;
  --teal-100: #ccfbf1;
  --teal-50: #f0fdfa;

  --ink: #14243b;
  --muted: #4a5b72;
  --line: #d6e0ea;
  --soft: #f3f7fa;
  --white: #fff;

  --warn-bg: #fff7e6;
  --warn-line: #f2cf8a;
  --warn-ink: #7a4b00;
  --err-bg: #fdf0ee;
  --err-line: #f0b4ad;
  --err-ink: #a1261b;

  --r-card: 20px;
  --r-ctl: 12px;
  --r-pill: 999px;

  --shadow-lift: 0 24px 60px -24px rgba(7, 26, 51, 0.55);
  --focus: 0 0 0 3px #fff, 0 0 0 6px var(--teal-700);

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1140px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3,
h4 {
  margin: 0 0 0.6em;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  font-weight: 720;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.5rem + 2.8vw, 3.45rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.65rem, 1.3rem + 1.4vw, 2.35rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.012em; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--teal-700); text-underline-offset: 0.18em; }
a:hover { color: var(--navy-800); }
ul, ol { padding-left: 1.25rem; margin: 0 0 1em; }
li { margin-bottom: 0.35em; }
strong { font-weight: 650; }

:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
main:focus { outline: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 0.75rem; top: -4rem; z-index: 100; background: var(--navy-900); color: #fff; padding: 0.7rem 1rem; border-radius: var(--r-ctl); transition: top 0.15s; }
.skip-link:focus { top: 0.75rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 62ch; }
.fine { font-size: 0.9rem; color: var(--muted); }
.center { text-align: center; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

mark.todo { background: #ffe14d; color: #3d2f00; padding: 0.05em 0.4em; border-radius: 4px; outline: 2px dashed #b08900; font-weight: 600; font-size: 0.9em; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--navy-900); }
.logo-mark { width: 2.25rem; height: 2.25rem; }
.logo-bg { fill: var(--navy-900); }
.logo-drop { fill: #fff; }
.logo-check { fill: none; stroke: var(--teal-700); stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.logo-text { font-weight: 760; font-size: 1.18rem; letter-spacing: -0.02em; }
.logo-accent { color: var(--teal-700); }
.brand-light { color: #fff; }
.brand-light .logo-bg { fill: var(--teal-600); }
.brand-light .logo-check { stroke: var(--navy-900); }
.brand-light .logo-accent { color: var(--teal-400); }

.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.nav-list { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav-list li { margin: 0; }
.nav-list a { display: inline-block; padding: 0.4rem 0; color: var(--ink); font-weight: 560; font-size: 0.98rem; text-decoration: none; border-bottom: 2px solid transparent; }
.nav-list a:hover { color: var(--teal-700); }
.nav-list a[aria-current="page"] { border-bottom-color: var(--teal-700); color: var(--navy-900); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--r-ctl); width: 2.9rem; height: 2.9rem; align-items: center; justify-content: center; color: var(--navy-900); cursor: pointer; }
.nav-toggle .icon { width: 1.5rem; height: 1.5rem; }
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline-flex; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3rem; padding: 0.7rem 1.35rem; border-radius: var(--r-ctl); border: 1.5px solid transparent; font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s; }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--teal-700); color: #fff; }
.btn-primary:hover { background: #0b5f59; color: #fff; }
.btn-secondary { background: #fff; color: var(--navy-900); border-color: var(--navy-900); }
.btn-secondary:hover { background: var(--navy-900); color: #fff; }
.btn-ghost { background: transparent; color: var(--teal-700); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal-700); color: var(--teal-700); }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { background: var(--teal-100); color: var(--navy-900); }
.btn-on-dark { background: var(--teal-400); color: var(--navy-950); }
.btn-on-dark:hover { background: var(--teal-200); color: var(--navy-950); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: #fff; }
.btn-lg { min-height: 3.35rem; padding-inline: 1.7rem; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.nav-cta { min-height: 2.7rem; padding: 0.5rem 1.05rem; font-size: 0.95rem; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(900px 420px at 88% 8%, rgba(45, 212, 191, 0.22), transparent 62%), linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 52%, #0c3a56 120%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.hero h1 { color: #fff; max-width: 17ch; }
.hero .lead { color: #c5d3e4; margin-bottom: 1.75rem; }
.hero-note { margin: 1.1rem 0 0; font-size: 0.92rem; color: #aebfd3; display: flex; gap: 0.5rem; align-items: flex-start; }
.hero-note .icon { margin-top: 0.2rem; color: var(--teal-400); }

.review-panel { background: #fff; color: var(--ink); border-radius: 24px; padding: 1.4rem; box-shadow: var(--shadow-lift); max-width: 30rem; margin-inline: auto; width: 100%; }
.review-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; margin-bottom: 0.6rem; border-bottom: 1px solid var(--line); }
.review-head strong { display: block; color: var(--navy-900); font-size: 1.02rem; }
.review-head span { font-size: 0.85rem; color: var(--muted); }
.review-badge { background: var(--teal-50); color: var(--teal-700); border: 1px solid var(--teal-200); padding: 0.2rem 0.65rem; border-radius: var(--r-pill); font-size: 0.8rem; font-weight: 650; white-space: nowrap; }
.review-list { list-style: none; margin: 0; padding: 0; }
.review-list li { display: grid; grid-template-columns: 2.4rem 1fr; gap: 0.85rem; align-items: start; margin: 0; padding: 0.8rem 0; position: relative; }
.review-list li + li::before { content: ""; position: absolute; left: 1.2rem; top: -0.8rem; height: 1.2rem; border-left: 2px dashed var(--line); }
.review-dot { width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--muted); border: 1px solid var(--line); }
.review-dot .icon { width: 1.15rem; height: 1.15rem; }
.is-done .review-dot { background: var(--teal-700); color: #fff; border-color: var(--teal-700); }
.is-now .review-dot { background: #fff; color: var(--teal-700); border: 2px solid var(--teal-700); }
.review-list h3 { font-size: 0.98rem; margin: 0 0 0.1rem; letter-spacing: 0; }
.review-list p { margin: 0; font-size: 0.88rem; color: var(--muted); line-height: 1.45; }
.review-foot { margin: 0.6rem 0 0; padding-top: 0.9rem; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--muted); }

/* one orchestrated entrance, hero only */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.review-list li { animation: rise 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.review-list li:nth-child(1) { animation-delay: 0.15s; }
.review-list li:nth-child(2) { animation-delay: 0.3s; }
.review-list li:nth-child(3) { animation-delay: 0.45s; }
.review-list li:nth-child(4) { animation-delay: 0.6s; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.25rem, 6vw, 5.5rem); }
.section-soft { background: var(--soft); }
.section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.page-hero { background: linear-gradient(180deg, var(--teal-50), #fff); border-bottom: 1px solid var(--line); padding-block: clamp(2.5rem, 5vw, 4rem); }
.page-hero h1 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3rem); margin-bottom: 0.4em; }
.page-hero .lead { margin: 0; }

.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.6rem; }
.card h3 { margin-bottom: 0.4em; }
.card p:last-child { margin-bottom: 0; }
.section-soft .card { border-color: #e1e9f0; }

.icon-chip { width: 3rem; height: 3rem; border-radius: 14px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-700); border: 1px solid var(--teal-100); margin-bottom: 1rem; flex: none; }
.icon-chip .icon { width: 1.5rem; height: 1.5rem; }

.status { display: flex; gap: 0.5rem; align-items: center; font-size: 0.92rem; font-weight: 600; margin: 0.9rem 0 0; }
.status .icon { width: 1.1rem; height: 1.1rem; }
.status-open { color: var(--teal-700); }
.status-info { color: var(--muted); }

.product-card { display: flex; flex-direction: column; gap: 0.25rem; }
.product-card .btn { align-self: flex-start; margin-top: 0.75rem; }
.product-card-head { display: flex; gap: 1rem; align-items: flex-start; }
.product-card-head .icon-chip { margin-bottom: 0; }
.product-card-head .status { margin-top: 0.2rem; }

/* steps (a real sequence, so numbered) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; counter-reset: step; }
.steps li { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.5rem; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--navy-900); color: #fff; font-weight: 700; margin-bottom: 1rem; }
.steps h3 { font-size: 1.1rem; }
.steps p { font-size: 0.97rem; color: var(--muted); margin: 0; }
.steps-vertical { grid-template-columns: 1fr; max-width: 46rem; }
.steps-vertical li { display: grid; grid-template-columns: 2.4rem 1fr; column-gap: 1.1rem; }
.steps-vertical li::before { grid-row: 1 / span 2; margin: 0; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.checklist li { display: flex; gap: 0.7rem; align-items: flex-start; margin: 0; }
.checklist .icon { color: var(--teal-700); margin-top: 0.2rem; }
.checklist.no .icon { color: var(--err-ink); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.assurance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; padding-block: 2rem; }
.assurance div { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.95rem; line-height: 1.4; }
.assurance .icon { color: var(--teal-700); margin-top: 0.1rem; width: 1.4rem; height: 1.4rem; }
.assurance strong { display: block; color: var(--navy-900); }
.assurance span { color: var(--muted); }
.assurance-wrap { border-bottom: 1px solid var(--line); }

/* FAQ */
.faq-list { display: grid; gap: 0.8rem; max-width: 52rem; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; font-weight: 650; color: var(--navy-900); border-radius: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .chevron { transition: transform 0.2s; color: var(--teal-700); }
.faq-item[open] .chevron { transform: rotate(180deg); }
.faq-item[open] summary { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.faq-body { padding: 0 1.3rem 1.2rem; color: var(--muted); }
.faq-body p:last-child, .faq-body ul:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--navy-900), #0c3a56); color: #fff; }
.cta-band h2 { color: #fff; margin-bottom: 0.3em; }
.cta-band p { color: #c5d3e4; margin: 0; max-width: 52ch; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }

/* ---------- Callouts ---------- */
.callout { display: flex; gap: 0.8rem; align-items: flex-start; border-radius: 14px; padding: 1rem 1.15rem; border: 1px solid var(--line); background: var(--soft); font-size: 0.97rem; }
.callout .icon { margin-top: 0.15rem; }
.callout > div > :last-child { margin-bottom: 0; }
.callout-info { background: var(--teal-50); border-color: var(--teal-200); color: #0b4e49; }
.callout-warn { background: var(--warn-bg); border-color: var(--warn-line); color: var(--warn-ink); }
.callout-error { background: var(--err-bg); border-color: var(--err-line); color: var(--err-ink); }
.callout-success { background: var(--teal-50); border-color: var(--teal-700); color: #0b4e49; }
.callout a { color: inherit; font-weight: 600; }

/* ---------- Forms ---------- */
.form-shell { max-width: 46rem; margin-inline: auto; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.25rem, 3vw, 2.25rem); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin: 0 0 0.35rem; font-size: 1.35rem; font-weight: 720; color: var(--navy-900); letter-spacing: -0.015em; }
.step-intro { color: var(--muted); margin-bottom: 1.5rem; }
.field { margin-bottom: 1.15rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
label, .label { display: block; font-weight: 620; font-size: 0.96rem; margin-bottom: 0.4rem; color: var(--navy-900); }
.req { color: var(--err-ink); font-weight: 700; margin-left: 0.15rem; }
.opt { color: var(--muted); font-weight: 500; font-size: 0.88rem; margin-left: 0.3rem; }
.hint { font-size: 0.88rem; color: var(--muted); margin: 0.35rem 0 0; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], input[type="password"], select, textarea {
  width: 100%; min-height: 3.1rem; padding: 0.7rem 0.9rem; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid #b8c6d5; border-radius: var(--r-ctl); transition: border-color 0.15s, box-shadow 0.15s;
}
textarea { min-height: 9rem; resize: vertical; line-height: 1.5; }
select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5b72' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 0.8rem center; background-size: 1.2rem; padding-right: 2.6rem; }
input:hover, select:hover, textarea:hover { border-color: var(--navy-700); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--teal-700); box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.28); border-radius: var(--r-ctl); }
[aria-invalid="true"] { border-color: var(--err-ink) !important; background: #fffafa; }
.error-msg { display: none; margin: 0.4rem 0 0; font-size: 0.9rem; font-weight: 600; color: var(--err-ink); }
.field.has-error .error-msg, .has-error > .error-msg { display: block; }

.choice-group { display: grid; gap: 0.65rem; }
.choice-group.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice-group.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice { position: relative; margin: 0; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice label { display: flex; align-items: center; gap: 0.65rem; min-height: 3.1rem; padding: 0.65rem 0.9rem; margin: 0; border: 1.5px solid #b8c6d5; border-radius: var(--r-ctl); font-weight: 560; cursor: pointer; background: #fff; transition: border-color 0.15s, background-color 0.15s; }
.choice label::before { content: ""; flex: none; width: 1.15rem; height: 1.15rem; border-radius: 50%; border: 2px solid #8fa3b8; background: #fff; transition: border-color 0.15s, box-shadow 0.15s; }
.choice input:checked + label { border-color: var(--teal-700); background: var(--teal-50); }
.choice input:checked + label::before { border-color: var(--teal-700); box-shadow: inset 0 0 0 3px #fff; background: var(--teal-700); }
.choice input:focus-visible + label { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--teal-700); }

.check { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.8rem; align-items: start; padding: 1rem; border: 1.5px solid var(--line); border-radius: 14px; background: var(--soft); margin-bottom: 1rem; }
.check input { width: 1.4rem; height: 1.4rem; margin: 0.15rem 0 0; accent-color: var(--teal-700); cursor: pointer; }
.check label { margin: 0; font-weight: 500; font-size: 0.95rem; color: var(--ink); line-height: 1.55; cursor: pointer; }
.check.has-error { border-color: var(--err-ink); background: #fffafa; }
.check .error-msg { grid-column: 2; }

.stepper { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
.stepper li { margin: 0; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.stepper .bar { display: block; height: 6px; border-radius: 99px; background: var(--line); margin-bottom: 0.5rem; }
.stepper .is-current .bar, .stepper .is-done .bar { background: var(--teal-700); }
.stepper .is-current { color: var(--navy-900); }
.stepper .step-name { display: block; }

.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.75rem; flex-wrap: wrap; }
.form-actions .spacer { flex: 1; }
.form-alert { margin-bottom: 1.25rem; }
.form-alert:empty { display: none; }
.error-summary { border: 2px solid var(--err-ink); background: var(--err-bg); border-radius: 14px; padding: 1rem 1.15rem; margin-bottom: 1.25rem; }
.error-summary h2 { font-size: 1.05rem; color: var(--err-ink); margin-bottom: 0.4rem; letter-spacing: 0; }
.error-summary ul { margin: 0; }
.error-summary a { color: var(--err-ink); font-weight: 600; }
.error-summary[hidden] { display: none; }

/* uploads */
.upload-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.upload-slot { border: 1.5px dashed #8fa3b8; border-radius: 16px; padding: 1rem; background: #fbfdff; display: flex; flex-direction: column; gap: 0.6rem; min-width: 0; }
.upload-slot.is-filled { border-style: solid; border-color: var(--teal-700); background: var(--teal-50); }
.upload-slot.has-error { border-color: var(--err-ink); background: #fffafa; }
.upload-slot .slot-title { font-weight: 650; color: var(--navy-900); margin: 0; font-size: 0.96rem; }
.upload-slot .slot-hint { margin: 0; font-size: 0.85rem; color: var(--muted); }
.slot-preview { display: none; align-items: center; gap: 0.75rem; }
.is-filled .slot-preview { display: flex; }
.slot-preview img { width: 4.2rem; height: 4.2rem; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.slot-meta { font-size: 0.85rem; color: var(--muted); min-width: 0; overflow-wrap: anywhere; }
.slot-status { font-weight: 600; color: var(--teal-700); }
.slot-status.is-error { color: var(--err-ink); }
.slot-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.slot-actions .btn { min-height: 2.5rem; padding: 0.4rem 0.9rem; font-size: 0.92rem; }
.upload-slot input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.upload-slot input[type="file"]:focus-visible + .slot-actions .btn-choose { box-shadow: var(--focus); }

.summary { margin: 0 0 1.5rem; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.summary-block { padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.summary-block:last-child { border-bottom: 0; }
.summary-block h3 { font-size: 0.98rem; display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.summary-block h3 button { font: inherit; font-size: 0.88rem; font-weight: 600; background: none; border: 0; color: var(--teal-700); text-decoration: underline; cursor: pointer; padding: 0.2rem; }
.summary dl { margin: 0; display: grid; grid-template-columns: minmax(7rem, 11rem) 1fr; gap: 0.3rem 1rem; font-size: 0.95rem; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; overflow-wrap: anywhere; }

.privacy-box { border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.15rem; background: #fff; font-size: 0.93rem; margin-bottom: 1rem; }
.privacy-box h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.privacy-box ul { margin-bottom: 0.5rem; }

.result { text-align: center; padding: 1rem 0.5rem; }
.result .big-check { width: 4.2rem; height: 4.2rem; margin: 0 auto 1rem; border-radius: 50%; background: var(--teal-700); color: #fff; display: grid; place-items: center; }
.result .big-check .icon { width: 2.1rem; height: 2.1rem; }
.ref-box { display: inline-flex; align-items: center; gap: 0.75rem; background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 0.7rem 1rem; font-weight: 700; letter-spacing: 0.02em; margin: 0.5rem 0 1.25rem; font-variant-numeric: tabular-nums; }
.result .steps-vertical { text-align: left; margin: 1.5rem auto; }

.spinner { width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, 0.5); border-top-color: #fff; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: grid; grid-template-columns: 2.6rem 1fr; gap: 0.9rem; margin: 0; align-items: start; }
.contact-list .icon-chip { width: 2.6rem; height: 2.6rem; margin: 0; border-radius: 12px; }
.contact-list .icon-chip .icon { width: 1.25rem; height: 1.25rem; }
.contact-list strong { display: block; color: var(--navy-900); }

/* ---------- Legal / prose ---------- */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2.4rem; }
.prose h3 { font-size: 1.1rem; margin-top: 1.6rem; }
.prose li { color: var(--ink); }
.prose .meta { color: var(--muted); font-size: 0.95rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin-bottom: 1.2rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 0.65rem 0.8rem; border: 1px solid var(--line); }
.prose th { background: var(--soft); color: var(--navy-900); }
.toc { background: var(--soft); border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.25rem; margin: 1.5rem 0; font-size: 0.95rem; }
.toc ol { margin: 0; columns: 2; column-gap: 2rem; }
.toc li { margin-bottom: 0.25rem; break-inside: avoid; }
.key-statement { border-left: 4px solid var(--teal-700); background: var(--teal-50); padding: 1rem 1.2rem; border-radius: 0 14px 14px 0; font-weight: 600; color: var(--navy-900); margin: 1.2rem 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #b7c6d8; padding-top: 3.5rem; font-size: 0.97rem; }
.site-footer a { color: #d8e4f1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer a.btn-light, .site-footer a.btn-light:hover { color: var(--navy-900); text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer-brand p { margin: 1rem 0 1.25rem; max-width: 30ch; }
.footer-title { font-size: 1rem; color: #fff; letter-spacing: 0; margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.55rem; }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; }
.footer-contact .icon { color: var(--teal-400); margin-top: 0.2rem; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-block: 1.5rem 2.25rem; font-size: 0.86rem; line-height: 1.6; color: #9db0c6; }
.footer-legal p { max-width: 80ch; }
.footer-copy { margin: 0; }
.site-footer mark.todo { color: #3d2f00; }

html:not(.js) .needs-js { display: none; }
.callout + .grid, .callout + .products-grid { margin-top: 1.5rem; }

/* ---------- Motion + responsive ---------- */
@media (max-width: 980px) {
  .grid-4, .assurance, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .hero h1 { max-width: 20ch; }
  .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 0.5rem 1.25rem 1.25rem; box-shadow: 0 20px 30px -20px rgba(7, 26, 51, 0.35); }
  .js .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { display: block; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
  .nav-list a[aria-current="page"] { border-bottom-color: var(--line); color: var(--teal-700); }
  .nav-cta { margin-top: 1rem; min-height: 3.1rem; }
  .no-js .site-nav, html:not(.js) .site-nav { flex-wrap: wrap; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 0.6rem; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .grid-2, .field-row, .upload-grid, .choice-group.cols-2, .choice-group.cols-3, .grid-4, .assurance, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .btn-row .btn { flex: 1 1 100%; }
  .stepper .step-name { font-size: 0.72rem; }
  .summary dl { grid-template-columns: 1fr; gap: 0; }
  .summary dt { margin-top: 0.5rem; }
  .toc ol { columns: 1; }
  .cta-inner .btn { width: 100%; }
  .form-actions .btn { flex: 1 1 auto; }
  .logo-text { font-size: 1.08rem; }
  .prose table, .prose thead, .prose tbody, .prose tr, .prose th, .prose td { display: block; }
  .prose thead { position: absolute; left: -9999px; }
  .prose td { border-top: 0; }
  .prose tr { margin-bottom: 0.8rem; border-top: 1px solid var(--line); }
}

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

@media print {
  .site-header, .site-footer, .cta-band, .skip-link, .nav-toggle { display: none !important; }
  body { font-size: 11pt; }
  a { color: inherit; }
}

.owner-consent-embed { width:100%; min-height:780px; border:0; background:#fff; }
