:root {
  color-scheme: light;
  --ink: #3a261f;
  --muted: #7a675d;
  --paper: #fff8f1;
  --surface: #ffffff;
  --line: #ead7c9;
  --brand: #ea7a3d;
  --brand-dark: #8f3f26;
  --brand-soft: #ffd9bd;
  --cream: #fff0cf;
  --accent: #8f667e;
  --shadow: 0 20px 60px rgba(58, 38, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 217, 189, 0.58), rgba(255, 248, 241, 0) 440px),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 16px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(58, 38, 31, 0.08);
  background: rgba(255, 248, 241, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  min-height: calc(100svh - 72px);
  padding: clamp(42px, 7vw, 96px) clamp(20px, 5vw, 72px) 54px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 12ch;
  color: var(--ink);
  font-size: clamp(58px, 8.4vw, 112px);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 100%;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.95;
  white-space: nowrap;
}

.hero-text {
  max-width: 640px;
  margin: 30px 0 0;
  color: #63483b;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.status-pill {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
}

.status-pill {
  padding: 0 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
}

.app-store-link {
  display: inline-flex;
  border-radius: 8px;
  line-height: 0;
  text-decoration: none;
}

.app-store-badge {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
}

.app-store-link:focus-visible {
  outline: 3px solid var(--brand-soft);
  outline-offset: 3px;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
}

.hero-visual::before {
  position: absolute;
  inset: 8% 0 0 5%;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--brand-soft), var(--cream));
  content: "";
  transform: rotate(-3deg);
}

.hero-visual img {
  position: relative;
  width: min(100%, 520px);
  height: auto;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.section,
.info-band {
  margin: 0 clamp(20px, 5vw, 72px);
}

.section {
  padding: 72px 0 82px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 28px;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-grid article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.feature-grid p,
.info-band p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.info-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  padding: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-dark), #5b3229);
  color: #fff;
}

.info-band .eyebrow,
.info-band h2,
.info-band p {
  color: #fff;
}

.info-band p {
  margin: 0;
  opacity: 0.86;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 72px) 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a {
  font-weight: 800;
  text-decoration: none;
}

.document-page {
  padding: clamp(36px, 6vw, 72px) clamp(20px, 5vw, 72px) 82px;
}

.legal-document {
  max-width: 880px;
  margin: 0 auto;
}

.legal-document h1 {
  max-width: 18ch;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 1.08;
}

.document-updated {
  margin: 20px 0 44px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
}

.legal-document section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.legal-document h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.14;
}

.legal-document p,
.legal-document li {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.legal-document p {
  margin: 16px 0 0;
}

.legal-document ul {
  margin: 18px 0 0;
  padding-left: 24px;
}

.legal-document li + li {
  margin-top: 10px;
}

@media (max-width: 860px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    min-height: 260px;
  }

  .section-heading,
  .feature-grid,
  .info-band {
    grid-template-columns: 1fr;
  }

  .info-band {
    padding: 28px;
  }
}

@media (max-width: 520px) {
  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  h1 {
    font-size: clamp(48px, 15vw, 68px);
  }

  .status-pill {
    width: 100%;
  }
}
