/* Dashwise site. Light asphalt pages with dark bands; amber and red come from the app's rev bar.
   No inline styles anywhere: the CSP forbids them. */
:root {
  color-scheme: light;
  --page: #e8eaed;
  --surface: #f6f7f8;
  --ink: #14171a;
  --muted: #5b626b;
  --rule: #c9cdd2;
  --dark: #0e1013;
  --dark-ink: #f2f3f5;
  --dark-muted: #a3a9b1;
  --dark-rule: #262a30;
  --amber: #ffb000;
  --red: #ff3b30;
  --seg-off: #23272d;
  --focus: var(--ink);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --gutter: 1rem;
  --section: 3.25rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--page); color: var(--ink); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 1.0625rem/1.5 var(--sans); background: var(--page); color: var(--ink); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--ink); text-underline-offset: .2em; text-decoration-thickness: 2px; text-decoration-color: var(--amber); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--amber); color: #14171a; padding: .6rem 1rem; z-index: 10; font-weight: 700; }
.skip:focus { left: 0; }
.wrap { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }

/* Dark bands re-scope the tokens, so everything inside them reads light on dark */
.site-header, .band-dark, .site-footer {
  --ink: var(--dark-ink); --muted: var(--dark-muted); --rule: var(--dark-rule); --focus: var(--amber);
  background: var(--dark); color: var(--ink);
}

/* Type */
h1, h2, h3 { font-weight: 800; letter-spacing: -.025em; line-height: 1.08; margin: 0; text-wrap: balance; }
h1.display { font-size: clamp(2.375rem, 4.6vw + 1rem, 4.25rem); letter-spacing: -.035em; line-height: 1.02; }
h2 { font-size: clamp(1.75rem, 2.2vw + 1rem, 2.5rem); }
h3 { font-size: 1.125rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
p { margin: 0; }
.lead { font-size: clamp(1.0625rem, .4vw + 1rem, 1.25rem); line-height: 1.5; color: var(--muted); max-width: 36rem; margin-top: 1rem; }
.note { font-size: .9375rem; color: var(--muted); margin-top: 1.25rem; max-width: 40rem; }
/* Kept for the 404 page: a small sentence-case line, not a tracked label */
.eyebrow { font-size: .9375rem; font-weight: 600; color: var(--muted); margin: 0 0 .75rem; }
.num, .strip figcaption, .checks { font-variant-numeric: tabular-nums; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 3.5rem; flex-wrap: nowrap; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.0625rem; letter-spacing: -.01em; text-decoration: none; }
.brand img { width: 1.75rem; height: 1.75rem; border-radius: .45rem; }
.site-nav { display: flex; align-items: center; gap: 1.25rem; font-size: .9375rem; flex-wrap: nowrap; white-space: nowrap; }
.site-nav a { color: var(--muted); text-decoration: none; padding: .35rem 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
/* Same header on every page. On phones only Support, Privacy and the language stay */
.site-nav .nav-extra { display: none; }
.brand { flex-shrink: 0; }
.site-nav a.lang { color: var(--ink); font-weight: 600; border: 1px solid #3a3f46; border-radius: 999px; padding: .2rem .7rem; }

/* Buttons */
.btn { display: inline-block; padding: .8rem 1.35rem; border-radius: .7rem; font-weight: 700; text-decoration: none; background: var(--ink); color: var(--page); }
.band-dark .btn { background: var(--amber); color: #14171a; }
.btn:hover { filter: brightness(1.08); }
.cta-row { display: flex; align-items: center; gap: .75rem 1.5rem; flex-wrap: wrap; margin-top: 1.75rem; }
.text-link { font-weight: 600; padding: .4rem 0; }

/* Sections */
section { padding: var(--section) 0; }
.section-head { max-width: 40rem; margin-bottom: 2rem; }
.surface { background: var(--surface); }

/* Hero: a dark band with one cropped phone and the rev bar along its bottom edge */
.hero { padding: 0 0 .75rem; overflow: hidden; }
.hero-grid { display: grid; gap: 2.25rem; padding-top: 1.75rem; }
.hero-copy { min-width: 0; }
.hero-copy .note { margin-top: 1.25rem; }
.hero-shot { justify-self: center; width: 14rem; height: 15rem; overflow: hidden; padding: 0 8px; margin-bottom: .75rem; }
.hero-shot .shot { max-width: none; }

/* The rev bar: white, then amber, then red. Fills once on load. */
.rev { display: grid; grid-template-columns: repeat(36, minmax(0, 1fr)); gap: 2px; height: .75rem; margin: 0; padding: 0; list-style: none; }
.rev li { margin: 0; border-radius: 1px; background: var(--dark-ink); }
.rev li:nth-child(n+25) { background: var(--amber); }
.rev li:nth-child(n+33) { background: var(--red); }

/* Phone frame: titanium edge, black bezel, side buttons */
.shot { position: relative; margin: 0; width: 100%; max-width: 18rem; padding: 3.2%;
  border: 3px solid transparent; border-radius: 15% / 7%;
  background: linear-gradient(#000, #000) padding-box,
              linear-gradient(140deg, #5b5f66 0%, #2a2d32 18%, #1a1c1f 50%, #2c2f34 82%, #55595f 100%) border-box; }
.shot img { display: block; width: 100%; height: auto; background: #000; border-radius: 12% / 5.6%; }
.shot::before, .shot::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: #3a3d42; }
.shot::before { left: -6px; top: 22%; height: 9%; box-shadow: 0 -4.5em 0 #3a3d42; }
.shot::after { right: -6px; top: 26%; height: 13%; }
/* On light backgrounds the phone gets a real shadow so it sits on the page */
.strip .shot { box-shadow: 0 1px 2px rgba(20, 23, 26, .18), 0 10px 20px -6px rgba(20, 23, 26, .22), 0 28px 48px -18px rgba(20, 23, 26, .38); }

/* Screenshot strip */
.strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; margin: 0; padding: 0; list-style: none; }
.strip figure { margin: 0; }
.strip .shot { margin: 0 auto; max-width: 15rem; }
.strip figcaption { margin: 1rem auto 0; max-width: 15rem; font-size: .9375rem; line-height: 1.4; color: var(--muted); }
.strip figcaption b { color: var(--ink); font-weight: 700; }

/* Plain-text columns with a thin rule above each item */
.cols { display: grid; gap: 0 3rem; margin: 0; padding: 0; list-style: none; }
.cols > li { border-top: 1px solid var(--rule); padding: 1.1rem 0 1.6rem; }
.cols h3 { margin-bottom: .4rem; }
.cols p { color: var(--muted); max-width: 34rem; }

/* Privacy band */
.split { display: grid; gap: 1.5rem 4rem; }
.split > * { min-width: 0; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding-left: 1.4rem; position: relative; margin: 0 0 .6rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .5em; width: .5rem; height: .5rem; background: var(--amber); border-radius: 1px; }

/* FAQ */
.faq-grid { display: grid; gap: 1.5rem 4rem; }
.faq details { border-top: 1px solid var(--rule); padding: .9rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.prose .faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: .6rem 0 .2rem; color: var(--muted); max-width: 40rem; }
.faq details p a { color: var(--ink); }

/* Final call to action */
.cta-final .cta-row { margin-top: 1.5rem; }

/* Android block: switch on later by adding the class "is-on" */
.platform-android { display: none; }
.platform-android.is-on { display: block; }

/* Footer */
.site-footer { padding: 2rem 0 2.5rem; font-size: .9375rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.site-footer a { color: var(--ink); }
.site-footer a.lang { font-weight: 600; }
.site-footer .imprint p { margin: 0; }

/* Text pages: support, privacy, imprint, 404 */
.prose { max-width: 44rem; margin: 0 auto; padding: 2.5rem var(--gutter) 4rem; }
.prose h1 { font-size: clamp(2rem, 3vw + 1rem, 2.75rem); margin: .5rem 0 1rem; }
.prose h2 { font-size: 1.375rem; letter-spacing: -.015em; margin: 2.5rem 0 .6rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.prose p { margin: 0 0 1rem; }
.prose ul { padding-left: 1.3rem; margin: 0 0 1rem; }
.prose li { margin: .4rem 0; }
.prose address, .site-footer address { font-style: normal; line-height: 1.6; }

@media (min-width: 48rem) {
  :root { --gutter: 2rem; --section: 5.5rem; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 19rem; gap: 4rem; align-items: end; padding-top: 3rem; }
  .hero-copy { align-self: center; padding-bottom: 3.5rem; }
  .hero-shot { width: 19rem; height: 30rem; margin-bottom: 1rem; }
  .rev { gap: 4px; height: 1rem; }
  .hero { padding-bottom: 1rem; }
  .site-nav .nav-extra { display: inline; }
  .strip { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
  .section-head { margin-bottom: 3rem; }
  .cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .faq-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .prose { padding-top: 3.5rem; padding-bottom: 5rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .rev li { animation: seg-on .14s ease-out both; }
  .rev li:nth-child(2){animation-delay:33ms} .rev li:nth-child(3){animation-delay:66ms} .rev li:nth-child(4){animation-delay:99ms}
  .rev li:nth-child(5){animation-delay:132ms} .rev li:nth-child(6){animation-delay:165ms} .rev li:nth-child(7){animation-delay:198ms}
  .rev li:nth-child(8){animation-delay:231ms} .rev li:nth-child(9){animation-delay:264ms} .rev li:nth-child(10){animation-delay:297ms}
  .rev li:nth-child(11){animation-delay:330ms} .rev li:nth-child(12){animation-delay:363ms} .rev li:nth-child(13){animation-delay:396ms}
  .rev li:nth-child(14){animation-delay:429ms} .rev li:nth-child(15){animation-delay:462ms} .rev li:nth-child(16){animation-delay:495ms}
  .rev li:nth-child(17){animation-delay:528ms} .rev li:nth-child(18){animation-delay:561ms} .rev li:nth-child(19){animation-delay:594ms}
  .rev li:nth-child(20){animation-delay:627ms} .rev li:nth-child(21){animation-delay:660ms} .rev li:nth-child(22){animation-delay:693ms}
  .rev li:nth-child(23){animation-delay:726ms} .rev li:nth-child(24){animation-delay:759ms} .rev li:nth-child(25){animation-delay:792ms}
  .rev li:nth-child(26){animation-delay:825ms} .rev li:nth-child(27){animation-delay:858ms} .rev li:nth-child(28){animation-delay:891ms}
  .rev li:nth-child(29){animation-delay:924ms} .rev li:nth-child(30){animation-delay:957ms} .rev li:nth-child(31){animation-delay:990ms}
  .rev li:nth-child(32){animation-delay:1023ms} .rev li:nth-child(33){animation-delay:1056ms} .rev li:nth-child(34){animation-delay:1089ms}
  .rev li:nth-child(35){animation-delay:1122ms} .rev li:nth-child(36){animation-delay:1155ms}
}
@keyframes seg-on { from { background: var(--seg-off); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
html { scroll-padding-top: 4.5rem; }
