:root {
  --navy: #163A4C;
  --teal: #0F5C6E;
  --aqua: #2FA7C4;
  --coral: #E8825A;
  --peach: #F4B08A;
  --gold: #C9A45C;
  --paper: #F7F4EC;
  --ink: #1b2a32;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Montserrat", "PT Sans", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}
h1, h2, h3 { font-family: "PT Serif", Georgia, serif; color: var(--navy); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem; }
.wrap { max-width: 960px; margin: 0 auto; padding: 1rem 1.25rem; }
.site-header { background: var(--navy); color: #fff; }
.site-header a, .site-header button { color: #fff; text-decoration: none; margin-right: 1rem; }
.site-header .wrap, .site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.brand { font-weight: 700; letter-spacing: .02em; }
.hero { padding: 2.5rem 0 1rem; }
.hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: .2rem 0; }
.lede { font-size: 1.05rem; max-width: 40rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; color: var(--teal); }
.meta, .cta-note, .disclaimer { color: #4a5c66; font-size: .9rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin: 2rem 0; }
.cards article { background: #fff; border: 1px solid #e4ddd0; border-radius: 8px; padding: 1.2rem; }
.form { display: flex; flex-direction: column; gap: .9rem; max-width: 22rem; }
.form label { display: flex; flex-direction: column; gap: .3rem; font-size: .9rem; }
.form input { padding: .55rem .7rem; border: 1px solid #c9c1b4; border-radius: 6px; font: inherit; }
button, .btn {
  background: var(--teal); color: #fff; border: 0; border-radius: 6px;
  padding: .6rem 1rem; cursor: pointer; font: inherit; text-decoration: none; display: inline-block;
}
.error { color: #9b2c2c; background: #fde8e8; padding: .6rem .8rem; border-radius: 6px; }
.ok { color: #1b6b3a; } .bad { color: #9b2c2c; }
.hint { color: #4a5c66; font-size: .9rem; max-width: 36rem; }
.secret { font-size: .9rem; }
.backup-codes { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; max-width: 22rem; }
.backup-codes code { font-size: 1.05rem; }
.site-footer { border-top: 1px solid #e4ddd0; margin-top: 3rem; }
.inline { display: inline; }
.linkish { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; font: inherit; text-decoration: underline; }
.status-list { line-height: 1.8; }
@media (max-width: 640px) {
  .site-header .wrap { flex-direction: column; align-items: flex-start; }
}
