/* LAAT temporary guide site. Dark theme only. */
@font-face {
  font-family: "Inter";
  src: url("laat-inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ox: #7a2430;
  --ox-2: #9a3340;
  --ox-wash: #2e1a1c;
  --bg: #1a1513;
  --paper: #27201c;
  --ink: #ece0d2;
  --ink-strong: #f4ebe1;
  --muted: #b3a597;
  --line: rgba(241, 228, 214, 0.12);
  --line-2: rgba(241, 228, 214, 0.24);
  --on-top-muted: rgba(244, 235, 225, 0.78);
  --gutter: 40px;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-optical-sizing: auto;
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
}
body.gated { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.skip { position: absolute; left: 8px; top: -48px; z-index: 60; padding: 8px 16px; border-radius: 12px; background: var(--ink); color: var(--bg); font-weight: 650; text-decoration: none; }
.skip:focus { top: 8px; }

h1, h2, h3 { color: var(--ink-strong); }
.caps { margin: 0; font-size: 11px; line-height: 16px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 650; color: var(--muted); }

/* Top bar */
.top { background: var(--ox); color: var(--ink-strong); box-shadow: 0 1px 0 var(--ox-2); }
.bar { width: min(1180px, calc(100% - var(--gutter))); margin: 0 auto; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; min-height: 40px; }
.logo img { height: 24px; width: auto; }
.nav { align-self: stretch; display: flex; gap: 28px; }
.nav a { display: inline-flex; align-items: center; font-size: 14px; line-height: 20px; font-weight: 650; color: var(--on-top-muted); text-decoration: none; }
.nav a:hover { color: var(--ink-strong); }
.nav a[aria-current="page"] { color: var(--ink-strong); box-shadow: inset 0 -2px 0 var(--ink-strong); }

main { flex: 1 0 auto; width: min(1180px, calc(100% - var(--gutter))); margin: 0 auto; padding-bottom: 64px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 24px; border-radius: 12px; font: inherit; font-size: 16px; line-height: 20px; font-weight: 650; text-decoration: none; white-space: nowrap; cursor: pointer; }
.btn-fill { background: var(--ox); border: 1px solid var(--ox); color: var(--ink-strong); }
.btn-fill:hover { background: var(--ox-2); border-color: var(--ox-2); }
.btn-line { background: transparent; border: 1px solid var(--line-2); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }

/* Home */
.home { display: grid; gap: 96px; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 96px; align-items: center; padding-top: 64px; }
.hero-text { display: grid; gap: 24px; }
.hero h1 { margin: 0; font-size: 64px; line-height: 68px; font-weight: 800; letter-spacing: -0.05em; text-wrap: balance; }
.lead-lg { margin: 0; font-size: 20px; line-height: 28px; max-width: 34em; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.street { width: 100%; height: auto; border-radius: 18px; }
.block { display: grid; gap: 48px; }
.block-head { display: grid; gap: 16px; max-width: 760px; }
.block-head h2 { margin: 0; font-size: 40px; line-height: 44px; font-weight: 800; letter-spacing: -0.04em; text-wrap: balance; }
.block-head p:not(.caps) { margin: 0; font-size: 20px; line-height: 28px; }
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rule { display: grid; align-content: start; gap: 12px; padding-top: 24px; border-top: 2px solid var(--ox); }
h3 { margin: 0; font-size: 20px; line-height: 28px; font-weight: 650; }
.rule p, .card p, .qa p { margin: 0; }
.kinds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; gap: 16px; padding: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; color: var(--ink); text-decoration: none; }
a.card { gap: 12px; }
a.card:hover { border-color: var(--line-2); }
.card svg { width: 28px; height: 28px; fill: none; stroke: var(--ox-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card .more { margin-top: auto; padding-top: 4px; font-size: 14px; line-height: 20px; font-weight: 650; color: var(--ink-strong); }
.pill { margin: 0; align-self: flex-start; display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; line-height: 20px; font-weight: 650; }
.facts { margin: 8px 0 0; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 20px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 650; text-align: right; }
.qas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.qa { display: grid; align-content: start; gap: 8px; padding: 24px 0; border-top: 1px solid var(--line); }
.more-link { margin: 8px 0 0; }
.more-link a { font-size: 14px; line-height: 20px; font-weight: 650; color: var(--ink-strong); text-underline-offset: 3px; }
.band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding: 48px 64px; background: var(--ox-wash); border: 1px solid var(--ox); border-radius: 24px; }
.band h2 { margin: 0 0 12px; font-size: 40px; line-height: 44px; font-weight: 800; letter-spacing: -0.04em; }
.band p { margin: 0; font-size: 20px; line-height: 28px; }

/* Reading pages: guides, FAQ and legal */
.doc-wrap { display: grid; grid-template-columns: minmax(0, 720px) 220px; gap: 48px; justify-content: space-between; align-items: start; padding-top: 32px; }
.doc { min-width: 0; line-height: 26px; }
.crumb { margin: 0 0 16px; font-size: 13px; line-height: 20px; color: var(--muted); }
.crumb a { color: var(--muted); text-decoration: none; }
.doc h1 { margin: 0 0 16px; font-size: 32px; line-height: 40px; font-weight: 800; letter-spacing: -0.04em; }
.doc .lead { margin: 0 0 8px; font-size: 20px; line-height: 28px; text-wrap: pretty; }
.meta { margin: 0 0 24px; font-size: 13px; line-height: 20px; color: var(--muted); }
.doc h2 { margin: 32px 0 8px; font-size: 20px; line-height: 28px; font-weight: 800; letter-spacing: -0.035em; }
.doc p { margin: 0 0 16px; text-wrap: pretty; }
.doc ul, .doc ol { margin: 0 0 16px; padding-left: 24px; }
.doc li { margin: 0 0 8px; }
.doc a { color: var(--ink); text-underline-offset: 3px; }
.doc strong { color: var(--ink-strong); }
.short { margin: 0 0 32px; padding: 16px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; line-height: 24px; }
.doc .short .caps { margin: 0 0 8px; font-size: 11px; line-height: 16px; letter-spacing: 0.16em; font-weight: 650; color: var(--muted); }
.short ul { margin: 0; padding-left: 20px; }
.short li { margin: 0 0 4px; }
.short li:last-child { margin: 0; }
.callout { margin: 0 0 24px; padding: 16px 20px; background: var(--ox-wash); border-radius: 12px; line-height: 24px; }
.callout p { margin: 0; }
.gloss { margin: 0 0 16px; border-top: 1px solid var(--line); }
.gloss div { display: grid; grid-template-columns: minmax(0, 140px) minmax(0, 1fr); gap: 4px 24px; padding: 12px 0; border-bottom: 1px solid var(--line); line-height: 24px; }
.gloss dt { font-weight: 650; color: var(--ink-strong); }
.gloss dd { margin: 0; }
.next { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; padding: 20px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; }
.doc a.next { text-decoration: none; }
.next:hover { border-color: var(--line-2); }
.next strong { display: block; font-size: 20px; line-height: 28px; font-weight: 650; }
.help { margin: 32px 0 0; font-size: 14px; line-height: 20px; color: var(--muted); }
.mail { font-size: 20px; line-height: 28px; font-weight: 650; }
.side { padding-top: 32px; font-size: 14px; line-height: 20px; }
.side .caps { margin: 0 0 8px; }
.side ul { list-style: none; margin: 0 0 24px; padding: 0; }
.side a { display: block; min-height: 32px; padding: 6px 0 6px 12px; color: var(--muted); text-decoration: none; border-left: 1px solid var(--line); }
.side a:hover { color: var(--ink); }
.side a[aria-current="page"] { color: var(--ink); font-weight: 650; border-left-color: var(--ox-2); }

/* 404 */
.gone { max-width: 560px; padding-top: 96px; }
.gone .code { margin: 0 0 8px; font-weight: 700; }
.gone h1 { margin: 0 0 8px; font-size: 32px; line-height: 40px; font-weight: 800; letter-spacing: -0.04em; }
.gone p { margin: 0 0 24px; }

/* Footer */
.foot { margin-top: 0; background: var(--paper); border-top: 1px solid var(--line); color: var(--muted); }
.foot-in { width: min(1180px, calc(100% - var(--gutter))); margin: 0 auto; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 48px; padding: 48px 0 40px; }
.foot-logo { display: inline-block; margin: 0 0 16px; }
.foot-logo img { height: 28px; width: auto; }
.foot-brand p { margin: 0 0 16px; font-size: 14px; line-height: 20px; max-width: 280px; }
.foot-brand .foot-tag { margin: 0 0 8px; color: var(--ink); font-size: 16px; line-height: 24px; font-weight: 650; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot-cols h2 { margin: 4px 0 16px; font-size: 11px; line-height: 16px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 650; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot-cols a { display: inline-flex; align-items: center; min-height: 32px; color: var(--ink); font-size: 14px; line-height: 20px; text-decoration: none; }
.foot-cols a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 24px 0; border-top: 1px solid var(--line); }
.foot-marks { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.foot-mark { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.foot-mark-text { display: grid; font-size: 13px; line-height: 20px; }
.foot-mark-text strong { font-weight: 650; color: var(--ink); }
.foot-mark-text small { font-size: 13px; color: var(--muted); }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-legal a { display: inline-flex; align-items: center; min-height: 32px; color: var(--muted); font-size: 13px; line-height: 20px; text-decoration: none; }
.foot-legal a:hover { color: var(--ink); text-decoration: underline; }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 48px; padding: 24px 0 32px; border-top: 1px solid var(--line); }
.foot-fine { margin: 0; max-width: 64ch; font-size: 13px; line-height: 20px; text-wrap: pretty; }
.foot-copy { margin: 0; font-size: 13px; line-height: 20px; white-space: nowrap; }

/* The marks: drawn in CSS, no third-party logo files */
.seal-18, .seal-rta { position: relative; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid var(--ink); color: var(--ink); font-weight: 800; }
.seal-18 { border-radius: 50%; font-size: 13px; line-height: 20px; letter-spacing: -0.02em; }
.seal-18::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; border: 1px solid var(--line-2); }
.seal-rta { border-radius: 10px; font-size: 11px; line-height: 16px; letter-spacing: 0.06em; }
.seal-rta span { margin-top: -4px; }
.seal-rta::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 7px; height: 1.5px; border-radius: 1px; background: var(--ink); opacity: 0.5; }

/* 18+ gate, added by gate.js */
.gate { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(18, 14, 12, 0.72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.gate-card { width: 100%; max-width: 440px; max-height: 100%; overflow-y: auto; display: grid; gap: 24px; padding: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55); }
.gate-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.gate-head img { height: 24px; width: auto; }
.gate-head .seal-18 { width: 48px; height: 48px; font-size: 15px; }
.gate h1 { margin: 0 0 8px; font-size: 32px; line-height: 40px; font-weight: 800; letter-spacing: -0.04em; }
.gate p { margin: 0; }
.gate-actions { display: grid; gap: 12px; }
.gate-actions .btn { min-height: 48px; width: 100%; }
.gate-fine { font-size: 13px; line-height: 20px; color: var(--muted); }
.gate-fine a { color: var(--ink); text-underline-offset: 3px; }
.gate-rta { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; line-height: 20px; color: var(--muted); }
.gate-rta strong { color: var(--ink); font-weight: 650; }

@media (max-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .rules, .cards { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .doc-wrap { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .side { padding-top: 16px; border-top: 1px solid var(--line); }
  .foot-top { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 760px) {
  :root { --gutter: 32px; }
  .logo img { height: 20px; }
  .nav { gap: 20px; }
  .home { gap: 64px; }
  .hero { padding-top: 32px; }
  .hero h1 { font-size: 40px; line-height: 44px; }
  .lead-lg, .block-head p:not(.caps), .band p, .doc .lead { font-size: 16px; line-height: 24px; }
  .actions .btn { flex: 1 1 100%; }
  .block { gap: 32px; }
  .block-head h2, .band h2 { font-size: 25px; line-height: 32px; }
  .kinds, .qas { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .qas { gap: 0; }
  .card { padding: 24px; }
  .band { padding: 32px 24px; }
  .doc h1, .gone h1 { font-size: 25px; line-height: 32px; }
  .gone { padding-top: 48px; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .gate-card { padding: 24px; }
}
