:root {
  color-scheme: light;
  --paper: #f4f0e7;
  --paper-deep: #e9e1d1;
  --ink: #20251f;
  --muted: #696c63;
  --green: #284f3a;
  --line: rgba(32, 37, 31, 0.16);
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
  min-height: 100vh;
  margin: 0;
  padding: 0 6vw;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 14%, rgba(40, 79, 58, 0.12), transparent 28rem),
    linear-gradient(135deg, var(--paper), #faf8f2);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
}

.site-header,
footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.site-header {
  min-height: 112px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: inherit;
  font-weight: 750;
  font-size: 1.05rem;
  text-decoration: none;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--paper);
  background: var(--green);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 0.9rem;
}

.brand-en,
footer {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.7fr);
  gap: clamp(42px, 8vw, 120px);
  align-items: center;
  width: min(1180px, 100%);
  min-height: calc(100vh - 208px);
  margin: 0 auto;
  padding: 72px 0;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--green);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(3.3rem, 7vw, 7rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.065em;
}

.intro {
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.85;
}

.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 34px;
}

.categories span {
  padding: 9px 13px;
  color: var(--green);
  border: 1px solid rgba(40, 79, 58, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  font-size: 0.82rem;
}

.index-card {
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.34);
  box-shadow: 0 28px 80px rgba(37, 43, 35, 0.08);
  backdrop-filter: blur(8px);
}

.card-number {
  margin: 0 0 78px;
  color: var(--green);
  font-family: Georgia, serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
}

.index-card h2 {
  margin: 0 0 18px;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

.index-card > p:not(.card-number, .keeper) {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.75;
}

.rule {
  height: 1px;
  margin: 34px 0 18px;
  background: var(--line);
}

.keeper { margin: 0; font-size: 0.8rem; }

footer {
  min-height: 96px;
  border-top: 1px solid var(--line);
}

@media (max-width: 780px) {
  body { padding: 0 24px; }
  .site-header { min-height: 88px; }
  .brand-en { display: none; }
  main {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 58px 0 70px;
  }
  h1 { font-size: clamp(3rem, 15vw, 5.2rem); }
  .card-number { margin-bottom: 48px; }
  footer { min-height: 78px; }
}
