:root {
  --ink: #13201a;
  --muted: #5e6b64;
  --soft: #eef7f1;
  --paper: #f8fbf9;
  --white: #ffffff;
  --green: #26b35f;
  --green-dark: #13733d;
  --cyan: #0ea5b8;
  --amber: #f4a62a;
  --line: #dce8e1;
  --shadow: 0 24px 70px rgba(19, 32, 26, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(38, 179, 95, 0.35);
  outline-offset: 3px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 16px;
  padding-inline: max(clamp(18px, 4vw, 58px), calc((100vw - 1280px) / 2 + 24px));
  background: rgba(248, 251, 249, 0.9);
  border-bottom: 1px solid rgba(220, 232, 225, 0.8);
  backdrop-filter: blur(16px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 36px rgba(19, 32, 26, 0.08);
}

.brand,
.nav,
.hero-actions,
.trust-strip,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-logo {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(19, 32, 26, 0.08);
  box-shadow: 0 10px 28px rgba(38, 179, 95, 0.24);
}

.nav {
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav a,
.site-footer a,
.header-cta {
  border-radius: 6px;
}

.nav a:hover,
.header-cta:hover,
.site-footer a:hover {
  color: var(--green-dark);
}

.header-cta {
  color: var(--green-dark);
  font-weight: 800;
}

.hero {
  width: min(100%, 1400px);
  min-height: calc(100vh - 69px);
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  align-items: center;
  gap: clamp(28px, 5vw, 74px);
  padding: clamp(48px, 7vw, 92px) clamp(18px, 6vw, 88px) 34px;
  margin-inline: auto;
  overflow: hidden;
}

.hero-copy {
  max-width: 720px;
}

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

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.1rem, 8vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4.4vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 9px;
  font-size: 1.12rem;
}

.hero-text {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.32rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.disclosure {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.updated-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(38, 179, 95, 0.22);
}

.button.secondary {
  background: var(--white);
  color: var(--green-dark);
}

.hero-visual {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: min(62vh, 620px);
  object-fit: cover;
  object-position: center;
}

.ad-slot {
  display: grid;
  min-height: 92px;
  place-items: center;
  width: min(calc(100% - 36px), 1224px);
  margin: 0 auto 20px;
  border: 1px dashed #b8c8bf;
  border-radius: 8px;
  background: #f1f6f3;
  color: #77847d;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.app-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 34px 0 0;
}

.app-stats div {
  min-height: 94px;
  display: grid;
  align-content: center;
  gap: 4px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.app-stats dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.app-stats dd {
  margin-bottom: 0;
  font-size: 1.25rem;
  font-weight: 800;
}

.trust-strip {
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 18px clamp(18px, 6vw, 88px);
  background: var(--ink);
}

.trust-strip span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 8px 13px;
  color: #dceee5;
  font-size: 0.9rem;
  font-weight: 700;
}

.section,
.split-section,
.safety-band,
.final-cta {
  padding: clamp(62px, 9vw, 118px) clamp(18px, 6vw, 88px);
}

.section,
.split-section,
.safety-band,
.final-cta {
  width: min(100%, 1400px);
  margin-inline: auto;
}

.section-heading {
  max-width: 900px;
  margin: 0 auto 34px;
  text-align: center;
}

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

.overview-grid {
  max-width: 1120px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 44px);
  margin-inline: auto;
  color: var(--muted);
  font-size: 1.04rem;
}

.article-layout {
  max-width: 1120px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 40px);
  margin-inline: auto;
}

.article-layout article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 34px);
}

.article-layout p,
.topic-grid p,
.checklist li,
.guide-grid p,
.latest-list p,
.article-page li {
  color: var(--muted);
}

.feature-grid {
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-inline: auto;
}

.feature-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature-card:hover,
.topic-grid article:hover,
.guide-grid a:hover,
.latest-list a:hover,
.trust-grid article:hover {
  border-color: #b9d9c7;
  box-shadow: 0 16px 44px rgba(19, 32, 26, 0.09);
  transform: translateY(-2px);
}

.feature-card span {
  margin-bottom: auto;
  color: var(--green);
  font-weight: 800;
}

.feature-card p,
.category-columns li,
.comparison td,
.safety-list p,
.faq-list p,
.trust-grid p {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1fr);
  gap: clamp(32px, 7vw, 96px);
  background: var(--soft);
}

.split-section > div:first-child p {
  max-width: 640px;
  color: var(--muted);
}

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

.category-columns article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.topic-grid,
.guide-grid,
.latest-list {
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-inline: auto;
}

.topic-grid article,
.guide-grid a,
.latest-list a {
  min-height: 230px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.guide-grid a,
.latest-list a {
  display: flex;
  flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.guide-grid span,
.latest-list span {
  margin-bottom: auto;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.guide-grid h3,
.latest-list h3 {
  margin-top: 28px;
}

.related-guides {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.related-guides a {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--white);
}

.checklist {
  max-width: 980px;
  display: grid;
  gap: 12px;
  margin: 0 auto;
  padding-left: 0;
  counter-reset: install-step;
  list-style: none;
}

.checklist li {
  position: relative;
  min-height: 76px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 18px 18px 66px;
}

.checklist li::before {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  background: var(--soft);
  border-radius: 8px;
  color: var(--green-dark);
  content: counter(install-step);
  counter-increment: install-step;
  font-weight: 800;
}

ul {
  margin: 0;
  padding-left: 18px;
}

li + li {
  margin-top: 10px;
}

.table-wrap {
  max-width: 1120px;
  overflow-x: auto;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.profile-layout,
.pros-cons-grid {
  max-width: 1120px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 18px;
  margin-inline: auto;
}

.profile-note,
.pros-cons-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.compact-table {
  margin: 0;
}

.compact-table table {
  min-width: 560px;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  padding: 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--green-dark);
  font-size: 0.86rem;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

.safety-band {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(340px, 1fr);
  gap: clamp(28px, 6vw, 84px);
  background: var(--ink);
  color: var(--white);
}

.safety-band .eyebrow {
  color: #7de0aa;
}

.safety-list {
  display: grid;
  gap: 14px;
}

.safety-list p {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 18px;
  color: #d7e4de;
}

.faq-list {
  max-width: 980px;
  display: grid;
  gap: 12px;
  margin-inline: auto;
}

.trust-grid {
  max-width: 1120px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-inline: auto;
}

.trust-grid article {
  min-height: 190px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin: 12px 0 0;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.final-cta div {
  max-width: 780px;
}

.site-footer {
  justify-content: space-between;
  gap: 16px;
  padding-block: 28px;
  padding-inline: max(clamp(18px, 6vw, 88px), calc((100vw - 1280px) / 2 + 24px));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.simple-page {
  width: min(920px, calc(100% - 36px));
  margin: clamp(20px, 4vw, 48px) auto;
  padding: clamp(28px, 6vw, 66px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(19, 32, 26, 0.08);
}

.simple-page .brand {
  width: max-content;
  margin: 0 auto 42px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: -22px 0 34px;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumbs a {
  color: var(--green-dark);
  font-weight: 800;
}

.simple-page h1 {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  text-align: center;
}

.simple-page > .eyebrow,
.simple-page > p:first-of-type {
  text-align: center;
}

.simple-page h2 {
  margin-top: 34px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.simple-page p {
  color: var(--muted);
  font-size: 1.06rem;
}

.byline {
  margin-top: -8px;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.article-page {
  width: min(980px, calc(100% - 36px));
}

.article-page h2 {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.article-page ul {
  margin-bottom: 26px;
}

.article-page li {
  font-size: 1.03rem;
}

.simple-page a:not(.button) {
  color: var(--green-dark);
  font-weight: 800;
}

.policy-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 26px 0;
}

.contact-form {
  display: grid;
  gap: 16px;
  margin: 30px 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 4vw, 30px);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

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

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
}

textarea {
  resize: vertical;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .hero,
  .split-section,
  .safety-band,
  .profile-layout,
  .pros-cons-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .feature-grid,
  .topic-grid,
  .guide-grid,
  .latest-list,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .hero-visual img {
    height: 340px;
  }

  .app-stats,
  .overview-grid,
  .article-layout,
  .feature-grid,
  .topic-grid,
  .guide-grid,
  .latest-list,
  .trust-grid,
  .category-columns {
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .final-cta .button {
    width: 100%;
  }

  .final-cta,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .simple-page {
    width: min(100% - 24px, 920px);
    padding: 24px 18px;
  }

  .simple-page h1 {
    text-align: left;
  }

  .simple-page > .eyebrow,
  .simple-page > p:first-of-type {
    text-align: left;
  }

  .breadcrumbs {
    justify-content: flex-start;
    margin-top: -8px;
  }

  .byline {
    text-align: left;
  }
}
