@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/Fraunces-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/Nunito-Variable.ttf") format("truetype");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #eeebe6;
  --paper: #f8f4ed;
  --surface: #ffffff;
  --text: #343434;
  --muted: #6b6253;
  --line: rgba(52, 52, 52, 0.14);
  --cta: #c58671;
  --cta-dark: #9d6655;
  --sage: #7abc7c;
  --lavender: #9486a5;
  --dark: #3d3430;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
}

.topbar {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1120px;
  padding: 22px 22px 0;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  overflow: hidden;
  width: 38px;
}

.brand-mark img {
  height: 34px;
  width: 34px;
}

.nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--text);
}

.section {
  margin: 0 auto;
  max-width: 1120px;
  padding: 86px 22px;
}

.hero {
  align-items: center;
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  min-height: calc(100vh - 72px);
  padding-top: 34px;
}

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

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, serif;
  font-variation-settings: "SOFT" 30;
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.03;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(42px, 6.3vw, 76px);
  max-width: 760px;
}

h2 {
  font-size: clamp(31px, 4vw, 50px);
}

h3 {
  font-size: 24px;
}

.lead {
  color: var(--muted);
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 750;
  line-height: 1.35;
  margin: 24px 0 0;
  max-width: 620px;
}

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

.store-actions {
  gap: 18px;
}

.app-store-badge {
  display: inline-flex;
  line-height: 0;
  min-height: 40px;
}

.app-store-badge img {
  height: 52px;
  width: auto;
}

.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  text-decoration: none;
}

.button-primary {
  background: var(--cta);
  box-shadow: 0 5px 0 var(--cta-dark);
  color: #fff;
}

.button-secondary {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
}

.availability {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  margin-top: 20px;
}

.hero-visual {
  min-height: 560px;
  position: relative;
}

.phone-stack {
  height: 570px;
  margin-inline: auto;
  max-width: 420px;
  position: relative;
}

.phone-shot {
  background: #111;
  border: 10px solid #111;
  border-radius: 38px;
  box-shadow: 0 28px 55px rgba(61, 52, 48, 0.22);
  overflow: hidden;
  position: absolute;
  aspect-ratio: 393 / 852;
  width: min(255px, 62vw);
}

.phone-shot img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.mock-shot {
  background: #111;
}

.mock-screen {
  background: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  padding: 30px 24px;
  position: relative;
  text-align: center;
}

.mock-screen h3 {
  font-size: 26px;
  line-height: 1.02;
  margin: 10px 0 12px;
}

.mock-screen p,
.mock-screen li {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.28;
}

.mock-kicker {
  font-size: 12px;
  font-weight: 900;
  margin: 0;
  text-transform: uppercase;
}

.mock-mascot {
  align-self: center;
  height: 86px;
  margin-bottom: 18px;
  opacity: 0.92;
  width: 86px;
}

.mock-pill {
  align-self: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  padding: 10px 18px;
}

.mock-line {
  align-self: center;
  background: rgba(107, 98, 83, 0.2);
  border-radius: 999px;
  display: block;
  height: 7px;
  margin-top: 18px;
  width: 112px;
}

.mock-line.short {
  margin-top: 9px;
  width: 74px;
}

.mock-close {
  color: var(--muted);
  font-size: 28px;
  position: absolute;
  right: 20px;
  top: 16px;
}

.mock-paywall ul {
  list-style: none;
  margin: 16px auto 22px;
  padding: 0;
  text-align: left;
}

.mock-paywall li {
  margin: 8px 0;
}

.mock-cta {
  align-self: center;
  background: var(--cta);
  border-radius: 999px;
  box-shadow: 0 4px 0 var(--cta-dark);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  margin-top: 18px;
  padding: 11px 18px;
}

.phone-shot.primary {
  left: 76px;
  top: 0;
  z-index: 3;
}

.phone-shot.secondary {
  left: 0;
  top: 92px;
  transform: rotate(-7deg) scale(0.88);
  z-index: 2;
}

.phone-shot.tertiary {
  right: 0;
  top: 118px;
  transform: rotate(6deg) scale(0.84);
  z-index: 1;
}

.band {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.intro-grid,
.feature-grid,
.support-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 38px;
}

.feature,
.support-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.feature-icon {
  align-items: center;
  background: var(--bg);
  border-radius: 999px;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  margin-bottom: 18px;
  width: 42px;
}

.feature p,
.support-card p {
  color: var(--muted);
  margin: 12px 0 0;
}

.quote-strip {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: 0.8fr 1fr;
}

.quote-strip h2 {
  font-size: clamp(33px, 3.8vw, 52px);
  line-height: 1.03;
}

.quote-strip .lead {
  font-size: clamp(18px, 2vw, 21px);
  font-weight: 700;
  line-height: 1.42;
  margin-top: 22px;
  max-width: 720px;
}

.quote-card {
  background: var(--dark);
  border-radius: 8px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 245px;
  padding: 42px;
}

.quote-card p {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(30px, 4vw, 46px);
  font-variation-settings: "SOFT" 30;
  font-weight: 740;
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0;
}

.quote-card small {
  color: rgba(255, 255, 255, 0.7);
  display: block;
  font-weight: 800;
  margin-top: 24px;
}

.quote-copy {
  align-self: center;
}

.legal-layout {
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  padding-top: 64px;
}

.legal-aside {
  align-self: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  position: sticky;
  top: 22px;
}

.legal-aside a {
  color: var(--muted);
  display: block;
  font-size: 14px;
  font-weight: 850;
  padding: 8px 0;
  text-decoration: none;
}

.legal-content {
  max-width: 820px;
}

.legal-content h1 {
  font-size: clamp(38px, 5vw, 60px);
}

.legal-content h2 {
  border-top: 1px solid var(--line);
  font-size: 30px;
  margin-top: 42px;
  padding-top: 34px;
}

.legal-content h3 {
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 20px;
  margin-top: 24px;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content ul {
  padding-left: 22px;
}

.notice {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 6px solid var(--sage);
  border-radius: 8px;
  margin: 28px 0;
  padding: 18px 20px;
}

.footer {
  background: var(--dark);
  color: #fff;
  margin-top: 60px;
}

.footer-inner {
  align-items: start;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1120px;
  padding: 34px 22px;
}

.footer a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 850;
  text-decoration: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}

.muted {
  color: var(--muted);
}

@media (max-width: 840px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero,
  .quote-strip,
  .legal-layout {
    grid-template-columns: 1fr;
  }

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

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

  .phone-stack {
    height: 500px;
  }

  .phone-shot.primary {
    left: 50%;
    transform: translateX(-50%);
  }

  .phone-shot.secondary,
  .phone-shot.tertiary {
    opacity: 0.62;
  }

  .intro-grid,
  .feature-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .legal-aside {
    position: static;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .section {
    padding: 64px 18px;
  }

  .phone-shot {
    border-radius: 30px;
    width: 220px;
  }

  .phone-shot.secondary {
    left: -10px;
  }

  .phone-shot.tertiary {
    right: -10px;
  }

  .app-store-badge img {
    height: 48px;
  }
}
