/* styluslog.app. "Paper after dark", the app's tokens
   (lib/ui/theme/tokens.dart). Fonts are served from this site, not Google
   Fonts, so a visit sends nothing to a third party. */

@font-face {
  font-family: "Barlow";
  src: url("/fonts/Barlow-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("/fonts/Barlow-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("/fonts/BarlowSemiCondensed-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("/fonts/DMMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #16130f;
  --surface: #201c17;
  --border: #332d25;
  --divider: #2b2620;
  --text: #efe6d6;
  --muted: #b9ad99;
  --faint: #918672;
  --accent: #e8954a;
  --rec: #f0573f;
  --sans: "Barlow", system-ui, sans-serif;
  --cond: "Barlow Semi Condensed", "Barlow", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Header and footer ─────────────────────────────────────────────────── */

.top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 0;
  border-bottom: 1px solid var(--divider);
}
.top a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--cond);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.02em;
}
.top svg { width: 30px; height: 30px; }

.foot {
  margin-top: 64px;
  padding: 22px 0 40px;
  border-top: 1px solid var(--divider);
  color: var(--faint);
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.foot a { color: var(--muted); }
.foot .legal { flex-basis: 100%; margin: 6px 0 0; font-size: 13px; line-height: 1.5; }

/* ── Landing ───────────────────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.hero main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0;
}
.mark { width: 112px; height: 112px; margin-bottom: 28px; }

.label {
  font-family: var(--cond);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}

h1 {
  font-family: var(--cond);
  font-weight: 600;
  font-size: clamp(40px, 9vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
}
h1 .sub { display: block; color: var(--accent); }

.lede {
  font-size: 19px;
  color: var(--muted);
  max-width: 34em;
  margin: 0 0 32px;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.soon {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  font-family: var(--mono);
  font-size: 14px;
  color: var(--muted);
}
.soon::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* ── Policy ────────────────────────────────────────────────────────────── */

.doc h1 { font-size: clamp(36px, 7vw, 48px); margin-top: 48px; }
.meta {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--faint);
  margin: 0 0 32px;
}

.summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  margin: 0 0 8px;
}
.summary ul { margin: 0; padding-left: 20px; }
.summary li + li { margin-top: 6px; }

.doc h2 {
  font-family: var(--cond);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 44px 0 10px;
}
.doc p, .doc li { color: var(--text); }
.doc ul { padding-left: 20px; }
.doc li + li { margin-top: 6px; }
.doc code {
  font-family: var(--mono);
  font-size: 0.88em;
  color: var(--muted);
}
.doc strong { font-weight: 600; }
