@font-face { font-family: "Playfair Display"; src: url("/assets/fonts/playfair-display-latin.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #f4f1e9; --bg-alt: #ebe6d9; --card: #fbfaf6; --ink: #231f20; --muted: #6a625c;
  --accent: #10499e; --accent-2: #467da9; --rule: #d8d0bf; --ok: #1d6b45; --bad: #a3251c;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --radius: 3px; --space: 8px; --ease: cubic-bezier(.2,.7,.2,1); --dur: 220ms;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
::selection { background: #10499e; color: #fff; }
.gate { min-height: 100vh; display: grid; place-items: center; padding: calc(var(--space)*3); }
.gate-card { width: min(420px, 100%); background: var(--card); border: 1px solid var(--rule); border-top: 4px solid var(--accent); padding: calc(var(--space)*5) calc(var(--space)*4); }
.gate-logo { display: block; width: 220px; height: auto; }
.gate-rule { height: 3px; border-top: 1px solid var(--accent); border-bottom: 1px solid var(--accent); margin: calc(var(--space)*3) 0; width: 64px; }
.gate h1 { font-family: var(--font-display); font-weight: 600; font-size: 30px; margin: 0 0 4px; letter-spacing: -.01em; }
.gate-note { color: var(--muted); margin: 0 0 calc(var(--space)*3); }
.gate label { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.gate input { width: 100%; font: inherit; font-size: 17px; padding: 12px 12px; border: 1px solid var(--rule); background: #fff; border-radius: var(--radius); color: var(--ink); }
.gate input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.gate button { margin-top: 14px; width: 100%; min-height: 46px; font: inherit; font-weight: 600; letter-spacing: .02em; color: #fff; background: var(--accent); border: 0; border-radius: var(--radius); cursor: pointer; transition: background var(--dur) var(--ease); }
.gate button:hover { background: #0c3a7f; }
.gate button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.gate button:disabled { opacity: .6; cursor: progress; }
.error { color: var(--bad); margin: 12px 0 0; font-size: 14px; }
