@import url("https://fonts.googleapis.com/css2?family=Geist:wght@300..700&family=EB+Garamond:wght@400;500&display=swap");

:root {
  color-scheme: dark;
  font-family: "Geist", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #080809;
  color: #ffffff;
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #080809;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: #080809;
  color: #ffffff;
}

::selection {
  background: rgba(168, 85, 247, 0.25);
}

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

img {
  display: block;
  max-width: 100%;
}

.shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #080809;
}

.shell::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(120% 70% at 50% -8%, rgba(99, 102, 241, 0.22) 0%, rgba(124, 58, 237, 0.1) 42%, rgba(8, 8, 9, 0) 72%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.25), transparent 35%, #080809 96%);
}

.shell::after {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 70%);
}

.nav,
.section,
.footer {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(736px, calc(100% - 24px));
  height: 54px;
  padding: 0 8px 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(12, 12, 17, 0.82);
  box-shadow:
    0 16px 48px -12px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 3px;
  border-radius: 8px;
  background: #27272a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand:focus-visible,
.links a:focus-visible,
.cta:focus-visible {
  outline: 2px solid rgba(168, 85, 247, 0.75);
  outline-offset: 3px;
}

.links {
  position: absolute;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 2px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  letter-spacing: 0;
  transform: translateX(-50%);
}

.links a {
  border-radius: 999px;
  padding: 8px 13px;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease;
}

.links a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.cta {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  height: 36px;
  overflow: hidden;
  border-radius: 999px;
  background: #ffffff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 8px 24px -8px rgba(255, 255, 255, 0.35);
  color: #000000;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  transition: box-shadow 250ms ease, transform 250ms ease;
}

.cta::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.06), transparent);
  transform: translateX(-100%);
  transition: transform 700ms ease;
}

.cta:hover {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.15),
    0 8px 32px -6px rgba(168, 85, 247, 0.5);
}

.cta:hover::before {
  transform: translateX(100%);
}

.cta:active {
  transform: scale(0.97);
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 112px 0 54px;
  text-align: center;
}

.hero::after {
  width: min(20rem, 60vw);
  height: 1px;
  margin-top: 24px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.eyebrow {
  margin: 0 0 16px;
  color: rgba(216, 180, 254, 0.82);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 900px;
  margin: 0 auto;
  color: #ffffff;
  font-family: "EB Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 5.3rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.06;
}

.lede {
  max-width: 680px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: clamp(16px, 2vw, 18px);
  letter-spacing: 0;
  line-height: 1.65;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-bottom: 92px;
}

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

.card {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.038);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  padding: 22px;
}

.card h2 {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
}

.card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 14px;
  line-height: 1.7;
}

.answer {
  max-width: 980px;
  padding-bottom: 92px;
}

.answer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
  gap: 16px;
  align-items: stretch;
}

.answer-card {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.035);
  box-shadow:
    0 24px 70px -36px rgba(124, 58, 237, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  padding: clamp(24px, 4vw, 38px);
}

.answer-card h2 {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.25;
}

.answer-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  line-height: 1.8;
}

.answer-card p + p {
  margin-top: 16px;
}

.answer-card p:first-of-type {
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
}

.answer-notes {
  display: grid;
  gap: 12px;
}

.note-card {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  padding: 18px;
}

.note-card span {
  display: block;
  color: rgba(216, 180, 254, 0.82);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.note-card p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
  line-height: 1.6;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 26px 0 36px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 12px;
  line-height: 1.5;
}

.footer a {
  transition: color 180ms ease;
}

.footer a:hover {
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 980px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 860px) {
  .links {
    display: none;
  }

  .nav {
    justify-content: space-between;
  }
}

@media (max-width: 640px) {
  .nav,
  .section,
  .footer {
    width: calc(100% - 24px);
  }

  .nav {
    top: 10px;
    height: 52px;
    padding: 0 7px 0 12px;
  }

  .brand {
    gap: 8px;
  }

  .cta {
    height: 34px;
    padding: 0 14px;
  }

  .hero {
    padding: 84px 0 38px;
  }

  h1 {
    font-size: clamp(2.65rem, 14vw, 3.5rem);
  }

  .grid,
  .grid.two {
    grid-template-columns: 1fr;
    padding-bottom: 72px;
  }

  .card,
  .note-card {
    padding: 20px;
  }

  .answer {
    padding-bottom: 72px;
  }

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