:root {
  color-scheme: light;
  --ink: #101c2f;
  --muted: #57667c;
  --soft: #f4f7fb;
  --soft-strong: #e8eef8;
  --line: #d8e0ec;
  --accent: #1a57c7;
  --accent-deep: #123c8e;
  --accent-soft: #e8f0ff;
  --shadow: 0 24px 48px rgba(16, 28, 47, 0.14);
}

@page {
  size: A4;
  margin: 0;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #e9eef5;
  color: var(--ink);
  font-family: "Noto Sans KR", "Inter", sans-serif;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

body {
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.screen-toolbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(16, 28, 47, 0.08);
  background: rgba(248, 250, 253, 0.94);
  backdrop-filter: blur(14px);
}

.screen-toolbar__title {
  font-family: "Space Grotesk", "Noto Sans KR", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.screen-toolbar__meta {
  color: var(--muted);
  font-size: 12px;
}

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

.screen-toolbar__button,
.screen-toolbar__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(16, 28, 47, 0.12);
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.screen-toolbar__button--primary {
  border-color: transparent;
  background: var(--accent);
  color: #fff;
}

.document {
  padding: 20px 12px 40px;
}

.page {
  position: relative;
  box-sizing: border-box;
  width: 210mm;
  min-height: 297mm;
  height: 297mm;
  margin: 0 auto 18px;
  padding: 19mm 16mm 19mm;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.page:last-child {
  margin-bottom: 0;
}

.page::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 12mm;
  background: linear-gradient(90deg, #11264e 0%, #1a57c7 62%, #78a4ff 100%);
}

.page--cover::after {
  content: "";
  position: absolute;
  top: 16mm;
  right: -22mm;
  width: 92mm;
  height: 92mm;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 87, 199, 0.12) 0%, rgba(26, 87, 199, 0) 72%);
  pointer-events: none;
}

.page__foot {
  position: absolute;
  left: 16mm;
  right: 16mm;
  bottom: 10mm;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 4mm;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

.eyebrow {
  color: var(--accent);
  font-family: "Space Grotesk", "Noto Sans KR", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.display-name {
  margin: 0;
  font-family: "Space Grotesk", "Noto Sans KR", sans-serif;
  font-size: 36px;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.display-title {
  margin: 0;
  font-family: "Space Grotesk", "Noto Sans KR", sans-serif;
  font-size: 21px;
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.section-title {
  margin: 0;
  font-family: "Space Grotesk", "Noto Sans KR", sans-serif;
  font-size: 24px;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.section-label,
.panel__eyebrow {
  color: var(--accent);
  font-family: "Space Grotesk", "Noto Sans KR", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.panel__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.panel__copy,
.body-copy {
  margin: 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.78;
}

.stack-sm,
.stack-md,
.stack-lg {
  display: grid;
}

.stack-sm {
  gap: 4px;
}

.stack-md {
  gap: 8px;
}

.stack-lg {
  gap: 12px;
}

.hero-grid {
  display: grid;
  gap: 10mm;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: start;
}

.section-grid {
  display: grid;
  gap: 8mm;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel {
  break-inside: avoid;
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.panel--soft {
  background: var(--soft);
}

.panel--accent {
  background: linear-gradient(180deg, var(--accent-soft) 0%, #ffffff 100%);
}

.rule {
  height: 1px;
  background: var(--line);
}

.contact-list {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
}

.contact-list strong {
  color: var(--ink);
}

.token-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.token {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.token--accent {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.stat-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat {
  break-inside: avoid;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.stat__label {
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.stat__value {
  margin-top: 6px;
  font-family: "Space Grotesk", "Noto Sans KR", sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.stat__copy {
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.proof-grid,
.mini-grid,
.program-grid,
.snapshot-grid {
  display: grid;
  gap: 8px;
}

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

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

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

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

.proof-card,
.mini-card,
.snapshot,
.note-strip,
.career-item,
.project-feature,
.program-card,
.closing-card {
  break-inside: avoid;
}

.proof-card,
.mini-card,
.program-card {
  display: grid;
  gap: 6px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.proof-card__eyebrow,
.mini-card__eyebrow {
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.proof-card__title,
.mini-card__title,
.program-card__title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.proof-card__copy,
.mini-card__copy,
.program-card__copy {
  margin: 0;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.7;
}

.bullet-list {
  margin: 0;
  padding-left: 16px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.bullet-list li + li {
  margin-top: 5px;
}

.career-list {
  display: grid;
  gap: 9px;
}

.career-item {
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.career-item__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 12px;
}

.career-item__company {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.career-item__period {
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.career-item__role {
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.7;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10.5px;
}

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

.spec-table th {
  width: 34mm;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.note-strip {
  padding: 12px 14px;
  border-radius: 18px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.75;
}

.project-feature {
  display: grid;
  gap: 9mm;
  grid-template-columns: 70mm minmax(0, 1fr);
  align-items: start;
}

.project-image {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--soft);
}

.project-image img {
  height: 67mm;
  object-fit: cover;
}

.project-copy {
  display: grid;
  gap: 6px;
}

.project-kicker {
  color: var(--accent);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-title {
  margin: 0;
  font-family: "Space Grotesk", "Noto Sans KR", sans-serif;
  font-size: 22px;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.project-summary {
  margin: 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.75;
}

.project-list {
  margin: 0;
  padding-left: 17px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.72;
}

.project-list li + li {
  margin-top: 5px;
}

.snapshot {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.snapshot img {
  height: 58mm;
  object-fit: cover;
  object-position: top center;
}

.snapshot__body {
  display: grid;
  gap: 6px;
  padding: 10px 11px 12px;
}

.snapshot__label {
  color: var(--accent-deep);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.snapshot__copy {
  margin: 0;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.65;
}

.closing-card {
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, var(--soft) 0%, #ffffff 100%);
}

.closing-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.78;
}

@media screen and (max-width: 900px) {
  .screen-toolbar {
    position: static;
  }

  .page {
    width: 100%;
    height: auto;
    min-height: auto;
    padding-bottom: 20mm;
  }

  .hero-grid,
  .section-grid,
  .stat-grid,
  .proof-grid,
  .mini-grid,
  .program-grid,
  .snapshot-grid,
  .project-feature {
    grid-template-columns: 1fr;
  }
}

@media print {
  body {
    background: #fff;
  }

  .screen-toolbar {
    display: none;
  }

  .document {
    padding: 0;
  }

  .page {
    width: 184mm;
    min-height: 271mm;
    height: 271mm;
    margin: 0 auto;
    padding: 13mm 10mm 14mm;
    box-shadow: none;
    border-radius: 0;
    page-break-after: always;
  }

  .page::before {
    height: 8mm;
  }

  .page:last-child {
    page-break-after: auto;
  }

  .page__foot {
    left: 10mm;
    right: 10mm;
    bottom: 6mm;
    padding-top: 3mm;
    font-size: 9.5px;
  }

  .display-name {
    font-size: 32px;
  }

  .display-title {
    font-size: 18px;
  }

  .section-title {
    font-size: 20px;
  }

  .lead {
    font-size: 11.5px;
  }

  .hero-grid {
    gap: 7mm;
  }

  .section-grid {
    gap: 6mm;
  }

  .stat-grid,
  .proof-grid,
  .mini-grid,
  .program-grid,
  .snapshot-grid {
    gap: 6px;
  }

  .project-feature {
    gap: 6.5mm;
    grid-template-columns: 62mm minmax(0, 1fr);
  }

  .project-image img {
    height: 57mm;
  }

  .snapshot img {
    height: 46mm;
  }
}
