@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans-latin-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #191b24;
  --paper: #fff;
  --muted: #646771;
  --line: #dedfe7;
  --blue: #3852c5;
  --pastel-blue: #dff5ff;
  --pastel-violet: #eee9ff;
  --page-width: 1200px;
}

* { box-sizing: border-box; letter-spacing: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 "DM Sans", Arial, sans-serif; }
.home-page main { overflow-x: clip; }
[hidden] { display: none !important; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h2 { font-size: 48px; font-weight: 500; line-height: 1.1; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; }
.eyebrow { font-size: 13px; font-weight: 500; color: var(--muted); }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 10; padding: 12px 18px; background: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { width: min(calc(100% - 80px), var(--page-width)); margin: auto; min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; flex: 0 0 auto; }
.wordmark { display: block; position: relative; width: 112px; aspect-ratio: 2.75; overflow: hidden; }
.wordmark img { position: absolute; top: 50%; left: 50%; width: 112%; max-width: none; height: auto; object-fit: contain; transform: translate(-50%, -50%); }
.site-header .wordmark { width: 144px; }
.site-header nav { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 500; }
.site-header nav > a { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; }
.site-header nav > a:hover { color: var(--blue); }
.nav-iphone { border-bottom: 1px solid var(--ink); }
.button { min-height: 50px; padding: 13px 22px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; font-weight: 500; font-size: 15px; transition: background-color 180ms, transform 180ms; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: #353c59; }
.button-dark .icon { filter: invert(1); }
.button-light { background: white; color: var(--ink); }
.button-light:hover { background: #e7ebff; }
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #aaaebc; }
.text-link:hover { text-decoration-color: currentColor; }

.home-intro { background: var(--paper); padding: 64px 24px 60px; text-align: center; }
.home-intro-inner { max-width: 660px; margin: auto; }
.intro-statement { font-size: 48px; line-height: 1.08; font-weight: 500; text-wrap: balance; }
.intro-note { margin: 18px 0 22px; color: var(--muted); font-size: 16px; }

.discovery-panel { padding: 44px max(40px, calc((100% - var(--page-width)) / 2)) 64px; border-top: 1px solid var(--line); background: #f7f8fb; }
.discovery-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.discovery-heading h2 { margin-top: 8px; font-size: 34px; }
.discovery-copy { color: var(--muted); font-size: 15px; margin: 16px 0 26px; }
.signal-strip { display: flex; padding: 4px; gap: 4px; border: 1px solid var(--line); border-radius: 7px; background: #f0f1f6; }
.signal-strip button { border: 0; background: transparent; color: #50545f; min-height: 44px; padding: 10px 18px; display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 14px; font-weight: 500; border-radius: 4px; white-space: nowrap; }
.signal-strip button[aria-selected="true"] { background: white; color: var(--ink); box-shadow: 0 1px 4px #171e3510; }
.signal-strip button:hover { color: var(--blue); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.signal-strip .icon { width: 17px; height: 17px; }
.discovery-events { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; min-height: 260px; background: transparent; border: 0; }
.discovery-card { min-width: 0; display: flex; flex-direction: column; background: white; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; transition: border-color 180ms, box-shadow 180ms; }
.discovery-card:hover { border-color: #8a97d5; box-shadow: 0 8px 22px #1d24460a; }
.discovery-card > img,
.discovery-card-placeholder { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #edf0f7; }
.discovery-card > img.discovery-card-brand-image { object-fit: contain; padding: 24px; background: #f0f2f9; }
.discovery-card-placeholder { display: grid; place-items: center; font-size: 44px; }
.discovery-card-copy { min-width: 0; padding: 26px; display: flex; flex-direction: column; align-items: start; gap: 10px; }
.discovery-card-copy p { overflow-wrap: anywhere; color: var(--muted); font-size: 14px; }
.discovery-card-copy h3 { font-size: 26px; line-height: 1.2; font-weight: 500; overflow-wrap: anywhere; }
.discovery-card-copy p:last-child { margin-top: 10px; }
.discovery-card:only-child { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
.discovery-card:only-child .discovery-card-copy { align-self: center; padding: 40px; }
.discovery-card:only-child > img { max-height: 320px; height: 100%; min-height: 230px; }
.discovery-card:only-child h3 { font-size: 32px; }
.discovery-empty, .discovery-personalized { grid-column: 1 / -1; padding: 38px 0; min-height: 130px; max-width: 680px; color: var(--muted); font-size: 16px; }
.discovery-events[data-state="loading"] .discovery-empty { color: var(--muted); }
.deep-link-context { width: min(calc(100% - 48px), var(--page-width)); margin: 24px auto; padding: 30px 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 30px; }
.deep-link-context h2 { font-size: 30px; margin-bottom: 12px; }

.experience-section { width: min(calc(100% - 80px), var(--page-width)); margin: 0 auto; padding: 100px 0; }
.experience-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); align-items: center; gap: 80px; margin-top: 54px; }
.brand-study { min-width: 0; position: relative; text-align: center; }
.brand-study > img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.experience-steps { min-width: 0; border-top: 1px solid var(--line); }
.experience-step { border-bottom: 1px solid var(--line); }
.experience-step summary { display: grid; grid-template-columns: 28px minmax(0, 1fr) 24px; align-items: center; gap: 18px; padding: 25px 0; list-style: none; cursor: pointer; font-size: 27px; font-weight: 500; line-height: 1.2; }
.experience-step summary::-webkit-details-marker { display: none; }
.experience-step summary .icon { width: 24px; height: 24px; transition: transform 200ms; }
.experience-step[open] summary .icon { transform: rotate(45deg); }
.step-index { font-size: 12px; color: var(--blue); }
.step-copy { padding: 0 38px 26px 46px; color: var(--muted); font-size: 16px; }
.step-copy p { margin-bottom: 14px; }
.step-copy strong { font-size: 14px; color: var(--ink); font-weight: 500; }
.step-copy a { color: var(--ink); }

.safety-band { background: linear-gradient(115deg, var(--pastel-blue), var(--pastel-violet)); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 100px; padding: 80px max(40px, calc((100% - var(--page-width)) / 2)); }
.safety-icon { margin-bottom: 26px; }
.safety-band .eyebrow { margin-bottom: 18px; color: var(--muted); }
.safety-band h2 { font-size: 40px; }
.safety-points > div { border-bottom: 1px solid var(--line); padding: 0 0 24px; margin-bottom: 24px; }
.safety-points h3 { font-size: 19px; font-weight: 500; margin-bottom: 8px; }
.safety-points p { color: var(--muted); font-size: 15px; line-height: 1.65; }

.download-band { position: relative; text-align: center; background: #191b24; color: white; padding: 76px 24px 82px; border-top: 4px solid transparent; border-image: linear-gradient(90deg, var(--pastel-blue), var(--pastel-violet)) 1; }
.download-inner { max-width: 690px; margin: auto; }
.download-band :focus-visible { outline-color: #b7dfff; }
.app-icon { width: 72px; height: 72px; object-fit: contain; margin: 0 auto 20px; border-radius: 8px; }
.download-band .eyebrow { color: #b8bbca; margin-bottom: 20px; }
.download-band h2 { font-size: 54px; }
.download-band h2 + p { margin-top: 20px; color: #b8bbca; }
.download-actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 28px; }
.download-actions > .text-link .icon { filter: invert(1); }
.site-footer { width: min(calc(100% - 80px), var(--page-width)); margin: auto; padding: 34px 0 24px; }
.footer-top { display: flex; align-items: center; gap: 32px; padding-bottom: 28px; }
.footer-top > p { font-size: 14px; color: var(--muted); }
.footer-top > a:last-child { margin-left: auto; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; gap: 22px; color: var(--muted); font-size: 12px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-bottom a:hover { color: var(--blue); text-decoration: underline; }

[data-reveal] { transition: opacity 650ms ease, transform 650ms cubic-bezier(.16, 1, .3, 1); }
.reveal-pending { opacity: 0; transform: translateY(28px); }
.reveal-pending[data-reveal="left"] { transform: translateX(-28px); }
.reveal-pending[data-reveal="right"] { transform: translateX(28px); }
.reveal-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-header, .site-footer, .experience-section { width: calc(100% - 48px); }
  .discovery-panel, .safety-band { padding-left: 24px; padding-right: 24px; }
  .experience-layout { gap: 36px; }
  .experience-step summary { font-size: 24px; gap: 10px; }
  .step-copy { padding-left: 38px; padding-right: 0; }
  .safety-band { gap: 40px; }
  .safety-band h2 { font-size: 34px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 24px; }
  h2 { font-size: 34px; }
  .site-header { min-height: 72px; gap: 14px; }
  .site-header nav { gap: 20px; font-size: 12px; }
  .site-header nav > a:nth-child(2) { display: none; }
  .site-header .wordmark { width: 96px; }
  .nav-iphone { gap: 3px !important; }
  .site-header .icon { width: 16px; height: 16px; }
  .home-intro { padding: 40px 24px; }
  .intro-statement { font-size: 38px; }
  .intro-note { font-size: 14px; margin: 16px 0 20px; }
  .eyebrow { font-size: 12px; }
  .discovery-panel { padding-top: 32px; padding-bottom: 40px; }
  .discovery-heading { align-items: start; flex-direction: column; gap: 22px; }
  .discovery-heading h2 { font-size: 30px; }
  .signal-strip { width: 100%; }
  .signal-strip button { flex: 1; }
  .discovery-copy { font-size: 14px; }
  .discovery-card:only-child { display: flex; }
  .discovery-card:only-child > img { height: auto; min-height: 0; }
  .discovery-card:only-child .discovery-card-copy, .discovery-card-copy { width: 100%; padding: 22px; }
  .discovery-card:only-child h3, .discovery-card-copy h3 { font-size: 25px; }
  .experience-section { padding: 64px 0; }
  .experience-layout { grid-template-columns: minmax(0, 1fr); margin-top: 12px; gap: 28px; }
  .brand-study { width: 260px; max-width: 100%; margin: auto; }
  .experience-step summary { font-size: 24px; padding: 24px 0; }
  .step-copy { font-size: 15px; }
  .safety-band { grid-template-columns: minmax(0, 1fr); padding-top: 54px; padding-bottom: 50px; gap: 32px; }
  .download-band { padding: 56px 24px; }
  .download-band h2 { font-size: 38px; }
  .download-band h2 + p { font-size: 14px; }
  .download-actions { flex-direction: column; gap: 16px; }
  .footer-top { gap: 16px; flex-wrap: wrap; }
  .footer-top .wordmark { width: 88px; }
  .footer-top > p { font-size: 12px; }
  .footer-top > a:last-child { margin-left: 0; }
  .footer-bottom { flex-direction: column; gap: 18px; }
  .footer-bottom nav { gap: 22px; }
  .deep-link-context { flex-direction: column; align-items: start; }
  .reveal-pending[data-reveal="left"] { transform: translateX(-16px); }
  .reveal-pending[data-reveal="right"] { transform: translateX(16px); }
}
@media (max-width: 359px) {
  .site-header nav { gap: 12px; }
  .site-header nav > a:first-child { display: none; }
  .intro-statement { font-size: 34px; }
  .experience-step summary { font-size: 21px; }
  .download-band h2 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal-pending, .reveal-visible { opacity: 1; transform: none !important; }
  .button:hover { transform: none; }
}
