/* ==========================================================================
   PANO — panohk.com
   Design system: dark industrial ground, warm paper content, teal + amber.
   Built to be reused: every value below is a token, no magic numbers in parts.
   ========================================================================== */

:root {
  /* ground */
  --ink: #0b1a1e;
  --ink-2: #0e2429;
  --ink-3: #143038;
  --steel: #24444c;
  --paper: #faf8f3;
  --paper-2: #f2eee6;
  --white: #ffffff;

  /* brand */
  --teal: #0e8c7a;
  --teal-deep: #076554;
  --teal-bright: #38d6b8;
  --amber: #e9a34a;
  --amber-deep: #c4802b;

  /* text */
  --tx: #12232a;
  --tx-2: #46606a;
  --tx-3: #6d8791;
  --tx-inv: #eef4f3;
  --tx-inv-2: #a8bfc4;

  /* lines */
  --line: #ddd7cb;
  --line-2: #eae5da;
  --line-inv: rgba(255, 255, 255, 0.12);
  --line-inv-2: rgba(255, 255, 255, 0.22);

  /* shape + rhythm */
  --r-sm: 6px;
  --r: 14px;
  --r-lg: 22px;
  --wrap: 1180px;
  --pad-x: clamp(1.15rem, 4vw, 2.5rem);
  --sec-y: clamp(3.6rem, 8vw, 7rem);
  --sec-y-sm: clamp(2.4rem, 5vw, 4rem);

  /* type */
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Roboto Mono", Menlo, Consolas, monospace;

  --shadow-1: 0 1px 2px rgba(8, 24, 28, 0.06), 0 8px 24px -12px rgba(8, 24, 28, 0.18);
  --shadow-2: 0 24px 60px -30px rgba(8, 24, 28, 0.45);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--tx);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; vertical-align: middle; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding-left: 1.1em; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
button { font: inherit; color: inherit; }
::selection { background: color-mix(in srgb, var(--teal-bright) 35%, transparent); }

:focus-visible {
  outline: 2px solid var(--teal-bright);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section { padding-block: var(--sec-y); }
.section-sm { padding-block: var(--sec-y-sm); }
.section-dark { background: var(--ink); color: var(--tx-inv); }
.section-paper2 { background: var(--paper-2); }
.section-hair { border-top: 1px solid var(--line); }

.stack > * + * { margin-top: var(--stack-gap, 1rem); }
.flow > * + * { margin-top: 1.15em; }

.grid { display: grid; gap: clamp(1.2rem, 2.6vw, 2.2rem); }
.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)); }

/* ---------- typography ---------- */
.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
}
.section-dark .eyebrow { color: var(--teal-bright); }

h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.022em; line-height: 1.12; }
h1 { font-size: clamp(2.35rem, 5.4vw, 4.1rem); letter-spacing: -0.035em; line-height: 0.98; }
h2 { font-size: clamp(1.75rem, 3.3vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.25; letter-spacing: -0.012em; }
h4 { font-size: 1.02rem; letter-spacing: 0; }
p { max-width: 68ch; }

.lead { font-size: clamp(1.06rem, 1.5vw, 1.24rem); color: var(--tx-2); max-width: 60ch; line-height: 1.55; }
.section-dark .lead { color: var(--tx-inv-2); }

.small { font-size: 0.9rem; color: var(--tx-3); }
.mono { font-family: var(--mono); font-size: 0.92em; letter-spacing: -0.01em; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

.section-head { display: grid; gap: 0.9rem; margin-bottom: clamp(1.8rem, 3.4vw, 3rem); max-width: 64ch; }
.section-head p { color: var(--tx-2); }
.section-dark .section-head p { color: var(--tx-inv-2); }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--teal);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.78em 1.25em;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn svg { width: 1em; height: 1em; }
.btn-teal:hover { background: var(--teal-deep); }
.btn-amber { --btn-bg: var(--amber); --btn-fg: #1d1305; }
.btn-amber:hover { background: #f0b467; }
.btn-dark { --btn-bg: var(--ink); }
.btn-dark:hover { background: var(--ink-3); }
.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--tx);
  border-color: color-mix(in srgb, currentColor 28%, transparent);
}
.btn-ghost:hover { background: color-mix(in srgb, currentColor 7%, transparent); }
.section-dark .btn-ghost { --btn-fg: var(--tx-inv); }
.btn-link {
  padding: 0;
  background: none;
  border: 0;
  color: var(--teal-deep);
  font-weight: 600;
  font-size: 0.94rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  text-decoration: none;
}
.btn-link::after { content: "→"; transition: transform 0.25s var(--ease); }
.btn-link:hover::after { transform: translateX(3px); }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* ---------- header ---------- */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.7em 1em;
  z-index: 200;
}
.skip:focus { left: 1rem; top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid var(--line-inv);
  color: var(--tx-inv);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}
.brand-logo {
  display: block;
  height: 56px;
  width: auto;
  transition: opacity 0.2s var(--ease);
}
.brand:hover .brand-logo { opacity: 0.88; }

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 1.9vw, 1.7rem);
  font-size: 0.92rem;
}
.nav a {
  text-decoration: none;
  color: var(--tx-inv-2);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav a:hover { color: var(--tx-inv); }
.nav a[aria-current="page"] { color: var(--tx-inv); }
.nav a[aria-current="page"]::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 4px;
  background: var(--teal-bright);
  border-radius: 2px;
}
.nav-cta {
  padding: 0.5em 1.05em;
  border-radius: 999px;
  background: var(--teal);
  color: #fff !important;
  font-weight: 600;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--teal-deep); }
.nav-cta[aria-current="page"]::after { display: none; }
.lang-switch {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  border: 1px solid var(--line-inv-2);
  border-radius: 999px;
  padding: 0.3em 0.7em;
}
.lang-switch[aria-current="page"]::after { display: none; }
.lang-switch:hover { border-color: var(--tx-inv); }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-inv-2);
  border-radius: 10px;
  background: transparent;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--tx-inv);
  overflow: hidden;
  isolation: isolate;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}
.hero::before {
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  right: -18vw;
  top: -30vw;
  background: radial-gradient(circle at center, rgba(14, 140, 122, 0.42), transparent 62%);
}
.hero::after {
  width: 48vw;
  height: 48vw;
  left: -16vw;
  bottom: -28vw;
  background: radial-gradient(circle at center, rgba(233, 163, 74, 0.16), transparent 65%);
}
.hero-inner {
  padding-block: clamp(3.6rem, 9vw, 7.5rem) clamp(3rem, 6vw, 5rem);
  display: grid;
  gap: clamp(2.4rem, 5vw, 4rem);
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-bright);
  font-weight: 600;
}
.hero-kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}
.hero h1 { max-width: 20ch; }
.hero h1 em {
  font-style: normal;
  color: var(--teal-bright);
  display: block;
}
.hero-copy { display: grid; gap: 1.6rem; max-width: 62ch; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--tx-inv-2); line-height: 1.55; max-width: 52ch; }

.hero-figure {
  position: relative;
  align-self: end;
  border: 1px solid var(--line-inv);
  border-radius: var(--r-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01)),
    var(--ink-2);
  padding: clamp(1.2rem, 2.4vw, 1.9rem);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.hero-figure::after {
  content: "";
  position: absolute;
  inset: auto -30% -60% auto;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(56, 214, 184, 0.18), transparent 70%);
}
.figure-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tx-inv-2);
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line-inv);
  margin-bottom: 1.1rem;
}

/* data rows (grade table inside hero / cards) */
.data-rows { display: grid; gap: 0; }
.data-rows > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--line-inv);
  font-size: 0.95rem;
}
.data-rows > div:last-child { border-bottom: 0; padding-bottom: 0; }
.data-rows dt, .data-rows .k { color: var(--tx-inv-2); }
.data-rows dd, .data-rows .v {
  margin: 0;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  color: var(--tx-inv);
  text-align: right;
}

/* stat strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-inv);
  border: 1px solid var(--line-inv);
  border-radius: var(--r);
  overflow: hidden;
}
.stat { background: var(--ink-2); padding: 1.15rem 1.2rem; }
.stat-num {
  font-family: var(--mono);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-variant-numeric: tabular-nums;
  color: var(--tx-inv);
  letter-spacing: -0.02em;
}
.stat-num span { font-size: 0.62em; color: var(--tx-inv-2); margin-left: 0.15em; letter-spacing: 0; }
.stat-label {
  margin-top: 0.25rem;
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--tx-inv-2);
}

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  background: var(--ink);
  color: var(--tx-inv);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60rem 30rem at 85% -10%, rgba(14, 140, 122, 0.3), transparent 70%);
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  padding-block: clamp(2.6rem, 5vw, 4.4rem) clamp(2.6rem, 5vw, 4rem);
  display: grid;
  gap: 1.1rem;
}
.page-hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); max-width: 24ch; }
.page-hero .lead { color: var(--tx-inv-2); max-width: 58ch; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  font-size: 0.8rem;
  color: var(--tx-3);
}
.crumbs a { text-decoration: none; color: var(--tx-inv-2); }
.crumbs a:hover { color: var(--tx-inv); }
.crumbs li { display: inline; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 0.45rem; color: var(--tx-3); }

/* ---------- cards ---------- */
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(1.25rem, 2.2vw, 1.9rem);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-1); border-color: color-mix(in srgb, var(--teal) 35%, var(--line)); }
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--teal-deep); }
.card p { color: var(--tx-2); font-size: 0.95rem; }
.card-foot { margin-top: auto; padding-top: 0.6rem; }

.card-dark { background: var(--ink-2); border-color: var(--line-inv); color: var(--tx-inv); }
.card-dark p { color: var(--tx-inv-2); }
.card-dark:hover { border-color: rgba(56, 214, 184, 0.35); box-shadow: none; }

.card-num {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--teal);
  letter-spacing: 0.1em;
}
.card-dark .card-num { color: var(--teal-bright); }

.icon-tile {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--teal) 12%, transparent);
  color: var(--teal-deep);
  margin-bottom: 0.2rem;
}
.icon-tile svg { width: 22px; height: 22px; }
.card-dark .icon-tile { background: rgba(56, 214, 184, 0.12); color: var(--teal-bright); }

/* split feature */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split-top { align-items: start; }

/* feature list */
.feature-list { list-style: none; padding: 0; display: grid; gap: 0.85rem; }
.feature-list li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--tx-2);
  font-size: 0.96rem;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid var(--teal);
}
.section-dark .feature-list li { color: var(--tx-inv-2); }
.section-dark .feature-list li::before { border-color: var(--teal-bright); }
.feature-list strong { color: var(--tx); font-weight: 600; }
.section-dark .feature-list strong { color: var(--tx-inv); }

/* ---------- tables ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--white);
  -webkit-overflow-scrolling: touch;
}
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  min-width: 34rem;
}
table.data caption {
  caption-side: top;
  text-align: left;
  padding: 1rem 1.1rem 0.2rem;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tx-3);
}
table.data th,
table.data td {
  padding: 0.72rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line-2);
  vertical-align: top;
}
table.data thead th {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tx-3);
  font-weight: 600;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: color-mix(in srgb, var(--teal) 4%, transparent); }
table.data td.num, table.data th.num { font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
table.data td.method { color: var(--tx-3); font-family: var(--mono); font-size: 0.84rem; }
table.data tfoot td { font-size: 0.84rem; color: var(--tx-3); background: var(--paper-2); }

.table-note { font-size: 0.82rem; color: var(--tx-3); margin-top: 0.7rem; max-width: 70ch; }

/* ---------- spec marquee ---------- */
.spec-strip { border-block: 1px solid var(--line); background: var(--paper-2); overflow: hidden; }
.spec-track {
  display: flex;
  gap: 2.6rem;
  width: max-content;
  padding-block: 0.95rem;
  animation: marquee 42s linear infinite;
}
.spec-track span {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tx-2);
  display: inline-flex;
  align-items: center;
  gap: 2.6rem;
  white-space: nowrap;
}
.spec-track span::after { content: "·"; color: var(--teal); font-size: 1.2em; }
@keyframes marquee { to { transform: translateX(-50%); } }
.spec-strip:hover .spec-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .spec-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; gap: 0; border-top: 1px solid var(--line); }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-block: clamp(1.4rem, 3vw, 2.4rem);
  border-bottom: 1px solid var(--line);
}
.step-num {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--teal);
  letter-spacing: 0.12em;
  padding-top: 0.35rem;
}
.step h3 { margin-bottom: 0.4rem; }
.step p { color: var(--tx-2); font-size: 0.96rem; }
.section-dark .steps, .section-dark .step { border-color: var(--line-inv); }
.section-dark .step p { color: var(--tx-inv-2); }

/* ---------- package cards ---------- */
.package {
  display: grid;
  gap: 1rem;
  padding: clamp(1.3rem, 2.4vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  position: relative;
  overflow: hidden;
}
.package::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-bright));
}
.package-tag {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--teal-bright);
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 600;
}
.package-list { list-style: none; padding: 0; display: grid; gap: 0.5rem; font-size: 0.93rem; color: var(--tx-2); }
.package-list li { display: flex; gap: 0.55rem; }
.package-list li::before { content: "—"; color: var(--teal); flex-shrink: 0; }

/* ---------- callout ---------- */
.callout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.1rem;
  padding: clamp(1.1rem, 2vw, 1.6rem);
  border-radius: var(--r);
  border: 1px solid color-mix(in srgb, var(--amber) 45%, var(--line));
  background: color-mix(in srgb, var(--amber) 9%, var(--paper));
}
.callout .callout-mark {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-deep);
  padding-top: 0.2rem;
}
.callout p { font-size: 0.94rem; color: var(--tx-2); }
.callout strong { color: var(--tx); }

/* ---------- quote ---------- */
.pullquote {
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 500;
  max-width: 26ch;
}
.pullquote em { font-style: normal; color: var(--teal-bright); }

/* ---------- forms ---------- */
.form {
  display: grid;
  gap: 1.1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(1.3rem, 2.6vw, 2.2rem);
}
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.86rem; font-weight: 600; letter-spacing: 0.01em; }
.field .req { color: var(--amber-deep); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.72em 0.85em;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  font: inherit;
  font-size: 0.96rem;
  color: var(--tx);
  transition: border-color 0.2s, background 0.2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--tx-3) 50%), linear-gradient(135deg, var(--tx-3) 50%, transparent 50%); background-position: calc(100% - 18px) 1.15em, calc(100% - 13px) 1.15em; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 15%, transparent);
}
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.hint { font-size: 0.8rem; color: var(--tx-3); }
.hp { position: absolute; left: -9999px; }
.form-status { font-size: 0.9rem; border-radius: 9px; padding: 0.8em 1em; display: none; }
.form-status[data-state="error"] { display: block; background: #fdf1ef; border: 1px solid #e7b6ae; color: #8b2b1c; }
.form-status[data-state="ok"] { display: block; background: #eff7f2; border: 1px solid #a9d3bb; color: #1c5c3c; }
.form-status[data-state="sending"] { display: block; background: var(--paper-2); border: 1px solid var(--line); color: var(--tx-2); }

.contact-list { list-style: none; padding: 0; display: grid; gap: 1.1rem; }
.contact-list dt { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tx-3); }
.contact-list dd { margin: 0.15rem 0 0; font-size: 1rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--tx-inv-2); margin-top: 0; }
.footer-cta { border-bottom: 1px solid var(--line-inv); background: var(--ink-2); }
.footer-cta-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  justify-content: space-between;
  align-items: center;
  padding-block: clamp(2rem, 4vw, 3rem);
}
.footer-cta h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--tx-inv); max-width: 24ch; }
.footer-cta .eyebrow { color: var(--teal-bright); margin-bottom: 0.5rem; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.6rem, 4vw, 3.5rem);
  padding-block: clamp(2.2rem, 4vw, 3.4rem);
}
.brand-footer .brand-logo { height: 84px; }
.footer-legal-name { font-size: 0.86rem; color: var(--tx-inv); margin-top: 0.9rem; line-height: 1.5; }
.footer-brand address { font-style: normal; font-size: 0.86rem; margin-top: 0.8rem; line-height: 1.6; }
.footer-meta { font-family: var(--mono); font-size: 0.76rem; color: var(--tx-3); margin-top: 0.7rem; }
.footer-col { display: grid; align-content: start; gap: 0.55rem; font-size: 0.9rem; }
.footer-col h3 { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tx-inv); margin-bottom: 0.3rem; }
.footer-col a { color: var(--tx-inv-2); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--teal-bright); }
.footer-qr {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.4vw, 1.8rem);
  padding-block: clamp(1.5rem, 3vw, 2.1rem);
  border-top: 1px solid var(--line-inv);
}
.footer-qr img {
  width: 104px;
  height: 104px;
  flex-shrink: 0;
  border-radius: 12px;
  background: #fff;
  padding: 7px;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.28);
}
.footer-qr-text h3 {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tx-inv);
  margin-bottom: 0.45rem;
}
.footer-qr-text p { font-size: 0.84rem; line-height: 1.6; color: var(--tx-inv-2); max-width: 52ch; }
.footer-qr-text strong { color: var(--tx-inv); font-weight: 600; }
.footer-qr-id { font-family: var(--mono); font-size: 0.76rem !important; color: var(--teal-bright) !important; margin-top: 0.4rem; letter-spacing: 0.02em; }

.footer-disclosure {
  border-top: 1px solid var(--line-inv);
  padding-block: 1.5rem 0.2rem;
}
.footer-disclosure h3 {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tx-inv);
  margin-bottom: 0.55rem;
}
.footer-disclosure p {
  font-size: 0.8rem;
  line-height: 1.72;
  color: var(--tx-inv-2);
  max-width: 108ch;
}
.footer-disclosure strong { color: var(--tx-inv); font-weight: 600; }
.footer-disclosure a { color: var(--teal-bright); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  justify-content: space-between;
  padding-block: 1.4rem 2rem;
  border-top: 1px solid var(--line-inv);
  font-size: 0.78rem;
  color: var(--tx-3);
}
.footer-fine { max-width: 60ch; }

/* ---------- prose / article ---------- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.2em; margin-bottom: 0.6em; font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.prose h3 { margin-top: 1.8em; margin-bottom: 0.4em; }
.prose p, .prose li { color: var(--tx-2); }
.prose p + p { margin-top: 1em; }
.prose ul, .prose ol { display: grid; gap: 0.5rem; margin: 1em 0; }
.prose strong { color: var(--tx); }
.prose a { color: var(--teal-deep); }

/* ---------- misc blocks ---------- */
.kv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.kv {
  background: var(--white);
  padding: 1.05rem 1.15rem;
  display: grid;
  gap: 0.2rem;
}
.kv dt { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tx-3); }
.kv dd { margin: 0; font-family: var(--mono); font-size: 1.02rem; font-variant-numeric: tabular-nums; }

.download-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--white);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s var(--ease);
}
.download-card:hover { border-color: var(--teal); transform: translateY(-1px); }
.download-card svg { width: 26px; height: 26px; color: var(--teal-deep); flex-shrink: 0; }
.download-card span { display: grid; gap: 0.1rem; }
.download-card strong { font-size: 0.94rem; }
.download-card em { font-style: normal; font-size: 0.78rem; color: var(--tx-3); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.25em 0.65em;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  background: color-mix(in srgb, var(--teal) 12%, transparent);
  color: var(--teal-deep);
  border: 1px solid color-mix(in srgb, var(--teal) 25%, transparent);
}

/* ---------- reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; }
}

@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 74px 0 auto 0;
    margin: 0;
    padding: 1.2rem var(--pad-x) 1.6rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    background: var(--ink);
    border-bottom: 1px solid var(--line-inv);
    box-shadow: var(--shadow-2);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
  }
  .nav[data-open="true"] { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 0.62rem 0; width: 100%; font-size: 1rem; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav-cta { margin-top: 0.5rem; text-align: center; padding: 0.7em 1em; }
  .lang-switch { margin-top: 0.4rem; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 0.9rem 1rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .step { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .brand-logo { height: 44px; }
  .brand-footer .brand-logo { height: 68px; }
  .footer-qr img { width: 84px; height: 84px; }
  .footer-cta-actions .btn { flex: 1 1 auto; justify-content: center; }
  .callout { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- print (data sheets) ---------- */
@media print {
  .site-header, .site-footer, .spec-strip, .hero::before, .hero::after, .actions, .crumbs { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .page-hero, .section-dark { background: #fff !important; color: #000 !important; }
  .page-hero .lead, .section-dark .lead { color: #333 !important; }
  .card, .table-wrap, .kv-grid { border-color: #bbb; box-shadow: none; }
  table.data th, table.data td { border-color: #ccc; }
  a { text-decoration: none; color: #000; }
  [data-reveal] { opacity: 1; transform: none; }
}