:root {
  --ink: #182b25;
  --muted: #63716a;
  --green: #183d33;
  --green-light: #eaf0eb;
  --lime: #dfff72;
  --paper: #f8f9f5;
  --white: #fff;
  --line: #dce2dc;
  --soft: #f0f3ed;
  --warning: #815d16;
  --error: #ac3939;
  --radius: 16px;
  font-family: "Pretendard", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-size: 16px; line-height: 1.65; }
button, input, textarea { font: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { opacity: .65; cursor: wait; }
button, input, textarea, summary { outline-offset: 4px; }
:focus-visible { outline: 3px solid #558278; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.035em; }
[hidden] { display: none !important; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--lime); padding: 12px 20px; z-index: 10; }
.skip-link:focus { top: 12px; }
.site-header { background: rgba(248, 249, 245, .96); border-bottom: 1px solid var(--line); }
.header-inner, main, footer { max-width: 1040px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.header-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: -.055em; }
.brand-mark { display: inline-flex; width: 31px; height: 34px; background: var(--green); color: var(--lime); align-items: center; justify-content: center; clip-path: polygon(0 0,100% 0,100% 66%,50% 100%,0 66%); font-weight: 900; font-size: 18px; }
.beta-pill { color: var(--green); font-size: 13px; border: 1px solid #bdcec2; padding: 5px 10px; border-radius: 50px; white-space: nowrap; background: #f1f5ef; }
.live-dot { display: inline-block; width: 6px; height: 6px; background: #326b50; border-radius: 50%; margin-right: 5px; vertical-align: 2px; }
.divider { padding: 0 5px; color: #94a198; }
.intro { max-width: 720px; padding-top: 58px; padding-bottom: 35px; }
.eyebrow { color: #547261; letter-spacing: .17em; font-weight: 750; font-size: 11px; margin-bottom: 15px; }
h1 { font-size: clamp(39px, 6.5vw, 61px); line-height: 1.13; margin-bottom: 21px; font-weight: 800; }
h1 span { position: relative; display: inline-block; z-index: 0; }
h1 span:after { content: ""; position: absolute; height: 14px; background: var(--lime); bottom: 5px; left: -5px; right: -6px; z-index: -1; }
.intro-copy { color: var(--muted); font-size: 17px; line-height: 1.85; margin-bottom: 22px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 21px; list-style: none; padding: 0; margin: 0; color: #4e5d55; font-size: 13px; }
.trust-list span { background: #dfe9dc; color: var(--green); border-radius: 50%; width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; margin-right: 4px; font-weight: 800; }
.workspace, .results { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: 0 7px 22px rgba(23, 50, 35, .025); }
.form-heading, .results-heading, .card-head, .label-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.form-heading > div, .results-heading > div { display: flex; align-items: center; gap: 12px; }
.section-number { background: var(--lime); color: var(--green); padding: 3px 7px; font-size: 11px; font-weight: 800; letter-spacing: .04em; border-radius: 3px; }
h2 { font-size: 22px; margin-bottom: 0; line-height: 1.35; }
.text-button { background: none; padding: 5px 0; border: none; color: #4b6e5a; text-decoration: underline; text-underline-offset: 4px; font-size: 12px; }
.form-note { color: var(--muted); font-size: 12px; line-height: 1.6; margin: 16px 0 26px; padding: 10px 13px; background: var(--soft); border-radius: 6px; }
.form-note strong { color: #44554c; font-weight: 650; }
.lock { color: var(--green); display: inline-block; transform: rotate(-30deg); font-size: 17px; margin-right: 4px; }
.field { margin-top: 22px; }
.workspace form > .field:first-child { margin-top: 0; }
.field label { display: block; font-weight: 650; font-size: 14px; }
.required { font-size: 10px; background: #eaf0e7; font-weight: 550; padding: 2px 5px; color: #516c57; border-radius: 3px; vertical-align: 2px; margin-left: 3px; }
.counter { font-size: 10px; color: #96a098; white-space: nowrap; }
input, textarea { width: 100%; border: 1px solid #d2dcd1; background: #fcfcfa; color: var(--ink); border-radius: 7px; padding: 12px 13px; line-height: 1.65; margin-top: 8px; resize: vertical; transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 85px; }
input { height: 47px; }
input::placeholder, textarea::placeholder { color: #8e9992; font-size: 13px; opacity: 1; }
input:focus, textarea:focus { outline: none; border-color: #5a826b; box-shadow: 0 0 0 3px #e9efdf; }
input:user-invalid, textarea:user-invalid { border-color: #bd7777; }
.field-hint { font-size: 11px; color: #7a867c; margin: 7px 0 0; }
.field-hint strong { font-weight: 600; }
.more-details { margin-top: 20px; border-top: 1px solid #e8ece6; padding-top: 15px; }
.more-details summary { list-style: none; display: flex; justify-content: space-between; align-items: center; color: #4d6557; font-size: 13px; cursor: pointer; padding: 5px 0; font-weight: 550; }
.more-details summary::-webkit-details-marker { display: none; }
.more-details summary:before { content: "+"; color: #597160; margin-right: 7px; font-size: 18px; line-height: 1; font-weight: 400; }
.more-details[open] summary:before { content: "−"; }
.optional { font-size: 10px; color: #869186; font-weight: 400; margin-left: auto; background: #f0f3ed; padding: 3px 6px; border-radius: 3px; }
.optional-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; padding: 0 2px; }
.compact-field { max-width: 265px; }
.number-input, .mini-number { position: relative; display: block; }
.number-input input { padding-right: 33px; }
.number-input > span { position: absolute; right: 15px; top: 18px; font-size: 12px; color: var(--muted); }
.evidence-intro { color: var(--muted); font-size: 12px; margin-top: 17px; }
.evidence-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 17px; }
.evidence-grid > label { font-size: 11px; font-weight: 500; line-height: 1.4; color: #5f6b63; }
.mini-number input { height: 40px; padding-right: 25px; font-size: 14px; }
.mini-number > span { position: absolute; right: 10px; bottom: 10px; font-size: 10px; color: #768279; }
input[type=number] { appearance: textfield; -moz-appearance: textfield; }
input::-webkit-inner-spin-button { opacity: 1; }
.submit-row { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 25px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.submit-row p { margin-bottom: 0; font-size: 11px; color: #839087; }
.primary-button, .secondary-button { min-height: 48px; border-radius: 7px; padding: 12px 20px; font-size: 14px; font-weight: 650; border: 1px solid var(--green); transition: background .15s, transform .15s; }
.primary-button { background: var(--green); color: var(--white); }
.primary-button:hover { background: #245142; }
.button-icon { color: var(--lime); font-size: 20px; line-height: 0; margin-left: 24px; }
.secondary-button { background: var(--white); color: var(--green); border-color: #bfcfc2; }
.secondary-button:hover { background: var(--soft); }
.error-message { border: 1px solid #e5bcbc; background: #fff2f2; color: #95312e; font-size: 13px; padding: 13px 16px; margin-top: 18px; border-radius: 7px; }
.loading { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 22px 0; padding: 18px 22px; background: #e8eedf; border-radius: 9px; color: #385143; font-size: 13px; }
.rule-engine-note { font-size: 10px; color: var(--muted); margin-left: auto; }
.pulse { height: 10px; width: 10px; border-radius: 50%; background: #426750; animation: breathe 1s infinite alternate; }
@keyframes breathe { to { opacity: .2; } }
.results { margin-top: 26px; scroll-margin-top: 24px; }
.results:focus { outline: none; }
.plan-label, .seven-days { font-size: 9px; letter-spacing: .09em; color: #718174; white-space: nowrap; }
.review-banner { background: var(--green); color: var(--white); border-radius: 9px; padding: 20px 23px; display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-top: 22px; }
.review-banner > div + div { border-left: 1px solid #49615a; padding-left: 25px; }
.banner-label { display: block; font-size: 11px; color: #bfd0c4; margin-bottom: 4px; }
.review-banner strong { font-size: 19px; font-weight: 650; }
.problem-review { margin-top: 20px; font-size: 12px; color: var(--muted); }
.problem-review strong { font-size: 13px; font-weight: 600; }
.caveat { color: #6b766e; font-size: 11px; margin: 12px 0 24px; }
.result-card { border-top: 1px solid var(--line); margin-top: 23px; padding-top: 23px; }
.card-head h3 { font-size: 19px; margin: 0; }
.count-badge { font-size: 11px; background: #f1edd7; padding: 2px 8px; border-radius: 4px; color: #77601e; }
.card-description { font-size: 12px; color: var(--muted); margin: 8px 0 16px; line-height: 1.6; }
.gap-item { display: grid; grid-template-columns: 24px 1fr; gap: 8px; padding: 13px 0; border-bottom: 1px solid #eff1ec; }
.gap-item:last-child { border-bottom: none; padding-bottom: 0; }
.gap-check { width: 19px; height: 19px; border: 1px #cbcfbc solid; border-radius: 4px; font-size: 13px; line-height: 18px; text-align: center; color: #a59965; margin-top: 3px; }
.gap-item h4 { font-size: 13px; margin: 0 0 3px; font-weight: 650; }
.gap-item p { margin: 0; font-size: 12px; line-height: 1.65; color: #657168; }
.no-gaps { padding: 14px; background: #eaf1e2; font-size: 13px; border-radius: 6px; }
.plan-item { display: grid; grid-template-columns: 65px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid #edf0e9; }
.plan-item:last-child { border-bottom: none; padding-bottom: 0; }
.day { color: #5b7865; font-size: 11px; letter-spacing: .08em; font-weight: 800; padding-top: 4px; }
.plan-item h4 { font-size: 14px; margin: 0 0 5px; font-weight: 650; }
.plan-item p { font-size: 12px; line-height: 1.7; color: #59685d; margin-bottom: 8px; }
.output { font-size: 11px; color: #78877a; margin: 0; }
.output span { color: #43634c; font-size: 9px; padding: 2px 5px; background: #edf2e6; border-radius: 3px; margin-right: 5px; }
.stop-card { padding: 20px 22px; background: #f1f2e8; border: 1px solid #e3e5d1; border-left: 3px solid #9b985e; border-radius: 7px; margin-top: 27px; }
.stop-label { color: #666533; font-weight: 650; font-size: 13px; }
.stop-card p { margin: 10px 0; font-size: 12px; color: #555b48; }
.stop-card small { color: #81846d; font-size: 10px; }
.results-actions { margin-top: 24px; display: flex; justify-content: space-between; gap: 12px; }
.print-button { line-height: 1.6; }
.print-button span { margin-left: 14px; }
.privacy-result { margin: 16px 0 0; color: #849087; font-size: 10px; text-align: center; }
.principles { padding: 62px 0 44px; }
.principles-title { margin-bottom: 22px; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.principle-grid article { border-top: 1px solid #b8c5b8; padding-top: 15px; }
.principle-grid article > span { color: #6c8972; font-size: 11px; font-family: monospace; }
.principle-grid h3 { font-size: 16px; margin: 9px 0; }
.principle-grid p { color: var(--muted); font-size: 12px; margin-bottom: 0; }
.beta-note { border-top: 1px solid var(--line); padding: 26px 0 44px; display: grid; grid-template-columns: 1fr 2.4fr; gap: 35px; }
.beta-note h2 { font-size: 16px; }
.beta-note p { color: var(--muted); font-size: 11px; line-height: 1.8; margin-bottom: 16px; }
.beta-note strong { color: var(--ink); font-weight: 650; }
footer { border-top: 1px solid var(--line); padding-top: 25px; padding-bottom: 30px; display: flex; align-items: center; gap: 24px; font-size: 10px; color: #829087; }
.footer-brand { font-size: 16px; }
.footer-brand .brand-mark { width: 23px; height: 26px; font-size: 13px; }
.footer-beta { margin-left: auto; color: #57735f; font-size: 9px; letter-spacing: .07em; }
.noscript { padding: 30px; background: #f5efc4; margin: 30px; border-radius: 8px; }
@media (min-width: 840px) { main { padding-bottom: 5px; } }
@media (max-width: 700px) {
  .header-inner, main, footer { padding-left: 20px; padding-right: 20px; }
  .header-inner { height: 66px; }
  .brand { font-size: 20px; }
  .beta-pill { font-size: 11px; }
  .intro { padding-top: 39px; padding-bottom: 28px; }
  h1 { font-size: 40px; }
  .intro-copy { font-size: 14px; }
  .desktop-break { display: none; }
  .workspace, .results { padding: 21px 18px; border-radius: 12px; }
  .form-heading { align-items: flex-start; }
  .form-heading > div, .results-heading > div { gap: 8px; }
  h2 { font-size: 18px; }
  .text-button { font-size: 11px; }
  .trust-list { gap: 8px 13px; font-size: 11px; }
  .optional-fields { grid-template-columns: 1fr; }
  .evidence-grid { grid-template-columns: repeat(3, 1fr); gap: 13px 11px; }
  .submit-row { flex-direction: column; align-items: stretch; }
  .submit-row p { text-align: center; margin-bottom: -2px; }
  .primary-button { width: 100%; }
  .result-heading, .results-heading { align-items: flex-start; }
  .plan-label { font-size: 8px; padding-top: 4px; }
  .review-banner { padding: 17px; gap: 17px; }
  .review-banner > div + div { padding-left: 15px; }
  .review-banner strong { font-size: 15px; }
  .banner-label { font-size: 10px; }
  .plan-item { grid-template-columns: 53px 1fr; gap: 10px; }
  .principle-grid { grid-template-columns: 1fr; }
  .principles { padding: 43px 0 32px; }
  .beta-note { grid-template-columns: 1fr; gap: 0; }
  .beta-note h2 { margin-bottom: 17px; }
  footer { flex-wrap: wrap; gap: 14px; }
  footer > span:not(.footer-beta) { flex: 1; }
  .footer-beta { width: 100%; text-align: right; }
  .results-actions { flex-direction: column-reverse; }
  .secondary-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *:before, *:after { animation: none !important; transition: none !important; } }
@media print {
  :root, body { background: white; color: black; }
  .site-header, .intro, .workspace, .loading, .principles, .beta-note, footer, .results-actions, .privacy-result, .plan-label, .noscript { display: none !important; }
  main { max-width: none; padding: 0; }
  .results { border: none; padding: 0; margin: 0; box-shadow: none; }
  .review-banner { background: #eee; color: black; border: 1px solid #bbb; }
  .banner-label, .problem-review { margin-top: 20px; font-size: 12px; color: var(--muted); }
.problem-review strong { font-size: 13px; font-weight: 600; }
.caveat { color: #444; }
  .review-banner > div + div { border-color: #bbb; }
  .plan-item, .gap-item, .stop-card { break-inside: avoid; }
}

.privacy-header { padding-top: 36px; padding-bottom: 25px; }
.privacy-title { margin-top: 30px; font-size: 36px; }
.privacy-first-heading { margin-bottom: 20px; }
.privacy-section-heading { margin: 30px 0 10px; }
.privacy-back-link { margin-top: 25px; }
