/* Tallier marketing and legal pages.
   Shares the app's palette so the website and the product look like one thing. */

:root {
  --navy: #0f172a;
  --navy-soft: #182136;
  --cyan: #00d4ff;
  --cyan-deep: #0e7490;
  --emerald: #10b981;
  --canvas: #f5f7fa;
  --surface: #ffffff;
  --text: #0f172a;
  --text-muted: #475569;
  --text-faint: #64748b;
  --border: #e2e8f0;
  --radius: 20px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #0b1120;
    --surface: #182136;
    --text: #f8fafc;
    --text-muted: #cbd5e1;
    --text-faint: #94a3b8;
    --border: #26324d;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

/* 16px side gutter so text never touches the edge on a phone. */
.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }

/* ---- Hero ---- */

.hero {
  background:
    radial-gradient(900px 500px at 15% -10%, #155e75 0%, transparent 60%),
    radial-gradient(700px 450px at 85% 10%, #0e7490 0%, transparent 55%),
    var(--navy);
  color: #fff;
  padding: 72px 0 64px;
  text-align: center;
}

.mark {
  width: 76px; height: 76px;
  border-radius: 22px;
  background: linear-gradient(135deg, #00d4ff, #0e7490);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 14px 34px rgba(0, 212, 255, 0.34);
}

.hero h1 { font-size: 2.6rem; margin: 0 0 10px; letter-spacing: -0.02em; }
.hero p { margin: 0 auto; max-width: 30rem; color: #cbd5e1; font-size: 1.1rem; }

/* ---- Content ---- */

main { padding: 48px 0 72px; }

h2 { font-size: 1.35rem; margin: 2.2em 0 0.5em; letter-spacing: -0.01em; }
h2:first-child { margin-top: 0; }
h3 { font-size: 1.05rem; margin: 1.6em 0 0.4em; }

p, li { color: var(--text-muted); }
li { margin-bottom: 0.4em; }

a { color: var(--cyan-deep); text-decoration-thickness: 1px; text-underline-offset: 2px; }
@media (prefers-color-scheme: dark) { a { color: #22d3ee; } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 22px 0;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.lede { font-size: 1.05rem; color: var(--text); }

.updated { font-size: 0.85rem; color: var(--text-faint); margin-top: 0; }

.features { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin: 28px 0; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px; }
.feature strong { display: block; color: var(--text); margin-bottom: 4px; }
.feature span { font-size: 0.92rem; color: var(--text-faint); }

/* ---- Footer ---- */

footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 44px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-faint);
}
footer nav { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
/* 44px minimum touch target. */
footer nav a { padding: 11px 0; display: inline-block; }

/* ---- Accessibility ---- */

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
