/* WANSUN · self-hosted Barlow & Barlow Condensed (SIL OFL) */
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-500.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-600.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlowcondensed-600.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlowcondensed-700.woff") format("woff"); font-weight: 700; font-display: swap; }

/* Graphite + deep green with a safety-yellow accent. Square corners, hard rules, one light theme. */
:root {
  color-scheme: light;
  --g950: #101417;
  --g900: #191f24;
  --g700: #3b454d;
  --green-900: #0d3a33;
  --green-800: #134a42;
  --green-600: #1c6b5e;
  --green-100: #e3efec;
  --yel: #f5b700;
  --yel-deep: #d89f00;
  --ink: #161b1f;
  --muted: #59646d;
  --line: #e0ded6;
  --paper: #f6f5f0;
  --white: #fff;
  --on-dark: #e8ece9;
  --on-dark-muted: #a9b6b2;
  --f-head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --f-body: "Barlow", "Segoe UI", Arial, sans-serif;
  --wrap: 1200px;
  --r: 2px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.62; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 700; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: .005em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--yel); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--yel); color: var(--ink); padding: 10px 16px; z-index: 100; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-head); font-weight: 600; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--green-600); }
.kicker::before { content: ""; width: 10px; height: 10px; background: var(--yel); flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-head); font-weight: 700; font-size: 17px; letter-spacing: .06em; text-transform: uppercase; line-height: 1; padding: 15px 22px; border-radius: 0; text-decoration: none; border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; cursor: pointer; }
.btn svg { width: 16px; height: 16px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--yel); color: var(--ink); }
.btn-primary:hover { background: var(--yel-deep); }
.btn-dark { background: var(--g900); color: #fff; }
.btn-dark:hover { background: var(--green-900); }
.btn-line { border-color: currentColor; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-line-light { border-color: rgba(255,255,255,.8); color: #fff; }
.btn-line-light:hover { background: #fff; color: var(--ink); }
.btn-line-dark { border-color: var(--ink); color: var(--ink); }
.btn-line-dark:hover { background: var(--ink); color: #fff; }

/* Top bar + header */
.topbar { background: var(--g950); color: var(--on-dark-muted); font-size: 14px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.topbar a { color: var(--on-dark); text-decoration: none; }
.topbar a:hover { color: var(--yel); }
.hdr { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 24px; min-height: 78px; }
.brand { flex: none; }
.brand img { width: 186px; height: auto; }
.mainnav { margin-left: auto; }
.menu { display: flex; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu > li > a { display: flex; align-items: center; gap: 6px; padding: 28px 12px; text-decoration: none; font-family: var(--f-head); font-weight: 600; font-size: 18px; letter-spacing: .02em; color: var(--ink); white-space: nowrap; }
.menu > li > a:hover, .menu > li:focus-within > a { color: var(--green-600); }
.menu > li.on > a { color: var(--green-600); box-shadow: inset 0 -4px 0 var(--yel); }
.chev { width: 10px; height: 10px; }
.drop { position: absolute; top: 100%; left: 0; min-width: 280px; list-style: none; margin: 0; padding: 8px 0; background: var(--g900); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.menu > li:hover .drop, .menu > li:focus-within .drop { opacity: 1; visibility: visible; transform: none; }
.drop a { display: block; padding: 10px 20px; color: var(--on-dark); text-decoration: none; font-size: 16px; border-left: 3px solid transparent; }
.drop a:hover { background: rgba(255,255,255,.06); border-left-color: var(--yel); color: #fff; }
.hdr-cta { flex: none; }
.burger { display: none; margin-left: auto; background: none; border: 2px solid var(--ink); padding: 7px 8px; cursor: pointer; color: var(--ink); }
.burger svg { width: 22px; height: 22px; }

/* Bands */
.band { padding-block: 84px; }
.band.paper { background: var(--paper); }
.band.dark { background: var(--green-900); color: var(--on-dark); }
.band.dark .sh h2, .band.dark h3 { color: #fff; }
.band.dark .sh-lead, .band.dark p { color: var(--on-dark-muted); }
.band.dark .kicker { color: var(--yel); }
.band.tight { padding-block: 60px; }
.sh { max-width: 760px; margin-bottom: 40px; }
.sh.center { text-align: center; margin-inline: auto; }
.sh h2 { font-size: clamp(32px, 3.4vw, 46px); margin-top: 12px; color: var(--ink); }
.sh-lead { color: var(--muted); font-size: 18px; margin-top: 14px; }

/* ---- Home */
.hero2 { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; background: var(--green-900); color: #fff; }
.hero2-text { padding: 72px max(20px, calc((100vw - var(--wrap)) / 2 + 20px)) 64px; padding-right: 56px; display: flex; flex-direction: column; justify-content: center; }
.hero2 .kicker { color: var(--yel); }
.hero2 h1 { font-size: clamp(42px, 4.6vw, 66px); line-height: 1.02; margin: 18px 0 20px; max-width: 12em; }
.hero2 h1 span { color: var(--yel); }
.hero2-sub { font-size: 19px; color: var(--on-dark); max-width: 36ch; }
.hero2 .ph-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero2-fig { position: relative; margin: 0; min-height: 360px; }
.hero2-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero2-tag { position: absolute; left: 24px; bottom: 24px; background: var(--white); color: var(--ink); padding: 14px 18px; border-left: 5px solid var(--yel); max-width: 300px; font-size: 15px; line-height: 1.4; box-shadow: 0 12px 30px -12px rgba(0,0,0,.4); }
.hero2-tag b { display: block; font-family: var(--f-head); font-size: 19px; }
.facts { background: var(--g900); color: var(--on-dark); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 22px 20px; border-left: 1px solid rgba(255,255,255,.1); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts b { display: block; font-family: var(--f-head); font-size: 26px; color: var(--yel); line-height: 1.1; }
.facts span { font-size: 15px; color: var(--on-dark-muted); }

.ptabs { display: grid; grid-template-columns: 300px 1fr; gap: 0; border: 1px solid var(--line); background: var(--white); }
.ptab-list { display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.ptab-list button { text-align: left; font: inherit; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 22px 24px; cursor: pointer; display: grid; gap: 4px; border-left: 5px solid transparent; }
.ptab-list button b { font-family: var(--f-head); font-size: 22px; color: var(--ink); }
.ptab-list button span { font-size: 15px; color: var(--muted); }
.ptab-list button[aria-selected="true"] { background: var(--paper); border-left-color: var(--yel); }
.ptab-list button:hover b { color: var(--green-600); }
.ptab-panel { display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; }
.ptab-panel[hidden] { display: none; }
.ptab-panel figure { margin: 0; min-height: 320px; position: relative; }
.ptab-panel figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ptab-body { padding: 32px 32px 30px; display: flex; flex-direction: column; gap: 14px; }
.ptab-body h3 { font-size: 30px; }
.ptab-body p { color: var(--muted); }
.ptab-body .btn { align-self: flex-start; margin-top: 6px; }

.ind-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ind-tile { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--g900); }
.ind-tile img { width: 100%; height: 100%; object-fit: cover; opacity: .78; transition: transform .5s, opacity .3s; }
.ind-tile:hover img { transform: scale(1.04); opacity: .6; }
.ind-tile div { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; background: linear-gradient(180deg, transparent, rgba(16,20,23,.92) 45%); color: #fff; }
.ind-tile h3 { font-size: 24px; }
.ind-tile h3 a { text-decoration: none; }
.ind-tile h3 a::after { content: ""; position: absolute; inset: 0; }
.ind-tile p { font-size: 15px; color: var(--on-dark); margin-top: 6px; }

.homeform { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }

/* FAQ */
.faq { background: var(--paper); }
.faq-wrap { display: grid; grid-template-columns: 1fr 1.7fr; gap: 56px; align-items: start; }
.faq-head h2 { font-size: clamp(32px, 3.2vw, 44px); margin-top: 12px; }
.faq-head p { color: var(--muted); margin-top: 14px; }
.faq-head a { color: var(--green-600); font-weight: 600; }
.faq-items { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 4px; display: flex; justify-content: space-between; gap: 18px; font-family: var(--f-head); font-weight: 600; font-size: 21px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; margin-top: 6px; background: linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat; }
.faq details[open] summary::after { background: linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat; }
.faq details p { padding: 0 4px 22px; color: var(--muted); max-width: 72ch; }

/* CTA */
.cta { background: var(--yel); color: var(--ink); }
.cta-grid { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; padding-block: 44px; }
.cta h2 { font-size: clamp(28px, 2.8vw, 38px); }
.cta p { margin-top: 8px; max-width: 60ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
.foot { background: var(--g950); color: var(--on-dark-muted); font-size: 16px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-block: 64px 44px; }
.foot-brand img { width: 200px; height: auto; }
.foot-brand > p { margin-top: 18px; max-width: 38ch; }
.foot-contact { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.foot-contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--on-dark); text-decoration: none; }
.foot-contact svg { width: 18px; height: 18px; color: var(--yel); flex: none; }
.foot h2 { font-size: 15px; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--yel); }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(255,255,255,.1); padding-block: 18px; font-size: 14px; }
.foot-base nav { display: flex; gap: 20px; }

/* WhatsApp */
.wa-btn { position: fixed; right: max(20px, calc(env(safe-area-inset-right, 0px) + 12px)); bottom: calc(env(safe-area-inset-bottom, 0px) + 20px); z-index: 60; width: 58px; height: 58px; display: grid; place-items: center; background: #1fa855; color: #fff; border-radius: 50%; box-shadow: 0 12px 28px -10px rgba(0,0,0,.5); transition: transform .2s, background .2s; }
.wa-btn:hover { background: #178a45; transform: translateY(-2px); }
.wa-btn svg { width: 30px; height: 30px; }
.wa-box { position: fixed; right: max(20px, calc(env(safe-area-inset-right, 0px) + 12px)); bottom: calc(env(safe-area-inset-bottom, 0px) + 90px); z-index: 61; width: 280px; max-width: calc(100vw - 40px); background: var(--white); border-top: 4px solid #1fa855; box-shadow: 0 24px 50px -16px rgba(0,0,0,.45); padding: 14px; display: grid; gap: 8px; }
.wa-box-t { font-family: var(--f-head); font-weight: 700; font-size: 18px; padding: 2px 4px 4px; }
.wa-box a { display: grid; gap: 2px; padding: 10px 12px; background: #eef8f1; text-decoration: none; border-left: 3px solid #1fa855; }
.wa-box a:hover { background: #dcf3e4; }
.wa-box span { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.wa-box b { font-family: var(--f-head); font-size: 20px; font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }

/* Responsive chrome */
@media (max-width: 1100px) {
  .burger { display: block; }
  .hdr-cta { display: none; }
  .mainnav { margin-left: 0; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: var(--white); border-bottom: 2px solid var(--ink); max-height: calc(100vh - 80px); overflow-y: auto; padding: 6px max(20px, env(safe-area-inset-right, 0px)) 18px max(20px, env(safe-area-inset-left, 0px)); }
  .menu.open { display: flex; }
  .menu > li > a { padding: 14px 0; border-bottom: 1px solid var(--line); justify-content: space-between; }
  .menu > li.on > a { box-shadow: none; }
  .drop { position: static; opacity: 1; visibility: visible; transform: none; background: none; padding: 4px 0 8px 12px; display: none; min-width: 0; }
  .drop a { color: var(--ink); padding: 8px 12px; }
  .drop a:hover { background: var(--paper); color: var(--ink); }
  .menu > li.open .drop { display: block; }
  .hero2 { grid-template-columns: 1fr; }
  .hero2-text { padding: 56px 20px 48px; }
  .hero2-fig { min-height: 0; aspect-ratio: 4 / 3; }
  .facts ul { grid-template-columns: repeat(2, 1fr); }
  .facts li:nth-child(3) { border-left: 0; padding-left: 0; }
  .ptabs { grid-template-columns: 1fr; }
  .ptab-list { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .ptab-list button { border-left: 0; border-bottom: 4px solid transparent; min-width: 220px; }
  .ptab-list button[aria-selected="true"] { border-bottom-color: var(--yel); }
  .ind-tiles { grid-template-columns: repeat(2, 1fr); }
  .faq-wrap, .homeform { grid-template-columns: 1fr; gap: 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .topbar p { display: none; }
  .topbar ul { width: 100%; justify-content: space-between; gap: 12px; font-size: 13px; }
  .ptab-panel { grid-template-columns: 1fr; }
  .ptab-panel figure { min-height: 0; aspect-ratio: 16 / 10; }
  .cta-grid { grid-template-columns: 1fr; }
  .band { padding-block: 60px; }
}
@media (max-width: 520px) {
  body { font-size: 16.5px; }
  .brand img { width: 160px; }
  .topbar li:first-child { display: none; }
  .facts ul { grid-template-columns: 1fr; }
  .facts li { border-left: 0 !important; padding-left: 0 !important; border-top: 1px solid rgba(255,255,255,.1); }
  .facts li:first-child { border-top: 0; }
  .ind-tiles { grid-template-columns: 1fr; }
  .ind-tile { aspect-ratio: 16 / 10; }
  .foot-grid { grid-template-columns: 1fr; }
}
.hero2 > *, .ptabs > *, .ptab-panel > * { min-width: 0; }

/* ===== Inner pages ===== */
.ph { background: var(--paper); border-bottom: 1px solid var(--line); }
.ph-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-block: 44px 56px; }
.ph-plain .ph-grid { grid-template-columns: 1fr; }
.crumbs ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 15px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 10px; color: var(--muted); }
.crumbs a { color: var(--green-600); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.ph h1 { font-size: clamp(38px, 4.2vw, 58px); line-height: 1.03; margin: 14px 0 16px; max-width: 15em; }
.ph-lead { font-size: 19px; color: var(--muted); max-width: 56ch; }
.ph-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ph-fig { margin: 0; position: relative; }
.ph-fig::before { content: ""; position: absolute; right: -14px; top: -14px; width: 46%; height: 46%; background: var(--yel); z-index: 0; }
.ph-fig img { position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

/* Prose */
.prose { max-width: 76ch; min-width: 0; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(28px, 2.6vw, 36px); margin-top: 1.5em; }
.prose h3 { font-size: 24px; margin-top: 1.4em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p, .prose li { color: #303a41; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--green-600); font-weight: 500; text-underline-offset: 3px; }
.prose a.btn { color: inherit; font-weight: 700; }
.prose a.btn-primary { color: var(--ink); }
.prose strong { color: var(--ink); }
.prose figure { margin: 1.6em 0; }
.prose figure img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.prose figcaption, .duo-fig figcaption { font-size: 15px; color: var(--muted); margin-top: 8px; padding-left: 12px; border-left: 3px solid var(--yel); }
.prose ol > li::marker { font-family: var(--f-head); font-weight: 700; color: var(--green-600); }
.lead-p { font-size: 19px; color: var(--ink) !important; }

/* Duo (text + figure) */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.duo.flip .duo-fig { order: -1; }
.duo-fig { margin: 0; }
.duo-fig img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

/* Features */
.feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feats.c2 { grid-template-columns: repeat(2, 1fr); }
.feats.c3 { grid-template-columns: repeat(3, 1fr); }
.feats.c4 { grid-template-columns: repeat(4, 1fr); }
.feat { padding: 28px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); display: flex; flex-direction: column; gap: 10px; }
.band.paper .feat { background: var(--paper); }
.feat-ico { width: 44px; height: 44px; display: grid; place-items: center; background: var(--green-900); color: var(--yel); }
.feat-ico svg { width: 24px; height: 24px; }
.feat h3 { font-size: 23px; }
.feat p { color: var(--muted); font-size: 16.5px; }
.band.dark .feats { border-color: rgba(255,255,255,.12); }
.band.dark .feat { background: transparent; border-color: rgba(255,255,255,.12); }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; counter-reset: t; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.timeline li { counter-increment: t; position: relative; padding: 54px 20px 0 0; }
.timeline li::before { content: counter(t, decimal-leading-zero); position: absolute; top: 0; left: 0; font-family: var(--f-head); font-weight: 700; font-size: 30px; color: var(--yel); background: inherit; line-height: 1; }
.timeline li::after { content: ""; position: absolute; top: 15px; left: 48px; right: 12px; height: 2px; background: rgba(127,140,135,.35); }
.timeline li:last-child::after { display: none; }
.timeline h3 { font-size: 22px; }
.timeline p { font-size: 16px; margin-top: 8px; color: var(--muted); }
.band.dark .timeline p { color: var(--on-dark-muted); }
.timeline.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Ticks */
.ticks { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; margin: 0 !important; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; background: var(--green-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' stroke='%23fff' stroke-width='2' fill='none'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Tables */
.tbl { overflow-x: auto; border: 1px solid var(--line); background: var(--white); }
.tbl table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 560px; font-variant-numeric: tabular-nums; }
.tbl caption { text-align: left; padding: 14px 18px; font-family: var(--f-head); font-weight: 700; font-size: 21px; border-bottom: 2px solid var(--ink); }
.tbl thead th { background: var(--green-900); color: #fff; font-family: var(--f-head); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 15px; text-align: left; padding: 11px 18px; }
.tbl tbody th { text-align: left; font-weight: 600; padding: 12px 18px; border-bottom: 1px solid var(--line); vertical-align: top; width: 30%; }
.tbl td { padding: 12px 18px; border-bottom: 1px solid var(--line); color: #303a41; vertical-align: top; }
.tbl tbody tr:last-child > * { border-bottom: 0; }
.tbl tbody tr:nth-child(odd) { background: #fbfbf8; }
.tnote { font-size: 15px; color: var(--muted); margin-top: 10px !important; }

/* Cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.card { position: relative; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .2s; }
.card::before { content: ""; position: absolute; left: -1px; top: -1px; width: 0; height: 4px; background: var(--yel); transition: width .3s; z-index: 2; }
.card:hover { border-color: var(--g700); }
.card:hover::before { width: calc(100% + 2px); }
.card figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); }
.card figure img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: 24px; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card p { color: var(--muted); font-size: 16px; flex: 1; }
.card-more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 15px; color: var(--green-600); }
.card-more svg { width: 15px; height: 15px; }

/* Callout */
.callout { border: 1px solid var(--line); border-left: 5px solid var(--yel); background: var(--paper); padding: 16px 20px; color: #303a41; font-size: 16.5px; }

/* Product specs */
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.specs div { padding: 18px 18px 18px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.specs dd { margin: 4px 0 0; font-family: var(--f-head); font-weight: 700; font-size: 22px; }

/* Projects */
.proj { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.proj li { display: grid; grid-template-columns: 1fr 1.25fr; gap: 0; border: 1px solid var(--line); background: var(--white); }
.proj li:nth-child(even) figure { order: 2; }
.proj figure { margin: 0; position: relative; min-height: 280px; }
.proj figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.proj-body { padding: 28px 30px; display: grid; gap: 12px; align-content: start; }
.proj-body h3 { font-size: 27px; }
.proj-body p { color: var(--muted); }
.proj dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 6px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.proj dt { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.proj dd { margin: 2px 0 0; font-weight: 600; font-size: 15.5px; }

/* Forms */
.qform { background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--yel); padding: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qform h2, .qform h3 { grid-column: 1 / -1; font-size: 30px; }
.fld { display: grid; gap: 6px; min-width: 0; }
.fld.full { grid-column: 1 / -1; }
.fld label { font-size: 15px; font-weight: 600; }
.fld .req { color: #b25b00; }
.fld input, .fld select, .fld textarea { font: inherit; font-size: 16px; color: var(--ink); background: #fcfcfa; border: 1px solid #c9c7be; border-radius: 0; padding: 12px; width: 100%; }
.fld textarea { min-height: 130px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(28,107,94,.18); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qform .btn { justify-content: center; width: 100%; }
.fnote { grid-column: 1 / -1; font-size: 14.5px; color: var(--muted); }
.fnote a { color: var(--green-600); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.cinfo { list-style: none; margin: 24px 0 0; padding: 0; border-top: 2px solid var(--ink); }
.cinfo li { display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cinfo .feat-ico { grid-row: 1 / span 2; }
.cinfo h3 { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-family: var(--f-body); font-weight: 600; }
.cinfo p { font-family: var(--f-head); font-weight: 700; font-size: 22px; overflow-wrap: anywhere; }
.cinfo a { text-decoration: none; }
.cinfo a:hover { color: var(--green-600); }

/* Blog */
.post-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.post-side { position: sticky; top: 100px; display: grid; gap: 16px; }
.side-card { border: 1px solid var(--line); padding: 22px; display: grid; gap: 12px; background: var(--white); }
.side-card.dark { background: var(--green-900); border-color: var(--green-900); color: var(--on-dark); }
.side-card.dark h2 { color: #fff; }
.side-card h2 { font-size: 22px; }
.side-card p { font-size: 15.5px; }
.side-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 16px; }
.side-card a { color: var(--green-600); }
.side-card .btn { justify-content: center; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; color: var(--muted); }
.formula { font-family: var(--f-head); font-weight: 600; font-size: 20px; background: var(--paper); border-left: 5px solid var(--green-600); padding: 14px 18px; font-variant-numeric: tabular-nums; }
.quote-box { display: grid; grid-template-columns: 1fr auto; gap: 18px 28px; align-items: center; background: var(--g900); color: var(--on-dark); padding: 26px; border-left: 6px solid var(--yel); }
.quote-box strong { display: block; font-family: var(--f-head); font-size: 25px; color: #fff; }
.quote-box p { color: var(--on-dark-muted) !important; font-size: 16px; margin-top: 6px; }
.quote-box-cta { display: flex; flex-direction: column; gap: 10px; }
.quote-box .btn { justify-content: center; text-decoration: none; }

/* Guide pieces (TOC, picks) */
.prose [id], .faq[id] { scroll-margin-top: 100px; }
.toc { border: 1px solid var(--line); border-top: 4px solid var(--green-600); background: var(--paper); padding: 16px 20px; }
.toc summary { font-family: var(--f-head); font-weight: 700; font-size: 21px; cursor: pointer; }
.toc > ol { margin-top: 12px; }
.toc ol ol { margin-top: 6px; padding-left: 1.2em; list-style: square; }
.toc li + li { margin-top: .3em; }
.prose .toc a { color: var(--ink); text-decoration: none; font-weight: 500; }
.prose .toc a:hover { color: var(--green-600); text-decoration: underline; }
.pick { border-top: 2px solid var(--ink); padding-top: 1.2em; margin-top: 2.2em; }
.pick > * + * { margin-top: 1em; }
.pick h3 { margin-top: 0; display: flex; gap: 14px; align-items: baseline; font-size: 27px; }
.pick-no { flex: none; font-family: var(--f-head); font-weight: 700; font-size: 30px; color: var(--yel-deep); }
.pick-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px 18px; background: var(--paper); padding: 14px 18px; margin: 0; }
.pick-meta dt { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.pick-meta dd { margin: 3px 0 0; font-size: 16px; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pc { border: 1px solid var(--line); padding: 12px 16px; }
.pc h4 { font-size: 18px; margin: 0 0 6px; }
.pc.pro h4 { color: var(--green-600); }
.pc.con h4 { color: #a25300; }
.prose .pc ul { padding-left: 1.1em; margin: 0; }
.prose .pc li { font-size: 15.5px; }
.rec-label { font-weight: 600; color: var(--ink) !important; }

/* Legal & downloads */
.legal-doc h2 { font-size: 26px; }

@media (max-width: 1024px) {
  .ph-grid, .duo, .contact-grid, .post-grid { grid-template-columns: 1fr; gap: 32px; }
  .ph-fig { max-width: 640px; }
  .duo.flip .duo-fig { order: 0; }
  .post-side { position: static; }
  .feats.c3, .feats.c4 { grid-template-columns: repeat(2, 1fr); }
  .timeline, .timeline.cols-4 { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .timeline li::after { display: none; }
  .proj li { grid-template-columns: 1fr; }
  .proj li:nth-child(even) figure { order: 0; }
  .proj figure { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .feats.c2, .feats.c3, .feats.c4 { grid-template-columns: 1fr; }
  .timeline, .timeline.cols-4 { grid-template-columns: 1fr; }
  .qform { grid-template-columns: 1fr; padding: 22px; }
  .pros-cons { grid-template-columns: 1fr; }
  .proj dl { grid-template-columns: 1fr 1fr; }
  .ph h1 { font-size: 38px; }
  .ph-fig::before { right: -8px; top: -8px; }
  .quote-box { grid-template-columns: 1fr; }
}
.duo-fig.diagram { background: var(--paper); border: 1px solid var(--line); padding: 20px; overflow-x: auto; }
.duo-fig.diagram svg { width: 100%; height: auto; min-width: 440px; }
