/* Shared by /, /about and 404.html. The three legal pages keep their own inline
   <style> and do not load this file. System fonts only: nothing is downloaded.
   Palette is the app's own dark theme (src/constants/theme.ts), greys only. */
:root {
  color-scheme: dark;
  --black: #000000;
  --white: #ffffff;
  --surface: #1a1b1e;
  --surface-2: #242629;
  --raised: #2e3135;
  --line: #52565d;
  --dim: #8b8f97;
  --soft: #b0b4ba;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font: 1rem/1.6 var(--font);
}
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip {
  position: absolute; left: .75rem; top: -4rem; z-index: 10;
  background: var(--white); color: var(--black); padding: .6rem .9rem; border-radius: 6px;
}
.skip:focus { top: .75rem; }
.wrap { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 42rem); margin-inline: auto; }

/* header and footer */
.site-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; padding-block: 1rem; }
.brand { font-weight: 800; letter-spacing: .12em; text-decoration: none; }
.site-head nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.site-head nav a { color: var(--soft); text-decoration: none; padding: .35rem 0; }
.site-head nav a:hover, .site-head nav a[aria-current] { color: var(--white); text-decoration: underline; }
.site-foot { border-top: 1px solid var(--line); margin-top: 4rem; padding-block: 2.5rem 3rem; color: var(--soft); font-size: .95rem; }
.site-foot ul { list-style: none; margin: 0 0 1.25rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.site-foot p { margin: 0 0 .4rem; }

/* buttons: plain text, no store badges */
.btn {
  display: inline-block; min-height: 2.75rem; padding: .7rem 1.4rem;
  border: 2px solid var(--white); border-radius: 999px;
  color: var(--white); background: transparent; font-weight: 700; text-decoration: none;
}
.btn:hover { background: var(--white); color: var(--black); }
.btn.solid { background: var(--white); color: var(--black); }
.btn.solid:hover { background: var(--soft); border-color: var(--soft); }

/* 404 */
.lost { padding-block: 5rem 2rem; }
.lost h1 { font-size: clamp(2.5rem, 12vw, 6rem); line-height: 1; margin: 0 0 1rem; }
.lost p { color: var(--soft); max-width: 32rem; }

/* inline SVG sprite lives in the page; keep it out of layout */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* home: hero */
.hero { position: relative; overflow: hidden; isolation: isolate; padding-bottom: 0; }
.hero .site-head { position: relative; z-index: 2; }
.wordmark {
  margin: 2.25rem 0 1.25rem; font-weight: 900; text-transform: uppercase;
  line-height: .86; letter-spacing: -.04em; font-size: clamp(2.6rem, 13.2vw, 12rem);
}
.wordmark span { display: block; }
.wordmark span + span { color: var(--soft); }
.hero-copy { position: relative; z-index: 2; max-width: 34rem; }
.hero-copy p { color: var(--soft); font-size: 1.15rem; margin: 0 0 1.5rem; }
.cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.stage { position: relative; z-index: 1; height: 23rem; margin-top: 1.5rem; }
.stage .phone { position: absolute; left: 50%; bottom: -5rem; width: min(15.5rem, 64vw); transform: translateX(-50%) rotate(-8deg); }
.phone { display: block; height: auto; }
.floaters { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.fl { position: absolute; z-index: 0; color: var(--white); opacity: .5; animation: float 9s ease-in-out infinite; }
.fl .ico { width: 100%; height: 100%; stroke-width: 1.5; }
.fl:nth-of-type(1) { left: 6%;  top: 10%; width: 2.6rem; animation-duration: 8s; }
.fl:nth-of-type(2) { left: 84%; top: 8%;  width: 3rem;   animation-duration: 11s; animation-delay: -3s; }
.fl:nth-of-type(3) { left: 72%; top: 34%; width: 2.2rem; animation-duration: 9s;  animation-delay: -6s; }
.fl:nth-of-type(4) { left: 58%; top: 40%; width: 3.2rem; animation-duration: 12s; animation-delay: -2s; }
.fl:nth-of-type(5) { left: 88%; top: 62%; width: 2.8rem; animation-duration: 10s; animation-delay: -5s; }
.fl:nth-of-type(6) { left: 4%;  top: 72%; width: 2.4rem; animation-duration: 8.5s; animation-delay: -4s; }
.fl:nth-of-type(7) { left: 26%; top: 90%; width: 2.2rem; animation-duration: 13s; animation-delay: -7s; }
.fl:nth-of-type(8) { left: 66%; top: 86%; width: 2.6rem; animation-duration: 9.5s; animation-delay: -1s; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(4deg); } }
@media (prefers-reduced-motion: reduce) { .fl { animation: none; } html { scroll-behavior: auto; } }

/* sections */
section { padding-block: 4rem; }
section h2 { font-size: clamp(1.7rem, 6vw, 2.6rem); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 1rem; }
section .lede { color: var(--soft); max-width: 40rem; margin: 0 0 1.5rem; }
.band-light { background: var(--white); color: var(--black); }
.band-light .lede, .band-light p { color: #33363b; }
.band-dark { background: var(--surface); }
.band-light a:focus-visible { outline-color: var(--black); }

/* comparison */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.table-wrap:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
table { border-collapse: collapse; width: 100%; min-width: 34rem; }
caption { text-align: left; padding: 1rem 1rem .25rem; color: var(--soft); font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: .9rem 1rem; border-top: 1px solid var(--line); }
thead th { color: var(--soft); font-weight: 600; font-size: .9rem; }
tbody th { font-weight: 700; white-space: nowrap; }
tr.us th, tr.us td { background: var(--raised); }
td small { display: block; color: var(--dim); margin-top: .25rem; }
.fine { color: var(--soft); font-size: .95rem; max-width: 46rem; }
.fine ul { list-style: none; margin: .5rem 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }

/* features */
.feature { display: grid; gap: 2rem; align-items: center; }
.feature .phone { width: min(13rem, 60vw); margin-inline: auto; transform: rotate(5deg); }
.feature.flip .phone { transform: rotate(-5deg); }
.feature .kicker { display: flex; align-items: center; gap: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; margin-bottom: .75rem; }
.feature p { max-width: 34rem; margin: 0 0 .9rem; }
.feature .note { font-size: .95rem; }
@media (min-width: 48rem) {
  .feature { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .feature.flip .phone-col { order: -1; }
}

/* how it works */
.steps { list-style: none; counter-reset: s; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; }
.steps li { counter-increment: s; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 1.25rem; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--white); color: var(--black); font-weight: 800; margin-bottom: .75rem; }
.steps h3 { margin: 0 0 .35rem; font-size: 1.1rem; }
.steps p { margin: 0; color: var(--soft); }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* reviews */
.empty { border: 1px dashed var(--line); border-radius: 12px; padding: 1.75rem 1.25rem; max-width: 40rem; }
.empty h3 { margin: 0 0 .5rem; font-size: 1.25rem; }
.empty p { color: var(--soft); margin: 0 0 1rem; }

/* about + prose pages */
.prose { padding-block: 2rem 1rem; }
.prose h1 { font-size: clamp(2rem, 8vw, 3.2rem); line-height: 1.05; letter-spacing: -.02em; margin: 1rem 0 1rem; }
.prose h2 { font-size: 1.4rem; margin: 2.5rem 0 .75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.prose p, .prose li { color: var(--soft); }
.prose strong { color: var(--white); }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .6rem; }
