/* ==========================================================================
   BKV Engineering Co., Ltd. — Global Design System
   Modern static site · Thai / English · Responsive (PC + Mobile)

   Contents
   01. Design tokens
   02. Reset & base
   03. Typography
   04. Layout primitives
   05. Buttons & links
   06. Header & navigation (mega menu + mobile drawer)
   07. Hero
   08. Cards & grids
   09. Interactive modules (tabs, chips, diagram, configurator, steps)
   10. Content sections (trust bar, process, stats, FAQ, projects, brands)
   11. CTA band
   12. Footer
   13. Utilities
   14. Motion & reveal
   15. Print
   16. Long-form article reading (knowledge articles)
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand — navy authority + BKV green signature + electric accent */
  --navy-900: #04101f;
  --navy-800: #071a30;
  --navy-700: #0b2440;
  --navy-600: #123156;
  --navy-500: #1b4372;
  --navy-400: #2a5c95;

  --green-700: #1f7a45;
  --green-600: #2a9455;
  --green-500: #34b06a;
  --green-400: #4ac97f;
  --green-100: #e6f7ed;

  --cyan-600: #0a7ea4;
  --cyan-500: #0ea5c9;
  --cyan-400: #38c3e3;
  --cyan-100: #e2f6fb;

  --amber-500: #f0a020;
  --amber-100: #fdf3e2;

  --violet-500: #6d5ce7;
  --violet-100: #eeecfd;

  --rose-500: #e2566b;
  --rose-100: #fdeaee;

  /* Neutrals */
  --ink: #0d1b2a;
  --ink-2: #33465c;
  --ink-3: #5b6c81;
  --ink-4: #8496a9;
  --line: #e2e8f0;
  --line-2: #eef2f7;
  --surface: #ffffff;
  --surface-2: #f6f9fc;
  --surface-3: #eef3f9;

  /* Semantic */
  --brand: var(--navy-700);
  --brand-strong: var(--navy-600);
  --accent: var(--green-500);
  --accent-ink: var(--green-700);
  --surface-dark: var(--navy-800);

  /* Typography */
  --font-sans: "Inter", "Noto Sans Thai", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --fs-xs: 0.78rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.0625rem;
  --fs-lg: clamp(1.125rem, 0.4vw + 1.02rem, 1.3rem);
  --fs-xl: clamp(1.35rem, 0.9vw + 1.12rem, 1.85rem);
  --fs-2xl: clamp(1.7rem, 1.6vw + 1.3rem, 2.6rem);
  --fs-3xl: clamp(2.1rem, 2.6vw + 1.4rem, 3.6rem);

  --lh-tight: 1.15;
  --lh-snug: 1.32;
  --lh-normal: 1.62;
  --lh-relaxed: 1.78;

  /* Space */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --section-y: clamp(3.25rem, 6vw, 6rem);

  /* Radius */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Elevation */
  --sh-xs: 0 1px 2px rgba(4, 16, 31, 0.06);
  --sh-sm: 0 2px 8px rgba(4, 16, 31, 0.07);
  --sh-md: 0 8px 24px rgba(4, 16, 31, 0.09);
  --sh-lg: 0 18px 48px rgba(4, 16, 31, 0.13);
  --sh-xl: 0 32px 80px rgba(4, 16, 31, 0.18);
  --sh-glow: 0 10px 34px rgba(52, 176, 106, 0.28);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 160ms;
  --dur: 280ms;
  --dur-slow: 520ms;

  /* Layout */
  --container: 1220px;
  --container-wide: 1420px;
  --container-narrow: 820px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --header-h: 76px;
  --header-h-sm: 64px;
}

/* --------------------------------------------------------------------------
   02. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}

body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--ink-2);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

img {
  height: auto;
  border-style: none;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

a {
  color: var(--brand-strong);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}

ul,
ol {
  padding: 0;
  list-style: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--sp-6) 0;
}

:focus-visible {
  outline: 3px solid var(--cyan-500);
  outline-offset: 2px;
  border-radius: var(--r-xs);
}

::selection {
  background: var(--green-500);
  color: #fff;
}

@media (min-width: 1024px) {
  ::-webkit-scrollbar {
    width: 11px;
  }
  ::-webkit-scrollbar-track {
    background: var(--surface-2);
  }
  ::-webkit-scrollbar-thumb {
    background: #c3d0de;
    border: 3px solid var(--surface-2);
    border-radius: var(--r-pill);
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #a6b7c9;
  }
}

/* --------------------------------------------------------------------------
   03. Typography
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ink);
  line-height: var(--lh-snug);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-3xl);
  line-height: var(--lh-tight);
  letter-spacing: -0.03em;
}

h2 {
  font-size: var(--fs-2xl);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

h3 {
  font-size: var(--fs-xl);
}

h4 {
  font-size: var(--fs-lg);
}

h5 {
  font-size: var(--fs-md);
}

h6 {
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--ink-3);
}

p {
  text-wrap: pretty;
}

strong,
b {
  font-weight: 700;
  color: var(--ink);
}

code,
kbd {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--surface-3);
  padding: 0.15em 0.4em;
  border-radius: var(--r-xs);
}

.lead {
  font-size: var(--fs-lg);
  line-height: var(--lh-relaxed);
  color: var(--ink-3);
}

.muted {
  color: var(--ink-3);
}

.text-center {
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: var(--sp-3);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--green-500), var(--cyan-500));
}

.eyebrow.is-center {
  justify-content: center;
}

.eyebrow.is-light {
  color: var(--green-400);
}

.gradient-text {
  background: linear-gradient(100deg, var(--green-400), var(--cyan-400) 55%, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--sp-4);
  z-index: 999;
  padding: 0.7em 1.2em;
  background: var(--navy-700);
  color: #fff;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   04. Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--wide {
  max-width: var(--container-wide);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: clamp(2.25rem, 4vw, 3.5rem);
}

.section--surface {
  background: var(--surface-2);
}

.section--surface-3 {
  background: var(--surface-3);
}

.section--dark {
  background: var(--navy-800);
  color: #c9d6e4;
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark h5,
.section--dark h6 {
  color: #fff;
}

.section--dark .lead,
.section--dark .muted {
  color: #a7bacd;
}

.section--dark strong {
  color: #fff;
}

.section--brand {
  background: linear-gradient(150deg, var(--navy-800) 0%, var(--navy-600) 55%, var(--navy-500) 100%);
  color: #cfe0f0;
}

.section--brand h2,
.section--brand h3,
.section--brand h4 {
  color: #fff;
}

.section--brand p {
  color: #a9c0d6;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-head.is-center {
  margin-inline: auto;
  text-align: center;
}

.section-head p {
  margin-top: var(--sp-4);
  font-size: var(--fs-md);
  color: var(--ink-3);
  line-height: var(--lh-relaxed);
}

.section--dark .section-head p,
.section--brand .section-head p {
  color: #a9c0d6;
}

.grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.6rem);
}

.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-auto {
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.split--reverse > *:first-child {
  order: 2;
}

.split--wide-left {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

@media (max-width: 960px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split,
  .split--wide-left {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.25rem;
  }
  .split--reverse > *:first-child {
    order: 0;
  }
}

@media (max-width: 620px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: minmax(0, 1fr);
  }
  .grid--keep-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.stack > * + * {
  margin-top: var(--sp-4);
}

.stack-lg > * + * {
  margin-top: var(--sp-6);
}

/* --------------------------------------------------------------------------
   05. Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.82em 1.6em;
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1.5px solid var(--btn-bd);
  border-radius: var(--r-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur) var(--ease),
    background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  --btn-bg: var(--brand);
  box-shadow: 0 6px 18px rgba(11, 36, 64, 0.22);
}

.btn--primary:hover {
  --btn-bg: var(--navy-600);
  box-shadow: 0 12px 30px rgba(11, 36, 64, 0.3);
}

.btn--accent {
  --btn-bg: linear-gradient(120deg, var(--green-500), var(--green-600));
  box-shadow: var(--sh-glow);
}

.btn--accent:hover {
  box-shadow: 0 16px 40px rgba(52, 176, 106, 0.38);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--line);
}

.btn--ghost:hover {
  --btn-bd: var(--brand);
  --btn-fg: var(--brand);
  background: var(--surface-2);
}

.btn--on-dark {
  --btn-bg: rgba(255, 255, 255, 0.1);
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(8px);
}

.btn--on-dark:hover {
  --btn-bg: rgba(255, 255, 255, 0.2);
  --btn-bd: rgba(255, 255, 255, 0.6);
}

.btn--white {
  --btn-bg: #fff;
  --btn-fg: var(--navy-700);
  box-shadow: var(--sh-md);
}

.btn--sm {
  padding: 0.6em 1.15em;
  font-size: var(--fs-xs);
}

.btn--lg {
  padding: 0.95em 2em;
  font-size: var(--fs-base);
}

.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.btn-row.is-center {
  justify-content: center;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--brand-strong);
}

.link-arrow::after {
  content: "\2192";
  transition: transform var(--dur) var(--ease);
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

.link-arrow.is-light {
  color: var(--green-400);
}

/* --------------------------------------------------------------------------
   06. Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease),
    background-color var(--dur) var(--ease);
}

.site-header.is-stuck {
  box-shadow: var(--sh-sm);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  min-height: var(--header-h);
}

@media (max-width: 900px) {
  .header-inner {
    min-height: var(--header-h-sm);
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
  color: var(--ink);
}

.brand:hover {
  color: var(--ink);
}

.brand-logo {
  height: 46px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.brand-text small {
  font-size: 0.66rem;
  color: var(--ink-4);
  letter-spacing: 0.04em;
}

/*
 * Narrow phones: the brand lockup, the language switch and the burger must all
 * fit on one line. Shrink the lockup and drop the tagline before anything is
 * allowed to overflow.
 */
@media (max-width: 600px) {
  .brand {
    gap: 0.5rem;
    min-width: 0;
  }

  .brand-logo {
    height: 34px;
  }

  .brand-text strong {
    font-size: 0.92rem;
  }

  .brand-text small {
    display: none;
  }

  .header-inner {
    gap: 0.5rem;
  }

  .header-actions {
    gap: 0.4rem;
  }

  .lang-switch button {
    padding: 0.3em 0.6em;
    font-size: 0.72rem;
  }

  .burger {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-inline: auto;
}

.desktop-nav > a,
.nav-item__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.55em 0.85em;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--ink-2);
  border-radius: var(--r-sm);
  background: none;
  transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}

.desktop-nav > a:hover,
.nav-item__trigger:hover,
.nav-item.is-open > .nav-item__trigger {
  color: var(--brand);
  background: var(--surface-2);
}

.desktop-nav > a.is-active,
.nav-item.is-active > .nav-item__trigger {
  color: var(--accent-ink);
}

.nav-caret {
  width: 10px;
  height: 10px;
  transition: transform var(--dur) var(--ease);
  flex-shrink: 0;
}

.nav-item {
  position: relative;
}

.nav-item__panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease-out),
    visibility var(--dur);
  z-index: 20;
}

.nav-item__panel::before {
  content: "";
  position: absolute;
  inset: -14px 0 auto;
  height: 14px;
}

.nav-item.is-open .nav-item__panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega {
  width: min(940px, calc(100vw - 3rem));
  padding: 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
}

.mega--solutions {
  width: min(700px, calc(100vw - 3rem));
}

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

.mega-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mega-link {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.75rem 0.8rem;
  border-radius: var(--r-md);
  color: var(--ink);
  transition: background-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

.mega-link:hover {
  background: var(--surface-2);
  color: var(--ink);
  transform: translateX(2px);
}

.mega-link__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--cyan-100);
  color: var(--cyan-600);
}

.mega-link__icon svg {
  width: 19px;
  height: 19px;
}

.mega-link--green .mega-link__icon {
  background: var(--green-100);
  color: var(--green-700);
}

.mega-link--violet .mega-link__icon {
  background: var(--violet-100);
  color: var(--violet-500);
}

.mega-link--amber .mega-link__icon {
  background: var(--amber-100);
  color: #b5720c;
}

.mega-link--rose .mega-link__icon {
  background: var(--rose-100);
  color: var(--rose-500);
}

.mega-link__text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
}

.mega-link__text span {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.76rem;
  color: var(--ink-4);
  line-height: 1.45;
}

.mega-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line-2);
  font-size: 0.82rem;
  color: var(--ink-4);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  background: var(--surface-3);
  border-radius: var(--r-pill);
}

.lang-switch button {
  padding: 0.34em 0.8em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-3);
  border-radius: var(--r-pill);
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}

.lang-switch button[aria-pressed="true"] {
  background: #fff;
  color: var(--brand);
  box-shadow: var(--sh-xs);
}

.burger {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  color: var(--brand);
  background: var(--surface-2);
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur-fast) var(--ease);
}

.burger span + span {
  margin-top: 4.5px;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1080px) {
  .desktop-nav,
  .desktop-only {
    display: none;
  }
  .burger {
    display: grid;
  }
  .header-inner {
    justify-content: space-between;
  }
  .header-actions {
    margin-left: auto;
  }
}

.mobile-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(400px, 100%);
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: var(--sh-xl);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--dur-slow) var(--ease-out), visibility var(--dur-slow);
  z-index: 200;
  overscroll-behavior: contain;
}

.mobile-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.drawer-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  color: var(--ink-2);
  background: var(--surface-2);
  font-size: 1.3rem;
  line-height: 1;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem 1.25rem 1.5rem;
  -webkit-overflow-scrolling: touch;
}

.drawer-foot {
  flex-shrink: 0;
  padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--surface-2);
  display: grid;
  gap: 0.75rem;
}

.acc-item {
  border-bottom: 1px solid var(--line-2);
}

.acc-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.95rem 0.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
}

.acc-trigger__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-3);
  color: var(--brand);
  font-size: 0.9rem;
  line-height: 1;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.acc-trigger[aria-expanded="true"] .acc-trigger__icon {
  transform: rotate(45deg);
  background: var(--green-100);
  color: var(--green-700);
}

.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur) var(--ease-out);
}

.acc-panel > div {
  overflow: hidden;
}

.acc-trigger[aria-expanded="true"] + .acc-panel {
  grid-template-rows: 1fr;
}

.acc-panel ul {
  padding: 0 0 0.85rem 0.25rem;
  display: grid;
  gap: 0.1rem;
}

.acc-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  color: var(--ink-2);
  border-radius: var(--r-sm);
}

.acc-panel a:hover {
  background: var(--surface-2);
  color: var(--brand);
}

.acc-panel a::after {
  content: "\203A";
  color: var(--ink-4);
}

.drawer-link {
  display: block;
  padding: 0.95rem 0.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line-2);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 16, 31, 0.55);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur);
  z-index: 190;
}

.drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

/* --------------------------------------------------------------------------
   07. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, var(--navy-900) 0%, var(--navy-700) 48%, var(--navy-500) 100%);
  color: #c6d6e6;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 18% 22%, rgba(52, 176, 106, 0.3), transparent 46%),
    radial-gradient(circle at 82% 78%, rgba(14, 165, 201, 0.28), transparent 50%);
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 78%);
  z-index: -1;
}

.hero__inner {
  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.25rem, 7vw, 6rem);
}

@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }
  .hero__content .btn-row {
    justify-content: center;
  }
  .hero__content .eyebrow {
    justify-content: center;
  }
}

.hero__title {
  color: #fff;
  font-size: var(--fs-3xl);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: var(--sp-5);
}

.hero__title em {
  font-style: normal;
  color: var(--green-400);
}

.hero__text {
  font-size: var(--fs-lg);
  line-height: var(--lh-relaxed);
  color: #b6c8db;
  max-width: 54ch;
  margin-bottom: var(--sp-6);
}

@media (max-width: 960px) {
  .hero__text {
    margin-inline: auto;
  }
}

.hero__media {
  position: relative;
}

.hero__media img {
  width: 100%;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.25;
}

.hero-badge span {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--ink-4);
}

.hero-badge--tl {
  top: -18px;
  left: -14px;
}

.hero-badge--br {
  bottom: -20px;
  right: -10px;
}

.hero-badge__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 4px rgba(52, 176, 106, 0.22);
  flex-shrink: 0;
}

@media (max-width: 560px) {
  .hero-badge {
    display: none;
  }
}

.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-600));
  color: #bfd0e0;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 176, 106, 0.22), transparent 68%);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}

@media (max-width: 900px) {
  .page-hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

.page-hero h1 {
  color: #fff;
  margin-bottom: var(--sp-4);
}

.page-hero p {
  font-size: var(--fs-md);
  color: #b3c6d9;
  max-width: 60ch;
  line-height: var(--lh-relaxed);
}

.page-hero__media img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: var(--sp-5);
  font-size: 0.82rem;
  color: #8fa6bd;
}

.breadcrumb a {
  color: #b9cbdd;
}

.breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.breadcrumb li + li::before {
  content: "/";
  color: #5c748d;
}

.breadcrumb [aria-current] {
  color: var(--green-400);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   08. Cards & grids
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: #cfdcea;
}

.card--flat:hover {
  transform: none;
  box-shadow: var(--sh-sm);
  border-color: var(--line);
}

.card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(140deg, var(--navy-700), var(--navy-500));
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.card:hover .card__media img {
  transform: scale(1.06);
}

.card__media--icon {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 7;
  background: linear-gradient(140deg, var(--surface-2), var(--surface-3));
}

.card__media--icon .icon-badge {
  width: 62px;
  height: 62px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: var(--sh-sm);
  color: var(--brand-strong);
  transition: transform var(--dur) var(--ease);
}

.card:hover .card__media--icon .icon-badge {
  transform: scale(1.08) rotate(-3deg);
}

.icon-badge svg {
  width: 30px;
  height: 30px;
}

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.6rem;
  padding: 1.4rem 1.5rem 1.6rem;
}

.card__kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.card__title {
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

.card__text {
  font-size: 0.92rem;
  line-height: var(--lh-relaxed);
  color: var(--ink-3);
  flex: 1;
}

.card__foot {
  margin-top: 0.35rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line-2);
}

.card--on-dark {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
}

.card--on-dark:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
}

.card--on-dark .card__title,
.card--on-dark strong {
  color: #fff;
}

.card--on-dark .card__text {
  color: #a8bccf;
}

.card--on-dark .card__foot {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.card__title a {
  color: var(--ink);
}

.card__title a::after,
.card--link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.card--on-dark .card__title a {
  color: #fff;
}

.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.4rem;
}

.tag {
  display: inline-block;
  padding: 0.28em 0.7em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--surface-3);
  border-radius: var(--r-pill);
  white-space: nowrap;
}

.tag--green { background: var(--green-100); color: var(--green-700); }
.tag--cyan { background: var(--cyan-100); color: var(--cyan-600); }
.tag--violet { background: var(--violet-100); color: #4c3ec0; }
.tag--amber { background: var(--amber-100); color: #a86a06; }
.tag--rose { background: var(--rose-100); color: #b32f45; }

.checklist {
  display: grid;
  gap: 0.7rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.94rem;
  line-height: 1.55;
}

.checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 0.18em;
  border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f7a45' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.checklist--numbered {
  counter-reset: ck;
}

.checklist--numbered li {
  counter-increment: ck;
}

.checklist--numbered li::before {
  content: counter(ck);
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-top: 0.05em;
  font-size: 0.76rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--green-500), var(--cyan-500));
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   09. Interactive modules
   -------------------------------------------------------------------------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.35rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  width: fit-content;
  max-width: 100%;
  margin-bottom: var(--sp-6);
}

.tabs--block {
  width: 100%;
  border-radius: var(--r-lg);
}

.tabs--center {
  margin-inline: auto;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.6em 1.15em;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-3);
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease);
}

.tab-btn:hover {
  color: var(--brand);
}

.tab-btn[aria-selected="true"] {
  background: #fff;
  color: var(--brand);
  box-shadow: var(--sh-sm);
}

.tab-btn__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line);
  transition: background-color var(--dur) var(--ease);
}

.tab-btn[aria-selected="true"] .tab-btn__dot {
  background: var(--green-500);
}

.tab-panel[hidden] {
  display: none;
}

.tab-panel {
  animation: fadeUp var(--dur-slow) var(--ease-out);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.chip {
  padding: 0.55em 1.05em;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-2);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  transition: all var(--dur-fast) var(--ease);
}

.chip:hover {
  border-color: var(--green-500);
  color: var(--green-700);
}

.chip[aria-pressed="true"],
.chip.is-active {
  background: linear-gradient(120deg, var(--green-500), var(--green-600));
  border-color: transparent;
  color: #fff;
  box-shadow: var(--sh-glow);
}

.chip-group {
  margin-bottom: var(--sp-5);
}

.chip-group__label {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-4);
}

.diagram {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}

@media (max-width: 900px) {
  .diagram {
    grid-template-columns: minmax(0, 1fr);
  }
}

.diagram__stage {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(145deg, var(--navy-700), var(--navy-500));
  box-shadow: var(--sh-md);
  aspect-ratio: 4 / 3;
}

.diagram__stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.hotspot {
  position: absolute;
  width: 34px;
  height: 34px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy-700);
  font-size: 0.8rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  border: 2px solid transparent;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.hotspot::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 2px solid rgba(52, 176, 106, 0.5);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}

.hotspot:hover,
.hotspot[aria-pressed="true"] {
  background: var(--green-500);
  color: #fff;
  transform: translate(-50%, -50%) scale(1.14);
  border-color: #fff;
}

.hotspot[aria-pressed="true"]::after {
  opacity: 1;
  animation: pulse 1.8s ease-out infinite;
}

.diagram__info {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  min-height: 220px;
}

.diagram__info h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.diagram__info p {
  font-size: 0.94rem;
  line-height: var(--lh-relaxed);
  color: var(--ink-3);
}

.diagram__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-2);
}

@keyframes pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

.selector {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-md);
}

@media (max-width: 880px) {
  .selector {
    grid-template-columns: minmax(0, 1fr);
  }
}

.selector__result {
  padding: 1.5rem;
  background: linear-gradient(150deg, var(--surface-2), var(--surface-3));
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
}

.selector__result-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.selector__result-head .icon-badge {
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--brand-strong);
  box-shadow: var(--sh-xs);
}

.selector__result-head h3 {
  font-size: 1.08rem;
  margin: 0;
}

.selector__meta {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
}

.selector__meta > div {
  display: flex;
  gap: 0.6rem;
  font-size: 0.86rem;
}

.selector__meta dt {
  flex-shrink: 0;
  min-width: 108px;
  color: var(--ink-4);
  font-weight: 600;
}

.selector__meta dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}

.configurator {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-md);
}

.configurator__progress {
  margin-bottom: 1.75rem;
}

.configurator__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-3);
  margin-bottom: 0.6rem;
}

.configurator__bar {
  height: 6px;
  background: var(--surface-3);
  border-radius: var(--r-pill);
  overflow: hidden;
}

.configurator__bar i {
  display: block;
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--green-500), var(--cyan-500));
  border-radius: var(--r-pill);
  transition: width var(--dur-slow) var(--ease-out);
}

.configurator__step[hidden] {
  display: none;
}

.configurator__step h3 {
  margin-bottom: 0.4rem;
}

.configurator__step > p {
  margin-bottom: 1.25rem;
  color: var(--ink-3);
  font-size: 0.92rem;
}

.configurator__nav {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-2);
}

.configurator__summary {
  display: grid;
  gap: 0.7rem;
}

.configurator__summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.9rem;
  background: var(--surface-2);
  border-radius: var(--r-sm);
  font-size: 0.88rem;
}

.configurator__summary-row span:first-child {
  color: var(--ink-3);
  font-weight: 600;
}

.configurator__summary-row span:last-child {
  color: var(--ink);
  font-weight: 700;
  text-align: right;
}

.process {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.5rem;
  counter-reset: step;
}

@media (max-width: 900px) {
  .process {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.process__item {
  position: relative;
  counter-increment: step;
  padding: 1.35rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  text-align: center;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.process__item:hover {
  transform: translateY(-3px);
  border-color: var(--green-500);
  box-shadow: var(--sh-sm);
}

.process__item::before {
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 0 auto 0.75rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-600), var(--navy-400));
  border-radius: 50%;
}

.process__item:first-child::before {
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
}

.process__item strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
  color: var(--ink);
}

.process__item span {
  display: block;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--ink-4);
}

.process--on-dark .process__item {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

.process--on-dark .process__item strong {
  color: #fff;
}

.process--on-dark .process__item span {
  color: #9db3c8;
}

.flow {
  display: grid;
  gap: 0.4rem;
}

.flow__item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.flow__item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 2.1rem;
  bottom: -0.45rem;
  width: 2px;
  height: 0.5rem;
  background: var(--line);
}

.flow__item:hover {
  border-color: var(--green-500);
  box-shadow: var(--sh-sm);
}

.flow__num {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--green-500), var(--cyan-500));
  border-radius: 50%;
}

.flow__body strong {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
  margin-bottom: 0.15rem;
}

.flow__body p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink-3);
}

.faq {
  display: grid;
  gap: 0.6rem;
  max-width: 860px;
  margin-inline: auto;
}

.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.faq__item.is-open {
  border-color: var(--green-500);
  box-shadow: var(--sh-sm);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.1rem 1.35rem;
  text-align: left;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
}

.faq__icon {
  flex-shrink: 0;
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface-3);
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: translate(-50%, -50%);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__item.is-open .faq__icon {
  background: var(--green-100);
  transform: rotate(90deg);
}

.faq__item.is-open .faq__icon::after {
  opacity: 0;
}

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur) var(--ease-out);
}

.faq__item.is-open .faq__a {
  grid-template-rows: 1fr;
}

.faq__a > div {
  overflow: hidden;
}

.faq__a p {
  padding: 0 1.35rem 1.25rem;
  font-size: 0.92rem;
  line-height: var(--lh-relaxed);
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   10. Content sections
   -------------------------------------------------------------------------- */
.trustbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding-block: 1.5rem;
}

.trustbar__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 1.5rem;
}

.trustbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-3);
}

.trustbar__item svg {
  width: 17px;
  height: 17px;
  color: var(--green-500);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .trustbar__divider {
    display: none;
  }
}

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

@media (max-width: 760px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.stat {
  padding: 1.5rem 1.25rem;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.stat:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-sm);
}

.stat__num {
  display: block;
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--navy-600), var(--green-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat__label {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.85rem;
  color: var(--ink-3);
  line-height: 1.45;
}

.project-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(140deg, var(--navy-700), var(--navy-500));
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.project-card:hover .project-card__media img {
  transform: scale(1.07);
}

.project-card__badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.35em 0.8em;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(11, 36, 64, 0.82);
  backdrop-filter: blur(6px);
  border-radius: var(--r-pill);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.85rem;
}

.brand-tile {
  display: grid;
  place-items: center;
  min-height: 88px;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  text-align: center;
  transition: all var(--dur) var(--ease);
}

.brand-tile:hover {
  border-color: var(--green-500);
  color: var(--brand);
  transform: translateY(-3px);
  box-shadow: var(--sh-sm);
}

.brand-tile small {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--ink-4);
  letter-spacing: 0.02em;
}

.brand-tile.is-hidden {
  display: none;
}

.media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
  background: var(--surface-3);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media--contain img {
  object-fit: contain;
  padding: 1.5rem;
  background: #fff;
}

.media--tall {
  aspect-ratio: 3 / 4;
}

.media--wide {
  aspect-ratio: 21 / 9;
}

.prose > * + * {
  margin-top: var(--sp-4);
}

.prose h2,
.prose h3 {
  margin-top: var(--sp-7);
}

.prose h2:first-child,
.prose h3:first-child {
  margin-top: 0;
}

.prose ul {
  display: grid;
  gap: 0.6rem;
}

.prose ul li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  line-height: var(--lh-relaxed);
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--green-500);
  transform: rotate(45deg);
}

.spec-table {
  font-size: 0.9rem;
}

.spec-table th,
.spec-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line-2);
}

.spec-table th {
  font-weight: 700;
  color: var(--ink);
  background: var(--surface-2);
  white-space: nowrap;
}

.spec-table td {
  color: var(--ink-3);
}

.spec-table tr:last-child td {
  border-bottom: 0;
}

.table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  -webkit-overflow-scrolling: touch;
}

.form {
  display: grid;
  gap: 1.1rem;
}

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

@media (max-width: 620px) {
  .form__row {
    grid-template-columns: minmax(0, 1fr);
  }
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-2);
}

.field label .req {
  color: var(--rose-500);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.78rem 1rem;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(52, 176, 106, 0.16);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-4);
}

.form__note {
  font-size: 0.8rem;
  color: var(--ink-4);
  line-height: 1.6;
}

.form__status {
  display: none;
  padding: 0.9rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--r-sm);
  background: var(--green-100);
  color: var(--green-700);
  border: 1px solid rgba(52, 176, 106, 0.35);
}

.form__status.is-visible {
  display: block;
}

.search-bar {
  display: flex;
  gap: 0.6rem;
  max-width: 620px;
  padding: 0.4rem;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--sh-sm);
  transition: border-color var(--dur-fast) var(--ease);
}

.search-bar:focus-within {
  border-color: var(--green-500);
}

.search-bar input {
  flex: 1;
  min-width: 0;
  padding: 0.6rem 0.5rem 0.6rem 1.1rem;
  font-size: 0.95rem;
  border: 0;
  background: none;
  outline: none;
}

.search-bar input::placeholder {
  color: var(--ink-4);
}

.layout-with-aside {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: start;
}

@media (max-width: 900px) {
  .layout-with-aside {
    grid-template-columns: minmax(0, 1fr);
  }
}

.filter-panel {
  position: sticky;
  top: calc(var(--header-h) + 1.25rem);
  padding: 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}

@media (max-width: 900px) {
  .filter-panel {
    position: static;
  }
}

.filter-group + .filter-group {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-2);
}

.filter-group__title {
  margin-bottom: 0.8rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-4);
}

.filter-list {
  display: grid;
  gap: 0.15rem;
}

.filter-check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.42rem 0.5rem;
  font-size: 0.88rem;
  color: var(--ink-2);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease);
}

.filter-check:hover {
  background: var(--surface-2);
}

.filter-check input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.filter-check__box {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 1.5px solid #c3d0de;
  border-radius: 5px;
  background: #fff;
  transition: all var(--dur-fast) var(--ease);
}

.filter-check__box::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 6px;
  width: 4px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform var(--dur-fast) var(--ease);
}

.filter-check input:checked + .filter-check__box {
  background: var(--green-500);
  border-color: var(--green-500);
}

.filter-check input:checked + .filter-check__box::after {
  transform: rotate(45deg) scale(1);
}

.filter-check input:focus-visible + .filter-check__box {
  outline: 3px solid var(--cyan-500);
  outline-offset: 2px;
}

.filter-check__count {
  margin-left: auto;
  font-size: 0.76rem;
  color: var(--ink-4);
}

.is-hidden-item {
  display: none !important;
}

.filter-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.86rem;
  color: var(--ink-3);
}

.filter-summary__count {
  font-weight: 700;
  color: var(--ink);
}

.filter-reset {
  margin-left: auto;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--rose-500);
  text-decoration: underline;
}

.empty-state {
  padding: 3rem 1.5rem;
  text-align: center;
  background: var(--surface-2);
  border: 1px dashed #c9d6e4;
  border-radius: var(--r-lg);
}

.empty-state p {
  margin-top: 0.5rem;
  color: var(--ink-3);
}

.callout {
  display: flex;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  background: var(--cyan-100);
  border-left: 4px solid var(--cyan-500);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}

.callout__icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  color: var(--cyan-600);
}

.callout strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--cyan-600);
}

.callout p {
  font-size: 0.92rem;
  line-height: var(--lh-relaxed);
  color: var(--ink-2);
}

.callout--green {
  background: var(--green-100);
  border-left-color: var(--green-500);
}

.callout--green .callout__icon,
.callout--green strong {
  color: var(--green-700);
}

.info-list {
  display: grid;
  gap: 1.1rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.info-item__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  background: var(--green-100);
  color: var(--green-700);
}

.info-item__icon svg {
  width: 20px;
  height: 20px;
}

.info-item strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.15rem;
}

.info-item a,
.info-item p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.info-item a:hover {
  color: var(--brand-strong);
}

.map-embed {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(140deg, var(--surface-3), var(--surface-2));
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --------------------------------------------------------------------------
   11. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 6vw, 5rem);
  background: linear-gradient(140deg, var(--navy-800) 0%, var(--navy-600) 55%, var(--green-700) 130%);
  color: #c4d5e6;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -10%;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 201, 0.25), transparent 68%);
}

.cta-band__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-band__text {
  max-width: 620px;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.6rem;
}

.cta-band p {
  font-size: var(--fs-md);
  color: #b5c8dc;
}

.cta-band .btn-row {
  flex-shrink: 0;
}

.cta-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-sm);
}

.cta-inline h3 {
  font-size: var(--fs-lg);
  margin-bottom: 0.3rem;
}

.cta-inline p {
  font-size: 0.92rem;
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-900);
  color: #93a8bf;
  padding-top: clamp(3rem, 6vw, 4.5rem);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 3vw, 3rem);
  padding-bottom: 3rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.footer-brand .brand {
  color: #fff;
  margin-bottom: 1rem;
}

.footer-brand .brand-logo {
  background: #ffffff;
  padding: 4px 8px;
  border-radius: var(--radius-sm, 6px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.footer-brand .brand-text small {
  color: #7b91a9;
}

.footer-brand p {
  max-width: 42ch;
  line-height: var(--lh-relaxed);
  margin-bottom: 1.25rem;
}

.footer-col h4 {
  margin-bottom: 1rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

.footer-col ul {
  display: grid;
  gap: 0.55rem;
}

.footer-col a {
  color: #93a8bf;
  font-size: 0.88rem;
}

.footer-col a:hover {
  color: var(--green-400);
}

.footer-contact {
  display: grid;
  gap: 0.75rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  line-height: 1.5;
}

.footer-contact svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 0.2em;
  color: var(--green-500);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.82rem;
  color: #74899f;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-legal a {
  color: #74899f;
}

.footer-legal a:hover {
  color: var(--green-400);
}

/* --------------------------------------------------------------------------
   13. Utilities
   -------------------------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-5 { margin-bottom: var(--sp-5); }
.mb-6 { margin-bottom: var(--sp-6); }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); }
.wrap { flex-wrap: wrap; }
.justify-between { justify-content: space-between; }

.icon-badge {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--green-100), var(--cyan-100));
  color: var(--brand-strong);
  flex-shrink: 0;
}

.icon-badge--solid {
  background: linear-gradient(135deg, var(--navy-600), var(--navy-400));
  color: #fff;
}

.icon-badge--green {
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  color: #fff;
}

.icon-badge svg {
  width: 25px;
  height: 25px;
}

.rounded { border-radius: var(--r-lg); }
.bg-surface-2 { background: var(--surface-2); }
.bg-tint-green { background: var(--green-100); }
.bg-tint-cyan { background: var(--cyan-100); }
.max-60 { max-width: 60ch; }
.max-70 { max-width: 70ch; }

/* --------------------------------------------------------------------------
   14. Motion & reveal
   -------------------------------------------------------------------------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/*
 * Scroll reveal is opt-in: main.js adds the `js` class to <html>, so content
 * stays fully visible when JavaScript is unavailable or fails to run.
 */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal[data-delay="1"] { transition-delay: 0.08s; }
.js .reveal[data-delay="2"] { transition-delay: 0.16s; }
.js .reveal[data-delay="3"] { transition-delay: 0.24s; }
.js .reveal[data-delay="4"] { transition-delay: 0.32s; }
.js .reveal[data-delay="5"] { transition-delay: 0.4s; }
.js .reveal[data-delay="6"] { transition-delay: 0.48s; }

@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;
    scroll-behavior: auto !important;
  }
  .reveal,
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   15. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header,
  .mobile-drawer,
  .drawer-backdrop,
  .cta-band,
  .site-footer,
  .btn {
    display: none !important;
  }
  body {
    color: #000;
    background: #fff;
  }
  .section {
    padding-block: 1rem;
  }
  .card,
  .tab-panel {
    break-inside: avoid;
  }
}

/* --------------------------------------------------------------------------
   16. Long-form article reading (knowledge articles)
   -------------------------------------------------------------------------- */
.article [id] {
  scroll-margin-top: calc(var(--header-h) + 5rem);
}

@media (max-width: 900px) {
  .article [id] {
    scroll-margin-top: calc(var(--header-h-sm) + 4rem);
  }
}

/* Reading rhythm: shorter measure, airier leading, calmer sub-headings. */
.article .container {
  max-width: 1060px;
}

.article .section {
  padding-block: clamp(2.75rem, 5vw, 4.5rem);
}

.article .section-head {
  max-width: 74ch;
  margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
}

.article .section-head p {
  max-width: 70ch;
}

.article .section > .container > p {
  max-width: 68ch;
  font-size: 1.02rem;
  line-height: 1.85;
}

.article .section > .container > p strong {
  color: var(--ink);
}

.article h3 {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin-block: var(--sp-6) var(--sp-4);
  font-size: clamp(1.05rem, 0.4vw + 0.98rem, 1.2rem);
}

.article h3::before {
  content: "";
  flex-shrink: 0;
  width: 4px;
  height: 1.1em;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--green-500), var(--cyan-500));
}

.article .checklist li {
  font-size: 0.98rem;
  line-height: 1.75;
}

.article .checklist--numbered li::before {
  margin-top: 0.28em;
}

@media (min-width: 620px) {
  .article .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.article .process {
  grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
  gap: 0.8rem;
}

.article .process__item span {
  font-size: 0.85rem;
  line-height: 1.6;
}

/* Feature lists read as quiet cards instead of a wall of rows. */
.article .info-list {
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 0.9rem;
}

.article .info-item {
  padding: 1.05rem 1.15rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-xs);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.article .info-item:hover {
  transform: translateY(-3px);
  border-color: #cfdcea;
  box-shadow: var(--sh-sm);
}

.article .info-item strong {
  font-size: 0.96rem;
  letter-spacing: -0.01em;
  text-transform: none;
}

.article .info-item p,
.article .card__text {
  font-size: 0.95rem;
  line-height: 1.75;
}

.article .spec-table {
  font-size: 0.93rem;
}

.article .spec-table th,
.article .spec-table td {
  padding: 0.95rem 1.1rem;
}

.article .spec-table td {
  line-height: 1.7;
}

.article .spec-table tbody tr:nth-child(even) {
  background: var(--surface-2);
}

.article figure {
  margin-block: var(--sp-5) 1.25rem;
}

.article figure img {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}

.article figcaption {
  margin-top: 0.7rem;
  font-size: 0.82rem;
  line-height: 1.6;
  text-align: center;
  color: var(--ink-4);
}

/* Table of contents card. */
.page-hero .tag {
  background: rgba(255, 255, 255, 0.1);
  color: #bfd0e0;
}

.toc {
  padding: 1.15rem 1.25rem 1.3rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.toc__label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.7rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-4);
}

.toc__label svg {
  width: 15px;
  height: 15px;
  color: var(--green-600);
}

.toc__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.1rem 1.25rem;
  margin-inline: -0.6rem;
}

@media (max-width: 700px) {
  .toc__list {
    grid-template-columns: minmax(0, 1fr);
  }
}

.toc__link {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  padding: 0.45rem 0.6rem;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink-2);
  transition: background-color var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease);
}

.toc__link::before {
  content: "";
  flex-shrink: 0;
  align-self: center;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.35;
}

.toc__link:hover {
  background: #fff;
  color: var(--brand);
}

.toc__link.is-active {
  background: #fff;
  box-shadow: var(--sh-xs);
  color: var(--brand);
}

.toc__link.is-active::before {
  opacity: 1;
  color: var(--green-600);
}

/* Sticky chapter strip that follows the reader down the article. */
.reading-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-block: 1px solid var(--line-2);
}

@media (max-width: 900px) {
  .reading-bar {
    top: var(--header-h-sm);
  }
}

.reading-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 46px;
  font-size: 0.82rem;
}

.reading-bar__label {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-4);
}

.reading-bar__now {
  font-weight: 600;
  color: var(--brand);
  text-align: right;
}

.reading-bar__pct {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  color: var(--ink-4);
}

.reading-bar__track {
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 2px;
  background: var(--line-2);
}

.reading-bar__fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--green-500), var(--cyan-500));
  transition: width 90ms linear;
}

@media print {
  .reading-bar,
  .toc {
    display: none !important;
  }
  .article .container {
    max-width: none;
  }
}
