:root {
  --bg: #fbf7f0;
  --surface: #ffffff;
  --surface-2: #f4ece1;
  --line: #e6dccd;
  --ink: #2b2622;
  --muted: #6a6159;
  --sage: #4e6e54;
  --sage-dark: #3b5641;
  --sage-soft: #e3ece2;
  --sun: #fff6e3;
  --radius: 18px;
  --display: 'AppleMyungjo', 'Nanum Myeongjo', 'NanumMyeongjo', 'Batang', serif;
  --body:
    -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
}

a {
  color: var(--sage-dark);
}

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.35;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(30px, 6vw, 46px);
}

h2 {
  font-size: clamp(24px, 4vw, 30px);
}

h3 {
  font-size: 19px;
}

.top,
main,
.bottom {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
}

main section {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

main section:first-child {
  border-top: 0;
}

.hero {
  padding: 56px 0 64px;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 620px;
  margin: 0 0 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 16px;
  background: var(--sage);
  color: #ffffff;
  font: 600 17px var(--body);
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--sage-dark);
  color: #ffffff;
}

.button.small {
  min-height: 44px;
  padding: 0 16px;
  font-size: 15px;
}

.button[disabled] {
  background: #b9b1a7;
  cursor: default;
}

.cards {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.cards li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.cards p {
  margin: 0;
  color: var(--muted);
}

.promise ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.promise li {
  background: var(--sage-soft);
  border-radius: 14px;
  padding: 14px 18px;
}

.signup form {
  margin-top: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  gap: 18px;
  max-width: 680px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label,
legend {
  font-weight: 600;
  font-size: 15px;
}

input[type='email'],
input[type='number'],
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid #d8ccbb;
  border-radius: 12px;
  background: #ffffff;
  color: var(--ink);
  font: 16px var(--body);
}

select:disabled {
  background: var(--surface-2);
  color: var(--muted);
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
}

.check input {
  width: 22px;
  height: 22px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--sage);
}

.survey {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.survey summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--sage-dark);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.survey[open] {
  display: grid;
  gap: 20px;
}

fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

fieldset.sensitive {
  background: var(--surface-2);
  border-radius: 14px;
  padding: 16px;
}

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

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  font-size: 15px;
  cursor: pointer;
}

.chips input {
  accent-color: var(--sage);
}

.chips label:has(input:checked) {
  border-color: var(--sage);
  background: var(--sage-soft);
}

.chips label:has(input:disabled) {
  color: var(--muted);
  cursor: default;
}

.prices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.status {
  margin: 0;
  min-height: 1.7em;
  font-size: 15px;
}

.status.ok {
  color: var(--sage-dark);
  font-weight: 600;
}

.status.error {
  color: #9a3b2b;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.faq p {
  color: var(--muted);
  margin: 4px 0 8px;
}

.bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.legal {
  max-width: 760px;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 20px;
  font-size: 15px;
}

.legal th,
.legal td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.legal th {
  background: var(--surface-2);
}

@media (max-width: 480px) {
  .signup form {
    padding: 18px;
  }
}
