:root {
  --ink: #1c2b3a;
  --ink-strong: #16212d;
  --muted: #6b7787;
  --line: #d8dde3;
  --bg: #ffffff;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-strong);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.page {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 48px 64px;
}

/* Header */

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.logo img {
  display: block;
  height: 24px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--ink);
}

.nav a:hover { text-decoration: underline; }

.nav .divider { color: var(--line); }

/* Main */

.main { padding-top: 56px; }

h1 {
  margin: 0 0 20px;
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.intro {
  margin: 0;
  max-width: 46em;
  font-size: 18px;
  line-height: 1.45;
  color: var(--ink);
}

.content p {
  margin: 0 0 1.25em;
  max-width: 46em;
  font-size: 18px;
  line-height: 1.45;
  color: var(--ink);
}

.content p:last-child { margin-bottom: 0; }

.content a:not([href^="mailto:"]) { text-decoration: underline; }

.content a[href^="mailto:"] {
  display: inline-block;
  padding: 12px 0 12px 16px;
  border-left: 5px solid #c5cdd6;
}

/* Gaps */

.gaps {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
}

.gaps li {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 26px;
}

.num {
  flex: none;
  min-width: 58px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: #b9c1cb;
  letter-spacing: -0.01em;
}

.gap-text h2 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.gap-text p {
  margin: 0;
  font-size: 16px;
  color: var(--muted);
}

/* Assessment */

.progress { margin-bottom: 40px; }

.progress-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.progress-track {
  height: 6px;
  background: #eceff2;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0;
  background: #2b3a4a;
  transition: width .25s ease;
}

.q-body { padding-bottom: 8px; }

.question {
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

mark {
  background: #fdf07a;
  color: inherit;
  padding: 0 2px;
}

.warn-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 6px;
  vertical-align: -2px;
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 8px;
  padding: 20px 22px;
  background: #fffbe6;
  border: 1px solid #f0dd8a;
}

.notice-icon {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
}

.notice p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}

.notice p:last-child { margin-bottom: 0; }

.notice a { text-decoration: underline; }

.q-controls {
  margin: 18px 0 0;
  max-width: 46em;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

/* Actions */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 316px;
  padding: 20px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border: 1px solid var(--ink-strong);
  transition: background-color .15s ease, color .15s ease;
}

.btn-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: none;
}

.btn-primary {
  background: #2b3a4a;
  border-color: #2b3a4a;
  color: #fff;
}

.btn-primary:hover { background: #1c2b3a; }

.btn-secondary {
  background: #fff;
  color: var(--ink-strong);
}

.btn-secondary:hover { background: #f2f4f6; }

.audience {
  margin: 30px 0 0;
  font-size: 14px;
  color: var(--muted);
}

/* Footer */

.footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Responsive */

@media (max-width: 800px) {
  .page { padding: 32px 28px 48px; }
  .main { padding-top: 40px; }
  h1 { font-size: 34px; }
  .intro,
  .content p { font-size: 17px; }
  .actions { gap: 16px; }
  .btn { min-width: 0; flex: 1 1 260px; }
}

@media (max-width: 520px) {
  .page { padding: 24px 20px 40px; }
  .logo img { height: 18px; }
  .main { padding-top: 32px; }
  h1 { font-size: 28px; }
  .intro,
  .content p { font-size: 16px; }
  .gaps { margin-top: 32px; }
  .gaps li,
  .question { gap: 14px; }
  .num { min-width: 42px; font-size: 26px; }
  .progress { margin-bottom: 28px; }
  .notice { padding: 16px 18px; gap: 12px; }
  .notice p { font-size: 14px; }
  .actions { flex-direction: column; gap: 12px; }
  .btn {
    width: 100%;
    min-width: 0;
    flex: none;
    padding: 18px 16px;
    font-size: 12px;
    letter-spacing: 0.06em;
    line-height: 1.3;
    gap: 8px;
  }

  .btn-icon { width: 16px; height: 16px; }
  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}
