﻿@font-face {
  font-family: Jakarta;
  src: url("PlusJakartaSans.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --background: #100e1b;
  --text: #f7f5ff;
  --muted: #c0bad3;
  --light: #ded5ff;
  --accent: #b9a4ff;
  --line: #ffffff21;
  --wrap: 1220px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 500 1rem/1.65 Jakarta, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid #92ecff; outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { color: var(--muted); }
section[id] { scroll-margin-top: 24px; }
.wrap { width: min(var(--wrap), calc(100% - 112px)); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  transform: translateY(-180%);
  padding: 10px 16px;
  border-radius: 10px;
  background: #28213f;
}
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { height: 79px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: center; }
.brand { display: inline-flex; align-items: center; justify-self: start; gap: 12px; font-size: 1.28rem; font-weight: 800; letter-spacing: -.045em; }
.brand img { border-radius: 32%; }
.header-inner nav, .site-footer nav { display: flex; gap: clamp(1rem, 3.2vw, 2.8rem); }
.header-inner nav a, .site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 700;
  transition: color .2s ease;
}
.header-inner nav a:hover, .site-footer nav a:hover { color: var(--text); }
.header-download {
  justify-self: end;
  padding: 9px 17px;
  border: 1px solid #b9a4ff66;
  border-radius: 12px;
  background: #b9a4ff13;
  color: var(--light);
  font-size: .875rem;
  font-weight: 800;
  transition: background .2s ease;
}
.header-download:hover { background: #b9a4ff31; }

.hero {
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
  padding-block: 48px 43px;
}
.hero-copy { padding-block: 28px; }
.eyebrow {
  margin-bottom: 16px;
  color: var(--accent);
  font-size: .875rem;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.hero h1 {
  margin-left: -.055em;
  font-size: clamp(3.3rem, 5.65vw, 5.3rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.065em;
  word-spacing: .045em;
  text-wrap: initial;
}
.hero h1 span {
  color: #c1acff;
  background: linear-gradient(100deg, #d7c1ff, #a5a2ff 68%, #9bd7ff);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-description { max-width: 37ch; margin-block: 26px 31px; font-size: 1.1rem; line-height: 1.75; }
.store-links { display: flex; flex-wrap: wrap; gap: 11px; }
.store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 145px;
  min-height: 55px;
  padding: 8px 14px;
  border: 1px solid #ffffff35;
  border-radius: 13px;
  background: #191626;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  transition: transform .2s ease, background .2s ease;
}
.store-link small { display: block; margin-bottom: 2px; font-size: .75rem; font-weight: 600; }
.store-link:hover { transform: translateY(-2px); background: #272039; }
.store-placeholder, .store-placeholder:hover { color: var(--muted); transform: none; background: #191626; }
.store-primary { color: #151222; background: #f4efff; border-color: #f4efff; }
.store-primary:hover { background: #dcccff; }
.hero-visual {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1.04;
  overflow: hidden;
  border: 1px solid #c0b0ff44;
  border-radius: 32px;
  background:
    radial-gradient(ellipse at 85% 91%, #72c9ff 0%, #596ae2 20%, transparent 54%),
    radial-gradient(ellipse at 28% 72%, #8057c7, transparent 60%),
    linear-gradient(142deg, #211839, #422779 58%, #41369d);
  box-shadow: 0 18px 85px #09071141;
}
.hero-visual::before, .download-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(#fbf9ff45 .8px, transparent .8px);
  background-size: 8px 8px;
  mask-image: linear-gradient(120deg, #000b, transparent 53%, #000b);
  pointer-events: none;
}
.orbit {
  position: absolute;
  inset: 9%;
  border: 1px solid #f2eaff4a;
  border-radius: 50%;
  transform: rotate(-35deg) scale(1.22, .72);
}
.orbit-inner { transform: rotate(-35deg) scale(1.35, .89); opacity: .55; }
.hero-spark { position: absolute; top: 12%; right: 13%; color: #f0dcff; font-size: clamp(1.6rem, 3vw, 2.5rem); text-shadow: 0 0 22px #e2adff; }
.phone {
  position: relative;
  overflow: hidden;
  border: 4px solid #171427;
  border-radius: 12% / 5.4%;
  background: #100d1d;
  box-shadow: 0 0 0 1px #dbceff72, 0 24px 35px #100b2a8c;
}
.phone img { width: 100%; height: auto; }
.hero-planner, .hero-tracker { position: absolute; }
.hero-planner { width: 37%; top: 10%; left: 49%; transform: rotate(11deg); }
.hero-tracker { width: 39%; top: 7%; left: 16%; transform: rotate(-10deg); }
@keyframes appear {
  from { opacity: 0; translate: 0 14px; }
  to { opacity: 1; translate: 0 0; }
}
.hero-copy { animation: appear .55s ease both; }
.hero-tracker, .hero-planner { animation: appear .75s .08s ease both; }

.section { padding-block: 50px 12px; }
.section-heading { display: grid; grid-template-columns: 1.22fr 1fr; column-gap: 44px; align-items: end; margin-bottom: 24px; }
.section-heading .eyebrow { grid-column: 1/-1; margin-bottom: 10px; }
.section-heading h2, .download-panel h2 { font-size: clamp(2.35rem, 4.25vw, 4.05rem); line-height: 1.08; font-weight: 800; letter-spacing: -.055em; word-spacing: .035em; }
.section-heading h2 { text-wrap: initial; }
.section-heading > p:last-child { max-width: 38ch; margin-bottom: 2px; justify-self: end; }
.insight-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.card, .community-scene, .download-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
}
.card { min-height: 370px; }
.card-copy, .community-copy { position: relative; z-index: 1; padding: clamp(22px, 3vw, 39px); }
.card h3, .community-copy h3 { font-size: clamp(1.4rem, 2.5vw, 1.95rem); font-weight: 800; line-height: 1.17; letter-spacing: -.045em; word-spacing: .06em; }
.card-copy p, .community-copy p { max-width: 36ch; margin-top: 10px; }
.community-scene {
  background: radial-gradient(ellipse at 87% 84%, #3e3367 0%, transparent 58%), #1c172b;
}
.community-scene[data-carousel-ready] .community-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding: 12px clamp(13px, 3vw, 40px) 8px;
}
.community-tabs:not([hidden]) {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  position: relative;
  z-index: 1;
  padding: 4px;
  border: 1px solid #cbb7ff33;
  border-radius: 14px;
  background: #151020;
}
.community-tabs button, .screenshot-toolbar button {
  min-height: 42px;
  padding: 7px 14px;
  border: 1px solid #cbb7ff45;
  border-radius: 10px;
  background: #1a1529;
  color: #e0d7f8;
  font: 700 .875rem/1.3 Jakarta, system-ui, sans-serif;
  cursor: pointer;
}
.community-tabs button {
  min-height: 44px;
  border-color: transparent;
  background: transparent;
  transition: color .22s ease, background .22s ease, box-shadow .22s ease;
}
.community-tabs button:hover, .screenshot-toolbar button:hover { background: #33274d; }
.community-tabs button[aria-selected="true"] { background: #dfd1ff; color: #211633; box-shadow: inset 0 0 0 1px #fff3, 0 2px 8px #0b081966; }
.community-tabs button:focus-visible, .screenshot-toolbar button:focus-visible { outline: 2px solid #92ecff; outline-offset: 3px; }
.community-panel:not([hidden]), .community-scene[data-carousel-ready] .community-panel {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
}
.carousel-pause {
  min-height: 44px;
  padding: 6px 11px;
  border: 1px solid #cbb7ff30;
  border-radius: 10px;
  background: #161123;
  color: #e2d9f6;
  font: 750 .8125rem/1.25 Jakarta, system-ui, sans-serif;
  cursor: pointer;
}
.carousel-pause:hover { background: #33264a; }
.carousel-pause:focus-visible { outline: 2px solid #92ecff; outline-offset: 3px; }
.showcase-stage {
  min-width: 0;
  overflow: hidden;
  overflow: clip;
  touch-action: pan-y pinch-zoom;
}
[data-carousel-ready] .showcase-stage { display: grid; }
/* Stacked slides share the tallest slide's footprint, even when hidden. */
[data-carousel-ready] .showcase-stage > [role="tabpanel"] { grid-area: 1 / 1; }
[data-carousel-ready] .showcase-stage > [role="tabpanel"][hidden] { visibility: hidden; pointer-events: none; }
[data-carousel-ready] .showcase-stage > [role="tabpanel"][data-carousel-outgoing] { visibility: visible; }
.community-panel:focus-visible { outline: 2px solid #92ecff; outline-offset: -4px; }
.community-copy {
  align-self: center;
  padding: clamp(24px, 3.5vw, 43px);
}
.community-copy h3 { font-size: clamp(1.8rem, 3.45vw, 3rem); max-width: 15ch; text-wrap: initial; }
.community-copy p { color: #e0d7ef; }
.example-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 14px;
  color: #e3d7ff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: .24em;
}
.example-link:hover { color: white; }
.community-art { position: relative; min-width: 0; display: grid; place-items: center; padding: 11px 18px 10px; }
.community-art::before, .community-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.community-art::before {
  background: url("sunday-mile.webp") center 45% / cover no-repeat;
  opacity: .72;
  mask-image: linear-gradient(90deg, transparent, #000 28%);
}
[data-scene="challenge"] .community-art::before { background-image: url("sample-challenge.webp"); }
[data-scene="feed"] .community-art::before { opacity: .36; }
.community-art::after {
  background: linear-gradient(0deg, #171227 0%, transparent 42%), linear-gradient(180deg, #211a35, transparent 34%);
}
.community-preview {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 6px 10px 0;
  border-radius: 14px;
}
.community-phone {
  display: block;
  width: clamp(208px, 19.5vw, 252px);
  height: clamp(304px, 42vh, 366px);
  border-radius: 16px;
  box-shadow: 0 0 0 1px #e4dcfd88, 0 24px 58px #080613b3;
}
.community-phone img { height: 100%; object-fit: cover; object-position: center 8%; }
[data-scene="challenge"] .community-phone img { object-position: center 38%; }
[data-scene="feed"] .community-phone img { object-position: center 16%; }
.community-preview .screen-caption { min-height: 44px; }

.card-copy .feature-release {
  display: inline-block;
  margin: 0 0 9px;
  color: #e4d6ff;
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.screen-caption {
  display: grid;
  align-items: center;
  min-height: 32px;
  color: #f7efff;
  font-size: .875rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: .25em;
}

.screenshot-dialog {
  width: min(460px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  padding: 12px;
  border: 1px solid #c2aafa5c;
  border-radius: 19px;
  background: #1d172b;
  color: var(--text);
}
.screenshot-dialog::backdrop { background: #0b0814d9; }
.screenshot-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.screenshot-toolbar h2 { font-size: 1rem; text-wrap: initial; }
.screenshot-image { width: auto; height: auto; max-height: calc(100dvh - 112px); margin: 0 auto; border-radius: 12px; }

.final-section { padding-block: 57px 32px; }
.download-panel {
  display: grid;
  justify-items: center;
  gap: 15px;
  padding: 55px 24px 60px;
  text-align: center;
  background: radial-gradient(ellipse at 68% 120%, #6751b1, transparent 66%), radial-gradient(ellipse at 14% -15%, #3f386f, transparent 60%), #241a39;
}
.download-panel p { color: #e7ddf6; }
.download-panel .store-links { justify-content: center; margin-top: 10px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); padding-block: 22px 34px; }

.legal-page { max-width: 780px; padding-block: 54px 80px; }
.legal-page h1 { font-size: clamp(2.4rem, 7vw, 4.25rem); line-height: 1.12; letter-spacing: -.07em; }
.legal-page h2 { margin-top: 27px; font-size: 1.3rem; }
.legal-page p { margin-top: 10px; }
.legal-page a { color: var(--light); text-decoration: underline; text-underline-offset: .2em; }

@media (max-width: 1040px) {
  .wrap { width: min(var(--wrap), calc(100% - 72px)); }
  .hero h1 { font-size: clamp(3rem, 6.2vw, 4.4rem); }
  .hero { gap: 24px; }
  .section-heading { grid-template-columns: 1.15fr 1fr; gap: 0 24px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 44px); }
  .header-inner { height: 68px; grid-template-columns: 1fr 1fr; }
  .header-inner nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 27px; padding-block: 40px 0; }
  .hero-copy { padding-block: 0; }
  .hero h1 { font-size: clamp(3.1rem, 9.8vw, 4.8rem); }
  .hero-description { margin-block: 18px 22px; font-size: 1rem; }
  .hero-visual { max-width: 575px; width: 100%; border-radius: 22px; }
  .section { padding-block: 48px 0; }
  .section-heading { display: block; margin-bottom: 20px; }
  .section-heading > p:last-child { margin-top: 12px; }
  .insight-grid { gap: 12px; }
  .card, .community-scene, .download-panel { border-radius: 19px; }
  .final-section { padding-block: 51px 30px; }
  .site-footer { flex-wrap: wrap; }
  .site-footer nav { gap: 22px; flex-wrap: wrap; }
}
@media (max-width: 490px) {
  .wrap { width: calc(100% - 36px); }
  .download-panel { padding-inline: 13px; }
  .site-footer nav { gap: 0 17px; }
}
@media (max-width: 355px) {
  .hero h1 { font-size: 2.5rem; }
  .store-link { min-width: 0; padding-inline: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.share-preview { max-width: 700px; padding-block: 48px 64px; }
.preview-card { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #211933; }
.preview-photo { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.preview-copy { padding: clamp(22px, 5vw, 42px); }
.preview-copy h1 { font-size: clamp(2.2rem, 7vw, 4rem); line-height: 1.08; letter-spacing: -.06em; }
.preview-copy h1 + p { margin-block: 14px 24px; max-width: 48ch; }
.preview-profile .preview-photo { width: 120px; height: 120px; border-radius: 50%; margin: 32px 0 0 clamp(22px, 5vw, 42px); }
.preview-nav { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 20px; color: var(--light); }
.preview-nav a { padding-block: 9px; text-decoration: underline; text-underline-offset: .25em; }

@media (max-width: 760px) {
  .community-panel:not([hidden]), .community-scene[data-carousel-ready] .community-panel { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); }
  .community-phone { width: clamp(172px, 32vw, 223px); }
}
@media (max-width: 550px) {
  .community-scene[data-carousel-ready] .community-toolbar { gap: 6px; }
  .community-tabs button { padding-inline: 9px; }
  .community-toolbar > .carousel-pause { display: grid; width: 44px; padding: 0; place-items: center; font-size: 0; }
  .community-toolbar > .carousel-pause[hidden] { display: none; }
  .community-toolbar > .carousel-pause::before {
    content: "";
    width: 11px;
    height: 13px;
    border-inline: 3px solid currentColor;
  }
  .community-toolbar > .carousel-pause[data-paused]::before {
    width: 0;
    height: 0;
    border: 7px solid transparent;
    border-right: 0;
    border-left: 11px solid currentColor;
  }
  .community-panel:not([hidden]), .community-scene[data-carousel-ready] .community-panel { grid-template-columns: 1fr; }
  .community-copy { padding: 22px 19px 14px; }
  .community-art::before { mask-image: none; }
  .community-phone { width: clamp(180px, 59vw, 230px); height: clamp(306px, 93vw, 375px); }
}
@media (max-width: 355px) {
  .community-tabs:not([hidden]) { gap: 2px; padding: 3px; }
  .community-tabs button { padding-inline: 6px; font-size: .8125rem; }
}
