:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --card: #ffffff;
  --ink: #142033;
  --muted: #61708a;
  --line: #d9e2ef;
  --accent: #245f9f;
  --accent-soft: #eaf3ff;
  --warning: #fff8e6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

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

.topbar {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  padding: 18px 6vw;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.brand {
  font-weight: 800;
  font-size: 20px;
}

.badge {
  display: inline-block;
  margin-left: 10px;
  color: var(--muted);
  font-size: 13px;
}

.nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 8px;
  background: #fff;
}

.layout {
  width: min(1040px, 92vw);
  margin: 42px auto;
}

.hero,
.section {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.1;
  margin: 10px 0 18px;
}

.eyebrow {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lead {
  color: var(--muted);
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 11px 16px;
  font-weight: 700;
  text-decoration: none;
}

.ghost {
  display: inline-block;
  background: #fff;
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 15px;
  font-weight: 700;
  text-decoration: none;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  background: #fff;
}

.notice {
  border: 1px solid #f0d58a;
  background: var(--warning);
  border-radius: 12px;
  padding: 14px 16px;
}

.ok-list,
.no-list {
  padding-left: 1.2em;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
}

textarea {
  min-height: 120px;
}

.disabled-note {
  color: var(--muted);
  font-size: 14px;
}

.footer {
  color: var(--muted);
  padding: 24px 6vw 42px;
  text-align: center;
}
