@font-face {
  font-family: "Anybody";
  src: url("/fonts/anybody-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Anybody";
  src: url("/fonts/anybody-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Familjen Grotesk";
  src: url("/fonts/familjen-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Familjen Grotesk";
  src: url("/fonts/familjen-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --field: #1a2744;
  --signal: #ff4d1c;
  --paper: #f3f5f7;
  --window: #fffefb;
  --ink: #1a120c;
  --onfield: #f4f7fb;
  --muted: #3e4c5e;
  --line: #d5dde6;
  --font-display: "Anybody", "Familjen Grotesk", sans-serif;
  --font-body: "Familjen Grotesk", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.125rem/1.5 var(--font-body);
  text-rendering: optimizeLegibility;
}
::selection { background: var(--signal); color: var(--ink); }
:focus-visible { outline: 3px solid var(--field); outline-offset: 3px; }
p, li, blockquote { text-wrap: pretty; max-width: 52ch; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 2.2rem; }
h3 { font-size: 1.25rem; margin-top: 1.6rem; }
a { color: inherit; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--window);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 5;
}
.skip:focus { top: 12px; }

.bar { background: var(--field); color: var(--onfield); position: relative; }
.chase-line { height: 6px; background: var(--signal); transform-origin: left center; }
.bar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px 16px;
  max-width: 1120px;
  margin: 0 auto;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; font-size: 1.35rem; min-height: 44px; }
.menu { position: relative; }
.menu summary {
  list-style: none;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 700;
}
.menu summary::-webkit-details-marker { display: none; }
.menu nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: absolute;
  right: 0;
  top: 100%;
  background: var(--field);
  border: 1px solid rgb(244 247 251 / 20%);
  padding: 8px;
  min-width: 220px;
  z-index: 4;
}
.menu nav a {
  color: var(--onfield);
  text-decoration: none;
  font-weight: 700;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 10px;
}
.btn, button {
  background: var(--signal);
  color: var(--ink);
  border: 0;
  border-radius: 8px;
  min-height: 44px;
  padding: 0 16px;
  font: 700 1rem/1 var(--font-body);
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.textlink { font-weight: 700; text-underline-offset: 4px; }
main { padding: 0 0 64px; }
main > :not(section) {
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  max-width: calc(52ch + 40px);
}
main > h1 { padding-top: 36px; }
main > picture img, main img { max-width: 100%; height: auto; }
.hero, .band, .sheet { padding: 28px 20px 48px; }
.hero { background: var(--field); color: var(--onfield); }
.wrap { max-width: 1120px; margin: 0 auto; display: grid; gap: 28px; }
.hero .wrap { align-items: end; }
.hero p, .band p { color: var(--onfield); }
.fine { color: var(--onfield); font-size: 0.95rem; }
.window {
  background: var(--window);
  color: var(--ink);
  padding: 14px;
  box-shadow: 0 18px 40px rgb(16 24 40 / 22%), inset 0 0 0 1px #1a2744, inset 0 0 0 6px #fffefb, inset 0 0 0 7px #1a2744;
  position: relative;
}
.window .chase-line { position: absolute; left: 0; right: 0; top: 0; }
.window img { display: block; width: 100%; height: auto; }
.band { background: var(--signal); color: var(--ink); }
.band p, .band li { color: var(--ink); }
.sheet { background: var(--paper); }
.sheet p, .sheet li { color: var(--ink); }
ol, ul { max-width: 52ch; padding-left: 1.2rem; }
li + li { margin-top: 0.45rem; }
blockquote {
  margin: 1rem 0;
  max-width: 52ch;
  background: var(--window);
  border: 1px solid var(--line);
  padding: 12px 14px;
}
label { display: block; font-weight: 700; margin-top: 12px; }
input, select, textarea {
  width: min(100%, 28rem);
  min-height: 44px;
  font: inherit;
  color: var(--ink);
  background: var(--window);
  border: 1px solid var(--line);
  padding: 8px 10px;
  caret-color: var(--field);
}
footer {
  background: var(--field);
  color: var(--onfield);
  padding: 28px 20px 36px;
}
footer .wrap { display: block; }
footer p { color: var(--onfield); font-size: 0.95rem; }
footer a { color: var(--onfield); }

@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 0.9fr 1.1fr; padding-top: 18px; }
  .menu summary { display: none; }
  .menu nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    border: 0;
    padding: 0;
    min-width: 0;
    background: transparent;
    gap: 8px 18px;
    justify-content: flex-end;
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chase-line { transform: none; }
}
