:root {
  color-scheme: light;
  --ink: #192343;
  --muted: #4c5875;
  --paper: #f7f8fc;
  --line: #dce0ee;
  --indigo: #3548a4;
  --deep: #141d41;
  --light-accent: #c6cfff;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
  font-size: 100%;
  font-synthesis: none;
  word-break: keep-all;
  overflow-wrap: break-word;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
h1, h2, h3, p, dl, dd { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #6479ef; outline-offset: 4px; }
section[id] { scroll-margin-top: 1rem; }
.shell { width: min(1280px, calc(100% - 72px)); margin-inline: auto; }

.skip {
  position: absolute;
  top: .5rem;
  left: .5rem;
  z-index: 10;
  padding: .8rem;
  background: #fff;
  transform: translateY(-150%);
}
.skip:focus { transform: translateY(0); }

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: inline-flex; align-items: center; padding-block: 3px; }
.brand img { width: auto; height: 40px; }
.site-nav { display: flex; gap: 2rem; align-items: center; }
.site-nav a, .header-cta {
  font-weight: 700;
  font-size: .94rem;
  text-decoration: none;
}
.site-nav a { padding-block: .65rem; }
.site-nav a:hover, .secondary-link:hover { text-decoration: underline; text-underline-offset: .24em; }
.header-cta {
  padding: .66rem 1.05rem;
  color: #2d3e91;
  border: 1px solid #cbd2ee;
  border-radius: .55rem;
  background: #fff;
}
.header-cta:hover { background: #eef1ff; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4.25rem);
  padding: clamp(2.3rem, 4.3vw, 4rem);
  border-radius: 1.75rem;
  background:
    radial-gradient(ellipse at 79% 4%, #3b4c9c 0%, transparent 54%),
    radial-gradient(ellipse at 8% 104%, #2c3980 0%, transparent 53%),
    var(--deep);
  color: #fff;
}
.intro { padding-block: .75rem; }
.hero-label {
  color: #ced7ff;
  font-size: .94rem;
  font-weight: 750;
  margin-bottom: 1rem;
}
h1 {
  font-size: clamp(2.6rem, 4.2vw, 4.25rem);
  line-height: 1.14;
  letter-spacing: -.062em;
  font-weight: 800;
}
h1 em { color: var(--light-accent); font-style: normal; }
.intro-copy {
  margin-top: 1.3rem;
  color: #edf0ff;
  font-size: 1.035rem;
  line-height: 1.7;
  max-width: 23rem;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: .65rem;
  padding: .82rem 1.15rem;
  min-height: 49px;
  text-align: center;
  font-weight: 800;
  line-height: 1.22;
  text-decoration: none;
}
.button-light { color: #1b2961; background: #fff; }
.button-light:hover { background: #e7ebff; }
.intro-cta { margin-top: 1.5rem; }
.button-primary { color: #fff; background: var(--indigo); }
.button-primary:hover { background: #273882; }

.comparison { min-width: 0; }
.comparison-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: .2rem 1rem;
  margin-bottom: .75rem;
}
.comparison-heading h2 { font-size: clamp(1.17rem, 2vw, 1.5rem); letter-spacing: -.035em; }
.comparison-heading a { color: #eef0ff; font-size: .88rem; padding-block: .3rem; text-underline-offset: .25em; }
.model-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.model {
  min-width: 0;
  background: #fff;
  color: var(--ink);
  border-radius: 1.08rem;
  overflow: hidden;
  box-shadow: 0 12px 28px #10193632;
}
.model-visual {
  padding: 1rem 1rem .48rem;
  text-align: center;
  background: radial-gradient(ellipse at 50% 70%, #f8f9ff 0%, transparent 76%), #dbe3ff;
}
.model-091 .model-visual { background: radial-gradient(ellipse at 50% 70%, #fbfcff 0%, transparent 76%), #e5edf6; }
.model-code { color: #465586; font-weight: 750; font-size: .82rem; letter-spacing: .045em; }
.model h3 {
  font-size: clamp(1.37rem, 2.4vw, 2.02rem);
  letter-spacing: -.058em;
  line-height: 1.15;
  margin-top: .22rem;
}
.model-visual img {
  width: 100%;
  height: clamp(125px, 16vw, 210px);
  object-fit: contain;
  object-position: center bottom;
  margin-top: .72rem;
}
.model-091 .model-visual img {
  height: clamp(125px, 16vw, 210px);
  padding-top: clamp(4px, .72vw, 10px);
}
.model-facts { padding: .72rem .97rem 1rem; }
.model-facts > div + div { margin-top: .65rem; padding-top: .62rem; border-top: 1px solid #e6e9f3; }
.model-facts dt { color: #4d5b7d; font-size: .875rem; margin-bottom: .22rem; }
.model-facts dd { font-size: 1.02rem; line-height: 1.4; font-weight: 750; letter-spacing: -.035em; }

.visit { padding: clamp(2.65rem, 5.4vw, 4.75rem) clamp(0px, 2vw, 1.5rem) 0; }
.visit h2, .booking h2 { font-size: clamp(1.56rem, 3.2vw, 2.25rem); letter-spacing: -.06em; line-height: 1.25; }
.lead { margin-top: .7rem; color: var(--muted); line-height: 1.72; max-width: 46rem; }
.guide-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
}
.guide { padding: clamp(1.1rem, 2.7vw, 2rem); }
.guide + .guide { border-left: 1px solid var(--line); }
.guide h3 { font-size: 1.19rem; letter-spacing: -.04em; margin-bottom: .68rem; }
.guide p { color: var(--muted); line-height: 1.65; }
.checklist { padding: 0 0 0 1.2rem; margin: .8rem 0 0; line-height: 1.7; }
.checklist li + li { margin-top: .22rem; }
.checklist li::marker { color: var(--indigo); }
.demo-list { display: grid; gap: .52rem; }
.demo-list > div { display: grid; grid-template-columns: 2.4rem 1fr; gap: .4rem; line-height: 1.55; }
.demo-list dt { font-weight: 750; color: #324495; }
.demo-list dd { color: var(--muted); }
.guide .muted { margin-top: .85rem; font-size: .94rem; }

.booking {
  margin-top: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.25rem, 4vw, 3.25rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  border-radius: 1.15rem;
  background: #e8edff;
}
.booking p { margin-top: .67rem; color: #344368; font-weight: 700; }
.booking address { font-style: normal; color: #3b4867; margin-top: .36rem; line-height: 1.55; }
.booking-phone { display: inline-block; font-weight: 700; margin-top: .34rem; text-underline-offset: .23em; }
.booking-actions { display: grid; justify-items: stretch; text-align: center; gap: .5rem; }
.secondary-link { padding: .55rem .25rem; color: #273b86; font-weight: 700; text-underline-offset: .23em; }
.site-footer { padding: 1.35rem 0 1.8rem; color: var(--muted); font-size: .88rem; }
.mobile-action { display: none; }

@media (max-width: 900px) {
  .shell { width: calc(100% - 40px); }
  .hero { padding: 2rem; gap: 1.35rem; }
  h1 { font-size: clamp(2.3rem, 5.1vw, 3.1rem); }
  .intro-copy { font-size: 1rem; }
  .model-visual { padding-inline: .65rem; }
  .model-facts { padding-inline: .72rem; }
}

@media (max-width: 700px) {
  .shell { width: calc(100% - 28px); }
  .header-inner { min-height: 60px; gap: .75rem; }
  .brand img { height: 31px; }
  .site-nav { gap: .9rem; margin-left: auto; }
  .site-nav a { font-size: .875rem; white-space: nowrap; }
  .header-cta, .intro-cta, .desktop-break { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 1.22rem; border-radius: 1.18rem; padding: 1.25rem; }
  .intro { padding: 0; }
  .hero-label { margin-bottom: .55rem; font-size: .875rem; }
  h1 { font-size: clamp(1.95rem, 7.45vw, 3.2rem); line-height: 1.16; letter-spacing: -.055em; }
  .intro-copy { margin-top: .65rem; line-height: 1.55; max-width: 29rem; }
  .comparison-heading { margin-bottom: .55rem; }
  .model-grid { gap: .58rem; }
  .model { border-radius: .78rem; }
  .model-visual { padding: .68rem .3rem .36rem; }
  .model h3 { font-size: clamp(1.17rem, 4.6vw, 1.6rem); }
  .model-visual img, .model-091 .model-visual img { height: clamp(92px, 27vw, 151px); margin-top: .48rem; }
  .model-091 .model-visual img { padding-top: 5px; }
  .model-facts { padding: .55rem .58rem .7rem; }
  .model-facts > div + div { margin-top: .48rem; padding-top: .43rem; }
  .model-facts dd { font-size: .95rem; }
  .visit { padding: 2.45rem .15rem 0; }
  .guide-grid { grid-template-columns: minmax(0, 1fr); }
  .guide + .guide { border-left: 0; border-top: 1px solid var(--line); }
  .booking { flex-direction: column; align-items: stretch; }
  .site-footer { padding-bottom: calc(5.4rem + env(safe-area-inset-bottom, 0px)); }
  .mobile-action {
    display: block;
    position: fixed;
    z-index: 5;
    inset: auto 0 0;
    padding: .55rem max(14px, env(safe-area-inset-right, 0px)) calc(.55rem + env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px));
    background: #f7f8fc;
    border-top: 1px solid var(--line);
    box-shadow: 0 -3px 14px #1b254814;
  }
  .mobile-action .button { display: flex; }
  html { scroll-padding-bottom: 4.5rem; }
}

@media (max-width: 365px) {
  .hero { padding-inline: .8rem; }
  .model-facts { padding-inline: .42rem; }
  .model-facts dd { font-size: .91rem; }
}


.intake { margin: 32px 0; padding: clamp(18px, 5vw, 32px); border: 1px solid #dce5f1; border-radius: 20px; background: #fff; scroll-margin-top: 85px; }
.intake p { margin: 8px 0; }
.intake form { display: grid; gap: 14px; max-width: 580px; margin: 18px 0; }
.intake form[hidden] { display: none; }
.intake form label { display: grid; gap: 5px; font-weight: 600; }
.intake input:not([type=checkbox]), .intake select, .intake textarea { width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid #8a9bb0; border-radius: 8px; font: inherit; }
.intake label.intake-consent { display: flex; align-items: start; gap: 8px; }
.intake-consent input { margin-top: 5px; }
.intake .button[disabled] { opacity: .6; cursor: wait; }
#consult-status:not(:empty) { padding: 10px; background: #eaf3ff; border-radius: 8px; }
