body {
  margin: 0;
  background: #f6f6f4;
  color: #1f1f1f;
  font-family: -apple-system, BlinkMacSystemFont, "Pretendard", "Noto Sans KR", sans-serif;
  line-height: 1.65;
}

.page {
  width: min(920px, calc(100% - 48px));
  margin: 48px auto;
  background: #ffffff;
  border: 1px solid #d8d8d8;
  padding: 56px;
  box-sizing: border-box;
}

.hero {
  padding-bottom: 36px;
  border-bottom: 2px solid #1f1f1f;
  margin-bottom: 28px;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #666;
  margin: 0 0 16px;
}

h1 {
  font-size: 56px;
  line-height: 1;
  margin: 0 0 12px;
  letter-spacing: -0.04em;
}

.subtitle {
  font-size: 20px;
  color: #444;
  margin: 0;
}

.note {
  margin-top: 36px;
  font-size: 14px;
  color: #777;
}

.card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid #d8d8d8;
}

.card:last-child {
  border-bottom: none;
}

.section-label {
  width: 38px;
  height: 38px;
  border: 1px solid #1f1f1f;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.section-body {
  min-width: 0;
}

.section-kicker {
  margin: 0 0 4px;
  color: #777;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h2 {
  margin: 0 0 10px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.card p {
  color: #444;
}

.card p:last-child {
  margin-bottom: 0;
}

/* ===========================
   Hypothesis
=========================== */

.hypothesis-card {
  display: block;
  width: 100%;
  padding: 24px 0;
  border-top: 1px solid #ddd;
}

.hypothesis-card:last-child {
  border-bottom: 1px solid #ddd;
}

.hypothesis-title {
  font-size: 13px;
  letter-spacing: 0.15em;
  color: #888;
  margin-bottom: 12px;
  font-weight: 700;
}

.hypothesis-card p {
  margin: 0;
  font-size: 20px;
  line-height: 1.7;
  color: #333;
}

/* ===========================
   Main Landing
=========================== */

.framework-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.framework-grid div {
  border: 1px solid #d8d8d8;
  padding: 18px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.sample-card {
  display: block;
  margin-top: 20px;
  padding: 24px;
  border: 1px solid #d8d8d8;
  text-decoration: none;
  color: inherit;
  background: #fff;
}

.sample-card:hover {
  border-color: #1f1f1f;
}

.sample-card h3 {
  margin: 8px 0;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.sample-card span {
  display: inline-block;
  margin-top: 16px;
  font-weight: 700;
}

/* ===========================
   Resume
=========================== */

.profile-lead {
  font-size: 18px;
  line-height: 1.8;
  color: #222;
  margin-bottom: 18px;
}

.core-skills {
  margin: 14px 0 18px;
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  letter-spacing: -0.01em;
}

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

  .page {
    width: auto;
    margin: 0;
    border: none;
    padding: 32px;
  }
}

/* ===========================
   Mobile
=========================== */

@media (max-width: 768px) {
  body {
    line-height: 1.7;
  }

  .page {
    width: calc(100% - 20px);
    margin: 10px auto;
    padding: 28px 18px;
    border-width: 1px;
  }

  .hero {
    padding-bottom: 28px;
    margin-bottom: 8px;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
  }

  h1 {
    font-size: clamp(34px, 11vw, 42px);
    line-height: 1.06;
    letter-spacing: -0.055em;
    word-break: keep-all;
  }

  h2 {
    font-size: 22px;
    line-height: 1.3;
    word-break: keep-all;
  }

  .subtitle {
    font-size: 17px;
    line-height: 1.45;
    word-break: keep-all;
  }

  .note {
    margin-top: 22px;
    font-size: 13px;
    line-height: 1.65;
  }

  .card {
    display: block;
    padding: 26px 0;
  }

  .section-label {
    width: auto;
    height: auto;
    border: none;
    border-radius: 0;
    justify-content: flex-start;
    margin-bottom: 10px;
    font-size: 11px;
    color: #888;
    letter-spacing: 0.12em;
  }

  .section-label::before {
    content: "Section ";
  }

  .section-kicker {
    font-size: 11px;
    letter-spacing: 0.11em;
    line-height: 1.45;
    word-break: keep-all;
  }

  .card p {
    font-size: 15px;
    line-height: 1.75;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .framework-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .framework-grid div {
    padding: 14px 10px;
    font-size: 13px;
    line-height: 1.35;
  }

  .sample-card {
    margin-top: 14px;
    padding: 18px;
    border-color: #d8d8d8;
  }

  .sample-card h3 {
    font-size: 22px;
    line-height: 1.25;
    word-break: keep-all;
  }

  .sample-card p {
    font-size: 14px;
  }

  .sample-card span {
    margin-top: 12px;
  }

  .hypothesis-card {
    padding: 20px 0;
  }

  .hypothesis-title {
    font-size: 11px;
    letter-spacing: 0.12em;
    margin-bottom: 10px;
  }

  .hypothesis-card p {
    font-size: 16px;
    line-height: 1.75;
  }

  .profile-lead {
    font-size: 16px;
    line-height: 1.75;
  }

  .core-skills {
    font-size: 13px;
    line-height: 1.65;
  }
}

@media (max-width: 420px) {
  .page {
    width: calc(100% - 14px);
    margin: 7px auto;
    padding: 24px 14px;
  }

  h1 {
    font-size: clamp(32px, 12vw, 38px);
  }

  .framework-grid {
    grid-template-columns: 1fr;
  }

  .sample-card h3 {
    font-size: 21px;
  }
}