:root {
  --hw-green: #009a44;
  --hw-green-dark: #006f33;
  --hw-blue: #1456a0;
  --hw-amber: #c48718;
  --hw-ink: #111827;
  --hw-muted: #5f6b7a;
  --hw-line: #d8dee8;
  --hw-bg: #f5f7fa;
  --hw-soft: #edf7f1;
  --hw-white: #ffffff;
  --hw-warn: #fff7df;
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 18px 46px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--hw-bg);
  color: var(--hw-ink);
  font-family: "IBM Plex Sans KR", "Noto Sans KR", sans-serif;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 247, 250, 0.98)),
    repeating-linear-gradient(90deg, rgba(17, 24, 39, 0.035) 0 1px, transparent 1px 80px);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: 68px;
  padding: 14px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid rgba(216, 222, 232, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--hw-green);
  color: var(--hw-white);
  font-weight: 900;
}

.brand-lockup small {
  display: block;
  color: var(--hw-muted);
  font-size: 12px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--hw-muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a,
.nav-links button {
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 9px 11px;
}

.nav-links a:hover,
.nav-links button:hover {
  background: var(--hw-soft);
  color: var(--hw-green-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 34px;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
  padding: 58px clamp(20px, 5vw, 64px) 72px;
}

.hero.compact {
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  margin: 0 0 16px;
  padding: 5px 10px;
  border: 1px solid rgba(0, 154, 68, 0.22);
  border-radius: 999px;
  background: rgba(237, 247, 241, 0.9);
  color: var(--hw-green-dark);
  font-size: 13px;
  font-weight: 800;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-family: "Noto Serif KR", "IBM Plex Sans KR", serif;
  font-size: 52px;
  line-height: 1.12;
  font-weight: 900;
}

.hero p.lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: #324052;
  font-size: 19px;
  line-height: 1.75;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid var(--hw-line);
  border-radius: 8px;
  background: var(--hw-white);
  color: var(--hw-ink);
  font-weight: 850;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn.primary {
  border-color: var(--hw-green);
  background: var(--hw-green);
  color: var(--hw-white);
}

.btn.blue {
  border-color: var(--hw-blue);
  background: var(--hw-blue);
  color: var(--hw-white);
}

.btn.ghost {
  border-color: rgba(17, 24, 39, 0.18);
  background: rgba(255, 255, 255, 0.74);
}

.search-console,
.workflow-console,
.proof-console,
.compare-panel {
  border: 1px solid var(--hw-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--hw-line);
  background: #fbfcfe;
}

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

.console-head span {
  color: var(--hw-muted);
  font-size: 12px;
  font-weight: 700;
}

.search-box {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 10px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label,
.field legend {
  color: #334155;
  font-size: 13px;
  font-weight: 850;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: var(--hw-white);
  color: var(--hw-ink);
  padding: 10px 12px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 34px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 999px;
  background: #f8fafc;
  color: #334155;
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.chip.active,
.chip[aria-pressed="true"] {
  border-color: rgba(0, 154, 68, 0.3);
  background: var(--hw-green);
  color: var(--hw-white);
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0 18px 18px;
}

.mini-stat {
  border: 1px solid var(--hw-line);
  border-radius: 8px;
  background: #fff;
  padding: 13px;
}

.mini-stat strong {
  display: block;
  font-size: 21px;
}

.mini-stat span {
  color: var(--hw-muted);
  font-size: 12px;
  font-weight: 750;
}

.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px clamp(20px, 5vw, 64px);
}

.section.alt {
  max-width: none;
  background: #ffffff;
}

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section-title h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.25;
  font-weight: 900;
}

.section-title p {
  max-width: 560px;
  margin: 0;
  color: var(--hw-muted);
  font-size: 15px;
  line-height: 1.7;
}

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: start;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.product-card,
.proof-card,
.flow-card,
.option-card,
.admin-row,
.concept-card,
.scope-card {
  border: 1px solid var(--hw-line);
  border-radius: 8px;
  background: var(--hw-white);
  box-shadow: var(--shadow-sm);
}

.product-card {
  display: grid;
  min-height: 236px;
  padding: 18px;
}

.product-card[data-hidden="true"] {
  display: none;
}

.product-card h3,
.proof-card h3,
.flow-card h3,
.option-card h3,
.scope-card h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.35;
}

.product-meta,
.muted {
  color: var(--hw-muted);
  font-size: 13px;
  line-height: 1.55;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.tag {
  border-radius: 999px;
  background: #edf2f7;
  color: #334155;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 800;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
}

.price {
  font-size: 20px;
  font-weight: 900;
}

.side-summary {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--hw-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.side-summary dl,
.admin-row dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.side-summary div,
.admin-row div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px dashed #e2e8f0;
  padding-bottom: 8px;
  color: #334155;
  font-size: 14px;
}

.side-summary dd,
.admin-row dd {
  margin: 0;
  color: var(--hw-ink);
  font-weight: 850;
  text-align: right;
}

.proof-grid,
.flow-grid,
.option-grid,
.concept-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.proof-card,
.flow-card,
.option-card,
.scope-card {
  padding: 18px;
}

.proof-card .icon,
.flow-card .icon,
.option-card .icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: var(--hw-soft);
  color: var(--hw-green-dark);
}

.workflow-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 18px;
}

.workflow-console {
  padding: 18px;
}

.step-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-height: 70px;
  border: 1px solid var(--hw-line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.step-list b {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--hw-green);
  color: #fff;
}

.step-list strong {
  display: block;
  margin-bottom: 4px;
}

.ref-frame {
  display: grid;
  gap: 12px;
  border: 1px solid var(--hw-line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.ref-frame img {
  width: 100%;
  height: 300px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  object-fit: cover;
  object-position: top;
}

.ref-frame figcaption {
  color: var(--hw-muted);
  font-size: 12px;
  line-height: 1.5;
}

.application-form {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.upload-box {
  display: grid;
  gap: 8px;
  min-height: 132px;
  border: 1px dashed #94a3b8;
  border-radius: 8px;
  background: #f8fafc;
  padding: 18px;
}

.admin-table {
  display: grid;
  gap: 10px;
}

.admin-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 130px;
  gap: 12px;
  align-items: center;
  padding: 14px;
}

.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 28px;
  border-radius: 999px;
  background: var(--hw-soft);
  color: var(--hw-green-dark);
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 850;
}

.status.warn {
  background: var(--hw-warn);
  color: #8a5a00;
}

.quote-warning {
  border-left: 4px solid var(--hw-amber);
  border-radius: 8px;
  background: #fff9e8;
  color: #5f420a;
  padding: 16px;
  line-height: 1.65;
}

.footer-cta {
  padding: 70px clamp(20px, 5vw, 64px);
  background: #101827;
  color: #fff;
}

.footer-cta .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.footer-cta h2 {
  margin: 0 0 10px;
  font-size: 34px;
}

.footer-cta p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.65;
}

.mobile-sticky {
  display: none;
}

.index-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px clamp(20px, 5vw, 64px);
}

.index-hero h1 {
  margin: 0;
  font-family: "Noto Serif KR", serif;
  font-size: 48px;
  line-height: 1.18;
}

.index-hero p {
  max-width: 760px;
  color: var(--hw-muted);
  font-size: 18px;
  line-height: 1.75;
}

.concept-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.concept-card .preview {
  display: grid;
  place-items: center;
  min-height: 150px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fafc, #edf7f1);
  color: var(--hw-green-dark);
  font-size: 42px;
  font-weight: 900;
}

.concept-card h2 {
  margin: 0;
  font-size: 22px;
}

.concept-card p {
  margin: 0;
  color: var(--hw-muted);
  line-height: 1.65;
}

.fact-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--hw-line);
  border-radius: 8px;
  background: #fff;
}

.fact-table th,
.fact-table td {
  border-bottom: 1px solid var(--hw-line);
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
  line-height: 1.55;
}

.fact-table th {
  background: #f8fafc;
  font-size: 13px;
}

@media (max-width: 1020px) {
  .hero,
  .hero.compact,
  .catalog-layout,
  .workflow-grid,
  .footer-cta .section-inner {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 42px;
  }

  .side-summary {
    position: static;
  }

  .proof-grid,
  .flow-grid,
  .option-grid,
  .concept-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 14px 18px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .hero,
  .index-hero,
  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero h1,
  .index-hero h1 {
    font-size: 34px;
  }

  .hero p.lead {
    font-size: 17px;
  }

  .search-row,
  .quote-grid,
  .product-grid,
  .proof-grid,
  .flow-grid,
  .option-grid,
  .concept-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-title h2,
  .footer-cta h2 {
    font-size: 28px;
  }

  .admin-row {
    grid-template-columns: 1fr;
  }

  .mobile-sticky {
    position: sticky;
    bottom: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px;
    border-top: 1px solid var(--hw-line);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
  }
}
