@font-face {
  font-family: "Rubik";
  src: url("/fonts/Rubik-Variable.ttf") format("truetype");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Rubik";
  src: url("/fonts/Rubik-Italic-Variable.ttf") format("truetype");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #0d0b0a;
  --surface: #1a1613;
  --surface-high: #26201b;
  --text: #f8f1e9;
  --text-2: #b8ada3;
  --line: #3a322b;
  --accent: #ff8a1f;
  --on-accent: #1a0e03;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f8f4ef;
    --surface: #ffffff;
    --surface-high: #f0e9e1;
    --text: #1a1410;
    --text-2: #6b6058;
    --line: #e2d8cd;
    --accent: #e8700a;
    --on-accent: #ffffff;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 "Rubik", system-ui, -apple-system, sans-serif;
}
a { color: var(--accent); text-underline-offset: 3px; }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }

header.top { padding: 20px 0; }
header.top .wrap { display: flex; align-items: center; gap: 12px; }
header.top a.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
header.top img { width: 36px; height: 36px; border-radius: 8px; }
header.top span { font-weight: 800; font-style: italic; letter-spacing: 0.04em; font-size: 20px; }

main { padding: 24px 0 64px; }
h1 { font-weight: 800; font-style: italic; font-size: clamp(34px, 7vw, 52px); line-height: 1.05; margin: 0 0 16px; }
h2 { font-weight: 700; font-style: italic; font-size: 24px; margin: 40px 0 8px; }
h3 { font-weight: 700; font-size: 18px; margin: 24px 0 4px; }
p, li { color: var(--text-2); }
strong { color: var(--text); font-weight: 600; }
.lead { font-size: 20px; color: var(--text-2); max-width: 32em; }

.hero { text-align: center; padding: 40px 0 8px; }
.hero img { width: 120px; height: 120px; border-radius: 27px; margin-bottom: 24px; }
.hero .lead { margin: 0 auto; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 40px 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.card h3 { margin-top: 0; }
.card p { margin: 0; }

.button {
  display: inline-block;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 6px;
  transform: skewX(-10deg);
}
.button > span { display: inline-block; transform: skewX(10deg); }
.button.secondary { background: var(--surface-high); color: var(--text); }

.code { display: flex; justify-content: center; gap: 6px; margin: 24px 0; }
.code span {
  width: 48px; height: 60px; display: grid; place-items: center;
  background: var(--surface-high); border-radius: 10px;
  font-weight: 800; font-style: italic; font-size: 30px;
}
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 16px; }

footer { border-top: 1px solid var(--line); padding: 24px 0 40px; font-size: 15px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: var(--text-2); }
.placeholder { background: #ffde59; color: #1a1410; padding: 0 4px; border-radius: 3px; }
