
:root {
  --bg: #030711;
  --text: #f5f4f2;
  --muted: #b2bbd0;
  --line: rgba(125, 151, 255, 0.24);
  --blue: #49b8ff;
  --violet: #765dff;
  --pink: #d45cff;
  --max: 1010px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 18%, rgba(86, 63, 190, .12), transparent 32%),
    var(--bg);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.6;
}

a { color: inherit; }

.hero {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(119, 141, 216, .18);
  background: #020611;
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(to right, rgba(2, 6, 17, 0.00) 0%, rgba(2, 6, 17, 0.04) 44%, rgba(2, 6, 17, 0.30) 65%, rgba(2, 6, 17, 0.54) 100%),
    url("assets/hero-background.png") center / cover no-repeat;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(2,6,17,.10) 0%, rgba(2,6,17,0) 62%, rgba(2,6,17,.42) 100%);
}

.nav,
.hero-layout,
main,
footer {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: .95rem;
  text-shadow: 0 1px 14px rgba(0,0,0,.65);
}

.brand img,
.footer-brand img {
  border-radius: 50%;
  object-fit: cover;
}

.brand img {
  width: 34px;
  height: 34px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  text-decoration: none;
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255,255,255,.92);
  text-shadow: 0 1px 12px rgba(0,0,0,.75);
}

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

.hero-layout {
  min-height: 520px;
  display: grid;
  grid-template-columns: 52% 48%;
  align-items: center;
  padding-bottom: 34px;
}

.hero-copy {
  justify-self: end;
  width: min(100%, 500px);
  padding: 10px 0 12px 24px;
  text-shadow: 0 2px 16px rgba(0,0,0,.45);
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3.2rem, 5.1vw, 5rem);
  line-height: .96;
  letter-spacing: -.038em;
  text-wrap: balance;
}

.hero-copy h1 span {
  background: linear-gradient(90deg, #54bfff 0%, #bea3ff 48%, #e45cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p {
  margin: 0;
  max-width: 470px;
  color: #e0e7f5;
  font-size: 1rem;
  line-height: 1.5;
  text-shadow: 0 2px 14px rgba(0,0,0,.8);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: .87rem;
  transition: transform .18s ease, filter .18s ease;
}

.button:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.button-primary {
  color: white;
  background: linear-gradient(90deg, #4d7cff, #ca4cff);
  box-shadow: 0 10px 28px rgba(107,72,255,.28);
}

.button-ghost {
  border: 1px solid rgba(255,255,255,.48);
  background: rgba(4,8,18,.42);
  backdrop-filter: blur(8px);
}

main {
  padding: 62px 0 28px;
}

.section-kicker,
.card-label {
  margin: 0 0 12px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .22em;
  color: #b8c7f4;
}

.intro {
  max-width: 730px;
  margin: 0 0 46px;
}

.intro h2,
.signup h2 {
  margin: 0 0 16px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.35rem, 4.5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -.035em;
}

.intro p,
.signup p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card {
  min-height: 362px;
  padding: 25px 24px 22px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 72% -6%, rgba(94, 83, 226, .15), transparent 30%),
    linear-gradient(160deg, rgba(12, 22, 48, .96), rgba(5, 10, 24, .98));
}

.card-featured {
  border-color: rgba(110, 86, 237, .42);
}

.card-number {
  margin-bottom: 42px;
  color: #6f7da2;
  font-size: .68rem;
}

.card-label {
  margin-bottom: 11px;
  font-size: .67rem;
}

.card h3 {
  margin: 0 0 14px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  line-height: 1.03;
  letter-spacing: -.018em;
}

.card p:not(.card-label) {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.55;
}

.status {
  margin-top: auto;
  padding-top: 22px;
  color: #eef1ff;
  font-size: .84rem;
  font-weight: 700;
}

.principle {
  padding: 64px 0 72px;
}

.quote {
  max-width: 690px;
  margin: 0 auto;
  text-align: center;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.15rem, 4.3vw, 3.55rem);
  line-height: 1.04;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.signup {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  margin-bottom: 48px;
  padding: 34px 36px;
  border: 1px solid rgba(105,110,216,.28);
  border-radius: 20px;
  background:
    radial-gradient(circle at 90% 120%, rgba(177,48,255,.36), transparent 38%),
    radial-gradient(circle at 72% 10%, rgba(74,89,255,.15), transparent 34%),
    linear-gradient(105deg, #0a1532, #171038 64%, #20103c);
}

.signup > div { max-width: 650px; }

.signup .section-kicker { margin-bottom: 9px; }

.signup h2 {
  font-size: clamp(2.2rem, 3.8vw, 3.25rem);
}

.email-button {
  min-width: 204px;
  white-space: nowrap;
  font-size: .86rem;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0 40px;
  border-top: 1px solid rgba(137,155,217,.15);
  color: #8f9bb6;
  font-size: .82rem;
}

.footer-brand {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-brand img {
  width: 32px;
  height: 32px;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand strong {
  color: #fff;
  font-size: .84rem;
}

.footer-brand span {
  font-size: .73rem;
}

footer p { margin: 0; }

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

  .hero {
    min-height: 720px;
  }

  .hero-art {
    background:
      linear-gradient(to bottom, rgba(2,6,17,.04), rgba(2,6,17,.22) 48%, rgba(2,6,17,.90) 78%, #020611 100%),
      url("assets/hero-background.png") 27% top / auto 62% no-repeat;
  }

  .hero-layout {
    min-height: 620px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 58px;
  }

  .hero-spacer { display: none; }

  .hero-copy {
    justify-self: auto;
    width: 100%;
    max-width: 650px;
    padding: 0;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 10vw, 5rem);
  }

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

  .card { min-height: 0; }
  .card-number { margin-bottom: 28px; }

  .signup {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
  }
}

@media (max-width: 560px) {
  .nav,
  .hero-layout,
  main,
  footer {
    width: min(calc(100% - 28px), var(--max));
  }

  .hero {
    min-height: 690px;
  }

  .hero-art {
    background:
      linear-gradient(to bottom, rgba(2,6,17,.03), rgba(2,6,17,.15) 45%, rgba(2,6,17,.92) 73%, #020611 100%),
      url("assets/hero-background.png") 25% top / auto 58% no-repeat;
  }

  .hero-layout {
    min-height: 595px;
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 13.5vw, 4.4rem);
  }

  .hero-copy p {
    font-size: .97rem;
  }

  .email-button {
    min-width: 0;
    max-width: 100%;
    font-size: .78rem;
  }

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