:root {
  --ink: #1f2a2e;
  --muted: #5f6f73;
  --paper: #fffaf0;
  --surface: #ffffff;
  --mint: #dceee4;
  --teal: #397f79;
  --coral: #e36464;
  --gold: #df9f3a;
  --blue: #4f6fa9;
  --line: rgba(31, 42, 46, 0.14);
  --shadow: 0 22px 54px rgba(42, 51, 54, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 68px);
  background: rgba(255, 250, 240, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

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

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
  font-size: 0.8rem;
  letter-spacing: 0;
}

.nav {
  gap: clamp(12px, 3vw, 32px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav a:hover {
  color: var(--teal);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 79px);
  padding: clamp(42px, 7vw, 88px) clamp(20px, 5vw, 68px) clamp(34px, 5vw, 64px);
}

.hero-copy {
  max-width: 680px;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

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

h1 {
  max-width: 12ch;
  font-size: clamp(2.7rem, 6vw, 5.6rem);
}

.hero-text {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
}

.hero-visual {
  margin: 0;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.intro-band {
  padding: 0 clamp(20px, 5vw, 68px) 68px;
}

.intro-band div {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: var(--mint);
  border-top: 1px solid rgba(57, 127, 121, 0.2);
  border-bottom: 1px solid rgba(57, 127, 121, 0.2);
  color: #244340;
  text-align: center;
}

.section {
  padding: clamp(62px, 8vw, 104px) clamp(20px, 5vw, 68px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.competency-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(160px, 1fr));
  gap: 14px;
}

.competency-card,
.activity-panel,
.reflection-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(42, 51, 54, 0.08);
}

.competency-card {
  min-height: 230px;
  padding: 22px;
}

.card-number {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--gold);
  font-weight: 900;
}

.competency-card h3,
.activity-panel h3,
.reflection-box h3 {
  font-size: 1.22rem;
}

.competency-card p,
.activity-panel p,
.reflection-box p {
  margin: 14px 0 0;
  color: var(--muted);
}

.classroom {
  background: #edf4f1;
}

.activity-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.activity-panel {
  min-height: 220px;
  padding: 26px;
  border-top: 6px solid var(--coral);
}

.activity-panel:nth-child(2) {
  border-top-color: var(--teal);
}

.activity-panel:nth-child(3) {
  border-top-color: var(--blue);
}

.activity-panel span {
  display: inline-block;
  margin-top: 24px;
  color: var(--ink);
  font-weight: 800;
}

.practice-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 20px;
  align-items: stretch;
}

.checklist {
  display: grid;
  gap: 12px;
}

.checklist label {
  display: flex;
  min-height: 66px;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
}

.checklist input {
  width: 22px;
  height: 22px;
  accent-color: var(--teal);
  flex: 0 0 auto;
}

.reflection-box {
  padding: 28px;
  background: #fff7df;
}

.writing-line {
  height: 34px;
  margin-top: 28px;
  border-bottom: 2px solid rgba(31, 42, 46, 0.24);
}

.writing-line.short {
  width: 72%;
  margin-top: 18px;
}

.footer {
  padding: 32px 20px 42px;
  color: #fff;
  background: var(--ink);
  text-align: center;
}

.footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  h1 {
    max-width: 14ch;
  }

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

  .activity-layout,
  .practice-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    font-size: 0.9rem;
  }

  h1 {
    max-width: 100%;
    font-size: 2.55rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .intro-band div {
    align-items: flex-start;
    flex-direction: column;
    text-align: left;
  }

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