:root {
  color-scheme: light;
  --stone: #f4efe6;
  --stone-deep: #e8dfd1;
  --paper: rgba(255, 252, 248, 0.9);
  --forest: #254c38;
  --forest-soft: #6d8e7e;
  --text: #173126;
  --muted: #647468;
  --shadow: 0 20px 60px rgba(29, 55, 43, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "SF Pro Text", "Inter", system-ui, sans-serif;
  background:
    radial-gradient(circle at top, rgba(203, 225, 214, 0.5), transparent 38%),
    linear-gradient(180deg, #fbf7f0 0%, var(--stone) 100%);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.page,
.document {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.page {
  padding: 48px 0 80px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 40px;
  align-items: center;
  min-height: 82svh;
}

.hero-copy {
  display: grid;
  gap: 18px;
}

.app-icon {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0;
  color: var(--forest-soft);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Iowan Old Style", "Georgia", serif;
  font-weight: 600;
}

h1 {
  font-size: clamp(3.2rem, 7vw, 5.6rem);
  line-height: 0.95;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.lead,
section p,
section li,
.footer,
.button {
  font-size: 1.05rem;
  line-height: 1.6;
}

.lead {
  margin: 0;
  max-width: 40ch;
  color: var(--muted);
}

.hero-actions,
.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(180deg, #7fb79a 0%, #6eab8c 100%);
  color: white;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--forest);
  box-shadow: inset 0 0 0 1px rgba(37, 76, 56, 0.08);
}

.hero-surface,
.screen-card,
.values article,
.summary,
.document section {
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-surface {
  padding: 28px;
  border-radius: var(--radius-xl);
}

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

.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 20px 0 80px;
}

.values article,
.summary,
.document section {
  border-radius: var(--radius-lg);
  padding: 24px;
}

.values p,
.document p,
.document li {
  margin: 10px 0 0;
  color: var(--muted);
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.screens {
  margin-bottom: 80px;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.screen-card {
  padding: 18px;
  border-radius: var(--radius-lg);
}

.screen-card figcaption {
  margin-top: 14px;
  font-weight: 600;
}

.watch-card img {
  max-width: 240px;
  margin: 0 auto;
}

.summary-list {
  margin: 22px 0 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 10px;
}

.footer {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 32px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.document {
  padding: 48px 0 80px;
  max-width: 760px;
}

.document h1 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  margin-bottom: 16px;
}

.document section {
  margin-top: 20px;
}

.back-link {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--forest);
  font-weight: 600;
}

@media (max-width: 980px) {
  .hero,
  .values,
  .screen-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 24px;
  }
}
