@font-face {
  font-family: "Lazy Display";
  src: url("Montserrat-Black.ttf") format("truetype");
  font-weight: 900;
  font-display: swap;
}

:root {
  --mint: #a3d9d2;
  --mint-bright: #c8f5eb;
  --mint-deep: #6bb8ae;
  --ink: #101411;
  --paper: #f8f5ed;
  --white: #ffffff;
  --yellow: #eafd84;
  --coral: #ff927a;
  --muted: #56605b;
  --danger: #a1261d;
  --border: 2px solid var(--ink);
  --shadow-sm: 5px 5px 0 var(--ink);
  --shadow-lg: 10px 10px 0 var(--ink);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --shell: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid #17685f;
  outline-offset: 4px;
}

.site-body {
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.55;
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border: var(--border);
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: var(--border);
  background: var(--mint);
}

.site-nav {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-family: "Lazy Display", Impact, sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: var(--border);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 1.1rem;
  letter-spacing: 0;
  line-height: 1;
  transform: rotate(-6deg);
}

.nav-cta {
  min-height: 44px;
  padding: 9px 18px;
  border: var(--border);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.nav-cta:hover {
  box-shadow: 1px 1px 0 var(--ink);
  transform: translate(2px, 2px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-store-badge {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: opacity 150ms ease, transform 150ms ease;
}

.nav-store-badge:hover {
  opacity: 0.86;
  transform: translateY(-1px);
}

.nav-store-badge img {
  width: auto;
  height: 42px;
}

.hero {
  display: grid;
  min-height: 620px;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  align-items: center;
  gap: clamp(34px, 5vw, 68px);
  padding-block: clamp(52px, 7vw, 88px);
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.privacy-copy h2,
.final-cta h2,
.auth-card h1,
.state-card h1 {
  margin: 0;
  font-family: "Lazy Display", Impact, sans-serif;
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.hero h1 {
  max-width: 620px;
  font-size: clamp(3.5rem, 7vw, 6.65rem);
}

.hero-lede {
  max-width: 610px;
  margin: 28px 0 0;
  color: #303733;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: var(--border);
  border-radius: 999px;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.button-primary {
  color: var(--white);
  background: var(--ink);
  box-shadow: 5px 5px 0 var(--mint-deep);
}

.button-secondary {
  background: var(--white);
  box-shadow: 5px 5px 0 var(--ink);
}

.button:hover:not(:disabled) {
  box-shadow: 2px 2px 0 var(--mint-deep);
  transform: translate(3px, 3px);
}

.button-secondary:hover:not(:disabled) {
  box-shadow: 2px 2px 0 var(--ink);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.platform-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.status-dot {
  width: 9px;
  height: 9px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: #61c878;
  box-shadow: 1px 1px 0 var(--ink);
}

.hero-visual {
  position: relative;
  margin: 0;
}

.phone-stage {
  position: relative;
  padding: clamp(24px, 4vw, 50px) 12px;
  border: var(--border);
  border-radius: var(--radius-lg);
  background: var(--mint);
  box-shadow: var(--shadow-lg);
}

.phone-stage::before,
.phone-stage::after {
  position: absolute;
  content: "";
  border: var(--border);
  border-radius: 50%;
}

.phone-stage::before {
  top: 20px;
  right: 24px;
  width: 18px;
  height: 18px;
  background: var(--yellow);
}

.phone-stage::after {
  bottom: 24px;
  left: 26px;
  width: 13px;
  height: 13px;
  background: var(--coral);
}

.phone-stage img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 22px rgba(16, 20, 17, 0.2));
  transform: scale(1.02);
}

.hero-visual figcaption {
  max-width: 420px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

.visual-note {
  position: absolute;
  z-index: 3;
  top: -26px;
  right: -20px;
  padding: 9px 15px;
  border: var(--border);
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(7deg);
}

.trust-strip {
  border-block: var(--border);
  background: var(--white);
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.trust-list p {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 16px;
  font-size: 0.92rem;
  font-weight: 800;
  text-align: center;
}

.trust-list p + p {
  border-left: 1px solid var(--ink);
}

.trust-list span {
  display: inline-grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--mint-bright);
  font-size: 0.7rem;
}

.section {
  padding-block: clamp(68px, 8vw, 104px);
}

.section-heading {
  max-width: 690px;
  margin-bottom: 40px;
}

.section-heading h2,
.privacy-copy h2,
.final-cta h2 {
  font-size: clamp(3rem, 6vw, 5.6rem);
}

.section-heading > p:last-child {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
}

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

.feature-card {
  position: relative;
  min-height: 390px;
  padding: 32px;
  border: var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.feature-card-yellow {
  background: var(--yellow);
  transform: rotate(-1deg);
}

.feature-card-coral {
  background: var(--coral);
  transform: translateY(18px) rotate(1deg);
}

.feature-card-white {
  background: var(--white);
  transform: rotate(-0.5deg);
}

.feature-number {
  position: absolute;
  top: 25px;
  right: 28px;
  font-size: 0.78rem;
  font-weight: 900;
}

.feature-icon {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  margin: 60px 0 46px;
  border: var(--border);
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 1.75rem;
}

.feature-card h3,
.privacy-points h3,
.steps-list h3 {
  margin: 0;
  font-family: "Lazy Display", Impact, sans-serif;
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1;
}

.feature-card p {
  margin: 16px 0 0;
  line-height: 1.5;
}

.privacy-section {
  overflow: hidden;
  border-block: var(--border);
  color: var(--white);
  background: var(--ink);
}

.privacy-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(46px, 7vw, 88px);
  padding-block: clamp(68px, 8vw, 104px);
}

.eyebrow-light {
  color: var(--mint-bright);
}

.privacy-copy > p:not(.eyebrow) {
  max-width: 510px;
  margin: 28px 0;
  color: #cbd2ce;
  font-size: 1.08rem;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  font-weight: 850;
  text-underline-offset: 4px;
}

.text-link-light {
  color: var(--yellow);
}

.privacy-points {
  border-top: 1px solid #4c5550;
}

.privacy-points article {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 22px;
  padding: 30px 0;
  border-bottom: 1px solid #4c5550;
}

.privacy-points article > span {
  color: var(--mint-bright);
  font-size: 0.75rem;
  font-weight: 900;
}

.privacy-points h3 {
  font-size: 1.45rem;
}

.privacy-points p {
  margin: 10px 0 0;
  color: #cbd2ce;
  line-height: 1.5;
}

.section-heading-centered {
  margin-inline: auto;
  text-align: center;
}

.steps-list {
  display: grid;
  max-width: 960px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.steps-list li {
  display: grid;
  grid-template-columns: 86px 1fr;
  align-items: center;
  gap: 28px;
  padding: 30px 0;
  border-top: 1px solid #aeb6b0;
}

.steps-list li:last-child {
  border-bottom: 1px solid #aeb6b0;
}

.step-dot {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: var(--border);
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: "Lazy Display", Impact, sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
}

.steps-list p {
  margin: 8px 0 0;
  color: var(--muted);
}

.final-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 50px;
  margin-bottom: clamp(56px, 7vw, 82px);
  padding: clamp(40px, 5vw, 62px);
  border: var(--border);
  border-radius: var(--radius-lg);
  background: var(--mint);
  box-shadow: var(--shadow-lg);
}

.final-actions {
  max-width: 310px;
}

.final-actions p {
  margin: 22px 0 0;
  font-size: 0.92rem;
}

.final-actions p a {
  font-weight: 800;
  text-underline-offset: 3px;
}

.site-footer {
  margin: 0;
  padding: 38px 0;
  border-top: var(--border);
  background: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 750;
  text-underline-offset: 4px;
}

.footer-text {
  justify-self: end;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

/* Signup, verification, status, download, and error pages */
.flow-page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  background: var(--mint);
}

.flow-page main {
  display: grid;
  flex: 1;
  place-items: center;
  padding: 60px 20px 80px;
}

.auth-card,
.state-card {
  width: min(100%, 580px);
  padding: clamp(30px, 6vw, 58px);
  border: var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.auth-card h1,
.state-card h1 {
  font-size: clamp(2.8rem, 10vw, 4.7rem);
}

.flow-kicker {
  margin: 0 0 16px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.flow-lede {
  margin: 20px 0 30px;
  color: var(--muted);
}

.field-label {
  display: block;
  margin-bottom: 9px;
  font-size: 0.9rem;
  font-weight: 850;
}

.phone-input-container {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 10px;
}

.field-control,
#countryCode,
#phoneNumber,
#verificationCode {
  width: 100%;
  min-height: 54px;
  padding: 12px 14px;
  border: var(--border);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: var(--white);
  font-size: 1rem;
}

#verificationCode {
  font-size: 1.45rem;
  letter-spacing: 0.35em;
  text-align: center;
}

.form-button {
  width: 100%;
  margin-top: 18px;
}

.form-help,
.small-text {
  color: var(--muted);
  font-size: 0.82rem;
}

.small-text {
  margin: 26px 0 0;
}

.small-text a,
.flow-link {
  font-weight: 750;
  text-underline-offset: 3px;
}

.error-message {
  min-height: 1.5em;
  margin: 14px 0 0;
  color: var(--danger);
  font-size: 0.88rem;
  font-weight: 700;
}

.loading-spinner {
  display: none;
  width: 24px;
  height: 24px;
  margin: 18px auto 0;
  border: 3px solid #d3d8d5;
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin 750ms linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.verification-container {
  display: grid;
  gap: 12px;
}

#resendCodeBtn {
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 0 auto;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

#timerText,
#resendFeedback {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
}

.store-badge {
  display: inline-block;
  margin-top: 22px;
}

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

.state-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.state-icon {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  margin-bottom: 34px;
  border: var(--border);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
  font-family: "Lazy Display", Impact, sans-serif;
  font-size: 2rem;
  font-weight: 900;
  transform: rotate(-5deg);
}

.state-icon-arrow {
  background: var(--coral);
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 56px;
  }

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

  .hero-visual {
    width: min(100%, 680px);
    margin-inline: auto;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .feature-card {
    min-height: 300px;
  }

  .feature-card-coral {
    transform: rotate(1deg);
  }

  .feature-icon {
    margin: 38px 0 36px;
  }

  .privacy-grid,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .final-actions {
    max-width: none;
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
  }

  .footer-text {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .site-nav {
    min-height: 70px;
    gap: 12px;
  }

  .brand {
    font-size: 1.12rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .nav-cta {
    padding-inline: 12px;
    font-size: 0.82rem;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-store-badge img {
    height: 36px;
  }

  .hero {
    gap: 46px;
    padding-block: 46px 60px;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 17vw, 5rem);
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .visual-note {
    top: -22px;
    right: 6px;
  }

  .phone-stage {
    padding: 30px 4px;
    border-radius: 24px;
    box-shadow: 7px 7px 0 var(--ink);
  }

  .trust-list {
    grid-template-columns: 1fr;
    padding-block: 7px;
  }

  .trust-list p {
    min-height: 54px;
    justify-content: flex-start;
    text-align: left;
  }

  .trust-list p + p {
    border-top: 1px solid #c6ccc8;
    border-left: 0;
  }

  .section-heading h2,
  .privacy-copy h2,
  .final-cta h2 {
    font-size: clamp(2.8rem, 15vw, 4.2rem);
  }

  .feature-card {
    min-height: 320px;
    padding: 26px;
  }

  .section {
    padding-block: 64px;
  }

  .privacy-grid {
    gap: 42px;
  }

  .privacy-points article {
    grid-template-columns: 34px 1fr;
    gap: 12px;
  }

  .steps-list li {
    grid-template-columns: 58px 1fr;
    gap: 18px;
  }

  .step-dot {
    width: 52px;
    height: 52px;
  }

  .final-cta {
    width: min(calc(100% - 28px), var(--shell));
    gap: 36px;
    padding: 34px 24px;
    border-radius: 24px;
    box-shadow: 7px 7px 0 var(--ink);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    justify-items: start;
  }

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

  .footer-text {
    grid-column: auto;
  }

  .flow-page main {
    padding: 38px 14px 60px;
  }

  .auth-card,
  .state-card {
    padding: 34px 24px;
    border-radius: 24px;
    box-shadow: 7px 7px 0 var(--ink);
  }

  .phone-input-container {
    grid-template-columns: 104px 1fr;
  }
}

@media (max-width: 370px) {
  .homepage .brand-word {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

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

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