/* ==========================================================
   shopmangoid.com — doorbell buyer's guide
   Pure CSS, no frameworks. Fonts: Sora (headings) + DM Sans (body)
   ========================================================== */

:root {
  /* Palette sampled from the Shop Mangoid logo:
     mango #F87E27 / deep orange #F26823 / slate #223B49 / leaf #243F52 */
  --ink: #1c303c;
  --ink-2: #3a4c57;
  --muted: #5d6b73;
  --line: #e4e9ec;
  --line-2: #d3dce1;
  --bg: #ffffff;
  --panel: #fff6ee;
  --panel-2: #ffeedd;
  --slate: #223b49;
  --slate-2: #243f52;
  --mango: #f87e27;
  --accent: #f26823;
  --accent-ink: #ad4810;
  --accent-soft: #fdeadb;
  --mango-lt: #fb9a55;
  --peach: #fff1e4;
  --ok: #243f52;
  --ok-soft: #e7eef2;
  --warn: #ad4810;
  --warn-soft: #fdeee0;
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --shadow: 0 1px 2px rgba(28, 48, 60, .05), 0 12px 32px -14px rgba(28, 48, 60, .18);
  --shadow-lg: 0 2px 4px rgba(28, 48, 60, .04), 0 28px 60px -24px rgba(28, 48, 60, .28);
  --container: 1200px;
  --ff-head: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ff-body: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html, body { overflow-x: hidden; max-width: 100%; }

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

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--ff-head);
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 .6em;
  font-weight: 600;
}

h1 { font-size: clamp(2rem, 1.25rem + 2.4vw, 3.15rem); font-weight: 700; }
h2 { font-size: clamp(1.65rem, 1.15rem + 1.6vw, 2.5rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ico {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--mango);
  color: var(--ink);
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid var(--mango);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 24px -10px rgba(242, 104, 35, .45);
}
.btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn .ico { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover .ico { transform: translateX(3px); }
.btn-sm { padding: 10px 20px; font-size: .95rem; box-shadow: none; }
.btn-lg { padding: 17px 34px; font-size: 1.08rem; }
.btn-light { background: #fff; color: var(--slate); border-color: #fff; box-shadow: none; }
.btn-light:hover { background: var(--peach); border-color: var(--peach); color: var(--slate); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line-2); box-shadow: none; padding: 10px 20px; font-size: .95rem; }
.btn-outline:hover { background: var(--panel); border-color: var(--ink); color: var(--ink); }
.btn-primary { /* used on subpages */ }

/* ---------- Top bar + header ---------- */
.top-bar {
  background: var(--slate);
  color: #e4ebef;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 7px 0;
}

.site-header {
  position: static;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 78px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo { display: inline-flex; align-items: center; }
.header-logo { height: 52px; width: auto; max-width: 220px; object-fit: contain; }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 56px; background: linear-gradient(180deg, #fff 0%, #fff 60%, var(--panel) 100%); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: stretch;
}
.hero-media {
  position: relative;
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 520px;
  background: var(--panel);
}
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 42% 50%; }
.hero-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ink);
  font-size: .86rem;
  font-weight: 700;
  box-shadow: 0 8px 20px -10px rgba(28, 48, 60, .4);
}
.hero-chip .ico { width: 17px; height: 17px; color: var(--accent); }
.hero-chip--top { top: 18px; left: 18px; }
.hero-chip--bottom { right: 18px; bottom: 18px; }

.hero-copy { align-self: center; padding: 8px 0; }
.hero-copy h1 { margin-bottom: .45em; font-size: clamp(1.95rem, 1.2rem + 2vw, 2.7rem); }
.hero-sub { font-size: 1.14rem; color: var(--ink-2); margin-bottom: 1.3em; }
.hero-points { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.hero-points li { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; color: var(--ink); }
.hero-points .ico {
  width: 22px; height: 22px; padding: 4px; margin-top: 2px;
  border-radius: 50%; background: var(--accent-soft); color: var(--accent); stroke-width: 3;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-bottom: 26px; }
.hero-note { margin: 0; font-size: .9rem; color: var(--muted); max-width: 260px; line-height: 1.45; }
.hero-meta {
  list-style: none; margin: 0; padding: 18px 0 0;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  font-size: .9rem; color: var(--muted);
}
.hero-meta li { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta .ico { width: 16px; height: 16px; color: var(--accent); }

/* ---------- Stat strip ---------- */
.stats { background: var(--panel); padding: 0 0 64px; }
.stat-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px;
}
.stat-grid li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 20px 18px; display: flex; flex-direction: column; gap: 4px;
}
.stat-grid .ico { width: 24px; height: 24px; color: var(--accent); margin-bottom: 8px; }
.stat-grid strong { font-family: var(--ff-head); font-size: 1.3rem; color: var(--ink); letter-spacing: -0.02em; line-height: 1.2; }
.stat-grid span { font-size: .88rem; color: var(--muted); line-height: 1.35; }

/* ---------- Generic sections ---------- */
.sec { padding: 96px 0; position: relative; }
.sec--panel { background: var(--panel); }
.sec-head { max-width: 780px; margin: 0 auto 48px; text-align: center; }
.sec-head p { font-size: 1.1rem; color: var(--muted); margin: 0; }
.sec-head h2 { margin-bottom: .45em; }

.badge-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--accent-soft); color: var(--accent);
  flex: none;
}
.badge-ico .ico { width: 22px; height: 22px; }
.badge-ico--lg { width: 56px; height: 56px; border-radius: 16px; }
.badge-ico--lg .ico { width: 26px; height: 26px; }

.fine-note {
  display: flex; align-items: flex-start; gap: 10px; justify-content: center;
  margin: 28px auto 0; max-width: 760px; text-align: left;
  font-size: .92rem; color: var(--muted);
}
.fine-note .ico { width: 18px; height: 18px; color: var(--ok); margin-top: 3px; }

/* ---------- Intro ---------- */
.intro { padding-top: 88px; }
.intro-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start;
  max-width: 1080px;
}
.prose-lg { font-size: 1.08rem; }
.prose-lg h2 { margin-bottom: .6em; }
.lead { font-size: 1.22rem; color: var(--ink); line-height: 1.6; }
.takeaways {
  background: var(--slate); color: #dbe4ea; border-radius: var(--r-lg);
  padding: 30px 28px; position: relative; overflow: hidden;
}
.takeaways::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(248, 126, 39, .4), rgba(248, 126, 39, 0) 70%);
}
.takeaways-title { font-family: var(--ff-head); color: #fff; font-size: 1.15rem; font-weight: 600; margin-bottom: 14px; }
.takeaways ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; position: relative; z-index: 1; }
.takeaways li { padding-left: 22px; position: relative; font-size: .97rem; line-height: 1.5; }
.takeaways li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%;
  border: 2px solid var(--mango-lt);
}

/* ---------- View section ---------- */
.view-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.diagram { margin: 0; padding: 28px 28px 22px; display: flex; flex-direction: column; justify-content: center; }
.diagram svg { width: 100%; height: auto; max-height: 380px; }
.diagram figcaption { font-size: .88rem; color: var(--muted); margin-top: 14px; line-height: 1.5; }
.d-floor { fill: #eef2f4; }
.d-mat { fill: #d3dce1; }
.d-fig { fill: #9dabb3; }
.d-box { fill: #f6d3ae; stroke: #c7854a; stroke-width: 2; }
.d-tape { stroke: #c7854a; stroke-width: 3; }
.d-wide { fill: none; stroke: #7f8f98; stroke-width: 3; stroke-dasharray: 9 7; }
.d-square { fill: rgba(248, 126, 39, .08); stroke: var(--accent); stroke-width: 4; }
.d-label { font-family: var(--ff-head); font-weight: 700; font-size: 15px; }
.d-label--wide { fill: var(--muted); }
.d-label--sq { fill: var(--accent-ink); }

.feature-stack { display: grid; gap: 16px; }
.feature { display: flex; gap: 18px; padding: 24px; align-items: flex-start; }
.feature h3 { margin-bottom: .3em; }
.feature p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Detection ---------- */
.detect-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 28px; }
.detect-chip {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 20px; border-radius: var(--r); border: 1px solid var(--line); background: #fff;
}
.detect-chip > .ico {
  width: 44px; height: 44px; padding: 11px; border-radius: 50%;
  background: var(--slate); color: #fff;
}
.detect-chip strong { display: block; font-family: var(--ff-head); color: var(--ink); font-size: 1.05rem; margin-bottom: 2px; }
.detect-chip span { display: block; font-size: .94rem; color: var(--muted); line-height: 1.5; }
.wide-figure { margin: 0; }
.wide-figure img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); aspect-ratio: 2 / 1; object-fit: cover; }
.wide-figure figcaption, .zz-media figcaption { font-size: .86rem; color: var(--muted); margin-top: 12px; text-align: center; }

/* ---------- Setup bento ---------- */
.bento {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}
.bento-main { grid-row: span 2; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.bento-main img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.bento-body { padding: 32px 30px; display: flex; flex-direction: column; justify-content: center; }
.bento-body h3, .bento-card h3 { margin-top: 16px; font-size: 1.25rem; }
.bento-body p, .bento-card p { color: var(--muted); margin: 0; }
.bento-card { padding: 28px; }

/* ---------- Wi-Fi dark band ---------- */
.sec--dark { background: var(--slate); color: #cfdae1; overflow: hidden; }
.wifi-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 80% at 10% 100%, rgba(248, 126, 39, .22), rgba(248, 126, 39, 0) 60%),
    radial-gradient(60% 80% at 90% 100%, rgba(74, 117, 143, .45), rgba(74, 117, 143, 0) 60%),
    radial-gradient(40% 50% at 50% 0%, rgba(242, 104, 35, .14), rgba(242, 104, 35, 0) 70%);
}
.wifi-glow::before, .wifi-glow::after {
  content: ""; position: absolute; left: -10%; right: -10%; height: 260px; bottom: -120px;
  border-top: 1px solid rgba(252, 178, 122, .25); border-radius: 50%;
}
.wifi-glow::after { bottom: -170px; border-top-color: rgba(248, 126, 39, .2); }
.sec--dark .container { position: relative; z-index: 1; }
.sec-head--light h2 { color: #fff; }
.sec-head--light p { color: #c3d0d8; }
.band-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 920px; margin: 0 auto; }
.band-card {
  padding: 32px; border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.band-ico {
  display: inline-flex; width: 50px; height: 50px; border-radius: 14px; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--mango), var(--accent)); color: var(--slate);
}
.band-ico .ico { width: 24px; height: 24px; }
.band-freq { font-family: var(--ff-head); font-size: 2.3rem; font-weight: 700; color: #fff; margin: 18px 0 2px; letter-spacing: -0.03em; }
.band-card h3 { color: #fdb57f; font-size: 1.05rem; margin-bottom: .5em; }
.band-card p:last-child { margin: 0; color: #cfdae1; }
.band-tip {
  display: flex; align-items: flex-start; gap: 12px; max-width: 920px; margin: 26px auto 0;
  padding: 16px 20px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .07); color: #e4ebef; font-size: .95rem;
}
.band-tip .ico { color: var(--mango-lt); margin-top: 2px; }

/* ---------- Storage ---------- */
.storage-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.store-card { overflow: hidden; display: flex; flex-direction: column; }
.store-card img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.store-body { padding: 28px 30px; }
.store-body h3 { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; }
.store-body h3 .ico { width: 24px; height: 24px; color: var(--accent); }
.store-body p { color: var(--muted); }
.store-card--hub { background: linear-gradient(160deg, #fff 0%, var(--panel-2) 100%); justify-content: space-between; }
.mini-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.mini-list li {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-sm);
  background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--ink);
}
.mini-list .ico { color: var(--accent); }
.store-note {
  display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 18px 30px 26px;
  font-size: .92rem; color: var(--muted);
}
.store-note .ico { color: var(--accent); margin-top: 2px; }

/* ---------- Zigzag ---------- */
.zigzag { display: grid; gap: 56px; }
.zz-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.zz-row--flip .zz-media { order: 2; }
.zz-media { margin: 0; }
.zz-media img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); aspect-ratio: 7 / 5; object-fit: cover; }
.zz-media--tall img { aspect-ratio: 6 / 5; }
.zz-copy { max-width: 500px; }
.zz-copy h3 { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); margin-top: 18px; }
.zz-copy p { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* ---------- App ---------- */
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.app-card { padding: 28px; }
.app-card h3 { margin-top: 16px; }
.app-card p { color: var(--muted); margin: 0; }
.assist {
  display: flex; align-items: center; gap: 20px; margin-top: 22px; padding: 24px 28px;
  border-radius: var(--r); background: var(--peach); border: 1px solid #f8d4b4;
}
.assist .badge-ico { background: #fff; color: var(--accent-ink); }
.assist p { margin: 0; color: var(--ink-2); }
.assist strong { color: var(--ink); }

/* ---------- Mid CTA ---------- */
.mid-cta { padding: 0 0 8px; }
.mid-cta-box {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding: 40px 48px; border-radius: var(--r-lg);
  background: linear-gradient(120deg, var(--slate) 0%, var(--slate-2) 60%, #2f5468 100%);
  color: #cfdae1; position: relative; overflow: hidden;
}
.mid-cta-box::after {
  content: ""; position: absolute; right: 18%; top: -80px; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(248, 126, 39, .35), rgba(248, 126, 39, 0) 70%);
}
.mid-cta-box > * { position: relative; z-index: 1; }
.mid-cta-box h2 { color: #fff; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin-bottom: .3em; }
.mid-cta-box p { margin: 0; max-width: 560px; }

/* ---------- Comparison ---------- */
.table-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff;
}
.compare-table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: .97rem; }
.compare-table thead th {
  background: var(--slate); color: #fff; font-family: var(--ff-head); font-weight: 600;
  text-align: left; padding: 18px 22px; font-size: .98rem;
}
.compare-table thead th:nth-child(2) { background: var(--mango); color: var(--ink); }
.compare-table tbody th {
  text-align: left; font-weight: 600; color: var(--ink); padding: 15px 22px; width: 30%;
  background: #f8fafb;
}
.compare-table td { padding: 15px 22px; color: var(--ink-2); }
.compare-table td:nth-child(2) { background: rgba(248, 126, 39, .06); font-weight: 500; color: var(--ink); }
.compare-table tbody tr + tr th, .compare-table tbody tr + tr td { border-top: 1px solid var(--line); }
.compare-table .no { color: var(--muted); font-style: italic; font-weight: 400; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: none; }
.step { padding: 28px 24px; position: relative; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--mango); color: var(--ink); font-family: var(--ff-head); font-weight: 700; font-size: 1.1rem;
  margin-bottom: 16px; box-shadow: 0 0 0 6px var(--accent-soft);
}
.step h3 { margin-bottom: .35em; }
.step p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------- Specs ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.spec-card { padding: 26px 28px; }
.spec-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.12rem; margin-bottom: 14px; }
.spec-card h3 .ico { color: var(--accent); width: 22px; height: 22px; }
.spec-card dl { margin: 0; }
.spec-card dl > div {
  display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: 14px;
  padding: 11px 0; border-top: 1px solid var(--line);
}
.spec-card dt { color: var(--muted); font-size: .93rem; }
.spec-card dd { margin: 0; color: var(--ink); font-weight: 500; font-size: .96rem; }
.center-cta { text-align: center; margin-top: 40px; }

/* ---------- Fit ---------- */
.fit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.fit-card { padding: 30px; }
.fit-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; }
.fit-card h3 .ico { width: 26px; height: 26px; }
.fit-card--yes { border-top: 4px solid var(--ok); }
.fit-card--yes h3 .ico { color: var(--ok); }
.fit-card--maybe { border-top: 4px solid var(--warn); }
.fit-card--maybe h3 .ico { color: var(--warn); }
.fit-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.fit-card li { padding-left: 20px; position: relative; color: var(--ink-2); }
.fit-card li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; }
.fit-card--yes li::before { background: var(--ok); }
.fit-card--maybe li::before { background: var(--warn); }

/* ---------- Checklist ---------- */
.checks-sec { padding-bottom: 88px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.checks li { padding: 26px 22px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.checks h3 { margin: 16px 0 .35em; font-size: 1.05rem; }
.checks p { margin: 0; font-size: .95rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 900px; }
.faq { display: grid; gap: 12px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.faq details[open] { border-color: var(--line-2); box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; position: relative;
  font-family: var(--ff-head); font-weight: 600; color: var(--ink); font-size: 1.03rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 26px; height: 26px; margin-top: -13px;
  border-radius: 50%; background: var(--accent-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ad4810' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; border-radius: var(--r-sm); }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--ink-2); }

/* ---------- Final CTA ---------- */
.cta-section { padding: 96px 0; background: #fff; }
.cta-box {
  max-width: 920px; margin: 0 auto; text-align: center;
  padding: 56px 48px; border-radius: var(--r-lg);
  background: radial-gradient(120% 120% at 50% 0%, var(--accent-soft) 0%, #fff 60%);
  border: 1px solid var(--line);
}
.cta-box h2 { margin-bottom: .35em; }
.cta-box > p:first-of-type { font-size: 1.1rem; color: var(--muted); max-width: 620px; margin: 0 auto 28px; }
.cta-disclaimer {
  margin: 34px auto 0; padding-top: 26px; border-top: 1px solid var(--line);
  font-size: .86rem; line-height: 1.6; color: var(--muted); text-align: left; max-width: 760px;
}
.cta-small { margin: 12px auto 0; font-size: .78rem; line-height: 1.55; color: var(--muted); text-align: left; max-width: 760px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--panel); border-top: 1px solid var(--line); padding: 44px 0 30px; font-size: .93rem; }
.footer-top {
  display: flex; align-items: center; justify-content: space-between; gap: 22px 32px; flex-wrap: wrap;
  padding-bottom: 24px; border-bottom: 1px solid var(--line-2);
}
.footer-brand { display: inline-flex; }
.footer-logo { height: 50px; width: auto; max-width: 210px; object-fit: contain; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { color: var(--ink); text-decoration: none; font-weight: 500; }
.footer-links a:hover { color: var(--accent-ink); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; padding-top: 22px; }
.footer-identity p { margin: 0 0 4px; color: var(--muted); }
.footer-identity a { color: var(--ink-2); }
.footer-copy { margin: 0; color: var(--muted); }

/* ==========================================================
   Subpages
   ========================================================== */
.page-hero {
  padding: 64px 0 56px;
  background: linear-gradient(180deg, #fff 0%, var(--panel) 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: .3em; }
.page-hero p { font-size: 1.12rem; color: var(--muted); max-width: 680px; margin: 0; }
.page-body { padding: 64px 0 88px; }
.page-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 56px; align-items: start; }
.aside-sticky { position: sticky; top: 24px; display: grid; gap: 16px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.side-card-accent { background: var(--slate); border-color: var(--slate); color: #dbe4ea; }
.side-title { font-family: var(--ff-head); font-weight: 600; color: var(--ink); margin: 0 0 12px; font-size: 1rem; }
.side-card-accent .side-title { color: #fff; }
.page-nav { display: grid; gap: 2px; }
.page-nav a {
  display: block; padding: 9px 12px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .96rem;
}
.page-nav a:hover { background: var(--panel); color: var(--ink); }
.page-nav a.is-current { background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; }
.aside-line { margin: 0 0 6px; font-size: .95rem; word-break: break-word; }
.aside-line a { color: #fff; }
.aside-line a:hover { color: var(--mango-lt); }

.prose { max-width: 760px; font-size: 1.04rem; }
.prose h2 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); margin: 1.8em 0 .5em; }
.prose h2:first-child, .prose .updated + h2 { margin-top: 0; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose .updated {
  display: inline-block; font-size: .88rem; color: var(--muted); background: var(--panel);
  border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px; margin-bottom: 26px;
}
.prose-numbered { counter-reset: q; }
.prose-numbered h2 { counter-increment: q; display: flex; gap: 14px; align-items: baseline; }
.prose-numbered h2::before {
  content: counter(q, decimal-leading-zero); font-size: .8em; color: var(--accent-ink); font-weight: 700; flex: none;
}

.reach-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 2em; }
.reach-item {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .96rem; line-height: 1.5;
}
.reach-item svg {
  width: 42px; height: 42px; padding: 10px; flex: none; border-radius: 12px; background: var(--accent-soft);
  fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.reach-item strong { display: block; color: var(--ink); font-family: var(--ff-head); font-weight: 600; margin-bottom: 2px; }
.reach-item a { word-break: break-word; }

.contact-form {
  display: grid; gap: 16px; padding: 28px; margin: 0 0 2em; border-radius: var(--r);
  background: var(--panel); border: 1px solid var(--line);
}
.contact-form label { display: grid; gap: 6px; font-weight: 600; color: var(--ink); font-size: .95rem; }
.contact-form input, .contact-form textarea {
  width: 100%; font: inherit; font-weight: 400; color: var(--ink); padding: 12px 14px;
  border: 1px solid var(--line-2); border-radius: 10px; background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid rgba(248, 126, 39, .35); border-color: var(--accent); }
.contact-form .btn { justify-self: start; }
.form-note { margin: 0; font-size: .88rem; color: var(--muted); }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1080px) {
  .stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps, .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .bento-main { grid-column: 1 / -1; grid-row: auto; }
  .intro-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-media { min-height: 0; aspect-ratio: 16 / 11; }
  .intro-grid, .view-grid, .storage-grid, .spec-grid, .fit-grid, .band-grid { grid-template-columns: 1fr; }
  .detect-chips, .app-grid { grid-template-columns: 1fr; }
  .zz-row { grid-template-columns: 1fr; gap: 24px; }
  .zz-row--flip .zz-media { order: 0; }
  .zz-copy { max-width: none; }
  .mid-cta-box { flex-direction: column; align-items: flex-start; padding: 34px 28px; }
  .page-grid { grid-template-columns: 1fr; gap: 32px; }
  .page-aside { order: 2; }
  .aside-sticky { position: static; }
  .sec { padding: 72px 0; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .header-inner { min-height: 68px; }
  .header-logo { height: 46px; max-width: 160px; }
  .footer-logo { height: 46px; max-width: 160px; }
  .btn-sm { padding: 9px 16px; font-size: .9rem; }
  .hero { padding: 24px 0 40px; }
  .hero-media { border-radius: var(--r); }
  .hero-chip { font-size: .78rem; padding: 7px 11px; }
  .hero-chip--top { top: 12px; left: 12px; }
  .hero-chip--bottom { right: 12px; bottom: 12px; }
  .hero-sub { font-size: 1.05rem; }
  .hero-actions .btn { width: 100%; }
  .hero-note { max-width: none; }
  .stats { padding-bottom: 48px; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat-grid li { padding: 16px 14px; }
  .stat-grid strong { font-size: 1.12rem; }
  .sec { padding: 60px 0; }
  .intro { padding-top: 56px; }
  .sec-head { margin-bottom: 32px; text-align: left; }
  .sec-head p { font-size: 1.02rem; }
  .lead { font-size: 1.12rem; }
  .diagram { padding: 18px; }
  .feature { padding: 20px; gap: 14px; }
  .bento { grid-template-columns: 1fr; }
  .bento-main { grid-template-columns: 1fr; }
  .bento-main img { min-height: 0; aspect-ratio: 43 / 36; height: auto; }
  .bento-body, .bento-card { padding: 24px; }
  .band-card { padding: 24px; }
  .band-freq { font-size: 1.9rem; }
  .store-body { padding: 22px; }
  .store-note { padding: 14px 22px 22px; }
  .zigzag { gap: 44px; }
  .steps, .checks { grid-template-columns: 1fr; }
  .spec-card { padding: 22px 20px; }
  .spec-card dl > div { grid-template-columns: 1fr; gap: 2px; }
  .assist { flex-direction: column; align-items: flex-start; padding: 22px; }
  .wide-figure img { aspect-ratio: 3 / 2; border-radius: var(--r); }
  .zz-media img { border-radius: var(--r); }
  .cta-section { padding: 64px 0; }
  .cta-box { padding: 36px 20px; }
  .cta-box .btn { width: 100%; }
  .faq summary { padding: 18px 54px 18px 18px; font-size: .98rem; }
  .faq details p { padding: 0 18px 18px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-links { gap: 10px 18px; }
  .table-wrap { overflow: hidden; }
  .compare-table { min-width: 0; display: block; }
  .compare-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .compare-table tbody { display: block; }
  .compare-table tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .compare-table tbody tr + tr { border-top: 1px solid var(--line); }
  .compare-table tbody tr + tr th, .compare-table tbody tr + tr td { border-top: 0; }
  .compare-table tbody th { grid-column: 1 / -1; width: auto; padding: 14px 16px 4px; background: #fff; font-family: var(--ff-head); }
  .compare-table td { padding: 6px 16px 14px; font-size: .93rem; }
  .compare-table td:nth-child(2) { background: none; }
  .compare-table td::before { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
  .compare-table td:nth-of-type(1)::before { content: "Battery"; color: var(--accent-ink); }
  .compare-table td:nth-of-type(2)::before { content: "2nd Gen"; }
  .page-hero { padding: 44px 0 40px; }
  .page-body { padding: 44px 0 64px; }
  .reach-list { grid-template-columns: 1fr; }
  .contact-form { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn .ico, .faq summary::after { transition: none; }
}

/* ==========================================================
   Added components (offer-mirrored layout)
   ========================================================== */

/* Hero eyebrow */
.hero-eyebrow {
  font-family: var(--ff-head); font-weight: 600; font-size: .82rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent-ink); margin: 0 0 10px;
}

/* Multi-column article flow (headings span all) */
.flow-cols { columns: 2; column-gap: 44px; margin-top: 4px; }
.flow-cols h2, .flow-cols h3 { column-span: all; }
.flow-cols p { margin: 0 0 1em; break-inside: avoid; }

/* Weatherproof section */
.weather-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px; align-items: center;
}
.weather-media { margin: 0; }
.weather-media img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); aspect-ratio: 7 / 5; object-fit: cover; }
.weather-copy h2 { margin: 18px 0 .5em; }
.weather-copy > p { color: var(--muted); font-size: 1.05rem; }
.weather-points { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.weather-points li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--ink); }
.weather-points .ico { width: 20px; height: 20px; color: var(--accent); flex: none; }

/* Features recap */
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feat-card { padding: 28px; }
.feat-card h3 { margin: 16px 0 .35em; }
.feat-card p { margin: 0; color: var(--muted); }

/* Step icons */
.step-ico {
  display: inline-flex; align-items: center; justify-content: center;
  position: absolute; top: 28px; right: 24px;
  width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent);
}
.step-ico .ico { width: 22px; height: 22px; }

/* Reviews */
.review-summary {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px; align-items: center;
  background: var(--slate); color: #dbe4ea; border-radius: var(--r-lg);
  padding: 36px 40px; margin-bottom: 36px; position: relative; overflow: hidden;
}
.review-summary::after {
  content: ""; position: absolute; right: -50px; top: -60px; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(248, 126, 39, .4), rgba(248, 126, 39, 0) 70%);
}
.review-summary > * { position: relative; z-index: 1; }
.rs-stars { display: inline-flex; gap: 4px; color: var(--mango); margin-bottom: 12px; }
.rs-stars .ico { width: 26px; height: 26px; fill: var(--mango); stroke: none; }
.rs-score p { margin: 0; color: #e4ebef; font-size: 1.05rem; }
.rs-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rs-bars li { display: flex; gap: 12px; align-items: center; font-size: .95rem; color: #e4ebef; }
.rs-bars .ico { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--mango); stroke-width: 2.4; }

.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.review-card { margin: 0; padding: 28px; position: relative; }
.rev-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); margin-bottom: 14px;
}
.rev-mark .ico { width: 22px; height: 22px; }
.rev-stars { display: inline-flex; gap: 3px; color: var(--mango); margin-bottom: 10px; }
.rev-stars .ico { width: 18px; height: 18px; fill: var(--mango); stroke: none; }
.review-card blockquote { margin: 0 0 14px; color: var(--ink-2); font-size: 1rem; line-height: 1.6; }
.review-card figcaption { font-family: var(--ff-head); font-weight: 600; color: var(--ink); font-size: .92rem; }

/* Bottom CTA badge */
.cta-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: auto; min-width: 46px; height: 46px; padding: 0 12px; margin: 0 auto 20px;
  background: #fff; border-radius: 999px; box-shadow: var(--shadow);
}
.cta-badge img { height: 26px; width: auto; display: block; }

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

@media (max-width: 900px) {
  .flow-cols { columns: 1; }
  .weather-grid { grid-template-columns: 1fr; gap: 28px; }
  .review-summary { grid-template-columns: 1fr; gap: 24px; padding: 30px 26px; }
}

@media (max-width: 600px) {
  .feat-grid, .review-grid { grid-template-columns: 1fr; }
  .feat-card, .review-card { padding: 24px; }
  .step-ico { top: 22px; right: 20px; width: 38px; height: 38px; }
  .rs-bars li { gap: 10px; font-size: .88rem; }
  .cta-badge { margin-bottom: 16px; }
}
