/* Fargene og fonten er appens egne (Pokerface/Theme/Theme.swift). */
@font-face { font-family: "Bricolage"; font-weight: 400; src: url("fonts/BricolageGrotesque-Regular.woff2") format("woff2"); font-display: swap; }
@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; }

:root {
  --background: #0E0E10;
  --surface: #242428;
  --surface-row: #2C2C31;
  --divider: #3A3A40;
  --text: #FFFFFF;
  --text-secondary: #E6E6EA;
  --text-tertiary: #C9C9CF;
  --accent: #E0263A;
  --accent-text: #FF5A67;
  --gold: #F5B70A;
  --on-gold: #1A1400;
  color-scheme: dark;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--background);
  color: var(--text-secondary);
  font: 400 17px/1.55 "Bricolage", -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(--text); }
.brand svg { width: 44px; height: auto; flex: none; }
.brand span { font: 800 30px/1 "Bricolage", sans-serif; letter-spacing: -0.02em; }
.brand.small svg { width: 32px; }
.brand.small span { font-size: 22px; }

h1 { color: var(--text); font-weight: 800; font-size: 38px; line-height: 1.08; letter-spacing: -0.02em; margin: 32px 0 12px; }
h2 { color: var(--text); font-weight: 800; font-size: 22px; letter-spacing: -0.01em; margin: 36px 0 8px; }
strong { color: var(--text); }
a { color: var(--accent-text); font-weight: 700; }
.muted { color: var(--text-tertiary); }

/* Apples offisielle merke; høyden følger Apples minstekrav (40 px). */
.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; }

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 0 24px;
  border-radius: 18px;
  background: var(--accent);
  color: var(--text);
  font: 800 20px/1 "Bricolage", sans-serif;
  text-decoration: none;
  margin: 24px 0 8px;
}

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-row);
  color: var(--text);
  font: 800 18px/36px "Bricolage", sans-serif;
  text-align: center;
}
ol.steps b { color: var(--text); font-weight: 800; }

.pro {
  background: var(--surface);
  border-radius: 18px;
  padding: 20px;
  margin: 16px 0;
}
.badge {
  display: inline-block;
  background: var(--gold);
  color: var(--on-gold);
  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(--divider); font-size: 15px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
