@import url("https://cdn.jsdelivr.net/gh/sun-typeface/SUIT@2/fonts/variable/woff2/SUIT-Variable.css");

:root {
  --ink: #282d32;
  --muted: #6f757a;
  --line: #dfe2e3;
  --paper: #f5f5f2;
  --red: #ff0042;
  --red-dark: #d60037;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "SUIT Variable", SUIT, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  word-break: keep-all;
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  width: min(1320px, calc(100% - 64px));
  height: 112px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand img {
  width: 248px;
  height: auto;
  display: block;
}

.header-call {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.header-call span {
  color: var(--muted);
  font-size: 13px;
}

.header-call strong {
  font-size: 22px;
  letter-spacing: -.02em;
}

.hero {
  width: min(1320px, calc(100% - 64px));
  min-height: 650px;
  margin: auto;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: 70px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 5.3vw, 78px);
  font-weight: 620;
  line-height: 1.12;
  letter-spacing: -.035em;
}

.hero h1 em {
  color: var(--red);
  font-style: normal;
}

.hero-description {
  max-width: 550px;
  margin: 28px 0 36px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 430;
  line-height: 1.8;
}

.primary-link,
.calculate-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  border: 0;
  background: var(--ink);
  color: #fff;
  padding: 20px 24px;
  font-weight: 750;
  cursor: pointer;
  transition: .2s ease;
}

.primary-link:hover,
.calculate-button:hover {
  background: var(--red);
}

.primary-link {
  position: relative;
  min-width: 350px;
  padding: 17px 18px 17px 22px;
  background: var(--red);
  box-shadow: 0 16px 38px rgba(255, 0, 66, .26);
  overflow: hidden;
}

.primary-link::before {
  position: absolute;
  width: 90px;
  height: 160px;
  top: -45px;
  left: -120px;
  content: "";
  background: rgba(255,255,255,.18);
  transform: rotate(24deg);
  transition: left .45s ease;
}

.primary-link:hover {
  background: var(--red-dark);
  box-shadow: 0 20px 44px rgba(214, 0, 55, .34);
  transform: translateY(-2px);
}

.primary-link:hover::before {
  left: 390px;
}

.cta-copy {
  display: grid;
  gap: 3px;
  text-align: left;
}

.cta-copy small {
  color: rgba(255,255,255,.68);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .08em;
}

.cta-copy strong {
  font-size: 16px;
}

.cta-arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  border-radius: 50%;
  background: white;
  color: var(--red);
  font-size: 19px;
}

.hero-visual {
  position: relative;
  height: 480px;
  overflow: hidden;
  background: #1e2225;
  box-shadow: 0 28px 70px rgba(25, 29, 32, .18);
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 48%, rgba(17, 20, 22, .68) 100%);
  pointer-events: none;
}

.hero-visual > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 55% center;
}

.hero-image-label {
  position: absolute;
  z-index: 1;
  left: 28px;
  bottom: 26px;
  padding-left: 16px;
  border-left: 3px solid var(--red);
  color: white;
}

.hero-image-label span {
  display: block;
  margin-bottom: 7px;
  color: rgba(255,255,255,.66);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .16em;
}

.hero-image-label strong {
  font-size: 17px;
  line-height: 1.45;
}

.quick-links {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto 150px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--line);
}

.quick-links > a,
.quick-links > span {
  min-height: 92px;
  padding: 15px 16px;
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto auto;
  align-content: start;
  row-gap: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: .2s ease;
}

.quick-links > a:hover {
  background: var(--ink);
  color: white;
}

.quick-links span span,
.quick-links a span {
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
}

.quick-links strong {
  font-size: 20px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -.015em;
}

.quick-links b {
  grid-column: 2;
  align-self: start;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.pending-link {
  background: #fafafa;
  color: #8b8f92;
}

.calculator-section {
  padding: 120px max(32px, calc((100vw - 1120px) / 2));
  background:
    radial-gradient(circle at 90% 8%, rgba(255, 0, 66, .055), transparent 24%),
    linear-gradient(180deg, #f7f7f4, #f1f2ef);
}

.section-heading {
  margin-bottom: 42px;
}

.section-heading h2,
.result-heading h2 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 630;
  letter-spacing: -.028em;
}

.section-heading > p:last-child,
.result-heading > p:last-child {
  color: var(--muted);
  line-height: 1.7;
}

form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid rgba(40, 45, 50, .08);
  border-radius: 20px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 24px 70px rgba(39, 44, 48, .08);
}

.form-card {
  padding: 24px;
  background: #f8f8f6;
  border: 1px solid transparent;
  border-radius: 13px;
}

.calculator-section form > .calculate-button {
  grid-column: 1;
}

.step-title {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.step-title > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  border-radius: 50%;
  background: #ffe8ee;
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
}

.step-title h3 {
  margin: 1px 0 6px;
  font-size: 19px;
  font-weight: 620;
  letter-spacing: -.015em;
}

.step-title h3 small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.step-title p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.steel-step-title {
  align-items: flex-start;
}

.steel-title-content {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(190px, .55fr) minmax(360px, 1.45fr);
  gap: 24px;
  align-items: start;
}

.steel-guide {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 12px;
  align-items: center;
  margin: -4px 0 0;
  padding: 11px 14px;
  border-left: 3px solid var(--red);
  border-radius: 0 9px 9px 0;
  background: #fff;
}

.steel-guide strong {
  color: var(--red);
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

.step-title .steel-guide p {
  color: #4f5458;
  line-height: 1.5;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.choice {
  min-height: 68px;
  height: 68px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid #e1e3e1;
  border-radius: 9px;
  background: white;
  cursor: pointer;
  transition: .16s ease;
}

.choice:hover {
  border-color: #b8bbbd;
  box-shadow: 0 5px 16px rgba(39, 44, 48, .05);
}

.choice.selected {
  border: 2px solid var(--red);
  padding: 13px;
  background: #fff4f7;
  box-shadow: 0 6px 18px rgba(255, 0, 66, .07);
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-mark {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 1px solid #aeb2b4;
  border-radius: 50%;
}

.selected .choice-mark {
  border: 5px solid var(--red);
}

.choice strong {
  display: block;
  font-size: 15px;
}

.choice small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.choice.disabled {
  opacity: .48;
  cursor: not-allowed;
}

.choice.disabled.selected {
  opacity: 1;
}

.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.area-grid label > span {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
}

.area-grid label > span b {
  margin-left: 5px;
  color: var(--red);
  font-size: 10px;
}

.number-input {
  height: 56px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}

.number-input:focus-within {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.number-input.invalid {
  border-color: var(--red);
}

.number-input input {
  width: 100%;
  height: 100%;
  padding: 0 18px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.number-input em {
  padding-right: 18px;
  color: var(--muted);
  font-style: normal;
}

.area-grid label > small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
}

.validation-message {
  margin-top: 18px;
  padding: 16px 18px;
  background: #ffeaf0;
  border: 1px solid #ffb3c7;
  border-left: 4px solid var(--red);
  border-radius: 9px;
  color: #b3002e;
  font-size: 13px;
  line-height: 1.6;
}

.validation-message strong {
  display: block;
  margin-bottom: 2px;
  color: #860023;
  font-size: 14px;
}

.validation-message a {
  font-weight: 800;
  text-decoration: underline;
}

.large-site-note {
  margin-top: 16px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 13px;
  background: white;
  border: 1px solid #e7e3e2;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(40, 45, 50, .05);
  color: var(--ink);
  font-size: 12px;
}

.large-site-note > b {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  border-radius: 9px;
  background: var(--ink);
  color: white;
  font-size: 13px;
}

.large-site-note > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.large-site-note strong {
  font-size: 13px;
}

.large-site-note span {
  color: var(--muted);
  font-size: 11px;
}

.large-site-note a {
  margin-left: auto;
  padding: 10px 12px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: #fff0f4;
  color: var(--red-dark);
  font-weight: 800;
}

select {
  width: calc(25% - 6px);
  height: 68px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  color: var(--ink);
}

.calculate-button {
  width: 100%;
  margin-top: 12px;
  padding: 25px 30px;
  border-radius: 12px;
  background: var(--red);
  font-size: 17px;
}

.calculate-button:hover {
  background: var(--red-dark);
}

.calculate-button:disabled {
  background: #aeb1b3;
  cursor: not-allowed;
}

.result {
  margin-top: 70px;
  padding: 60px;
  background: var(--ink);
  color: white;
}

.result-heading .eyebrow {
  color: #ff668e;
}

.result-heading > p:last-child {
  color: #bfc3c6;
}

.price-grid {
  margin: 38px 0 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.price-card {
  padding: 34px;
  background: #353b40;
  border-top: 3px solid #70767a;
}

.price-card.featured {
  background: var(--red);
  border-color: white;
}

.price-card > span {
  display: block;
  min-height: 49px;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.02em;
}

.price-card strong {
  display: block;
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 720;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.04em;
}

.price-card strong small {
  margin-left: 5px;
  font-size: 18px;
}

.price-card p {
  margin: 10px 0 0;
  color: rgba(255,255,255,.6);
  font-size: 12px;
}

.excluded-costs {
  margin: 0 0 14px;
  padding: 17px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 107, 145, .45);
  background: rgba(255, 0, 66, .09);
}

.excluded-costs > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  border-radius: 50%;
  background: var(--red);
  color: white;
  font-size: 13px;
  font-weight: 900;
}

.excluded-costs p {
  margin: 0;
  color: #d8dbdd;
  font-size: 13px;
  line-height: 1.55;
}

.excluded-costs strong {
  display: block;
  color: white;
  font-size: 12px;
}

.result-actions {
  display: flex;
  gap: 10px;
}

.result-actions a,
.result-actions button {
  flex: 1;
  padding: 18px;
  border: 1px solid #5c6266;
  background: transparent;
  color: #fff;
  text-align: center;
  font-weight: 700;
}

.result-actions a:hover {
  background: white;
  color: var(--ink);
}

.result-actions button {
  color: #858a8e;
}

.disclaimer {
  margin: 24px 0 0;
  color: #92979a;
  font-size: 11px;
  line-height: 1.7;
}

.contact-band {
  padding: 100px 32px;
  background: var(--red);
  color: white;
  text-align: center;
}

.contact-band p {
  margin: 0 0 10px;
  opacity: .75;
}

.contact-band h2 {
  margin: 0 0 30px;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -.04em;
}

.contact-band a {
  display: inline-flex;
  gap: 24px;
  align-items: center;
  font-size: 30px;
  font-weight: 900;
}

.contact-band a span {
  font-size: 13px;
}

footer {
  width: min(1320px, calc(100% - 64px));
  min-height: 240px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 30px;
  color: var(--muted);
}

footer img {
  width: 200px;
  height: auto;
  filter: none;
  opacity: 1;
}

footer p {
  margin: 4px 0;
  font-size: 12px;
}

footer div p:first-child {
  color: var(--ink);
  font-weight: 800;
}

footer small {
  font-size: 10px;
}

@media (max-width: 900px) {
  .site-header,
  .hero,
  .quick-links,
  footer {
    width: min(100% - 36px, 700px);
  }

  .site-header { height: 88px; }
  .brand img { width: 190px; }
  .header-call span { display: none; }
  .header-call strong { font-size: 16px; }

  .hero {
    padding: 70px 0;
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .hero-visual { height: 360px; }
  .quick-links { grid-template-columns: 1fr 1fr; margin-bottom: 90px; }
  .calculator-section { padding: 90px 24px; }
  .calculator-section form { grid-template-columns: 1fr; }
  .calculator-section form > * { grid-column: 1; }
  .form-card { padding: 28px; }
  .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  select { width: calc(50% - 4px); }
  .result { padding: 38px; }
  .price-grid { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr 1fr; padding: 50px 0; }
  footer small { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .steel-title-content {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .steel-guide {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .quick-links,
  footer { width: calc(100% - 32px); }
  .hero { padding: 56px 0; }
  .hero h1 { font-size: 44px; }
  .hero-description { font-size: 15px; }
  .primary-link { width: 100%; min-width: 0; }
  .hero-visual { height: 280px; }
  .hero-visual > img { object-position: 60% center; }
  .hero-image-label { left: 18px; bottom: 18px; }
  .quick-links { grid-template-columns: 1fr; }
  .quick-links > a, .quick-links > span { min-height: 74px; }
  .calculator-section { padding: 64px 12px; }
  .calculator-heading { margin-bottom: 30px; }
  .calculator-section form { padding: 7px; gap: 6px; border-radius: 14px; }
  .form-card { padding: 18px 14px; }
  .step-title { gap: 10px; margin-bottom: 14px; }
  .step-title > span {
    width: 25px;
    height: 25px;
    flex-basis: 25px;
  }
  .step-title h3 { margin: 0 0 3px; font-size: 17px; }
  .step-title h3 small,
  .step-title p { font-size: 11px; }
  .steel-guide { padding: 9px 11px; }
  .steel-guide strong { font-size: 11px; }
  .choice-grid,
  .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .choice {
    min-height: 56px;
    height: 56px;
    padding: 9px 10px;
    gap: 9px;
  }
  .choice.selected { padding: 8px 9px; }
  .choice strong { font-size: 13px; line-height: 1.25; }
  .choice small { margin-top: 2px; font-size: 10px; }
  .choice-mark {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }
  .selected .choice-mark { border-width: 4px; }
  .area-grid { gap: 10px; }
  .area-grid label > span { margin-bottom: 7px; font-size: 12px; }
  .number-input { height: 50px; }
  .number-input input { padding: 0 13px; font-size: 18px; }
  .number-input em { padding-right: 13px; font-size: 12px; }
  select { width: 100%; height: 52px; }
  .large-site-note {
    padding: 11px;
    display: grid;
    grid-template-columns: 38px 1fr;
    align-items: center;
    gap: 8px 10px;
  }
  .large-site-note > b {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    font-size: 11px;
  }
  .large-site-note a {
    width: fit-content;
    margin-left: 0;
    padding: 8px 10px;
    grid-column: 2;
    text-align: center;
    font-size: 11px;
  }
  .calculate-button { padding: 18px 20px; font-size: 15px; }
  .result { padding: 32px 18px; margin-top: 45px; }
  .result-actions { flex-direction: column; }
  .contact-band { padding: 75px 20px; }
  footer { grid-template-columns: 1fr; }
  footer small { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
