:root {
  --blue: #4779b4;
  --blue-dark: #315f95;
  --blue-soft: #e8f0f8;
  --brown: #ac6f40;
  --roast: #704326;
  --brown-dark: #704326;
  --brown-soft: #f3e5d8;
  --cream: #f7f1ea;
  --paper: #ffffff;
  --ink: #263442;
  --muted: #6c7580;
  --line: #dde5ed;
  --shadow: 0 24px 70px rgba(49, 95, 149, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: "DM Sans", sans-serif; font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.site-header { width: min(1180px, calc(100% - 40px)); height: 92px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: Manrope, sans-serif; font-size: 1.17rem; font-weight: 800; letter-spacing: -.04em; }
.brand img { border-radius: 13px; box-shadow: 0 8px 24px rgba(112, 67, 38, .13); }
nav { display: flex; align-items: center; gap: 30px; font-weight: 700; font-size: .93rem; }
nav a:not(.nav-cta):hover { color: var(--blue); }
.nav-cta { color: var(--paper); background: var(--blue-dark); padding: 10px 18px; border-radius: 999px; }

.hero { min-height: calc(100vh - 92px); width: min(1180px, calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: 1.02fr .98fr; gap: 5vw; align-items: center; padding: 56px 0 100px; }
.eyebrow, .section-kicker { margin: 0 0 18px; color: var(--blue-dark); font-size: .79rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 22px; height: 2px; background: var(--brown); }
h1, h2, h3 { font-family: Manrope, sans-serif; line-height: 1.08; margin: 0; letter-spacing: -.045em; }
h1 { font-size: clamp(3.25rem, 6.2vw, 6.25rem); color: var(--blue-dark); }
h1 em { color: var(--brown); font-style: normal; }
.hero-text { max-width: 610px; margin: 28px 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { min-height: 54px; padding: 0 24px; border: 1px solid transparent; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--brown); color: var(--paper); box-shadow: 0 14px 30px rgba(172, 111, 64, .22); }
.button-secondary { background: rgba(255,255,255,.55); border-color: var(--line); color: var(--blue-dark); }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; color: var(--muted); font-size: .86rem; font-weight: 600; }
.trust-row span::before { content: "✓"; margin-right: 7px; color: var(--brown); font-weight: 900; }

.hero-visual { position: relative; min-height: 650px; display: grid; place-items: center; }
.hero-visual::before { content: ""; position: absolute; inset: 6% 0 2%; border-radius: 46% 54% 43% 57% / 58% 45% 55% 42%; background: var(--blue-soft); transform: rotate(-5deg); }
.phone { width: min(346px, 82vw); min-height: 658px; position: relative; z-index: 1; overflow: hidden; border: 9px solid #223445; border-radius: 47px; background: var(--cream); box-shadow: var(--shadow), 0 0 0 1px rgba(38,52,66,.25); padding: 14px 16px 80px; transform: rotate(2deg); }
.phone::before { content: ""; position: absolute; z-index: 3; width: 110px; height: 23px; left: 50%; top: 0; transform: translateX(-50%); background: #223445; border-radius: 0 0 15px 15px; }
.phone-bar { display: flex; justify-content: space-between; padding: 2px 5px 12px; font-size: .62rem; font-weight: 800; }
.app-head { display: flex; justify-content: space-between; align-items: center; margin: 12px 3px 18px; }
.app-head small { color: var(--brown); display: block; font-size: .57rem; letter-spacing: .13em; font-weight: 800; }
.app-head strong { color: var(--blue-dark); display: block; font: 800 1.35rem/1.3 Manrope, sans-serif; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--paper); background: var(--blue); font-size: .67rem; font-weight: 800; }
.avatar-blue { background: var(--blue); }
.avatar-brown { background: var(--brown); }
.checkin-card { padding: 14px; margin-bottom: 11px; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 8px 20px rgba(49,95,149,.06); }
.checkin-person { display: flex; gap: 9px; align-items: center; }
.checkin-person > div:nth-child(2) { flex: 1; }
.checkin-person strong { display: block; font-size: .76rem; }
.checkin-person small { display: block; color: var(--muted); font-size: .57rem; line-height: 1.4; }
.coffee-bubble { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); font-size: 1.12rem; }
.checkin-card > p { margin: 12px 0 0; font-size: .78rem; }
.checkin-card blockquote { margin: 6px 0 0; color: var(--roast); font-size: .68rem; }
.place { margin-top: 8px; color: var(--muted); font-size: .57rem; }
.card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: .57rem; }
.cheers-demo { border: 0; border-radius: 999px; padding: 7px 11px; background: var(--blue); color: white; cursor: pointer; font-size: .62rem; font-weight: 800; transition: background .2s ease, transform .2s ease; }
.cheers-demo:active { transform: scale(.95); }
.compact-card { opacity: .96; }
.floating-checkin { position: absolute; right: 20px; bottom: 69px; display: flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; padding: 11px 15px; background: var(--brown); color: var(--paper); box-shadow: 0 10px 22px rgba(172,111,64,.32); font-weight: 800; font-size: .7rem; }
.app-nav { position: absolute; inset: auto 0 0; height: 63px; display: grid; grid-template-columns: repeat(4,1fr); background: var(--paper); border-top: 1px solid var(--line); }
.app-nav span { display: grid; place-items: center; align-content: center; color: #9aa5af; font-size: .96rem; }
.app-nav small { display: block; font-size: .48rem; font-weight: 700; }
.app-nav .active { color: var(--blue); }
.orbit { position: absolute; z-index: 2; width: 75px; height: 75px; border-radius: 24px; display: grid; place-items: center; background: var(--paper); box-shadow: var(--shadow); font-size: 2rem; }
.orbit-one { left: 4%; top: 16%; transform: rotate(-11deg); }
.orbit-two { right: 2%; bottom: 20%; transform: rotate(10deg); }

.feature-strip { background: var(--blue-dark); color: var(--paper); display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; }
.feature-strip article { min-height: 210px; padding: 45px max(28px, 4vw); display: flex; align-items: flex-start; gap: 18px; border-right: 1px solid rgba(255,255,255,.12); }
.feature-strip article:last-child { border: 0; }
.feature-icon { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; border-radius: 15px; background: rgba(255,255,255,.11); font-size: 1.3rem; }
.feature-strip strong { font: 800 1.13rem Manrope, sans-serif; }
.feature-strip p { margin: 8px 0 0; color: rgba(255,255,255,.7); font-size: .92rem; line-height: 1.6; }

.story { width: min(1080px, calc(100% - 40px)); margin: 0 auto; padding: 130px 0; display: grid; grid-template-columns: .85fr 1.15fr; gap: 8vw; }
.story h2, .join h2 { color: var(--blue-dark); font-size: clamp(2.35rem, 4.3vw, 4rem); }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 0 0 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.steps li:last-child { margin-bottom: 0; }
.steps li > span { color: var(--brown); font: 800 .8rem Manrope, sans-serif; letter-spacing: .1em; }
.steps h3 { color: var(--ink); font-size: 1.25rem; }
.steps p { margin: 9px 0 0; color: var(--muted); }

.details { width: min(1180px, calc(100% - 40px)); margin: 0 auto 130px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.detail-card { min-height: 565px; overflow: hidden; position: relative; padding: clamp(30px, 5vw, 60px); border-radius: 36px; }
.detail-card > span { font-size: .72rem; font-weight: 800; letter-spacing: .14em; }
.detail-card h3 { max-width: 450px; margin-top: 16px; font-size: clamp(2rem, 3.4vw, 3.25rem); }
.detail-card > p { max-width: 450px; margin: 20px 0 0; line-height: 1.7; }
.detail-blue { background: var(--blue); color: var(--paper); }
.detail-blue > p { color: rgba(255,255,255,.75); }
.detail-cream { background: #ead8c8; color: var(--roast); }
.detail-cream > p { color: #815b42; }
.map-card { position: absolute; width: 82%; height: 210px; left: 9%; bottom: -20px; border: 10px solid rgba(255,255,255,.9); border-radius: 30px 30px 0 0; overflow: hidden; background: #dbe8e5; box-shadow: 0 -12px 35px rgba(24,49,75,.2); }
.road { position: absolute; display: block; width: 150%; height: 28px; background: #fff; transform-origin: center; box-shadow: 0 0 0 1px #cbd8d6; }
.road-one { left: -25%; top: 42%; transform: rotate(-14deg); }
.road-two { left: -35%; top: 62%; transform: rotate(26deg); }
.pin { position: absolute; z-index: 2; width: 43px; height: 43px; display: grid; place-items: center; border-radius: 50% 50% 50% 5px; background: var(--brown); transform: rotate(-45deg); box-shadow: 0 8px 16px rgba(38,52,66,.2); }
.pin::first-letter { transform: rotate(45deg); }
.pin-one { left: 25%; top: 20%; }
.pin-two { right: 22%; bottom: 22%; background: var(--blue-dark); }
.you { position: absolute; z-index: 2; left: 49%; top: 48%; padding: 5px 9px; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: .66rem; }
.stats-card { position: absolute; left: 9%; right: 9%; bottom: 44px; display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.stats-card div { min-height: 125px; display: grid; place-items: center; align-content: center; border-radius: 24px; background: rgba(255,255,255,.82); border: 1px solid rgba(112,67,38,.1); }
.stats-card strong { font: 800 2rem Manrope, sans-serif; color: var(--blue-dark); }
.stats-card small { color: var(--muted); font-weight: 700; }

.join { width: min(1180px, calc(100% - 40px)); margin: 0 auto 55px; padding: 64px; display: grid; grid-template-columns: auto 1fr auto; gap: 36px; align-items: center; border-radius: 38px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 22px 60px rgba(49,95,149,.08); }
.join > img { border-radius: 29px; }
.join h2 { max-width: 620px; font-size: clamp(2rem, 3vw, 3.2rem); }
.store-wrap { max-width: 230px; text-align: center; }
.status-pill { display: inline-flex; padding: 10px 15px; border-radius: 999px; color: var(--paper); background: var(--blue-dark); font-size: .8rem; font-weight: 800; }
.store-wrap p { margin: 10px 0 0; color: var(--muted); font-size: .82rem; }

footer { width: min(1180px, calc(100% - 40px)); min-height: 110px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); font-size: .85rem; }
.footer-brand { color: var(--ink); }
.footer-links { display: flex; align-items: center; justify-content: center; gap: 22px; font-weight: 700; }
.footer-links a:hover { color: var(--blue-dark); }

@media (max-width: 900px) {
  nav a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 62px; }
  .hero-copy { display: grid; justify-items: center; }
  .eyebrow { justify-content: center; }
  .trust-row { justify-content: center; }
  .hero-visual { min-height: 690px; }
  .feature-strip { grid-template-columns: 1fr; }
  .feature-strip article { min-height: 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .story { grid-template-columns: 1fr; gap: 70px; }
  .details { grid-template-columns: 1fr; }
  .join { grid-template-columns: auto 1fr; }
  .store-wrap { grid-column: 1 / -1; max-width: none; text-align: left; }
}

@media (max-width: 600px) {
  .site-header, .hero, .story, .details, .join, footer { width: min(100% - 28px, 1180px); }
  .site-header { height: 78px; }
  .brand img { width: 42px; height: 42px; }
  .nav-cta { padding: 9px 14px; font-size: .84rem; }
  .hero { min-height: auto; padding: 45px 0 80px; }
  h1 { font-size: clamp(3.05rem, 16vw, 4.25rem); }
  .hero-text { font-size: 1.02rem; }
  .hero-actions { width: 100%; }
  .button { width: 100%; }
  .hero-visual { min-height: 635px; margin-top: 20px; }
  .phone { transform: rotate(0); min-height: 620px; }
  .orbit { width: 60px; height: 60px; border-radius: 19px; font-size: 1.55rem; }
  .orbit-one { left: -4%; }
  .orbit-two { right: -3%; }
  .feature-strip article { padding: 34px 24px; }
  .story { padding: 90px 0; }
  .steps li { grid-template-columns: 45px 1fr; }
  .details { margin-bottom: 90px; }
  .detail-card { min-height: 520px; border-radius: 28px; }
  .stats-card { left: 5%; right: 5%; }
  .stats-card strong { font-size: 1.55rem; }
  .join { padding: 34px 26px; grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .store-wrap { text-align: center; }
  footer { padding: 35px 0; flex-direction: column; text-align: center; }
  .footer-links { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
