:root {
  color-scheme: light dark;
  --bg: #f7f5ef;
  --surface: #fffdf8;
  --surface-soft: #efede6;
  --ink: #17212b;
  --muted: #60686f;
  --line: #d9d1c5;
  --sage: #637d68;
  --sage-soft: #dce6d9;
  --navy: #182f45;
  --amber: #a96f28;
  --amber-soft: #f5ead7;
  --warning: #7c5424;
  --shadow: 0 20px 70px rgb(23 33 43 / 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.24em; }
p { margin-top: 0; }

.site-header, main, footer {
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
}
.site-header, .brand, nav, .actions, .availability, .contact, footer, .footer-links {
  display: flex;
  align-items: center;
}
.site-header {
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}
.brand, nav a, .button { text-decoration: none; }
.brand { gap: 12px; font-weight: 750; }
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  box-shadow: 0 8px 24px rgb(23 33 43 / 0.12);
}
nav { gap: 20px; color: var(--muted); font-size: 0.94rem; }
nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }

.hero, .legal-hero, .details, .content-grid, .distribution-card {
  display: grid;
  gap: 48px;
}
.hero {
  min-height: clamp(560px, 74vh, 760px);
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: center;
  padding: 72px 0 84px;
}
.legal-hero { padding: 72px 0 40px; }
.hero-copy, .lead, .contact p { max-width: 800px; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1, h2, p { overflow-wrap: anywhere; }
h1 {
  max-width: 1040px;
  margin: 0;
  font-family: Iowan Old Style, Baskerville, "Times New Roman", serif;
  font-size: clamp(2.7rem, 6.8vw, 6.3rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.035em;
}
h2 {
  margin: 0 0 12px;
  font-family: Iowan Old Style, Baskerville, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.6vw, 2.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.lead {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}
.actions { flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button {
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 750;
}
.primary { border-color: var(--navy); background: var(--navy); color: #fffdf8; }
.secondary, .note a { color: var(--navy); }

.app-presentation { display: grid; gap: 26px; justify-items: center; }
.app-mark { display: grid; place-items: center; }
.app-mark img {
  width: min(100%, 330px);
  height: auto;
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.availability {
  width: min(100%, 390px);
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgb(255 253 248 / 0.72);
  backdrop-filter: blur(12px);
}
.availability div { display: grid; gap: 2px; }
.availability span:not(.status-dot) { color: var(--muted); font-size: 0.88rem; }
.status-dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 5px var(--sage-soft);
}

.band {
  padding: 60px 0;
  border-block: 1px solid var(--line);
}
.content-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px; }
.content-grid article { padding-right: 24px; }
.content-grid p, .details p, .legal-content p, .contact p, footer,
.section-heading > p:last-child, .distribution-card p, .faq p {
  color: var(--muted);
}

.showcase { padding: 100px 0 56px; }
.section-heading {
  max-width: 820px;
  margin-bottom: 44px;
}
.section-heading > p:last-child { max-width: 680px; margin: 18px 0 0; }
.screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1180px;
  margin-inline: auto;
}
.screenshot-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 16px 50px rgb(23 33 43 / 0.06);
}
.screenshot-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;
  border-bottom: 1px solid var(--line);
}
.screenshot-card figcaption {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 20px 22px 22px;
}
.screenshot-card figcaption > span {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}
.screenshot-card figcaption div { display: grid; gap: 4px; }
.screenshot-card figcaption strong { font-size: 1.08rem; }
.screenshot-card figcaption p { margin: 0; color: var(--muted); }

.details {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  padding: 76px 0 92px;
}
.feature-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding-left: 1.2rem;
}
.feature-list li::marker { color: var(--sage); }
.note {
  align-self: start;
  border-left: 4px solid var(--sage);
  padding: 6px 0 6px 24px;
}
.note a { font-weight: 750; }

.distribution-card {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  padding: 48px;
  border: 1px solid #dfc79e;
  border-radius: 24px;
  background: var(--amber-soft);
}
.distribution-facts { display: grid; gap: 22px; }
.distribution-facts article { padding-bottom: 20px; border-bottom: 1px solid #dfc79e; }
.distribution-facts article:last-child { padding-bottom: 0; border-bottom: 0; }
.distribution-facts p { margin: 5px 0 0; }

.contact {
  justify-content: space-between;
  gap: 40px;
  margin: 84px 0;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}
.contact p { margin-bottom: 0; }

.legal-page { max-width: 920px; }
.legal-page h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); }
.updated {
  margin: -16px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.legal-content, .faq {
  display: grid;
  gap: 30px;
  padding-bottom: 52px;
}
.legal-content article, .faq article {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.legal-content article p:last-child, .faq article p:last-child { margin-bottom: 0; }
.pending-information {
  padding: 24px;
  border: 1px solid #dfc79e !important;
  border-radius: 16px;
  background: var(--amber-soft);
}
.support-callout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  margin: 8px 0 52px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.support-callout p { margin: 0; color: var(--muted); }
.support-status {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--amber-soft);
  color: var(--warning);
  font-size: 0.82rem;
  font-weight: 750;
  white-space: nowrap;
}
.back-link { margin: 0 0 72px; font-weight: 750; }

footer {
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}
footer p { margin: 0; }
.footer-links { flex-wrap: wrap; gap: 18px; }

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14181c;
    --surface: #1e2429;
    --surface-soft: #272d32;
    --ink: #f7f1e7;
    --muted: #b8b0a5;
    --line: #363d42;
    --sage: #91ab92;
    --sage-soft: #2e4133;
    --navy: #8db7dd;
    --amber: #d5a25f;
    --amber-soft: #302719;
    --warning: #e2b873;
  }
  .primary {
    background: #f7f1e7;
    border-color: #f7f1e7;
    color: #14181c;
  }
  .availability { background: rgb(30 36 41 / 0.8); }
}

@media (max-width: 920px) {
  .hero, .details, .content-grid, .distribution-card { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .app-presentation { justify-items: start; }
  .app-mark img { width: 190px; border-radius: 24px; }
  .contact { display: grid; }
}

@media (max-width: 720px) {
  .site-header, main, footer { width: min(100% - 28px, 1280px); }
  .site-header, nav, .actions, footer {
    align-items: flex-start;
    flex-direction: column;
  }
  nav { width: 100%; gap: 12px; }
  .hero, .legal-hero { padding: 46px 0 58px; }
  h1 { font-size: clamp(2.45rem, 13vw, 4.2rem); }
  .button { width: 100%; }
  .showcase { padding-top: 72px; }
  .screenshot-card { border-radius: 16px; }
  .distribution-card, .contact { padding: 26px; }
  .support-callout { grid-template-columns: 1fr; }
  .support-status { justify-self: start; white-space: normal; }
  .footer-links { align-items: flex-start; flex-direction: column; }
}

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