:root {
  --hb-red: #c83b32;
  --hb-red-dark: #9f2e28;
  --hb-ink: #171716;
  --hb-white: #ffffff;
  --hb-paper: #f6f5f1;
  --hb-line: #d9d9d3;
  --hb-muted: #666660;
  --hb-container: 1200px;
  --hb-shadow: 0 16px 42px rgba(20, 20, 18, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--hb-ink);
  background: var(--hb-white);
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  cursor: pointer;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--hb-white);
  background: var(--hb-ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--hb-container), calc(100% - 64px));
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 50;
  height: 72px;
  background: var(--hb-white);
  border-bottom: 1px solid rgba(30, 30, 28, 0.1);
}

.site-header.is-overlay {
  position: absolute;
  inset: 0 0 auto;
  color: var(--hb-white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
}

.header-inner {
  width: min(1320px, calc(100% - 64px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  flex: 0 0 auto;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.brand-accent {
  color: var(--hb-red);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  font-size: 14px;
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button,
.icon-wrap {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.icon-button {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
}

.icon-button > svg,
.icon-wrap > svg {
  display: block;
  width: 20px;
  height: 20px;
  margin: 0;
}

.menu-button {
  display: none;
}

.mobile-menu {
  display: none;
}

.button {
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  text-align: center;
}

.button > svg {
  display: block;
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.button-primary {
  color: var(--hb-white);
  background: var(--hb-red);
}

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

.button-secondary {
  color: var(--hb-ink);
  background: var(--hb-white);
  border-color: var(--hb-ink);
}

.button-ghost {
  color: inherit;
  background: transparent;
  border-color: currentColor;
}

.button:focus-visible,
.icon-button:focus-visible,
.issue-button:focus-visible,
.diagnostic-option:focus-visible,
.faq-trigger:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.upload-card:focus-within {
  outline: 3px solid #f1a29d;
  outline-offset: 3px;
}

.hero-photo {
  position: relative;
  isolation: isolate;
  min-height: 680px;
  display: flex;
  align-items: center;
  color: var(--hb-white);
  background-position: center;
  background-size: cover;
}

.hero-photo::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(18, 18, 16, 0.58);
}

.hero-eyebrow,
.section-kicker {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 800;
  color: var(--hb-red);
}

.hero-title {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: 58px;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.proof-source {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--hb-muted);
  font-size: 13px;
}

.proof-source > svg {
  width: 15px;
  height: 15px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-title {
  margin-bottom: 16px;
  font-size: 42px;
  line-height: 1.25;
  letter-spacing: 0;
}

.section-lead {
  margin-bottom: 0;
  color: var(--hb-muted);
  font-size: 17px;
}

.demo-label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 8px;
  color: #8c2b25;
  background: #fff1f0;
  border: 1px solid #f2c3bf;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 800;
}

.quote-form {
  position: relative;
}

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

.form-field {
  min-width: 0;
}

.form-field.is-full {
  grid-column: 1 / -1;
}

.field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 800;
}

.field-hint {
  display: block;
  margin-top: 7px;
  color: var(--hb-muted);
  font-size: 12px;
}

.form-control {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  color: var(--hb-ink);
  background: var(--hb-white);
  border: 1px solid #bdbdb6;
  border-radius: 4px;
}

textarea.form-control {
  min-height: 112px;
  resize: vertical;
}

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

.upload-card {
  position: relative;
  min-height: 176px;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--hb-ink);
  background: var(--hb-white);
  border: 1px dashed #9d9d95;
  border-radius: 6px;
  overflow: hidden;
}

.upload-card:hover {
  border-color: var(--hb-red);
}

.upload-card.is-filled {
  border-style: solid;
  border-color: #4e776a;
}

.upload-card.has-error,
.form-field.has-error .form-control {
  border-color: #b42318;
  box-shadow: 0 0 0 1px #b42318;
}

.upload-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload-preview {
  width: 86px;
  height: 86px;
  flex: 0 0 auto;
  display: none;
  object-fit: cover;
  border-radius: 4px;
}

.upload-card.is-filled .upload-preview {
  display: block;
}

.upload-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--hb-red);
  background: #fff1f0;
  border-radius: 50%;
  line-height: 0;
}

.upload-icon > svg {
  display: block;
  width: 22px;
  height: 22px;
  margin: 0;
}

.upload-card.is-filled .upload-icon {
  display: none;
}

.upload-copy {
  min-width: 0;
}

.upload-title {
  display: block;
  margin-bottom: 5px;
  font-weight: 800;
}

.upload-description,
.upload-file-name {
  display: block;
  color: var(--hb-muted);
  font-size: 13px;
}

.upload-file-name {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--hb-ink);
  background: var(--hb-white);
  border: 1px solid var(--hb-line);
  border-radius: 50%;
  line-height: 0;
}

.upload-card.is-filled .upload-remove {
  display: inline-flex;
}

.upload-remove > svg {
  width: 16px;
  height: 16px;
}

.privacy-row {
  margin-top: 24px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
}

.privacy-row input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  flex: 0 0 auto;
  accent-color: var(--hb-red);
}

.privacy-detail-button {
  padding: 0;
  color: var(--hb-muted);
  background: transparent;
  border: 0;
  text-decoration: underline;
}

.privacy-detail {
  display: none;
  margin: 12px 0 0 30px;
  padding: 14px;
  color: var(--hb-muted);
  background: rgba(120, 120, 112, 0.08);
  border-left: 3px solid var(--hb-red);
  font-size: 13px;
}

.privacy-detail.is-open {
  display: block;
}

.form-submit-row {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.submit-button[disabled] {
  cursor: not-allowed;
  opacity: 0.5;
}

.form-status {
  min-height: 24px;
  margin-top: 16px;
  padding: 0;
  font-size: 14px;
  font-weight: 700;
}

.form-status.is-error {
  color: #b42318;
}

.form-status.is-success {
  padding: 16px;
  color: #185c45;
  background: #eaf6f1;
  border: 1px solid #a7d9c7;
}

.faq-list {
  border-top: 1px solid var(--hb-line);
}

.faq-item {
  border-bottom: 1px solid var(--hb-line);
}

.faq-trigger {
  width: 100%;
  min-height: 74px;
  padding: 18px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--hb-ink);
  background: transparent;
  border: 0;
  text-align: left;
  font-weight: 800;
}

.faq-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.faq-icon > svg {
  width: 19px;
  height: 19px;
  transition: transform 180ms ease;
}

.faq-trigger[aria-expanded="true"] .faq-icon > svg {
  transform: rotate(45deg);
}

.faq-panel {
  display: none;
  max-width: 800px;
  padding: 0 4px 22px;
  color: var(--hb-muted);
}

.faq-panel.is-open {
  display: block;
}

.site-footer {
  padding: 54px 0;
  color: #efefeb;
  background: var(--hb-ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
}

.footer-brand {
  margin-bottom: 18px;
  font-size: 24px;
  font-weight: 800;
}

.footer-copy,
.footer-meta {
  color: #bdbdb6;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.demo-notice {
  margin: 0;
  padding: 16px 24px;
  color: #5e5753;
  background: #f2eee9;
  border-top: 1px solid #d8d1ca;
  font-size: 12px;
  text-align: center;
}

.mobile-action-bar {
  display: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .container,
  .header-inner {
    width: min(100% - 40px, var(--hb-container));
  }

  .site-nav,
  .header-actions .button {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .mobile-menu {
    position: fixed;
    z-index: 49;
    inset: 0;
    padding: 104px 24px 32px;
    color: var(--hb-ink);
    background: var(--hb-white);
  }

  .mobile-menu.is-open {
    display: block;
  }

  .mobile-menu a {
    min-height: 58px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--hb-line);
    font-size: 20px;
    font-weight: 800;
  }

  .hero-title {
    font-size: 48px;
  }

  .section-title {
    font-size: 36px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 70px;
    word-break: normal;
  }

  .container,
  .header-inner {
    width: calc(100% - 40px);
  }

  .site-header {
    height: 62px;
  }

  .brand {
    font-size: 20px;
  }

  .hero-photo {
    min-height: 690px;
    padding: 116px 0 90px;
    align-items: flex-end;
  }

  .hero-title {
    font-size: 39px;
    line-height: 1.22;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
    min-height: 52px;
  }

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

  .section-title {
    font-size: 31px;
  }

  .section-lead {
    font-size: 16px;
  }

  .form-grid,
  .upload-grid {
    grid-template-columns: 1fr;
  }

  .form-field.is-full {
    grid-column: auto;
  }

  .upload-card {
    min-height: 150px;
  }

  .form-submit-row {
    display: block;
  }

  .mobile-action-bar {
    position: fixed;
    z-index: 60;
    right: 0;
    bottom: 0;
    left: 0;
    height: 70px;
    padding: 9px 12px;
    display: grid;
    grid-template-columns: 1fr 56px;
    gap: 8px;
    background: var(--hb-white);
    border-top: 1px solid var(--hb-line);
    box-shadow: 0 -6px 24px rgba(20, 20, 18, 0.12);
  }

  .mobile-action-bar .button {
    min-height: 52px;
  }

  .mobile-action-bar .icon-button {
    width: 56px;
    height: 52px;
    color: var(--hb-ink);
  }

  .site-footer {
    padding: 44px 0;
  }

  .demo-notice {
    padding: 14px 20px;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
