:root {
  --navy: #0f2742;
  --ink: #1b2733;
  --muted: #5b6b7b;
  --line: #dbe3ea;
  --bg: #f6f9fc;
  --white: #ffffff;
  --accent: #1f6feb;
  --error: #b42318;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}

a { color: var(--accent); }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 5vw, 56px);
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.brand-mark {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--accent); font-weight: 800; font-size: 20px;
}
.brand-name { font-weight: 700; letter-spacing: 0.08em; font-size: 20px; }

.site-header nav { display: flex; align-items: center; gap: clamp(10px, 2.5vw, 26px); }
.site-header nav a { color: #d6e2ef; text-decoration: none; font-size: 15px; }
.site-header nav a:hover { color: var(--white); }

.btn {
  display: inline-block;
  width: 100%;
  padding: 12px 18px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: var(--white);
  font: inherit;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { filter: brightness(1.08); }
.btn:focus-visible, select:focus-visible, input:focus-visible { outline: 3px solid #9ec2ff; outline-offset: 2px; }
.btn-small { width: auto; padding: 8px 14px; font-size: 14px; color: var(--white) !important; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(32px, 7vw, 88px) clamp(16px, 5vw, 56px);
  background: linear-gradient(160deg, #eaf2fb 0%, var(--white) 70%);
}

.eyebrow { margin: 0 0 8px; color: var(--accent); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 13px; }
h1 { margin: 0 0 14px; font-size: clamp(32px, 5vw, 52px); line-height: 1.1; color: var(--navy); }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 52ch; }
.ticks { padding: 0; margin: 18px 0 0; list-style: none; display: grid; gap: 8px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 10px; height: 6px; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg); }

.login-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--accent);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 12px 32px rgba(15, 39, 66, 0.1);
}
.login-card h2 { margin: 0 0 6px; color: var(--navy); }
.muted { color: var(--muted); margin: 0 0 16px; }
label { display: block; font-weight: 600; margin-bottom: 6px; }
select,
input[type="email"] {
  width: 100%;
  padding: 12px;
  margin-bottom: 14px;
  border: 1px solid #b8c4d0;
  border-radius: 10px;
  font: inherit;
  background: var(--white);
}
select[aria-invalid="true"],
input[aria-invalid="true"] { border-color: var(--error); }
.hint { color: var(--accent); font-weight: 600; margin: -6px 0 12px; font-size: 14px; }
.error { color: var(--error); margin: -6px 0 12px; font-size: 14px; }
.fineprint { color: var(--muted); font-size: 13px; margin: 14px 0 0; }

.section { padding: clamp(32px, 6vw, 64px) clamp(16px, 5vw, 56px); }
.section-alt { background: var(--bg); }
.section h2 { margin: 0 0 20px; font-size: clamp(24px, 3vw, 32px); color: var(--navy); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.card h3 { margin: 0 0 8px; color: var(--navy); }
.card p { margin: 0; color: var(--muted); }

.site-footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  padding: 18px clamp(16px, 5vw, 56px);
  background: var(--navy); color: #b5c6d8; font-size: 14px;
}

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .site-header nav a:not(.btn) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
