:root {
  --cream: #f7f4e9;
  --ink: #11162a;
  --cobalt: #3347d8;
  --yellow: #ffd84d;
  --muted: #777c8f;
  --rule: #11162a;
  --white: #fff;
  --display: "Arial Narrow", "Avenir Next Condensed", "Helvetica Neue", Arial, sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--cream); color: var(--ink); font-family: var(--body); }
a { color: inherit; }
button { font: inherit; }
.skip-link { position: absolute; z-index: 99; top: -60px; left: 16px; padding: 12px 16px; background: var(--yellow); font-weight: 800; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }

.hap-header { width: min(1180px, calc(100% - 40px)); min-height: 84px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--display); font-size: 1.35rem; font-weight: 950; letter-spacing: -.05em; }
.brand img { border-radius: 8px; }
.hap-header nav { display: flex; align-items: center; gap: 28px; font-family: var(--display); font-size: .86rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.hap-header nav a { text-decoration: none; }
.hap-header nav a:hover { color: var(--cobalt); }
.nav-status { padding: 10px 14px; background: var(--ink); color: var(--cream); }

.hero { width: min(1180px, calc(100% - 40px)); min-height: 760px; margin: 0 auto; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 60px; padding: 68px 0 80px; }
.kicker, .section-number { font-family: var(--display); font-size: .8rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.kicker { display: flex; align-items: center; gap: 10px; color: var(--cobalt); }
.kicker span { width: 9px; height: 9px; border-radius: 50%; background: var(--cobalt); box-shadow: 0 0 0 6px rgb(51 71 216 / 12%); }
.hero h1 { max-width: 730px; margin: 24px 0 30px; font-family: var(--display); font-size: clamp(4rem, 7.5vw, 7.2rem); font-weight: 950; line-height: .86; letter-spacing: -.075em; text-transform: uppercase; }
.hero h1 em { color: var(--cobalt); font-style: normal; }
.hero-lede { max-width: 610px; margin: 0 0 34px; font-size: 1.12rem; line-height: 1.65; }
.primary-link { display: inline-flex; gap: 20px; align-items: center; padding: 14px 18px; background: var(--ink); color: var(--white); font-family: var(--display); font-size: .9rem; font-weight: 900; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.primary-link:hover { background: var(--cobalt); }

.hero-preview { position: relative; display: grid; place-items: center; min-height: 620px; background: var(--cobalt); }
.hero-preview::after { content: ""; position: absolute; inset: 18px; border: 2px solid rgb(255 255 255 / 25%); pointer-events: none; }
.phone { position: relative; z-index: 2; width: min(330px, 78%); overflow: hidden; border: 7px solid var(--ink); border-radius: 32px; background: var(--cream); box-shadow: 18px 20px 0 rgb(17 22 42 / 35%); transform: rotate(2deg); }
.phone-top { display: flex; justify-content: space-between; padding: 18px 18px 10px; font-family: var(--display); font-size: .72rem; font-weight: 900; letter-spacing: .08em; }
.phone-top span { color: var(--cobalt); }
.phone-screen { padding: 8px 17px 14px; }
.phone-screen h2 { margin: 8px 0 18px; font-family: var(--display); font-size: 2.5rem; font-weight: 950; line-height: .82; letter-spacing: -.06em; }
.free-banner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; margin-bottom: 10px; padding: 12px; border: 2px solid var(--ink); background: var(--yellow); }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cobalt); }
.free-banner small, .free-banner strong { display: block; font-family: var(--display); font-size: .6rem; font-weight: 900; letter-spacing: .06em; }
.free-banner strong { margin-top: 3px; font-size: .78rem; }
.activity-card { padding: 15px; border: 2px solid var(--ink); }
.activity-live { background: var(--cobalt); color: var(--white); }
.card-meta { display: flex; justify-content: space-between; font-family: var(--display); font-size: .58rem; font-weight: 900; letter-spacing: .08em; }
.card-meta span:first-child { color: var(--yellow); }
.activity-card h3 { margin: 24px 0 10px; font-family: var(--display); font-size: 1.85rem; font-weight: 950; line-height: .9; letter-spacing: -.04em; }
.activity-card p { margin: 0 0 16px; font-family: var(--display); font-size: .6rem; font-weight: 800; letter-spacing: .06em; }
.status-button { width: 100%; padding: 10px; border: 2px solid var(--white); background: var(--white); color: var(--cobalt); font-family: var(--display); font-size: .7rem; font-weight: 950; letter-spacing: .06em; cursor: pointer; }
.status-button[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.section-rule { margin: 16px 0 0; border-bottom: 2px solid var(--ink); line-height: .1; }
.section-rule span { padding-right: 8px; background: var(--cream); font-family: var(--display); font-size: .55rem; font-weight: 900; letter-spacing: .08em; }
.up-next { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 2px solid var(--ink); }
.up-next small, .up-next strong { display: block; font-family: var(--display); font-size: .6rem; font-weight: 900; letter-spacing: .05em; }
.up-next strong { margin-top: 4px; font-size: .75rem; }
.phone-nav { display: flex; justify-content: space-around; padding: 13px 8px 16px; border-top: 2px solid var(--ink); font-family: var(--display); font-size: .48rem; font-weight: 900; letter-spacing: .04em; }
.phone-nav b { color: var(--cobalt); }
.poster-note { position: absolute; z-index: 3; padding: 9px 12px; background: var(--yellow); color: var(--ink); font-family: var(--display); font-size: .72rem; font-weight: 950; letter-spacing: .12em; box-shadow: 5px 5px 0 var(--ink); }
.note-one { top: 70px; right: -18px; transform: rotate(7deg); }
.note-two { bottom: 80px; left: -24px; transform: rotate(-6deg); }

.marquee { overflow: hidden; border-block: 3px solid var(--ink); background: var(--yellow); }
.marquee div { width: max-content; padding: 19px 0; font-family: var(--display); font-size: clamp(1.2rem, 3vw, 2rem); font-weight: 950; letter-spacing: .03em; white-space: nowrap; animation: ticker 22s linear infinite; }
.marquee span { margin: 0 22px; color: var(--cobalt); }
@keyframes ticker { to { transform: translateX(-25%); } }

.story { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 110px 0; }
.section-intro { display: grid; grid-template-columns: .38fr 1fr; align-items: start; gap: 60px; margin-bottom: 70px; }
.section-number { margin: 7px 0 0; color: var(--cobalt); }
.section-intro h2, .feature h2, .coming-soon h2 { margin: 0; font-family: var(--display); font-size: clamp(3rem, 7vw, 6.5rem); font-weight: 950; line-height: .88; letter-spacing: -.065em; text-transform: uppercase; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 3px solid var(--ink); }
.steps article { padding: 26px 28px 12px 0; }
.steps article + article { padding-left: 28px; border-left: 1px solid var(--ink); }
.steps span { color: var(--cobalt); font-family: var(--display); font-size: 1rem; font-weight: 950; }
.steps h3 { margin: 44px 0 14px; font-family: var(--display); font-size: 1.45rem; font-weight: 950; letter-spacing: -.025em; text-transform: uppercase; }
.steps p { margin: 0; color: #373b4c; font-size: 1rem; line-height: 1.6; }

.feature-grid { display: grid; grid-template-columns: 1fr 1fr; }
.feature { min-height: 700px; padding: clamp(38px, 6vw, 86px); }
.feature .section-number { margin-bottom: 110px; }
.feature > p:not(.section-number) { max-width: 540px; margin: 28px 0 44px; font-size: 1rem; line-height: 1.65; }
.feature-cobalt { background: var(--cobalt); color: var(--white); }
.feature-cobalt .section-number { color: var(--yellow); }
.feature-yellow { background: var(--yellow); }
.feature-yellow .section-number { color: var(--ink); }
.mini-feed { margin-top: 50px; border-top: 2px solid var(--white); }
.mini-feed div { display: grid; grid-template-columns: 105px 1fr auto; gap: 20px; padding: 18px 0; border-bottom: 2px solid var(--white); font-family: var(--display); font-size: .8rem; }
.mini-feed b { color: var(--yellow); font-size: .65rem; letter-spacing: .08em; }
.mini-feed strong { letter-spacing: .03em; }
.mini-feed span { opacity: .72; }
.crowd-list { margin-top: 50px; border-top: 2px solid var(--ink); }
.crowd-list span { display: flex; justify-content: space-between; padding: 17px 0; border-bottom: 2px solid var(--ink); font-family: var(--display); font-weight: 900; letter-spacing: .04em; }
.crowd-list b { color: var(--cobalt); }

.coming-soon { padding: 130px 20px 140px; text-align: center; }
.coming-soon img { border-radius: 24px; box-shadow: 12px 12px 0 var(--yellow); }
.coming-soon .section-number { margin: 40px 0 22px; }
.coming-soon h2 { max-width: 950px; margin-inline: auto; }
.coming-soon > p:last-child { margin: 28px auto 0; font-size: 1.1rem; }

footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; display: flex; justify-content: space-between; padding: 30px 0 50px; border-top: 2px solid var(--ink); color: var(--muted); font-size: .84rem; }
footer a { text-decoration: none; }
footer a:hover { color: var(--cobalt); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 50px; }
  .hero-copy { text-align: center; }
  .kicker { justify-content: center; }
  .hero h1, .hero-lede { margin-inline: auto; }
  .hero-preview { width: min(620px, 100%); margin-inline: auto; }
  .section-intro { grid-template-columns: 1fr; gap: 18px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: auto; }
}

@media (max-width: 680px) {
  .hap-header, .hero, .story, footer { width: min(100% - 28px, 1180px); }
  .hap-header nav a:not(.nav-status) { display: none; }
  .hero { gap: 38px; min-height: auto; padding-bottom: 54px; }
  .hero h1 { font-size: clamp(3.4rem, 17vw, 5.4rem); }
  .hero-preview { min-height: 540px; }
  .phone { width: min(310px, 80%); }
  .note-one { right: -5px; }
  .note-two { left: -4px; }
  .story { padding: 72px 0; }
  .steps { grid-template-columns: 1fr; }
  .steps article { padding: 24px 0; }
  .steps article + article { padding-left: 0; border-top: 1px solid var(--ink); border-left: 0; }
  .steps h3 { margin-top: 26px; }
  .feature { padding: 58px 24px; }
  .feature .section-number { margin-bottom: 70px; }
  .mini-feed div { grid-template-columns: 1fr auto; }
  .mini-feed b { grid-column: 1 / -1; }
  .mini-feed span { text-align: right; }
  .coming-soon { padding: 90px 16px 100px; }
  footer { display: grid; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee div { animation: none; }
}
