:root {
  --ink: #61463d;
  --ink-soft: #73594f;
  --clay-dark: #b36553;
  --sage: #6a8b63;
  --border: rgba(239, 213, 200, 0.88);
  --shadow: rgba(97, 70, 61, 0.12);
  --page-width: min(1080px, calc(100vw - 40px));
  --display: "Baskerville", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --ui: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--ui);
  background:
    radial-gradient(circle at top left, rgba(246, 214, 200, 0.7), transparent 24%),
    radial-gradient(circle at 88% 16%, rgba(225, 236, 214, 0.82), transparent 20%),
    linear-gradient(180deg, #fffdf9 0%, #fff8f2 44%, #fffaf6 100%);
}

main {
  flex: 1;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

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

.page-shell {
  width: var(--page-width);
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding-bottom: 20px;
}

.site-header {
  padding: 22px 0 8px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  box-shadow: 0 14px 28px rgba(179, 101, 83, 0.16);
}

.brand-wordmark {
  width: 150px;
  height: auto;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  gap: 56px;
  align-items: center;
  padding: 22px 0 34px;
}

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

.eyebrow,
.section-kicker,
.step-number {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 248, 242, 0.92);
  color: var(--clay-dark);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2 {
  font-family: var(--display);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.hero-copy h1 {
  font-size: clamp(3.2rem, 6vw, 5.4rem);
  max-width: 7.5ch;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 11ch;
}

.lede,
.step-card p,
.footer-copy,
.footer-legal {
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.68;
}

.lede {
  max-width: 32ch;
}

.store-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.store-badge-link {
  display: inline-flex;
  align-items: center;
}

.store-badge-image {
  display: block;
  width: 168px;
  height: auto;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 18px 0;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
}

.hero-glow-clay {
  width: 320px;
  height: 320px;
  top: 18px;
  right: 18px;
  background: radial-gradient(circle, rgba(244, 214, 201, 0.72) 0%, rgba(244, 214, 201, 0) 72%);
}

.hero-glow-sage {
  width: 280px;
  height: 280px;
  right: -8px;
  bottom: 18px;
  background: radial-gradient(circle, rgba(225, 236, 214, 0.88) 0%, rgba(225, 236, 214, 0) 72%);
}

.device-shell {
  position: relative;
  width: min(392px, 92%);
  padding: 12px;
  border-radius: 42px;
  background: linear-gradient(180deg, #f8eee6 0%, #efe0d5 100%);
  border: 1px solid rgba(215, 139, 116, 0.18);
  box-shadow:
    0 24px 56px rgba(97, 70, 61, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.device-top-speaker {
  position: absolute;
  top: 16px;
  left: 50%;
  z-index: 2;
  width: 22%;
  height: 10px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(97, 70, 61, 0.16);
}

.device-screen-window {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1080 / 2050;
  border-radius: 30px;
  background: #fffaf5;
}

.device-screen-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.steps-section {
  display: grid;
  gap: 28px;
  padding-top: 26px;
  padding-bottom: 10px;
}

.section-heading-compact {
  gap: 14px;
}

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

.step-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255, 253, 251, 0.92);
  box-shadow: 0 18px 44px var(--shadow);
}

.step-number {
  padding: 0;
  border: 0;
  background: none;
}

.step-card h3 {
  font-size: 1.35rem;
}

.site-footer {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 28px 0 12px;
}

.footer-legal {
  max-width: 64ch;
  font-size: 0.76rem;
  line-height: 1.5;
}

@media (max-width: 960px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 16px;
    padding-bottom: 28px;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .hero-visual {
    padding: 4px 0 0;
  }

  .device-shell {
    width: min(392px, 100%);
  }

  .steps-section {
    padding-top: 20px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --page-width: min(100vw - 24px, 1080px);
  }

  .site-header {
    padding-top: 16px;
  }

  .brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 15px;
  }

  .brand-wordmark {
    width: 132px;
  }

  .hero-copy,
  .section-heading {
    gap: 16px;
  }

  .hero-copy h1 {
    font-size: clamp(2.7rem, 13vw, 4.1rem);
  }

  .section-heading h2 {
    font-size: clamp(1.9rem, 9vw, 2.5rem);
  }

  .store-badge-row {
    gap: 10px;
  }

  .store-badge-image {
    width: 156px;
  }

  .device-shell {
    width: min(352px, 100%);
    padding: 11px;
    border-radius: 36px;
  }

  .device-top-speaker {
    top: 14px;
    height: 9px;
  }

  .device-screen-window {
    border-radius: 26px;
  }

  .steps-section {
    gap: 22px;
    padding-top: 22px;
  }

  .step-card {
    padding: 22px;
    border-radius: 24px;
  }

  .site-footer {
    padding-top: 24px;
  }
}
