@font-face {
  font-family: 'Archivo Expanded';
  src: url('/fonts/Archivo-ExpandedBold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #0b0b0c;
  --surface: #151517;
  --line: #26262a;
  --text: #f4f1ea;
  --muted: #8c8981;
  --foil: linear-gradient(115deg, #8be9fd 0%, #b9a6ff 28%, #ff9ecf 52%, #ffe29a 76%, #8be9fd 100%);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f5f3ee;
    --surface: #ffffff;
    --line: #e4e1da;
    --text: #141413;
    --muted: #77736a;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

a { color: inherit; }

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

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: 'Archivo Expanded', sans-serif;
  font-size: 20px;
}

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

nav { display: flex; gap: 18px; font-size: 15px; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover, nav a[aria-current] { color: var(--text); }

h1, h2 { font-family: 'Archivo Expanded', sans-serif; letter-spacing: -0.01em; }

/* Home */
.hero { padding: 72px 0 40px; text-align: center; }
.hero img { width: 96px; height: 96px; border-radius: 22px; }
.hero h1 { font-size: clamp(34px, 8vw, 56px); line-height: 1.05; margin: 28px 0 14px; }
.hero p { color: var(--muted); font-size: 19px; margin: 0 auto; max-width: 30em; }
.badge {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
}
.foil { height: 3px; border-radius: 2px; background: var(--foil); margin: 40px auto; max-width: 200px; }

.plans { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); padding-bottom: 60px; }
.plan { background: var(--surface); border-radius: 18px; padding: 20px; }
.plan h2 { font-size: 18px; margin: 0 0 4px; }
.plan .price { color: var(--muted); margin: 0 0 12px; font-size: 15px; }
.plan ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; }

/* Documents */
.doc { padding: 24px 0 64px; }
.doc h1 { font-size: 30px; margin: 16px 0 4px; }
.doc .updated { color: var(--muted); font-size: 15px; margin: 0 0 28px; }
.doc h2 { font-size: 18px; margin: 32px 0 8px; }
.doc p, .doc li { color: var(--text); }
.doc ul { padding-left: 20px; }
.doc .card { background: var(--surface); border-radius: 18px; padding: 20px; }

footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 40px;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
footer a { color: var(--muted); }
