@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: #eceae4; --bg-alt: #e2dfd6; --card: #faf9f5; --ink: #14223a; --ink-2: #33415a; --muted: #5f6675;
  --accent: #10499e; --rule: #cfcbbf;
  --red: #b3261e; --red-bg: #f7e3e0; --yellow: #b07a00; --yellow-bg: #f8efd6; --green: #2b6e4a; --green-bg: #e2efe6;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-num: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --radius: 2px; --space: 8px; --ease: cubic-bezier(.3,.9,.3,1); --dur: 160ms;
  --shadow: 0 1px 0 rgba(20,34,58,.08), 0 6px 18px -12px rgba(20,34,58,.35);
}
* { 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: var(--ink); color: #fff; }
.gate { min-height: 100vh; display: grid; place-items: center; padding: calc(var(--space)*3); background: linear-gradient(180deg, var(--ink) 0 38vh, var(--bg) 38vh); }
.gate-card { width: min(420px, 100%); background: var(--card); border: 1px solid var(--rule); padding: calc(var(--space)*5) calc(var(--space)*4); box-shadow: var(--shadow); }
.gate-logo { display: block; width: 210px; height: auto; }
.gate-rule { display: flex; gap: 4px; margin: calc(var(--space)*3) 0; }
.gate-rule i { display: block; height: 4px; width: 28px; }
.gate-rule i:nth-child(1) { background: var(--red); } .gate-rule i:nth-child(2) { background: var(--yellow); } .gate-rule i:nth-child(3) { background: var(--green); }
.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; 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; color: #fff; background: var(--ink); border: 0; border-radius: var(--radius); cursor: pointer; transition: background var(--dur) var(--ease); }
.gate button:hover { background: var(--accent); }
.gate button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.gate button:disabled { opacity: .6; cursor: progress; }
.error { color: var(--red); margin: 12px 0 0; font-size: 14px; }
