/* ==========================================================================
   Clima Tech System Pvt Ltd — site stylesheet
   ========================================================================== */

:root {
  --blue-900: #0b2542;
  --blue-800: #12365e;
  --blue-700: #1a4d80;
  --blue-600: #1f5f9e;
  --blue-500: #2a7fc1;
  --blue-100: #e6f0f9;
  --blue-50:  #f3f8fc;

  --green-700: #2f7d32;
  --green-600: #46a04a;
  --green-500: #6ab04c;
  --green-50:  #eef7ec;

  --ink:      #16202c;
  --ink-soft: #47566a;
  --ink-mute: #6f7f92;
  --line:     #dfe6ee;
  --line-soft:#edf1f6;
  --bg:       #ffffff;
  --bg-alt:   #f6f9fc;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(11,37,66,.06), 0 2px 8px rgba(11,37,66,.05);
  --shadow-md: 0 4px 12px rgba(11,37,66,.07), 0 12px 32px rgba(11,37,66,.07);
  --maxw: 1180px;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.68;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.018em;
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.25rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.35rem); letter-spacing: -0.025em; }
h3 { font-size: 1.22rem; }
h4 { font-size: 1.02rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-800); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-block;
  font-size: .715rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 14px;
}
.eyebrow.green { color: var(--green-700); }
.eyebrow.on-dark { color: #7cc0f0; }

.lede { font-size: 1.09rem; color: var(--ink-soft); }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

section { padding: 84px 0; }
section.tight { padding: 60px 0; }
.bg-alt { background: var(--bg-alt); }
.bg-blue-50 { background: var(--blue-50); }

.rule { height: 3px; width: 54px; border-radius: 3px; background: linear-gradient(90deg, var(--green-600), var(--blue-600)); margin: 0 0 22px; }
.rule.center { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px;
  border-radius: 7px;
  font-size: .95rem; font-weight: 600;
  border: 1.5px solid transparent;
  transition: all .18s ease;
  cursor: pointer;
}
.btn-primary { background: var(--blue-700); color: #fff; }
.btn-primary:hover { background: var(--blue-900); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-green { background: var(--green-700); color: #fff; }
.btn-green:hover { background: #245f27; color: #fff; transform: translateY(-1px); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--blue-600); color: var(--blue-700); }
.btn-ghost-light { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--blue-900); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand img { height: 40px; width: auto; max-width: 100%; object-fit: contain; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 13px; border-radius: 6px;
  font-size: .92rem; font-weight: 500; color: var(--ink);
  transition: all .15s ease; white-space: nowrap;
}
.nav a:hover { background: var(--blue-50); color: var(--blue-700); }
.nav a.active { color: var(--blue-700); font-weight: 650; }

.has-drop { position: relative; }
.has-drop > a::after { content: "▾"; font-size: .7em; margin-left: 5px; opacity: .55; }
.drop {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 268px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all .16s ease;
}
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.drop a { display: block; padding: 10px 12px; font-size: .9rem; }
.drop a small { display: block; color: var(--ink-mute); font-weight: 400; font-size: .8rem; line-height: 1.4; }

.nav-cta { margin-left: 8px; padding: 10px 20px !important; background: var(--blue-700); color: #fff !important; border-radius: 6px; font-weight: 600 !important; }
.nav-cta:hover { background: var(--blue-900) !important; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 6px; padding: 8px 11px; font-size: 1.1rem; cursor: pointer; color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff;
  background: linear-gradient(100deg, rgba(8,28,50,.97) 0%, rgba(9,32,56,.94) 34%, rgba(11,44,74,.74) 64%, rgba(13,56,94,.58) 100%), #0b2542;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: url("../img/hero-duct.jpg") center 55% / cover no-repeat;
  background-image: image-set(url("../img/hero-duct.webp") type("image/webp"),
                              url("../img/hero-duct.jpg") type("image/jpeg"));
  opacity: .40; z-index: 0; mix-blend-mode: luminosity;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(5,20,38,.62) 0%, rgba(5,20,38,.46) 40%, rgba(5,20,38,.08) 68%, transparent 100%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero-inner { padding: 108px 0 96px; max-width: 730px; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero p.lede { color: rgba(255,255,255,.93); font-size: 1.14rem; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.hero-tags span {
  font-size: .74rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  padding: 7px 14px; border: 1px solid rgba(255,255,255,.28); border-radius: 40px; color: rgba(255,255,255,.9);
}

/* Page banner (interior pages) */
.page-hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(100deg, #0b2542 0%, #143a63 100%);
}
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: .22; filter: grayscale(.15);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(5,20,38,.55) 0%, rgba(5,20,38,.34) 46%, transparent 82%);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero-inner { padding: 72px 0 66px; max-width: 780px; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.8vw, 2.85rem); }
.page-hero p { color: rgba(255,255,255,.92); font-size: 1.06rem; max-width: 640px; margin-bottom: 0; }

.crumbs { font-size: .82rem; color: rgba(255,255,255,.62); margin-bottom: 16px; }
.crumbs a { color: rgba(255,255,255,.82); }
.crumbs a:hover { color: #fff; }

/* ---------- Grids & Cards ---------- */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px 28px;
  transition: all .2s ease;
}
.card:hover { border-color: #c6d5e4; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card h3 { margin-bottom: .45em; }
.card p { font-size: .94rem; margin-bottom: 0; }

.card-media { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-media img { width: 100%; height: 208px; object-fit: cover; }
.card-media .card-body { padding: 26px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.card-media .card-body p { flex: 1; }
.card-link { display: inline-block; margin-top: 16px; font-size: .88rem; font-weight: 650; color: var(--blue-600); }
.card-link::after { content: " →"; }

.icon-badge {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-50); color: var(--blue-700);
  margin-bottom: 18px; flex: none;
}
.icon-badge.green { background: var(--green-50); color: var(--green-700); }
.icon-badge svg { width: 22px; height: 22px; }

.numbered { counter-reset: step; }
.step { position: relative; padding-left: 62px; }
.step-num {
  position: absolute; left: 0; top: 2px;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--blue-700); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .95rem;
}
.step h4 { margin-bottom: .3em; }
.step p { font-size: .92rem; margin: 0; }

/* Split feature block */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.narrow-gap { gap: 40px; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.split-media-tall img { max-height: 460px; width: 100%; object-fit: cover; }

/* ---------- Lists ---------- */
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: 7px 0 7px 30px; font-size: .95rem; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 15px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-600);
}
.ticks.blue li::before { background: var(--blue-500); }
.ticks.cross li::before { background: #c4ccd6; }

/* ---------- Tables ---------- */
.spec-table { width: 100%; border-collapse: collapse; font-size: .93rem; background: #fff; }
.spec-table caption { text-align: left; font-weight: 700; color: var(--ink); padding-bottom: 12px; font-size: 1rem; }
.spec-table th, .spec-table td { padding: 13px 18px; border: 1px solid var(--line); text-align: left; }
.spec-table thead th { background: var(--blue-900); color: #fff; font-weight: 600; font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; border-color: var(--blue-900); }
.spec-table tbody th { font-weight: 600; color: var(--ink); background: var(--bg-alt); width: 40%; }
.spec-table tbody tr:hover td { background: var(--blue-50); }
.table-scroll { overflow-x: auto; }

.note {
  font-size: .86rem; color: var(--ink-mute); font-style: italic; margin-top: 14px;
}

.callout {
  border-left: 4px solid var(--blue-600);
  background: var(--blue-50);
  border-radius: 0 10px 10px 0;
  padding: 22px 26px;
}
.callout h4 { font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; color: var(--blue-700); margin-bottom: .6em; }
.callout p { font-size: .93rem; margin-bottom: 0; }
.callout.green { border-left-color: var(--green-600); background: var(--green-50); }
.callout.green h4 { color: var(--green-700); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.stat .val { font-size: 1.85rem; font-weight: 700; color: var(--blue-800); letter-spacing: -.03em; line-height: 1.1; }
.stat .lbl { font-size: .82rem; color: var(--ink-mute); margin-top: 6px; }

/* ---------- Dark technical band (ENERMAX) ---------- */
.band-dark { background: #0d2540; color: rgba(255,255,255,.78); }
.band-dark h2, .band-dark h3, .band-dark h4 { color: #fff; }
.band-dark .spec-table { background: transparent; color: rgba(255,255,255,.85); }
.band-dark .spec-table th, .band-dark .spec-table td { border-color: rgba(255,255,255,.17); }
.band-dark .spec-table thead th { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.17); }
.band-dark .spec-table tbody th { background: rgba(255,255,255,.04); color: #fff; }
.band-dark .spec-table tbody tr:hover td { background: rgba(255,255,255,.05); }
.band-dark .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); color: rgba(255,255,255,.78); }
.band-dark .card:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); }
.band-dark .note { color: rgba(255,255,255,.55); }
.band-dark .callout { background: rgba(255,255,255,.07); border-left-color: #4fa3e0; }
.band-dark .callout h4 { color: #8ec8f0; }
.band-dark .callout p { color: rgba(255,255,255,.82); }
.band-dark .ticks li::before { background: #6cc070; }

.metric-tile { border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); padding: 22px; background: rgba(255,255,255,.045); }
.metric-tile .v { font-size: 1.5rem; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.metric-tile .k { font-size: .8rem; color: rgba(255,255,255,.6); margin-top: 5px; }

/* Layer diagram */
.layers { border-radius: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,.16); }
.layer { padding: 13px 20px; font-size: .84rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.layer.face { background: linear-gradient(180deg, #d8dee5, #b9c4cf); color: #23303e; }
.layer.core { background: linear-gradient(180deg, #f0d98a, #e3c25f); color: #4a3a08; padding: 30px 20px; }

/* ---------- Comparison ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare-col { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; }
.compare-col.legacy { background: var(--bg-alt); }
.compare-col.ours { background: #fff; border-color: var(--green-600); border-width: 2px; box-shadow: var(--shadow-md); }
.compare-col h3 { font-size: 1.08rem; }
.compare-tag { font-size: .7rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-mute); display: block; margin-bottom: 6px; }
.compare-col.ours .compare-tag { color: var(--green-700); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(100deg, var(--blue-900), var(--blue-700));
  color: #fff; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 620px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .86rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: .94rem;
  border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(42,127,193,.14); }
.field textarea { min-height: 128px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--ink-mute); margin-top: 12px; }

.info-block { padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; margin-bottom: 18px; }
.info-block h4 { font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; color: var(--blue-700); margin-bottom: .7em; }
.info-block p { font-size: .94rem; margin-bottom: 0; }
.info-block a { font-weight: 550; }

/* ---------- Footer ---------- */
.site-footer { background: #0b2542; color: rgba(255,255,255,.62); padding: 62px 0 0; font-size: .9rem; }
.site-footer h5 { color: #fff; font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer a { color: rgba(255,255,255,.66); }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-logo { background: #fff; padding: 10px 14px; border-radius: 8px; display: inline-block; margin-bottom: 18px; }
.footer-logo img { height: 34px; width: auto; max-width: 100%; object-fit: contain; }
.footer-bottom {
  margin-top: 48px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .g4, .g5 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 860px) {
  section { padding: 60px 0; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px; box-shadow: var(--shadow-md);
    max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .nav.open { display: flex; }
  .drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0 0 0 14px; min-width: 0; }
  .has-drop > a::after { display: none; }
  .nav-cta { margin: 10px 0 0; text-align: center; }
  .g2, .g3, .g4, .g5 { grid-template-columns: 1fr; }
  .split, .compare { grid-template-columns: 1fr; gap: 32px; }
  .hero-inner { padding: 76px 0 66px; }
}

@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand img { height: 32px; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   Extended components
   ========================================================================== */

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--blue-900); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

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

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--blue-900); color: rgba(255,255,255,.72); padding: 0; }
.trust-strip .wrap { display: flex; flex-wrap: wrap; gap: 8px 34px; align-items: center; justify-content: center; padding-top: 15px; padding-bottom: 15px; font-size: .84rem; }
.trust-strip span { display: inline-flex; align-items: center; gap: 8px; }
.trust-strip svg { width: 15px; height: 15px; color: var(--green-500); flex: none; }

/* ---------- Stat strip ---------- */
.stat-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.stat-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-strip .cell { padding: 32px 22px; text-align: center; border-right: 1px solid var(--line); }
.stat-strip .cell:last-child { border-right: none; }
.stat-strip .v { font-size: 1.75rem; font-weight: 700; color: var(--blue-800); letter-spacing: -.03em; line-height: 1.15; }
.stat-strip .k { font-size: .82rem; color: var(--ink-mute); margin-top: 6px; }

/* ---------- On-page nav ---------- */
.page-nav {
  border-bottom: 1px solid var(--line); background: #fff;
  position: sticky; top: 76px; z-index: 60;
}
.page-nav .wrap { display: flex; gap: 4px; overflow-x: auto; padding-top: 0; padding-bottom: 0; scrollbar-width: thin; }
.page-nav a {
  padding: 15px 15px; font-size: .87rem; font-weight: 550; color: var(--ink-soft);
  white-space: nowrap; border-bottom: 2px solid transparent;
}
.page-nav a:hover { color: var(--blue-700); border-bottom-color: var(--blue-500); }

/* ---------- Alternating feature rows ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 46px 0; }
.feature-row + .feature-row { border-top: 1px solid var(--line-soft); }
.feature-row.flip .fr-media { order: 2; }
.feature-row img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; }

/* ---------- Figure ---------- */
figure { margin: 0; }
figure img { border-radius: var(--radius-lg); }
figcaption { font-size: .84rem; color: var(--ink-mute); margin-top: 12px; line-height: 1.55; }
.band-dark figcaption { color: rgba(255,255,255,.55); }

/* ---------- Accordion / FAQ ---------- */
.accordion { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.accordion details { border-bottom: 1px solid var(--line-soft); }
.accordion details:last-child { border-bottom: none; }
.accordion summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
  font-weight: 650; color: var(--ink); font-size: 1rem; line-height: 1.45;
  transition: background .15s ease;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { background: var(--blue-50); }
.accordion summary::after {
  content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400; color: var(--blue-600); line-height: 1;
}
.accordion details[open] summary::after { content: "\2013"; }
.accordion details[open] summary { background: var(--blue-50); }
.accordion .acc-body { padding: 4px 24px 22px; font-size: .95rem; }
.accordion .acc-body p:last-child { margin-bottom: 0; }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -28px; top: 6px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--blue-600); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--blue-600);
}
.tl-item h4 { margin-bottom: .3em; }
.tl-item p { font-size: .94rem; margin-bottom: 0; }
.tl-step { font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--blue-600); display: block; margin-bottom: 4px; }

/* ---------- Quote / statement ---------- */
.statement {
  border-left: 4px solid var(--green-600); padding: 6px 0 6px 26px;
  font-size: 1.15rem; line-height: 1.6; color: var(--ink); font-weight: 500;
}

/* ---------- Spec highlight strip ---------- */
.spec-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-strip div { background: #fff; padding: 20px 18px; }
.spec-strip .v { font-weight: 700; color: var(--blue-800); font-size: 1.05rem; }
.spec-strip .k { font-size: .78rem; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .07em; margin-top: 5px; }

/* ---------- Pill list ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 9px; padding: 0; margin: 0; list-style: none; }
.pills li {
  font-size: .84rem; font-weight: 550; padding: 8px 15px; border-radius: 40px;
  background: var(--blue-50); color: var(--blue-800); border: 1px solid #d3e3f1;
}
.pills.green li { background: var(--green-50); color: var(--green-700); border-color: #cde5cb; }

/* ---------- Two-column prose ---------- */
.prose h3 { margin-top: 1.9em; }
.prose h3:first-child { margin-top: 0; }
.prose h4 { margin-top: 1.6em; margin-bottom: .5em; }

/* ---------- Inline definition list ---------- */
.deflist { margin: 0; }
.deflist dt { font-weight: 650; color: var(--ink); margin-top: 18px; }
.deflist dt:first-child { margin-top: 0; }
.deflist dd { margin: 5px 0 0; font-size: .95rem; }

/* ---------- Related links ---------- */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related a {
  display: block; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #fff; transition: all .18s ease;
}
.related a:hover { border-color: var(--blue-500); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.related .rl-k { font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-mute); }
.related .rl-t { font-weight: 650; color: var(--ink); margin-top: 5px; font-size: 1rem; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue-700); color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transition: all .22s ease;
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--blue-900); }
.to-top svg { width: 19px; height: 19px; }

/* ---------- Misc ---------- */
.mt0 { margin-top: 0 !important; }
.mt-l { margin-top: 46px; }
.hr-soft { border: none; border-top: 1px solid var(--line); margin: 52px 0; }
.text-sm { font-size: .93rem; }
.card.flat:hover { transform: none; box-shadow: none; border-color: var(--line); }

@media (max-width: 1000px) {
  .stat-strip .wrap, .spec-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-strip .cell:nth-child(2) { border-right: none; }
  .stat-strip .cell:nth-child(1), .stat-strip .cell:nth-child(2) { border-bottom: 1px solid var(--line); }
  .related { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .feature-row { grid-template-columns: 1fr; gap: 28px; padding: 34px 0; }
  .feature-row.flip .fr-media { order: 0; }
  .page-nav { top: 76px; }
  .stat-strip .wrap, .spec-strip { grid-template-columns: 1fr; }
  .stat-strip .cell { border-right: none; border-bottom: 1px solid var(--line); }
  .stat-strip .cell:last-child { border-bottom: none; }
  .trust-strip .wrap { justify-content: flex-start; gap: 6px 20px; font-size: .78rem; }
}

/* Footer column headings (h2 for document outline, styled small) */
.site-footer .foot-h {
  color: #fff; font-size: .78rem; letter-spacing: .13em; text-transform: uppercase;
  margin: 0 0 16px; font-weight: 700; line-height: 1.4;
}

/* Visually-hidden (for screen readers / table captions) */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Cap tall figure images inside two-column layouts so columns stay balanced */
.split figure img,
.feature-row figure img,
.split-media-tall figure img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}
@media (max-width: 860px) {
  .split figure img, .feature-row figure img { max-height: 340px; }
}

/* ==========================================================================
   Data & reference components
   ========================================================================== */

/* ---------- Numeric tables ---------- */
.spec-table td.num, .spec-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.spec-table tbody tr:nth-child(even) td { background: #fbfcfe; }
.spec-table tbody tr:nth-child(even):hover td { background: var(--blue-50); }
.band-dark .spec-table tbody tr:nth-child(even) td { background: rgba(255,255,255,.03); }
.spec-table caption { caption-side: top; }
.spec-table.compact th, .spec-table.compact td { padding: 10px 14px; font-size: .89rem; }

/* ---------- Bar chart (single-series magnitude) ---------- */
.databar { margin: 0; }
.databar-title { font-weight: 650; color: var(--ink); font-size: 1rem; margin-bottom: 4px; }
.databar-sub { font-size: .86rem; color: var(--ink-mute); margin-bottom: 20px; }
.databar-row { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 16px; margin-bottom: 10px; }
.databar-row:last-of-type { margin-bottom: 0; }
.databar-label { font-size: .88rem; color: var(--ink-soft); text-align: right; }
.databar-track { position: relative; display: flex; align-items: center; gap: 10px; }
.databar-fill {
  height: 22px; background: var(--blue-600);
  border-radius: 0 4px 4px 0;             /* square at baseline, 4px rounded data-end */
  min-width: 2px; flex: none;
}
.databar-fill.alt { background: var(--green-600); }
.databar-val { font-size: .88rem; font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.databar-axis {
  margin-top: 14px; padding-top: 9px;
  border-top: 1px solid var(--line);
  font-size: .78rem; color: var(--ink-mute);
  display: grid; grid-template-columns: 150px 1fr; gap: 16px;
}
.databar-axis span { text-align: left; }
.band-dark .databar-title { color: #fff; }
.band-dark .databar-sub, .band-dark .databar-axis { color: rgba(255,255,255,.6); }
.band-dark .databar-label { color: rgba(255,255,255,.75); }
.band-dark .databar-val { color: #fff; }
.band-dark .databar-fill { background: #4e9ad6; }
.band-dark .databar-axis { border-top-color: rgba(255,255,255,.18); }

/* ---------- Hero figure / KPI ---------- */
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.kpi { padding: 26px 26px 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.kpi .kpi-v { font-size: 2.1rem; font-weight: 700; color: var(--blue-800); letter-spacing: -.03em; line-height: 1.05; }
.kpi .kpi-u { font-size: .95rem; font-weight: 600; color: var(--ink-mute); margin-left: 4px; }
.kpi .kpi-k { font-size: .85rem; color: var(--ink-mute); margin-top: 8px; }
.kpi .kpi-n { font-size: .8rem; color: var(--ink-mute); margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line-soft); }

/* ---------- Glossary ---------- */
.glossary { border-top: 1px solid var(--line); }
.glossary div {
  display: grid; grid-template-columns: 230px 1fr; gap: 24px;
  padding: 17px 0; border-bottom: 1px solid var(--line-soft);
}
.glossary dt { font-weight: 650; color: var(--ink); font-size: .95rem; margin: 0; }
.glossary dt span { display: block; font-weight: 400; font-size: .8rem; color: var(--ink-mute); margin-top: 2px; }
.glossary dd { margin: 0; font-size: .93rem; }

/* ---------- Decision guide ---------- */
.guide-step {
  display: grid; grid-template-columns: 46px 1fr; gap: 20px;
  padding: 22px 0; border-bottom: 1px solid var(--line-soft);
}
.guide-step:last-child { border-bottom: none; }
.guide-q {
  width: 46px; height: 46px; border-radius: 10px; background: var(--blue-50);
  color: var(--blue-700); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem;
}
.guide-step h4 { margin-bottom: .35em; }
.guide-step p { font-size: .94rem; margin-bottom: 0; }

/* ---------- Section number ---------- */
.sec-num {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .715rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 14px;
}
.sec-num b {
  font-size: .78rem; letter-spacing: 0; font-weight: 700;
  background: var(--blue-700); color: #fff; border-radius: 5px; padding: 2px 8px;
}
.sec-num.on-dark { color: #7cc0f0; }
.sec-num.on-dark b { background: rgba(255,255,255,.16); color: #fff; }

/* ---------- Callout variants ---------- */
.callout.warn { border-left-color: #b8791b; background: #fdf6ec; }
.callout.warn h4 { color: #8a5a12; }
.callout.neutral { border-left-color: var(--ink-mute); background: var(--bg-alt); }
.callout.neutral h4 { color: var(--ink); }

/* ---------- Sticky quick-spec card ---------- */
.quickspec { position: sticky; top: 148px; }
.quickspec .qs-inner {
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff;
  padding: 24px 24px 26px; box-shadow: var(--shadow-sm);
}
.quickspec h3 { font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; color: var(--blue-700); margin-bottom: 16px; }
.quickspec dl { margin: 0; }
.quickspec dl div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); }
.quickspec dl div:last-child { border-bottom: none; }
.quickspec dt { font-size: .86rem; color: var(--ink-mute); margin: 0; }
.quickspec dd { font-size: .88rem; font-weight: 650; color: var(--ink); margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.split-sticky { display: grid; grid-template-columns: 1fr 330px; gap: 48px; align-items: start; }

/* ---------- Conversion pairs ---------- */
.convert { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.convert div { background: #fff; padding: 16px 18px; }
.convert .c-si { font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; }
.convert .c-imp { font-size: .88rem; color: var(--ink-mute); font-variant-numeric: tabular-nums; margin-top: 3px; }
.convert .c-k { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-mute); margin-bottom: 6px; }

@media (max-width: 1000px) {
  .kpi-row, .convert { grid-template-columns: 1fr 1fr; }
  .split-sticky { grid-template-columns: 1fr; gap: 32px; }
  .quickspec { position: static; }
}
@media (max-width: 700px) {
  .kpi-row, .convert { grid-template-columns: 1fr; }
  .glossary div { grid-template-columns: 1fr; gap: 6px; }
  .databar-row, .databar-axis { grid-template-columns: 110px 1fr; gap: 10px; }
  .databar-label { font-size: .82rem; }
}

/* ==========================================================================
   Print
   ========================================================================== */
@media print {
  .site-header, .page-nav, .to-top, .cta-band, .nav-toggle, .skip-link,
  .hero-actions, .hero-tags, .related, .btn { display: none !important; }
  body { font-size: 11pt; line-height: 1.45; color: #000; }
  section { padding: 18pt 0; break-inside: avoid; }
  .wrap { max-width: none; padding: 0; }
  .hero, .page-hero { background: none !important; color: #000; padding: 0; }
  .hero h1, .page-hero h1, .hero p, .page-hero p { color: #000 !important; }
  .page-hero-bg, .hero::after { display: none !important; }
  .band-dark { background: none !important; color: #000; }
  .band-dark h2, .band-dark h3, .band-dark h4 { color: #000 !important; }
  .band-dark .spec-table, .band-dark .spec-table th, .band-dark .spec-table td { color: #000 !important; border-color: #999 !important; }
  .band-dark .spec-table thead th { background: #eee !important; color: #000 !important; }
  .card, .info-block, .metric-tile, .kpi { border: 1px solid #ccc !important; box-shadow: none !important; break-inside: avoid; }
  .accordion details { break-inside: avoid; }
  .accordion .acc-body { display: block !important; }
  table, figure, .compare { break-inside: avoid; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
  .site-footer { background: none !important; color: #000; border-top: 1px solid #999; }
  .site-footer a, .site-footer .foot-h { color: #000 !important; }
}

/* Sub-labels inside uppercase table headers keep their own case (units, symbols) */
.spec-table thead th small { text-transform: none; letter-spacing: 0; }

/* De-emphasised bars — the "emphasis" form: accent hue for the subject,
   neutral slate for context rows. No legend needed; rows are directly labelled. */
.databar-fill.mute { background: #8fa3b8; }
.band-dark .databar-fill.mute { background: rgba(255,255,255,.34); }

/* ==========================================================================
   Overflow containment
   Grid and flex children default to min-width:auto, which lets a wide table
   push the whole layout past the viewport. Pin them to 0 so .table-scroll
   can do its job.
   ========================================================================== */
.grid > *, .split > *, .split-sticky > *, .compare > *,
.feature-row > *, .contact-grid > *, .databar-row > *, .databar-track {
  min-width: 0;
}
.table-scroll { max-width: 100%; -webkit-overflow-scrolling: touch; }
.table-scroll table { min-width: 480px; }
.spec-table caption { max-width: 100%; }
html, body { overflow-x: hidden; }

/* Keep the table caption visible while the table scrolls sideways */
.spec-table caption { position: sticky; left: 0; }

/* Tell people the table scrolls, on the screens where it has to */
@media (max-width: 720px) {
  .table-scroll { position: relative; }
  .table-scroll::before {
    content: "Scroll the table sideways to see all columns \2192";
    display: block; position: sticky; left: 0;
    font-size: .78rem; font-style: italic; color: var(--ink-mute);
    margin-bottom: 9px;
  }
  .band-dark .table-scroll::before { color: rgba(255,255,255,.6); }
}

/* <picture> must not create a box — the <img> inside keeps every existing rule
   (positioning, object-fit, sizing) exactly as it had before the wrapper. */
picture { display: contents; }
