@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("/fonts/Sora-Variable.woff2") format("woff2");
}

:root {
  --bg: #1e1e1e;
  --bg-deep: #09090b;
  --surface: #2a2a2a;
  --surface-raised: #323232;
  --line: #454545;
  --ink: #f7f7f7;
  --muted: #a8a8a8;
  --gold: #d6a84f;
  --gold-bright: #e4c16f;
  --violet: #7c3aed;
  --violet-soft: #a78bfa;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 76% 12%, rgba(124, 58, 237, 0.08), transparent 25rem),
    var(--bg);
  color: var(--ink);
  font-family: "Sora", ui-sans-serif, system-ui, sans-serif;
  line-height: 1.6;
  margin: 0;
  min-height: 100svh;
}

body::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  inset: 0;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 54rem);
  mask-image: linear-gradient(to bottom, black, transparent 54rem);
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

.page-shell {
  margin: 0 auto;
  max-width: 86rem;
  padding: 0 clamp(1.25rem, 4vw, 4rem);
}

.masthead {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 1.5rem 0;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 0.75rem;
  text-decoration: none;
}

.brand img {
  border-radius: 22%;
  box-shadow: 0 0.35rem 1.25rem rgba(0, 0, 0, 0.28);
  display: block;
}

.wordmark {
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.wordmark span {
  color: var(--gold);
}

.labs-link {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 160ms ease;
}

.labs-link:hover {
  color: var(--ink);
}

.labs-link span {
  color: var(--gold);
  margin-left: 0.25rem;
}

.hero {
  align-items: center;
  background:
    radial-gradient(circle at 83% 40%, rgba(124, 58, 237, 0.13), transparent 19rem),
    radial-gradient(circle at 82% 40%, rgba(214, 168, 79, 0.055), transparent 29rem);
  display: flex;
  min-height: min(46rem, calc(100svh - 5.75rem));
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 7rem) 0 clamp(4rem, 8vw, 7rem);
  position: relative;
}

.hero::before {
  color: transparent;
  content: "CHASE";
  font-size: clamp(7rem, 19vw, 17rem);
  font-weight: 800;
  letter-spacing: -0.085em;
  line-height: 0.8;
  opacity: 0.38;
  pointer-events: none;
  position: absolute;
  right: -0.04em;
  top: 50%;
  transform: translateY(-43%);
  -webkit-text-stroke: 1px rgba(247, 247, 247, 0.12);
  user-select: none;
  white-space: nowrap;
}

.hero::after {
  background: var(--gold-bright);
  border-radius: 50%;
  box-shadow:
    0 0 1rem rgba(228, 193, 111, 0.58),
    0 0 4rem rgba(124, 58, 237, 0.4);
  content: "";
  height: 0.4rem;
  pointer-events: none;
  position: absolute;
  right: 12%;
  top: 31%;
  width: 0.4rem;
}

.hero-copy {
  max-width: 68rem;
  position: relative;
  width: 100%;
  z-index: 1;
}

.status {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.75rem;
  font-weight: 700;
  gap: 0.55rem;
  letter-spacing: 0.08em;
  margin: 0 0 1.75rem;
  text-transform: uppercase;
}

.status-dot {
  animation: pulse 2.6s ease-out infinite;
  background: var(--gold-bright);
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(228, 193, 111, 0.35);
  height: 0.45rem;
  width: 0.45rem;
}

@keyframes pulse {
  to {
    box-shadow: 0 0 0 0.6rem rgba(228, 193, 111, 0);
  }
}

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

h1 {
  font-size: clamp(3.8rem, 9.2vw, 8.5rem);
  font-weight: 800;
  letter-spacing: -0.072em;
  line-height: 0.94;
  margin-bottom: 1.75rem;
  max-width: 10.5ch;
  text-wrap: balance;
}

h1 span {
  color: var(--gold);
}

.lede {
  color: #d7d7d7;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 450;
  line-height: 1.75;
  margin-bottom: 1.75rem;
  max-width: 39rem;
}

.starting-point {
  border: 1px solid rgba(228, 193, 111, 0.32);
  border-radius: 999px;
  color: var(--gold-bright);
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin: 0;
  padding: 0.48rem 0.8rem;
  text-transform: uppercase;
}

.features {
  border-bottom: 1px solid rgba(69, 69, 69, 0.72);
  border-top: 1px solid rgba(69, 69, 69, 0.72);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.features article {
  min-height: 12rem;
  padding: clamp(2rem, 4vw, 3.25rem);
}

.features article + article {
  border-left: 1px solid rgba(69, 69, 69, 0.72);
}

.feature-number {
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 1.9rem;
}

.features h2 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 0.7rem;
}

.features article > p:last-child {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0;
  max-width: 18rem;
}

.positioning {
  display: grid;
  gap: 1rem clamp(3rem, 8vw, 9rem);
  grid-template-columns: minmax(0, 0.85fr) minmax(20rem, 1.15fr);
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 700;
  grid-column: 1 / -1;
  letter-spacing: 0.16em;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.positioning h2 {
  font-size: clamp(2.2rem, 4.6vw, 4.6rem);
  letter-spacing: -0.065em;
  line-height: 1.02;
  margin-bottom: 0;
  max-width: 12ch;
  text-wrap: balance;
}

.positioning > p:last-child {
  align-self: end;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.8;
  margin-bottom: 0.3rem;
  max-width: 37rem;
}

footer {
  align-items: end;
  border-top: 1px solid rgba(69, 69, 69, 0.72);
  color: var(--muted);
  display: grid;
  font-size: 0.7rem;
  gap: 2rem 4rem;
  grid-template-columns: auto minmax(18rem, 43rem);
  justify-content: space-between;
  padding: 2rem 0 2.5rem;
}

.footer-brand .wordmark {
  display: inline-block;
  font-size: 1rem;
  margin-bottom: 0.85rem;
}

footer p {
  line-height: 1.65;
  margin-bottom: 0;
}

footer a {
  color: inherit;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.disclaimer {
  justify-self: end;
  max-width: 43rem;
}

a:focus-visible {
  border-radius: 0.2rem;
  outline: 2px solid var(--gold-bright);
  outline-offset: 0.3rem;
}

@media (max-width: 54rem) {
  .hero {
    padding-top: 4rem;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
  }

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

  .features article {
    min-height: 0;
  }

  .features article + article {
    border-left: 0;
    border-top: 1px solid rgba(69, 69, 69, 0.72);
  }

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

  .positioning > p:last-child {
    margin-top: 1rem;
  }
}

@media (max-width: 38rem) {
  .masthead {
    padding: 1.1rem 0;
  }

  .brand {
    gap: 0.55rem;
  }

  .brand img {
    height: 2.25rem;
    width: 2.25rem;
  }

  .wordmark {
    font-size: 1.08rem;
  }

  .labs-link {
    font-size: 0;
  }

  .labs-link::before {
    content: "Chasebook Labs";
    font-size: 0.68rem;
  }

  .labs-link span {
    font-size: 0.68rem;
  }

  .hero {
    min-height: 0;
    padding: 5rem 0 5.5rem;
  }

  h1 {
    font-size: clamp(3.3rem, 17vw, 4.6rem);
  }

  .hero::before {
    font-size: 34vw;
    opacity: 0.24;
    right: -0.08em;
    top: 62%;
  }

  .hero::after {
    right: 9%;
    top: 36%;
  }

  .features article {
    padding: 2rem 0.5rem;
  }

  .feature-number {
    margin-bottom: 1.25rem;
  }

  .positioning {
    padding: 5rem 0;
  }

  footer {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .disclaimer {
    justify-self: start;
  }
}

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

  .status-dot,
  .hero::after {
    animation: none;
  }
}
