:root {
  color-scheme: light;
  --bg: #f6f7f4;
  --surface: #ffffff;
  --surface-soft: #eef4ef;
  --surface-strong: #102119;
  --ink: #132019;
  --muted: #607268;
  --subtle: #809187;
  --line: #dfe7e1;
  --line-strong: #c9d6ce;
  --green: #17734a;
  --green-dark: #0f5638;
  --green-soft: #e0f0e7;
  --blue: #24607d;
  --gold: #d99b35;
  --warn-bg: #fff6df;
  --shadow-sm: 0 1px 2px rgba(17, 32, 25, 0.06), 0 8px 22px rgba(17, 32, 25, 0.07);
  --shadow-md: 0 18px 50px rgba(17, 32, 25, 0.12);
  --radius: 8px;
  --container: min(1180px, calc(100% - 40px));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(224, 240, 231, 0.7), rgba(246, 247, 244, 0) 520px),
    var(--bg);
  color: var(--ink);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a:hover {
  color: var(--blue);
}

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

:focus-visible {
  outline: 3px solid rgba(36, 96, 125, 0.35);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 1rem;
  z-index: 20;
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
  background: var(--surface-strong);
  color: white;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 247, 244, 0.88);
  border-bottom: 1px solid rgba(201, 214, 206, 0.78);
  backdrop-filter: blur(18px);
}

.nav {
  width: var(--container);
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: white;
  font-weight: 850;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.brand strong,
.footer strong {
  display: block;
  letter-spacing: 0;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 0.72rem;
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus {
  background: var(--green-soft);
  color: var(--green-dark);
  outline: none;
}

.nav-links .nav-cta {
  margin-left: 0.25rem;
  background: var(--surface-strong);
  color: white;
  box-shadow: var(--shadow-sm);
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus {
  background: var(--green-dark);
  color: white;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  height: 44px;
  gap: 0.55rem;
  border: 1px solid rgba(16, 33, 25, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8), 0 10px 22px rgba(17, 32, 25, 0.08);
  backdrop-filter: blur(12px);
}

.nav-toggle-icon {
  width: 18px;
  height: 14px;
  display: grid;
  align-content: center;
  gap: 5px;
}

.nav-toggle-icon span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 160ms ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero,
.section,
.page-hero,
.footer {
  width: var(--container);
  margin: 0 auto;
}

.hero {
  min-height: calc(100svh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  align-items: center;
  gap: clamp(2rem, 6vw, 5.5rem);
  padding: 5.25rem 0 4.5rem;
}

.hero-copy h1,
.section-heading h2,
.app-title h2,
.legal h2,
.support-panel h2 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(3.25rem, 8vw, 5.9rem);
}

.hero-copy p {
  max-width: 680px;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--green-dark);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.9rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.08rem;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button.primary {
  background: var(--surface-strong);
  color: white;
  box-shadow: var(--shadow-sm);
}

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

.button.secondary {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  max-width: 620px;
  margin: 2.5rem 0 0;
}

.hero-metrics div {
  padding-top: 1rem;
  border-top: 1px solid var(--line-strong);
}

.hero-metrics dt {
  color: var(--ink);
  font-size: 1.55rem;
  font-weight: 850;
  line-height: 1;
}

.hero-metrics dd {
  margin: 0.32rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-app {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 1.25rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    var(--surface-strong);
  color: white;
  box-shadow: var(--shadow-md);
}

.hero-app::before {
  content: "";
  position: absolute;
  inset: auto -18% -22% 28%;
  height: 210px;
  background: radial-gradient(circle at center, rgba(217, 155, 53, 0.4), rgba(217, 155, 53, 0));
  pointer-events: none;
}

.hero-app > * {
  position: relative;
}

.hero-app-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.hero-app-top img {
  width: 104px;
  border-radius: 24px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
}

.hero-app-top span {
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
  font-weight: 800;
}

.hero-app h2 {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.1;
}

.hero-app p {
  color: rgba(255, 255, 255, 0.74);
}

.hero-app p:last-child {
  margin-bottom: 0;
}

.hero-app .eyebrow {
  color: #aad9bf;
}

.hero-app-list {
  display: grid;
  gap: 0.55rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-app-list span {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
}

.hero-app-list span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.section {
  padding: 5rem 0;
  border-top: 1px solid var(--line);
}

.page-hero {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 4rem;
}

.page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
}

.app-page-hero .app-title {
  margin-bottom: 1.7rem;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 2rem;
}

.section-heading h2,
.app-title h2,
.legal h2,
.support-panel h2 {
  font-size: clamp(2rem, 5vw, 3.25rem);
}

.section-heading p,
.app-title p,
.support-panel p {
  color: var(--muted);
}

.app-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.app-card,
.feature-grid article,
.guide-list article,
.support-card,
details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.app-card {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  text-decoration: none;
  color: var(--ink);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.app-card:hover,
.app-card:focus {
  transform: translateY(-2px);
  border-color: rgba(23, 115, 74, 0.48);
  box-shadow: var(--shadow-sm);
  outline: none;
}

.app-card img {
  width: 84px;
  height: 84px;
  border-radius: 20px;
}

.app-card .brand-mark {
  width: 84px;
  height: 84px;
  font-size: 1.45rem;
}

.app-card h3,
.feature-grid h3,
.guide-list h3,
.support-card h2,
.support-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  line-height: 1.24;
}

.app-card p,
.feature-grid p,
.guide-list p,
.support-card p {
  margin: 0;
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.85rem;
}

.tag-list span {
  padding: 0.25rem 0.52rem;
  border-radius: var(--radius);
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 0.77rem;
  font-weight: 800;
}

.app-title {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 2rem;
}

.app-title img {
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.feature-grid article,
.guide-list article,
.support-card {
  padding: 1.25rem;
}

.feature-grid article {
  min-height: 176px;
}

.notice {
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(217, 155, 53, 0.45);
  border-radius: var(--radius);
  background: var(--warn-bg);
  color: #574017;
}

.guide-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.guide-list article {
  background: var(--surface);
}

.guide-list ol {
  margin: 0.7rem 0 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.guide-list li + li {
  margin-top: 0.55rem;
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

details {
  overflow: clip;
}

summary {
  position: relative;
  cursor: pointer;
  padding: 1rem 3rem 1rem 1.2rem;
  font-weight: 800;
  list-style: none;
}

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

summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 1.2rem;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-dark);
  transform: translateY(-50%);
}

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

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

.support-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: 1.4rem;
  align-items: start;
}

.support-panel > div:first-child {
  padding: clamp(1.35rem, 4vw, 2rem);
  border-radius: var(--radius);
  background: var(--surface-strong);
  color: white;
  box-shadow: var(--shadow-md);
}

.support-panel > div:first-child .eyebrow {
  color: #aad9bf;
}

.support-panel > div:first-child p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-link a {
  display: inline-flex;
  color: white;
  font-size: clamp(1.35rem, 5vw, 2.15rem);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.support-card {
  border-color: var(--line-strong);
}

.legal {
  max-width: 880px;
}

.legal h2 {
  margin: 2rem 0 0.35rem;
  font-size: 1.35rem;
  line-height: 1.25;
}

.legal h3 {
  margin: 2rem 0 0.35rem;
  font-size: 1.18rem;
}

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

.footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.2rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer p {
  margin: 0.3rem 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.8rem 1rem;
}

@media (max-width: 1020px) {
  .nav {
    flex-wrap: wrap;
    padding: 0.8rem 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding-bottom: 0.4rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    min-height: 44px;
  }

  .nav-links .nav-cta {
    margin-left: 0;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 13vw, 5rem);
  }

  .hero-app {
    max-width: 560px;
  }

  .app-grid,
  .feature-grid,
  .guide-list,
  .support-panel {
    grid-template-columns: 1fr;
  }

  .app-card {
    grid-column: auto;
  }

  .footer {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  :root {
    --container: min(100% - 24px, 1180px);
  }

  html {
    scroll-padding-top: 76px;
  }

  .hero,
  .page-hero {
    padding: 3rem 0;
  }

  .section {
    padding: 3.25rem 0;
  }

  .hero-copy h1 {
    font-size: clamp(2.75rem, 15vw, 4rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .app-title,
  .app-card {
    grid-template-columns: 1fr;
  }

  .app-title img,
  .app-card img {
    width: 92px;
    height: 92px;
  }

  .app-card .brand-mark {
    width: 92px;
    height: 92px;
  }
}
