/* KONIX MedSupply — v2 (2026-11-23) */
:root {
  color-scheme: light;
  --navy: #0f2a3d;
  --navy-2: #163b52;
  --navy-3: #1d4a63;
  --teal: #0e7c72;
  --teal-strong: #0a6159;
  --teal-bright: #3cc7b4;
  --teal-soft: #e4f3f0;
  --cream: #f7f6f1;
  --paper: #ffffff;
  --ink: #142630;
  --muted: #55676e;
  --line: #e0e7e5;
  --line-strong: #c9d6d3;
  --line-green: #06c755;
  --line-green-dark: #05a748;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 42, 61, .06), 0 8px 24px rgba(15, 42, 61, .07);
  --shadow-lg: 0 2px 4px rgba(15, 42, 61, .06), 0 24px 48px rgba(15, 42, 61, .14);
  --f-head: "Anuphan", "Sarabun", system-ui, sans-serif;
  --f-body: "Sarabun", "Anuphan", system-ui, Tahoma, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.7 var(--f-body); color: var(--ink); background: var(--paper); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
svg { width: 1.15em; height: 1.15em; flex: none; }
h1, h2, h3, p, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--f-head); line-height: 1.25; text-wrap: balance; color: var(--navy); }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.35rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.2rem; font-weight: 600; }
h1 em, h2 em { font-style: normal; color: var(--teal); }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 3px; border-radius: 6px; }
.nw { white-space: nowrap; }
.hero h1 { text-wrap: wrap; font-size: clamp(2.1rem, 4.2vw, 3.6rem); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: fixed; z-index: 50; left: 12px; top: 12px; padding: .6rem 1rem; background: #fff; border-radius: 8px; transform: translateY(-160%); }
.skip:focus { transform: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .72em 1.25em; border: 1.5px solid transparent; border-radius: 999px; font: 600 1rem/1.2 var(--f-head); cursor: pointer; transition: background .15s, border-color .15s, transform .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .55em 1em; font-size: .92rem; }
.btn-lg { padding: .9em 1.6em; font-size: 1.05rem; }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 6px 18px rgba(14, 124, 114, .3); }
.btn-primary:hover { background: var(--teal-strong); }
.btn-line { background: var(--line-green); color: #fff; }
.btn-line:hover { background: var(--line-green-dark); }
.btn-ghost { background: #fff; border-color: var(--line-strong); color: var(--navy); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.button { display: inline-flex; align-items: center; padding: .72em 1.25em; border-radius: 999px; background: var(--teal); color: #fff; font: 600 1rem/1.2 var(--f-head); }
.button:hover { background: var(--teal-strong); }
.more, .text-link { display: inline-flex; align-items: center; gap: .35em; color: var(--teal); font: 600 1rem var(--f-head); }
.more svg { transition: transform .15s; }
.more:hover svg, a:hover > .more svg { transform: translateX(3px); }
.text-link { text-decoration: underline; text-underline-offset: 4px; }
.linkish { background: none; border: 0; padding: 0; color: var(--teal); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.topline { background: var(--navy); color: #b9cbd4; font-size: .88rem; }
.topline .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topline a { display: inline-flex; align-items: center; gap: .35em; color: #fff; font-weight: 600; }
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font: 700 1.3rem var(--f-head); color: var(--navy); letter-spacing: -.01em; }
.brand b { color: var(--teal); font-weight: 600; }
.brand img { width: 40px; height: 40px; }
.mainnav { display: flex; gap: 6px; margin-left: auto; }
.mainnav a { white-space: nowrap; padding: .45em .85em; border-radius: 999px; font: 600 .98rem var(--f-head); color: var(--ink); }
.mainnav a:hover { background: var(--teal-soft); color: var(--teal-strong); }
.mainnav a[aria-current] { background: var(--navy); color: #fff; }

/* ---------- Common sections ---------- */
.section { padding-block: clamp(56px, 7vw, 96px); }
.section-tint { background: var(--cream); }
.eyebrow { display: inline-block; color: var(--teal); font: 700 .8rem/1.4 var(--f-head); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.eyebrow-light { color: var(--teal-bright); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 44rem; }
.shead { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; }
.shead p:not(.eyebrow) { margin-top: 8px; color: var(--muted); }
.pcard-cat { color: var(--teal); font: 600 .82rem var(--f-head); letter-spacing: .02em; }
.model { font-family: var(--f-head); font-weight: 700; letter-spacing: .01em; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #dbe7ec; background:
  radial-gradient(900px 500px at 85% 20%, rgba(60, 199, 180, .22), transparent 60%),
  linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, var(--navy-3) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(180deg, #000 30%, transparent 95%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(56px, 7vw, 96px); }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 em { color: var(--teal-bright); }
.hero .lead { color: #bfd0d8; }
.hero-tags { display: grid; gap: 10px; margin-top: 24px; }
.hero-tags div { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-tags dt { min-width: 64px; font: 600 .88rem var(--f-head); color: #8fb0bd; }
.hero-tags dd { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tags span { padding: .25em .85em; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.06); font-size: .9rem; color: #e6f0f3; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: .94rem; color: #bfd0d8; }
.hero-checks li { display: inline-flex; align-items: center; gap: 6px; }
.hero-checks svg { color: var(--teal-bright); }
.hero-visual { position: relative; }
.stage { position: relative; padding: 0 0 56px 0; }
.stage-main { display: block; position: relative; border-radius: 22px; background: #fff; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.stage-main img { width: 100%; aspect-ratio: 1080 / 761; object-fit: cover; }
.stage-label { position: absolute; left: 16px; top: 16px; padding: .35em .8em; border-radius: 999px; background: var(--navy); color: #fff; font-size: .85rem; }
.stage-label b { color: var(--teal-bright); margin-right: 4px; }
.stat { position: absolute; padding: 14px 16px; border-radius: 14px; background: rgba(15, 42, 61, .92); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(8px); box-shadow: 0 16px 32px rgba(0,0,0,.3); color: #cfe0e6; min-width: 168px; }
.stat small { display: block; font-size: .78rem; color: #8fb0bd; }
.stat b { display: block; font: 700 1.6rem/1.2 var(--f-head); color: #fff; }
.stat b i { font: 500 .85rem var(--f-body); color: #bfd0d8; }
.stat span { font-size: .8rem; color: var(--teal-bright); }
.stat-a { right: -18px; top: 22%; }
.stat-b { left: -22px; top: 52%; }
.stage-side { position: absolute; right: 18px; bottom: 0; width: 46%; display: flex; flex-direction: column; border-radius: 16px; background: #fff; overflow: hidden; box-shadow: var(--shadow-lg); color: var(--ink); }
.stage-side img { aspect-ratio: 1080 / 761; object-fit: cover; }
.stage-side span { padding: 8px 12px; font-size: .82rem; border-top: 1px solid var(--line); }
.stage-side b { color: var(--teal); }

/* ---------- Facts strip ---------- */
.facts { background: #fff; border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-grid div { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 24px 18px; border-left: 1px solid var(--line); }
.facts-grid div:first-child { border-left: 0; }
.facts-grid p { display: flex; flex-direction: column; line-height: 1.3; }
.facts-grid b { display: block; font: 700 2rem/1.1 var(--f-head); color: var(--navy); }
.facts-grid span { color: var(--muted); font-size: .95rem; }

/* ---------- Categories ---------- */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s; }
.cat:hover { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-3px); }
.cat-img { background: #fff; border-bottom: 1px solid var(--line); }
.cat-img img { width: 100%; aspect-ratio: 1080 / 761; object-fit: cover; }
.cat-txt { padding: 16px 18px 18px; }
.cat-txt small { color: var(--muted); font-size: .82rem; }
.cat-txt h3 { margin: 2px 0 8px; }
.cat-txt span { display: inline-flex; align-items: center; gap: 6px; color: var(--teal); font: 600 .95rem var(--f-head); }

/* ---------- Featured row ---------- */
.frow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; }
.fcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--line-strong); }
.fcard-img img { width: 100%; aspect-ratio: 1080 / 761; object-fit: cover; }
.fcard-body { padding: 18px 20px 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; flex: 1; }
.fcard-body h3 { font-size: 1.45rem; }
.fcard-body > p:not(.pcard-cat) { color: var(--muted); font-size: .97rem; }
.keyspecs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: auto; padding-top: 10px; }
.keyspecs li { padding: 8px 10px; border-radius: 10px; background: var(--cream); border: 1px solid var(--line); }
.keyspecs span { display: block; font-size: .72rem; color: var(--muted); line-height: 1.3; }
.keyspecs b { display: block; font: 600 .88rem/1.35 var(--f-head); color: var(--navy); }

/* ---------- What you get ---------- */
.gets { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.gets .lead { margin-top: 14px; }
.get-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.get-list li { display: flex; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.get-list b { font-family: var(--f-head); color: var(--navy); }
.get-list p { font-size: .92rem; color: var(--muted); line-height: 1.55; margin-top: 2px; }
.gicon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--teal-soft); color: var(--teal); flex: none; }
.gicon svg { width: 22px; height: 22px; }
.gets-visual { position: relative; padding-bottom: 40px; }
.gets-photo { width: 100%; border-radius: 20px; aspect-ratio: 4 / 3; object-fit: cover; }
.sheet-card { position: absolute; left: -24px; bottom: 0; width: 46%; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); }
.sheet-card img { aspect-ratio: 4 / 3; object-fit: cover; object-position: top; }
.sheet-card span { display: block; padding: 10px 14px; border-top: 1px solid var(--line); }
.sheet-card b { display: block; font: 600 .92rem var(--f-head); color: var(--navy); }
.sheet-card small { color: var(--muted); }

/* ---------- Quote band ---------- */
.quote { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #cfdfe5; padding-block: clamp(56px, 7vw, 88px); }
.quote h2 { color: #fff; }
.quote h2 em { color: var(--teal-bright); }
.quote-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.steps li { display: flex; gap: 14px; padding: 18px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.stepno { display: block; color: var(--teal-bright); font: 600 .78rem var(--f-head); letter-spacing: .06em; }
.steps .num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--teal-bright); color: var(--navy); font: 700 1rem var(--f-head); flex: none; }
.steps b { font-family: var(--f-head); color: #fff; }
.steps p { font-size: .92rem; line-height: 1.55; margin-top: 2px; }
.quote-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 30px; border-radius: 20px; background: #fff; color: var(--muted); box-shadow: 0 30px 60px rgba(0,0,0,.3); }
.quote-card img { width: 168px; height: 168px; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 8px; }
.quote-title { font: 700 1.2rem var(--f-head); color: var(--navy); }
.quote-card .btn { margin-top: 12px; width: 100%; }
.quote-guide { margin-top: 10px; color: var(--teal); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; font-size: .95rem; }

/* ---------- Article cards (home) ---------- */
.arow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.acard { display: flex; flex-direction: column; gap: 8px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s; }
.acard:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.acard > p:not(.pcard-cat) { color: var(--muted); flex: 1; }
.acard .more { margin-top: 8px; }

/* ---------- Catalog page ---------- */
.page-hero { position: relative; color: #cfdfe5; background: radial-gradient(700px 360px at 90% 0%, rgba(60, 199, 180, .2), transparent 60%), linear-gradient(160deg, var(--navy), var(--navy-2)); padding-block: clamp(44px, 6vw, 72px) clamp(36px, 5vw, 56px); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 10px; }
.page-hero h1 em { color: var(--teal-bright); }
.page-hero .lead { color: #bfd0d8; }
.finder { margin-top: 26px; display: grid; gap: 14px; }
.search { display: flex; align-items: center; gap: 10px; max-width: 640px; padding: 0 18px; border-radius: 999px; background: #fff; color: var(--muted); box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.search input { flex: 1; min-width: 0; border: 0; padding: 15px 0; font: 500 1.02rem var(--f-body); color: var(--ink); background: transparent; outline: none; }
.search:focus-within { outline: 3px solid var(--teal-bright); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: .5em 1em; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: #e6f0f3; font: 600 .93rem var(--f-head); cursor: pointer; }
.pill span { padding: 0 .5em; border-radius: 999px; background: rgba(255,255,255,.14); font-size: .8rem; }
.pill:hover { border-color: var(--teal-bright); }
.pill[aria-pressed="true"] { background: var(--teal-bright); border-color: var(--teal-bright); color: var(--navy); }
.pill[aria-pressed="true"] span { background: rgba(15, 42, 61, .15); }
.catalog { padding-block: 32px 72px; }
.catalog-bar { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--muted); }
.catalog-group { margin-top: 36px; }
.group-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.group-head h2 { font-size: 1.5rem; }
.group-head p { color: var(--muted); }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.pcard:hover { box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.pcard-media { display: block; width: 100%; padding: 0; border: 0; background: #fff; cursor: zoom-in; border-bottom: 1px solid var(--line); }
.pcard-media img { width: 100%; aspect-ratio: 1080 / 761; object-fit: cover; transition: transform .35s; }
.pcard:hover .pcard-media img { transform: scale(1.03); }
.pcard-body { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px 20px; flex: 1; }
.pcard-body h3 { font-size: 1.5rem; }
.pcard-name { color: var(--ink); font-weight: 500; }
.series-note { display: inline-block; align-self: flex-start; margin-top: 4px; padding: .1em .6em; border-radius: 6px; background: #fff4dc; color: #7a5300; font-size: .8rem; font-weight: 600; }
.pcard-actions { display: flex; gap: 8px; margin-top: 16px; }
.pcard-actions .btn { flex: 1; }
.empty { margin-top: 32px; padding: 28px; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); }

/* ---------- Product dialog ---------- */
.pdialog { max-width: none; width: min(1080px, calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 0; border: 0; border-radius: 20px; box-shadow: 0 40px 80px rgba(0,0,0,.35); color: var(--ink); overflow: hidden; }
.pdialog::backdrop { background: rgba(10, 26, 38, .62); backdrop-filter: blur(3px); }
.pdialog[open] { display: flex; flex-direction: column; animation: pop .2s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.dlg-body { overflow-y: auto; }
.dlg-close { position: absolute; z-index: 2; right: 14px; top: 12px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--navy); }
.dlg-close:hover { background: var(--teal-soft); }
.dlg-grid { display: grid; grid-template-columns: 1fr 1.1fr; }
.dlg-media { padding: 24px; background: var(--cream); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.dlg-media > img { border-radius: 14px; background: #fff; border: 1px solid var(--line); aspect-ratio: 1080 / 761; object-fit: cover; }
.credit { font-size: .78rem; color: var(--muted); }
.spec-thumb { display: block; margin-top: 6px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.spec-thumb img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.spec-thumb span { display: block; padding: 8px 12px; font: 600 .88rem var(--f-head); color: var(--teal); border-top: 1px solid var(--line); }
.dlg-info { padding: 28px 30px 30px; }
.dlg-title { font-size: 1.7rem; padding-right: 40px; }
.dlg-title .model { color: var(--teal); }
.dlg-tag { margin-top: 6px; color: var(--muted); }
.dlg-info h3 { margin: 22px 0 10px; font-size: 1rem; color: var(--navy); }
.spec-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec-table th, .spec-table td { padding: 9px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.spec-table th { width: 42%; font-weight: 500; color: var(--muted); }
.spec-table td { font-weight: 600; color: var(--navy); }
.spec-table tr:nth-child(odd) { background: #fafbfa; }
.feat-list { display: grid; gap: 8px; }
.feat-list li { display: flex; gap: 8px; align-items: flex-start; font-size: .95rem; }
.feat-list svg { color: var(--teal); margin-top: .3em; }
.doc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.doc-list a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; transition: border-color .15s, background .15s; }
.doc-list a:hover { border-color: var(--teal); background: var(--teal-soft); }
.doc-list svg { color: var(--teal); width: 22px; height: 22px; }
.doc-list b { display: block; font: 600 .9rem/1.3 var(--f-head); color: var(--navy); }
.doc-list small { display: block; font-size: .76rem; color: var(--muted); }
.src-note { margin-top: 16px; font-size: .8rem; color: var(--muted); line-height: 1.55; }
.dlg-cta { margin-top: 18px; }
.dlg-cta .btn { width: 100%; }

/* ---------- Articles page (existing markup) ---------- */
.page-lead { background: var(--cream); border-bottom: 1px solid var(--line); }
.editorial-cover { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding-block: 56px; }
.editorial-cover h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; }
.editorial-cover .button { margin-top: 22px; }
.editorial-cover img { border-radius: 20px; aspect-ratio: 16 / 10; object-fit: cover; }
.section-head { margin-bottom: 24px; }
.article-index-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.article-index-grid > section { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.article-index-grid h3 { margin-bottom: 10px; color: var(--teal); }
.article-index-grid li + li { margin-top: 6px; }
.article-index-grid a { display: block; font-size: .97rem; line-height: 1.5; }
.article-index-grid a:hover { color: var(--teal); text-decoration: underline; }
.reading { display: grid; gap: 22px; max-width: 860px; }
.article-full { padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.article-full h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin-bottom: 8px; }
.article-full .lead { font-size: 1.05rem; margin-bottom: 12px; }
.article-full p + p { margin-top: 12px; }
.article-full .text-link { margin-top: 16px; }
.article-full img { border-radius: 12px; margin-block: 14px; }

/* ---------- Footer ---------- */
.site-foot { background: #0b2030; color: #9fb6c1; padding-top: 56px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 32px; padding-bottom: 40px; }
.foot-grid h2 { font-size: .95rem; color: #fff; margin-bottom: 12px; }
.foot-grid > div > a:not(.brand):not(.btn) { display: block; padding: 3px 0; }
.foot-grid > div > a:hover { color: #fff; }
.foot-grid p { margin-top: 12px; font-size: .95rem; line-height: 1.6; }
.brand-light { color: #fff; }
.brand-light b { color: var(--teal-bright); }
.foot-line { display: flex; gap: 16px; align-items: center; }
.foot-qr img { width: 96px; height: 96px; border-radius: 10px; background: #fff; padding: 4px; }
.foot-note { padding-block: 18px 22px; border-top: 1px solid rgba(255,255,255,.08); font-size: .8rem; color: #7d96a2; }
.float-line { position: fixed; z-index: 30; right: 18px; bottom: 18px; display: none; align-items: center; gap: 6px; padding: .7em 1.1em; border-radius: 999px; background: var(--line-green); color: #fff; font: 600 .95rem var(--f-head); box-shadow: 0 10px 24px rgba(6, 199, 85, .35); }
.float-line svg { width: 1.4em; height: 1.4em; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cats { grid-template-columns: repeat(2, 1fr); }
  .pgrid, .frow { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .stat-a { right: 0; } .stat-b { left: 0; }
}
@media (max-width: 900px) {
  .hero-grid, .gets, .quote-grid, .editorial-cover { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .dlg-grid { grid-template-columns: 1fr; }
  .dlg-media { border-right: 0; border-bottom: 1px solid var(--line); }
  .arow { grid-template-columns: 1fr; }
  .top-inner { flex-wrap: wrap; gap: 10px 16px; min-height: 0; padding-block: 10px; }
  .top-inner .btn { margin-left: auto; }
  .mainnav { order: 3; width: 100%; margin: 0; overflow-x: auto; scrollbar-width: none; }
  .mainnav::-webkit-scrollbar { display: none; }
  .float-line { display: inline-flex; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .topline .wrap > span { display: none; }
  .top-inner .btn span { display: none; }
  .top-inner .btn { padding: .55em; }
  .top-inner .btn svg { width: 1.5em; height: 1.5em; }
  .mainnav a { padding: .35em .7em; font-size: .92rem; }
  .pills { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 2px 16px 6px; scrollbar-width: none; }
  .pills::-webkit-scrollbar { display: none; }
  .pill { flex: none; }
  .topline .wrap { justify-content: center; }
  .topline { font-size: .82rem; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .facts-grid div:nth-child(3) { border-left: 0; }
  .facts-grid div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .shead { flex-direction: column; align-items: flex-start; }
  .cats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cat-txt { padding: 12px; }
  .cat-txt h3 { font-size: 1rem; }
  .frow { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: -16px; padding: 4px 16px 12px; scrollbar-width: none; }
  .frow::-webkit-scrollbar { display: none; }
  .fcard { flex: 0 0 82%; scroll-snap-align: start; }
  .pgrid { grid-template-columns: 1fr; }
  .get-list, .steps, .doc-list { grid-template-columns: 1fr; }
  .stat { min-width: 0; padding: 10px 12px; }
  .stat b { font-size: 1.25rem; }
  .stage { padding-bottom: 0; }
  .stat-a { top: auto; bottom: 10px; right: 10px; }
  .stat-b, .stage-side { display: none; }
  .sheet-card { left: 8px; width: 56%; }
  .hero-actions .btn { flex: 1 1 100%; }
  .keyspecs b { font-size: .82rem; }
  .dlg-info { padding: 22px 18px 24px; }
  .dlg-media { padding: 16px; }
  .pdialog { width: 100%; max-height: 92dvh; border-radius: 18px 18px 0 0; margin: auto 0 0; }
  .spec-thumb { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .float-line span { display: none; }
  .float-line { padding: .8em; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------- Icon tiles (Lucide) ---------- */
.ti { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 13px;
  background: linear-gradient(160deg, #f1faf8, var(--teal-soft)); border: 1px solid #cfe7e2; color: var(--teal);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 4px 10px rgba(14,124,114,.08); }
.ti svg { width: 22px; height: 22px; }
.ti-dark { background: linear-gradient(160deg, rgba(60,199,180,.16), rgba(60,199,180,.05)); border-color: rgba(60,199,180,.35);
  color: var(--teal-bright); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 6px 16px rgba(0,0,0,.25); }
.ti-sm { width: 26px; height: 26px; border-radius: 8px; box-shadow: none; }
.ti-sm svg { width: 15px; height: 15px; }
.acard .ti { margin-bottom: 6px; }
.acard:hover .ti, .get-list li:hover .ti { background: var(--teal); border-color: var(--teal); color: #fff; }
.ti { transition: background .2s, color .2s, border-color .2s; }
.get-list li { align-items: flex-start; transition: border-color .2s; }
.get-list li:hover { border-color: var(--teal); }
.steps li { align-items: flex-start; }
.ih { display: flex; align-items: center; gap: 12px; }
.ih .ti { width: 40px; height: 40px; border-radius: 11px; }
.ih .ti svg { width: 20px; height: 20px; }
.eyebrow-ico { display: inline-flex; align-items: center; gap: 8px; }

.section-dark { position: relative; background: #0b2131; color: #b7c9d1; overflow: hidden;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px; }
.section-dark::before { content: ""; position: absolute; inset: -30% auto auto -10%; width: 60%; height: 90%;
  background: radial-gradient(closest-side, rgba(60,199,180,.14), transparent); pointer-events: none; }
.section-dark .wrap { position: relative; }
.section-dark h2 { color: #fff; }
.section-dark h2 em { color: var(--teal-bright); }
.section-dark .shead p:not(.eyebrow) { color: #9fb4bd; }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { padding: 26px; border-radius: 18px; border: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); transition: border-color .2s, transform .2s, background .2s; }
.feat:hover { border-color: rgba(60,199,180,.55); transform: translateY(-3px); background: linear-gradient(160deg, rgba(60,199,180,.1), rgba(255,255,255,.02)); }
.feat h3 { margin: 18px 0 6px; color: #fff; font-size: 1.2rem; }
.feat p { font-size: .95rem; line-height: 1.6; color: #a9bec7; }
@media (max-width: 900px) { .feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .feats { grid-template-columns: 1fr; gap: 12px; }
  .feat { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding: 18px; }
  .feat .ti { grid-row: span 2; }
  .feat h3 { margin: 2px 0 2px; font-size: 1.08rem; }
  .facts-grid div { flex-direction: column; gap: 8px; text-align: center; }
  .facts-grid p { align-items: center; }
}
@media (max-width: 1080px) and (min-width: 641px) {
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .facts-grid div:nth-child(3) { border-left: 0; }
  .facts-grid div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- WordPress additions ---------- */
.admin-bar .top { top: 32px; }
@media (max-width: 782px) { .admin-bar .top { top: 46px; } }
.entry-content > * + * { margin-top: 1em; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content h2, .entry-content h3 { margin-top: 1.6em; }
.entry-content ul { list-style: disc; padding-left: 1.4em; }
.entry-content ol { list-style: decimal; padding-left: 1.4em; }
.single-wrap { max-width: 860px; }
.crumbs { font-size: .92rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--teal); }
.single-product .dlg-grid { padding: 0; }
.article-img { width: 100%; height: auto; margin: 6px 0 14px; border-radius: var(--radius-sm); }
.single-wrap h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
