@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

:root {
  --ink: #171a18;
  --soft-ink: #505550;
  --paper: #f3f2ed;
  --white: #fffefa;
  --steel: #d7d8d2;
  --orange: #f05a28;
  --orange-dark: #c53e13;
  --green: #274c3b;
  --error: #a82c20;
  --max: 1320px;
}

* { box-sizing: border-box; touch-action: manipulation; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Pretendard, "Noto Sans KR", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}
::selection { background: var(--orange); color: #fff; }

.skip {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-180%);
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
}
.skip:focus { transform: translateY(0); }

.demo-notice {
  background: var(--ink);
  color: #fff;
  padding: 8px 24px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

.site-header {
  width: min(calc(100% - 48px), var(--max));
  height: 82px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--ink);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 850;
  letter-spacing: -0.03em;
}
.mark {
  width: 28px;
  height: 28px;
  background: var(--orange);
  position: relative;
}
.mark::before, .mark::after {
  content: "";
  position: absolute;
  background: var(--ink);
}
.mark::before { width: 16px; height: 3px; left: 6px; top: 12px; }
.mark::after { width: 3px; height: 16px; left: 12px; top: 6px; }
.site-header nav { display: flex; gap: 34px; }
.site-header nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  text-underline-offset: 6px;
}
.site-header nav a:hover { text-decoration: underline; }
.header-action {
  justify-self: end;
  background: var(--orange);
  color: #171a18;
  text-decoration: none;
  font-weight: 850;
  padding: 13px 20px;
  border: 2px solid var(--ink);
}
.header-action:hover { background: #ff7444; }

main { overflow: hidden; }
.hero {
  width: min(calc(100% - 48px), var(--max));
  min-height: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 54px;
  align-items: stretch;
  padding: 62px 0 70px;
}
.hero-copy { align-self: center; }
.context {
  margin: 0 0 24px;
  font-size: 16px;
  font-weight: 800;
  color: var(--orange-dark);
}
h1, h2, h3, p { text-wrap: pretty; }
h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(52px, 4.6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.065em;
  font-weight: 900;
  text-wrap: balance;
}
.hero-lead {
  max-width: 620px;
  margin: 26px 0 34px;
  color: var(--soft-ink);
  font-size: 21px;
  line-height: 1.65;
  letter-spacing: -0.02em;
}

.starter {
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  background: var(--white);
}
.starter label { padding: 16px 16px 14px; border-right: 1px solid var(--steel); }
.starter label span, .form-grid label > span, .file-field > span {
  display: block;
  margin-bottom: 7px;
  color: var(--soft-ink);
  font-size: 14px;
  font-weight: 750;
}
.starter input, .starter select {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-bottom: 1px solid #949990;
  background: transparent;
  color: var(--ink);
  outline: none;
}
.starter input:focus, .starter select:focus { border-bottom: 3px solid var(--orange); }
.starter button {
  grid-column: 1 / -1;
  min-height: 62px;
  border: 0;
  background: var(--orange);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}
.starter button:hover { background: #ff7444; }
.reassurance { margin: 12px 0 0; color: var(--soft-ink); font-size: 15px; }

.hero-media {
  margin: 0;
  position: relative;
  min-height: 640px;
  background: var(--ink);
  overflow: hidden;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.76) contrast(1.06); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 36%, rgba(14, 17, 15, .92)); pointer-events: none; }
.hero-media figcaption {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  color: #fff;
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 20px;
  padding: 26px 30px;
  border-top: 1px solid rgba(255,255,255,.55);
}
.hero-media figcaption > span { color: #ffc9b7; font-size: 14px; font-weight: 800; }
.hero-media ol { margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 5px 20px; list-style-position: inside; font-size: 16px; }

.proof-strip {
  background: var(--ink);
  color: #fff;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
}
.proof-strip p { margin: 0; min-height: 114px; padding: 22px 28px; border-right: 1px solid #4b504c; display: flex; flex-direction: column; justify-content: center; }
.proof-strip p:first-child { border-left: 1px solid #4b504c; }
.proof-strip strong { color: #ff8b62; font-size: 16px; }
.proof-strip span { margin-top: 5px; font-size: 18px; }

.equipment { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 122px 0 110px; }
.section-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: end; margin-bottom: 58px; }
.section-heading h2, .quote-intro h2 {
  margin: 0;
  font-size: clamp(42px, 4.3vw, 66px);
  line-height: 1.08;
  letter-spacing: -0.055em;
  font-weight: 900;
}
.section-heading p { margin: 0 0 7px; color: var(--soft-ink); font-size: 20px; }

.equipment-list { border-top: 3px solid var(--ink); }
.equipment-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr 260px;
  grid-template-rows: 350px;
  min-height: 350px;
  border-bottom: 1px solid var(--ink);
}
.equipment-row.reverse img { order: 2; }
.equipment-row.reverse > div { order: 1; }
.equipment-row.reverse dl { order: 3; }
.equipment-row img { width: 100%; height: 350px; min-height: 350px; object-fit: cover; filter: saturate(.72); }
.equipment-row > div { padding: 42px 38px; }
.row-index { margin: 0 0 34px; color: var(--orange-dark); font-size: 14px; font-weight: 800; }
.equipment-row h3 { margin: 0 0 16px; font-size: 38px; line-height: 1.1; letter-spacing: -0.045em; }
.equipment-row > div > p:not(.row-index) { color: var(--soft-ink); margin: 0 0 24px; }
.text-action { border: 0; border-bottom: 2px solid var(--ink); padding: 0 0 5px; background: transparent; color: var(--ink); font-weight: 850; cursor: pointer; }
.text-action::after { content: " →"; color: var(--orange-dark); }
.equipment-row dl { margin: 0; border-left: 1px solid var(--steel); padding: 42px 30px; display: flex; flex-direction: column; justify-content: end; }
.equipment-row dl div { padding: 18px 0; border-top: 1px solid var(--steel); }
.equipment-row dt { color: var(--soft-ink); font-size: 13px; }
.equipment-row dd { margin: 4px 0 0; font-weight: 850; font-size: 20px; }

.process { background: #dddcd6; padding: 104px max(24px, calc((100vw - var(--max)) / 2)); }
.section-heading.compact { grid-template-columns: 1fr 1fr; margin-bottom: 52px; }
.process-line { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 3px solid var(--ink); }
.process-line li { min-height: 190px; padding: 28px; border-right: 1px solid #a7a9a2; display: flex; gap: 24px; align-items: flex-start; }
.process-line li:first-child { border-left: 1px solid #a7a9a2; }
.process-line li > span { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; background: var(--orange); font-weight: 900; }
.process-line strong { font-size: 25px; }
.process-line p { color: var(--soft-ink); margin: 7px 0 0; }

.quote {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 120px 0 130px;
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 76px;
  align-items: start;
}
.quote-intro { position: sticky; top: 30px; }
.quote-intro > p:not(.context) { color: var(--soft-ink); font-size: 19px; margin: 28px 0; }
.quote-intro ul { margin: 0; padding: 20px 0 0; list-style: none; border-top: 1px solid var(--ink); }
.quote-intro li { padding: 10px 0 10px 24px; position: relative; }
.quote-intro li::before { content: ""; position: absolute; left: 0; top: 21px; width: 9px; height: 9px; background: var(--orange); }

#quote-form { background: var(--white); border-top: 5px solid var(--ink); }
fieldset { border: 0; margin: 0; padding: 36px 38px 42px; border-bottom: 1px solid var(--ink); }
legend { float: left; width: 100%; padding: 0 0 26px; font-size: 28px; font-weight: 900; letter-spacing: -0.03em; }
legend + * { clear: both; }
.choice-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 28px; }
.choice-grid label { position: relative; }
.choice-grid input { position: absolute; opacity: 0; }
.choice-grid span { display: grid; min-height: 52px; place-items: center; border: 1px solid #91968e; border-right: 0; cursor: pointer; font-weight: 750; }
.choice-grid label:last-child span { border-right: 1px solid #91968e; }
.choice-grid input:checked + span { background: var(--ink); color: #fff; }
.choice-grid input:focus-visible + span { outline: 4px solid rgba(240,90,40,.35); outline-offset: 2px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 22px; }
.form-grid .wide { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea {
  width: 100%;
  min-height: 54px;
  border: 1px solid #81867e;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  padding: 12px 14px;
  outline: none;
}
.form-grid textarea { resize: vertical; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border: 3px solid var(--orange); padding: 10px 12px; }
.form-grid b, .consent b { color: var(--error); font-size: 12px; font-style: normal; margin-left: 4px; }
.form-grid i { color: var(--soft-ink); font-size: 12px; font-style: normal; margin-left: 4px; }
.error { display: block; min-height: 21px; margin-top: 5px; color: var(--error); font-size: 14px; font-weight: 700; }
.invalid { border-color: var(--error) !important; }
.file-field { border: 1px dashed #81867e; padding: 16px; }
.native-file { position: absolute; opacity: 0; width: 1px !important; height: 1px; min-height: 0 !important; padding: 0 !important; }
.file-control { min-height: 56px; border: 1px solid #81867e; display: flex !important; align-items: center; gap: 14px; padding: 8px; cursor: pointer; }
.file-control b { background: var(--ink); color: #fff; padding: 9px 14px; font-size: 15px; margin: 0; }
.file-control em { color: var(--soft-ink); font-size: 15px; font-style: normal; }
.file-field small { color: var(--soft-ink); }
.consent { display: flex; gap: 13px; align-items: flex-start; margin-top: 24px; cursor: pointer; }
.consent input { width: 22px; height: 22px; flex: 0 0 auto; accent-color: var(--orange); }
.consent button { border: 0; border-bottom: 1px solid; background: transparent; padding: 0; cursor: pointer; }
.consent.optional { margin-top: 12px; color: var(--soft-ink); }
.consent-error { margin-left: 35px; }
.submit-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding: 30px 38px; }
.submit-row strong, .submit-row span { display: block; }
.submit-row strong { font-size: 17px; }
.submit-row span { color: var(--soft-ink); font-size: 14px; margin-top: 3px; }
.submit-row button { min-height: 58px; border: 2px solid var(--ink); background: var(--orange); color: var(--ink); padding: 0 25px; font-weight: 900; cursor: pointer; }
.submit-row button:hover { background: #ff7444; }

.success { grid-column: 2; background: var(--green); color: #fff; min-height: 350px; padding: 48px; display: flex; gap: 28px; align-items: flex-start; }
.success[hidden] { display: none; }
.success-mark { width: 58px; height: 58px; background: #fff; color: var(--green); display: grid; place-items: center; font-size: 30px; font-weight: 900; }
.success h3 { margin: 0 0 15px; font-size: 34px; }
.success p { color: #dce9e2; }
.success button { border: 0; background: #fff; color: var(--green); padding: 13px 18px; font-weight: 800; cursor: pointer; }

footer { min-height: 140px; background: var(--ink); color: #fff; padding: 34px max(24px, calc((100vw - var(--max)) / 2)); display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
footer p { margin: 0; }
footer p:last-child { color: #afb5af; font-size: 15px; }

.mobile-bar { display: none; }
dialog { width: min(560px, calc(100% - 32px)); border: 0; border-top: 6px solid var(--orange); padding: 34px; box-shadow: 0 24px 70px rgba(0,0,0,.28); overscroll-behavior: contain; }
[id] { scroll-margin-top: 28px; }
dialog::backdrop { background: rgba(12,14,13,.72); }
dialog h2 { font-size: 30px; margin: 0 0 12px; }
dialog dl { margin: 24px 0 0; }
dialog dl div { display: grid; grid-template-columns: 110px 1fr; border-top: 1px solid var(--steel); padding: 12px 0; }
dialog dt { font-weight: 800; }
dialog dd { margin: 0; color: var(--soft-ink); }
.dialog-close { position: absolute; right: 16px; top: 12px; border: 0; background: transparent; font-size: 32px; cursor: pointer; }
.toast { position: fixed; z-index: 90; left: 50%; bottom: 28px; transform: translate(-50%, 140%); background: var(--ink); color: #fff; padding: 13px 18px; opacity: 0; transition: .22s ease; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 42px; }
  .hero-media { min-height: 520px; }
  .section-heading, .section-heading.compact, .quote { grid-template-columns: 1fr; gap: 34px; }
  .quote-intro { position: static; }
  .equipment-row { grid-template-columns: 1fr 1fr; }
  .equipment-row dl { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--steel); flex-direction: row; gap: 40px; padding: 20px 30px; }
  .equipment-row dl div { flex: 1; }
  .success { grid-column: 1; }
}

@media (max-width: 680px) {
  body { font-size: 17px; padding-bottom: 68px; }
  .demo-notice { text-align: left; padding: 8px 16px; font-size: 12px; }
  .site-header { width: calc(100% - 32px); height: 66px; }
  .wordmark { font-size: 15px; gap: 9px; }
  .mark { width: 23px; height: 23px; }
  .mark::before { width: 13px; left: 5px; top: 10px; }
  .mark::after { height: 13px; left: 10px; top: 5px; }
  .header-action { display: none; }
  .hero { width: 100%; padding: 36px 16px 0; gap: 36px; }
  h1 { font-size: 48px; line-height: 1.07; }
  .hero-lead { font-size: 18px; margin: 22px 0 28px; }
  .starter { grid-template-columns: 1fr; }
  .starter label { border-right: 0; border-bottom: 1px solid var(--steel); }
  .hero-media { min-height: 430px; margin: 0 -16px; }
  .hero-media figcaption { grid-template-columns: 1fr; padding: 20px 16px; }
  .hero-media ol { font-size: 14px; }
  .proof-strip { grid-template-columns: 1fr; padding: 0 16px; }
  .proof-strip p, .proof-strip p:first-child { min-height: auto; padding: 19px 0; border-left: 0; border-right: 0; border-bottom: 1px solid #4b504c; }
  .equipment { width: calc(100% - 32px); padding: 78px 0; }
  .section-heading { margin-bottom: 35px; }
  .section-heading h2, .quote-intro h2 { font-size: 43px; }
  .section-heading p { font-size: 18px; }
  .equipment-row, .equipment-row.reverse { grid-template-columns: 1fr; grid-template-rows: auto; }
  .equipment-row img, .equipment-row.reverse img { order: 1; height: 260px; min-height: 260px; }
  .equipment-row > div, .equipment-row.reverse > div { order: 2; padding: 28px 0 32px; }
  .equipment-row h3 { font-size: 32px; }
  .equipment-row dl, .equipment-row.reverse dl { order: 3; grid-column: auto; padding: 12px 0 24px; }
  .process { padding: 74px 16px; }
  .process-line { grid-template-columns: 1fr; }
  .process-line li, .process-line li:first-child { min-height: 130px; border-left: 0; border-right: 0; border-bottom: 1px solid #a7a9a2; }
  .quote { width: calc(100% - 32px); padding: 78px 0 90px; }
  fieldset { padding: 28px 18px 34px; }
  legend { font-size: 25px; }
  .choice-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .choice-grid span, .choice-grid label:last-child span { border: 1px solid #91968e; }
  .form-grid { grid-template-columns: 1fr; gap: 18px; }
  .form-grid .wide { grid-column: auto; }
  .form-grid input, .form-grid select { min-height: 56px; }
  .submit-row { grid-template-columns: 1fr; padding: 24px 18px; }
  .submit-row button { width: 100%; min-height: 60px; }
  .success { padding: 30px 20px; min-height: 300px; }
  footer { padding: 30px 16px 92px; flex-direction: column; align-items: flex-start; }
  .mobile-bar { position: fixed; z-index: 80; left: 0; right: 0; bottom: 0; height: 68px; display: grid; grid-template-columns: 1fr 1.15fr; background: var(--white); border-top: 1px solid var(--ink); }
  .mobile-bar button, .mobile-bar a { border: 0; display: grid; place-items: center; text-decoration: none; font-weight: 850; }
  .mobile-bar button { background: var(--white); color: var(--ink); }
  .mobile-bar a { background: var(--orange); color: var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
