@font-face {
  font-family: "Inter";
  src: url("/assets/Inter.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/BricolageGrotesque.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #f4efe6;
  --surface: #fbf8f2;
  --ink: #1f2a44;
  --muted: #6b6f7b;
  --line: #ddd3c3;
  --denim: #2f4b7c;
  --link: #2f4b7c;
  /* Scene tokens, as in design/art-scenes.html. */
  --thread: #c99b6d;
  --paper: #fbf8f2;
  --paperLine: #c9d3e3;
  --pocketEdge: #2f4b7c;
  --mouth: #22385f;
  --shadow: rgba(31, 42, 68, 0.1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121826;
    --surface: #1a2232;
    --ink: #e9e4da;
    --muted: #9ba3b4;
    --line: #2c3647;
    --link: #8fb0e8;
    --thread: #b58e64;
    --paper: #e9e4da;
    --paperLine: #9fb0cc;
    --pocketEdge: #5a79b0;
    --mouth: #1c2e50;
    --shadow: rgba(0, 0, 0, 0.35);
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

body {
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 "Inter", system-ui, sans-serif;
}

a {
  color: var(--link);
}

a:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  font-family: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  line-height: 1.15;
}

.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  background: var(--surface);
  padding: 8px 12px;
}

.defs {
  position: absolute;
}

.top,
main,
.foot {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

.top {
  padding-top: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font: 700 24px "Bricolage Grotesque", system-ui, sans-serif;
}

.brand img {
  border-radius: 10px;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 32px;
  padding: 48px 0 32px;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 60px);
  text-wrap: balance;
  margin: 0 0 16px;
}

.lead {
  font-size: 19px;
  color: var(--muted);
  margin: 0 0 20px;
  max-width: 34em;
}

.soon {
  display: inline-block;
  margin: 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--denim);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
}

.hero .art {
  width: 100%;
  max-width: 340px;
  justify-self: center;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 16px 0;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 24px 24px;
}

.card .art {
  display: block;
  height: 120px;
  width: auto;
  max-width: 100%;
  margin: 0 auto 8px;
}

.card h3,
.details h3 {
  font-size: 22px;
  margin: 0 0 6px;
}

.card p,
.details p {
  margin: 0;
  color: var(--muted);
}

.details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 24px 0;
}

.details h3 {
  font-size: 19px;
}

.note {
  font-size: 14px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin: 8px 0 0;
}

.lost {
  text-align: center;
  padding: 64px 0;
}

.lost .art {
  width: 160px;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 32px;
  padding-bottom: 40px;
  color: var(--muted);
  font-size: 15px;
}

.foot nav {
  display: flex;
  gap: 20px;
}

.foot p {
  margin: 0;
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }
  .hero .art {
    max-width: 240px;
    order: -1;
  }
  .features,
  .details {
    grid-template-columns: 1fr;
  }
}
