:root {
  --ink: #17283A;
  --ink-2: #4E6174;
  --ink-3: #6B7C8D;
  --navy: #0B2B45;
  --blue: #1E6FD9;
  --blue-deep: #1558B8;
  --sky: #EEF5FF;
  --sky-2: #F4F8FE;
  --mist: #F7F9FC;
  --line: #E2E8F0;
  --yellow: #FFD25A;
  --mark: #FFE38A;
  --white: #FFFFFF;
  --danger: #C7372F;

  --font: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
}
img { max-width: 100%; display: block; }
h1, h2, h3, p, ul, ol, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }

h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.24; font-weight: 800; letter-spacing: -0.04em; }
h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.35; font-weight: 800; letter-spacing: -0.035em; }
h3 { font-size: 17px; line-height: 1.45; font-weight: 700; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 22px; border-radius: 14px;
  font: 700 16px/1 var(--font); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color .15s, box-shadow .15s, transform .15s;
}
.btn-lg { min-height: 60px; padding: 0 32px; font-size: 18px; border-radius: 16px; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-block { width: 100%; min-height: 58px; font-size: 17px; border-radius: 16px; }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 12px 24px rgba(30,111,217,.3); }
.btn-primary:hover { background: var(--blue-deep); }
.btn-white { background: var(--white); color: var(--ink); box-shadow: 0 4px 14px rgba(23,40,58,.08); }
.btn-white:hover { box-shadow: 0 8px 22px rgba(23,40,58,.14); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #0E1C2B; }
.btn-ghost-light { color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-ghost-light:hover { border-color: var(--white); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(238,245,255,.92); backdrop-filter: blur(10px); }
.header-row { display: flex; align-items: center; height: 72px; }
.brand img { height: 24px; width: auto; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.header-tel { font-weight: 700; font-size: 15px; text-decoration: none; padding: 10px 14px; font-variant-numeric: tabular-nums; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--sky) 0%, #F8FBFF 70%, var(--white) 100%); overflow: hidden; }
.hero-inner { padding-top: 56px; text-align: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); border-radius: 999px; padding: 8px 16px 8px 8px;
  box-shadow: 0 6px 18px rgba(30,111,217,.12);
  font-size: 15px; font-weight: 600; color: #3A4D60;
}
.badge-tag { background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 13px; padding: 5px 10px; border-radius: 999px; }
.hero h1 { margin: 28px auto 0; max-width: 880px; }
.mark { background: linear-gradient(transparent 62%, var(--mark) 62%); padding: 0 6px; }
.lede { margin: 24px auto 0; max-width: 640px; font-size: 19px; line-height: 1.7; color: var(--ink-2); }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-stage {
  position: relative; margin: 64px auto 0; max-width: 1000px;
  background: var(--navy); border-radius: 36px 36px 0 0; padding: 48px 48px 0; overflow: hidden;
}
.hero-stage img { position: relative; width: 100%; max-width: 760px; height: auto; margin: 0 auto; }
.molecule { position: absolute; right: -30px; top: -10px; width: 340px; opacity: .25; transform: scaleX(-1); }
.hero-stage .stage-logo { position: absolute; left: 48px; top: 44px; width: 300px; max-width: none; height: auto; margin: 0; z-index: 1; }

/* Trust */
.trust { padding: 36px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.trust-grid li { text-align: center; padding: 18px; border-radius: 18px; background: var(--mist); }
.trust-grid span { display: block; font-size: 13px; color: var(--ink-3); }
.trust-grid strong { display: block; margin-top: 4px; font-size: 16px; font-weight: 800; }

/* Pains */
.pains { padding: 88px 0 40px; }
.pain-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; text-align: left; }
.pain { border-radius: 28px; padding: 32px; }
.quote { display: block; font-size: 40px; line-height: 1; font-weight: 800; }
.pain h3 { font-size: 20px; line-height: 1.5; }
.pain p { margin-top: 18px; padding-top: 18px; border-top: 1px dashed; font-size: 16px; line-height: 1.6; }
.pain-yellow { background: #FFF8E6; } .pain-yellow .quote { color: #E3A008; } .pain-yellow p { border-color: #EBCB7A; color: #5B5240; }
.pain-blue { background: #EAF3FF; } .pain-blue .quote { color: var(--blue); } .pain-blue p { border-color: #A9C9F2; color: #3E5268; }
.pain-green { background: #EAF7F1; } .pain-green .quote { color: #1F9D6B; } .pain-green p { border-color: #A6D9C3; color: #3B5A4D; }

/* Products */
.products { padding: 48px 0 96px; }
.products-stack { display: flex; flex-direction: column; gap: 28px; }
.product { border-radius: 36px; padding: 56px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.product-note { background: var(--sky-2); }
.product-station { background: var(--navy); color: var(--white); flex-wrap: wrap-reverse; }
.product-copy { flex: 1 1 380px; min-width: 0; }
.product-logo { height: 42px; width: auto; }
.logo-chip { background: var(--white); border-radius: 12px; padding: 10px 14px; height: 62px; }
.product h2 { margin-top: 26px; font-size: clamp(26px, 2.8vw, 34px); line-height: 1.38; }

.icon-list { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.icon-list li { display: flex; gap: 14px; align-items: flex-start; }
.icon-box { flex: none; width: 36px; height: 36px; border-radius: 12px; background: var(--white); display: grid; place-items: center; }
.icon-box svg { width: 20px; height: 20px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-list p { font-size: 15px; color: #56697C; margin-top: 2px; }

.browser { flex: 1.3 1 460px; min-width: 0; background: var(--white); border-radius: 24px; padding: 14px; box-shadow: 0 24px 60px rgba(30,111,217,.16); }
.browser-dots { display: flex; gap: 6px; padding: 4px 6px 12px; }
.browser-dots span { width: 10px; height: 10px; border-radius: 50%; background: #FF6B6B; }
.browser-dots span:nth-child(2) { background: var(--yellow); }
.browser-dots span:nth-child(3) { background: #4CD08A; }
.browser img { width: 100%; height: auto; border-radius: 12px; }

.kiosk-pair { flex: 1.3 1 460px; min-width: 0; display: flex; gap: 16px; justify-content: center; }
.kiosk-frame { flex: 1 1 0; min-width: 0; max-width: 240px; background: #F2F4F7; border-radius: 26px; padding: 10px; box-shadow: 0 24px 50px rgba(0,0,0,.35); }
.kiosk-frame-low { margin-top: 48px; }
.kiosk-frame img { width: 100%; height: auto; border-radius: 18px; }

.tile-grid { margin-top: 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tile-grid li { background: rgba(255,255,255,.08); border-radius: 18px; padding: 18px; }
.tile-grid h3 { font-size: 16px; }
.tile-grid p { font-size: 14px; color: #B9C8D6; margin-top: 4px; line-height: 1.5; }
.spec-line { margin-top: 18px; font-size: 14px; color: #9FB3C6; }

/* Flow */
.flow { background: var(--mist); padding: 96px 0; }
.flow-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; text-align: left; }
.flow-card { background: var(--white); border-radius: 28px; padding: 28px; box-shadow: 0 10px 30px rgba(23,40,58,.06); }
.flow-head { display: flex; align-items: center; justify-content: space-between; }
.step { font-size: 15px; font-weight: 800; color: var(--blue); }
.step-yellow { color: #B7791F; }
.chip { font-size: 13px; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.chip-note { color: var(--blue); background: #EAF3FF; }
.chip-station { color: #7A5200; background: #FFF1C7; }
.flow-card h3 { margin-top: 14px; font-size: 26px; font-weight: 800; }
.flow-card p { margin-top: 8px; font-size: 16px; line-height: 1.65; color: #56697C; }
.flow-shot { margin-top: 20px; height: 180px; border-radius: 18px; overflow: hidden; background: #EAF3FF; }
.flow-shot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.flow-shot-dark { background: var(--navy); }
.flow-shot-dark img { object-position: center top; }

/* Fit + plans */
.fit { padding: 96px 0; }
.fit-cols { display: flex; flex-wrap: wrap; gap: 48px; }
.fit-cols > div { flex: 1 1 420px; min-width: 0; }
.fit h2 { font-size: clamp(26px, 2.8vw, 36px); }
.check-list { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.check-list li { position: relative; background: var(--mist); border-radius: 20px; padding: 20px 22px 20px 62px; }
.check-list li::before {
  content: ""; position: absolute; left: 24px; top: 50%; width: 18px; height: 10px; margin-top: -8px;
  border: solid var(--blue); border-width: 0 0 2.6px 2.6px; transform: rotate(-45deg);
}
.check-list p { font-size: 15px; color: #56697C; margin-top: 2px; }
.plan-list { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.plan { display: block; text-decoration: none; border: 1.5px solid var(--line); border-radius: 24px; padding: 24px 28px; transition: border-color .15s, background-color .15s; }
.plan:hover { border-color: var(--blue); }
.plan-main { border: 2.5px solid var(--blue); background: var(--sky-2); }
.plan-title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; }
.plan-badge { font-size: 13px; font-weight: 800; background: var(--yellow); padding: 4px 10px; border-radius: 999px; }
.plan-desc { display: block; margin-top: 6px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.plans-note { margin-top: 4px; font-size: 14px; color: var(--ink-3); }

/* Contact */
.contact { padding: 0 0 96px; }
.contact-card {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%); color: var(--white);
  border-radius: 40px; padding: 64px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center;
}
.contact-copy { flex: 1 1 380px; min-width: 0; }
.contact-copy p { margin-top: 18px; font-size: 18px; line-height: 1.7; color: #DCE9FB; }
.contact-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.contact-actions .btn-white { color: var(--blue-deep); font-size: 18px; font-weight: 800; min-height: 56px; }
.contact-actions .btn-ghost-light { min-height: 56px; }

.lead-form {
  flex: 1 1 440px; min-width: 0; background: var(--white); color: var(--ink);
  border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 24px 50px rgba(9,40,90,.3);
}
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-row { display: flex; flex-wrap: wrap; gap: 12px; }
.field-row .field { flex: 1 1 180px; }
.field label { font-size: 14px; font-weight: 600; }
label em { font-style: normal; font-weight: 600; font-size: 12px; color: var(--blue); margin-left: 4px; }
input[type=text], input[type=tel], input[type=email], select, textarea {
  width: 100%; min-height: 50px; padding: 13px 16px;
  font: 400 16px/1.5 var(--font); color: var(--ink);
  background: #F4F7FB; border: 1.5px solid transparent; border-radius: 14px;
}
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234E6174' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 40px; }
textarea { resize: vertical; min-height: 96px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); background-color: var(--white); }
.field.invalid input { border-color: var(--danger); background-color: #FFF5F4; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent { font-size: 14px; }
.check { display: flex; gap: 10px; align-items: center; cursor: pointer; font-weight: 500; }
.check input { width: 20px; height: 20px; accent-color: var(--blue); flex: none; }
.check em { font-style: normal; font-weight: 600; font-size: 12px; color: var(--blue); margin-left: 2px; }
.consent.invalid .check { color: var(--danger); }
.consent details { margin-top: 6px; padding-left: 30px; color: var(--ink-2); font-size: 13.5px; }
.consent summary { cursor: pointer; color: var(--ink-3); }
.consent dl { display: grid; grid-template-columns: 72px 1fr; gap: 4px 10px; margin: 10px 0 8px; }
.consent dt { color: var(--ink-3); }
.consent dd { margin: 0; }

.form-status { min-height: 1.4em; font-size: 15px; }
.form-status.error { color: var(--danger); }
.form-status.ok { color: var(--blue-deep); font-weight: 700; }
.lead-form.done .field, .lead-form.done .field-row, .lead-form.done .consent, .lead-form.done button { display: none; }
.lead-form.done .form-status { font-size: 19px; padding: 40px 8px; text-align: center; line-height: 1.6; }

/* Footer */
.site-footer { background: var(--mist); color: var(--ink-3); font-size: 14px; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 32px; padding-bottom: 32px; }
.footer-row img { height: 20px; width: auto; }
.footer-info { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.copy { margin-left: auto; }

.mobile-cta { display: none; }

/* Responsive */
@media (max-width: 900px) {
  .product { padding: 40px 28px; gap: 40px; border-radius: 28px; }
  .contact-card { padding: 40px 28px; border-radius: 28px; }
  .hero-stage { padding: 100px 24px 0; border-radius: 28px 28px 0 0; margin-top: 48px; }
  .hero-stage .stage-logo { left: 32px; top: 32px; width: 240px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .header-tel { display: none; }
  .hero-inner { padding-top: 40px; }
  .hero-stage { padding-top: 96px; }
  .hero-stage .stage-logo { left: 22px; top: 26px; width: 200px; }
  .molecule { width: 200px; right: -60px; top: -40px; }
  .hero h1 { font-size: 28px; line-height: 1.32; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .trust-grid li { padding: 14px 10px; }
  .trust-grid strong { font-size: 15px; }
  .badge { font-size: 14px; }
  .lede { font-size: 17px; }
  .hero-actions .btn { width: 100%; }
  .pains { padding-top: 64px; }
  .pain { padding: 26px; }
  .product { padding: 32px 20px; }
  .kiosk-frame { border-radius: 18px; padding: 6px; }
  .kiosk-frame img { border-radius: 12px; }
  .kiosk-frame-low { margin-top: 28px; }
  .flow, .fit { padding: 64px 0; }
  .contact { padding-bottom: 64px; }
  .contact-card { padding: 32px 18px; }
  .lead-form { padding: 22px 18px; }
  .copy { margin-left: 0; }
  .site-footer { padding-bottom: 80px; }
  .mobile-cta {
    display: flex; align-items: center; justify-content: center;
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30;
    min-height: 56px; border-radius: 16px;
    background: var(--blue); color: var(--white); font-weight: 700; text-decoration: none;
    box-shadow: 0 12px 26px -8px rgba(21,88,184,.6);
    transition: transform .2s, opacity .2s;
  }
  .mobile-cta.hidden { transform: translateY(90px); opacity: 0; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
