:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-strong: #eef4fb;
  --navy: #0f2746;
  --navy-2: #17385f;
  --text: #172033;
  --muted: #64748b;
  --line: #d8e1ed;
  --accent: #1f7ae0;
  --accent-dark: #155db0;
  --safe: #0f9f75;
  --warn: #b7791f;
  --danger: #d14343;
  --shadow: 0 20px 50px rgba(15, 39, 70, .10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.landing-page {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
  color: var(--navy);
}

.brand img {
  width: 34px;
  height: 34px;
}

.site-nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.site-nav a {
  transition: color .18s ease, transform .18s ease, background-color .18s ease;
}

.site-nav a:hover {
  color: var(--navy);
  transform: translateY(-1px);
}

.nav-signup,
.nav-login,
.button {
  border-radius: 8px;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.nav-signup {
  padding: 9px 14px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 10px 22px rgba(31, 122, 224, .18);
}

.nav-login {
  padding: 9px 14px;
  color: var(--navy);
  border: 1px solid var(--line);
  background: #fff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(60px, 8vw, 100px) clamp(20px, 6vw, 92px) clamp(34px, 5vw, 64px);
  background:
    radial-gradient(800px 360px at 8% 12%, rgba(31, 122, 224, .12), transparent 62%),
    linear-gradient(135deg, #ffffff 0%, #f2f7fd 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1,
.verification-card h1 {
  max-width: 760px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.06;
}

.description,
.verification-lead {
  max-width: 680px;
  margin: 22px 0 0;
  color: #405169;
  font-size: 19px;
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  font-weight: 900;
  border: 1px solid transparent;
}

.button.primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 14px 28px rgba(31, 122, 224, .22);
}

.button.primary:hover,
.nav-signup:hover {
  color: #fff;
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.button.secondary {
  color: var(--navy);
  background: #fff;
  border-color: var(--line);
}

.button.secondary:hover,
.nav-login:hover {
  border-color: rgba(31, 122, 224, .35);
  transform: translateY(-2px);
}

.hero-note {
  display: grid;
  gap: 6px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.quote-preview,
.card,
.feature-card,
.price-card,
.trust-box,
.verification-card,
.notice {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.quote-preview {
  padding: 22px;
  animation: float-panel 7s ease-in-out infinite;
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.preview-header strong {
  display: block;
  color: var(--navy);
  font-size: 23px;
  font-weight: 900;
}

.preview-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 8px 10px;
  color: var(--safe);
  font-size: 12px;
  font-weight: 900;
  border: 1px solid rgba(15, 159, 117, .24);
  border-radius: 999px;
  background: rgba(15, 159, 117, .08);
  animation: pulse-badge 2.8s ease-in-out infinite;
}

.status-pill.waiting {
  color: var(--warn);
  border-color: rgba(183, 121, 31, .28);
  background: rgba(183, 121, 31, .09);
}

.status-pill.error {
  color: var(--danger);
  border-color: rgba(209, 67, 67, .26);
  background: rgba(209, 67, 67, .08);
}

.quote-message {
  margin: 16px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.quote-list {
  display: grid;
  gap: 12px;
}

.quote-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 96px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.quote-card:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 122, 224, .26);
  box-shadow: 0 18px 36px rgba(15, 39, 70, .10);
}

.quote-card.empty {
  grid-template-columns: 1fr;
  background: #f8fbff;
}

.quote-name,
.quote-meta {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.quote-card strong {
  display: block;
  margin-top: 6px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.3;
}

.quote-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.quote-price {
  text-align: right;
}

.quote-price strong {
  margin: 0;
  font-size: 22px;
}

.quote-change {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.quote-change.up {
  color: #d14343;
}

.quote-change.down {
  color: #1f62c8;
}

.quote-footnote {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 22px clamp(20px, 6vw, 92px);
  background: var(--navy);
}

.trust-strip div {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: #fff;
  font-size: 17px;
}

.trust-strip span {
  margin-top: 6px;
  color: rgba(226, 238, 252, .76);
  font-size: 13px;
  line-height: 1.5;
}

.section {
  padding: clamp(48px, 7vw, 88px) clamp(20px, 6vw, 92px);
}

.section-heading {
  max-width: 800px;
  margin-bottom: 26px;
}

.section-heading h2,
.notice h2,
.trust-box h3,
.trust-box h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
}

.section-heading p:not(.eyebrow),
.card p,
.feature-card p,
.price-card p,
.trust-box p,
.notice p {
  color: #52637a;
  line-height: 1.65;
}

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

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

.card,
.feature-card,
.price-card {
  min-height: 210px;
  padding: 24px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.card:hover,
.feature-card:hover,
.price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 122, 224, .28);
  box-shadow: 0 24px 56px rgba(15, 39, 70, .13);
}

.number {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--accent);
  font-weight: 900;
}

.card h3,
.feature-card h3,
.price-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.35;
}

.feature-card span,
.plan-badge {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 9px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  border-radius: 999px;
  background: rgba(31, 122, 224, .08);
}

.flow-section {
  background: #eef4fb;
}

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

.flow-grid div {
  min-height: 130px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.flow-grid strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #fff;
  border-radius: 999px;
  background: var(--navy);
}

.flow-grid span {
  display: block;
  margin-top: 18px;
  color: var(--navy);
  font-weight: 900;
  line-height: 1.45;
}

.pricing-section {
  background: #fbfdff;
}

.price-card strong {
  display: block;
  margin: 14px 0;
  color: var(--navy);
  font-size: 30px;
}

.price-card.featured {
  border-color: rgba(31, 122, 224, .35);
  box-shadow: 0 26px 62px rgba(31, 122, 224, .16);
}

.price-card .button {
  margin-top: 10px;
}

.company-section {
  background: #eef4fb;
}

.company-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
}

.info-table {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.info-table div {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.info-table div:last-child {
  border-bottom: 0;
}

.info-table dt,
.info-table dd {
  margin: 0;
  padding: 15px 18px;
}

.info-table dt {
  color: var(--navy);
  font-weight: 800;
  background: #f6f9fd;
}

.info-table dd {
  color: #334155;
}

.trust-box {
  padding: 22px;
}

.escrow-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  margin-top: 18px;
  padding: 24px 18px;
  text-align: center;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.escrow-placeholder form {
  display: none;
}

.escrow-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 4px 0 10px;
}

.escrow-mark img {
  display: block;
  width: 92px;
  max-width: 100%;
  height: auto;
  border: 0;
}

.escrow-caption {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.notice {
  margin: clamp(32px, 5vw, 64px) clamp(20px, 6vw, 92px) clamp(54px, 8vw, 96px);
  padding: 24px;
}

.notice.compact {
  margin-top: 24px;
  box-shadow: none;
}

.verification-main {
  padding: clamp(34px, 6vw, 76px) clamp(20px, 6vw, 92px);
}

.verification-card {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 54px);
}

.verification-table,
.verification-trust {
  margin-top: 28px;
}

@keyframes pulse-badge {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(15, 159, 117, .22);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(15, 159, 117, 0);
  }
}

@keyframes float-panel {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 1180px) {
  .hero,
  .company-layout {
    grid-template-columns: 1fr;
  }

  .quote-preview {
    max-width: 760px;
  }

  .trust-strip,
  .flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .why-grid,
  .feature-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  .quote-card {
    grid-template-columns: 1fr;
  }

  .quote-price {
    text-align: left;
  }

  .trust-strip,
  .why-grid,
  .feature-grid,
  .flow-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .info-table div {
    grid-template-columns: 1fr;
  }

  .info-table dt,
  .info-table dd {
    padding: 12px 14px;
  }

  .actions .button {
    width: 100%;
  }
}

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