/* Burger Empire site. Light only. Colours and font come from the game itself. */
@font-face { font-family: Fredoka; font-weight: 400; font-display: swap; src: url('fonts/fredoka-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: Fredoka; font-weight: 600; font-display: swap; src: url('fonts/fredoka-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: Fredoka; font-weight: 700; font-display: swap; src: url('fonts/fredoka-latin-700-normal.woff2') format('woff2'); }

:root {
  color-scheme: light;
  --paper: #fff8ec;
  --paper-2: #fff1d9;
  --ink: #3a2e3f;
  --muted: #7d6c70;
  --line: #ecdcc3;
  --red: #e8423a;
  --red-d: #b8302b;
  --yellow: #ffc52e;
  --radius: 28px;
  --wrap: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 18px/1.6 Fredoka, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }

/* ---------- header */
.site-header { padding: 22px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: 0.2px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.site-header nav a { text-decoration: none; font-weight: 600; font-size: 16px; color: var(--muted); padding: 8px 2px; }
.site-header nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }

/* ---------- hero */
.hero { padding: 56px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 72px; align-items: center; }
h1 { margin: 0; font-weight: 700; font-size: clamp(40px, 6.2vw, 68px); line-height: 1.02; letter-spacing: -0.5px; text-wrap: balance; }
h1 em { font-style: normal; color: var(--red); }
.lede { margin: 26px 0 0; font-size: clamp(18px, 2.1vw, 21px); color: var(--muted); max-width: 31em; }
.cta { margin-top: 36px; display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; }
.button {
  display: inline-block; padding: 14px 24px; border-radius: 16px; background: var(--red); color: #fff;
  font-weight: 700; font-size: 18px; text-decoration: none; box-shadow: 0 4px 0 var(--red-d);
}
.button[aria-disabled="true"] { cursor: default; }
.note { color: var(--muted); font-size: 16px; }

.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.shot { margin: 0; }
.shot img {
  width: 100%; aspect-ratio: 696 / 1508; object-fit: cover; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--paper-2);
  box-shadow: 0 30px 50px -30px rgba(58, 46, 63, 0.35);
}
.shots .shot:nth-child(2) { margin-top: 56px; }

/* ---------- sections */
section { padding: 80px 0; border-top: 1px solid var(--line); }
h2 { margin: 0; font-weight: 700; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; letter-spacing: -0.3px; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 24px 72px; align-items: baseline; }
.section-head p { margin: 0; color: var(--muted); max-width: 34em; }

.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; counter-reset: step; }
.steps li { counter-increment: step; padding-top: 22px; border-top: 3px solid var(--ink); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-weight: 700; font-size: 16px; color: var(--red); letter-spacing: 1px; margin-bottom: 14px; }
.steps h3 { margin: 0 0 10px; font-size: 24px; line-height: 1.15; font-weight: 700; }
.steps p { margin: 0; color: var(--muted); font-size: 17px; }

.detail .wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; align-items: center; }
.detail .shot { max-width: 340px; }
dl { margin: 32px 0 0; }
dl div { display: grid; grid-template-columns: 8.5em 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
dl div:last-child { border-bottom: 1px solid var(--line); }
dt { font-weight: 600; }
dd { margin: 0; color: var(--muted); }

/* ---------- footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 56px; color: var(--muted); font-size: 16px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- privacy policy */
.doc { padding: 40px 0 96px; }
.doc .wrap { max-width: 720px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); }
.doc .meta { margin: 14px 0 0; color: var(--muted); font-size: 16px; }
.doc h2 { font-size: 26px; margin: 56px 0 12px; }
.doc p, .doc li { font-size: 18px; }
.doc p { margin: 0 0 16px; }
.doc ul { margin: 0 0 16px; padding-left: 1.2em; }
.doc li { margin-bottom: 8px; }
.doc li::marker { color: var(--red); }
.doc a { text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--yellow); }
.doc a:hover { text-decoration-color: var(--red); }
.doc .summary { margin: 32px 0 0; padding: 20px 24px; background: var(--paper-2); border-radius: 18px; }
.doc .summary p { margin: 0; }

/* ---------- small screens */
@media (max-width: 860px) {
  .wrap { width: min(var(--wrap), 100% - 40px); }
  .hero { padding: 24px 0 64px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
  .shots { max-width: 460px; }
  section { padding: 56px 0; }
  .section-head { grid-template-columns: 1fr; gap: 14px; }
  .steps { grid-template-columns: 1fr; gap: 32px; margin-top: 36px; }
  .detail .wrap { grid-template-columns: 1fr; gap: 40px; }
  .detail .shot { max-width: 300px; }
  dl div { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 420px) {
  body { font-size: 17px; }
  .shots { gap: 12px; }
  .shots .shot:nth-child(2) { margin-top: 32px; }
  .shot img { border-radius: 20px; }
}
