@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/BricolageGrotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --ink: #111111;
  --muted: #4d4d4d;
  --cobalt: #2340d9;
  --tomato: #e8442e;
  --tomato-text: #c2321f;
  --sun: #ffd23f;
  --tint: #f4f5fd;
  --line: 2px solid var(--ink);
  --radius: 20px;
  --max: 68rem;
  --prose: 44rem;
  --display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

a { color: var(--cobalt); text-underline-offset: 0.2em; text-decoration-thickness: 2px; }
a:hover { color: var(--ink); }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; box-shadow: 0 0 0 6px var(--sun); }

.skip { position: absolute; left: -999px; top: 0.5rem; background: var(--sun); color: var(--ink); padding: 0.5rem 1rem; border: var(--line); border-radius: 999px; z-index: 10; font-weight: 700; }
.skip:focus { left: 0.5rem; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; margin: 0; }

/* Header */
.site-header .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1.25rem; padding-bottom: 1.25rem; }
.brand { display: inline-flex; line-height: 0; }
.brand img { height: 2rem; width: auto; display: block; }
.lang { display: flex; border: var(--line); border-radius: 999px; overflow: hidden; font-weight: 700; font-size: 0.875rem; }
.lang a, .lang span { padding: 0.35rem 0.9rem; text-decoration: none; line-height: 1.4; }
.lang a { color: var(--ink); }
.lang a:hover { background: var(--sun); }
.lang span[aria-current] { background: var(--ink); color: var(--paper); }

main { flex: 1; }

/* Hero */
.hero { padding: 2rem 0 4rem; overflow-x: clip; }
.hero .wrap { display: grid; gap: 3rem; align-items: center; }
.kicker { display: inline-block; margin: 0 0 1.25rem; padding: 0.3rem 0.85rem; background: var(--sun); border: var(--line); border-radius: 999px; font-weight: 700; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.06em; }
.hero h1 { font-size: clamp(3rem, 12vw, 6.5rem); }
.hero h1 em { font-style: normal; color: var(--cobalt); }
.lede { margin: 1.5rem 0 0; max-width: 34rem; font-size: 1.25rem; color: var(--muted); }
.cta { display: inline-block; margin-top: 2rem; padding: 0.8rem 1.4rem; background: var(--ink); color: var(--paper); border: var(--line); border-radius: 999px; font-weight: 700; text-decoration: none; box-shadow: 4px 4px 0 var(--cobalt); }
.cta:hover { background: var(--paper); color: var(--ink); }

/* Boarding pass */
.pass { position: relative; transform: rotate(-2.5deg); background: var(--cobalt); color: #fff; border: var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: 8px 8px 0 var(--ink); max-width: 28rem; margin: 0 auto; width: 100%; }
.pass-top { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; }
.pass-route { display: flex; align-items: center; gap: 0.75rem; margin: 1.25rem 0; font-family: var(--display); font-weight: 800; font-size: clamp(1.75rem, 7vw, 2.5rem); line-height: 1; }
.pass-route .dash { flex: 1; border-top: 3px dashed rgba(255, 255, 255, 0.85); min-width: 1rem; }
.pass-foot { display: flex; justify-content: space-between; gap: 1rem; border-top: 2px dashed rgba(255, 255, 255, 0.6); padding-top: 1rem; font-size: 0.8125rem; font-weight: 600; }
.pass-foot b { display: block; font-size: 1rem; font-family: var(--display); }
.pass .stamp { position: absolute; right: 0.5rem; bottom: -1.75rem; }

/* Stamps */
.stamp { display: inline-block; padding: 0.35rem 0.9rem; border: 3px solid var(--tomato-text); border-radius: 12px; color: var(--tomato-text); background: var(--paper); font-family: var(--display); font-weight: 800; font-size: 1.125rem; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.2; transform: rotate(-8deg); box-shadow: inset 0 0 0 2px var(--paper), inset 0 0 0 3.5px var(--tomato-text); }
.stamp.wish { border-color: var(--cobalt); color: var(--cobalt); box-shadow: inset 0 0 0 2px var(--paper), inset 0 0 0 3.5px var(--cobalt); transform: rotate(6deg); }

/* Features */
.features { padding: 3rem 0 4rem; background: var(--tint); border-top: var(--line); border-bottom: var(--line); }
.features h2, .soon h2, .contact h2 { font-size: clamp(2rem, 6vw, 3.25rem); margin-bottom: 2rem; }
.grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.card { background: var(--paper); border: var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: 5px 5px 0 var(--ink); }
.card h3 { font-size: 1.75rem; margin: 0.75rem 0 0.5rem; }
.card p { margin: 0; color: var(--muted); }
.tag { display: inline-block; padding: 0.15rem 0.7rem; border: var(--line); border-radius: 999px; font-weight: 700; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.06em; }
.tag.c { background: var(--cobalt); color: #fff; }
.tag.t { background: var(--tomato); color: var(--ink); }
.tag.s { background: var(--sun); }
.tag.i { background: var(--paper); }

/* Soon + contact */
.soon, .contact { padding: 4rem 0 1rem; }
.soon p, .contact p { max-width: 34rem; margin: 0 0 1rem; font-size: 1.125rem; }
.soon .pill { display: inline-block; padding: 0.7rem 1.3rem; border: var(--line); border-radius: 999px; background: var(--sun); font-weight: 700; margin-right: 0.5rem; margin-bottom: 0.5rem; }
.contact { padding-bottom: 5rem; }
.contact a { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 6vw, 2.25rem); }

/* Doc pages */
.doc { padding: 2rem 0 5rem; }
.doc .wrap { max-width: var(--prose); }
.doc h1 { font-size: clamp(2.5rem, 9vw, 4.5rem); margin-bottom: 0.75rem; }
.updated { display: inline-block; margin: 0 0 2rem; padding: 0.2rem 0.8rem; border: var(--line); border-radius: 999px; font-weight: 600; font-size: 0.9375rem; background: var(--sun); }
.doc h2 { font-size: 1.75rem; margin: 2.5rem 0 0.75rem; }
.doc h3 { font-size: 1.25rem; margin: 1.5rem 0 0.5rem; }
.doc p, .doc li { max-width: 40rem; }
.doc ul { padding-left: 1.25rem; }
.doc li { margin-bottom: 0.4rem; }
.note { border: var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; background: var(--tint); margin: 1.5rem 0; }
.note p { margin: 0; }
.status { display: inline-block; padding: 0 0.5rem; margin-right: 0.25rem; border: 2px solid var(--ink); border-radius: 999px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; vertical-align: 0.1em; background: var(--sun); }
.status.now { background: var(--paper); }
dl { display: grid; gap: 0.25rem 1.5rem; margin: 0; }
dt { font-weight: 700; }
dd { margin: 0 0 0.75rem; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 0.9375rem; }
th, td { text-align: left; vertical-align: top; padding: 0.6rem 0.75rem; border: 2px solid var(--ink); }
th { background: var(--sun); }

/* 404 */
.nf { padding: 4rem 0 6rem; }
.nf h1 { font-size: clamp(5rem, 28vw, 12rem); color: var(--cobalt); }
.nf p { font-size: 1.25rem; }

/* Footer */
.site-footer { border-top: var(--line); font-size: 0.9375rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 1.5rem; padding-top: 1.5rem; padding-bottom: 1.5rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--cobalt); }

@media (min-width: 48rem) {
  .hero { padding: 4rem 0 6rem; }
  .hero .wrap { grid-template-columns: 1.15fr 0.85fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  dl { grid-template-columns: 14rem 1fr; }
  dd { margin: 0; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
