:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --paper: #ffffff;
  --ink: #172033;
  --muted: #667085;
  --line: #dbe3ee;
  --blue: #2563eb;
  --green: #10a37f;
  --wash: #edf3fb;
  --soft-blue: #eef5ff;
  --shadow: 0 24px 70px rgba(23, 32, 51, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration-color: rgba(37, 99, 235, 0.35);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--blue);
}

img {
  display: block;
  max-width: 100%;
}

.site-header,
.section,
.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  background: rgba(247, 248, 251, 0.86);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--ink);
  font-weight: 760;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
}

.nav {
  gap: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
}

.section {
  padding: 86px 0;
}

.hero-clean {
  min-height: calc(100vh - 72px);
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
  padding-top: 76px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(3.25rem, 8vw, 7.4rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.lead {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.12rem, 1.7vw, 1.34rem);
}

.actions {
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 18px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 730;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  border-color: rgba(37, 99, 235, 0.48);
  color: var(--blue);
}

.button.primary {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.button.primary:hover {
  border-color: var(--blue);
  background: var(--blue);
  color: #ffffff;
}

.hero-visual {
  width: min(980px, 100%);
  margin: 42px 0 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  background: linear-gradient(180deg, #ffffff, #f5f8fc);
  box-shadow: var(--shadow);
}

.student-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 700;
}

.hero-visual img {
  border-radius: 12px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 32px;
}

.benefit-grid article,
.focus-card,
.privacy-list {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 40px rgba(23, 32, 51, 0.06);
}

.benefit-grid article {
  padding: 26px;
}

.benefit-icon {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 10px;
  background: var(--soft-blue);
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 800;
}

.benefit-grid h2 {
  font-size: 1.35rem;
  line-height: 1.16;
}

.benefit-grid p,
.section-copy p,
.focus-card p,
.privacy-section p,
.timeline p,
.cv-intro p,
.contact p {
  color: var(--muted);
}

.split-section,
.privacy-section,
.cv-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 58px;
  align-items: center;
}

.split-section,
.privacy-section {
  border-top: 1px solid var(--line);
}

.reverse .section-copy {
  order: 2;
}

.section-copy {
  max-width: 560px;
}

.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  background: var(--paper);
}

.steps span {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 780;
  text-transform: uppercase;
}

.steps strong {
  font-size: 1.1rem;
  line-height: 1.35;
}

.focus-card {
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), transparent 44%),
    var(--paper);
}

.focus-card h3 {
  font-size: clamp(1.55rem, 3vw, 2.6rem);
}

.privacy-list,
.quick-facts,
.spec-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--line);
  list-style: none;
}

.privacy-list li,
.quick-facts div,
.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  background: var(--paper);
}

.privacy-list span,
.quick-facts dt,
.spec-list span,
time {
  color: var(--muted);
  font-size: 0.9rem;
}

.privacy-list strong,
.spec-list strong {
  text-align: right;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

/* CV page */
.hero {
  min-height: 78vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 56px;
  align-items: end;
  border-bottom: 1px solid var(--line);
}

.cv-hero {
  min-height: 64vh;
  grid-template-columns: minmax(0, 900px);
  align-items: center;
}

.hero-copy {
  align-self: center;
}

.quick-facts {
  padding: 0;
}

.quick-facts dd {
  margin: 0;
  font-weight: 720;
  text-align: right;
}

.cv-board {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.cv-card {
  grid-column: span 3;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 40px rgba(23, 32, 51, 0.06);
}

.cv-card h2 {
  font-size: 1.35rem;
}

.timeline,
.plain-list {
  display: grid;
  gap: 12px;
}

.tag-list,
.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.tag-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--wash);
  color: var(--muted);
  font-size: 0.92rem;
}

.contact {
  margin-bottom: 52px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 42px;
  background: var(--paper);
  box-shadow: 0 14px 40px rgba(23, 32, 51, 0.06);
}

.cv-blank {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(180px, auto);
  gap: 18px;
  align-content: center;
}

.blank-box {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 40px rgba(23, 32, 51, 0.06);
}

.blank-box.large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 420px;
}

.blank-box.wide {
  grid-column: span 2;
}

@media (max-width: 860px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .section {
    padding: 58px 0;
  }

  .hero-clean {
    min-height: auto;
    padding-top: 72px;
  }

  .benefit-grid,
  .split-section,
  .privacy-section,
  .cv-intro,
  .hero,
  .cv-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .reverse .section-copy {
    order: 0;
  }

  .cv-card {
    grid-column: span 6;
  }

  .privacy-list li,
  .quick-facts div,
  .spec-list li {
    flex-direction: column;
    gap: 4px;
  }

  .privacy-list strong,
  .quick-facts dd,
  .spec-list strong {
    text-align: left;
  }

  .cv-blank {
    grid-template-columns: 1fr;
  }

  .blank-box.large,
  .blank-box.wide {
    grid-column: span 1;
  }
}

@media (max-width: 560px) {
  .site-header,
  .section,
  .site-footer {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  h1 {
    font-size: clamp(2.8rem, 15vw, 4.4rem);
  }
}

@media print {
  :root {
    --bg: #ffffff;
    --paper: #ffffff;
    --line: #cfd8e3;
    --shadow: none;
  }

  body {
    background: #ffffff;
  }

  .site-header,
  .hero-visual,
  .actions,
  .site-footer {
    display: none;
  }

  .section {
    width: 100%;
    padding: 22px 0;
    break-inside: avoid;
  }

  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 1.65rem;
  }
}
