:root {
  --ink: #1d1f24;
  --muted: #5b6472;
  --line: #d9dde4;
  --surface: #ffffff;
  --surface-alt: #f6f7f9;
  --cardinal: #9f1d35;
  --cardinal-dark: #781629;
  --gold: #f0c24b;
  --blue: #276c9f;
  --green: #2f7d62;
  --shadow: 0 18px 45px rgba(29, 31, 36, 0.12);
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  line-height: 1.55;
}

a {
  color: inherit;
}

img,
svg {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(217, 221, 228, 0.8);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 6px;
  background: var(--cardinal);
  color: #fff;
  font-size: 0.88rem;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-links a {
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 620;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--surface-alt);
  color: var(--ink);
}

.button,
button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 10px 16px;
  background: var(--cardinal);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 720;
  text-decoration: none;
  transition:
    background 150ms ease,
    border-color 150ms ease,
    color 150ms ease,
    transform 150ms ease;
}

.button:hover,
button:hover {
  background: var(--cardinal-dark);
  transform: translateY(-1px);
}

.button.secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.button.secondary:hover {
  border-color: var(--cardinal);
  background: #fff7f8;
  color: var(--cardinal-dark);
}

.hero {
  min-height: clamp(520px, 74vh, 760px);
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(29, 31, 36, 0.82), rgba(29, 31, 36, 0.52) 48%, rgba(29, 31, 36, 0.16)),
    url("./practicum-visual.svg") center / cover no-repeat;
  color: #fff;
}

.hero-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0 64px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.4rem, 7vw, 5.5rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

h3 {
  font-size: 1.18rem;
}

.hero p {
  max-width: 650px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-actions,
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-actions .button.secondary {
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.hero-actions .button.secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.section {
  padding: 72px 0;
}

.section.alt {
  background: var(--surface-alt);
}

.shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.5fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 34px;
}

.section-header p,
.lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 22px;
}

.card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.stat-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.stat {
  background: #fff;
  padding: 22px;
}

.stat strong {
  display: block;
  font-size: 1.7rem;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 620;
}

.page-hero {
  background: #24272e;
  color: #fff;
  padding: 70px 0;
}

.page-hero .lede {
  max-width: 760px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.82);
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 22px;
  border-bottom: 1px solid var(--line);
  padding: 0 0 18px;
}

.timeline-item:last-child {
  border-bottom: 0;
}

.timeline-date {
  color: var(--cardinal);
  font-weight: 780;
}

.resource-list {
  display: grid;
  gap: 12px;
}

.resource-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px 18px;
}

.resource-row span {
  color: var(--muted);
}

.form-shell {
  max-width: 720px;
}

.form-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 28px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #bfc6d1;
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form-grid {
  display: grid;
  gap: 18px;
}

.message {
  display: none;
  margin-top: 18px;
  border-radius: 6px;
  padding: 12px 14px;
  background: #edf6f3;
  color: #185843;
  font-weight: 650;
}

.message.is-visible {
  display: block;
}

.message.is-error {
  background: #fff0f2;
  color: var(--cardinal-dark);
}

.notice {
  border-left: 4px solid var(--blue);
  background: #eef6fb;
  padding: 14px 16px;
  color: #1f4f73;
}

.survey-form {
  gap: 24px;
}

.survey-questions {
  display: grid;
  gap: 24px;
}

.survey-question {
  display: grid;
  gap: 12px;
  min-width: 0;
  border: 0;
  padding: 0;
}

.survey-question legend {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
}

.choice-list {
  display: grid;
  gap: 10px;
}

.choice {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  font-weight: 600;
}

.choice input[type="radio"] {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  padding: 0;
}

.survey-other-input {
  grid-column: 2;
  margin-top: 4px;
}

.admin-participants {
  display: grid;
  gap: 24px;
}

.admin-survey-responses {
  display: grid;
  gap: 18px;
}

.admin-participants h2 {
  font-size: 1.35rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.data-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.survey-response-table {
  min-width: 1320px;
}

.table-action {
  min-height: 36px;
  padding: 8px 12px;
  white-space: nowrap;
}

.data-table th,
.data-table td {
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: var(--surface-alt);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 780;
  text-transform: uppercase;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #1f2228;
  color: rgba(255, 255, 255, 0.82);
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0;
}

.footer-shell a {
  color: #fff;
}

@media (max-width: 860px) {
  .nav-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .section-header,
  .grid.three,
  .grid.two,
  .stat-band,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 620px;
    background-position: 62% center;
  }

  .footer-shell,
  .resource-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .nav-links a {
    padding-inline: 8px;
  }

  .section,
  .page-hero {
    padding: 48px 0;
  }

  .form-card,
  .card {
    padding: 18px;
  }
}
