:root {
  color-scheme: light;
  --ink: #16203b;
  --muted: #65708c;
  --blue: #2864f0;
  --blue-deep: #1649c7;
  --line: rgba(28, 47, 104, 0.12);
  --white: #fff;
  --shadow: 0 22px 64px rgba(25, 46, 104, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #f8f9ff;
  font-family: "Pretendard", "Apple SD Gothic Neo", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { overflow-wrap: break-word; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 48px));
  height: 82px;
  margin: 0 auto;
  color: var(--white);
}
.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: inherit;
  font-size: 19px;
  font-weight: 800;
  text-decoration: none;
}
.brand { min-height: 44px; padding: 8px 0; }
.brand-logo { display: block; width: 124px; height: auto; }

.hero {
  position: relative;
  overflow: hidden;
  background: #142747;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 36px;
  width: min(1180px, calc(100% - 48px));
  min-height: 540px;
  margin: 0 auto;
  padding: 104px 0 56px;
  color: var(--white);
}
.hero-copy { min-width: 0; }
.care-scene { min-width: 0; margin: 0; }
.care-scene img { display: block; width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; border-radius: 24px; }
.care-scene figcaption { margin-top: 10px; color: #c5d3e9; font-size: 12px; text-align: right; }
.eyebrow, .section-kicker {
  margin: 0 0 14px;
  color: #8fafff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
}
.eyebrow { color: #dbe5ff; }
h1 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(44px, 4.6vw, 66px);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1.07;
}
.hero-lead {
  margin: 24px 0 0;
  color: rgba(255,255,255,.88);
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 1.75;
}
.button {
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 14px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--blue); box-shadow: 0 12px 28px rgba(22,73,199,.28); }
.button-primary:hover { background: var(--blue-deep); }
.button-light { color: var(--ink); border: 1px solid var(--line); background: var(--white); }

.summary {
  position: relative;
  padding: 48px max(24px, calc((100% - 1180px) / 2)) calc(120px + env(safe-area-inset-bottom));
  background: radial-gradient(circle at 82% 35%, rgba(110,139,255,.16), transparent 26%), #f8f9ff;
}
.evidence { margin: 0 auto 56px; max-width: 900px; }
.evidence-title { margin: 0 0 18px; color: var(--ink); font-size: 18px; font-weight: 700; text-align: center; }
.metrics {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px 12px 8px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(25,46,104,.06);
}
.metric { min-width: 0; padding: 8px 12px 22px; text-align: center; }
.metric + .metric { border-left: 1px solid var(--line); }
.metric strong { display: block; color: var(--blue-deep); font-size: clamp(28px, 3vw, 42px); font-weight: 800; letter-spacing: -.045em; line-height: 1.05; }
.metric strong small { margin-left: 2px; font-size: .48em; }
.metric span { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; font-weight: 600; }
.metric-source { margin: 10px auto 0; color: #788194; font-size: 12px; line-height: 1.6; text-align: center; }
.metric-source summary { display: inline-block; padding: 3px 8px; cursor: pointer; list-style: none; }
.metric-source summary::-webkit-details-marker { display: none; }
.metric-source summary::after { content: " +"; }
.metric-source[open] summary::after { content: " −"; }
.metric-source p { max-width: 580px; margin: 8px auto 0; text-align: left; }

.summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
  padding: 10px 0 42px;
}
.summary-copy h2 { margin: 0; font-size: clamp(29px, 3vw, 42px); letter-spacing: -.045em; line-height: 1.25; word-break: keep-all; }
.benefit-list { display: grid; gap: 13px; margin-top: 26px; }
.benefit { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.benefit > span { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 11px; color: var(--blue); background: #e6ecff; font-size: 11px; font-weight: 800; }
.benefit h3 { margin: 0; font-size: 16px; letter-spacing: -.02em; }
.benefit p { margin: 4px 0 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.care-stories { margin-top: 24px; padding: 20px; border-left: 3px solid #92aaff; border-radius: 0 18px 18px 0; background: rgba(255,255,255,.8); }
.stories-label { margin: 0 0 14px; color: #4d5977; font-size: 13px; font-weight: 700; }
.story-slides { display: grid; touch-action: pan-y; }
.care-story { grid-area: 1 / 1; margin: 0; padding: 0; visibility: hidden; opacity: 0; transform: translateX(8px); transition: opacity .3s ease, transform .3s ease; }
.care-story.is-active { visibility: visible; opacity: 1; transform: none; }
.care-story p { margin: 0; color: #263554; font-size: 19px; font-weight: 600; line-height: 1.55; word-break: keep-all; }
.care-story cite { display: block; margin-top: 7px; color: #65708c; font-size: 12px; font-style: normal; }
.story-controls { display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin-top: 6px; }
.story-controls[hidden] { display: none; }
.story-controls button { border: 0; background: transparent; color: #65708c; width: 32px; height: 32px; padding: 0; border-radius: 8px; }
.story-controls button:hover { background: #edf1fa; }
.story-arrow { font-size: 19px; }
.story-counter { font-size: 12px; color: #788194; font-variant-numeric: tabular-nums; }
.story-toggle { font-size: 13px; }
.stories-note { margin: 4px 0 0; color: #788194; font-size: 12px; line-height: 1.5; }
@media (prefers-reduced-motion: reduce) { .care-story { transition: none; transform: none; } }

.idea-card { padding: 32px; border: 1px solid rgba(94,121,220,.18); border-radius: 26px; background: linear-gradient(145deg, #fff, #edf1ff); box-shadow: var(--shadow); }
.idea-badge { display: inline-flex; padding: 7px 10px; border-radius: 999px; color: var(--blue-deep); background: #dfe7ff; font-size: 12px; font-weight: 800; }
.idea-card h3 { margin: 18px 0; font-size: clamp(23px, 2.3vw, 31px); letter-spacing: -.04em; line-height: 1.3; }
.idea-card ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.idea-card .idea-intro { margin: 0 0 14px; color: #4d5977; font-size: 16px; line-height: 1.55; }
.idea-card li { position: relative; padding-left: 20px; color: #4d5977; font-size: 16px; line-height: 1.55; }
.idea-card li::before { position: absolute; top: .55em; left: 0; width: 7px; height: 7px; border-radius: 50%; background: #7793f4; content: ""; }
.privacy-note { margin: 18px 0 0; padding-top: 15px; border-top: 1px solid var(--line); color: #65708c; font-size: 12px; line-height: 1.55; }

footer { display: flex; justify-content: space-between; gap: 20px; padding: 20px 3px 0; color: #65708c; font-size: 12px; line-height: 1.5; }
footer p { margin: 0; }
.floating-cta { position: fixed; z-index: 20; right: 0; bottom: 0; left: 0; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255,255,255,.97); box-shadow: 0 -6px 28px rgba(22,32,59,.08); backdrop-filter: blur(14px); }
.floating-cta-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: min(100%, 560px); margin: 0 auto; }
.floating-cta .button { min-height: 52px; font-size: 16px; padding: 0 14px; }
:focus-visible { outline: 3px solid #7793f4; outline-offset: 3px; }

dialog { width: min(520px, calc(100% - 30px)); max-height: calc(100svh - 30px); padding: 0; overflow: auto; border: 0; border-radius: 24px; background: transparent; box-shadow: 0 28px 90px rgba(14,27,61,.35); }
dialog::backdrop { background: rgba(11,20,44,.7); backdrop-filter: blur(5px); }
.dialog-card { position: relative; padding: 34px; background: var(--white); }
[hidden] { display: none !important; }
.choice-note { padding: 14px 16px; border-radius: 12px; background: #eef3ff; color: #344a7c; font-size: 14px; line-height: 1.6; }
.button-full.secondary-choice { margin-top: 10px; }
#accept-dialog, #decline-dialog { margin: auto auto 0; border-radius: 24px 24px 0 0; }
.sheet-back { display: block; min-height: 44px; margin: -12px 0 12px -8px; padding: 0 8px; border: 0; background: transparent; color: #53627c; font-size: 14px; }
.activity-caption { margin: 14px 0 0; color: #65708c; font-size: 13px; line-height: 1.6; }
.dialog-card h2 { margin: 0; font-size: 30px; letter-spacing: -.04em; line-height: 1.25; }
.dialog-close { position: absolute; top: 16px; right: 17px; width: 36px; height: 36px; border: 0; border-radius: 50%; color: #606b84; background: #f1f3f8; font-size: 25px; line-height: 1; }
.dialog-intro { margin: 13px 0 23px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.dialog-card > label, fieldset { display: block; margin: 14px 0 0; color: #36425f; font-size: 13px; font-weight: 700; }
input[type="text"], input[type="tel"], input:not([type]), textarea { width: 100%; margin-top: 8px; padding: 13px 14px; border: 1px solid #d8deec; border-radius: 11px; outline: none; resize: vertical; }
input:focus, textarea:focus { border-color: #7793f4; box-shadow: 0 0 0 3px rgba(40,100,240,.11); }
#care-phone { font-size: 16px; }
#phone-form > label { font-size: 14px; }
.field-error { margin: 8px 0 0; color: #b42318; font-size: 14px; }
html:not([lang="ko"]) .button { white-space: normal; height: auto; padding: 12px 14px; line-height: 1.4; overflow-wrap: anywhere; }
html:not([lang="ko"]) h1 { font-size: clamp(36px, 4.1vw, 58px); line-height: 1.18; }
html:not([lang="ko"]) .section-kicker { letter-spacing: .02em; }
html:not([lang="ko"]) .metric span { font-size: 12px; }
.check-row, .radio-row { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 500 !important; line-height: 1.55; }
.check-row input, .radio-row input { flex: 0 0 auto; margin-top: 4px; accent-color: var(--blue); }
fieldset { padding: 0; border: 0; }
legend { margin-bottom: 9px; }
.radio-row { margin: 0 !important; padding: 9px 0; border-bottom: 1px solid #edf0f5; }
.optional { color: #949db0; font-size: 11px; font-weight: 500; }
.button-full { width: 100%; margin-top: 22px; }
#activity-choice { padding: 26px 20px calc(20px + env(safe-area-inset-bottom)); }
#activity-choice .sheet-back { margin-bottom: 6px; }
#activity-choice h2 { padding-right: 0; }
#activity-choice .dialog-intro { margin: 10px 0 12px; }
#activity-choice .choice-note { margin: 12px 0; padding: 10px 12px; }
#activity-choice .activity-caption { margin-top: 10px; }
#activity-choice .button-full { margin-top: 16px; }
#activity-choice .secondary-choice { margin-top: 10px; }
.prototype-note { margin: 11px 0 0; color: #788194; font-size: 12px; text-align: center; }
.success-card { text-align: center; }
.success-card p { margin: 12px 0 24px; color: var(--muted); }
#decline-success p { white-space: pre-line; word-break: keep-all; line-height: 1.65; }
.success-mark { display: grid; width: 58px; height: 58px; margin: 0 auto 18px; place-items: center; border-radius: 50%; color: var(--white); background: var(--blue); font-size: 25px; }

.reveal { opacity: 1; transform: none; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 800px) {
  .site-header, .hero-content { width: calc(100% - 36px); }
  .site-header { height: 60px; }
  .brand { padding: 8px 0; }
  .brand-logo { width: 108px; height: auto; }

  .hero-content { grid-template-columns: 1fr; gap: 24px; min-height: 0; padding: 78px 0 28px; }
  .care-scene img { aspect-ratio: 2 / 1; height: auto; border-radius: 18px; object-position: center; }
  .eyebrow { margin-bottom: 10px; font-size: 12px; }
  h1 { font-size: clamp(38px, 11vw, 52px); line-height: 1.08; }
  .hero-lead { margin-top: 16px; font-size: 16px; line-height: 1.6; }

  .summary { padding: 28px 16px calc(100px + env(safe-area-inset-bottom)); }
  .evidence { margin-bottom: 36px; }
  .evidence-title { margin-bottom: 16px; font-size: 16px; }
  .metrics { border-radius: 18px; padding: 20px 8px 4px; }
  .metric { padding: 4px 4px 18px; }
  .metric strong { font-size: clamp(21px, 6.8vw, 32px); }
  .metric span { margin-top: 6px; font-size: 12px; }
  .metric-source { margin-top: 8px; font-size: 12px; }

  .summary-grid { grid-template-columns: 1fr; gap: 18px; padding: 0 0 18px; }
  .section-kicker { margin-bottom: 8px; font-size: 12px; }
  .summary-copy h2 { font-size: clamp(25px, 6.8vw, 34px); line-height: 1.28; }
  .benefit-list { gap: 10px; margin-top: 20px; }
  .benefit { grid-template-columns: 34px 1fr; gap: 11px; }
  .benefit > span { width: 32px; height: 32px; border-radius: 10px; }
  .benefit h3 { font-size: 15px; }
  .benefit p { margin-top: 4px; font-size: 16px; line-height: 1.45; }
  .care-stories { margin-top: 20px; padding: 16px 12px; }
  .care-story p { font-size: 17px; line-height: 1.55; }
  .story-controls { flex-wrap: wrap; }
  .care-story cite { margin-top: 5px; font-size: 12px; }

  .idea-card { padding: 21px 19px; border-radius: 21px; }
  .idea-card h3 { margin: 13px 0; font-size: 23px; line-height: 1.28; }
  .idea-card ul { gap: 7px; }
  .idea-card li { padding-left: 18px; font-size: 16px; line-height: 1.48; }
  .privacy-note { margin-top: 13px; padding-top: 12px; font-size: 12px; }

  footer { flex-direction: column; gap: 5px; padding-top: 14px; font-size: 12px; line-height: 1.45; }

  .floating-cta { padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
  .floating-cta-inner { gap: 8px; }
  .floating-cta .button { min-height: 50px; border-radius: 13px; font-size: 15px; padding: 0 8px; }

  dialog {
    width: 100%;
    max-width: none;
    max-height: 92svh;
    margin: auto 0 0;
    border-radius: 24px 24px 0 0;
  }
  .dialog-card { padding: 30px 20px calc(24px + env(safe-area-inset-bottom)); }
  .dialog-card h2 { padding-right: 30px; font-size: 27px; }
  .dialog-intro { margin-bottom: 18px; font-size: 14px; }
  .dialog-card > label, fieldset { font-size: 14px; }
  input[type="text"], input[type="tel"], input:not([type]), textarea { min-height: 48px; font-size: 16px; }
  .radio-row { min-height: 44px; align-items: center; }
}

@media (max-width: 540px) {
  .desktop-only { display: none; }
}

/* Fit the Korean headline to its actual column, without a global 34px cap. */
html[lang="ko"] .hero-copy { container-type: inline-size; }
html[lang="ko"] #hero-title { font-size: clamp(1.5rem, 11cqi, 4.125rem); line-height: 1.2; }
.hero-one-line { white-space: nowrap; }
