:root {
  --iron: #0A0A0B;     /* app background */
  --plate: #17181B;    /* raised surface */
  --rule: #2A2C31;
  --chalk: #F1F1EC;    /* text */
  --steel: #92959C;    /* secondary text */
  --lime: #C6F432;     /* brand */
  --measure: 66ch;
}
* { box-sizing: border-box; margin: 0; }
html { background: var(--iron); color: var(--chalk); -webkit-text-size-adjust: 100%; }
body {
  font: 400 1.0625rem/1.6 'Archivo', system-ui, sans-serif;
  font-stretch: 100%;
  padding: 0 clamp(16px, 5vw, 64px);
  max-width: 1120px; margin: 0 auto;
}
a { color: var(--chalk); text-decoration-color: var(--lime); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--lime); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.top nav { display: flex; gap: 20px; font-size: 0.9375rem; }
.top nav a { text-decoration: none; color: var(--steel); }
.top nav a:hover, .top nav a[aria-current] { color: var(--chalk); }
.top nav .sec + a:not(.sec) { padding-left: 20px; border-left: 1px solid var(--rule); }
@media (max-width: 640px) { .top nav .sec { display: none; } .top nav .sec + a { padding-left: 0; border-left: 0; } }

/* hero: the app itself, in a phone */
.hero {
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 48px;
  padding: clamp(32px, 7vw, 88px) 0 clamp(64px, 9vw, 120px);
}
.hero h1 {
  font-weight: 900; font-stretch: 118%;
  font-size: clamp(3rem, 8.4vw, 6.75rem); line-height: 0.9; letter-spacing: -0.035em;
}
.lede { max-width: 26ch; font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.25; font-weight: 600; margin-top: 32px; letter-spacing: -0.01em; }
.device { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.phone {
  position: relative; width: min(340px, 78vw); aspect-ratio: 393 / 852;
  padding: 11px; border-radius: 58px; background: #1A1B1E;
  box-shadow: inset 0 0 0 2px #2E3035, 0 50px 120px -30px rgba(198, 244, 50, 0.22);
}
.phone img {
  position: absolute; inset: 11px; width: calc(100% - 22px); height: calc(100% - 22px);
  border-radius: 47px; object-fit: cover; opacity: 0;
}
.phone img.on { opacity: 1; }
.pick { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pick button {
  font: 600 0.875rem/1 'Archivo', sans-serif; color: var(--steel); background: none;
  border: 1px solid var(--rule); border-radius: 999px; padding: 9px 14px; cursor: pointer;
}
.pick button:hover { color: var(--chalk); }
.pick button[aria-pressed="true"] { color: var(--iron); background: var(--lime); border-color: var(--lime); }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; } }
.lede + p { max-width: 52ch; color: var(--steel); margin-top: 16px; }
.soon { display: inline-block; margin-top: 32px; font-weight: 700; border: 2px solid var(--chalk); border-radius: 12px; padding: 12px 20px; }

/* features read like a workout log */
.log { border-top: 2px solid var(--chalk); margin-bottom: 96px; }
.log h2 { font-weight: 900; font-stretch: 112%; font-size: clamp(1.75rem, 4vw, 2.75rem); letter-spacing: -0.02em; line-height: 1.05; padding: 24px 0 8px; }
.row { display: grid; grid-template-columns: minmax(150px, 1fr) 2.2fr; gap: 8px 32px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.row h3 { font-weight: 800; font-size: 1.125rem; }
.row p { color: var(--steel); max-width: 56ch; }
@media (max-width: 640px) { .row { grid-template-columns: 1fr; } }

/* features: one card per part of the app */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding-top: 16px; }
.card {
  display: flex; flex-direction: column; gap: 20px;
  padding: clamp(24px, 3vw, 36px); background: var(--plate); border: 1px solid var(--rule); border-radius: 28px;
}
.card:hover { border-color: var(--lime); }
.card h3 { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime); }
.card .line { font-weight: 800; font-stretch: 112%; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.1; letter-spacing: -0.02em; margin-top: -8px; }
.viz { height: 120px; display: flex; flex-direction: column; justify-content: flex-end; }
.count { flex-direction: row; justify-content: flex-start; align-items: flex-end; gap: 14px; }
.count span { color: var(--steel); max-width: 18ch; line-height: 1.3; padding-bottom: 4px; }
.big { font-weight: 900; font-stretch: 118%; font-size: clamp(4.5rem, 14vw, 6.5rem); line-height: 0.8; letter-spacing: -0.045em; color: var(--lime); }
.xp { gap: 8px; }
.xp i { height: 12px; width: var(--w); border-radius: 99px; background: var(--rule); }
.xp .you { background: var(--lime); }
.streak { flex-direction: row; justify-content: flex-start; align-items: flex-end; gap: 8px; }
.streak i { flex: 1; max-width: 40px; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--rule); }
.streak .on { background: var(--lime); border-color: var(--lime); }
.chat { gap: 8px; font-size: 0.9375rem; line-height: 1.35; }
.chat span { max-width: 80%; padding: 10px 14px; border-radius: 18px; }
.chat .me { align-self: flex-end; background: var(--lime); color: var(--iron); font-weight: 600; border-bottom-right-radius: 6px; }
.chat .ai { align-self: flex-start; background: #24262B; border-bottom-left-radius: 6px; }
.feats { list-style: none; padding: 0; border-top: 1px solid var(--rule); }
.feats li { padding: 12px 0; border-bottom: 1px solid var(--rule); color: var(--steel); }
.feats li:last-child { border-bottom: 0; padding-bottom: 0; }
.feats summary {
  display: grid; grid-template-columns: 1fr auto; column-gap: 16px;
  list-style: none; cursor: pointer;
}
.feats summary::-webkit-details-marker { display: none; }
.feats summary::after {
  content: "+"; grid-column: 2; grid-row: 1 / 3; align-self: center;
  font-size: 1.375rem; line-height: 1; color: var(--steel);
}
.feats details[open] summary::after { content: "\2212"; color: var(--lime); }
.feats b { color: var(--chalk); font-weight: 700; }
.feats summary:hover b { color: var(--lime); }
.feats details p { margin-top: 10px; padding-left: 12px; border-left: 2px solid var(--lime); color: #D4D5D0; }
@media (max-width: 760px) { .bento { grid-template-columns: 1fr; } }

/* long-form legal pages */
.doc { max-width: var(--measure); padding: 48px 0 96px; }
.doc h1 { font-weight: 900; font-stretch: 112%; font-size: clamp(2.25rem, 7vw, 3.5rem); line-height: 1; letter-spacing: -0.025em; }
.doc .updated { color: var(--steel); margin: 12px 0 40px; }
.doc h2 { font-weight: 800; font-size: 1.25rem; margin: 40px 0 8px; }
.doc p, .doc li { color: #D4D5D0; }
.doc p + p, .doc ul + p, .doc p + ul { margin-top: 12px; }
.doc ul { padding-left: 1.2em; }
.doc li + li { margin-top: 6px; }
.doc strong { color: var(--chalk); }
table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 0.9375rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); }
th { color: var(--chalk); font-weight: 700; }
td { color: #D4D5D0; }
@media (max-width: 640px) { table, tbody, tr, td, th { display: block; } thead { display: none; } td { padding: 2px 0; border: 0; } tr { padding: 10px 0; border-bottom: 1px solid var(--rule); } td:first-child { color: var(--chalk); font-weight: 700; } }

footer { border-top: 1px solid var(--rule); padding: 24px 0 40px; display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--steel); font-size: 0.9375rem; }
footer a { color: var(--steel); }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .phone img { transition: opacity 500ms ease; }
  .card { transition: border-color 200ms ease; }
  .feats details[open] p { animation: drop 220ms ease; }
  @keyframes drop { from { opacity: 0; transform: translateY(-4px); } }
}
