:root {
  --ink: #151615;
  --muted: #5e625d;
  --paper: #f7f6f1;
  --surface: #ffffff;
  --line: rgba(21, 22, 21, 0.15);
  --accent: #355f4d;
  --accent-soft: #dce9df;
  --highlight: #d9ff63;
  --display: "Arial Narrow", "Aptos Display", "Segoe UI", sans-serif;
  --body: "Aptos", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 280px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

body[data-public-frontdoor="svgn"] {
  --accent: #4032b5;
  --accent-soft: #e4e0ff;
  --highlight: #e5ff54;
}

body[data-public-frontdoor="research"] {
  --accent: #9a432c;
  --accent-soft: #f2dfd7;
  --highlight: #ffb58d;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform 120ms ease;
}

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

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  width: min(1220px, calc(100% - 40px));
  min-height: 88px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}

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

.brand-mark {
  position: relative;
  display: inline-block;
  width: 31px;
  height: 31px;
  overflow: hidden;
  border-radius: 9px;
  background: var(--ink);
}

.brand-mark i {
  position: absolute;
  display: block;
  border-radius: 50%;
}

.brand-mark i:nth-child(1) {
  width: 17px;
  height: 17px;
  top: -3px;
  right: -2px;
  background: var(--highlight);
}

.brand-mark i:nth-child(2) {
  width: 12px;
  height: 12px;
  bottom: 4px;
  left: 4px;
  background: #ff6f61;
}

.brand-mark i:nth-child(3) {
  width: 6px;
  height: 6px;
  right: 5px;
  bottom: 6px;
  background: #fff;
}

.brand-mark-svgn i:nth-child(2) {
  background: #887bff;
}

.brand-mark-research i:nth-child(2) {
  background: #ff7d51;
}

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

nav a {
  text-decoration: none;
}

nav a:not(.nav-action):hover,
nav a:not(.nav-action):focus-visible,
footer a:hover,
footer a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-action {
  padding: 11px 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
}

.nav-action:hover,
.nav-action:focus-visible {
  background: var(--accent);
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  display: flex;
  width: min(1220px, calc(100% - 40px));
  min-height: 650px;
  margin: 0 auto;
  padding: clamp(72px, 10vw, 126px) 0 96px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
}

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

h1 {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 28px;
  font-family: var(--display);
  font-size: clamp(54px, 9.4vw, 118px);
  font-stretch: condensed;
  font-weight: 800;
  letter-spacing: -0.072em;
  line-height: 0.83;
}

h1 em {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
  font-style: normal;
  font-weight: 760;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 610px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.47;
}

.actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 13px 19px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 140ms ease, color 140ms ease, background 140ms ease;
}

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

.button-primary {
  color: #fff;
  background: var(--ink);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent);
}

.button-quiet {
  background: transparent;
}

.button-quiet:hover,
.button-quiet:focus-visible {
  color: #fff;
  background: var(--accent);
}

.topic-orbit,
.relation-field {
  position: absolute;
  z-index: 1;
  right: -40px;
  bottom: 74px;
  width: min(41vw, 470px);
  aspect-ratio: 1;
  pointer-events: none;
}

.topic-orbit {
  border-radius: 50%;
  background: var(--highlight);
  box-shadow: 0 24px 80px rgba(64, 50, 181, 0.14);
}

.orbit {
  position: absolute;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.orbit-a {
  inset: 15%;
}

.orbit-b {
  inset: 30%;
  border-style: dashed;
}

.orbit-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--ink);
}

.dot-a {
  width: 10%;
  aspect-ratio: 1;
  top: 18%;
  right: 19%;
}

.dot-b {
  width: 5%;
  aspect-ratio: 1;
  left: 28%;
  bottom: 22%;
}

.orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: clamp(18px, 3vw, 32px);
  font-weight: 850;
  letter-spacing: -0.06em;
  transform: translate(-50%, -50%);
}

.relation-field {
  transform: rotate(-8deg);
}

.relation-node {
  position: absolute;
  z-index: 2;
  display: block;
  width: 26%;
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--highlight);
}

.node-a {
  top: 6%;
  left: 38%;
}

.node-b {
  bottom: 8%;
  left: 4%;
  background: var(--accent-soft);
}

.node-c {
  right: 2%;
  bottom: 9%;
  background: #fff;
}

.relation-line {
  position: absolute;
  z-index: 1;
  display: block;
  height: 2px;
  background: var(--ink);
  transform-origin: left center;
}

.line-a {
  width: 48%;
  top: 35%;
  left: 27%;
  transform: rotate(39deg);
}

.line-b {
  width: 50%;
  top: 58%;
  left: 25%;
  transform: rotate(-38deg);
}

.line-c {
  width: 56%;
  left: 22%;
  bottom: 20%;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(30px, 7vw, 90px);
  padding: clamp(60px, 8vw, 100px) max(20px, calc((100vw - 1220px) / 2));
  color: #fff;
  background: var(--ink);
}

.section-label {
  margin-bottom: 13px;
  color: var(--highlight);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h2 {
  max-width: 420px;
  margin-bottom: 0;
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 59px);
  font-weight: 780;
  letter-spacing: -0.052em;
  line-height: 0.98;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.feature-grid article {
  min-height: 225px;
  padding: 24px 22px 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.feature-number {
  display: block;
  min-height: 42px;
  color: var(--highlight);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 12px;
  font-size: 18px;
  letter-spacing: -0.025em;
}

.feature-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.5;
}

footer {
  display: grid;
  grid-template-columns: 0.5fr 1fr auto;
  width: min(1220px, calc(100% - 40px));
  min-height: 120px;
  margin: 0 auto;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

footer span {
  color: var(--ink);
  font-weight: 800;
}

footer p {
  margin-bottom: 0;
}

footer a {
  font-weight: 700;
}

@media (max-width: 900px) {
  .hero {
    min-height: 590px;
  }

  .topic-orbit,
  .relation-field {
    right: -90px;
    bottom: 72px;
    opacity: 0.34;
  }

  .feature-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    width: min(100% - 28px, 1220px);
    min-height: 72px;
  }

  .wordmark {
    max-width: 190px;
    font-size: 14px;
  }

  .brand-mark {
    width: 27px;
    height: 27px;
    flex: 0 0 auto;
  }

  nav {
    gap: 12px;
  }

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

  .nav-action {
    padding: 9px 12px;
    font-size: 12px;
  }

  .hero {
    width: min(100% - 28px, 1220px);
    min-height: 590px;
    padding-top: 72px;
  }

  h1 {
    font-size: clamp(49px, 18vw, 76px);
    letter-spacing: -0.066em;
  }

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

  .topic-orbit,
  .relation-field {
    width: 290px;
    right: -150px;
    bottom: 54px;
    opacity: 0.22;
  }

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

  .feature-grid article {
    min-height: 0;
    padding: 22px 6px;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .feature-number {
    min-height: 29px;
  }

  footer {
    grid-template-columns: 1fr;
    width: min(100% - 28px, 1220px);
    padding: 28px 0;
    gap: 8px;
  }
}

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

  .button,
  .skip-link {
    transition: none;
  }
}
