/* Fargene og fontene er appens egne (App/Theme.swift i appen). */
@font-face { font-family: "Bricolage"; font-weight: 700; src: url("fonts/BricolageGrotesque-Bold.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Bricolage"; font-weight: 800; src: url("fonts/BricolageGrotesque-ExtraBold.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "DM Sans"; font-weight: 400; src: url("fonts/DMSans-Regular.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "DM Sans"; font-weight: 700; src: url("fonts/DMSans-Bold.woff2") format("woff2"); font-display: swap; }

:root {
  --ink: #12141C;
  --surface: #1D2030;
  --surface-2: #2A2E40;
  --line: #3A3F57;
  --paper: #F3EFE4;
  --paper-shadow: #8A8676;
  --soft: #D5D8E6;
  --muted: #A3A8C3;
  --accent: #C8F03C;
  color-scheme: dark;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--soft);
  font: 400 17px/1.55 "DM Sans", -apple-system, system-ui, sans-serif;
}

main { max-width: 640px; margin: 0 auto; padding: 32px 16px 48px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--paper); }
.brand svg { width: 44px; height: 44px; flex: none; }
.brand span { font: 800 30px/1 "Bricolage", sans-serif; letter-spacing: -0.02em; }
.brand.small svg { width: 32px; height: 32px; }
.brand.small span { font-size: 22px; }

h1 { color: var(--paper); font: 800 38px/1.08 "Bricolage", sans-serif; letter-spacing: -0.02em; margin: 32px 0 12px; }
h2 { color: var(--paper); font: 800 22px/1.25 "Bricolage", sans-serif; letter-spacing: -0.01em; margin: 36px 0 8px; }
strong, b { color: var(--paper); font-weight: 700; }
a { color: var(--accent); font-weight: 700; }
.muted { color: var(--muted); }

.store-badge {
  display: inline-block;
  margin: 24px 0 8px;
  line-height: 0;
}
.store-badge img { height: 50px; width: auto; display: block; }
.store-badge:hover { opacity: 0.85; }

.tiles { display: flex; gap: 8px; margin: 24px 0 4px; }
.tiles span {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 4px 0 var(--paper-shadow);
  color: var(--ink);
  font: 800 26px/48px "Bricolage", sans-serif;
  text-align: center;
}
.tiles span.used { background: var(--surface-2); box-shadow: none; color: var(--muted); }

ol.steps { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
ol.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 4px 14px;
  background: var(--surface);
  border-radius: 18px;
  padding: 16px;
}
ol.steps li::before {
  content: counter(step);
  grid-row: span 2;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--paper);
  font: 800 18px/36px "Bricolage", sans-serif;
  text-align: center;
}

.pro {
  background: var(--surface);
  border-radius: 18px;
  padding: 20px;
  margin: 16px 0;
}
.badge {
  display: inline-block;
  background: var(--accent);
  color: var(--ink);
  font: 800 13px/1 "Bricolage", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 8px;
  padding: 5px 8px;
  vertical-align: 3px;
}
.pro h2 { margin-top: 0; }
.pro ul { margin: 8px 0 0; padding-left: 20px; }

footer { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
