:root {
  --paper: #f3f1ec;
  --ink: #1b1c22;
  --muted: #62636c;
  --line: rgba(27, 28, 34, .13);
  --violet: #7770cf;
  --violet-pale: #e8e4fb;
  --aqua-pale: #dcecea;
  --peach-pale: #f3e2d8;
  --sage: #739d87;
}

html {
  background: var(--paper);
  scrollbar-color: rgba(119, 112, 207, .48) #e9e6df;
}

body {
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(56rem 38rem at -12% 2%, rgba(180, 174, 228, .25), transparent 68%),
    radial-gradient(48rem 34rem at 108% 8%, rgba(160, 209, 205, .25), transparent 66%),
    var(--paper);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .32;
  background-image: radial-gradient(rgba(28, 29, 35, .14) .55px, transparent .55px);
  background-size: 19px 19px;
  mask-image: linear-gradient(to bottom, #000, transparent 74%);
}

::selection {
  color: #fff;
  background: rgba(92, 84, 180, .82);
}

a:focus-visible {
  outline: 3px solid rgba(92, 84, 180, .42);
  outline-offset: 4px;
}

.wrap {
  width: min(1240px, calc(100% - 40px));
  padding: 18px 0 76px;
}

.nav {
  position: sticky;
  top: 14px;
  z-index: 30;
  padding: 9px 10px 9px 14px;
  border-color: rgba(255, 255, 255, .78);
  border-radius: 18px;
  background: rgba(247, 246, 242, .77);
  box-shadow: 0 12px 36px rgba(35, 36, 42, .07);
  backdrop-filter: blur(22px) saturate(130%);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
}

.brand {
  color: var(--ink);
}

.brand img {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(31, 32, 39, .09);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}

.brand:hover img {
  transform: rotate(-5deg) scale(1.05);
}

.button {
  min-height: 40px;
  color: #45464f;
  border: 0;
  border-radius: 11px;
  background: transparent;
  box-shadow: none;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.button:hover {
  color: var(--ink);
  background: rgba(27, 28, 34, .055);
  transform: none;
}

.button:active {
  transform: scale(.97);
}

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

.button.primary:hover {
  color: #fff;
  background: #353640;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 650px;
  margin-top: 16px;
  padding: clamp(84px, 10vw, 132px) clamp(10px, 4vw, 52px) 72px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  width: min(47vw, 560px);
  height: min(47vw, 560px);
  right: -2%;
  top: 8%;
  border-radius: 43% 57% 54% 46% / 48% 42% 58% 52%;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, .9), transparent 24%),
    conic-gradient(from 210deg, #c9c3f0, #f0d0bd, #b5d9d5, #d9d5f4, #c9c3f0);
  box-shadow: inset 0 0 80px rgba(255, 255, 255, .42), 0 45px 100px rgba(73, 68, 120, .13);
  animation: morph 16s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(42vw, 500px);
  height: min(42vw, 500px);
  right: .5%;
  top: 13%;
  border: 1px solid rgba(27, 28, 34, .16);
  border-radius: 50%;
}

.eyebrow {
  color: #5d578b;
  letter-spacing: .15em;
}

h1 {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin: 20px 0 26px;
  color: var(--ink);
  font-size: clamp(64px, 8.7vw, 108px);
  font-weight: 760;
  line-height: .89;
  letter-spacing: -.078em;
  text-wrap: balance;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.lead {
  position: relative;
  z-index: 1;
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.7;
}

.actions {
  position: relative;
  z-index: 1;
  gap: 18px;
  margin-top: 30px;
}

.actions .button {
  min-height: 46px;
  padding-inline: 2px;
  border-bottom: 1px solid rgba(27, 28, 34, .30);
  border-radius: 0;
}

.actions .button.primary {
  padding-inline: 18px;
  border: 0;
  border-radius: 999px;
}

.grid {
  gap: 26px 32px;
  margin-top: 70px;
}

.card {
  position: relative;
  overflow: hidden;
  padding: 28px 0 34px;
  color: var(--ink);
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}

.card::before {
  display: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(27, 28, 34, .26);
  background: transparent;
  box-shadow: none;
}

.card.wide {
  min-height: 320px;
  padding: 42px;
  border: 0;
  border-radius: 38px;
}

.card.wide:nth-last-child(2) {
  background: var(--violet-pale);
}

.card.wide:nth-last-child(1) {
  background: var(--aqua-pale);
}

.card.full {
  padding: clamp(42px, 6vw, 72px);
  color: #f7f5ef;
  border: 0;
  border-radius: 44px;
  background:
    radial-gradient(34rem 24rem at 100% 0%, rgba(119, 112, 207, .30), transparent 68%),
    #1c1d23;
}

.card.full h2 {
  color: #fff;
}

.card.full p {
  color: #c0c1c8;
}

h2 {
  color: var(--ink);
  font-size: clamp(28px, 3.5vw, 46px);
  letter-spacing: -.052em;
}

p {
  color: var(--muted);
}

.dot {
  background: #6f9eb0;
  box-shadow: none;
}

.dot.orange {
  background: #cf8e6c;
  box-shadow: none;
}

.dot.green {
  background: var(--sage);
  box-shadow: none;
}

.status {
  width: fit-content;
  padding: 7px 11px;
  color: #67563a;
  border-color: rgba(103, 86, 58, .18);
  background: rgba(242, 231, 210, .72);
}

footer {
  margin-top: 36px;
  padding: 18px 0;
  color: #74757d;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

footer a {
  color: #4f4a80;
}

@keyframes morph {
  0% { border-radius: 43% 57% 54% 46% / 48% 42% 58% 52%; transform: rotate(0); }
  100% { border-radius: 55% 45% 43% 57% / 42% 56% 44% 58%; transform: rotate(4deg); }
}

@media (max-width: 760px) {
  .wrap {
    width: min(100% - 24px, 1240px);
    padding-top: 10px;
  }

  .nav {
    top: 9px;
  }

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

  .hero::before {
    width: 78vw;
    height: 78vw;
    right: -18vw;
    top: auto;
    bottom: -10vw;
  }

  .hero::after {
    width: 70vw;
    height: 70vw;
    right: -12vw;
    top: auto;
    bottom: -4vw;
  }

  h1 {
    font-size: clamp(53px, 15vw, 72px);
  }

  .lead {
    font-size: 16px;
  }

  .grid {
    margin-top: 48px;
  }

  .card,
  .card.wide,
  .card.full {
    min-height: auto;
  }

  .card.wide,
  .card.full {
    padding: 30px 24px;
    border-radius: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
