:root {
  color-scheme: dark;
  background: #0b0b0f;
  color: #fff;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: geometricPrecision;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: #0b0b0f;
}

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

.site-header {
  position: absolute;
  z-index: 30;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 72px;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  color: rgb(255 255 255 / 0.78);
  font-size: 12px;
  font-weight: 300;
  line-height: 1;
}

.brand,
.site-header img {
  display: block;
}

.site-nav {
  position: absolute;
  left: 50%;
  display: flex;
  gap: 32px;
  transform: translateX(-50%);
}

.site-nav a {
  transition: color 240ms ease;
}

.site-nav a:hover {
  color: #fff;
}

.header-note {
  color: rgb(255 255 255 / 0.55);
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 78svh;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 96px 24px 40px;
  text-align: center;
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 144px;
  background: linear-gradient(180deg, rgb(11 11 15 / 0), #0b0b0f);
  content: "";
}

.hero-wash {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at 50% 48%, rgb(255 255 255 / 0.055), rgb(11 11 15 / 0) 38%),
    linear-gradient(145deg, rgb(176 190 205 / 0.08), rgb(11 11 15 / 0) 34%, rgb(166 139 110 / 0.07));
}

.rings,
.card-stage {
  pointer-events: none;
  position: absolute;
  z-index: -1;
  inset: 0;
}

.rings span {
  position: absolute;
  top: 48%;
  left: 50%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 999px;
}

.rings span:nth-child(1) {
  width: min(78vw, 700px);
}

.rings span:nth-child(2) {
  width: min(58vw, 520px);
  border-color: rgb(255 255 255 / 0.1);
}

.rings span:nth-child(3) {
  width: min(38vw, 340px);
  border-color: rgb(255 255 255 / 0.12);
}

.card {
  position: absolute;
  width: auto;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 24px 70px rgb(0 0 0 / 0.42);
}

.card-left {
  top: 28%;
  left: calc(50% - 410px);
  height: 224px;
  opacity: 0.24;
  transform: rotate(-12deg);
  animation: card-drift-left 18s ease-in-out infinite;
}

.card-center {
  top: 14%;
  left: 50%;
  height: 256px;
  opacity: 0.5;
  transform: translateX(-50%) rotate(3deg);
  animation: card-breathe 16s ease-in-out infinite;
}

.card-right {
  top: 31%;
  right: calc(50% - 410px);
  height: 224px;
  opacity: 0.24;
  transform: rotate(12deg);
  animation: card-drift-right 20s ease-in-out infinite reverse;
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  max-width: 768px;
  flex-direction: column;
  align-items: center;
}

.eyebrow,
.section-label {
  margin: 0;
  color: rgb(255 255 255 / 0.42);
  font-size: 12px;
  font-weight: 300;
  line-height: 1;
  text-transform: uppercase;
}

.hero h1 {
  margin: 24px 0 0;
  color: #fff;
  font-size: clamp(72px, 7vw, 116px);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 0.92;
}

.lead {
  max-width: 576px;
  margin: 28px 0 0;
  color: rgb(255 255 255 / 0.72);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.6;
  text-shadow: 0 2px 24px rgb(0 0 0 / 0.86);
}

.sublead {
  max-width: 512px;
  margin: 28px 0 0;
  color: rgb(255 255 255 / 0.48);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  text-shadow: 0 2px 24px rgb(0 0 0 / 0.86);
}

.section {
  position: relative;
  border-top: 1px solid rgb(255 255 255 / 0.07);
  padding: 80px 32px;
}

.section-grid,
.app-grid,
.site-footer {
  width: min(100%, 1152px);
  margin: 0 auto;
}

.section-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

h2 {
  max-width: 620px;
  margin: 16px 0 0;
  color: #fff;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.08;
}

.moment-grid,
.principles {
  display: grid;
  gap: 12px;
}

.moment-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.moment-grid article,
.principles p {
  margin: 0;
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 8px;
  background: rgb(255 255 255 / 0.025);
  box-shadow: inset 0 0 28px rgb(255 255 255 / 0.015);
}

.moment-grid article {
  min-height: 208px;
  padding: 20px;
}

.moment-grid h3 {
  margin: 0;
  color: rgb(255 255 255 / 0.9);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.4;
}

.moment-grid p {
  margin: 48px 0 0;
  color: rgb(255 255 255 / 0.52);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.65;
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.app-visual {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 8px;
  background:
    linear-gradient(150deg, rgb(255 255 255 / 0.055), rgb(255 255 255 / 0) 42%, rgb(166 139 110 / 0.08)),
    #101014;
}

.app-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 999px;
}

.app-ring-large {
  width: 288px;
}

.app-ring-small {
  width: 192px;
  border-color: rgb(255 255 255 / 0.1);
}

.app-visual img {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 256px;
  width: auto;
  transform: translate(-50%, -50%) rotate(2deg);
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 6px;
  box-shadow: 0 28px 90px rgb(0 0 0 / 0.58);
}

.section-body {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgb(255 255 255 / 0.58);
  font-size: 16px;
  font-weight: 300;
  line-height: 2;
}

.principles {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.principles p {
  padding: 20px;
  color: rgb(255 255 255 / 0.68);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgb(255 255 255 / 0.07);
  padding: 40px 32px;
  color: rgb(255 255 255 / 0.38);
  font-size: 12px;
  font-weight: 300;
}

.site-footer nav {
  display: flex;
  gap: 24px;
}

.site-footer a {
  color: rgb(255 255 255 / 0.52);
  transition: color 240ms ease;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer img {
  opacity: 0.45;
}

.legal-header {
  position: relative;
}

.legal-nav {
  position: static;
  transform: none;
}

.legal-page {
  min-height: calc(100vh - 96px);
}

.legal-hero {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgb(255 255 255 / 0.07);
  border-bottom: 1px solid rgb(255 255 255 / 0.07);
  padding: 92px 32px 72px;
}

.legal-hero::before {
  position: absolute;
  inset: -220px 0 auto 50%;
  z-index: 0;
  width: min(78vw, 720px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 999px;
  background: radial-gradient(circle, rgb(255 255 255 / 0.05), rgb(11 11 15 / 0) 62%);
  content: "";
}

.legal-hero > * {
  position: relative;
  z-index: 1;
  width: min(100%, 820px);
  margin-right: auto;
  margin-left: auto;
}

.legal-hero h1 {
  margin: 24px 0 0;
  color: #fff;
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 0.96;
}

.legal-hero p:last-child {
  margin-top: 28px;
  color: rgb(255 255 255 / 0.62);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.75;
}

.legal-content {
  width: min(100%, 820px);
  margin: 0 auto;
  padding: 72px 32px 96px;
}

.legal-content h2 {
  margin: 48px 0 0;
  color: rgb(255 255 255 / 0.88);
  font-size: 24px;
  line-height: 1.25;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin: 16px 0 0;
  color: rgb(255 255 255 / 0.58);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.9;
}

.legal-content a {
  color: rgb(255 255 255 / 0.82);
  text-decoration: underline;
  text-decoration-color: rgb(255 255 255 / 0.26);
  text-underline-offset: 4px;
}

.legal-footer {
  border-top: 1px solid rgb(255 255 255 / 0.07);
}

@keyframes card-breathe {
  0%,
  100% {
    transform: translate(-50%, 0) rotate(3deg);
    opacity: 0.5;
  }

  50% {
    transform: translate(-50%, 10px) rotate(1deg);
    opacity: 0.62;
  }
}

@keyframes card-drift-left {
  0%,
  100% {
    transform: translateY(0) rotate(-12deg);
  }

  50% {
    transform: translateY(12px) rotate(-12deg);
  }
}

@keyframes card-drift-right {
  0%,
  100% {
    transform: translateY(0) rotate(12deg);
  }

  50% {
    transform: translateY(12px) rotate(12deg);
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 0 24px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 78svh;
  }

  .card-left,
  .card-right {
    display: none;
  }

  .card-center {
    height: 224px;
    opacity: 0.32;
  }

  .lead {
    max-width: 340px;
    font-size: 18px;
    line-height: 1.6;
  }

  .sublead {
    max-width: 340px;
    font-size: 14px;
  }

  .section {
    padding: 56px 24px;
  }

  .section-grid,
  .app-grid,
  .moment-grid,
  .principles {
    grid-template-columns: 1fr;
  }

  .app-visual {
    min-height: 340px;
  }

  .site-footer {
    flex-wrap: wrap;
    gap: 20px;
    padding: 36px 24px;
  }

  .site-footer nav {
    order: 3;
    width: 100%;
  }

  .legal-nav {
    display: flex;
    gap: 18px;
  }

  .legal-hero {
    padding: 64px 24px 56px;
  }

  .legal-hero p:last-child {
    font-size: 16px;
  }

  .legal-content {
    padding: 56px 24px 80px;
  }

  .legal-content h2 {
    font-size: 22px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
