/* Landing page. Follows the app's redesign: near-black, flat surfaces with no borders,
   Unbounded display type, and colour (orange, lime) only on data and small accents. */
@font-face {
  font-family: Unbounded;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("./assets/fonts/unbounded-800.ttf") format("truetype");
}
@font-face {
  font-family: Unbounded;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./assets/fonts/unbounded-600.ttf") format("truetype");
}

:root {
  color-scheme: dark;
  --bg: #050505;
  --surface: #121212;
  --raised: #1c1c1e;
  --track: #26262a;
  --text: #f9f9f9;
  --muted: #8e8e93;
  --orange: #ff6e42;
  --orange-light: #ffa27f;
  --lime: #d5ff00;
  --yellow: #ffc247;
  --leaf: #30d158;
  --max: 1180px;
  --radius: 24px;
  --display: Unbounded, "Arial Black", system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.5 var(--body);
}
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
p {
  text-wrap: pretty;
}
:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
  border-radius: 8px;
}
::selection {
  background: var(--orange);
  color: #1f0a03;
}
.skip-link {
  position: fixed;
  z-index: 200;
  inset: 12px auto auto 12px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-weight: 700;
  font-size: 13px;
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: none;
}
.shell {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

/* Type */
.display {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-wrap: balance;
  background: linear-gradient(180deg, #fff 35%, #9d9da3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tone-lime {
  --tone: var(--lime);
}
.tone-white {
  --tone: var(--text);
}
.muted {
  color: var(--muted);
}

/* Header: two separate frosted-glass pieces, brand on the left and navigation on the right. */
.site-header {
  position: sticky;
  z-index: 100;
  top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(var(--max), calc(100% - 24px));
  margin: 12px auto 0;
  pointer-events: none;
}
.brand {
  pointer-events: auto;
}
.nav,
.nav-toggle {
  border-radius: 16px;
  background: rgb(255 255 255 / 0.06);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  pointer-events: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding-inline: 4px;
}
.brand-icon {
  width: 34px;
  height: 34px;
}
.brand-name {
  font: 800 18px/1 var(--display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
}
.nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 14px;
  border-radius: 12px;
  color: #c7c7cc;
  font-size: 15px;
  font-weight: 600;
  transition:
    color 150ms ease-out,
    background-color 150ms ease-out,
    scale 150ms ease-out;
}
.nav a:hover {
  background: rgb(255 255 255 / 0.08);
  color: var(--text);
}
.nav a[aria-current="page"] {
  background: rgb(255 255 255 / 0.1);
  color: var(--text);
}
.nav a:active,
.button:active {
  scale: 0.96;
}
.nav .nav-download {
  margin-inline-start: 4px;
  padding-inline: 18px;
  background: var(--text);
  color: #000;
}
.nav .nav-download:hover {
  background: #fff;
  color: #000;
}
.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  color: inherit;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: auto;
  border-radius: 2px;
  background: #fff;
  content: "";
  transition: transform 180ms ease-out;
}
.nav-toggle span::before {
  transform: translateY(-6px);
}
.nav-toggle span::after {
  transform: translateY(4px);
}
.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] span::before {
  transform: translateY(1px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(-1px) rotate(-45deg);
}

/* Buttons: primary is white, as in the app. */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding-inline: 26px;
  border-radius: 18px;
  background: var(--text);
  color: #000;
  font: 600 15px/1 var(--display);
  letter-spacing: -0.01em;
  transition:
    background-color 150ms ease-out,
    scale 150ms ease-out;
}
.button:hover {
  background: #fff;
}
.button svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.button.secondary {
  background: var(--surface);
  color: var(--text);
}
.button.secondary:hover {
  background: var(--raised);
}

/* Store links */
.stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.store {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 158px;
  min-height: 52px;
  padding: 0 20px 0 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff 0%, #f1f1f4 48%, #d9d9df 100%);
  /* Bevel: lit top edge, shaded bottom edge, and a solid lip under the button. */
  box-shadow:
    inset 0 1.5px 0 #fff,
    inset 0 -2px 3px rgb(0 0 0 / 0.14),
    inset 0 0 0 1px rgb(255 255 255 / 0.5),
    0 3px 0 #a9a9b2,
    0 12px 24px rgb(0 0 0 / 0.4);
  color: #0b0b0c;
  font: 650 16px/1.05 var(--body);
  letter-spacing: -0.02em;
  text-align: left;
  transition:
    translate 150ms ease-out,
    box-shadow 150ms ease-out,
    scale 150ms ease-out;
}
.store:hover {
  box-shadow:
    inset 0 1.5px 0 #fff,
    inset 0 -2px 3px rgb(0 0 0 / 0.14),
    inset 0 0 0 1px rgb(255 255 255 / 0.5),
    0 4px 0 #a9a9b2,
    0 16px 30px rgb(0 0 0 / 0.5);
  translate: 0 -1px;
}
.store:active {
  box-shadow:
    inset 0 2px 4px rgb(0 0 0 / 0.18),
    0 1px 0 #a9a9b2,
    0 6px 14px rgb(0 0 0 / 0.35);
  translate: 0 2px;
}
.store .ic {
  width: 28px;
  height: 28px;
}
.store .ic.play {
  width: 23px;
  height: 25px;
  margin-inline: 3px 2px;
}
.store span {
  display: grid;
  gap: 3px;
}
.store small {
  color: #6b6b70;
  font: 500 10.5px/1 var(--body);
  letter-spacing: 0.01em;
}
.backed {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}
.backed img {
  width: auto;
  height: 18px;
  filter: grayscale(1) brightness(1.6);
  opacity: 0.55;
}

/* Hero: a one-line headline, then copy on the left and the phone on the right. */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 64px);
  padding-block: clamp(48px, 7vw, 88px) clamp(40px, 6vw, 80px);
}
/* The grey wash at the top of the app's home screen. */
.hero-wash {
  position: absolute;
  z-index: -1;
  inset: -140px 0 auto;
  height: 620px;
  background: radial-gradient(60% 100% at 50% 0, rgb(120 120 126 / 0.42), transparent 70%);
  pointer-events: none;
}
.hero-copy {
  display: grid;
  justify-items: start;
}
.hero h1 {
  font-size: clamp(1.6rem, 3.4vw, 2.75rem);
  line-height: 1.04;
}
.hero h1 span {
  display: block;
  white-space: nowrap;
}
.hero .lede {
  max-width: 27em;
  margin-top: 22px;
  color: #c7c7cc;
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.55;
}
.hero .stores {
  justify-content: flex-start;
  margin-top: 36px;
}
.hero .backed {
  gap: 14px;
  margin-top: 28px;
  font-size: 16px;
}
.hero .backed img {
  height: 26px;
}
/* What it works with: a tidy three-column list, each with an app-style tile. */
.highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  max-width: 30em;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.highlights li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.highlights .app-ic {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  filter: grayscale(1);
  opacity: 0.6;
}
.highlights .app-ic.gen {
  background: none;
  color: var(--muted);
  opacity: 1;
}
.highlights .app-ic svg {
  width: 14px;
  height: 14px;
}
.hero-stage {
  position: relative;
  display: grid;
  justify-items: center;
  --phone-w: 400px;
  --crop: 700px;
}

/* Phone: a titanium rim, black bezel, Dynamic Island, side buttons and a soft glare. */
.phone {
  position: relative;
  width: min(100%, var(--phone-w, 320px));
  aspect-ratio: 1320 / 2868;
  padding: 3px;
  border-radius: 16.5% / 7.6%;
  background: linear-gradient(135deg, #8a8a90 0%, #3a3a3e 18%, #1e1e21 42%, #55555a 68%, #232326 100%);
  box-shadow:
    0 50px 90px rgb(0 0 0 / 0.65),
    0 18px 30px rgb(0 0 0 / 0.5);
}
/* Action and volume buttons on the left, power on the right. */
.phone::before,
.phone::after {
  position: absolute;
  width: 3px;
  content: "";
}
.phone::before {
  top: 17%;
  left: -3px;
  height: 25%;
  border-radius: 2px 0 0 2px;
  background: linear-gradient(
    #4a4a4e 0 14%,
    transparent 14% 30%,
    #4a4a4e 30% 60%,
    transparent 60% 68%,
    #4a4a4e 68% 98%,
    transparent 98%
  );
}
.phone::after {
  top: 28%;
  right: -3px;
  height: 12%;
  border-radius: 0 2px 2px 0;
  background: #4a4a4e;
}
.phone-screen {
  position: relative;
  overflow: hidden;
  height: 100%;
  padding: 2.6%;
  border-radius: 15.8% / 7.3%;
  background: #000;
}
.phone-screen img {
  width: 100%;
  height: 100%;
  border-radius: 13.6% / 6.3%;
  object-fit: cover;
  background: #000;
}
/* Dynamic Island */
.phone-screen::before {
  position: absolute;
  z-index: 1;
  top: 2.3%;
  left: 50%;
  width: 29%;
  height: 4.1%;
  border-radius: 999px;
  background: #000;
  translate: -50% 0;
  content: "";
}
/* Glass glare */
.phone-screen::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, rgb(255 255 255 / 0.1) 0%, rgb(255 255 255 / 0.03) 22%, transparent 34%);
  content: "";
  pointer-events: none;
}
/* A phone that runs off the bottom of its panel. */
.phone-crop {
  overflow: hidden;
  width: min(100%, calc(var(--phone-w, 320px) + 8px));
  height: var(--crop, 520px);
  padding-inline: 4px;
  -webkit-mask-image: linear-gradient(#000 78%, transparent);
  mask-image: linear-gradient(#000 78%, transparent);
}
.phone-crop .phone {
  margin-inline: auto;
  box-shadow: none;
}

/* Icons */
.sprite {
  position: absolute;
  width: 0;
  height: 0;
}
.ic {
  flex: none;
  width: 20px;
  height: 20px;
}
/* A small app-icon tile for the health services. */
.app-ic {
  display: grid;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #fff;
}
.app-ic svg {
  width: 20px;
  height: 20px;
}
img.app-ic {
  display: block;
  object-fit: cover;
}
.app-ic.gen {
  background: var(--raised);
  color: var(--lime);
}
.app-ic.ah {
  color: #ff2d55;
}
.app-ic.hc {
  color: #1a73e8;
}
.app-ic.hw {
  color: #ce0e2d;
}

/* Floating tiles beside the hero phone */
.float {
  position: absolute;
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgb(255 255 255 / 0.1);
  -webkit-backdrop-filter: blur(26px) saturate(170%);
  backdrop-filter: blur(26px) saturate(170%);
  box-shadow: 0 24px 48px rgb(0 0 0 / 0.4);
}
.float-volume {
  top: 16%;
  left: -4%;
}
.float-streak {
  right: 4%;
  bottom: 7%;
}
.tile-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.num {
  font: 800 30px/1 var(--display);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.num small {
  margin-inline-start: 4px;
  color: var(--tone, var(--lime));
  font: 600 13px/1 var(--body);
  letter-spacing: 0;
}
.num.xl {
  font-size: clamp(40px, 5vw, 56px);
}

/* Feature rows */
.feature {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
  margin-bottom: 16px;
}
.panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
}
.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: clamp(28px, 4.5vw, 64px);
}
.feature-copy h2 {
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
}
.feature-copy p {
  max-width: 30em;
  color: #c7c7cc;
}
.ticks {
  display: grid;
  gap: 10px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}
.ticks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 15px;
}
.ticks li::before {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--tone, var(--orange));
  content: "";
}
.feature-shot {
  display: grid;
  justify-items: center;
  padding: clamp(28px, 4vw, 48px) 24px 0;
  background: linear-gradient(180deg, #19191b, var(--surface));
}
.feature-shot .phone {
  --phone-w: 300px;
}
.feature.flip .feature-copy {
  order: 2;
}

/* Section heads */
.section-head {
  display: grid;
  gap: 16px;
  padding-block: clamp(56px, 8vw, 104px) clamp(24px, 3vw, 40px);
}
.section-head h2 {
  max-width: 14em;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
}
.section-head p {
  max-width: 36em;
  color: #c7c7cc;
}

/* Bento of app widgets */
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.tile {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 260px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  grid-column: span 2;
}
.tile.wide {
  grid-column: span 3;
}
.tile h3 {
  font: 600 18px/1.2 var(--display);
  letter-spacing: -0.02em;
}
.tile p {
  color: var(--muted);
  font-size: 15px;
}
.tile-graph {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
}

/* Segmented columns, as on the home screen. */
.columns {
  display: flex;
  align-items: flex-end;
  gap: 5px;
}
.columns i {
  position: relative;
  width: 14px;
  height: 92px;
  background: repeating-linear-gradient(to top, var(--track) 0 12px, transparent 12px 16px);
}
.columns i::after {
  position: absolute;
  inset: auto 0 0;
  height: calc(var(--n) * 16px - 4px);
  background: repeating-linear-gradient(to top, var(--c, #7f9900) 0 12px, transparent 12px 16px);
  content: "";
}
.columns i.now {
  --c: var(--lime);
  filter: drop-shadow(0 0 8px rgb(213 255 0 / 0.55));
}

.spark {
  width: 100%;
  height: 96px;
  margin-top: auto;
  overflow: visible;
}
.spark .line {
  fill: none;
  stroke: var(--orange);
  stroke-width: 2.5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 8px rgb(255 110 66 / 0.6));
}
.spark .area {
  fill: url(#spark-fill);
}
.spark circle {
  fill: var(--orange);
}

.rings {
  display: flex;
  gap: 14px;
  margin-top: auto;
}
.ring {
  display: grid;
  flex: 1;
  gap: 6px;
  padding: 14px;
  border-radius: 18px;
  background: var(--raised);
}
.ring b {
  color: var(--c);
  font-size: 13px;
  font-weight: 600;
}
.ring span {
  font: 800 20px/1 var(--display);
  letter-spacing: -0.03em;
}
.ring span small {
  margin-inline-start: 2px;
  color: var(--c);
  font: 600 12px/1 var(--body);
}
.ring em {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--c) var(--p), var(--track) 0);
  font-style: normal;
}

/* Streak badges, drawn the way the app draws them: a tilted tile with a thick edge,
   a gradient face in the tier's colour and an icon. */
.badges {
  display: flex;
  align-items: flex-end;
  gap: clamp(10px, 4%, 18px);
  margin-top: auto;
  padding: 8px 4px 12px;
}
.badge {
  display: grid;
  flex: 1;
  place-items: center;
  max-width: 68px;
  aspect-ratio: 1;
  border-radius: 24%;
  background: linear-gradient(135deg, var(--f1), var(--f2) 50%, var(--f3));
  box-shadow:
    0.7px 1.2px 0 var(--edge),
    1.4px 2.4px 0 var(--edge),
    2.1px 3.6px 0 var(--edge),
    2.8px 4.8px 0 var(--edge),
    3.5px 6px 0 var(--edge),
    4px 20px 18px rgb(0 0 0 / 0.55);
  color: var(--ink);
  transform: perspective(400px) rotateX(16deg) rotateY(-18deg) rotateZ(-4deg);
}
.badge svg {
  width: 48%;
  height: 48%;
  stroke-width: 2;
}

.gauge {
  position: relative;
  display: grid;
  place-items: center;
  width: 132px;
  aspect-ratio: 1;
  margin: auto auto 0;
  border-radius: 50%;
  background: conic-gradient(from 240deg, var(--orange) 0 62%, var(--track) 0 66.6%, transparent 0);
  -webkit-mask: radial-gradient(closest-side, transparent 78%, #000 79%);
  mask: radial-gradient(closest-side, transparent 78%, #000 79%);
}
.gauge-wrap {
  position: relative;
  display: grid;
  place-items: center;
  margin-top: auto;
}
.gauge-wrap .num {
  position: absolute;
}

.bubbles {
  display: grid;
  gap: 8px;
  margin-top: auto;
}
.bubble {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 18px;
  background: var(--raised);
  font-size: 15px;
}
.bubble.me {
  justify-self: end;
  background: var(--text);
  color: #000;
}

.sync {
  display: grid;
  gap: 8px;
  margin-top: auto;
}
.sync div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding-inline: 16px;
  border-radius: 14px;
  background: var(--raised);
  font-size: 15px;
  font-weight: 600;
}
.sync b {
  font-weight: 600;
}
/* Privacy */
.privacy {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  overflow: hidden;
  margin-top: 16px;
  padding: clamp(28px, 4.5vw, 64px);
  border-radius: var(--radius);
  background: var(--surface);
}
.privacy h2 {
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
}
.privacy-copy p {
  max-width: 34em;
  margin-top: 18px;
  color: #c7c7cc;
}
.points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  background: var(--raised);
}
.point svg {
  flex: none;
  width: 30px;
  height: 30px;
  color: var(--text);
  stroke-width: 1.6;
}
.point div {
  display: grid;
  gap: 2px;
}
.point b {
  font-size: 15px;
}
.point span {
  color: var(--muted);
  font-size: 14px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 16px;
  color: var(--orange);
  font-weight: 600;
}
.text-link:hover {
  color: var(--orange-light);
}

/* Closing call to action */
.cta {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 24px;
  padding-block: clamp(72px, 10vw, 136px);
  text-align: center;
}
.cta h2 {
  font-size: clamp(1.6rem, 7.4vw, 4.4rem);
  white-space: nowrap;
}
.cta p {
  max-width: 30em;
  color: #c7c7cc;
}

/* Footer */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
  padding-block: 28px 40px;
  color: var(--muted);
  font-size: 14px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand img {
  width: 32px;
  height: 32px;
}
.footer-brand b {
  display: block;
  color: var(--text);
  font: 600 14px/1.3 var(--display);
}
.footer-side {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
}
.footer-nav {
  display: flex;
  gap: 4px;
}
.footer-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 10px;
  font-weight: 600;
}
.footer-nav a:hover {
  color: var(--text);
}

/* Ambient effects: soft light behind the phones and widgets, and slow movement.
   Only transform and opacity are animated. */
/* Monochrome arcs behind the hero phone, like the gauge on the app's home screen:
   faint concentric rings and one slowly turning ring of ticks, fading out downwards. */
.arcs {
  position: absolute;
  z-index: -1;
  top: 44%;
  left: 50%;
  width: 175%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, rgb(255 255 255 / 0.12), transparent 60%),
    repeating-radial-gradient(circle closest-side, transparent 0 11.6%, rgb(255 255 255 / 0.1) 11.6% 11.8%);
  translate: -50% -50%;
  -webkit-mask-image: linear-gradient(#000 25%, transparent 72%);
  mask-image: linear-gradient(#000 25%, transparent 72%);
  pointer-events: none;
}
.arcs::after {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: repeating-conic-gradient(rgb(255 255 255 / 0.3) 0 0.4deg, transparent 0.4deg 3deg);
  -webkit-mask-image: radial-gradient(closest-side, transparent 94%, #000 94.5%);
  mask-image: radial-gradient(closest-side, transparent 94%, #000 94.5%);
  content: "";
  animation: spin 180s linear infinite;
}
@keyframes spin {
  to {
    rotate: 360deg;
  }
}
.feature-shot::before {
  position: absolute;
  inset: 22% 8% -30%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(255 255 255 / 0.16), transparent);
  filter: blur(24px);
  content: "";
  animation: breathe 7s ease-in-out infinite;
  pointer-events: none;
}
.feature-shot .phone-crop {
  position: relative;
}
.tile,
.privacy {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.tile::before,
.privacy::before {
  position: absolute;
  z-index: -1;
  top: -90px;
  right: -90px;
  width: 280px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(255 255 255 / 0.07), transparent);
  opacity: 0.7;
  content: "";
  transition: opacity 300ms ease-out;
  pointer-events: none;
}
.tile:hover::before {
  opacity: 1;
}
.privacy::before {
  width: 520px;
  top: -220px;
  right: -160px;
}
.columns i.now {
  animation: breathe 3.2s ease-in-out infinite;
}
.spark .line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1600ms cubic-bezier(0.2, 0.8, 0.2, 1) 200ms;
}
.visible .spark .line,
html:not(.js) .spark .line {
  stroke-dashoffset: 0;
}
.gauge-wrap {
  filter: drop-shadow(0 0 14px rgb(255 110 66 / 0.45));
}
.badge {
  animation: bob 3.6s ease-in-out infinite;
}
.badge:nth-child(2) {
  animation-delay: -0.9s;
}
.badge:nth-child(3) {
  animation-delay: -1.8s;
}
.badge:nth-child(4) {
  animation-delay: -2.7s;
}
.cta::before {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: min(760px, 100%);
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(255 255 255 / 0.12), transparent);
  filter: blur(30px);
  translate: -50% -50%;
  content: "";
  animation: breathe 8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes drift {
  from {
    transform: translate3d(-4%, -3%, 0) scale(1);
  }
  to {
    transform: translate3d(6%, 5%, 0) scale(1.12);
  }
}
@keyframes bob {
  50% {
    translate: 0 -5px;
  }
}
@keyframes breathe {
  50% {
    opacity: 0.55;
  }
}

/* Scroll reveal (only when script.js is running) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 500ms ease-out,
    transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.js [data-reveal].visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .float-volume {
    left: 0;
  }
  .float-streak {
    right: 4%;
  }
  .feature,
  .privacy {
    grid-template-columns: 1fr;
  }
  .feature.flip .feature-copy {
    order: 0;
  }
  .tile,
  .tile.wide {
    grid-column: span 3;
  }
}
@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }
  .nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px;
    background: rgb(22 22 24 / 0.72);
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    min-height: 48px;
  }
  .nav .nav-download {
    justify-content: center;
    margin: 6px 0 0;
  }
}
@media (max-width: 600px) {
  body {
    font-size: 16px;
  }
  .shell {
    width: calc(100% - 32px);
  }
  .site-header {
    width: calc(100% - 20px);
  }
  .hero {
    gap: 36px;
    padding-block: 36px 24px;
  }
  .hero h1 {
    font-size: min(7.2vw, 2.3rem);
  }
  .hero .lede {
    margin-top: 16px;
  }
  /* Store buttons stack as full-width bars. */
  .hero .stores,
  .cta .stores {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    margin-top: 28px;
  }
  .store {
    justify-content: center;
    min-width: 0;
    min-height: 54px;
  }
  .store span {
    min-width: 108px;
  }
  .hero .backed {
    margin-top: 24px;
    font-size: 14px;
  }
  .hero .backed img {
    height: 22px;
  }
  .highlights {
    gap: 10px 18px;
    margin-top: 28px;
  }
  .hero-stage {
    --phone-w: 300px;
    --crop: 470px;
  }
  .float {
    display: none;
  }
  .feature {
    gap: 10px;
    margin-bottom: 10px;
  }
  .feature-copy {
    gap: 14px;
    padding: 28px 22px;
  }
  .feature-copy h2,
  .privacy h2 {
    font-size: 1.55rem;
  }
  .feature-shot {
    padding: 28px 16px 0;
  }
  .feature-shot .phone {
    --phone-w: 260px;
  }
  .phone-crop {
    --crop: 400px;
  }
  .section-head {
    padding-block: 48px 20px;
  }
  .section-head h2 {
    font-size: 1.8rem;
  }
  .bento {
    gap: 10px;
  }
  .tile,
  .tile.wide {
    grid-column: 1 / -1;
    min-height: 0;
    padding: 22px;
  }
  .tile-graph,
  .spark,
  .rings,
  .gauge-wrap,
  .badges,
  .bubbles,
  .sync {
    margin-top: 12px;
  }
  .privacy {
    margin-top: 10px;
    padding: 28px 22px;
  }
  .points {
    grid-template-columns: 1fr;
  }
  .cta {
    gap: 18px;
    padding-block: 64px;
  }
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    width: calc(100% - 32px);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .spark .line {
    stroke-dashoffset: 0;
  }
}

.copyright a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgb(255 255 255 / 0.25);
  text-underline-offset: 3px;
  transition: color 150ms ease-out;
}
.copyright a:hover {
  color: #f9f9f9;
}
