:root {
  color-scheme: light;
  --background: #f7f4ed;
  --surface: #ffffff;
  --forest: #26483b;
  --forest-deep: #19352b;
  --sage: #7fa48b;
  --sage-soft: #dce8df;
  --text: #24312b;
  --muted: #66716c;
  --border: #e4e1d8;
  --danger: #a8403a;
  --shadow: 0 20px 60px rgb(38 72 59 / 10%);
  --radius: 1.5rem;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 20rem;
  background:
    radial-gradient(circle at 90% 8%, rgb(127 164 139 / 18%), transparent 24rem),
    var(--background);
  color: var(--text);
  line-height: 1.65;
}
a { color: var(--forest); text-underline-offset: .2em; }
a:hover { color: var(--forest-deep); }
img { max-width: 100%; height: auto; }
button, input { font: inherit; }
:focus-visible { outline: .2rem solid #386b8c; outline-offset: .2rem; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed; top: .75rem; left: .75rem; z-index: 10;
  transform: translateY(-160%);
  padding: .65rem 1rem; border-radius: 999px;
  background: var(--forest); color: white;
}
.skip-link:focus { transform: none; }

.site-header, .site-footer, main { width: min(70rem, calc(100% - 2rem)); margin-inline: auto; }
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: 1.15rem;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-weight: 800; }
.brand img { width: 2.5rem; border-radius: .72rem; box-shadow: 0 .35rem 1rem rgb(38 72 59 / 18%); }
.header-actions { display: flex; align-items: center; gap: .8rem; font-size: .92rem; }
.language-link { padding: .35rem .65rem; border: 1px solid var(--border); border-radius: 999px; text-decoration: none; background: rgb(255 255 255 / 68%); }

.hero {
  min-height: min(42rem, calc(100vh - 5rem));
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(16rem, .85fr);
  align-items: center; gap: clamp(2rem, 7vw, 6rem); padding: clamp(3rem, 8vw, 7rem) 0;
}
.eyebrow { color: var(--forest); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .76rem; }
h1, h2, h3 { color: var(--forest-deep); line-height: 1.12; text-wrap: balance; }
h1 { margin: .5rem 0 1.1rem; font-size: clamp(2.55rem, 7vw, 5.5rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.65rem, 4vw, 2.45rem); }
.lead { max-width: 40rem; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.3rem); }
.store-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.store-link, .button {
  display: inline-flex; min-height: 3rem; align-items: center; justify-content: center;
  padding: .7rem 1.15rem; border: 0; border-radius: .9rem;
  background: var(--forest); color: white; font-weight: 750; text-decoration: none;
  box-shadow: 0 .6rem 1.4rem rgb(38 72 59 / 18%); cursor: pointer;
}
.store-link--secondary { background: var(--surface); color: var(--forest); border: 1px solid var(--border); box-shadow: none; }
.store-link--disabled { cursor: default; opacity: .72; }
.app-mark {
  justify-self: center; width: min(100%, 22rem); aspect-ratio: 1;
  display: grid; place-items: center; padding: clamp(1.5rem, 5vw, 3rem);
  background: linear-gradient(145deg, var(--forest), #3f6d59);
  border-radius: clamp(2rem, 7vw, 4.25rem);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}
.app-mark img { width: 100%; border-radius: 24%; transform: rotate(-2deg); }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding-bottom: clamp(4rem, 8vw, 7rem); }
.benefit { background: rgb(255 255 255 / 78%); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.35rem; }
.benefit span { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; margin-bottom: 1rem; border-radius: .8rem; background: var(--sage-soft); color: var(--forest); font-weight: 900; }
.benefit h2 { font-size: 1.15rem; margin: 0 0 .4rem; }
.benefit p { margin: 0; color: var(--muted); }

.legal { max-width: 51rem; padding: clamp(2rem, 6vw, 5rem) 0 6rem; }
.legal h1 { font-size: clamp(2.25rem, 6vw, 4rem); }
.legal h2 { margin-top: 2.5rem; font-size: 1.55rem; }
.legal h3 { margin-top: 1.75rem; font-size: 1.15rem; }
.legal .meta { color: var(--muted); }
.legal nav { padding: 1rem 1.2rem; border-left: .25rem solid var(--sage); background: rgb(255 255 255 / 65%); border-radius: 0 1rem 1rem 0; }
.legal li + li { margin-top: .4rem; }

.form-card {
  margin: 1.5rem 0; padding: clamp(1.1rem, 4vw, 1.75rem);
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow);
}
label { display: block; font-weight: 750; margin-bottom: .45rem; }
input[type=email] {
  width: 100%; min-height: 3rem; padding: .65rem .8rem;
  border: 1px solid #aeb8b1; border-radius: .75rem; background: white; color: var(--text);
}
.form-card .button { margin-top: 1rem; }
.button--danger { background: var(--danger); }
.button:disabled { opacity: .6; cursor: wait; }
.deletion-step { max-width: 38rem; margin-inline: auto; }
.deletion-step h1 { margin-top: 0; font-size: clamp(1.8rem, 5vw, 2.5rem); }
.deletion-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.5rem; }
.deletion-actions .button { margin-top: 0; }
.form-status { min-height: 1.6rem; padding: .7rem 0; font-weight: 650; }
.form-status[data-type=success] { color: var(--forest); }
.form-status[data-type=error] { color: var(--danger); }
.note { padding: 1rem 1.1rem; border-radius: 1rem; background: var(--sage-soft); }

.site-footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem;
  padding: 1.6rem 0 2.2rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .9rem;
}
.footer-links { display: flex; flex-wrap: wrap; gap: .7rem 1rem; }

@media (max-width: 46rem) {
  .hero { min-height: auto; grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: grid; justify-items: center; }
  .app-mark { grid-row: 1; width: min(72vw, 18rem); }
  .benefits { grid-template-columns: 1fr; }
  .site-header .brand span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .app-mark, .app-mark img { transform: none; }
}
@media print {
  :root { color-scheme: light; }
  body { background: white; color: black; font-size: 11pt; }
  .site-header, .site-footer, .skip-link, .form-card { display: none; }
  main, .legal { width: 100%; max-width: none; padding: 0; }
  a { color: black; text-decoration: none; }
  a[href^="http"]::after, a[href^="mailto"]::after { content: " (" attr(href) ")"; font-size: .85em; }
  h1, h2, h3 { color: black; break-after: avoid; }
  p, li { orphans: 3; widows: 3; }
}

