/* Navigation */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 300ms ease;
  background: rgba(251, 250, 247, 0);
  backdrop-filter: blur(0);
}
.site-nav.is-scrolled {
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
  padding: 14px 0;
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.brand .brand-sub { margin-left: 12px; }
.brand-mark {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--gold);
  font-weight: 500;
  line-height: 1;
}
.brand-name {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.brand-sub {
  font-size: 12px;
  color: var(--ink-3);
  padding-left: 12px;
  border-left: 1px solid var(--line);
  letter-spacing: 0.01em;
}
.nav-links {
  list-style: none;
  margin: 0 auto 0 24px;
  padding: 0;
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
  transition: color 200ms;
  position: relative;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 220ms;
}
.nav-links a:hover::after { transform: scaleX(1); }

/* 외부 링크(k-trust.kr) 표시 */
.nav-ext { display: inline-flex; align-items: center; gap: 4px; }
.nav-ext-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  font-size: 11px;
  color: var(--gold);
  transition: transform 200ms cubic-bezier(0.2, 0.7, 0.2, 1);
  margin-left: 1px;
}
.nav-ext:hover .nav-ext-mark {
  transform: translate(2px, -2px);
  color: var(--gold-soft);
}
.nav-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  border: 1px solid var(--navy);
  padding: 10px 18px;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 220ms;
}
.nav-cta:hover {
  background: var(--navy);
  color: white;
}
.nav-cta .arrow { transition: transform 200ms; }
.nav-cta:hover .arrow { transform: translateX(3px); }

/* Hero */
.hero {
  padding: 160px 0 120px;
  position: relative;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(212, 175, 55, 0.06), transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(26, 58, 82, 0.04), transparent 55%),
    var(--paper);
  overflow: hidden;
}
.hero-bg-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.9;
}
.hero-bg-lines svg { width: 100%; height: 100%; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: var(--serif);
  font-size: 68px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 24px 0 32px;
  font-weight: 500;
}
.hero-title-accent {
  position: relative;
  display: inline-block;
}
.hero-title-accent::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 4px;
  height: 8px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.35), rgba(212, 175, 55, 0));
  z-index: -1;
}

.hero-lede { margin-bottom: 40px; }
.hero-lede .gold-rule { margin-top: 0; }
.hero-lede p {
  font-size: 19px;
  line-height: 1.75;
  color: var(--ink);
  margin: 0 0 16px;
  font-weight: 400;
}
.hero-lede em {
  font-style: normal;
  color: var(--navy);
  font-weight: 600;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}
.hero-lede-sub {
  font-size: 16px !important;
  color: var(--ink-2) !important;
  font-weight: 400 !important;
}

.hero-cta {
  display: flex;
  gap: 12px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.meta-item .meta-val {
  font-size: 32px;
  color: var(--navy);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}
.meta-val .meta-unit {
  font-size: 13px;
  color: var(--ink-3);
  margin-left: 4px;
  font-family: var(--sans);
  font-weight: 500;
}
.meta-lbl {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 6px;
  letter-spacing: 0.02em;
}
.meta-sep {
  width: 1px;
  height: 32px;
  background: var(--line);
}

/* Hero card (report mockup) */
.hero-right {
  position: relative;
}
.hero-card {
  position: relative;
  background: white;
  padding: 40px 36px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--line-soft);
  z-index: 2;
  aspect-ratio: 0.78;
  display: flex;
  flex-direction: column;
}
.hero-card-bg {
  position: absolute;
  top: 24px;
  left: 24px;
  right: -24px;
  bottom: -24px;
  background: var(--navy-deep);
  z-index: 1;
}
.hero-card-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 8px, rgba(212,175,55,0.05) 8px, rgba(212,175,55,0.05) 9px);
}
.hero-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.hero-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold-soft);
  font-weight: 600;
  text-transform: uppercase;
}
.hero-card-tag .dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
.hero-card-code {
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}
.hero-card-title {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.35;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.hero-card-sub {
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}
.hero-card-rule {
  height: 1px;
  background: var(--line);
  margin: 28px 0;
  position: relative;
}
.hero-card-rule::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 1px;
  background: var(--gold);
}
.hero-card-rows {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hcr {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px dotted var(--line);
}
.hcr:last-child { border-bottom: none; }
.hcr-k {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.hcr-v {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}
.hero-card-foot {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sig-line {
  font-family: var(--serif);
  font-style: italic;
  color: var(--navy);
  font-size: 16px;
}
.sig-sub {
  font-size: 9px;
  color: var(--ink-3);
  letter-spacing: 0.12em;
  margin-top: 2px;
}
.hero-card-seal svg {
  width: 56px;
  height: 56px;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--ink-3);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hs-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollHint 2s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; }
  50% { transform: scaleY(1); }
}

@media (max-width: 1000px) {
  .nav-links { display: none; }
  .brand-sub { display: none; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .hero-title { font-size: 44px; }
  .hero-scroll-hint { display: none; }
}
