:root {
  color-scheme: light;
  --garden: #5cab4a;
  --garden-deep: #177c3b;
  --garden-dark: #123d28;
  --leaf: #238f43;
  --butterfly: #7c3db3;
  --butterfly-dark: #542483;
  --wing: #ffd51f;
  --flower: #f6538b;
  --paper: #ffffff;
  --mist: #eef7ec;
  --ink: #173025;
  --muted: #52675b;
  --line: #cfe1cf;
  --shadow: 0 18px 45px rgb(18 61 40 / 18%);
  font-family: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.65;
}

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

a {
  color: var(--butterfly-dark);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.2em;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--wing);
  outline-offset: 4px;
}

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

h1,
h2 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.7rem);
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  margin-bottom: 1.25rem;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  min-height: 72px;
  padding: 0.75rem clamp(1rem, 4vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

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

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}

nav a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

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

.hero {
  min-height: min(78svh, 850px);
  padding: clamp(4rem, 10vw, 8rem) clamp(1.25rem, 8vw, 8rem);
  display: flex;
  align-items: center;
  color: var(--paper);
  background-color: var(--garden);
  background-image: url("/assets/app-icon.png");
  background-repeat: no-repeat;
  background-position: right clamp(1rem, 5vw, 6rem) center;
  background-size: min(56vw, 700px) auto;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(650px, 55%);
  padding: clamp(1.5rem, 4vw, 3rem) 0;
  text-shadow: 0 2px 14px rgb(18 61 40 / 25%);
}

.hero-lead,
.page-hero p {
  max-width: 620px;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.eyebrow {
  margin-bottom: 0.85rem;
  color: var(--wing);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--butterfly-dark);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  border: 3px solid var(--paper);
  border-radius: 6px;
  background: var(--butterfly);
  box-shadow: 0 5px 0 var(--butterfly-dark);
  color: var(--paper);
  font-weight: 800;
  text-decoration: none;
  text-shadow: none;
}

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

.button.light {
  background: var(--paper);
  border-color: var(--paper);
  box-shadow: 0 5px 0 rgb(18 61 40 / 35%);
  color: var(--butterfly-dark);
}

.intro {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
}

.intro p:last-child {
  color: var(--muted);
  font-size: 1.15rem;
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--garden-dark);
  color: var(--paper);
}

.feature-band article {
  min-height: 320px;
  padding: clamp(2rem, 5vw, 4.5rem);
  border-right: 1px solid rgb(255 255 255 / 20%);
}

.feature-band article:last-child {
  border-right: 0;
}

.feature-band h2 {
  font-size: 2.2rem;
}

.feature-number {
  display: block;
  margin-bottom: 3rem;
  color: var(--wing);
  font-size: 0.85rem;
  font-weight: 800;
}

.details-band {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 8vw, 7rem);
  align-items: center;
}

.details-band > img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.facts {
  margin: 2rem 0 0;
  border-top: 1px solid var(--line);
}

.facts div {
  padding: 0.85rem 0;
  display: grid;
  grid-template-columns: 120px 1fr;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  font-weight: 800;
}

.facts dd {
  margin: 0;
  color: var(--muted);
}

.contact-band {
  padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 8vw, 8rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--butterfly);
  color: var(--paper);
}

.contact-band h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.page-hero {
  min-height: 430px;
  padding: clamp(4rem, 10vw, 8rem) clamp(1.25rem, 8vw, 8rem);
  display: flex;
  align-items: center;
  color: var(--paper);
  background-color: var(--garden);
  background-image: url("/assets/app-icon.png");
  background-repeat: no-repeat;
  background-position: right 8% center;
  background-size: min(40vw, 460px) auto;
}

.page-hero > div {
  width: min(680px, 62%);
}

.page-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
}

.support-layout {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}

.support-main > section + section {
  margin-top: 5rem;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: support-step;
}

.steps li {
  padding: 1.1rem 0 1.1rem 3.5rem;
  position: relative;
  border-bottom: 1px solid var(--line);
  counter-increment: support-step;
}

.steps li::before {
  content: counter(support-step);
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--wing);
  color: var(--garden-dark);
  font-weight: 900;
}

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

details {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 800;
}

details p {
  margin: 1rem 0 0;
  color: var(--muted);
}

.support-aside {
  padding: 1.5rem;
  background: var(--mist);
  border-top: 6px solid var(--flower);
}

.support-aside img {
  margin-bottom: 1.75rem;
  border-radius: 6px;
}

.support-aside h2 {
  font-size: 2rem;
}

.email-address {
  margin: 1.3rem 0 0;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 0.9rem;
}

.requirements {
  padding: clamp(3rem, 6vw, 5rem) max(1.25rem, calc((100vw - 1180px) / 2));
  background: var(--garden-dark);
  color: var(--paper);
}

.requirements h2 {
  font-size: 2.2rem;
}

.requirements p {
  max-width: 760px;
  margin-bottom: 0;
}

.policy {
  width: min(800px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.policy-meta {
  margin-bottom: 4rem;
  padding: 1.25rem 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.policy-meta p {
  margin-bottom: 0;
}

.policy section + section {
  margin-top: 3.25rem;
}

.policy h2 {
  font-size: 2rem;
}

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

.policy-note {
  margin-top: 4rem;
  padding: 1.25rem;
  border-left: 5px solid var(--wing);
  background: var(--mist);
}

footer {
  padding: 1.5rem clamp(1rem, 4vw, 4rem);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  background: #0b2418;
  color: #dce9df;
  font-size: 0.9rem;
}

footer p {
  margin: 0;
}

footer div {
  display: flex;
  gap: 1.5rem;
}

footer a {
  color: var(--paper);
}

@media (max-width: 860px) {
  .hero {
    min-height: 760px;
    align-items: flex-start;
    background-position: center bottom 2rem;
    background-size: min(82vw, 470px) auto;
  }

  .hero-content,
  .page-hero > div {
    width: 100%;
  }

  .intro,
  .details-band,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .feature-band {
    grid-template-columns: 1fr;
  }

  .feature-band article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgb(255 255 255 / 20%);
  }

  .feature-number {
    margin-bottom: 1.5rem;
  }

  .details-band > img {
    width: min(520px, 100%);
    margin: 0 auto;
  }

  .page-hero {
    background-position: right -7rem center;
    background-size: 360px auto;
  }
}

@media (max-width: 620px) {
  h1 {
    font-size: 3rem;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 700px;
    padding-top: 4rem;
    background-size: min(94vw, 430px) auto;
  }

  .hero-lead,
  .page-hero p {
    font-size: 1.1rem;
  }

  .contact-band,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero {
    min-height: 500px;
    align-items: flex-start;
    background-position: center bottom -7rem;
    background-size: 340px auto;
  }

  .policy-meta {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .facts div {
    grid-template-columns: 100px 1fr;
  }
}

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