@font-face {
  font-family: Geist;
  src: url('/assets/fonts/geist-sans-latin-400-normal.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Geist;
  src: url('/assets/fonts/geist-sans-latin-700-normal.woff') format('woff');
  font-weight: 700;
  font-display: swap;
}

/* Homepage-only palette: the product screens supply the color. */
.home-page {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --accent: #5652c7;
  --surface: #f5f5f7;
  --content: 1200px;
  --gutter: clamp(24px, 4vw, 40px);
  height: auto;
  background: #fff;
  color: var(--ink);
  color-scheme: light;
  font-family: Geist, -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.home-page::before { display: none; }
.home-page main { overflow: clip; }
.home-page h1, .home-page h2, .home-page h3 { letter-spacing: -.055em; font-weight: 700; }
.home-page h2 { font-size: clamp(40px, 4.6vw, 64px); line-height: 1.06; margin: 0; }
.home-page h2 span { color: #787880; }
.home-page p { line-height: 1.55; }
.home-page section[id] { scroll-margin-top: 90px; }
.home-page a:hover { text-decoration-color: currentColor; }
.home-page :is(a, button, [tabindex]):focus-visible { outline: 3px solid #6863dd; outline-offset: 5px; }
.home-page .skip-link { color: #fff; }

/* Quiet, compact navigation stays out of the way of the page. */
.home-page .topbar {
  background: rgb(255 255 255 / 88%);
  border-bottom: 1px solid #e9e9ec;
  backdrop-filter: blur(20px);
}
.home-page .topbar-inner { min-height: 68px; padding-top: 12px; padding-bottom: 12px; }
.home-page .brand { font-size: 19px; gap: 9px; }
.home-page .brand span { letter-spacing: -.045em; }
.home-page .brand img { width: 30px; height: 30px; border-radius: 8px; box-shadow: none; }
.home-nav { display: flex; align-items: center; gap: 32px; }
.home-nav a { color: #515156; font-size: 12px; }
.home-nav a:not(.nav-download):hover { color: var(--ink); text-decoration: none; }
.home-nav .nav-download { padding: 10px 18px; border-radius: 99px; background: var(--ink); color: #fff; }
.home-nav .nav-download:is(:hover, :focus-visible) { background: #333336; color: #fff; text-decoration: none; }
.nav-download span { margin-left: 10px; }
.home-page .menu-toggle { display: none; }
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; margin: 0 0 20px; }
.status-dot { display: none; }

/* A centered introduction and an upright, layered product lineup. */
.home-hero { padding-top: 64px; padding-bottom: 28px; text-align: center; }
.hero-copy { position: relative; z-index: 6; }
.home-hero .eyebrow { color: #626269; font-size: 12px; letter-spacing: .065em; margin-bottom: 22px; }
.home-hero h1 { font-size: clamp(52px, 6.3vw, 84px); line-height: 1.02; margin: 0 0 24px; }
.home-hero h1 span { color: var(--accent); }
.hero-description { max-width: 660px; margin: 0 auto 22px; font-size: 19px; color: #626269; letter-spacing: -.015em; }
.store-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; }
.store-links a { display: inline-flex; border-radius: 7px; transition: transform .2s ease; }
.store-links a:hover { transform: translateY(-2px); }
.store-links img { display: block; height: 43px; width: auto; max-width: 100%; object-fit: contain; }
.availability { color: var(--muted); font-size: 11px; margin: 13px 0 0; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-size: 15px; font-weight: 400; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(3px); }
.hero-explore { margin-top: 0; }
.hero-art { position: relative; isolation: isolate; width: min(1020px, 100%); aspect-ratio: 1.72; margin: 44px auto 0; }
.hero-download { margin-top: 34px; }
.hero-art::after { content: ''; position: absolute; z-index: -1; left: 14%; right: 14%; bottom: 7%; height: 20%; border-radius: 50%; background: #e9e8f0; filter: blur(50px); opacity: .6; }
.hero-phone { position: absolute; height: auto; filter: drop-shadow(0 18px 15px rgb(21 20 45 / 10%)); }
.phone-binder { width: 21%; left: 1.5%; top: 16%; z-index: 1; }
.phone-feed { width: 24%; left: 18%; top: 9%; z-index: 2; }
.phone-welcome { width: 26%; left: 37%; top: 0; z-index: 4; }
.phone-pikachu { width: 24%; right: 18%; top: 9%; z-index: 3; }
.phone-trainer { width: 21%; right: 1.5%; top: 16%; z-index: 1; }
/* Preserve the supplied PNGs; account for their transparent outer canvas in CSS. */
.phone-cutout { aspect-ratio: 1418 / 2780; position: relative; }
.hero-art .phone-cutout { position: absolute; }
.phone-cutout > img { position: absolute; width: 128.56%; max-width: none; height: auto; left: -16.36%; top: -8.63%; }
.art-caption { position: absolute; bottom: 0; left: 0; right: 0; font-size: 12px; color: var(--muted); }
.art-caption span { display: none; }
.journey-strip { display: flex; justify-content: center; align-items: center; gap: 52px; padding-top: 36px; padding-bottom: 60px; color: #616168; font-size: 14px; }
.journey-strip span:nth-child(even) { font-size: 0; width: 3px; height: 3px; border-radius: 50%; background: #bdbdc3; }

/* Wide, neutral stages give each feature a clear place in the story. */
.collection-section {
  max-width: none;
  padding: 112px max(var(--gutter), calc((100% - 1120px) / 2)) 112px;
  background: var(--surface);
}
.section-heading { text-align: center; margin: 0 auto 48px; }
.section-heading > p:last-child { font-size: 19px; color: var(--muted); margin: 24px auto 0; max-width: 650px; letter-spacing: -.015em; }
.feature-tabs { display: flex; width: fit-content; max-width: 100%; justify-content: center; gap: 5px; padding: 6px; margin: 0 auto 30px; background: #e8e8ed; border-radius: 99px; }
.feature-tabs button { position: relative; overflow: hidden; font: inherit; font-size: 12px; font-weight: 700; padding: 14px 20px; border: 0; border-radius: 99px; background: transparent; color: #64646b; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.feature-tabs button span { display: none; }
.feature-tabs button:hover { color: var(--ink); background: rgb(255 255 255 / 50%); }
.feature-tabs button[aria-selected=true] { background: #fff; color: var(--ink); box-shadow: 0 2px 7px rgb(0 0 0 / 4%); }
.feature-tabs button::after { content: ''; position: absolute; bottom: 6px; left: 20px; right: 20px; height: 2px; background: #7771d5; transform: scaleX(0); transform-origin: left; }
.feature-tabs button[aria-selected=true]::after { transform: scaleX(var(--tour-progress, 0)); }
.feature-panels { display: grid; position: relative; }
.feature-panel { grid-area: 1 / 1; display: grid; grid-template-columns: .95fr 1.05fr; min-height: 600px; border-radius: 28px; overflow: hidden; background: #fff; }
/* Hidden panels reserve the same space to avoid movement when the tour advances. */
.feature-panel[hidden] { display: grid; visibility: hidden; pointer-events: none; }
.feature-panel:not([hidden]) { animation: feature-appear .4s ease both; }
@keyframes feature-appear { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.feature-copy { padding: 64px 30px 64px 64px; align-self: center; }
.feature-copy .eyebrow { font-size: 11px; margin-bottom: 24px; }
.feature-copy h3 { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.08; margin: 0 0 24px; }
.feature-copy > p:not(.eyebrow) { color: var(--muted); font-size: 16px; margin: 0; max-width: 350px; }
.feature-detail { color: #77777f; font-size: 11px; line-height: 1.7; margin: 25px 0 30px; }
.feature-art { position: relative; height: 600px; overflow: hidden; display: flex; justify-content: center; align-items: flex-start; padding-top: 50px; }
.feature-art img { width: 275px; height: auto; filter: drop-shadow(0 18px 20px rgb(23 20 48 / 12%)); }
.feature-art-pair { width: 100%; height: auto; aspect-ratio: 1 / 1.04; align-self: center; padding-top: 0; }
.feature-art-pair > :is(img, .phone-cutout) { position: absolute; width: 44%; }
.feature-art .phone-cutout { filter: drop-shadow(0 18px 20px rgb(23 20 48 / 12%)); }
.feature-art .phone-cutout > img { width: 128.56%; filter: none; }
.feature-art-pair .pair-back { left: 4%; top: 12%; }
.feature-art-pair .pair-front { right: 3%; top: 5%; }
.tour-toggle { position: absolute; z-index: 3; right: 20px; bottom: 20px; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: #e9e9ee; color: #515159; border-radius: 50%; font: inherit; font-size: 13px; cursor: pointer; }
.tour-toggle[hidden] { display: none; }
.tour-toggle:hover { background: #dcdce3; }
.tour-toggle [data-tour-icon] { width: 12px; text-align: center; }

.duo-section { padding-top: 120px; padding-bottom: 118px; }
.duo-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 0; }
.duo-heading > p { margin: 0 12px 4px 0; color: var(--muted); font-size: 18px; letter-spacing: -.015em; }
.duo-stage { display: flex; align-items: center; flex-direction: column; position: relative; padding: 0 32px; }
.duo-frames { display: grid; width: min(900px, 100%); }
.duo-slide { grid-area: 1 / 1; display: grid; place-items: center; position: relative; aspect-ratio: 1; opacity: 1; visibility: visible; transition: opacity .65s ease, visibility .65s ease; }
.duo-slide[hidden] { display: grid; opacity: 0; visibility: hidden; pointer-events: none; }
/* Fit the complete source images, including their device frames and shadows. */
.duo-slide img { display: block; width: 88%; height: auto; max-height: 100%; object-fit: contain; border-radius: 3%; }
.duo-slide .duo-binder-image { width: 100%; }
.duo-controls { display: flex; align-items: center; gap: 0; margin-top: 0; padding: 0 6px; border-radius: 99px; background: var(--surface); }
.duo-controls[hidden] { display: none; }
.duo-controls button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #515159; font: inherit; font-size: 13px; cursor: pointer; }
.duo-dot::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #b9b9c2; transition: background .2s; }
.duo-dot[aria-pressed=true]::after { background: var(--accent); }
.duo-controls button:hover { background: #e8e8ed; }
.duo-label { color: var(--muted); font-size: 12px; margin-top: 16px; }

.bonus-section { max-width: none; padding: 110px max(var(--gutter), calc((100% - 1120px) / 2)) 112px; background: var(--surface); }
.bonus-section .section-heading > p:last-child { max-width: 590px; }
.bonus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.bonus-card { display: flex; flex-direction: column; overflow: hidden; position: relative; border-radius: 28px; background: #fff; text-align: center; }
.bonus-copy { position: relative; z-index: 1; padding: 44px 40px 36px; }
.bonus-copy .eyebrow { margin-bottom: 16px; font-size: 11px; }
.bonus-copy h3 { font-size: 38px; line-height: 1.1; margin: 0 0 16px; }
.bonus-copy > p:last-child { max-width: 335px; margin: auto; color: var(--muted); font-size: 15px; }
.bonus-art { position: relative; flex-shrink: 0; width: 100%; height: auto; aspect-ratio: 1 / 1.04; margin-top: auto; }
.bonus-art > :is(img, .phone-cutout) { position: absolute; width: 43%; height: auto; filter: drop-shadow(0 18px 20px rgb(23 20 48 / 12%)); }
.bonus-art > .pair-back { left: 7%; top: 6%; }
.bonus-art > .pair-front { right: 5%; top: 0; }

.discovery-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; padding-top: 130px; padding-bottom: 130px; }
.discovery-section h2 { font-size: clamp(38px, 4.3vw, 56px); }
.discovery-copy > p:not(.eyebrow) { color: var(--muted); font-size: 17px; max-width: 370px; margin: 25px 0 0; }
.discovery-copy > p.browser-note { font-size: 13px; margin-top: 24px; }
.discovery-links { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 30px; }
.home-page .button.primary { background: var(--accent); color: #fff; box-shadow: none; padding: 14px 22px; font-size: 14px; font-weight: 400; }
.home-page .button.primary:hover { background: #4541ae; }
.discovery-art { position: relative; height: 550px; }
.discovery-art img { position: absolute; width: 48%; height: auto; filter: drop-shadow(0 18px 20px rgb(23 20 48 / 12%)); }
.browse-phone { left: 0; top: 52px; }
.set-phone { right: 0; top: 0; }

.download-section { padding: 105px 0 110px; text-align: center; background: var(--surface); }
.download-icon { display: block; width: 68px; height: 68px; border-radius: 18px; margin: 0 auto 27px; box-shadow: 0 9px 22px rgb(29 29 31 / 8%); }
.download-section .eyebrow { margin-bottom: 19px; }
.download-section h2 { font-size: clamp(40px, 4.8vw, 64px); }
.download-section p:not(.eyebrow):not(.availability) { color: var(--muted); font-size: 18px; margin: 22px 0 28px; }
.home-footer { padding-top: 40px; padding-bottom: 30px; }
.footer-top, .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-top .footer-links { gap: 20px; font-size: 11px; color: #5f5f67; }
.footer-bottom { border-top: 1px solid #e8e8ed; padding-top: 24px; margin-top: 32px; color: #6e6e73; font-size: 11px; }
.footer-bottom .footer-links { gap: 24px; }
.legal-note { color: #77777e; font-size: 10px; margin: 22px 0 0; max-width: 940px; }

@media (min-width: 721px) and (max-width: 1000px) {
  .home-nav { gap: 20px; }
  .home-hero { padding-top: 64px; }
  .home-hero h1 { font-size: 64px; }
  .feature-copy { padding: 45px 22px 45px 36px; }
  .feature-copy h3 { font-size: 36px; }
  .feature-copy > p:not(.eyebrow) { font-size: 15px; }
  .feature-panel { min-height: 550px; }
  .feature-art { height: auto; padding-top: 0; }
  .duo-heading > p { font-size: 16px; }
  .bonus-copy { padding: 36px 25px; }
  .bonus-copy h3 { font-size: 32px; }
  .discovery-section { gap: 24px; }
  .discovery-art { height: 430px; }
  .footer-top { align-items: flex-start; }
  .footer-top .footer-links { justify-content: flex-end; max-width: 440px; }
}

@media (max-width: 720px) {
  .home-page { --gutter: 24px; }
  .home-page .topbar-inner { min-height: 62px; padding-top: 10px; padding-bottom: 10px; }
  .home-page .brand { font-size: 18px; }
  .home-page .menu-toggle { display: inline-flex; min-height: 40px; padding: 10px 17px; border: 1px solid #dedee4; background: #f5f5f7; color: var(--ink); }
  .home-nav { display: none; position: absolute; top: 100%; left: 16px; right: 16px; padding: 12px; border: 1px solid #e5e5eb; border-radius: 18px; background: #fff; box-shadow: 0 16px 40px rgb(29 29 31 / 12%); flex-direction: column; align-items: stretch; gap: 0; }
  .home-nav.is-open { display: flex; }
  .home-nav a { padding: 16px; font-size: 14px; }
  .home-nav .nav-download { text-align: center; margin-top: 8px; }
  .home-hero { padding-top: 54px; padding-bottom: 24px; }
  .home-hero .eyebrow { font-size: 9px; letter-spacing: .055em; margin-bottom: 22px; }
  .home-hero h1 { font-size: clamp(42px, 10vw, 70px); line-height: 1.04; margin-bottom: 22px; }
  .hero-description { font-size: 16px; max-width: 350px; margin-bottom: 24px; }
  .store-links { gap: 10px; }
  .store-links img { height: 40px; }
  .availability { font-size: 10px; margin-top: 12px; }
  .hero-explore { font-size: 13px; margin-top: 0; }
  .hero-art { width: calc(100% + 48px); max-width: none; margin: 42px -24px 0; aspect-ratio: 1.04; }
  .phone-binder, .phone-trainer { display: none; }
  .phone-feed { width: 35%; left: -4%; top: 12%; }
  .phone-welcome { width: 41%; left: 29.5%; }
  .phone-pikachu { width: 35%; right: -4%; top: 12%; }
  .art-caption { font-size: 10px; bottom: 1%; }
  .journey-strip { gap: 13px; font-size: 9px; padding-top: 12px; padding-bottom: 42px; }
  .journey-strip span:nth-child(even) { width: 2px; height: 2px; flex-shrink: 0; }
  .home-page h2 { font-size: clamp(34px, 8.3vw, 48px); }
  .eyebrow { font-size: 10px; margin-bottom: 18px; }
  .collection-section, .bonus-section { padding-top: 72px; padding-bottom: 72px; }
  .section-heading { margin-bottom: 32px; }
  .section-heading > p:last-child { font-size: 16px; margin-top: 22px; max-width: 350px; }
  .desktop-break { display: none; }
  .feature-tabs { width: 100%; display: grid; grid-template-columns: 1fr 1fr; border-radius: 22px; margin-bottom: 24px; gap: 4px; }
  .feature-tabs button { padding: 15px 9px; font-size: 11px; }
  .feature-panel { grid-template-columns: 1fr; grid-template-rows: 1fr auto; border-radius: 24px; min-height: 0; }
  .feature-copy { padding: 34px 28px 28px; }
  .feature-copy .eyebrow { margin-bottom: 20px; font-size: 10px; }
  .feature-copy h3 { font-size: 35px; margin-bottom: 21px; }
  .feature-copy > p:not(.eyebrow) { font-size: 14px; max-width: none; }
  .feature-detail { font-size: 10px; margin: 20px 0 23px; }
  .feature-copy .text-link { font-size: 13px; }
  .feature-art { height: 425px; padding-top: 8px; }
  .feature-art > img { width: 235px; }
  .feature-art-pair { width: min(440px, 100%); height: auto; aspect-ratio: 1 / 1.18; margin: auto; padding-top: 0; }
  .feature-art-pair > :is(img, .phone-cutout) { width: 48%; }
  .feature-art-pair .pair-back { left: 1%; top: 9%; }
  .feature-art-pair .pair-front { right: 1%; top: 2%; }
  .tour-toggle { right: 14px; bottom: 14px; }
  .duo-section { padding-top: 75px; padding-bottom: 75px; }
  .duo-heading { display: block; text-align: center; margin-bottom: 0; }
  .duo-heading > p { font-size: 15px; margin: 23px 0 0; }
  .duo-stage { padding: 0; }
  .duo-label { margin-top: 23px; font-size: 10px; }
  .bonus-grid { grid-template-columns: 1fr; gap: 20px; }
  .bonus-card { border-radius: 24px; }
  .bonus-copy { padding: 36px 26px 30px; }
  .bonus-copy h3 { font-size: 32px; }
  .bonus-copy > p:last-child { font-size: 14px; max-width: 300px; }
  .bonus-art { width: min(440px, 100%); aspect-ratio: 1 / 1.12; margin: auto; }
  .bonus-art > :is(img, .phone-cutout) { width: 47%; }
  .bonus-art > .pair-back { left: 1%; top: 6%; }
  .bonus-art > .pair-front { right: 1%; }
  .discovery-section { grid-template-columns: 1fr; padding-top: 75px; padding-bottom: 75px; gap: 44px; }
  .discovery-copy > p:not(.eyebrow) { font-size: 15px; max-width: 420px; }
  .discovery-copy > p.browser-note { font-size: 12px; }
  .discovery-links { gap: 20px; }
  .discovery-links .text-link { font-size: 13px; }
  .home-page .button.primary { padding: 14px 18px; font-size: 13px; }
  .discovery-art { width: min(450px, 100%); height: auto; aspect-ratio: 1 / 1.06; margin: auto; }
  .browse-phone { top: 32px; }
  .download-section { padding: 75px 0; }
  .download-section p:not(.eyebrow):not(.availability) { max-width: 300px; margin: 22px auto 28px; font-size: 16px; }
  .home-footer { padding-top: 32px; padding-bottom: 24px; }
  .footer-top { display: block; }
  .footer-top .footer-links { margin-top: 28px; gap: 16px 20px; font-size: 11px; }
  .footer-bottom { align-items: flex-start; gap: 18px; font-size: 10px; margin-top: 26px; }
  .footer-bottom .footer-links { gap: 16px; }
  .legal-note { font-size: 9px; }
}
@media (max-width: 370px) {
  .home-page { --gutter: 20px; }
  .home-hero h1 { font-size: 39px; }
  .home-hero .eyebrow { font-size: 8px; }
  .journey-strip { gap: 9px; font-size: 8px; }
  .feature-copy { padding-left: 23px; padding-right: 23px; }
  .feature-copy h3 { font-size: 31px; }
  .footer-bottom { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .feature-panel:not([hidden]) { animation: none; }
  .store-links a, .text-link span, .feature-tabs button { transition: none; }
  .duo-slide, .duo-dot::after { transition: none; }
}
