/* Generated by sites/site-kit from the Gatefold site's config: do not edit dist/style.css. */
:root {
  --paper: #f4f2f7;
  --surface: #ffffff;
  --ink: #2a2236;
  --ink2: #6f6680;
  --accent: #1f7a70;
  --on-accent: #ffffff;
  --soft: #ddefeb;
  --hairline: #ddd6e8;
  --mark: #ffe08a;
  --dot: #f2a93b;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #16121d;
    --surface: #221b2c;
    --ink: #f1ecf7;
    --ink2: #ada3bf;
    --accent: #7fd3c6;
    --on-accent: #0f2622;
    --soft: #22312f;
    --hairline: #3a3048;
    --mark: #5a4a12;
    --dot: #f5b04a;
  }
}
/* The layout of the games' sites (after sites/paletto/public/style.css). The color tokens (--paper, --surface,
   --ink, --ink2, --accent, --on-accent, --soft, --hairline, --mark, --dot) are written above this file by
   site.ts from the game's config: the shell of @jewel/paletto-ui-kit with the game's own accent. */
:root {
  --display: "Bricolage Grotesque", "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light dark;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--body);
  -webkit-text-size-adjust: 100%;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 760px; }

/* Header */
header.top { border-bottom: 1px solid var(--hairline); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font: 800 22px/1 var(--display); text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
nav { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; font-size: 15px; }
nav a { color: var(--ink2); text-decoration: none; padding: 6px 0; }
nav a:hover, nav a[aria-current="page"] { color: var(--accent); }

/* Landing */
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0; }
.hero { padding: 64px 0 48px; display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: start; }
.hero .icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12); }
.hero h1 { font-size: clamp(34px, 5.4vw, 52px); letter-spacing: -0.01em; }
.tagline { font-size: 21px; font-weight: 600; color: var(--ink); margin: 14px 0 0; max-width: 34em; }
.pitch { font-size: 18px; color: var(--ink2); margin: 16px 0 28px; max-width: 38em; }
.badges { display: flex; gap: 12px; flex-wrap: wrap; }
.badge { display: inline-flex; flex-direction: column; justify-content: center; min-height: 52px; padding: 8px 20px; border-radius: 14px; background: var(--accent); color: var(--on-accent); text-decoration: none; font-weight: 700; line-height: 1.2; }
.badge small { font-weight: 500; font-size: 12px; opacity: 0.85; }
.badge:hover { color: var(--on-accent); filter: brightness(1.1); }
.badge.soon { background: var(--soft); color: var(--ink); }
.badge.soon:hover { color: var(--ink); filter: none; }

.links { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; padding-bottom: 56px; }
.card { display: block; background: var(--surface); border: 1px solid var(--hairline); border-radius: 20px; padding: 22px; color: var(--ink); text-decoration: none; }
.card:hover { border-color: var(--accent); color: var(--ink); }
.card .dot { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--dot); margin-bottom: 14px; }
.card h2 { font-size: 20px; margin-bottom: 6px; }
.card p { margin: 0; color: var(--ink2); font-size: 16px; }

/* Documents */
main.doc { padding: 40px 0 64px; }
.doc h1 { font-size: clamp(30px, 5vw, 40px); margin-bottom: 8px; }
.doc h2 { font-size: 24px; margin: 40px 0 12px; }
.doc h3 { font-size: 19px; margin: 24px 0 8px; }
.doc p, .doc li { color: var(--ink); }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin: 4px 0; }
.doc code { background: var(--soft); border-radius: 6px; padding: 1px 6px; font-size: 0.92em; }
.doc p.q { margin-bottom: 0; font-weight: 700; }
.doc p.q + p { margin-top: 4px; }
.doc blockquote { margin: 16px 0; padding: 4px 18px; border-left: 4px solid var(--dot); background: var(--surface); border-radius: 0 12px 12px 0; }
.doc .table { overflow-x: auto; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
/* Summary box: the first list after the first heading ("The short version") is set apart */
.doc .summary { background: var(--surface); border: 1px solid var(--hairline); border-left: 4px solid var(--dot); border-radius: 14px; padding: 4px 22px 8px; margin: 28px 0; }
.doc .summary h2 { margin-top: 16px; font-size: 20px; }
mark { background: var(--mark); color: inherit; padding: 0 0.25em; border-radius: 3px; }

footer { border-top: 1px solid var(--hairline); padding: 24px 0 36px; color: var(--ink2); font-size: 15px; }
footer .wrap { display: flex; gap: 8px 20px; flex-wrap: wrap; }
footer a { color: var(--ink2); }
footer a:hover { color: var(--accent); }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { grid-template-columns: 1fr; padding-top: 32px; gap: 20px; }
  .hero .icon { width: 72px; height: 72px; border-radius: 17px; }
  .tagline { font-size: 19px; }
  .pitch { font-size: 17px; }
  header.top .wrap { padding-top: 10px; padding-bottom: 10px; }
}
