﻿:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fa;
  --panel: #ffffff;
  --panel-2: #f2f5f8;
  --line: #e2e8ef;
  --line-soft: #edf1f5;
  --text: #0f1b26;
  --muted: #5f6f80;
  --accent: #0f9d63;
  --accent-2: #0b7a4c;
  --accent-soft: rgba(15, 157, 99, 0.08);
  --accent-glow: rgba(15, 157, 99, 0.18);
  --gold: #a8791d;
  --radius: 16px;
  --maxw: 1200px;
  --shadow-sm: 0 1px 2px rgba(15, 27, 38, .04), 0 4px 14px rgba(15, 27, 38, .05);
  --shadow-md: 0 10px 34px rgba(15, 27, 38, .09);
  /* touch target floor per platform HIG / Material guidance */
  --tap: 44px;
  --gutter: 24px;
  --nav-h: 66px;
  --topbar-h: 38px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  /* clip (not hidden) avoids creating a scroll container, so position:sticky keeps working */
  overflow-x: clip;
  background:
    radial-gradient(1100px 520px at 85% -8%, rgba(15, 157, 99, .07), transparent 62%),
    radial-gradient(900px 480px at 0% 6%, rgba(38, 110, 200, .05), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  overscroll-behavior-y: none;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* long words / codes must never force a horizontal scrollbar */
p, h1, h2, h3, h4, li, td, div, span { overflow-wrap: break-word; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--topbar-h); }
.topbar b { color: var(--accent-2); font-weight: 600; }
.topbar-links { display: flex; gap: 18px; }
.topbar-links a { display: inline-flex; align-items: center; min-height: var(--tap); }
.topbar-links a:hover { color: var(--accent-2); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: var(--topbar-h); z-index: 49;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: -0.02em; font-size: 19px; white-space: nowrap; min-height: var(--tap); }
.brand img { width: 34px; height: 34px; border-radius: 9px; flex: none; }
.nav-links { display: flex; gap: 26px; font-size: 14px; color: var(--muted); }
.nav-links a { display: inline-flex; align-items: center; min-height: var(--tap); }
.nav-links a:hover { color: var(--accent-2); }
.nav-cta { display: flex; gap: 10px; align-items: center; }

/* hamburger */
.nav-toggle {
  display: none;
  width: var(--tap); height: var(--tap);
  align-items: center; justify-content: center;
  flex: none;
  border: 1px solid var(--line); border-radius: 12px;
  background: #fff; cursor: pointer; padding: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--text); transition: transform .24s ease, opacity .18s ease;
}
.nav-toggle span + span { margin-top: 4px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile drawer */
.nav-scrim {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(15, 27, 38, .42);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none;
  transition: opacity .24s ease;
}
.nav-scrim.show { opacity: 1; pointer-events: auto; }

.mobile-nav {
  position: fixed; z-index: 61;
  top: 0; right: 0;
  width: min(320px, 86vw);
  height: 100dvh;
  background: #fff;
  border-left: 1px solid var(--line);
  box-shadow: -14px 0 40px rgba(15, 27, 38, .16);
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.32, .72, 0, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: calc(env(safe-area-inset-top) + 18px) 18px calc(env(safe-area-inset-bottom) + 24px);
  display: flex; flex-direction: column; gap: 4px;
  visibility: hidden;
}
.mobile-nav.show { transform: translateX(0); visibility: visible; }
.mobile-nav .mn-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.mobile-nav .mn-head .t { font-weight: 700; font-size: 16px; }
.mobile-nav a.mn-link {
  display: flex; align-items: center;
  min-height: var(--tap); padding: 0 12px;
  border-radius: 12px; font-size: 15.5px; font-weight: 500; color: var(--text);
  -webkit-tap-highlight-color: transparent;
}
.mobile-nav a.mn-link:hover, .mobile-nav a.mn-link:focus-visible { background: var(--accent-soft); color: var(--accent-2); }
.mobile-nav a.mn-link.mn-primary {
  margin-top: 14px; justify-content: center;
  background: var(--accent); color: #fff; font-weight: 600;
}
.mobile-nav a.mn-link.mn-primary:hover { background: var(--accent-2); color: #fff; }
.mobile-nav .mn-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.mobile-nav .mn-foot a { color: var(--accent-2); font-weight: 600; display: inline-flex; align-items: center; min-height: var(--tap); }

.mn-close {
  width: var(--tap); height: var(--tap); flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  font-size: 20px; line-height: 1; color: var(--muted); cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--tap); min-width: var(--tap);
  padding: 11px 20px; border-radius: 999px; font-size: 14px; font-weight: 600;
  border: 1px solid var(--line); background: #fff; color: var(--text);
  cursor: pointer; transition: .18s ease; text-align: center;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn:hover { border-color: #c6d2de; box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.985); }
.btn-primary {
  background: var(--accent); color: #fff; border-color: transparent;
  box-shadow: 0 6px 20px var(--accent-glow);
}
.btn-primary:hover { background: var(--accent-2); filter: none; }
.btn-sm { padding: 8px 14px; font-size: 13px; min-height: var(--tap); }
.btn-ghost { background: transparent; }

/* ---------- hero ---------- */
.hero { padding: 84px 0 56px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-2); border: 1px solid rgba(15,157,99,.25);
  background: var(--accent-soft); padding: 7px 14px; border-radius: 999px;
}
.hero h1 {
  font-size: clamp(34px, 5.4vw, 62px); line-height: 1.06; margin: 22px 0 18px;
  letter-spacing: -0.035em; font-weight: 800; color: #0a1620;
}
.hero h1 em { font-style: normal; color: var(--accent-2); }
.hero p.lead { font-size: 17px; color: var(--muted); max-width: 620px; }
.hero-actions { display: flex; gap: 14px; margin: 30px 0 34px; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.hero-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow-sm);
}
.hero-card .n { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: var(--accent-2); }
.hero-card .l { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

.hero-visual {
  border-radius: 22px; overflow: hidden; border: 1px solid var(--line);
  background: var(--panel-2); position: relative; box-shadow: var(--shadow-md);
}
.hero-visual img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.hero-badge {
  position: absolute; left: 16px; bottom: 16px; right: 16px;
  background: rgba(255, 255, 255, .93); backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  box-shadow: var(--shadow-sm);
}
.hero-badge .big { font-size: 20px; font-weight: 800; color: var(--accent-2); }
.hero-badge .small { font-size: 12px; color: var(--muted); }

/* ---------- ticker ---------- */
.ticker { border-block: 1px solid var(--line); background: var(--bg-soft); overflow: hidden; padding: 14px 0; }
.ticker-track { display: flex; gap: 46px; white-space: nowrap; width: max-content; animation: slide 34s linear infinite; font-size: 13px; color: var(--muted); }
.ticker-track span { display: inline-flex; gap: 10px; align-items: center; }
.ticker-track b { color: var(--accent-2); font-weight: 700; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { padding: 84px 0; position: relative; }
.sec-head { max-width: 740px; margin-bottom: 46px; }
.sec-head .kicker { color: var(--accent-2); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 42px); margin: 12px 0 14px; letter-spacing: -0.03em; line-height: 1.15; color: #0a1620; }
.sec-head p { color: var(--muted); font-size: 16px; }

.alt { background: linear-gradient(180deg, transparent, var(--bg-soft) 18%, var(--bg-soft) 82%, transparent); }

/* ---------- product grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: .22s ease; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cfdae4; }
.card .thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--panel-2); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .thumb img { transform: scale(1.05); }
.tag {
  position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 700;
  padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.94);
  border: 1px solid var(--line); backdrop-filter: blur(6px); color: var(--muted);
  max-width: calc(100% - 24px);
}
.tag.best { color: #fff; background: var(--accent); border-color: transparent; }
.tag.pop { color: var(--accent-2); background: var(--accent-soft); }
.card .body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { margin: 0; font-size: 19px; letter-spacing: -0.01em; }
.card h3 a { display: inline-flex; align-items: center; min-height: var(--tap); }
.card h3 a:hover { color: var(--accent-2); }
.card .spec { font-size: 12.5px; color: var(--accent-2); font-family: ui-monospace, Menlo, Consolas, monospace; }
.card .desc { font-size: 14px; color: var(--muted); flex: 1; }
.card .foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 6px; flex-wrap: wrap; }
.purity { font-size: 12px; color: var(--muted); border: 1px solid var(--line); padding: 4px 9px; border-radius: 999px; background: var(--bg-soft); white-space: nowrap; }
.purity b { color: var(--accent-2); }

/* ---------- feature rows ---------- */
.row-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
.feature {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: flex; gap: 16px; box-shadow: var(--shadow-sm);
}
.feature .ico {
  width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); border: 1px solid rgba(15,157,99,.2); font-size: 19px;
}
.feature h4 { margin: 2px 0 6px; font-size: 16px; }
.feature p { margin: 0; font-size: 14px; color: var(--muted); }

.stats-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.stat-box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.stat-box .v { font-size: 30px; font-weight: 800; color: var(--accent-2); letter-spacing: -0.03em; }
.stat-box .k { font-size: 13px; color: var(--muted); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.step {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; position: relative; box-shadow: var(--shadow-sm);
}
.step .no { font-size: 12px; color: var(--accent-2); letter-spacing: .12em; font-weight: 700; }
.step h4 { margin: 8px 0 8px; font-size: 17px; }
.step p { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- media ---------- */
.media-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.media {
  position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 16/10; box-shadow: var(--shadow-sm);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media .ov {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 18px; background: linear-gradient(to top, rgba(10,22,32,.9), rgba(10,22,32,.05));
}
.media .ov .dur { font-size: 12px; color: #7ee2b3; font-weight: 700; }
.media .ov .t { font-size: 15px; font-weight: 600; margin-top: 4px; color: #fff; }
.media .ov .d { font-size: 12.5px; color: rgba(255,255,255,.78); margin-top: 4px; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 46px; align-items: center; }
.about p { color: var(--muted); }
.promise {
  border: 1px solid rgba(15,157,99,.25); background: var(--accent-soft);
  border-radius: var(--radius); padding: 22px; margin: 22px 0;
}
.promise h4 { margin: 0 0 8px; color: var(--accent-2); font-size: 15px; }
.promise p { margin: 0; font-size: 14px; color: #43535f; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; font-size: 14.5px; color: #43535f; }
.checklist li::before { content: "✓"; color: var(--accent); font-weight: 800; flex: none; }

/* ---------- coa ---------- */
.coa-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.coa { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); box-shadow: var(--shadow-sm); transition: .2s ease; display: block; }
.coa:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.coa img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--panel-2); }
.coa .meta { padding: 14px 16px; }
.coa .meta .name { font-weight: 700; font-size: 15px; }
.coa .meta .batch { font-size: 12.5px; color: var(--muted); margin-top: 3px; font-family: ui-monospace, Menlo, Consolas, monospace; }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.quote { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 13px; }
.quote p { margin: 12px 0 16px; font-size: 14.5px; color: #43535f; }
.quote .who { font-size: 13.5px; font-weight: 600; }
.quote .who span { color: var(--muted); font-weight: 400; }
.verified { display: inline-block; margin-top: 6px; font-size: 11.5px; color: var(--accent-2); background: var(--accent-soft); border: 1px solid rgba(15,157,99,.22); border-radius: 999px; padding: 3px 9px; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 10px; max-width: 900px; }
details {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px;
}
details[open] { box-shadow: var(--shadow-sm); border-color: #cfdae4; }
details summary {
  cursor: pointer; font-weight: 600; font-size: 15px; list-style: none;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  min-height: var(--tap); -webkit-tap-highlight-color: transparent;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--accent); font-size: 19px; line-height: 1; flex: none; }
details[open] summary::after { content: "−"; }
details p { margin: 12px 0 0; color: var(--muted); font-size: 14.5px; }

/* ---------- downloads ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.dl {
  display: flex; align-items: center; gap: 16px; background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
  transition: .2s ease; min-height: var(--tap);
}
.dl:hover { box-shadow: var(--shadow-md); border-color: #cfdae4; transform: translateY(-2px); }
.dl .ic { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); border: 1px solid rgba(15,157,99,.2); }
.dl .t { font-weight: 600; font-size: 15px; }
.dl .m { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 46px; align-items: start; }
.contact-list { display: grid; gap: 14px; margin-top: 24px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; box-shadow: var(--shadow-sm); }
.contact-item .k { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.contact-item .v { font-weight: 600; margin-top: 3px; }
.contact-item .v a { display: inline-flex; align-items: center; min-height: var(--tap); }
.contact-item .v a:hover { color: var(--accent-2); }
.cta-panel {
  background: linear-gradient(150deg, var(--accent-soft), #fff);
  border: 1px solid rgba(15,157,99,.25); border-radius: 22px; padding: 38px;
  box-shadow: var(--shadow-sm);
}
.cta-panel h3 { margin: 0 0 10px; font-size: 24px; letter-spacing: -0.02em; }
.cta-panel p { color: var(--muted); margin: 0 0 22px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 46px 0 34px; background: var(--bg-soft); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 30px; }
.foot-grid h5 { margin: 0 0 14px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: 14px; }
.foot-grid a { display: inline-flex; align-items: center; min-height: var(--tap); min-width: var(--tap); }
.foot-grid a:hover { color: var(--accent-2); }
.foot-bottom { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }

/* ---------- product detail ---------- */
.pd { padding: 56px 0 70px; }
.pd-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 46px; align-items: start; }
.pd-gallery img { border-radius: 20px; border: 1px solid var(--line); aspect-ratio: 1/1; object-fit: cover; width: 100%; background: var(--panel-2); box-shadow: var(--shadow-md); }
.pd h1 { font-size: clamp(28px, 4vw, 44px); margin: 14px 0 8px; letter-spacing: -0.03em; color: #0a1620; }
.pd .spec-line { font-family: ui-monospace, Menlo, Consolas, monospace; color: var(--accent-2); font-size: 14px; }
.pd .desc { color: var(--muted); font-size: 15.5px; margin: 18px 0 26px; }
.spec-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 22px; background: var(--panel); box-shadow: var(--shadow-sm); }
.spec-table div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 18px; font-size: 14px; border-bottom: 1px solid var(--line-soft); }
.spec-table div:last-child { border-bottom: 0; }
.spec-table .k { color: var(--muted); flex: 0 0 auto; }
.spec-table .v { font-weight: 600; text-align: right; min-width: 0; }
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.breadcrumb { font-size: 13px; color: var(--muted); padding: 22px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: var(--tap); min-width: var(--tap); padding-right: 6px; }
.breadcrumb a:hover { color: var(--accent-2); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Tablet — below 960px the multi-column grids collapse to two columns
   ========================================================================== */
@media (max-width: 960px) {
  :root { --gutter: 22px; }
  .hero-grid, .about, .contact-grid, .pd-grid { grid-template-columns: minmax(0, 1fr); }
  .grid-3, .steps, .quotes, .coa-grid, .dl-grid, .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero-stats, .stats-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* nav collapses to hamburger + drawer */
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding: 64px 0 44px; }
  section { padding: 68px 0; }
  .about { gap: 34px; }
  .pd-grid { gap: 34px; }
  .pd-gallery img { max-width: 480px; margin: 0 auto; }
}

/* ==========================================================================
   Large phone / small tablet — 720px
   ========================================================================== */
@media (max-width: 720px) {
  :root { --gutter: 20px; --nav-h: 60px; --topbar-h: 36px; }

  /* the topbar becomes a single horizontally scrollable strip so the
     page itself never gains a horizontal scrollbar; the duplicate links
     are dropped because the drawer already carries them */
  .topbar .wrap {
    justify-content: flex-start; gap: 20px;
    overflow-x: auto; overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .topbar .wrap::-webkit-scrollbar { display: none; }
  .topbar .wrap > span { white-space: nowrap; }
  .topbar-links { display: none; }

  .hero { padding: 48px 0 36px; }
  .hero h1 { margin: 18px 0 14px; }
  .hero p.lead { font-size: 16px; }
  .hero-actions { margin: 24px 0 26px; gap: 10px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-visual { order: -1; }
  .hero-visual img { aspect-ratio: 16/11; }
  .hero-badge { left: 12px; right: 12px; bottom: 12px; padding: 12px 14px; gap: 10px; }
  .hero-badge .big { font-size: 18px; }
  .hero-badge .small { font-size: 11.5px; }

  section { padding: 56px 0; }
  .sec-head { margin-bottom: 32px; }
  .sec-head p { font-size: 15px; }

  .feature, .step, .stat-box, .quote, .card .body { padding: 20px; }
  .media .ov { padding: 14px; }
  .media .ov .d { display: none; }
  .cta-panel { padding: 28px; }
  .gallery { columns: 2; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
  .foot-bottom { flex-direction: column; gap: 8px; }
}

/* ==========================================================================
   Phone — 620px and below
   ========================================================================== */
@media (max-width: 620px) {
  .grid-3, .steps, .quotes, .coa-grid, .dl-grid, .media-grid,
  .row-2, .gallery, .hero-stats, .stats-strip { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .gallery { columns: 1; }

  .hero-card { padding: 14px 16px; }
  .hero-card .n { font-size: 22px; }
  .card .foot { gap: 8px; }
  .card .foot .btn { flex: 1; }

  .feature { flex-direction: column; gap: 12px; }
  .feature[style*="flex-direction:column"] { gap: 14px; }

  .pd-actions .btn { flex: 1 1 100%; }
  .spec-table div { flex-direction: column; gap: 4px; }
  .spec-table .v { text-align: left; }

  .cta-panel .btn { display: flex; width: 100%; margin-left: 0 !important; }
  .cta-panel .btn + .btn { margin-top: 10px; }
}

/* ==========================================================================
   Small phone — 414px, 375px, 320px
   ========================================================================== */
@media (max-width: 414px) {
  :root { --gutter: 16px; }
  body { font-size: 15px; }
  .brand { font-size: 17px; gap: 9px; }
  .brand img { width: 30px; height: 30px; border-radius: 8px; }
  .eyebrow { font-size: 11px; padding: 6px 12px; letter-spacing: .1em; }
  .hero h1 { font-size: 30px; }
  .sec-head h2 { font-size: 23px; }
  .sec-head p { font-size: 14.5px; }
  .card h3 { font-size: 17.5px; }
  .card .spec { font-size: 11.5px; }
  .feature, .step, .stat-box, .quote { padding: 18px; }
  .stat-box .v { font-size: 26px; }
  .cta-panel { padding: 24px 20px; }
  .cta-panel h3 { font-size: 21px; }
  .dl { padding: 16px; gap: 12px; }
  .dl .ic { width: 40px; height: 40px; }
  details { padding: 14px 16px; }
  .pd h1 { font-size: 26px; }
  .pd .spec-line { font-size: 12.5px; }
}

@media (max-width: 375px) {
  :root { --gutter: 14px; }
  .hero h1 { font-size: 27px; }
  .hero-card { padding: 12px 14px; }
  .hero-card .n { font-size: 20px; }
  .hero-card .l { font-size: 11.5px; }
  .btn { padding: 11px 16px; font-size: 13.5px; }
  .feature, .step, .stat-box, .quote, .card .body { padding: 16px; }
  .ticker-track { gap: 32px; font-size: 12.5px; }
  .mobile-nav { width: min(300px, 90vw); }
}

@media (max-width: 320px) {
  :root { --gutter: 12px; }
  body { font-size: 14.5px; }
  .hero h1 { font-size: 24px; letter-spacing: -.03em; }
  .sec-head h2 { font-size: 21px; }
  .brand { font-size: 15.5px; }
  .brand img { width: 28px; height: 28px; }
  .eyebrow { font-size: 10px; letter-spacing: .08em; padding: 5px 10px; }
  .hero-badge .big { font-size: 16px; }
  .hero-badge .small { font-size: 10.5px; }
  .btn { padding: 10px 14px; font-size: 13px; }
  .card h3 { font-size: 16.5px; }
  .card .spec { font-size: 11px; }
  .feature, .step, .stat-box, .quote, .card .body { padding: 14px; }
  .stat-box .v { font-size: 24px; }
  .cta-panel { padding: 20px 16px; }
  .mobile-nav { width: min(288px, 92vw); }
  .mobile-nav a.mn-link { font-size: 15px; }
}

/* ==========================================================================
   Landscape phones — short viewports
   ========================================================================== */
@media (orientation: landscape) and (max-height: 520px) {
  :root { --nav-h: 54px; --topbar-h: 34px; }
  .hero { padding: 36px 0 30px; }
  .hero h1 { font-size: 32px; margin: 14px 0 10px; }
  .hero p.lead { font-size: 15px; }
  .hero-actions { margin: 18px 0 20px; }
  .hero-visual img { aspect-ratio: 16/10; }
  section { padding: 44px 0; }
  .sec-head { margin-bottom: 26px; }
  .mobile-nav { padding-top: calc(env(safe-area-inset-top) + 12px); padding-bottom: calc(env(safe-area-inset-bottom) + 16px); }
  .mobile-nav a.mn-link { min-height: var(--tap); font-size: 14.5px; }
}

/* short landscape: two columns work better than one */
@media (orientation: landscape) and (max-height: 520px) and (min-width: 640px) {
  /* minmax(0,…) lets the columns shrink below their content's min-content
     width — without it a long word or a fixed-size child blows the grid out */
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; }
  .hero-visual { order: 0; }
  .hero-visual img { aspect-ratio: 4/3; }
  .hero-stats, .stats-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .quotes, .coa-grid, .dl-grid, .media-grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about, .contact-grid, .pd-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-badge { padding: 10px 12px; }
  .hero-badge .big { font-size: 16px; }
  .hero-badge .small { font-size: 11px; }
}

/* ==========================================================================
   Accessibility & platform quirks
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

/* iOS: prevents the whole page from rubber-banding behind the open drawer */
body.nav-open { position: fixed; inset: 0; overflow: hidden; width: 100%; }

/* iOS/Android: form controls and selects inherit font size to avoid zoom-on-focus */
input, select, textarea, button { font: inherit; font-size: 16px; }
