/* ==========================================================================
   yulu360 — Huaqiangbei component sourcing desk
   Hand-authored CSS. No build step, no CDN framework.
   1. tokens  2. base  3. layout  4. header/nav  5. buttons
   6. hero  7. sections/cards  8. tables  9. faq  10. forms
   11. signals  12. footer  13. utilities
   ========================================================================== */

/* 1. tokens ---------------------------------------------------------------- */

/* Self-hosted text face: Alibaba Health Font 2.0 (阿里健康体, free for
   commercial use). Latin subset only — the site carries no CJK copy — so the
   pair costs ~18 KB instead of the 1.2 MB full family. 700 is a real weight
   (outline-merged), not browser-synthesised, so headings look the same in
   every engine. */
@font-face {
  font-family: "Alibaba Health";
  src: url("../fonts/alibaba-health-400.woff2?v=2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Alibaba Health";
  src: url("../fonts/alibaba-health-600.woff2?v=2") format("woff2");
  font-weight: 500 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Alibaba Health";
  src: url("../fonts/alibaba-health-700.woff2?v=2") format("woff2");
  font-weight: 700 900; font-style: normal; font-display: swap;
}

:root {
  --ink: #0b1420;
  --ink-2: #14202f;
  --ink-3: #1d2c3e;
  --slate: #46586e;
  --muted: #6a7b90;
  --line: #e0e7ef;
  --line-2: #eef2f7;
  --paper: #f6f8fb;
  --white: #ffffff;

  --brand: #0b4f6c;
  --brand-dark: #073a50;
  --brand-100: #e6f0f5;
  --brand-50: #f0f7fa;

  --accent: #c9761b;
  --accent-100: #fdf0dc;
  --accent-50: #fff8ee;

  --ok: #146c53;
  --ok-100: #e2f3ec;

  --radius: 14px;
  --radius-sm: 9px;
  --wrap: 1180px;
  --shadow-sm: 0 1px 2px rgba(11, 20, 32, .06);
  --shadow: 0 10px 30px -12px rgba(11, 20, 32, .18);
  --font: "Alibaba Health", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

/* 2. base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.22; letter-spacing: -.015em; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(1.95rem, 3.9vw, 2.95rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: clamp(1.1rem, 1.6vw, 1.32rem); }
h4 { font-size: 1.04rem; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .45em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
code, kbd, samp { font-family: var(--mono); font-size: .92em; }
small { font-size: .86rem; }

::selection { background: var(--accent-100); color: var(--ink); }

/* 3. layout ---------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.wrap--narrow { max-width: 820px; }
.sec { padding: clamp(44px, 6vw, 84px) 0; }
.sec--tight { padding: clamp(30px, 3.6vw, 52px) 0; }
.sec--tint { background: var(--paper); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.sec--ink { background: var(--ink); color: #cfdae6; }
.sec--ink h2, .sec--ink h3, .sec--ink h4 { color: #fff; }
.sec--ink a { color: #dbe8f2; }

.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--sidebar { grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; align-items: start; }
.grid--form { grid-template-columns: minmax(0, 1fr) minmax(340px, 460px); gap: 44px; align-items: start; }
@media (max-width: 1000px) { .grid--form { grid-template-columns: 1fr; } }
/* Even split, used where the form needs as much room as the column beside it. */
.grid--half { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; align-items: start; }
@media (max-width: 1000px) { .grid--half { grid-template-columns: 1fr; gap: 36px; } }
/* 4:6 split — contact channels on the left, form on the right. */
.grid--4-6 { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 44px; align-items: start; }
@media (max-width: 1040px) { .grid--4-6 { grid-template-columns: 1fr; gap: 36px; } }
/* Narrow left column: tighten the channel cards so addresses stay on one line.
   Font sizes are deliberately untouched — only the padding and icon box shrink. */
@media (min-width: 1041px) {
  .grid--4-6 .card--link { padding: 18px 14px; }
  .grid--4-6 .card__icon { width: 36px; height: 36px; margin-bottom: 12px; }
  .grid--4-6 .card__icon svg { width: 17px; height: 17px; }
}
/* Wide form sitting under the copy on the BOM page. */
.send-row {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px; align-items: start; margin-top: clamp(34px, 4vw, 52px);
}
@media (max-width: 900px) { .send-row { grid-template-columns: 1fr; gap: 24px; } }
/* Forms inside a narrow column stack their paired fields. */
.grid--sidebar .field--row, .stack .field--row { grid-template-columns: 1fr; gap: 0; }
@media (max-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--sidebar { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 680px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .55; }
.sec--ink .eyebrow { color: #8fc0d4; }

.lede { font-size: 1.08rem; color: var(--slate); line-height: 1.7; }
.sec--ink .lede { color: #b9c8d8; }

.section-head { max-width: 760px; margin-bottom: clamp(26px, 3.4vw, 44px); }
.section-head p:last-child { margin-bottom: 0; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* 4. header / nav ---------------------------------------------------------- */
#main { padding-top: 68px; }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; gap: 18px;
  height: 68px; max-width: var(--wrap); margin: 0 auto; padding: 0 22px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: 0 0 auto; }
.brand:hover { text-decoration: none; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 9px; flex: 0 0 auto;
  display: block; overflow: hidden;
}
.brand__mark svg { display: block; width: 100%; height: 100%; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-weight: 700; font-size: 1.02rem; color: var(--ink); letter-spacing: -.01em; }
.brand__sub { font-size: .68rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav__list > li { margin: 0; position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 11px; border-radius: 8px;
  font-size: .89rem; font-weight: 600; color: var(--ink-3); text-decoration: none;
  white-space: nowrap;
}
.nav__link:hover, .nav__link:focus-visible { background: var(--brand-50); color: var(--brand); text-decoration: none; }
.nav__link[aria-current="page"] { color: var(--brand); }
.nav__link svg { width: 12px; height: 12px; opacity: .55; transition: transform .18s ease; }
.nav__item--has-panel:hover > .nav__link svg,
.nav__item--has-panel:focus-within > .nav__link svg { transform: rotate(180deg); }

.nav__panel {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, 6px);
  width: min(760px, calc(100vw - 32px));
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 24px 60px -24px rgba(11, 20, 32, .35);
  padding: 18px; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 18px;
}
/* Invisible bridge across the 8px gap under the trigger.
   Without it the pointer leaves the list item for a few pixels on the way
   down, :hover drops, and the panel closes before the cursor arrives — the
   panel inherits pointer-events from .nav__panel, so this costs nothing while
   the panel is shut. */
.nav__panel::before {
  content: ""; position: absolute; left: -1px; right: -1px;
  bottom: 100%; height: 14px;
}

.nav__item--has-panel:hover > .nav__panel,
.nav__item--has-panel:focus-within > .nav__panel {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
.nav__panel > a {
  display: grid; grid-template-columns: 26px minmax(0, 1fr);
  gap: 1px 10px; align-items: start;
  padding: 9px 10px; border-radius: 9px; text-decoration: none; color: var(--ink);
}
.nav__panel > a > .nav__panel-ico {
  grid-row: 1 / span 2; align-self: start; margin-top: -2px;
  width: 26px; height: 26px; border-radius: 7px;
  display: grid; place-items: center;
  background: var(--brand-100); color: var(--brand);
  font-size: 0; line-height: 0;
}
.nav__panel > a > .nav__panel-ico svg { width: 14px; height: 14px; stroke-width: 1.8; }
.nav__panel > a:hover { background: var(--paper); text-decoration: none; }
/* The footer link is not a cluster row: keep it inline, not on the icon grid. */
.nav__panel-foot a { display: inline; padding: 0; border-radius: 0; }
.nav__panel strong { font-size: .86rem; font-weight: 650; }
.nav__panel span { font-size: .74rem; color: var(--muted); line-height: 1.4; }
.nav__panel-foot {
  grid-column: 1 / -1; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line-2);
  display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: var(--muted);
}

.header-cta { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.nav-toggle {
  display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); cursor: pointer; padding: 0; place-items: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .nav-toggle { display: grid; }
  .header-cta .btn--quote { display: none; }
}
.mobile-nav {
  display: none; border-top: 1px solid var(--line); background: #fff;
  max-height: calc(100vh - 68px); overflow-y: auto;
}
.mobile-nav.is-open { display: block; }
.mobile-nav__inner { padding: 12px 22px 24px; }
.mobile-nav a {
  display: block; padding: 11px 4px; border-bottom: 1px solid var(--line-2);
  color: var(--ink-3); font-weight: 600; font-size: .95rem; text-decoration: none;
}
.mobile-nav a:hover { color: var(--brand); text-decoration: none; }
.mobile-nav__sub a { padding-left: 16px; font-weight: 500; font-size: .88rem; color: var(--slate); }
.mobile-nav__label {
  margin: 16px 0 4px; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}

/* 5. buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 10px; border: 1px solid transparent;
  font-size: .9rem; font-weight: 650; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn svg { width: 16px; height: 16px; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); color: #fff; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
/* Buttons inside dark sections must keep their own colours. */
.sec--ink .btn--ghost, .sec--ink .btn--ghost:hover { color: var(--ink); }
.sec--ink .btn--primary, .sec--ink .btn--primary:hover,
.sec--ink .btn--wa, .sec--ink .btn--wa:hover { color: #fff; }
.hero .btn--ghost { color: var(--ink); }
.btn--wa { background: #128c7e; color: #fff; }
.btn--wa:hover { background: #0e7367; color: #fff; }
.btn--sm { padding: 8px 14px; font-size: .82rem; }
.btn--lg { padding: 14px 26px; font-size: .96rem; }
.btn--block { width: 100%; }

/* 6. hero ------------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 420px at 78% -12%, rgba(11, 79, 108, .30), transparent 62%),
    radial-gradient(760px 320px at 8% 108%, rgba(201, 118, 27, .14), transparent 70%),
    var(--ink);
  color: #d9e4ee;
  padding: clamp(52px, 7vw, 96px) 0 clamp(40px, 5vw, 64px);
}
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(30px, 4vw, 56px); align-items: center;
}
@media (max-width: 940px) { .hero__grid { grid-template-columns: 1fr; } }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: #f3c37c; }
.hero__lede { font-size: clamp(1rem, 1.4vw, 1.14rem); color: #b8c8d8; max-width: 34em; margin-bottom: 26px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; list-style: none; }
.hero__meta li {
  display: flex; align-items: center; gap: 7px; margin: 0;
  font-size: .82rem; color: #9fb2c5;
}
.hero__meta svg { width: 14px; height: 14px; color: #7fb2c8; }

/* signal card inside hero */
.console {
  background: rgba(9, 17, 27, .72);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px; padding: 18px 18px 8px;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8);
  backdrop-filter: blur(4px);
}
.console__head {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding-bottom: 12px; margin-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: #8ea4b8;
}
.console__dot { display: inline-flex; align-items: center; gap: 7px; color: #8fc7a8; }
.console__dot i { width: 6px; height: 6px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 0 4px rgba(61, 220, 151, .16); }
.console__row {
  display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center;
  padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: .82rem;
}
.console__row:last-child { border-bottom: 0; }
.console__row b { font-weight: 600; color: #e8f0f7; font-family: var(--mono); font-size: .8rem; letter-spacing: -.01em; }
.console__row small { display: block; color: #8298ad; font-size: .71rem; margin-top: 2px; }
.tag-dir {
  font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px; white-space: nowrap;
}
.tag-dir--tight { background: rgba(232, 164, 74, .16); color: #f0b669; border: 1px solid rgba(232, 164, 74, .3); }
.tag-dir--loose { background: rgba(61, 220, 151, .12); color: #71d9ab; border: 1px solid rgba(61, 220, 151, .26); }
.tag-dir--firm { background: rgba(143, 192, 212, .12); color: #a8cade; border: 1px solid rgba(143, 192, 212, .24); }

/* stat strip */
.strip { border-bottom: 1px solid var(--line); background: #fff; }
.strip__inner {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: var(--wrap); margin: 0 auto;
}
.strip__item { padding: 18px 22px; border-left: 1px solid var(--line-2); }
.strip__item:first-child { border-left: 0; }
.strip__num { display: block; font-size: 1.32rem; font-weight: 700; letter-spacing: -.02em; color: var(--ink); font-family: var(--mono); }
.strip__label { font-size: .76rem; color: var(--muted); }
@media (max-width: 780px) {
  .strip__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip__item:nth-child(3) { border-left: 0; }
}

/* 7. sections / cards ------------------------------------------------------ */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.card--flat { box-shadow: none; }
.card--link { transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease; }
.card--link:hover { border-color: #c3d4e3; transform: translateY(-2px); box-shadow: var(--shadow); }
.card__icon {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand); margin-bottom: 14px;
}
.card__icon svg { width: 19px; height: 19px; }
.card h3 { margin-bottom: 8px; font-size: 1.06rem; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--brand); }
.card p { font-size: .9rem; color: var(--slate); margin-bottom: 0; }
.card__foot {
  margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between;
  font-size: .78rem; color: var(--muted);
}
.card__foot .more { font-weight: 650; color: var(--brand); display: inline-flex; align-items: center; gap: 5px; }
.card__foot .more svg { width: 13px; height: 13px; }

/* -- fact cards: icon + text blocks (BOM page) ----------------------------- */
.fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 860px) { .fact-grid { grid-template-columns: 1fr; gap: 16px; } }

.fact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px 22px; box-shadow: var(--shadow-sm);
}
.fact-card__head { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.fact-card__ico {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; background: var(--brand-100); color: var(--brand);
}
.fact-card__ico svg { width: 20px; height: 20px; stroke-width: 1.7; }
.fact-card__t { font-size: 1.06rem; margin: 0; line-height: 1.3; }
.fact-card p { font-size: .92rem; color: var(--slate); margin-bottom: .85em; }
.fact-card p:last-child { margin-bottom: 0; }
.fact-card .small { font-size: .86rem; }

.fact-status, .fact-list { list-style: none; margin: 0 0 .95em; padding: 0; display: grid; gap: 9px; }
.fact-status li {
  display: grid; grid-template-columns: 9px minmax(0, 1fr); gap: 10px;
  margin: 0; font-size: .9rem; color: var(--slate); line-height: 1.5;
}
.fact-status li::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%; margin-top: 7px; background: var(--muted);
}
.fact-status li strong { color: var(--ink); font-weight: 650; }
.fact-status .is-ok::before { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-100); }
.fact-status .is-alt::before { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-100); }
.fact-status .is-no::before { background: #b3403c; box-shadow: 0 0 0 3px #fbe9e8; }

.fact-list li { position: relative; margin: 0; padding-left: 25px; font-size: .9rem; color: var(--slate); line-height: 1.5; }
.fact-list li::before {
  content: ""; position: absolute; left: 0; top: .16em; width: 16px; height: 16px;
  border-radius: 5px; background: var(--brand-50); border: 1px solid var(--brand-100);
}
.fact-list li::after {
  content: ""; position: absolute; left: 4.5px; top: .46em; width: 6px; height: 3px;
  border-left: 1.8px solid var(--brand); border-bottom: 1.8px solid var(--brand);
  transform: rotate(-45deg);
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { margin: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; font-size: .82rem; font-weight: 600; color: var(--ink-3); text-decoration: none;
}
.chip:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.chip span { font-family: var(--mono); font-size: .72rem; color: var(--muted); }
.sec--ink .chip { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .14); color: #d5e2ec; }
.sec--ink .chip:hover { border-color: #7fb2c8; color: #fff; text-decoration: none; }

.note {
  display: flex; gap: 11px; align-items: flex-start;
  border: 1px solid #f0dcbb; background: var(--accent-50); color: #7a4c14;
  border-radius: var(--radius-sm); padding: 12px 15px; font-size: .85rem; line-height: 1.55;
}
.note svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 2px; color: var(--accent); }
.note strong { color: #5f3a0d; }
.note--calm { border-color: #cfe0e8; background: var(--brand-50); color: #2a4d5e; }
.note--calm svg { color: var(--brand); }

.steps { counter-reset: step; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.steps li {
  position: relative; padding: 0 0 26px 52px; margin: 0; border-left: 1px solid var(--line);
  margin-left: 15px;
}
.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: -15px; top: -2px; width: 30px; height: 30px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); color: var(--brand);
  display: grid; place-items: center; font: 700 .74rem/1 var(--mono);
}
.steps strong { display: block; color: var(--ink); font-size: .98rem; margin-bottom: 4px; }
.steps p { font-size: .9rem; color: var(--slate); margin-bottom: 0; }
.sec--ink .steps strong { color: #fff; }
.sec--ink .steps p { color: #a9bccd; }
.sec--ink .steps li { border-left-color: rgba(255, 255, 255, .14); }
.sec--ink .steps li::before { background: var(--ink-2); border-color: rgba(255, 255, 255, .22); color: #8fc0d4; }

.breadcrumb { font-size: .78rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { margin: 0 7px; opacity: .5; }

.page-head {
  background: var(--paper); border-bottom: 1px solid var(--line);
  padding: clamp(30px, 4vw, 54px) 0 clamp(26px, 3.4vw, 44px);
}
.page-head h1 { margin-bottom: 12px; }
.page-head .lede { max-width: 62ch; margin-bottom: 0; }
.page-head--ink { background: var(--ink); border-bottom-color: #0a1a26; color: #c2d2e0; }
.page-head--ink h1 { color: #fff; }
.page-head--ink .lede { color: #a9bccd; }
.page-head--ink .breadcrumb, .page-head--ink .breadcrumb a { color: #7f95a9; }

/* 8. tables ---------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: .89rem; }
table.data caption {
  caption-side: top; text-align: left; padding: 14px 18px 0;
  font-size: .78rem; color: var(--muted);
}
table.data th, table.data td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
table.data thead th {
  background: var(--paper); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--slate); font-weight: 700; white-space: nowrap; border-bottom: 1px solid var(--line);
}
table.data tbody tr:last-child th, table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody th { font-weight: 600; color: var(--ink); width: 34%; }
table.data td { color: var(--slate); }
table.data code { font-size: .85em; background: var(--paper); padding: 1px 5px; border-radius: 4px; }

/* 9. faq ------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; gap: 18px; align-items: baseline;
  padding: 16px 0; cursor: pointer; list-style: none;
  font-weight: 600; font-size: .97rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--mono); font-size: 1.1rem; color: var(--muted); flex: 0 0 auto;
}
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { color: var(--brand); }
.faq .faq__a { padding: 0 0 18px; font-size: .92rem; color: var(--slate); max-width: 78ch; }
.faq .faq__a p:last-child { margin-bottom: 0; }

/* 10. forms ---------------------------------------------------------------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow);
}
.field { margin-bottom: 14px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 620px) { .field--row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .8rem; font-weight: 650; color: var(--ink-3); margin-bottom: 6px; }
.field label span { color: #b4402f; }
.field input, .field select, .field textarea {
  width: 100%; padding: 10px 12px; font: inherit; font-size: .9rem; color: var(--ink);
  background: #fff; border: 1px solid #cfd9e3; border-radius: 9px;
  transition: border-color .14s ease, box-shadow .14s ease;
}
.field textarea { min-height: 118px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(11, 79, 108, .12);
}
.field .hint { display: block; font-size: .74rem; color: var(--muted); margin-top: 5px; }
.field--check { display: flex; gap: 9px; align-items: flex-start; font-size: .8rem; color: var(--muted); }
.field--check input { width: auto; margin-top: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 12px; font-size: .86rem; border-radius: 9px; padding: 10px 13px; display: none; }
.form-status.is-ok { display: block; background: var(--ok-100); color: var(--ok); border: 1px solid #bfe4d6; }
.form-status.is-err { display: block; background: #fdeceb; color: #a3342a; border: 1px solid #f4cdc9; }

/* 11. signals -------------------------------------------------------------- */
.signal-toolbar {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px;
}
.signal-toolbar select {
  padding: 8px 11px; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; font-size: .84rem; background: #fff; color: var(--ink-3);
}
.signal-table td:first-child { font-family: var(--mono); font-weight: 600; color: var(--ink); }
.signal-table .dir { font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.signal-table .dir--tight { background: var(--accent-100); color: #8a530f; }
.signal-table .dir--loose { background: var(--ok-100); color: var(--ok); }
.signal-table .dir--firm { background: var(--brand-100); color: var(--brand); }
.signal-table .verified { font-size: .74rem; color: var(--muted); white-space: nowrap; }
.signal-empty { padding: 34px 22px; text-align: center; color: var(--muted); font-size: .9rem; }

/* 12. footer --------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #93a6ba; padding: clamp(38px, 5vw, 62px) 0 26px; font-size: .87rem; }
.site-footer a { color: #b6c7d8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.25fr; gap: 36px; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 620px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__sub { color: #7e93a8; }
.footer-about { margin: 14px 0 16px; color: #8ea3b8; line-height: 1.65; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .06); color: #b6c7d8;
}
.footer-social a:hover { background: rgba(255, 255, 255, .13); color: #fff; }
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom {
  margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .09);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  font-size: .79rem; color: #71869b;
}
.footer-contact li { display: flex; gap: 9px; align-items: flex-start; }
.footer-contact svg { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 3px; color: #6f97ab; }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 55;
  width: 52px; height: 52px; border-radius: 50%; background: #128c7e; color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 28px -10px rgba(18, 140, 126, .7);
}
.wa-float:hover { background: #0e7367; color: #fff; }
.wa-float svg { width: 25px; height: 25px; }

/* 13. utilities ------------------------------------------------------------ */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 8px; } .mt-3 { margin-top: 14px; } .mt-4 { margin-top: 22px; } .mt-6 { margin-top: 34px; }
.mb-3 { margin-bottom: 14px; } .mb-4 { margin-bottom: 22px; }
.muted { color: var(--muted); }
.small { font-size: .84rem; }
.mono { font-family: var(--mono); }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.stack > * + * { margin-top: 14px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.prose { font-size: 1rem; color: var(--slate); }
.prose h2 { margin-top: 1.9em; color: var(--ink); }
.prose h3 { margin-top: 1.5em; color: var(--ink); }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { margin-bottom: 1.2em; }
.prose > p:first-child { font-size: 1.05rem; color: var(--ink-3); }

@media print {
  .site-header, .site-footer, .wa-float, .header-cta, .hero__actions { display: none !important; }
  body { font-size: 11pt; }
}

/* 14. consent -------------------------------------------------------------- */
.btn--link {
  background: none; border-color: transparent; box-shadow: none;
  color: var(--brand); padding: 9px 4px; font-size: .85rem;
  text-decoration: underline; text-underline-offset: 2px;
}
.btn--link:hover { background: none; color: var(--brand-dark); text-decoration: underline; transform: none; }

.linklike {
  background: none; border: 0; padding: 0; margin: 0; font: inherit;
  color: #b6c7d8; cursor: pointer; text-align: left;
}
.linklike:hover { color: #fff; text-decoration: underline; }

.cookie { position: fixed; left: 18px; bottom: 18px; z-index: 80; width: min(460px, calc(100vw - 36px)); }
.cookie[hidden], .cookie__panel[hidden], .cookie__save[hidden], .cookie__actions[hidden] { display: none !important; }
.cookie__box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 22px 54px -20px rgba(11, 20, 32, .45); padding: 20px 20px 18px;
  max-height: calc(100vh - 36px); overflow-y: auto;
}
.cookie__title { font-size: 1rem; margin: 0 0 6px; }
.cookie__text { font-size: .855rem; line-height: 1.55; color: var(--slate); margin: 0 0 14px; }
.cookie__text a { text-decoration: underline; text-underline-offset: 2px; }

.cookie__panel { border-top: 1px solid var(--line-2); margin: 0 0 14px; padding-top: 4px; }
.cookie__row {
  display: flex; gap: 14px; align-items: flex-start; justify-content: space-between;
  padding: 11px 0; border-bottom: 1px solid var(--line-2);
}
.cookie__row:last-of-type { border-bottom: 0; }
.cookie__row strong { display: block; font-size: .875rem; color: var(--ink); }
.cookie__hint { display: block; font-size: .775rem; line-height: 1.45; color: var(--muted); margin-top: 2px; }
.cookie__row--toggle { cursor: pointer; }
.cookie__fixed {
  font-size: .72rem; color: var(--ok); background: var(--ok-100);
  border-radius: 999px; padding: 3px 9px; white-space: nowrap; flex: 0 0 auto;
}
.cookie__foot { font-size: .755rem; color: var(--muted); margin: 8px 0 0; }

.cookie__switch {
  appearance: none; -webkit-appearance: none; flex: 0 0 auto;
  width: 40px; height: 22px; border-radius: 999px; background: var(--line);
  position: relative; cursor: pointer; transition: background .15s; margin: 2px 0 0;
}
.cookie__switch::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px;
  border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(11, 20, 32, .3);
  transition: transform .15s;
}
.cookie__switch:checked { background: var(--brand); }
.cookie__switch:checked::after { transform: translateX(18px); }
.cookie__switch:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cookie__actions .btn { font-size: .845rem; padding: 9px 14px; }

@media (max-width: 560px) {
  .cookie { left: 10px; right: 10px; bottom: 10px; width: auto; }
  .cookie__box { padding: 17px 16px 15px; }
  .cookie__actions { flex-direction: column; align-items: stretch; }
  .cookie__actions .btn { width: 100%; text-align: center; }
  .cookie__actions .btn--link { padding: 6px 0; }
}
