/* Design tokens: one primary (deep green), one accent (used only for the call button), neutrals otherwise. */
:root {
  --ink: #161616;
  --gray: #6b6b6b;
  --line: #d9d5cc;
  --paper: #f4f1ea;
  --white: #ffffff;
  --primary: #1f3d2e;
  --accent: #d9572b;
  --unit: 8px;
  --gutter: 16px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #f2efe8;
    --gray: #a8a59c;
    --line: #3a3934;
    --paper: #141413;
    --white: #1d1d1b;
  }
}
:root[data-theme="dark"] {
  --ink: #f2efe8;
  --gray: #a8a59c;
  --line: #3a3934;
  --paper: #141413;
  --white: #1d1d1b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans KR", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

a { color: inherit; }

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(var(--unit) * 8);
}
.brand {
  font-weight: 700;
  text-decoration: none;
  font-size: 18px;
}
.call-small {
  font-size: 14px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

/* Hero: left aligned, one headline, one call button */
.hero {
  padding: calc(var(--unit) * 10) 0 calc(var(--unit) * 8);
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  margin: 0 0 var(--unit);
  color: var(--gray);
  font-size: 14px;
}
.hero h1 {
  margin: 0 0 calc(var(--unit) * 2);
  font-size: clamp(28px, 6vw, 40px);
  line-height: 1.25;
  color: var(--primary);
}
.lead {
  margin: 0 0 calc(var(--unit) * 4);
  max-width: 560px;
  color: var(--ink);
}

/* Single accent: the call button */
.cta {
  display: inline-block;
  padding: calc(var(--unit) * 2) calc(var(--unit) * 4);
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
}

/* Sections */
.block {
  padding: calc(var(--unit) * 8) 0;
}
.block-alt {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.block h2 {
  margin: 0 0 calc(var(--unit) * 3);
  font-size: 22px;
  color: var(--primary);
}

/* Price table: plain rules, no cards */
.price {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.price th,
.price td {
  padding: var(--unit) calc(var(--unit) * 2);
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.price th {
  color: var(--gray);
  font-weight: 500;
}
.note {
  margin: calc(var(--unit) * 2) 0 0;
  color: var(--gray);
  font-size: 14px;
}

.rules {
  margin: 0;
  padding-left: calc(var(--unit) * 3);
}
.rules li {
  margin-bottom: var(--unit);
}

/* Footer */
.site-footer {
  padding: calc(var(--unit) * 6) 0 calc(var(--unit) * 12);
  color: var(--gray);
  font-size: 14px;
}

/* Mobile bottom call bar */
.call-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  padding: calc(var(--unit) * 2) var(--gutter);
  background: var(--accent);
  color: #ffffff;
  text-align: center;
  font-weight: 700;
  text-decoration: none;
  z-index: 10;
}

@media (min-width: 768px) {
  .call-bar { display: none; }
  .site-footer { padding-bottom: calc(var(--unit) * 6); }
}
