/*
 * Sovumi web — one stylesheet for every page.
 *
 * Deliberately hand-written and dependency-free: the box has no Node, these are three
 * static pages, and a build step would be more machinery than the thing it builds.
 * The palette is lifted from the app's `Color.kt` so the site and the product are
 * visibly the same object.
 */

:root {
  --canvas: #0b0c11;
  --card-top: #1e2231;
  --card-bottom: #14161f;
  --ink: #f5f3ef;
  --muted: #9aa0b4;
  --outline: #2a2e3d;
  --coral: #ff5b4a;
  --a: #6c8cff;
  --b: #ffb443;
  --correct: #4ecfa8;
}

@media (prefers-color-scheme: light) {
  :root {
    --canvas: #fbfaf7;
    --card-top: #fff;
    --card-bottom: #f4f2ed;
    --ink: #14161f;
    --muted: #5c6274;
    --outline: #dfdcd5;
    --coral: #d93a2b;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 32px 24px;
  background: var(--canvas);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Reading pages are wider than the landing page, which is a phone-shaped pitch. */
body.prose { place-items: start center; }

main { width: 100%; max-width: 460px; }
main.wide { max-width: 620px; }

/* The three-bar mark: short/medium/tall, the shape of a distribution. */
.mark { display: flex; gap: 6px; align-items: flex-end; height: 38px; margin-bottom: 30px; }
.mark i { display: block; width: 12px; border-radius: 4px; }
.mark i:nth-child(1) { height: 17px; background: var(--coral); }
.mark i:nth-child(2) { height: 29px; background: var(--ink); }
.mark i:nth-child(3) { height: 38px; background: var(--correct); }
a.mark { text-decoration: none; }

h1 { font-size: 34px; line-height: 1.1; letter-spacing: -.03em; margin: 0 0 16px; }
h2 {
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--coral); margin: 34px 0 10px;
}
p { line-height: 1.65; }
.lede { color: var(--muted); line-height: 1.6; font-size: 16px; margin: 0 0 28px; }

.card {
  background: linear-gradient(180deg, var(--card-top), var(--card-bottom));
  border: 1px solid var(--outline);
  border-radius: 26px;
  padding: 24px;
}

.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--coral); margin: 0 0 12px;
}
.q { font-size: 21px; font-weight: 700; letter-spacing: -.015em; margin: 0 0 6px; line-height: 1.25; }
.ask { color: var(--muted); font-size: 14px; margin: 0 0 20px; }

.row { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; font-size: 15px; }
.row b { margin-left: auto; font-weight: 700; }
.badge { width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.bar { height: 9px; border-radius: 99px; background: #262a38; overflow: hidden; margin-bottom: 18px; }
.bar i { display: block; height: 100%; border-radius: 99px; }
@media (prefers-color-scheme: light) { .bar { background: #e4e1da; } }

.cta {
  display: block; text-align: center; text-decoration: none;
  background: var(--coral); color: #1a0b08; font-weight: 600;
  padding: 17px 20px; border-radius: 18px; margin-top: 26px;
}
@media (prefers-color-scheme: light) { .cta { color: #fff; } }

/* The store listing does not exist yet (HARDENING H-04). Until it does, the button
   says so rather than linking into a 404. */
.cta.pending { background: transparent; border: 1px solid var(--outline); color: var(--muted); cursor: default; }

ul { color: var(--muted); line-height: 1.7; padding-left: 20px; font-size: 14px; margin: 26px 0 0; }

footer { color: var(--muted); font-size: 12px; margin-top: 34px; text-align: center; }
footer a { color: var(--muted); }
footer nav { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 10px; }
