:root {
  color-scheme: light;
  --bg: #e6f0e8;
  --ink: #102017;
  --muted: #4c5c52;
  --line: #c8d9cf;
  --panel: #fbfdf9;
  --frame: #d9e7dc;
  --frame-dark: #123323;
  --primary: #176d3f;
  --primary-strong: #0f4d2e;
  --aqua: #cfeee9;
  --yellow: #f6d777;
  --rose: #f6c3bb;
  --shadow: 0 22px 64px rgba(20, 58, 34, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(184, 206, 193, 0.86);
  background: rgba(230, 240, 232, 0.9);
  backdrop-filter: blur(18px);
}

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

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(12px, 3vw, 28px);
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--primary);
}

.section {
  min-height: calc(100vh - 72px);
  scroll-margin-top: 72px;
  padding: clamp(56px, 8vw, 108px) clamp(20px, 5vw, 72px);
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(30px, 5vw, 58px);
  align-items: start;
  justify-items: center;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(171, 214, 195, 0.72), rgba(230, 240, 232, 0.12) 46%),
    linear-gradient(45deg, rgba(220, 199, 118, 0.38), rgba(198, 222, 206, 0.58));
}

.hero-copy,
.section-copy {
  max-width: 740px;
}

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

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

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(54px, 9vw, 112px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 19px;
}

.lead,
.section-copy p {
  color: var(--muted);
  font-size: clamp(18px, 2.3vw, 24px);
  line-height: 1.5;
}

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

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 28px rgba(23, 109, 63, 0.22);
}

.primary-button:hover,
.primary-button:focus-visible {
  background: var(--primary-strong);
}

.hero-media {
  display: grid;
  justify-items: center;
  gap: 18px;
  width: min(100%, 560px);
}

.hero-shot,
.trust-shot,
.card-shot {
  margin: 0;
}

.hero-shot {
  justify-self: center;
  width: min(100%, 520px);
}

.screenshot-frame {
  padding: 10px;
  border: 1px solid rgba(18, 51, 35, 0.16);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(217, 231, 220, 0.9)),
    var(--frame);
  box-shadow: var(--shadow);
}

.hero-shot img,
.trust-shot img,
.shot-card img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-shot img {
  aspect-ratio: 0.62;
  max-height: 660px;
  border-radius: 8px;
  object-fit: cover;
  object-position: top;
}

.hero-download {
  width: min(100%, 520px);
}

.contact-panel,
.info-card {
  border: 1px solid var(--line);
  background: var(--panel);
}

.contact-panel span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.support-section {
  background: #eef5f0;
}

.feature-section,
.trust-section {
  padding: clamp(56px, 8vw, 108px) clamp(20px, 5vw, 72px);
  scroll-margin-top: 72px;
}

.feature-section {
  background: #f5f9f4;
}

.compact {
  max-width: 820px;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px;
}

.shot-card {
  display: grid;
  grid-template-columns: minmax(160px, 260px) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(251, 253, 249, 0.82);
  box-shadow: 0 16px 48px rgba(20, 58, 34, 0.08);
}

.card-shot {
  width: min(100%, 260px);
  box-shadow: 0 14px 34px rgba(22, 58, 34, 0.12);
}

.card-shot img {
  aspect-ratio: 0.58;
  max-height: 520px;
  border-radius: 8px;
  object-fit: cover;
  object-position: top;
}

.shot-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.trust-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(32px, 8vw, 86px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(181, 220, 201, 0.72), rgba(230, 240, 232, 0.1) 56%),
    #e6f0e8;
}

.trust-shot {
  justify-self: center;
  width: min(100%, 340px);
}

.trust-shot img {
  border-radius: 8px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.info-card {
  min-height: 210px;
  padding: 24px;
  border-radius: 8px;
}

.info-card p {
  color: var(--muted);
  line-height: 1.55;
}

.info-card a,
.contact-panel a {
  color: var(--primary);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: clamp(32px, 8vw, 86px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(220, 199, 118, 0.42), rgba(230, 240, 232, 0.1) 52%),
    #e6f0e8;
}

.contact-panel {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-panel div {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.contact-panel div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-panel a {
  display: inline-block;
  margin-top: 8px;
  font-size: clamp(21px, 3vw, 32px);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #dce9df;
  color: var(--muted);
}

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

.site-footer a {
  color: var(--primary);
  font-weight: 800;
}

.legal-hero {
  padding: clamp(64px, 9vw, 116px) clamp(20px, 5vw, 72px) clamp(34px, 5vw, 58px);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(171, 214, 195, 0.72), rgba(230, 240, 232, 0.12) 46%),
    var(--bg);
}

.legal-hero h1 {
  margin-right: auto;
  margin-left: auto;
  max-width: 900px;
}

.legal-content {
  width: min(100% - 40px, 900px);
  margin: 0 auto clamp(56px, 8vw, 104px);
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(251, 253, 249, 0.88);
  box-shadow: 0 16px 48px rgba(20, 58, 34, 0.08);
}

.legal-content h2 {
  margin-top: 34px;
  margin-bottom: 12px;
  font-size: clamp(24px, 3vw, 34px);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.legal-content a {
  color: var(--primary);
  font-weight: 800;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
  }

  .section {
    min-height: auto;
    scroll-margin-top: 118px;
  }

  .hero,
  .contact-section,
  .trust-section {
    grid-template-columns: 1fr;
  }

  .support-grid,
  .shot-grid {
    grid-template-columns: 1fr;
  }

  .shot-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .card-shot {
    justify-self: center;
  }

  .card-shot img {
    max-width: 320px;
    max-height: 520px;
  }
}

@media (max-width: 440px) {
  .nav {
    font-size: 14px;
  }

  .primary-button {
    width: 100%;
  }
}

/* Accessibility Focus Styles */
a:focus-visible,
button:focus-visible,
.primary-button:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
}

/* Print Styles */
@media print {
  .site-header,
  .site-footer,
  .hero-download,
  .nav,
  .primary-button {
    display: none !important;
  }

  body {
    background: #fff !important;
    color: #000 !important;
  }

  .legal-content {
    border: none !important;
    box-shadow: none !important;
    background: #fff !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .legal-hero {
    background: none !important;
    padding: 20px 0 !important;
  }

  .legal-hero h1 {
    font-size: 28px !important;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
    color: #555;
  }
}

