:root {
  --bg: #f4efe6;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #fffdf8;
  --text: #1d1b18;
  --muted: #5e574e;
  --line: rgba(34, 27, 20, 0.12);
  --accent: #146356;
  --accent-deep: #0d4a40;
  --highlight: #c96f3b;
  --shadow: 0 20px 50px rgba(41, 31, 20, 0.12);
  --radius: 24px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(201, 111, 59, 0.18), transparent 32%),
    radial-gradient(circle at 80% 20%, rgba(20, 99, 86, 0.16), transparent 28%),
    linear-gradient(180deg, #f9f4ec 0%, #efe6d7 100%);
  line-height: 1.7;
}

a {
  color: var(--accent-deep);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.shell {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(249, 244, 236, 0.75);
  border-bottom: 1px solid var(--line);
}

.site-header .shell,
.site-footer .shell,
.legal-page .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.1rem;
  color: var(--text);
}

.header-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.site-header,
.site-footer {
  padding: 16px 0;
}

.hero {
  padding: 82px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: stretch;
}

.panel,
.hero-card,
.card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.hero-copy {
  padding: 38px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--accent-deep);
  background: rgba(20, 99, 86, 0.1);
  border-radius: 999px;
  padding: 8px 14px;
  margin-bottom: 18px;
}

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

h1 {
  font-size: clamp(2.3rem, 5vw, 4.7rem);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

h3 {
  font-size: 1.2rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 58ch;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.hero-points div,
.metric {
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
}

.hero-points strong,
.metric strong {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.hero-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(160deg, rgba(13, 74, 64, 0.96), rgba(20, 99, 86, 0.82)),
    linear-gradient(180deg, #21443d, #0c2d28);
  color: #f7f1e8;
}

.hero-card small,
.hero-card p,
.hero-card li {
  color: rgba(247, 241, 232, 0.86);
}

.hero-card ul {
  padding-left: 20px;
  margin: 16px 0 0;
}

.section {
  padding: 24px 0 54px;
}

.section-head {
  max-width: 70ch;
  margin-bottom: 22px;
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 22px;
}

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

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

.card {
  padding: 26px;
}

.list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.accent-note {
  border-left: 4px solid var(--highlight);
  padding-left: 16px;
  color: var(--muted);
}

.band {
  padding: 28px;
  background: linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(241, 232, 214, 0.95));
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.subscribe {
  padding: 34px;
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.98), rgba(247, 241, 231, 0.98));
}

.subscribe-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}

input[type="email"] {
  width: 100%;
  border: 1px solid rgba(29, 27, 24, 0.16);
  border-radius: 16px;
  padding: 16px 18px;
  font: inherit;
  color: var(--text);
  background: #fffdf9;
}

input[type="email"]:focus {
  outline: 2px solid rgba(20, 99, 86, 0.22);
  border-color: var(--accent);
}

button {
  border: 0;
  border-radius: 16px;
  padding: 16px 24px;
  font: inherit;
  font-weight: 800;
  color: #f7f1e8;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  cursor: pointer;
  white-space: nowrap;
}

button:hover {
  filter: brightness(1.03);
}

.fine-print,
.muted {
  color: var(--muted);
  font-size: 0.96rem;
}

.result {
  min-height: 28px;
  margin-top: 14px;
  font-weight: 700;
  color: var(--accent-deep);
}

.site-footer {
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.footer-meta {
  color: var(--muted);
  font-size: 0.94rem;
}

.legal-page {
  min-height: 100vh;
}

.legal-page main {
  padding: 70px 0 44px;
}

.legal-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.legal-wrap .panel {
  padding: 34px;
}

.legal-wrap p,
.legal-wrap li {
  color: var(--muted);
}

.legal-wrap ul {
  padding-left: 20px;
}

.top-link {
  display: inline-flex;
  margin-top: 20px;
  font-weight: 700;
}

@media (max-width: 920px) {
  .hero-grid,
  .grid-2,
  .grid-3,
  .metrics,
  .hero-points,
  .subscribe-form {
    grid-template-columns: 1fr;
  }

  .site-header .shell,
  .site-footer .shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 52px;
  }
}
