:root {
  color-scheme: light;
  --ink: #19221c;
  --paper: #f7f4ed;
  --lime: #d9ff68;
  --line: rgba(25, 34, 28, 0.18);
  --muted: #667068;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", "Noto Sans KR", sans-serif;
}

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

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
}

nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

nav a:hover,
footer a:hover {
  color: var(--ink);
}

.hero {
  min-height: 620px;
  padding: 120px 0 88px;
}

.eyebrow {
  margin: 0 0 22px;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

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

h1 {
  max-width: 940px;
  margin-bottom: 36px;
  font-size: clamp(3.5rem, 8.5vw, 7.3rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

h1 span {
  position: relative;
  z-index: 0;
}

h1 span::after {
  position: absolute;
  z-index: -1;
  right: -0.05em;
  bottom: 0.05em;
  left: -0.05em;
  height: 0.3em;
  background: var(--lime);
  content: "";
}

.hero-copy {
  max-width: 510px;
  margin-bottom: 38px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
  word-break: keep-all;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.ad-space {
  display: flex;
  margin-bottom: 120px;
  justify-content: center;
  overflow-x: auto;
}

.coupang-ad {
  flex: 0 0 680px;
  border: 0;
}

.about {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 32px;
  padding: 100px 0 120px;
  border-top: 1px solid var(--line);
}

.section-number {
  color: var(--muted);
  font-size: 0.78rem;
}

h2 {
  margin-bottom: 30px;
  font-size: clamp(2.2rem, 4.5vw, 4.4rem);
  line-height: 1.15;
  letter-spacing: -0.055em;
}

.about > div > p:last-child {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.85;
  word-break: keep-all;
}

.notes {
  padding: 110px 0 130px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 50px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p {
  color: var(--muted);
  font-size: 0.84rem;
}

.note-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
}

.note-card {
  min-height: 300px;
  padding: 34px;
  border: 1px solid var(--line);
}

.note-card-featured {
  position: relative;
  background: var(--ink);
  color: #fff;
}

.note-card-featured::before {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--lime);
  content: "";
}

.note-meta {
  margin-bottom: 72px;
  color: #aab3ac;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.note-card h3 {
  max-width: 520px;
  margin-bottom: 16px;
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  line-height: 1.22;
  letter-spacing: -0.045em;
}

.note-card-featured > p:not(.note-meta) {
  max-width: 480px;
  color: #aab3ac;
  line-height: 1.7;
}

.note-card-featured > span {
  position: absolute;
  right: 34px;
  bottom: 30px;
  color: var(--lime);
  font-size: 1.6rem;
}

.note-card-empty {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 110px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
}

footer p {
  margin-bottom: 0;
}

@media (max-width: 700px) {
  .site-header,
  main,
  footer {
    width: min(100% - 32px, 1180px);
  }

  .site-header {
    min-height: 72px;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 88px 0 72px;
  }

  h1 {
    font-size: clamp(3.1rem, 15vw, 5rem);
  }

  .ad-space {
    margin-bottom: 72px;
    justify-content: flex-start;
  }

  .about {
    grid-template-columns: 1fr;
    padding: 72px 0 88px;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 20px;
  }

  .notes {
    padding: 80px 0 90px;
  }

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

  .note-card {
    min-height: 270px;
  }

  .note-card-empty {
    min-height: 150px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
