/* Terms and Privacy: dark by default (the owner's call): the logo tile's ink as the page, the preloader's paper as the text,
   the logo's lime bar as the reading thumb. No web fonts (the privacy policy would object). */
:root{
  --paper:#f3f4f1; --ink:#0d0e10; --graphite:#8a8b8f; --lime:#c8f560;
  --bg:var(--ink); --fg:#ecedea; --soft:#b4b6ba; --link:var(--lime); --rule:#25272c; --tint:#1a1c20; --tile:#1d1f23;
  color-scheme:dark;
  --sans:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI Variable Text","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --display:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI Variable Display","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --col:40rem; --rail:13rem;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:5.5rem;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--bg);color:var(--fg);font:400 1.0625rem/1.62 var(--sans);-webkit-font-smoothing:antialiased;font-feature-settings:"tnum" 0}
a{color:var(--link);text-decoration-thickness:1px;text-underline-offset:.18em}
a:hover{text-decoration-thickness:2px}
:focus-visible{outline:2px solid var(--lime);outline-offset:3px;border-radius:4px}

/* header: the logo goes back to the app; Terms / Privacy is the app's More / Less pill */
.top{position:sticky;top:0;z-index:5;background:rgba(13,14,16,.86);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--rule)}
.top-in{max-width:calc(var(--col) + var(--rail) + 4rem);margin:0 auto;height:4rem;padding:0 1.25rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}
.mark{display:flex;align-items:center;gap:.55rem;text-decoration:none;color:var(--fg)}
.mark-t{position:relative;width:1.75rem;height:1.75rem;border-radius:.39rem;background:var(--tile);box-shadow:inset 0 0 0 1px #2c2f35;flex:none}
.mark-t::after{content:"";position:absolute;left:1.14rem;top:.35rem;width:.26rem;height:1.05rem;border-radius:9px;background:var(--lime)}
.mark-w{font:800 1.2rem/1 var(--display);letter-spacing:-.045em;white-space:nowrap}
.mark-w b{font-weight:800;color:var(--graphite)}
.docs{display:flex;padding:3px;border-radius:999px;background:var(--tint);font:600 .9rem/1 var(--sans)}
.docs a{padding:.55rem .95rem;border-radius:999px;color:var(--soft);text-decoration:none}
.docs a[aria-current]{background:var(--lime);color:var(--ink)}

/* page: rail on the left, one reading column */
.page{max-width:calc(var(--col) + var(--rail) + 4rem);margin:0 auto;padding:3.5rem 1.25rem 6rem;display:grid;grid-template-columns:var(--rail) minmax(0,var(--col));column-gap:4rem}
.doc{grid-column:2;min-width:0}
h1{font:800 clamp(2.5rem,7vw,4.25rem)/.98 var(--display);letter-spacing:-.05em;margin:0 0 1rem}
.when{color:var(--graphite);margin:0 0 2.5rem;font-size:.95rem}

/* the short version: the logo's bar beside it, no box */
.lead{position:relative;padding-left:1.6rem;margin:0 0 3.5rem;font-size:1.3rem;line-height:1.5;letter-spacing:-.012em}
.lead::before{content:"";position:absolute;left:0;top:.3rem;bottom:.3rem;width:.42rem;border-radius:9px;background:var(--lime)}
.lead p{margin:0}

section{padding-top:2.25rem;margin-top:2.25rem;border-top:1px solid var(--rule)}
section:first-of-type{border-top:0;margin-top:0;padding-top:0}
h2{font:700 1.45rem/1.25 var(--display);letter-spacing:-.025em;margin:0 0 .9rem;display:flex;gap:.7rem;align-items:baseline}
h2 .n{font-weight:800;color:var(--graphite);font-variant-numeric:tabular-nums;min-width:1.4em}
p{margin:0 0 1rem;max-width:68ch}
ul{margin:0 0 1rem;padding:0;list-style:none;max-width:68ch}
li{position:relative;padding-left:1.15rem;margin:.55rem 0}
li::before{content:"";position:absolute;left:0;top:.72em;width:.45rem;height:2px;border-radius:2px;background:var(--graphite)}
b,strong{font-weight:650}

/* clauses that must stand out (warranty, liability): bold with a lime rule, not shouted in capitals */
.firm{font-weight:600;border-left:3px solid var(--lime);padding-left:1rem}

/* privacy: what we collect, as rows that stack on a phone */
.rows{margin:1.25rem 0 1.5rem;border-top:1px solid var(--rule)}
.row{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1.5fr) minmax(0,1fr);gap:1.25rem;padding:1rem 0;border-bottom:1px solid var(--rule);font-size:.98rem;line-height:1.5}
.row>*{margin:0}
.row dt{font-weight:600}
.row .basis{color:var(--soft)}
.rows-h{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1.5fr) minmax(0,1fr);gap:1.25rem;padding:.6rem 0;color:var(--graphite);font-size:.85rem;font-weight:600}
.foot{margin-top:4rem;padding-top:1.5rem;border-top:1px solid var(--rule);color:var(--graphite);font-size:.95rem}

/* the notch rail: a track with one notch per section; the lime thumb slides as you read */
.rail{grid-column:1;grid-row:1;position:sticky;top:6.5rem;align-self:start;max-height:calc(100vh - 8rem)}
.rail ol{list-style:none;margin:0;padding:0 0 0 1.4rem;position:relative}
.rail ol::before{content:"";position:absolute;left:.3rem;top:.6rem;bottom:.6rem;width:2px;border-radius:2px;background:var(--rule)}
.rail li{padding:0;margin:0}
.rail li::before{display:none}
.rail a{position:relative;display:block;padding:.28rem 0;color:var(--graphite);text-decoration:none;font-size:.85rem;line-height:1.35}
.rail a::before{content:"";position:absolute;left:-1.25rem;top:.95em;width:.55rem;height:2px;background:var(--rule)}
.rail a:hover{color:var(--fg)}
.rail a[aria-current]{color:var(--fg);font-weight:600}
.rail .thumb{position:absolute;left:.06rem;top:0;width:.55rem;height:1.6rem;border-radius:9px;background:var(--lime);box-shadow:0 0 0 3px var(--bg);transition:transform .35s cubic-bezier(.2,.9,.2,1)}
@media (prefers-reduced-motion:reduce){.rail .thumb{transition:none}}

/* phone: the rail turns into a thin track under the header, the thumb shows how far you are */
@media (max-width:860px){
  .page{display:block;padding-top:2.25rem}
  .rail{position:fixed;top:4rem;left:0;right:0;z-index:4;max-height:none;height:3px;background:var(--rule)}
  .rail ol{display:none}
  .rail .thumb{top:0;left:0;width:2.25rem;height:3px;border-radius:0 3px 3px 0;box-shadow:none}
  .lead{font-size:1.15rem}
  .row,.rows-h{grid-template-columns:1fr;gap:.25rem}
  .rows-h{display:none}
  .row .basis::before{content:"Basis: ";color:var(--graphite)}
}
@media (max-width:420px){
  .mark-w{font-size:1.05rem}
  .docs a{padding:.5rem .7rem}
}
@media print{.top,.rail{display:none}.page{display:block}a{color:inherit}}

/* four nav pills fit a 375px phone: the wordmark steps aside, the logo tile stays */
@media (max-width:560px){.mark-w{display:none}.docs a{padding:.5rem .65rem}}
