:root {
  color-scheme: light;
  --ink: #17342b;
  --muted: #5b7069;
  --accent: #146e4a;
  --accent-dark: #0d4d34;
  --mint: #e9f5ef;
  --cream: #fbfaf6;
  --line: #dce7e1;
  --card: #ffffff;
  --shadow: 0 24px 70px rgba(25, 66, 51, 0.12);
  font-family:
    Inter,
    ui-rounded,
    "SF Pro Rounded",
    "SF Pro Display",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
}

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

img {
  max-width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 20;
  left: 1rem;
  top: -5rem;
  padding: 0.7rem 1rem;
  border-radius: 0.6rem;
  background: var(--ink);
  color: white;
}

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

.site-header,
.site-footer,
main > section,
.page-intro,
.legal-layout,
.compact-legal {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}

.wordmark img {
  border-radius: 11px;
  box-shadow: 0 7px 20px rgba(20, 110, 74, 0.2);
}

.wordmark span {
  display: grid;
  line-height: 1.15;
}

.wordmark small {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  margin-top: 0.25rem;
}

.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-header nav a,
.language-switch,
.site-footer nav a,
.footer-app-link {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.site-header nav a[aria-current="page"],
.site-header nav a:hover,
.language-switch:hover {
  color: var(--accent);
}

.language-switch {
  border-left: 1px solid var(--line);
  padding-left: 1.25rem;
}

main {
  overflow: hidden;
}

.section-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

.hero {
  min-height: 680px;
  padding-block: 5rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.7rem, 7vw, 5.6rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

h3 {
  margin: 1rem 0 0.45rem;
  font-size: 1.25rem;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
}

.hero-copy .lead {
  margin: 1.6rem 0 2rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.4rem;
}

.app-store-button {
  min-width: 175px;
  display: grid;
  padding: 0.68rem 1.2rem;
  border-radius: 0.8rem;
  background: #111;
  color: #fff;
  line-height: 1.08;
  text-decoration: none;
}

.app-store-button span {
  font-size: 0.68rem;
}

.app-store-button strong {
  font-size: 1.25rem;
}

.text-link {
  font-weight: 750;
}

.quiet {
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-art {
  min-height: 460px;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 3.5rem 1.5rem 3.5rem 1.5rem;
  background:
    radial-gradient(circle at 25% 20%, #fff 0 10%, transparent 40%),
    linear-gradient(145deg, #c9ead9, #6bb58e);
  box-shadow: var(--shadow);
}

.app-icon {
  border-radius: 40px;
  filter: drop-shadow(0 25px 35px rgba(11, 75, 50, 0.28));
}

.receipt-card {
  position: absolute;
  right: -1rem;
  bottom: 2rem;
  display: grid;
  min-width: 215px;
  padding: 1.2rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 45px rgba(18, 75, 53, 0.18);
  backdrop-filter: blur(12px);
}

.receipt-card span,
.receipt-card small {
  color: var(--muted);
}

.receipt-card strong {
  font-size: 1.65rem;
}

.content-section,
.screens-section,
.premium-section,
.privacy-promise {
  padding-block: clamp(4rem, 9vw, 8rem);
}

.feature-grid,
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
}

.feature-card,
.support-grid article,
.contact-card,
.legal-summary {
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: var(--card);
}

.feature-card p,
.support-grid p,
.screens-section > div:first-child p,
.privacy-promise > p {
  color: var(--muted);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.85rem;
  background: var(--mint);
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 800;
}

.screens-section {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100vw - 1180px) / 2));
  background: var(--ink);
  color: #fff;
}

.screens-section > div:first-child {
  max-width: 680px;
}

.screens-section > div:first-child p:not(.eyebrow) {
  color: #bed0c9;
}

.screenshots {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  align-items: end;
  gap: clamp(1rem, 4vw, 3rem);
  margin-top: 3.5rem;
}

.screenshots img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1179 / 2556;
  object-fit: contain;
  border-radius: clamp(1.2rem, 3vw, 2.4rem);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.screenshots img:nth-child(2) {
  transform: translateY(-1.8rem);
}

.premium-section ul,
.legal-summary ul {
  margin: 0;
  padding-left: 1.25rem;
}

.premium-section li,
.legal-summary li {
  margin-block: 0.65rem;
}

.privacy-promise {
  display: grid;
  grid-template-columns: 0.9fr 1fr auto;
  align-items: end;
  gap: 2rem;
}

.page-intro {
  padding-block: clamp(4rem, 10vw, 8rem) 3rem;
}

.page-intro h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
}

.support-grid {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 5rem;
}

.support-grid article h2 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.contact-card {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--mint);
}

.contact-card h2 {
  font-size: 2rem;
}

.contact-card p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
}

.primary-button {
  flex: 0 0 auto;
  padding: 0.9rem 1.2rem;
  border-radius: 0.8rem;
  background: var(--accent);
  color: white;
  font-weight: 750;
  text-decoration: none;
}

.legal-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 760px);
  justify-content: space-between;
  gap: 4rem;
  padding-bottom: 8rem;
}

.legal-summary {
  position: sticky;
  top: 1.5rem;
  align-self: start;
  font-size: 0.9rem;
}

.legal-copy {
  max-width: 780px;
}

.legal-copy section {
  padding-block: 1.6rem;
  border-bottom: 1px solid var(--line);
}

.legal-copy h2 {
  font-size: 1.55rem;
  letter-spacing: -0.025em;
}

.legal-copy p,
.legal-copy li {
  color: #40574f;
}

.compact-legal {
  padding-bottom: 8rem;
}

.site-footer {
  min-height: 180px;
  display: flex;
  align-items: center;
  gap: 3rem;
  border-top: 1px solid var(--line);
}

.site-footer > div {
  margin-right: auto;
}

.site-footer p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 850px) {
  .site-header {
    flex-wrap: wrap;
    padding-block: 0.9rem;
    gap: 0.8rem 1.2rem;
  }

  .site-header nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

  .section-grid,
  .privacy-promise,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-block: 3.5rem;
  }

  .hero-art {
    min-height: 380px;
  }

  .receipt-card {
    right: 1rem;
  }

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

  .privacy-promise {
    align-items: start;
  }

  .legal-summary {
    position: static;
  }

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

  .site-footer {
    padding-block: 2.5rem;
  }
}

@media (max-width: 560px) {
  .site-header,
  .site-footer,
  main > section,
  .page-intro,
  .legal-layout,
  .compact-legal,
  .support-grid,
  .contact-card {
    width: min(100% - 28px, 1180px);
  }

  .wordmark small {
    display: none;
  }

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

  .screenshots {
    grid-template-columns: repeat(3, 78%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 1rem 0 2rem;
  }

  .screenshots img {
    scroll-snap-align: center;
  }

  .screenshots img:nth-child(2) {
    transform: none;
  }

  .contact-card {
    align-items: stretch;
  }

  .primary-button {
    overflow-wrap: anywhere;
    text-align: center;
  }

  .site-footer nav {
    align-items: flex-start;
    flex-direction: column;
  }
}

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