@font-face {
  font-family: "Instrument Serif";
  src: url("Instrument_Serif/InstrumentSerif-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("Instrument_Serif/InstrumentSerif-Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
}

:root {
  --blue: #5f73bc;
  --bg: #17191d;
  --bg-soft: #20242b;
  --line: rgba(255, 255, 255, 0.16);
  --line-strong: rgba(95, 115, 188, 0.42);
  --text-soft: rgba(255, 255, 255, 0.74);
  --white: #ffffff;
  --max-width: 1120px;
  --page-pad: clamp(18px, 4vw, 56px);
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Instrument Serif", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
}

@media (pointer: fine) {
  body,
  a,
  button {
    cursor: none;
  }
}

body::-webkit-scrollbar {
  display: none;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.45;
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
}

.cursor-shell {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
}

.cursor-shell.active {
  opacity: 1;
}

.cursor-dot {
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  mix-blend-mode: difference;
  will-change: transform;
}

.cursor-ring {
  position: fixed;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  margin-left: -14px;
  margin-top: -14px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  pointer-events: none;
  mix-blend-mode: difference;
  will-change: transform;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  margin-left: -4px;
  margin-top: -4px;
  border-radius: 999px;
  background: var(--white);
}

main {
  position: relative;
}

::selection {
  background: var(--white);
  color: var(--bg);
}

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

p,
h1,
h2,
h3,
figure,
ul {
  margin: 0;
}

ul {
  padding-left: 1.15em;
}

.site-header,
.site-footer,
.section {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  padding-bottom: 12px;
}

.site-mark {
  display: flex;
  align-items: center;
  gap: 0;
}

.brand {
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 0;
  transform:
    perspective(900px)
    rotateX(var(--brand-tilt-x, 0deg))
    rotateY(var(--brand-tilt-y, 0deg));
  transition: transform 160ms ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.brand-icon {
  display: block;
  width: auto;
  height: 64px;
  transform: translate3d(0, 0, 24px);
  transition: transform 160ms ease;
  will-change: transform;
}

.brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 54px;
  line-height: 0.92;
  letter-spacing: -0.03em;
  transform: translate3d(0, 0, 24px);
  transition: transform 160ms ease;
  will-change: transform;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a,
.text-link {
  display: inline-block;
  position: relative;
  z-index: 0;
  transform: translate3d(var(--float-x, 0), var(--float-y, 0), 0);
  transition:
    transform 240ms ease,
    color 320ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.site-nav a::before,
.text-link::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.14em;
  height: 1px;
  background: var(--white);
  opacity: 0.85;
  transform: scaleX(0);
  transform-origin: left center;
  transition:
    transform 620ms cubic-bezier(0.19, 1, 0.22, 1),
    opacity 320ms ease;
}

.site-nav a::after,
.text-link::after {
  content: "";
  position: absolute;
  inset: -0.08em -0.14em;
  background: var(--white);
  opacity: 1;
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
  z-index: -1;
  transition: transform 540ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  --float-y: -3px;
  color: var(--bg);
}

.site-nav a:hover::before,
.site-nav a:focus-visible::before,
.text-link:hover::before,
.text-link:focus-visible::before {
  opacity: 0;
  transform: scaleX(0);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.text-link:hover::after,
.text-link:focus-visible::after {
  transform: scaleX(1);
}

.site-nav a.active {
  color: var(--bg);
}

.site-nav a.active::before {
  opacity: 0;
  transform: scaleX(0);
}

.site-nav a.active::after {
  transform: scaleX(1);
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
}

.footer-logo {
  display: block;
  width: auto;
  height: 46px;
}

.section {
  padding-top: clamp(46px, 8vw, 96px);
  padding-bottom: clamp(46px, 8vw, 96px);
}

.section-tight {
  padding-top: clamp(26px, 4vw, 46px);
  padding-bottom: clamp(26px, 4vw, 46px);
}

.hero {
  min-height: 58vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero .eyebrow,
.hero h1,
.hero .intro {
  transform: translate3d(0, calc(var(--hero-shift, 0px) * var(--depth, 1)), 0);
  will-change: transform;
}

.hero .eyebrow {
  --depth: 0.45;
}

.hero h1 {
  --depth: 1;
}

.hero .intro {
  --depth: 0.7;
}

.eyebrow {
  margin-bottom: 18px;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--blue);
}

h1 {
  max-width: 980px;
  font-family: var(--font-display);
  font-size: clamp(58px, 11vw, 148px);
  line-height: 0.88;
  letter-spacing: -0.04em;
  font-weight: 400;
}

.hero-title {
  max-width: 1020px;
}

.title-word {
  display: inline-block;
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    color 220ms ease,
    text-shadow 220ms ease;
  will-change: transform;
}

h2 {
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  font-weight: 400;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.intro {
  max-width: 690px;
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: clamp(21px, 2.6vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.section > p,
.two-part p,
.plain-list p,
.image-block figcaption,
.section-head p {
  max-width: 680px;
  color: var(--text-soft);
}

.two-part {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(36px, 7vw, 96px);
}

.two-part > * {
  flex: 1;
}

.two-part p + p {
  margin-top: 22px;
}

.image-block {
  width: 100%;
}

.image-inner {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 24px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg, rgba(95, 115, 188, 0.12), rgba(255, 255, 255, 0.03)),
    var(--bg-soft);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
  transform:
    perspective(1000px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    translate3d(0, 0, 0);
  transition: transform 260ms ease;
  will-change: transform;
}

.image-inner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.image-block figcaption {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.35;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 34px;
}

.section-tight .section-head {
  margin-bottom: 22px;
}

.feature-carousel {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.carousel-meta,
.carousel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.carousel-kicker,
.carousel-status {
  font-size: 15px;
  letter-spacing: 0.03em;
}

.carousel-controls {
  display: flex;
  gap: 12px;
}

.carousel-button {
  padding: 10px 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  font: inherit;
  border-radius: 999px;
  cursor: pointer;
  opacity: 0.76;
  transform: translate3d(var(--float-x, 0), var(--float-y, 0), 0);
  transition: transform 220ms ease, opacity 220ms ease;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  opacity: 1;
  --float-y: -3px;
}

.carousel-viewport {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 18px;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.feature-card {
  min-width: calc((100% - 36px) / 3);
  padding: 26px 22px 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(95, 115, 188, 0.14), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
}

.feature-index {
  margin-bottom: 24px;
  font-size: 15px;
  letter-spacing: 0.04em;
}

.plain-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 760px;
}

.plain-list-tight {
  gap: 18px;
}

.plain-list article {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  transform: translate3d(0, 0, 0);
  transition: transform 260ms ease, border-color 260ms ease;
  will-change: transform;
}

.plain-list-tight article {
  padding-top: 12px;
}

.cta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line-strong);
}

.cta p {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 60px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 400;
  animation: breathe 6s ease-in-out infinite;
  transform: translate3d(0, 0, 0);
  transition: transform 240ms ease;
  will-change: transform;
}

.cta-link {
  font-size: clamp(24px, 3.2vw, 40px);
  line-height: 1;
}

.cta-note {
  font-size: 16px;
  color: var(--text-soft);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 30px;
  padding-bottom: 30px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  flex-wrap: wrap;
}

.legal-content {
  display: grid;
  gap: 34px;
  padding-bottom: clamp(70px, 10vw, 120px);
}

.legal-block {
  max-width: 860px;
}

.legal-block h2 {
  margin-bottom: 16px;
}

.legal-block p + p,
.legal-block p + .legal-list,
.legal-block .legal-list + p,
.legal-block .legal-list + .legal-list {
  margin-top: 14px;
}

.legal-list {
  display: grid;
  gap: 8px;
  max-width: 860px;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 720ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 720ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.image-block:hover .image-inner,
.image-block:focus-within .image-inner {
  transform:
    perspective(1000px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    translate3d(0, -4px, 0);
}

.plain-list article:hover,
.plain-list article:focus-within {
  transform: translate3d(0, -4px, 0);
  border-color: var(--line-strong);
}

.cta:hover p,
.cta:focus-within p {
  animation-play-state: paused;
  transform: translate3d(0, -2px, 0);
}

@keyframes breathe {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -3px, 0);
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .brand,
  .hero .eyebrow,
  .hero h1,
  .hero .intro,
  .image-inner,
  .plain-list article,
  .cta p,
  .carousel-track,
  .carousel-button {
    animation: none;
    transform: none;
    transition: none;
  }

  .title-word,
  .cursor-ring,
  .cursor-dot {
    transition: none;
    transform: none;
  }

}

@media (max-width: 960px) {
  .feature-card {
    min-width: calc((100% - 18px) / 2);
  }
}

@media (pointer: coarse) {
  .cursor-shell {
    display: none;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 17px;
  }

  .site-header {
    padding-top: 22px;
  }

  .site-mark {
    gap: 14px;
  }

  .site-nav {
    gap: 18px;
  }

  .brand-icon {
    height: 52px;
  }

  .brand-name {
    font-size: 42px;
  }

  .hero {
    min-height: 64vh;
  }

  .two-part,
  .cta,
  .site-footer,
  .carousel-meta,
  .carousel-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .feature-card {
    min-width: 100%;
  }
}
