:root {
  --red: #b91c1c;
  --red-dark: #8c1d1d;
  --navy: #14375a;
  --ink: #172033;
  --muted: #667085;
  --line: #e4e7ec;
  --cream: #fbf8f3;
  --white: #ffffff;
  --ok: #1f7a4d;
  --shadow: 0 14px 36px rgba(15, 23, 42, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}
a { color: inherit; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 12px clamp(18px, 4vw, 52px);
  background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px);
}
.brand { display: flex; align-items: center; gap: 13px; min-width: 0; }
.brand img { width: 48px; height: 48px; object-fit: contain; background: #fff; border-radius: 9px; }
.brand strong { color: var(--navy); display: block; }
.brand span { color: var(--muted); font-size: 13px; }
nav { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; }
nav a { text-decoration: none; color: var(--navy); font-weight: 650; }
main { width: min(1160px, 92vw); margin: 0 auto; }
.hero { display: grid; grid-template-columns: 1.35fr .8fr; gap: 28px; align-items: center; padding: clamp(48px, 8vw, 92px) 0 42px; }
.eyebrow { color: var(--red); font-weight: 800; text-transform: uppercase; letter-spacing: .11em; font-size: 12px; }
h1 { color: var(--navy); font-size: clamp(38px, 6vw, 68px); line-height: .98; margin: 10px 0 18px; letter-spacing: -.035em; }
.hero p { font-size: clamp(17px, 2vw, 21px); color: var(--muted); max-width: 760px; }
.hero .motto { color: var(--red); font-size: clamp(21px, 3vw, 30px); font-weight: 850; margin: 18px 0; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 18px; border-radius: 12px; border: 1px solid var(--red); background: var(--red); color: #fff; text-decoration: none; font-weight: 750; cursor: pointer; }
.btn.secondary { background: #fff; color: var(--red); }
.btn-disabled { opacity: .55; cursor: not-allowed; }
.login-card { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--red); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
.login-card h2 { color: var(--navy); margin: 0 0 8px; }
.login-card p { font-size: 14px; }
#google-login { min-height: 44px; margin: 14px 0 8px; }
#login-message { font-size: 12px; color: var(--muted); }
#login-message.error { color: var(--red); }
.section { padding: 42px 0; }
.section h2 { font-size: clamp(28px, 4vw, 42px); color: var(--navy); margin: 0 0 8px; }
.section-lead { color: var(--muted); margin: 0 0 24px; max-width: 820px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: 0 8px 24px rgba(15,23,42,.04); }
.card .num { width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 10px; }
.card:nth-child(2n) .num { background: var(--red); }
.card h3 { color: var(--navy); margin: 2px 0 8px; }
.card p { color: var(--muted); margin: 0; }
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.level { border-top: 5px solid var(--navy); }
.level:nth-child(3) { border-top-color: var(--red); }
.pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.pill { border: 1px solid var(--line); padding: 5px 9px; border-radius: 999px; font-size: 12px; font-weight: 750; background: #fff; }
.timeline { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.date { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; text-align: center; }
.date strong { color: var(--red); display: block; font-size: 21px; }
.date span { color: var(--muted); font-size: 13px; }
.notice { margin-top: 18px; padding: 16px 18px; border-left: 5px solid var(--navy); background: #eef4fa; border-radius: 10px; color: #24415f; }
footer { margin-top: 54px; padding: 26px max(4vw, 20px); background: var(--navy); color: rgba(255,255,255,.82); text-align: center; font-size: 13px; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .cards, .levels { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: repeat(3, 1fr); }
  nav { display: none; }
}
@media (max-width: 620px) {
  .cards, .levels, .timeline { grid-template-columns: 1fr; }
  .site-header { align-items: flex-start; }
  .brand span { display: none; }
  main { width: min(94vw, 1160px); }
}
