:root {
  color-scheme: light;
  --bg: #f6fbff;
  --panel: rgba(255,255,255,.9);
  --text: #0b245f;
  --muted: #53657f;
  --blue: #1268e8;
  --line: rgba(18,104,232,.18);
  --shadow: 0 24px 70px rgba(35,87,150,.14);
  --radius: 8px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(18,104,232,.12), transparent 28rem),
    linear-gradient(180deg, #fff, var(--bg));
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
.topbar {
  min-height: 74px;
  padding: 0 max(18px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; color: #0755c8; }
.logo {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #1268e8, #082b70);
  color: #fff;
  font-size: 13px;
  box-shadow: 0 12px 28px rgba(18,104,232,.18);
}
nav { display: flex; align-items: center; gap: 14px; font-weight: 800; color: var(--muted); }
nav form { margin: 0; }
button, .button, nav .primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid rgba(18,104,232,.28);
  border-radius: var(--radius);
  background: #fff;
  color: var(--blue);
  padding: 0 18px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.primary, .button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, #1268e8, #0a55c7);
  color: #fff;
}
.shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 54px 0; }
.hero { text-align: center; padding: 72px 0; }
.hero.compact { padding: 24px 0 36px; }
.eyebrow { color: var(--blue); text-transform: uppercase; letter-spacing: .08em; font-weight: 900; }
h1 { margin: 10px 0 14px; font-size: clamp(38px, 7vw, 76px); line-height: 1; }
h2 { margin: 0 0 18px; font-size: 28px; }
.lead { color: var(--muted); font-size: 20px; max-width: 760px; margin: 0 auto; }
.actions { margin-top: 26px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 18px;
}
.narrow { max-width: 520px; margin-left: auto; margin-right: auto; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.label { display: block; color: var(--muted); font-weight: 800; margin-bottom: 8px; }
.metric { display: block; font-size: 54px; line-height: 1; }
.muted { color: var(--muted); }
.form { display: grid; gap: 14px; }
label { display: grid; gap: 8px; color: var(--muted); font-weight: 800; }
input {
  min-height: 48px;
  border: 1px solid rgba(18,104,232,.28);
  border-radius: var(--radius);
  padding: 0 13px;
  font: inherit;
}
.alert, .notice {
  border-radius: var(--radius);
  padding: 12px 14px;
  margin: 14px 0;
}
.alert { background: #fff1f1; color: #9f1d1d; border: 1px solid #ffd1d1; }
.notice { background: #eef6ff; color: #17427f; border: 1px solid var(--line); }
.table { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
th, td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--blue); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
code { color: #0b245f; font-weight: 900; }

@media (max-width: 760px) {
  .topbar, nav { align-items: flex-start; flex-direction: column; }
  .grid { grid-template-columns: 1fr; }
  .shell { padding-top: 30px; }
}
