*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

:root {
  --bg: #ffffff;
  --fg: #1a1a1a;
  --muted: #666;
  --border: #e5e5e5;
  --accent: #1a1a1a;
  --card-bg: #fafafa;
  --card-border: #eaeaea;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e0e;
    --fg: #ededed;
    --muted: #999;
    --border: #2a2a2a;
    --accent: #ffffff;
    --card-bg: #161616;
    --card-border: #232323;
  }
}

body {
  font-family: -apple-system, "Pretendard Variable", BlinkMacSystemFont, "Segoe UI", Roboto, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
a:hover { opacity: 0.7; }

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0 40px;
  border-bottom: 1px solid var(--border);
}
section:last-of-type { border-bottom: none; }

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
}

section h2 {
  font-size: 28px;
  margin-bottom: 24px;
}

section p {
  margin-bottom: 16px;
  max-width: 60ch;
}

.hero {
  text-align: center;
  padding: 120px 0 80px;
  border-bottom: 1px solid var(--border);
}

.hero .kicker {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(48px, 10vw, 72px);
  line-height: 1.1;
  margin-bottom: 8px;
}

.hero .tagline {
  font-size: 20px;
  color: var(--muted);
  margin-bottom: 32px;
  font-style: italic;
}

.hero .lede {
  font-size: 18px;
  max-width: 480px;
  margin: 0 auto 32px;
}

.hero .cta {
  margin-bottom: 0;
  max-width: none;
}

.hero .cta a {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid var(--border);
  border-radius: 9999px;
  text-decoration: none;
  transition: border-color 0.15s ease;
}
.hero .cta a:hover {
  border-color: var(--accent);
  opacity: 1;
}

.card-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}

@media (min-width: 640px) {
  .card-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  padding: 20px;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  background: var(--card-bg);
}

.card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.contact-email {
  font-size: 18px;
  font-weight: 500;
}

footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 60px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

footer a { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
