:root {
  color-scheme: light;
  --ink: #173226;
  --muted: #5f746a;
  --line: #d9e4de;
  --green: #176d43;
  --green-dark: #105533;
  --gold: #c89212;
  --paper: #fbfcfb;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(23, 50, 38, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 50, 38, .045) 1px, transparent 1px),
    var(--paper);
  background-size: 56px 56px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.shell {
  min-height: calc(100vh - 150px);
  display: grid;
  place-items: center;
  padding: 48px 22px;
}

.card {
  width: min(680px, 100%);
  padding: clamp(34px, 7vw, 68px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 22px 70px rgba(26, 61, 43, .09);
  text-align: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 700;
}

.brand img { display: block; }
.brand span span { color: var(--gold); }

.eyebrow {
  margin: 42px 0 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(38px, 7vw, 66px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.035em;
}

.summary {
  max-width: 520px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.summary a { color: var(--green); }

.app-store {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  padding: 0 24px;
  border-radius: 12px;
  color: #fff;
  background: var(--green);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease;
}

.app-store:hover { background: var(--green-dark); transform: translateY(-1px); }
.app-store:focus-visible { outline: 3px solid rgba(200, 146, 18, .5); outline-offset: 4px; }

.disclosure {
  max-width: 540px;
  margin: 34px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

footer {
  padding: 0 24px 34px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
}

footer a { color: var(--ink); text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer p { margin: 16px 0 0; }

@media (max-width: 520px) {
  .shell { padding: 24px 14px 34px; }
  .card { padding: 32px 22px; border-radius: 22px; }
  .eyebrow { margin-top: 32px; }
  .summary { font-size: 16px; }
  .app-store { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .app-store { transition: none; }
}
