:root {
  --ink: #12241f;
  --ink-soft: #3d4b46;
  --muted: #6d7571;
  --paper: #f4efe6;
  --card: #fffdf8;
  --line: #ddd4c6;
  --pine: #1f4f45;
  --sage: #3d7a6a;
  --sage-2: #d5e4dc;
  --copper: #b85c38;
  --copper-2: #8f4326;
  --level1: #1f6f5b;
  --level2: #b7812c;
  --level3: #a33b32;
  --danger: #8f2d28;
  --radius: 14px;
  --shadow: 0 10px 28px rgba(18, 36, 31, .06);
  --font: "Pretendard", "Apple SD Gothic Neo", sans-serif;
  --max: 1040px;
  --section: 64px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.app-page { background: #10211c; }
body.app-page .site-head,
body.app-page .site-foot,
body.app-page .skip { display: none; }
body.app-page main { padding: 0; }
img { max-width: 100%; display: block; }
a { color: var(--pine); }
p { margin: 0; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 20; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

.site-head {
  position: sticky; top: 0; z-index: 30;
  background: rgba(244, 239, 230, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-head__bar {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 60px;
}
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: inherit; }
.brand__mark { flex-shrink: 0; display: block; }
.brand__name { font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.brand__en { font-size: 11px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.brand--foot { margin: 0 0 12px; }
.site-nav { display: flex; align-items: center; gap: 20px; font-size: 14px; }
.site-nav a { color: var(--ink-soft); text-decoration: none; }
.site-nav a.is-active { color: var(--ink); font-weight: 600; }
.nav-cta {
  background: var(--ink); color: var(--paper) !important;
  padding: 7px 14px; border-radius: 999px; font-weight: 600;
}
.nav-toggle { display: none; }

.kicker {
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  color: var(--sage); margin: 0 0 8px;
}
h1, h2, h3 { letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(24px, 2.4vw + 10px, 34px); line-height: 1.4; margin: 0 0 14px; }
h2 { font-size: clamp(20px, 1.4vw + 12px, 24px); line-height: 1.45; margin: 0 0 10px; }
h3 { font-size: 16px; line-height: 1.5; font-weight: 600; margin: 0 0 8px; }
.lede { font-size: 16px; line-height: 1.75; color: var(--ink-soft); max-width: 36rem; }

.hero {
  padding: 40px 0 32px;
  background:
    radial-gradient(640px 280px at 90% 0%, rgba(61,122,106,.12), transparent 64%),
    linear-gradient(180deg, #efe8da 0%, var(--paper) 86%);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(260px, .88fr);
  gap: 48px; align-items: start;
}
.hero-copy { max-width: 34rem; padding-top: 8px; }
.hero-copy .lede { font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 24px; }
.hero-actions .btn-text {
  color: var(--ink-soft); font-size: 14px; font-weight: 600; text-decoration: none;
  padding: 8px 2px;
}
.hero-actions .btn-text:hover { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 16px; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: 14px; border: 1px solid transparent;
}
.btn-primary { background: var(--copper); color: #fff; }
.btn-primary:hover { background: var(--copper-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); }

.hero-panel {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 22px 22px 16px; box-shadow: var(--shadow);
}
.layer-flow { list-style: none; margin: 0; padding: 0; counter-reset: layer; }
.layer-flow li {
  counter-increment: layer;
  display: grid; grid-template-columns: 26px 1fr; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.layer-flow li:last-child { border-bottom: 0; padding-bottom: 0; }
.layer-flow li:first-child { padding-top: 0; }
.layer-flow li::before {
  content: counter(layer);
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--sage-2); color: var(--pine);
  font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.layer-flow strong { display: block; font-size: 14px; line-height: 1.45; margin-bottom: 2px; }
.layer-flow span { color: var(--muted); font-size: 13px; line-height: 1.5; }

.trust-band { padding: 0 0 8px; }
.trust-row {
  list-style: none; margin: 0; padding: 20px 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.trust-row li {
  padding: 0 20px;
  border-right: 1px solid var(--line);
}
.trust-row li:first-child { padding-left: 0; }
.trust-row li:last-child { padding-right: 0; border-right: 0; }
.trust-row strong {
  display: block; font-size: 14px; font-weight: 700; color: var(--pine);
  margin-bottom: 4px; letter-spacing: -.01em;
}
.trust-row span { display: block; font-size: 13px; line-height: 1.5; color: var(--ink-soft); }

.section { padding: var(--section) 0; }
.section.alt { background: #efe8da; }
.section-head { max-width: 36rem; margin-bottom: 28px; }
.section-head .lede { margin-top: 2px; }
.page-hero + .section { padding-top: 28px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 20px 18px;
}
.card p { color: var(--ink-soft); font-size: 15px; line-height: 1.65; }
.card .badge { margin-bottom: 10px; }
.card-link { text-decoration: none; color: inherit; display: block; }
.pain { border-top: 3px solid #c9a27a; }
.fix { border-top: 3px solid var(--sage); }

.feature-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr;
  column-gap: 40px;
}
.feature-grid li {
  display: grid; grid-template-columns: 2rem 1fr; gap: 12px;
  padding: 20px 0;
  border-top: 1px solid #d8cebe;
}
.feature-grid li:nth-child(1),
.feature-grid li:nth-child(2) { border-top: 0; padding-top: 0; }
.feature-grid__n {
  font-size: 13px; font-weight: 700; color: var(--sage);
  letter-spacing: .02em; padding-top: 3px;
}
.feature-grid h3 { margin-bottom: 6px; }
.feature-grid p { color: var(--ink-soft); font-size: 15px; line-height: 1.65; }

.level { position: relative; padding-left: 24px; }
.level::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  border-radius: 3px 0 0 3px;
}
.level-1::before { background: var(--level1); }
.level-2::before { background: var(--level2); }
.level-3::before { background: var(--level3); }

.badge {
  display: inline-block; font-size: 12px; font-weight: 600;
  letter-spacing: .02em; padding: 3px 8px; border-radius: 999px;
  background: var(--sage-2); color: var(--pine);
}
.badge.warn { background: #f3e2c2; color: #7a5412; }
.badge.danger { background: #f3d4d1; color: var(--danger); }

.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th, table.data td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { background: #f7f1e6; font-weight: 600; }

.demo-split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 36px; align-items: center; }
.demo-copy .lede { margin: 0 0 18px; }

.cta-band { background: var(--ink); color: var(--paper); padding: 56px 0; }
.cta-band h2, .cta-band p { color: inherit; }
.cta-band .kicker { color: #c9a27a; }
.cta-band .lede { color: #c5d0cb; margin-bottom: 4px; }
.cta-inner { max-width: 34rem; }

.page-hero { padding: 40px 0 0; }
.page-hero h1 { max-width: 22em; }
.page-hero .lede { max-width: 36rem; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: inherit; text-decoration: none; }

.block { margin-top: 40px; }
.block:first-child { margin-top: 0; }
.block > h2 { margin-bottom: 16px; }
.flow { max-width: 40rem; background: var(--card); padding: 20px 22px; border-radius: 16px; border: 1px solid var(--line); }
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 44rem; }

.form-card { max-width: 640px; }
form label { display: block; margin-bottom: 16px; font-size: 14px; font-weight: 600; }
form label span { display: block; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; font: inherit; font-weight: 400; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 11px 12px;
}
textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 4px 0 16px; }
.flash-ok, .flash-err { padding: 12px 14px; border-radius: 10px; margin-bottom: 16px; }
.flash-ok { background: #e4f0ea; color: #1b4d3e; }
.flash-err { background: #f8e4e1; color: #7a241f; }
.hp { position: absolute; left: -9999px; }

.site-foot { padding: 48px 0 28px; border-top: 1px solid var(--line); background: #ebe4d6; }
.foot-grid { display: grid; grid-template-columns: 1.5fr .75fr .75fr; gap: 32px 40px; }
.foot-lead { color: var(--ink-soft); font-size: 14px; line-height: 1.7; max-width: 28rem; }
.site-foot h2 { font-size: 13px; letter-spacing: .02em; color: var(--muted); margin: 0 0 12px; font-weight: 600; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin: 0 0 8px; font-size: 14px; }
.site-foot a { text-decoration: none; color: var(--ink-soft); }
.foot-legal {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--muted);
}

.desk {
  display: grid; grid-template-rows: auto 1fr auto;
  min-height: 340px; background: #13221e; color: #e8efe9;
  border-radius: 14px; overflow: hidden;
}
.desk-head { padding: 12px 16px; border-bottom: 1px solid #2a3c36; display: flex; justify-content: space-between; font-size: 12px; }
.desk-log { padding: 14px 16px; overflow: auto; display: flex; flex-direction: column; gap: 8px; min-height: 200px; }
.bubble { max-width: 92%; padding: 9px 12px; border-radius: 12px; font-size: 13px; line-height: 1.55; }
.bubble.bot { background: #1d332c; align-self: flex-start; }
.bubble.user { background: #b85c38; align-self: flex-end; }
.bubble.handoff { background: #5a2b27; border: 1px solid #c77; }
.desk-qs { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 14px 14px; }
.desk-qs button {
  background: transparent; color: #d7e4dc; border: 1px solid #3d534b;
  border-radius: 999px; padding: 6px 11px; font: inherit; font-size: 12px; cursor: pointer;
}

.survey-q { margin-bottom: 16px; }
.survey-q fieldset { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: var(--card); }
.survey-q legend { font-weight: 700; padding: 0 6px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.choices label { font-weight: 400; display: flex; gap: 6px; align-items: center; background: #f7f1e6; padding: 8px 10px; border-radius: 999px; margin: 0; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 240px 1fr; background: #10211c; color: #e7eee9; }
.app-side { padding: 24px 16px; border-right: 1px solid #2a3c36; }
.app-side a, .app-side button.nav {
  display: block; width: 100%; text-align: left; background: none; border: 0;
  color: #c5d4cc; text-decoration: none; padding: 10px 12px; border-radius: 10px;
  font: inherit; cursor: pointer;
}
.app-side .nav.is-on, .app-side a.is-on { background: #1c332c; color: #fff; }
.app-main { padding: 28px; }
.app-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.app-preview { font-size: 12px; background: #b85c38; color: #fff; padding: 4px 10px; border-radius: 999px; }
.kpi { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 18px; }
.kpi article { background: #173029; border: 1px solid #2d463e; border-radius: 14px; padding: 16px; }
.kpi b { display: block; font-size: 26px; margin-top: 4px; }
.queue { background: #173029; border: 1px solid #2d463e; border-radius: 14px; overflow: hidden; }
.queue header { padding: 12px 14px; border-bottom: 1px solid #2d463e; display: flex; justify-content: space-between; }
.q-item { padding: 12px 14px; border-bottom: 1px solid #2d463e; display: grid; grid-template-columns: 90px 1fr auto; gap: 12px; align-items: start; }
.q-item:last-child { border-bottom: 0; }
.app-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.app-actions button { border: 0; border-radius: 8px; padding: 7px 10px; cursor: pointer; font: inherit; }
.btn-approve { background: #3d7a6a; color: #fff; }
.btn-edit { background: #c9a27a; color: #12241f; }
.btn-reject { background: #8f2d28; color: #fff; }
.btn-handoff { background: #a33b32; color: #fff; }
.toast {
  position: fixed; right: 18px; bottom: 18px; background: #fff; color: var(--ink);
  padding: 12px 14px; border-radius: 12px; box-shadow: var(--shadow); display: none; z-index: 40;
}
.legal { max-width: 40rem; }
.legal h2 { margin-top: 28px; font-size: 18px; }
.legal p { margin: 0 0 12px; color: var(--ink-soft); }

@media (max-width: 1100px) {
  .hero-grid, .grid-3, .demo-split {
    grid-template-columns: 1fr;
  }
  .hero-grid { gap: 28px; }
  .trust-row { grid-template-columns: 1fr 1fr; row-gap: 16px; padding: 18px 0; }
  .trust-row li {
    border-right: 0;
    padding: 0 20px 0 0;
  }
  .trust-row li:nth-child(odd) { padding-right: 20px; }
  .trust-row li:nth-child(even) { padding-left: 20px; padding-right: 0; border-left: 1px solid var(--line); }
  .trust-row li:first-child { padding-left: 0; }
  .feature-grid li:nth-child(2) { border-top: 1px solid #d8cebe; padding-top: 20px; }
}

@media (max-width: 960px) {
  :root { --section: 48px; }
  .wrap, .site-head__bar { width: min(var(--max), calc(100% - 40px)); }
  .hero { padding: 28px 0 20px; }
  .hero-copy { padding-top: 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .btn-text { align-self: flex-start; }
  .grid-2, .grid-4, .feature-grid, .foot-grid, .kpi, .form-row, .app-shell {
    grid-template-columns: 1fr;
  }
  .feature-grid li:nth-child(1) { border-top: 0; padding-top: 0; }
  .feature-grid li:nth-child(n+2) { border-top: 1px solid #d8cebe; padding-top: 20px; }
  .cta-band { padding: 44px 0; }
  .page-hero { padding: 28px 0 0; }
  .q-item { grid-template-columns: 1fr; }
  .nav-toggle {
    display: inline-flex; background: transparent; border: 1px solid var(--line);
    border-radius: 999px; padding: 7px 12px; font: inherit; font-size: 14px;
  }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 60px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 16px 20px 20px; align-items: flex-start; gap: 14px;
  }
  .site-nav.is-open { display: flex; }
  .site-head { position: relative; }
  .foot-legal { flex-direction: column; }
}

@media (max-width: 640px) {
  .trust-row { grid-template-columns: 1fr; row-gap: 14px; }
  .trust-row li,
  .trust-row li:nth-child(odd),
  .trust-row li:nth-child(even) {
    padding: 0; border-left: 0; border-right: 0;
  }
}

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