/* motlo — coming soon page.
   One column, centred, no framework. Colours are tokens so light/dark stay
   in sync; the brand blue is the app icon's background. */

:root {
  --brand: #0081f6;          /* app icon background (#0D94FF → #0081F6) */
  --plate: #0b3d91;          /* TR plate blue — the app's accent */
  --ok: #1d9a5c;
  --warn: #c8781a;

  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --surface: #ffffff;
  --ink: #0d1117;
  --ink-2: #5b6472;
  --ink-3: #8b94a3;
  --line: #e3e7ed;
  --shadow: 0 1px 2px rgba(13, 17, 23, .05), 0 12px 32px -12px rgba(13, 17, 23, .18);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0c0e;
    --bg-soft: #121418;
    --surface: #15181d;
    --ink: #f2f4f7;
    --ink-2: #a2abb9;
    --ink-3: #6f7886;
    --line: #262b33;
    --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 12px 32px -12px rgba(0, 0, 0, .7);
    --ok: #35c07c;
    --warn: #e0972f;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 0 20px;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100svh;
}

/* A soft wash of brand colour behind the fold, nothing more. */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 60vh;
  background: radial-gradient(70% 100% at 50% 0%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.wrap {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: clamp(48px, 12vh, 104px) 0 8px;
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 10%, transparent);
  color: color-mix(in srgb, var(--brand) 78%, var(--ink));
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
}

.appicon {
  display: block;
  margin: 28px auto 20px;
  width: 112px;
  height: 112px;
  border-radius: 25px;         /* ≈ iOS squircle at this size */
  box-shadow: var(--shadow);
}

h1 {
  margin: 0;
  font-size: clamp(40px, 9vw, 56px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1;
}

.lede {
  margin: 14px auto 0;
  max-width: 34ch;
  color: var(--ink-2);
  font-size: clamp(16px, 4.2vw, 18px);
}

.lede strong { color: var(--ink); font-weight: 600; }

/* ── status card ─────────────────────────────────────────── */

.card {
  margin: 36px 0 0;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  text-align: left;
}

.plate {
  display: inline-flex;
  align-items: stretch;
  height: 30px;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  overflow: hidden;
  font-weight: 700;
  letter-spacing: .04em;
}

.plate-band {
  display: grid;
  place-items: center;
  width: 22px;
  background: var(--plate);
  color: #fff;
  font-size: 10px;
}

.plate-no {
  display: grid;
  place-items: center;
  padding: 0 10px;
  background: #fff;
  color: #111;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.rows {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.rows li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  column-gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.rows li:first-child { border-top: 0; padding-top: 4px; }

.row-title { font-weight: 600; font-size: 15px; }

.row-meta {
  grid-column: 1;
  color: var(--ink-3);
  font-size: 13px;
}

.chip {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.chip.ok   { background: color-mix(in srgb, var(--ok) 14%, transparent);   color: var(--ok); }
.chip.warn { background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); }

/* progress bar sits under both text lines, spanning the full row */
.bar {
  grid-column: 1 / -1;
  display: block;
  height: 4px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  overflow: hidden;
}

.bar::after {
  content: "";
  display: block;
  width: var(--p);
  height: 100%;
  border-radius: inherit;
}

.bar.ok::after   { background: var(--ok); }
.bar.warn::after { background: var(--warn); }

/* ── features ────────────────────────────────────────────── */

.feats {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  text-align: left;
}

.feats li {
  padding: 13px 16px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 14.5px;
}

.feats b {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

@media (min-width: 560px) {
  .feats { grid-template-columns: 1fr 1fr; }
}

/* ── footer ──────────────────────────────────────────────── */

.note {
  margin: 30px auto 0;
  max-width: 36ch;
  color: var(--ink-2);
  font-size: 14.5px;
}

.note a {
  color: color-mix(in srgb, var(--brand) 85%, var(--ink));
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--brand) 35%, transparent);
  white-space: nowrap;
}

.note a:hover { border-bottom-color: currentColor; }

footer {
  margin-top: auto;
  padding: 40px 0 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--ink-3);
  font-size: 13px;
  text-align: center;
}

/* ── legal & support pages ───────────────────────────────── */

.doc {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(32px, 7vh, 64px) 0 8px;
}

.doc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.home {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -.02em;
  text-decoration: none;
}

.home img { width: 32px; height: 32px; border-radius: 8px; }

.doc h1 { margin-top: 36px; font-size: clamp(32px, 7vw, 42px); line-height: 1.1; }

.updated { margin-top: 10px; color: var(--ink-3); font-size: 14px; }

.summary {
  margin: 24px 0 4px;
  padding: 16px 18px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
}

.doc h2 { margin: 34px 0 8px; font-size: 19px; letter-spacing: -.01em; }
.doc p, .doc li { color: var(--ink-2); }
.doc p + p { margin-top: 10px; }
.doc ul { margin: 8px 0 0; padding-left: 20px; }
.doc li + li { margin-top: 6px; }
.doc strong { color: var(--ink); font-weight: 600; }

.doc a, footer a {
  color: color-mix(in srgb, var(--brand) 85%, var(--ink));
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
}

.faq h3 { margin: 22px 0 4px; font-size: 16px; }

footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
footer a { color: var(--ink-3); border-bottom-color: transparent; }
footer a:hover { color: var(--ink-2); }

.doc .home { border: 0; color: var(--ink); }
