﻿/* ===== Design Tokens ===== */
:root {
  --font-sans: "Pretendard", "Noto Sans KR", "Segoe UI", Roboto, Arial, sans-serif;

  --color-brand: #0f766e;
  --color-brand-2: #14b8a6;
  --color-accent: #f59e0b;

  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-text: #0f172a;
  --color-muted: #475569;
  --color-border: #dbe3ec;

  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 14px 32px rgba(15, 23, 42, 0.12);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;

  --container: 1100px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(20, 184, 166, 0.16), transparent 60%),
    radial-gradient(800px 450px at 95% 10%, rgba(245, 158, 11, 0.13), transparent 60%),
    var(--color-bg);
  line-height: 1.6;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.site-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(248, 250, 252, 0.78);
  border-bottom: 1px solid rgba(219, 227, 236, 0.8);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.logo {
  font-weight: 800;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.nav-link:hover { color: var(--color-text); }

.hero {
  padding: 5rem 0 3.5rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  max-width: 16ch;
}

.hero p {
  margin-top: 1rem;
  max-width: 60ch;
  color: var(--color-muted);
}

.cta-row {
  margin-top: 1.6rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.72rem 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-brand), var(--color-brand-2));
  color: #fff;
}

.btn-secondary {
  border-color: var(--color-border);
  background: #fff;
  color: var(--color-text);
}

.section {
  padding: 2rem 0 4rem;
}

.section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem 1rem 1.1rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

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

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 1.2rem 0 2rem;
  color: var(--color-muted);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .hero { padding-top: 3.8rem; }
  .cards { grid-template-columns: 1fr; }
}
