:root {
  color-scheme: light;
  --ink: #15211f;
  --muted: #596b67;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --line: #d8dfd9;
  --green: #1d6b54;
  --green-strong: #124936;
  --amber: #d88a24;
  --rose: #b8524f;
  --blue: #295f91;
  --shadow: 0 18px 50px rgba(21, 33, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 64px);
  background: rgba(251, 250, 246, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav a {
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.66fr);
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 67px);
  padding: clamp(48px, 7vw, 96px) clamp(18px, 5vw, 64px) 42px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(29, 107, 84, 0.14), rgba(216, 138, 36, 0.10) 48%, rgba(41, 95, 145, 0.10)),
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.88), transparent 36%);
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
  max-width: 860px;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.14;
}

.hero-copy {
  max-width: 660px;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--green);
  color: #fff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
}

.fine-print {
  max-width: 620px;
  color: var(--muted);
  font-size: 13px;
}

.hero-panel,
.product-card,
.finder,
.result,
.support-grid > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.hero-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.flow-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 4px 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.flow-step span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #e9f2ee;
  color: var(--green);
  font-weight: 850;
}

.flow-step.active span {
  background: var(--green);
  color: #fff;
}

.flow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.trust-band div {
  display: grid;
  gap: 6px;
  padding: 24px clamp(18px, 4vw, 48px);
  background: #fff;
}

.trust-band span {
  color: var(--muted);
}

section {
  padding: clamp(52px, 7vw, 88px) clamp(18px, 5vw, 64px);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 26px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.section-heading.compact {
  max-width: 760px;
}

.finder-section {
  background: #f3f6f1;
}

.finder {
  display: grid;
  gap: 18px;
  max-width: 1020px;
  padding: clamp(18px, 3vw, 28px);
}

.finder-intro {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.finder-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.progress-pill {
  min-height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.progress-pill.active {
  border-color: rgba(29, 107, 84, 0.5);
  background: #e9f2ee;
  color: var(--green-strong);
}

.progress-pill.complete {
  background: var(--green);
  color: #fff;
}

fieldset {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0 0 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

fieldset[disabled] {
  opacity: 0.46;
}

fieldset[disabled] select {
  cursor: not-allowed;
}

[hidden] {
  display: none !important;
}

legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  font-size: 18px;
  font-weight: 850;
}

label {
  display: grid;
  align-content: start;
  gap: 8px;
}

label span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 720;
}

select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #b9c5bd;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #b9c5bd;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.result {
  max-width: 1020px;
  margin-top: 18px;
  padding: clamp(18px, 3vw, 28px);
}

.result-placeholder {
  margin: 0;
  color: var(--muted);
}

.result h3 {
  margin-bottom: 8px;
}

.result-code {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 9px;
  border-radius: 8px;
  background: #e9f2ee;
  color: var(--green-strong);
  font-size: 12px;
  font-weight: 850;
}

.result-note,
.recommendation {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.result-note {
  color: var(--muted);
}

.result.warning .result-code {
  background: #fff1db;
  color: #8a4e08;
}

.result.stop .result-code {
  background: #f9e4e2;
  color: #8d2f2b;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  padding: 22px;
}

.product-card.highlighted {
  border-color: rgba(29, 107, 84, 0.48);
  background: #f8fffb;
}

.card-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.product-visual {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
}

.product-visual.battery {
  background: var(--blue);
}

.product-visual.charge {
  background: var(--green);
}

.product-photo,
.detail-photo {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  object-fit: cover;
}

.product-photo {
  aspect-ratio: 1;
  margin-bottom: 18px;
}

.detail-photo {
  aspect-ratio: 1;
  margin-bottom: 18px;
}

.detail-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-block: 0;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.detail-strip div {
  display: grid;
  gap: 6px;
  padding: 24px clamp(18px, 4vw, 48px);
  background: #fff;
}

.detail-strip span {
  color: var(--muted);
}

.product-kicker {
  margin-bottom: 8px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.product-card p {
  color: var(--muted);
}

dl {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-weight: 650;
}

dd {
  margin: 0;
  text-align: right;
  font-weight: 850;
}

.text-link {
  color: var(--green);
  font-weight: 850;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.learn-section {
  background: #fff;
}

.article-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.article-list a {
  min-height: 96px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-weight: 800;
  text-decoration: none;
}

.section-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.support-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  background: #edf5f2;
}

.policy-section {
  background: #f8f3ea;
}

.policy-grid,
.article-index,
.faq-list,
.support-playbook,
.content-grid {
  display: grid;
  gap: 16px;
}

.policy-grid {
  grid-template-columns: repeat(3, 1fr);
}

.policy-grid a,
.article-index a,
.faq-list article,
.content-grid article,
.support-playbook article,
.detail-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 22px;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(21, 33, 31, 0.08);
}

.policy-grid a,
.article-index a {
  display: grid;
  gap: 8px;
}

.faq-list {
  grid-template-columns: repeat(2, 1fr);
  background: #fff;
}

.faq-list article h2 {
  font-size: 24px;
}

.faq-list article p {
  margin-bottom: 0;
  color: var(--muted);
}

.source-grid article {
  align-content: start;
}

.policy-grid span,
.article-index span {
  color: var(--muted);
}

.page-hero {
  background:
    linear-gradient(135deg, rgba(29, 107, 84, 0.13), rgba(216, 138, 36, 0.10)),
    var(--paper);
}

.page-hero.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}

.contact-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.content-grid {
  grid-template-columns: repeat(2, 1fr);
  background: #fff;
}

.content-grid article p,
.content-grid article li,
.support-playbook p {
  color: var(--muted);
}

.article-index {
  grid-template-columns: repeat(2, 1fr);
}

.article-page article {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 92px) clamp(18px, 5vw, 64px);
}

.article-page h1 {
  font-size: clamp(40px, 6vw, 72px);
}

.article-page h2 {
  margin-top: 34px;
  font-size: clamp(25px, 3vw, 36px);
}

.policy-page .content-grid {
  grid-template-columns: repeat(3, 1fr);
}

.support-playbook {
  grid-template-columns: repeat(2, 1fr);
  background: #fff;
}

.support-grid {
  display: grid;
  gap: 14px;
}

.support-grid > div {
  padding: 20px;
  box-shadow: none;
}

.support-grid p {
  margin: 0;
  color: var(--muted);
}

.disclaimer {
  background: #263533;
  color: #fff;
}

.disclaimer h2 {
  font-size: clamp(26px, 3vw, 38px);
}

.disclaimer p {
  max-width: 1040px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px clamp(18px, 5vw, 64px);
  background: #15211f;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

@media (max-width: 860px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .contact-hero,
  .support-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .trust-band,
  .product-grid,
  .article-list,
  .finder-progress,
  .policy-grid,
  .article-index,
  .faq-list,
  .content-grid,
  .detail-strip,
  .policy-page .content-grid,
  .support-playbook,
  fieldset {
    grid-template-columns: 1fr;
  }

  .page-hero.product-detail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 42px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .button {
    width: 100%;
  }

  dl div {
    display: grid;
  }

  dd {
    text-align: left;
  }
}
