:root {
  --paper: #f7f3e8;
  --paper-soft: #fffaf0;
  --ink: #17211d;
  --muted: #5e675f;
  --line: #ddd5c6;
  --green: #157a5a;
  --green-dark: #0b503c;
  --coral: #e95f46;
  --yellow: #f6c453;
  --mint: #dff4e8;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(23, 33, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 243, 232, 0.88);
  border-bottom: 1px solid rgba(221, 213, 198, 0.8);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  font-size: 13px;
  letter-spacing: 0;
}

.nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
}

.nav a,
.nav-cta,
.button {
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.1;
}

.nav-cta,
.button.primary {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 10px 24px rgba(21, 122, 90, 0.24);
}

.button.secondary {
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(21, 122, 90, 0.18);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: clamp(44px, 8vw, 110px) clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(180deg, rgba(247, 243, 232, 0), var(--paper));
  pointer-events: none;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(880px, 100%);
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 740px;
  margin: 24px 0 0;
  color: #32413a;
  font-size: clamp(18px, 2vw, 24px);
}

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

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.hero-points li {
  padding: 9px 12px;
  border: 1px solid rgba(21, 122, 90, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  color: #31413a;
  font-size: 14px;
  font-weight: 700;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-band div {
  min-height: 142px;
  padding: 28px clamp(18px, 3vw, 42px);
  background: var(--paper-soft);
}

.stats-band strong,
.stats-band span {
  display: block;
}

.stats-band strong {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1;
}

.stats-band span {
  margin-top: 10px;
  color: var(--muted);
}

.section,
.split-section,
.article,
.faq,
.final-cta {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 100px) 0;
}

.section-head {
  max-width: 780px;
  margin-bottom: 30px;
}

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

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

.feature {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-soft);
  box-shadow: 0 8px 28px rgba(23, 33, 29, 0.06);
}

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

.icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 8px;
  color: var(--green-dark);
  background: var(--mint);
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
}

.split-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 19px;
}

.device-visual {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(246, 196, 83, 0.28), rgba(223, 244, 232, 0.7)),
    var(--paper-soft);
  border: 1px solid var(--line);
}

.phone {
  position: relative;
  width: min(260px, 62vw);
  aspect-ratio: 9 / 18;
  padding: 28px 20px;
  border: 12px solid #18231f;
  border-radius: 34px;
  background: #fdfcf7;
  box-shadow: var(--shadow);
}

.phone-speaker {
  width: 74px;
  height: 7px;
  margin: 0 auto 46px;
  border-radius: 99px;
  background: #25312c;
}

.screen-line {
  width: 72%;
  height: 14px;
  margin: 14px 0;
  border-radius: 99px;
  background: #d8eadf;
}

.screen-line.wide {
  width: 100%;
  height: 18px;
  background: var(--yellow);
}

.screen-button {
  display: grid;
  place-items: center;
  min-height: 54px;
  margin-top: 36px;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  font-weight: 900;
}

.signal-bars {
  position: absolute;
  right: 24px;
  bottom: 30px;
  display: flex;
  align-items: end;
  gap: 5px;
  height: 48px;
}

.signal-bars span {
  width: 10px;
  border-radius: 4px 4px 0 0;
  background: var(--coral);
}

.signal-bars span:nth-child(1) { height: 16px; }
.signal-bars span:nth-child(2) { height: 24px; }
.signal-bars span:nth-child(3) { height: 34px; }
.signal-bars span:nth-child(4) { height: 46px; }

.route-card {
  position: absolute;
  left: 8%;
  bottom: 9%;
  display: grid;
  gap: 4px;
  min-width: 188px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(21, 122, 90, 0.2);
  box-shadow: var(--shadow);
}

.route-card strong {
  font-size: 28px;
  line-height: 1;
  color: var(--green);
}

.route-card span {
  color: var(--muted);
  font-size: 14px;
}

.article {
  max-width: 920px;
  border-top: 1px solid var(--line);
}

.article h2,
.article h3 {
  margin-top: 34px;
}

.article p {
  color: #34443d;
  font-size: 19px;
}

.article a,
.faq a,
.footer a {
  color: var(--green-dark);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.faq {
  max-width: 920px;
  border-top: 1px solid var(--line);
}

details {
  border-top: 1px solid var(--line);
  background: transparent;
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  padding: 22px 0;
  font-size: 20px;
  font-weight: 900;
}

details p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 18px;
}

.final-cta {
  text-align: center;
  border-top: 1px solid var(--line);
}

.final-cta p {
  max-width: 640px;
  margin: 16px auto 28px;
  color: var(--muted);
  font-size: 20px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--muted);
  background: #eee7d8;
}

@media (max-width: 880px) {
  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .nav-cta {
    width: 100%;
  }

  .hero {
    min-height: auto;
  }

  .stats-band,
  .feature-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .stats-band div {
    min-height: 118px;
  }

  .device-visual {
    min-height: 430px;
  }
}

@media (max-width: 520px) {
  .brand {
    white-space: normal;
  }

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

  .hero-points {
    display: grid;
  }

  .route-card {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .article p,
  .section-head p:not(.eyebrow),
  .split-copy p:not(.eyebrow) {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
