:root {
  color-scheme: light;
  --green: #12352a;
  --ink: #172e23;
  --muted: #485b50;
  --line: #d3d8ca;
  --paper: #fffdf7;
  --background: #f8f5ec;
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--ink); }
a { color: inherit; }
button, input { font: inherit; }
h1, p { margin: 0; }
:focus-visible { outline: 3px solid #18785e; outline-offset: 3px; }
.header { border-bottom: 1px solid var(--line); }
.wrap { width: min(100% - 36px, 1080px); margin-inline: auto; }
.header .wrap { min-height: 70px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 43px; height: 43px; padding: 2px; object-fit: contain; border: 1px solid var(--line); background: #fff; border-radius: 8px; }
.brand strong { display: block; font-size: 1.08rem; line-height: 1.2; letter-spacing: -.035em; }
.brand small { color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; padding: 8px 16px; border: 1px solid var(--green); border-radius: 8px; color: #fff; background: var(--green); font-weight: 700; text-decoration: none; cursor: pointer; }
.button:hover { background: #204b3e; }
.lock { padding: 7px 11px; color: var(--green); background: transparent; border: 1px solid var(--line); border-radius: 7px; cursor: pointer; font-size: .88rem; font-weight: 650; }
.lock:hover { background: #e8ebe0; }
.gate { display: grid; place-items: center; min-height: calc(100svh - 71px); padding: clamp(26px, 6vh, 64px) 0 10vh; }
.gate-card { width: min(100%, 430px); background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 6vw, 34px); box-shadow: 0 17px 35px #12352a12; }
.gate h1 { font-size: clamp(1.8rem, 6vw, 2.25rem); line-height: 1.08; letter-spacing: -.06em; margin-bottom: 9px; }
.gate p { color: var(--muted); }
.gate label { display: block; margin: 20px 0 5px; font-weight: 700; }
.gate input { display: block; width: 100%; min-height: 45px; padding: 8px 10px; color: var(--ink); border: 1px solid #a8b6a9; border-radius: 8px; background: #fff; }
.gate .button { width: 100%; margin-top: 12px; }
.gate .error { margin-top: 7px; color: #922b20; }
.workspace { width: min(100% - 36px, 640px); padding-top: clamp(36px, 8vw, 72px); }
.workspace h1 { color: var(--green); font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; letter-spacing: -.04em; }
.workspace p { color: var(--muted); margin-top: 8px; }
.workspace .button { margin-top: 18px; }
footer { color: var(--muted); border-top: 1px solid var(--line); margin-top: 24px; padding: 14px 0 24px; font-size: .875rem; }
