:root {
  --ivory: #fbf8f2; --line: #e7dfd1; --ink: #1f2a2e; --ink-soft: #4f5b58;
  --green: #1f6f54; --green-2: #2e8b67; --green-soft: #e4f1ea;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; color: var(--ink); font: 16px/1.6 var(--sans);
  background:
    radial-gradient(800px 420px at 85% -10%, rgba(46, 139, 103, .14), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(184, 137, 59, .12), transparent 60%),
    var(--ivory);
}
.gate { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.gate__card {
  width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--line); border-radius: 26px;
  padding: 40px 36px 32px; text-align: center;
  box-shadow: 0 1px 2px rgba(31, 42, 46, .04), 0 24px 60px -24px rgba(31, 42, 46, .22);
}
.gate__mark {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, var(--green), var(--green-2)); color: #fff;
  font-family: var(--serif); font-size: 24px; font-weight: 600;
}
.gate__eyebrow { margin: 18px 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
h1 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.2; }
h1 span { color: var(--ink-soft); font-weight: 400; }
.gate__lead { color: var(--ink-soft); margin: 14px 0 22px; }
.gate__error { background: #fbe9e7; color: #8f2a1e; border-radius: 12px; padding: 10px 14px; font-size: 14.5px; margin: 0 0 18px; }
form { display: grid; gap: 12px; text-align: left; }
label { font-weight: 600; font-size: 14px; }
input#code {
  width: 100%; height: 64px; border-radius: 16px; border: 1.5px solid var(--line); background: #fffdf8;
  font: 600 30px/1 var(--sans); letter-spacing: .5em; text-align: center; padding-left: .5em; color: var(--ink);
}
input#code:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(31, 111, 84, .14); }
.gate__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
button {
  margin-top: 6px; height: 56px; border: 0; border-radius: 16px; cursor: pointer; color: #fff;
  font: 700 16px/1 var(--sans); background: linear-gradient(135deg, var(--green), var(--green-2));
  box-shadow: 0 12px 26px -12px rgba(31, 111, 84, .6);
}
button:focus-visible { outline: 3px solid #9fd4bd; outline-offset: 3px; }
.gate__foot { margin: 22px 0 0; font-size: 13px; color: var(--ink-soft); }
@media (max-width: 420px) { .gate__card { padding: 32px 22px 26px; } input#code { font-size: 26px; letter-spacing: .4em; } }
