:root {
  --ink: #10110f;
  --paper: #f2efe6;
  --lime: #c9ff3d;
  --muted: #696b63;
  --line: rgba(16, 17, 15, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Pretendard, "Apple SD Gothic Neo", system-ui, sans-serif;
}

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

.site-header,
.hero,
.principles,
footer {
  width: min(100% - 48px, 1440px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  height: 88px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.brand,
.header-meta,
footer div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand {
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #72ca00;
  box-shadow: 0 0 0 4px rgba(114, 202, 0, 0.15);
}

.hero {
  display: grid;
  min-height: 720px;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(48px, 7vw, 110px);
  padding: 100px 0;
}

.eyebrow,
.section-index {
  margin: 0 0 28px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 38px;
  height: 1px;
  margin: 0 12px 3px 0;
  background: var(--ink);
}

h1 {
  margin: 0;
  font-size: clamp(58px, 7.2vw, 110px);
  font-weight: 680;
  letter-spacing: -0.075em;
  line-height: 0.97;
}

h1 span {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}

h1 span::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0.06em;
  left: 0;
  height: 0.22em;
  background: var(--lime);
  transform: rotate(-0.8deg);
}

.lede {
  max-width: 540px;
  margin: 36px 0 0;
  color: #4f504a;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.75;
  word-break: keep-all;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 44px;
}

.primary-action {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.primary-action:hover {
  box-shadow: 6px 6px 0 var(--lime);
  transform: translate(-3px, -3px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--ink);
  padding: 5px 0;
  font-size: 14px;
  font-weight: 700;
}

a:focus-visible {
  outline: 3px solid #639300;
  outline-offset: 4px;
}

.signal {
  position: relative;
  min-height: 480px;
  border: 1px solid var(--ink);
  background: #e7e3d9;
  overflow: hidden;
}

.signal-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.5;
}

.signal-status {
  position: absolute;
  z-index: 2;
  top: 22px;
  right: 22px;
  left: 22px;
  display: flex;
  justify-content: space-between;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.status-pill {
  padding: 6px 9px;
  background: var(--lime);
  font-weight: 900;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(16, 17, 15, 0.42);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink);
}

.orbit-one {
  width: 315px;
  height: 315px;
  animation: rotate 18s linear infinite;
}

.orbit-two {
  width: 220px;
  height: 220px;
  border-style: dashed;
  animation: rotate-reverse 13s linear infinite;
}

.signal-core {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 138px;
  height: 138px;
  place-content: center;
  border-radius: 50%;
  background: var(--lime);
  text-align: center;
  transform: translate(-50%, -50%);
}

.signal-core strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 42px;
  letter-spacing: -0.08em;
  line-height: 1;
}

.signal-core small {
  margin-top: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.signal-caption {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.signal-caption i {
  height: 1px;
  flex: 1;
  margin: 0 10px;
  background: var(--ink);
  opacity: 0.35;
}

.proof {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 80px;
  padding: 108px max(24px, calc((100vw - 1440px) / 2 + 24px));
  background: var(--ink);
  color: var(--paper);
}

.proof .section-index {
  color: var(--lime);
}

.proof h2 {
  margin: 0;
  font-size: clamp(38px, 4vw, 66px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.12;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-self: end;
}

.metrics article {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border: 1px solid rgba(243, 240, 232, 0.25);
  border-right: 0;
}

.metrics article:last-child {
  border-right: 1px solid rgba(243, 240, 232, 0.25);
}

.metrics strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(36px, 4vw, 64px);
  letter-spacing: -0.07em;
}

.metrics span {
  max-width: 140px;
  color: rgba(243, 240, 232, 0.7);
  font-size: 13px;
  line-height: 1.5;
}

.metrics .metric-accent {
  background: var(--lime);
  color: var(--ink);
}

.metrics .metric-accent span {
  color: rgba(16, 17, 15, 0.66);
}

.principles {
  padding: 110px 0 124px;
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
}

.principle-list article {
  min-height: 280px;
  padding: 26px 34px 30px 0;
  border-right: 1px solid var(--line);
}

.principle-list article + article {
  padding-left: 34px;
}

.principle-list article:last-child {
  border-right: 0;
}

.principle-list article > span {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.principle-list h3 {
  margin: 84px 0 14px;
  font-size: 32px;
  letter-spacing: -0.05em;
}

.principle-list p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0 44px;
  border-top: 1px solid var(--line);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
}

@keyframes rotate {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rotate-reverse {
  to { transform: translate(-50%, -50%) rotate(-360deg); }
}

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

  .hero {
    padding-top: 84px;
  }

  .proof {
    gap: 58px;
  }

  .principle-list {
    grid-template-columns: 1fr;
  }

  .principle-list article,
  .principle-list article + article {
    min-height: auto;
    padding: 24px 0 40px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .principle-list h3 {
    margin-top: 48px;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .principles,
  footer {
    width: calc(100% - 32px);
  }

  .site-header {
    height: 72px;
  }

  .header-meta span:last-child {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 72px 0 64px;
  }

  h1 {
    font-size: clamp(46px, 14.5vw, 68px);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .primary-action {
    width: 100%;
  }

  .signal {
    min-height: 360px;
  }

  .orbit-one {
    width: 250px;
    height: 250px;
  }

  .orbit-two {
    width: 170px;
    height: 170px;
  }

  .signal-core {
    width: 112px;
    height: 112px;
  }

  .proof {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .metrics article,
  .metrics article:last-child {
    min-height: 150px;
    border-right: 1px solid rgba(243, 240, 232, 0.25);
    border-bottom: 0;
  }

  .metrics article:last-child {
    border-bottom: 1px solid rgba(243, 240, 232, 0.25);
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orbit { animation: none; }
}
