:root {
  color-scheme: light;
  --paper: #f4f1e8;
  --paper-raised: #fbfaf5;
  --ink: #161a1d;
  --muted: #666a69;
  --line: #d8d3c6;
  --blue: #1e5eff;
  --blue-dark: #1647c8;
  --night: #111820;
  --night-line: #2b3540;
  --mint: #a9f2ce;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(22, 26, 29, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 26, 29, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
  color: var(--ink);
  font-family: Pretendard, "Pretendard Variable", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  word-break: keep-all;
}

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

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.site-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  height: 76px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max-width);
  padding: 0 24px;
}

.wordmark {
  align-items: center;
  display: inline-flex;
  font-size: 17px;
  font-weight: 760;
  gap: 11px;
  letter-spacing: -0.02em;
}

.wordmark-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 7px;
  color: white;
  display: inline-flex;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  height: 31px;
  justify-content: center;
  width: 31px;
}

nav {
  align-items: center;
  display: flex;
  font-size: 14px;
  font-weight: 650;
  gap: 28px;
}

nav a:not(.nav-cta) {
  color: var(--muted);
}

nav a:hover,
nav a:focus-visible {
  color: var(--blue);
}

.nav-cta {
  background: var(--ink);
  border-radius: 7px;
  color: white;
  padding: 10px 14px;
}

.hero,
.documents,
.principles,
footer {
  margin: 0 auto;
  max-width: var(--max-width);
}

.hero {
  align-items: stretch;
  display: grid;
  gap: 88px;
  grid-template-columns: minmax(0, 1fr) 340px;
  min-height: 590px;
  padding: 104px 24px 88px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow,
.section-kicker {
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.12em;
  margin: 0 0 24px;
  text-transform: uppercase;
}

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

.eyebrow span {
  background: var(--blue);
  border-radius: 50%;
  height: 7px;
  width: 7px;
}

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

h1 {
  font-size: clamp(50px, 7vw, 82px);
  font-weight: 820;
  letter-spacing: -0.065em;
  line-height: 1.03;
  margin-bottom: 31px;
}

h1 em {
  color: var(--blue);
  font-style: normal;
}

.hero-description {
  color: #505556;
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 34px;
  max-width: 640px;
}

.hero-actions,
.document-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  border-radius: 8px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 750;
  gap: 15px;
  justify-content: center;
  padding: 13px 18px;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

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

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

.button-quiet {
  border: 1px solid var(--line);
}

.button-quiet:hover {
  background: var(--paper-raised);
}

.status-card {
  align-self: center;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  box-shadow: 12px 12px 0 rgba(22, 26, 29, 0.08);
  padding: 25px;
}

.status-card-header,
.card-topline {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.status-card-header {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-dot {
  align-items: center;
  color: #207652;
  display: flex;
  gap: 7px;
}

.live-dot::before {
  background: #2ccf89;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(44, 207, 137, 0.14);
  content: "";
  height: 6px;
  width: 6px;
}

.status-number {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 96px;
  font-weight: 800;
  letter-spacing: -0.1em;
  line-height: 1;
  margin: 53px 0 37px;
}

.status-rule {
  background: var(--ink);
  height: 3px;
  margin-bottom: 15px;
}

.status-card dl {
  margin: 0;
}

.status-card dl div {
  border-bottom: 1px solid var(--line);
  display: flex;
  font-size: 13px;
  justify-content: space-between;
  padding: 12px 0;
}

.status-card dl div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.status-card dt {
  color: var(--muted);
}

.status-card dd {
  font-weight: 750;
  margin: 0;
}

.documents {
  border-top: 1px solid var(--line);
  padding: 90px 24px 112px;
}

.section-heading {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 42px;
}

.section-heading h2 {
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 0;
}

.section-heading .section-kicker {
  margin-bottom: 14px;
}

.section-heading > p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
  max-width: 390px;
  text-align: right;
}

.document-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.35fr 0.65fr;
}

.document-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 385px;
  padding: 29px;
}

.document-card-featured {
  border-top: 4px solid var(--blue);
}

.document-card-upcoming {
  background: transparent;
  border-style: dashed;
}

.document-logo {
  color: var(--blue);
  font-size: 27px;
  font-weight: 850;
  letter-spacing: -0.07em;
}

.upcoming-index {
  color: #aaa69b;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 17px;
}

.badge {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  padding: 5px 9px;
}

.badge-complete {
  background: #ddf8e9;
  border-color: #a6dfc2;
  color: #176c48;
}

.document-copy {
  margin: auto 0;
}

.document-meta {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.document-copy h3 {
  font-size: 27px;
  letter-spacing: -0.04em;
  line-height: 1.25;
  margin-bottom: 13px;
}

.document-copy > p:last-child,
.upcoming-note {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 0;
  max-width: 560px;
}

.document-actions {
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 750;
  gap: 26px;
  padding-top: 20px;
}

.document-actions a:first-child {
  color: var(--blue);
}

.principles {
  background: var(--night);
  color: white;
  max-width: none;
  padding: 94px max(24px, calc((100vw - var(--max-width)) / 2 + 24px)) 105px;
}

.section-heading-light > p {
  color: #aeb7bf;
}

.section-heading-light .section-kicker {
  color: var(--mint);
}

.principle-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.principle-list li {
  border-top: 1px solid var(--night-line);
  display: grid;
  gap: 48px;
  grid-template-columns: 50px 1fr;
  padding: 31px 0;
}

.principle-list li:last-child {
  border-bottom: 1px solid var(--night-line);
}

.principle-list > li > span {
  color: var(--mint);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  padding-top: 5px;
}

.principle-list h3 {
  font-size: 19px;
  margin-bottom: 7px;
}

.principle-list p {
  color: #aeb7bf;
  font-size: 14px;
  margin: 0;
  max-width: 690px;
}

footer {
  align-items: end;
  display: flex;
  justify-content: space-between;
  padding: 58px 24px 65px;
}

footer strong {
  font-size: 17px;
}

footer p {
  color: var(--muted);
  font-size: 13px;
  margin: 6px 0 0;
}

.disclaimer {
  max-width: 540px;
  text-align: right;
}

a:focus-visible {
  outline: 3px solid rgba(30, 94, 255, 0.35);
  outline-offset: 3px;
}

@media (max-width: 820px) {
  .site-header {
    height: 68px;
  }

  nav > a:not(.nav-cta) {
    display: none;
  }

  .hero {
    gap: 48px;
    grid-template-columns: 1fr;
    padding-top: 70px;
  }

  .status-card {
    max-width: 480px;
  }

  .status-number {
    margin-top: 34px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }

  .section-heading > p {
    text-align: left;
  }

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

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

  .disclaimer {
    text-align: left;
  }
}

@media (max-width: 520px) {
  body {
    word-break: normal;
  }

  .site-header,
  .hero,
  .documents,
  footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .wordmark-mark {
    height: 28px;
    width: 28px;
  }

  .nav-cta {
    padding: 9px 11px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 70px;
  }

  h1 {
    font-size: 45px;
  }

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

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

  .button {
    width: 100%;
  }

  .status-number {
    font-size: 76px;
  }

  .documents {
    padding-bottom: 82px;
    padding-top: 72px;
  }

  .document-card {
    min-height: 360px;
    padding: 23px;
  }

  .principles {
    padding-left: 18px;
    padding-right: 18px;
  }

  .principle-list li {
    gap: 14px;
    grid-template-columns: 40px 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
