:root {
  --ink: #050706;
  --text: #101312;
  --muted: #626b66;
  --muted-light: rgba(255, 255, 255, 0.66);
  --line: #e5e7e4;
  --paper: #ffffff;
  --soft: #f6f7f4;
  --accent: #006644;
  --accent-bright: #49c78b;
  --shadow: 0 34px 100px rgba(0, 0, 0, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family:
    ui-serif, Georgia, "Times New Roman", "Noto Serif KR", serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 0 5.8vw;
  color: #fff;
  background: rgba(5, 7, 6, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  font-size: 26px;
  font-weight: 700;
}

.site-header nav {
  display: flex;
  gap: 34px;
  color: rgba(255, 255, 255, 0.76);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.header-cta {
  justify-self: end;
  min-height: 42px;
  border: 1px solid rgba(73, 199, 139, 0.5);
  border-radius: 6px;
  padding: 11px 18px;
  color: var(--accent-bright);
  background: rgba(73, 199, 139, 0.08);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.hero-section {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.9fr);
  gap: clamp(44px, 7vw, 110px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: 70px 5.8vw 62px;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(73, 199, 139, 0.14) 0%, rgba(73, 199, 139, 0) 38%),
    linear-gradient(180deg, #050706 0%, #0d1110 100%);
}

.hero-section::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 70%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 730px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 28px;
  max-width: 720px;
  color: #f8fbf8;
  font-size: clamp(52px, 7.2vw, 104px);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-korean {
  margin-bottom: 28px;
  color: var(--accent-bright);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  font-size: 23px;
  font-weight: 800;
}

.hero-body,
.section-heading p,
.process-list p,
.result-box p {
  color: var(--muted);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  font-size: 17px;
  line-height: 1.75;
}

.hero-body {
  color: var(--muted-light);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 0 24px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}

.primary-action {
  border: 1px solid #004a32;
  color: #fff;
  background: linear-gradient(180deg, #15a872 0%, #006644 100%);
  box-shadow:
    0 18px 38px rgba(0, 102, 68, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.micro-proof {
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.5);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.offer-panel {
  position: relative;
  z-index: 1;
  padding: clamp(28px, 4vw, 56px);
  color: #f8fbf8;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  box-shadow:
    0 34px 120px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px);
}

.panel-label {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.score-line {
  display: flex;
  align-items: end;
  gap: 14px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.score-line strong {
  color: var(--accent-bright);
  font-size: clamp(82px, 9vw, 128px);
  line-height: 0.9;
}

.score-line span {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.56);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 27px;
  font-weight: 800;
}

.panel-rows article {
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.panel-rows span {
  display: block;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.58);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.panel-rows strong {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  font-size: 18px;
  line-height: 1.5;
}

.progress-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 36px;
  border-top: 2px solid rgba(255, 255, 255, 0.18);
}

.progress-rail span {
  position: relative;
  min-height: 16px;
}

.progress-rail span::before {
  position: absolute;
  top: -8px;
  left: 0;
  width: 14px;
  height: 14px;
  content: "";
  background: rgba(255, 255, 255, 0.34);
  border-radius: 50%;
}

.progress-rail .active::before {
  background: var(--accent-bright);
  box-shadow: 0 0 0 7px rgba(73, 199, 139, 0.12);
}

.progress-labels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: rgba(255, 255, 255, 0.58);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: #fff;
  background: #0d1110;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.proof-strip article {
  padding: 34px 5.8vw;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.proof-strip article:last-child {
  border-right: 0;
}

.proof-strip span {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.52);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.proof-strip strong {
  color: #f8fbf8;
  font-size: clamp(23px, 2.4vw, 34px);
  line-height: 1.12;
}

.case-section,
.builder-section,
.process-section,
.sample-section,
.output-section,
.apply-section {
  padding: 96px 5.8vw;
}

.section-heading {
  max-width: 760px;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 70px);
  line-height: 0.98;
  letter-spacing: 0;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 48px;
  background: var(--line);
  border: 1px solid var(--line);
}

.case-grid article {
  display: flex;
  min-height: 340px;
  flex-direction: column;
  padding: 30px;
  background: #fff;
}

.case-grid span,
.output-table span {
  color: var(--accent);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-grid h3 {
  margin: 48px 0 24px;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1;
}

.case-grid p {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

.case-grid .before {
  color: var(--muted);
}

.case-grid .after {
  margin-top: auto;
  padding-top: 22px;
  color: var(--text);
  border-top: 1px solid var(--line);
  font-weight: 800;
}

.builder-section {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(73, 199, 139, 0.1), transparent 42%),
    #050706;
}

.builder-section .section-heading p {
  color: rgba(255, 255, 255, 0.62);
}

.builder-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1px;
  margin-top: 48px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.32);
}

.builder-sidebar,
.builder-main {
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(18px);
}

.builder-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
}

.builder-sidebar div {
  margin-bottom: 24px;
}

.builder-sidebar span,
.builder-topbar span,
.builder-view-head span,
.builder-canvas span {
  display: block;
  color: rgba(255, 255, 255, 0.52);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.builder-sidebar strong {
  display: block;
  margin-top: 8px;
  font-size: 25px;
  line-height: 1.05;
}

.builder-tab {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.66);
  background: transparent;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.builder-tab.active,
.builder-tab:hover {
  color: #fff;
  background: rgba(73, 199, 139, 0.12);
  border-color: rgba(73, 199, 139, 0.28);
}

.builder-main {
  min-height: 570px;
  padding: 28px;
}

.builder-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.builder-topbar strong {
  color: var(--accent-bright);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 24px;
  font-weight: 900;
}

.builder-view {
  display: none;
  padding-top: 34px;
}

.builder-view.active {
  display: block;
}

.builder-view-head {
  max-width: 760px;
}

.builder-view-head h3 {
  margin: 10px 0 0;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 0.98;
}

.builder-canvas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.builder-canvas article {
  min-height: 210px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
}

.builder-canvas strong {
  display: block;
  margin: 20px 0 14px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  font-size: 22px;
  line-height: 1.25;
}

.builder-canvas p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  font-size: 15px;
  line-height: 1.65;
}

.process-list {
  display: grid;
  gap: 1px;
  margin-top: 48px;
  background: var(--line);
  border: 1px solid var(--line);
}

.process-list article {
  display: grid;
  grid-template-columns: 90px 180px 1fr;
  gap: 28px;
  align-items: center;
  padding: 34px;
  background: #fff;
}

.process-list span {
  color: var(--accent);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 900;
}

.process-list h3 {
  margin: 0;
  font-size: 36px;
}

.process-list p {
  margin: 0;
}

.sample-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 60px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(73, 199, 139, 0.12), transparent 38%),
    var(--ink);
}

.sample-section ul {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sample-section li {
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.78);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  font-size: 19px;
  line-height: 1.6;
}

.output-section {
  background: #fff;
}

.output-table {
  margin-top: 44px;
  border-top: 1px solid var(--line);
}

.output-table div {
  display: grid;
  grid-template-columns: 72px minmax(180px, 0.45fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.output-table strong {
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.05;
}

.output-table p {
  margin: 0;
  color: var(--muted);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

.apply-section {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(380px, 1fr);
  gap: 60px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f3f6f1 100%);
}

.diagnosis-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: grid;
  gap: 9px;
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  font-size: 13px;
  font-weight: 900;
}

.wide {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d9ded8;
  border-radius: 7px;
  padding: 15px 15px;
  color: var(--text);
  background: #fff;
  font: inherit;
  font-size: 15px;
}

textarea {
  min-height: 126px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(0, 102, 68, 0.14);
  border-color: var(--accent);
}

.result-box {
  grid-column: 2;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.result-box strong {
  display: block;
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.2;
}

.hidden {
  display: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 5.8vw;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
    row-gap: 14px;
    padding: 18px 22px;
  }

  .site-header nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
    gap: 12px;
    overflow-x: auto;
  }

  .hero-section,
  .proof-strip,
  .sample-section,
  .apply-section,
  .diagnosis-form {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
    padding: 56px 22px 44px;
  }

  h1 {
    font-size: clamp(48px, 16vw, 72px);
  }

  .case-section,
  .builder-section,
  .process-section,
  .sample-section,
  .output-section,
  .apply-section {
    padding: 70px 22px;
  }

  .proof-strip article {
    padding: 26px 22px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-list article {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 26px;
  }

  .case-grid,
  .builder-shell,
  .builder-canvas,
  .output-table div {
    grid-template-columns: 1fr;
  }

  .builder-main {
    min-height: auto;
    padding: 22px;
  }

  .builder-sidebar {
    padding: 22px;
  }

  .case-grid article {
    min-height: auto;
  }

  .case-grid h3 {
    margin-top: 32px;
  }

  .wide,
  .result-box {
    grid-column: auto;
  }

  .site-footer {
    flex-direction: column;
    padding: 28px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
