:root {
  color-scheme: light;
  --ink: #14221d;
  --muted: #5b6b64;
  --green: #245f50;
  --green-dark: #17483d;
  --green-soft: #dcebe3;
  --paper: #fbfcf9;
  --surface: #ffffff;
  --line: #dce4df;
  --shadow: 0 24px 70px rgba(29, 71, 58, 0.13);
  --radius: 28px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 2%, rgba(184, 215, 193, 0.35), transparent 24rem),
    var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--green-dark);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid #5b9f83;
  outline-offset: 4px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 16px;
  color: white;
  background: var(--green-dark);
  border-radius: 10px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 40px), var(--max-width));
  margin: 18px auto 0;
  padding: 12px 16px;
  background: rgba(251, 252, 249, 0.86);
  border: 1px solid rgba(220, 228, 223, 0.8);
  border-radius: 22px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.brand img {
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(29, 71, 58, 0.18);
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 24px;
}

nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--green-dark);
}

main,
footer {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: clamp(44px, 8vw, 104px);
  min-height: 760px;
  padding: 80px 36px;
}

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

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

h1 {
  margin-bottom: 28px;
  font-size: clamp(2.7rem, 5vw, 3.55rem);
  line-height: 1.1;
  letter-spacing: -0.055em;
}

.hero-line {
  display: block;
  white-space: nowrap;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.22;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.lead {
  max-width: 40rem;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button.primary {
  color: white;
  background: var(--green);
  box-shadow: 0 12px 24px rgba(36, 95, 80, 0.2);
}

.button.primary:hover {
  background: var(--green-dark);
}

.button.secondary {
  color: var(--green-dark);
  background: var(--surface);
  border: 1px solid var(--line);
}

.phone-stage {
  position: relative;
  justify-self: center;
  width: min(100%, 350px);
  padding: 14px;
  overflow: hidden;
  background: #101714;
  border: 1px solid #2c3833;
  border-radius: 52px;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.phone-stage::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: inherit;
}

.phone-stage img,
.screens img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 40px;
}

.section {
  margin-bottom: 110px;
  scroll-margin-top: 120px;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 36px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(29, 71, 58, 0.05);
}

.steps p,
.showcase-copy p,
.support-card p,
.policy p,
.policy li {
  color: var(--muted);
}

.step-number {
  display: block;
  margin-bottom: 44px;
  color: #76a28f;
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(40px, 7vw, 90px);
  padding: clamp(30px, 6vw, 72px);
  background: var(--green-soft);
  border-radius: 42px;
}

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

.screens img {
  border: 7px solid #101714;
  border-radius: 30px;
  box-shadow: 0 18px 44px rgba(29, 71, 58, 0.16);
}

.screens img:last-child {
  transform: translateY(28px);
}

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

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

summary {
  position: relative;
  padding: 24px 52px 24px 0;
  font-size: 1.08rem;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  position: absolute;
  top: 24px;
  right: 8px;
  content: "+";
  color: var(--green);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}

details[open] summary::after {
  content: "−";
}

details p {
  max-width: 760px;
  padding-bottom: 24px;
  color: var(--muted);
}

.support-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(32px, 6vw, 68px);
  color: white;
  background: var(--green-dark);
  border-radius: 38px;
}

.support-card h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

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

.support-card .eyebrow {
  color: #a8d7c3;
}

.support-card .button {
  flex: 0 0 auto;
  color: var(--green-dark);
  background: white;
  box-shadow: none;
}

.policy-layout {
  max-width: 840px;
  padding-top: 88px;
  padding-bottom: 100px;
}

.policy-header {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.policy-header h1 {
  font-size: clamp(2.5rem, 6vw, 4.6rem);
}

.updated {
  font-size: 0.9rem;
}

.policy section {
  padding-top: 50px;
  scroll-margin-top: 110px;
}

.policy section h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.policy ul {
  padding-left: 1.4em;
}

.policy li + li {
  margin-top: 8px;
}

.policy-note {
  margin-top: 56px;
  padding: 24px;
  background: #f1f3ec;
  border-left: 4px solid #8a9b8d;
  border-radius: 0 18px 18px 0;
}

.policy-note p {
  margin: 6px 0 0;
  font-size: 0.9rem;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  padding: 42px 0 54px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

footer p {
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.copyright {
  grid-column: 1 / -1;
  font-size: 0.82rem;
}

@media (max-width: 820px) {
  .site-header {
    position: static;
    align-items: flex-start;
  }

  nav {
    gap: 8px 16px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 72px 10px 100px;
  }

  .hero-copy {
    text-align: center;
  }

  .lead {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .phone-stage {
    width: min(82vw, 330px);
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step-number {
    margin-bottom: 24px;
  }

  .showcase {
    grid-template-columns: 1fr;
  }

  .support-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .site-header {
    width: min(calc(100% - 24px), var(--max-width));
    padding: 10px 12px;
  }

  .brand span {
    display: none;
  }

  nav {
    gap: 6px 12px;
  }

  nav a {
    font-size: 0.78rem;
  }

  main,
  footer {
    width: min(calc(100% - 28px), var(--max-width));
  }

  h1 {
    font-size: clamp(2.25rem, 10.5vw, 3.2rem);
  }

  .section {
    margin-bottom: 80px;
  }

  .showcase {
    padding: 28px 18px 52px;
    border-radius: 28px;
  }

  .screens {
    gap: 10px;
  }

  .screens img {
    border-width: 4px;
    border-radius: 19px;
  }

  footer {
    grid-template-columns: 1fr;
  }

  .copyright {
    grid-column: auto;
  }
}

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

  .button {
    transition: none;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ink: #eff8f3;
    --muted: #b6c7bf;
    --green: #8dccb1;
    --green-dark: #b9e3d0;
    --green-soft: #173c32;
    --paper: #101713;
    --surface: #17231e;
    --line: #33423b;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  }

  body {
    background:
      radial-gradient(circle at 8% 2%, rgba(61, 122, 98, 0.22), transparent 24rem),
      var(--paper);
  }

  .site-header {
    background: rgba(16, 23, 19, 0.86);
    border-color: rgba(51, 66, 59, 0.8);
  }

  .button.primary {
    color: #10261e;
    background: #8dccb1;
  }

  .button.primary:hover {
    background: #a7d9c3;
  }

  .button.secondary {
    color: var(--ink);
  }

  .policy-note {
    background: #1b251f;
  }
}
