@font-face {
  font-family: "Nunito";
  src: url("./nunito-latin-wght-normal.ba344451ea.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --orange: #d97316;
  --orange-text: #b05a0a;
  --orange-hover: #b05a0a;
  --ink: #1f1913;
  --cream: #fbf7f3;
  --paper: #fffdfb;
  --muted: #7a6857;
  --legal: #4a3d31;
  --line: #ede4da;
  --chip: #f0e7de;
  --footer-muted: #cdbfb0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Nunito", system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--cream);
}

a {
  color: var(--orange-text);
  text-decoration: none;
}

a:hover {
  color: var(--orange-text);
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.hero a:focus-visible {
  outline-color: var(--ink);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.logo--light {
  color: var(--paper);
}

.logo-mark {
  display: block;
  width: 40px;
  height: 40px;
  overflow: visible;
}

.logo-mark path {
  fill: none;
  stroke: currentColor;
  stroke-width: 9.5;
  stroke-linecap: round;
}

.logo-mark circle {
  fill: currentColor;
}

.logo-wordmark {
  color: currentColor;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1;
}

.logo--compact {
  gap: 8px;
}

.logo--compact .logo-mark {
  width: 26px;
  height: 26px;
}

.logo--compact .logo-wordmark {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.logo--orange-mark {
  color: var(--orange);
}

.logo--orange-mark .logo-wordmark {
  color: var(--ink);
}

.logo-link {
  display: inline-flex;
}

.hero {
  overflow: hidden;
  background: var(--orange);
}

.hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 64px 0;
}

.site-header,
.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

.nav-pill:hover {
  background: var(--ink);
  color: var(--paper);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 40px;
  margin-top: 56px;
}

.hero__copy {
  padding: 0 0 110px;
}

.hero h1 {
  max-width: 560px;
  margin: 0;
  color: var(--paper);
  font-size: clamp(3.5rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  text-wrap: balance;
}

.hero__copy p {
  max-width: 440px;
  margin: 22px 0 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  text-wrap: pretty;
}

.app-store-link {
  display: inline-flex;
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 12px 22px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--paper);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.18;
  text-align: center;
}

.app-store-badge:hover {
  background: var(--orange-hover);
  color: var(--paper);
}

.app-store-badge--coming {
  cursor: default;
}

.app-store-badge--coming:hover {
  background: var(--ink);
}

.hero__copy > .app-store-link,
.hero__copy > .app-store-badge {
  margin-top: 34px;
}

.cta-card .app-store-link,
.cta-card > .app-store-badge {
  flex: none;
}

.hero__screens {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 24px;
  height: 500px;
}

.phone {
  width: 250px;
  overflow: hidden;
  border-radius: 38px 38px 0 0;
  background: var(--paper);
  box-shadow: 0 -10px 40px -10px rgb(60 30 0 / 40%);
}

.phone--short {
  height: 420px;
}

.phone--tall {
  height: 500px;
}

.phone picture,
.phone img,
.feature-row__media picture,
.feature-row__media img {
  display: block;
  width: 100%;
  height: auto;
}

main {
  display: block;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 100px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 120px;
}

.feature-row {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: center;
  gap: 96px;
}

.feature-row--image-right {
  grid-template-columns: minmax(0, 1fr) 280px;
}

.feature-row--image-right .feature-row__media {
  order: 2;
}

.feature-row--image-right .feature-row__copy {
  order: 1;
}

.feature-row__media {
  overflow: hidden;
  border-radius: 40px;
  background: var(--paper);
  box-shadow: 0 2px 6px rgb(60 40 20 / 10%), 0 24px 50px -24px rgb(60 40 20 / 34%);
}

.eyebrow {
  color: var(--orange-text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1;
}

.feature-row h2,
.faq-section h2,
.cta-card h2,
.legal-main h1,
.not-found-main h1 {
  margin: 14px 0 0;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.feature-row h2 {
  font-size: 44px;
  letter-spacing: -0.03em;
}

.feature-row p {
  max-width: 440px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
  text-wrap: pretty;
}

.faq-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 64px 96px;
}

.faq-section h2 {
  font-size: 44px;
}

.faq-list {
  margin-top: 32px;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 20px 48px 20px 0;
  color: var(--ink);
  cursor: pointer;
  font-size: 19px;
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::marker {
  content: "";
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  color: var(--ink);
  content: "+";
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 160ms ease;
}

.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-list details p {
  max-width: 760px;
  margin: -4px 0 20px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: calc(100% - 40px);
  max-width: 1072px;
  margin: 0 auto 64px;
  padding: 56px;
  border-radius: 32px;
  background: var(--ink);
}

.cta-card h2 {
  margin: 0;
  color: var(--paper);
  font-size: 40px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.cta-card .app-store-badge {
  background: var(--orange);
  color: var(--ink);
}

.cta-card .app-store-badge:hover {
  background: var(--orange-hover);
  color: var(--paper);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 64px;
  border-top: 1px solid var(--line);
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.site-footer nav,
.legal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.site-footer nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-footer nav a:hover {
  color: var(--orange-text);
}

.legal-page,
.not-found-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.legal-header {
  padding: 24px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}

.back-link {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.back-link:hover {
  color: var(--orange-text);
}

.legal-main {
  flex: 1;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}

.legal-tabs {
  gap: 8px;
}

.legal-tab {
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--legal);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.legal-tab:hover {
  background: var(--orange-text);
  color: var(--paper);
}

.legal-tab--active,
.legal-tab--active:hover {
  background: var(--ink);
  color: var(--paper);
}

.legal-main h1 {
  margin-top: 40px;
  font-size: 52px;
}

.legal-meta {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.legal-sections {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 44px;
}

.legal-sections h2 {
  margin: 0;
  color: var(--ink);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.legal-sections p {
  margin: 8px 0 0;
  color: var(--legal);
  font-size: 17px;
  line-height: 1.65;
  text-wrap: pretty;
  white-space: pre-line;
}

.legal-sections a {
  color: var(--orange-text);
}

.legal-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 64px);
  background: var(--ink);
  color: var(--footer-muted);
  font-size: 14px;
  font-weight: 600;
}

.legal-footer a {
  color: var(--orange);
  font-weight: 700;
}

.legal-footer a:hover {
  color: var(--paper);
}

.not-found-main {
  flex: 1;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 96px 24px;
}

.not-found-main h1 {
  font-size: clamp(3rem, 8vw, 5rem);
}

.not-found-main p {
  max-width: 540px;
  margin: 20px 0 32px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.nav-pill--dark {
  background: var(--ink);
  color: var(--paper);
}

.nav-pill--dark:hover {
  background: var(--orange-text);
  color: var(--paper);
}

@media (max-width: 900px) {
  .hero__inner {
    padding-right: 32px;
    padding-left: 32px;
  }

  .feature-list {
    padding-right: 64px;
    padding-left: 64px;
  }

  .feature-row {
    gap: 56px;
  }

  .site-footer {
    padding-right: 32px;
    padding-left: 32px;
  }
}

@media (max-width: 800px) {
  .hero__inner {
    padding: 22px 24px 0;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 48px;
  }

  .hero__copy {
    padding-bottom: 28px;
  }

  .hero h1 {
    max-width: 600px;
    font-size: clamp(3.2rem, 14vw, 5rem);
  }

  .hero__copy p {
    max-width: 560px;
    font-size: 18px;
  }

  .hero__screens {
    height: 360px;
    gap: 14px;
  }

  .phone {
    width: min(43vw, 220px);
    border-radius: 28px 28px 0 0;
  }

  .phone--short {
    height: 300px;
  }

  .phone--tall {
    height: 360px;
  }

  .feature-list {
    gap: 72px;
    padding: 72px 24px;
  }

  .feature-row,
  .feature-row--image-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .feature-row--image-right .feature-row__media,
  .feature-row--image-right .feature-row__copy {
    order: initial;
  }

  .feature-row__media {
    width: min(232px, 72vw);
    align-self: center;
    border-radius: 32px;
  }

  .feature-row h2,
  .faq-section h2 {
    font-size: 38px;
  }

  .feature-row p {
    font-size: 18px;
  }

  .faq-section {
    padding: 0 24px 72px;
  }

  .cta-card {
    align-items: flex-start;
    flex-direction: column;
    margin: 0 auto 48px;
    padding: 36px 28px;
  }

  .cta-card h2 {
    font-size: 36px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px;
  }

  .site-footer nav {
    gap: 14px 22px;
  }

  .legal-header {
    padding: 20px 24px;
  }

  .legal-main {
    padding: 44px 24px 72px;
  }

  .legal-main h1 {
    font-size: 44px;
  }
}

@media (max-width: 420px) {
  .logo-mark {
    width: 34px;
    height: 34px;
  }

  .logo-wordmark {
    font-size: 23px;
  }

  .nav-pill {
    min-height: 40px;
    padding: 10px 15px;
    font-size: 14px;
  }

  .hero__inner {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 14vw, 3.8rem);
  }

  .hero__screens {
    height: 310px;
  }

  .phone {
    width: min(43vw, 220px);
    border-radius: 24px 24px 0 0;
  }

  .phone--short {
    height: 258px;
  }

  .phone--tall {
    height: 310px;
  }

  .app-store-badge {
    padding-right: 18px;
    padding-left: 18px;
    font-size: 15px;
  }

  .legal-header {
    align-items: flex-start;
  }

  .back-link {
    font-size: 13px;
    text-align: right;
  }

  .legal-main h1 {
    font-size: 40px;
  }

  .legal-sections p {
    font-size: 16px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
