:root {
  color-scheme: dark;
  --bg: #08090b;
  --panel: #121419;
  --panel-strong: #191c22;
  --text: #f6f7f4;
  --muted: #babfc8;
  --subtle: #878e99;
  --line: #2a2e36;
  --cyan: #62f4ff;
  --pink: #ff4fc6;
  --lime: #b8ff68;
  --amber: #ffd166;
  --accent: #62f4ff;
  --accent-strong: #b8ff68;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.65;
}

body.home-page {
  background: #08090b;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-strong);
  text-decoration: underline;
}

.wrap {
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
}

header {
  border-bottom: 1px solid var(--line);
  background: rgba(8, 9, 11, 0.9);
  position: relative;
  z-index: 10;
}

.home-page header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

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

.brand {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  color: var(--muted);
  font-size: 0.94rem;
}

.hero {
  padding: 76px 0 48px;
}

.home-hero {
  min-height: calc(100vh - 210px);
  min-height: calc(100svh - 210px);
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(145deg, #070809 0%, #0b1718 46%, #150710 100%);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    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: 42px 42px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.62), transparent 78%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.62), transparent 78%);
  pointer-events: none;
}

.hero-layout {
  min-height: inherit;
  display: flex;
  align-items: center;
  position: relative;
  padding: 54px 0 48px;
}

.hero-copy {
  width: min(100%, 650px);
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--subtle);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: 4.2rem;
  line-height: 1;
  letter-spacing: 0;
}

.home-page h1 {
  max-width: none;
  font-size: 6.1rem;
  line-height: 0.88;
}

.hero-statement {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--text);
  font-size: 1.55rem;
  font-weight: 720;
  line-height: 1.18;
}

.lede {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.18rem;
}

.home-page .lede {
  max-width: 610px;
  margin-top: 16px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  font-weight: 650;
  text-align: center;
}

.button.primary {
  border-color: #355a96;
  background: #244878;
}

.home-page .button.primary {
  border-color: transparent;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  color: #050608;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 22px;
  color: var(--subtle);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-notes span + span::before {
  content: "/";
  margin-right: 14px;
  color: rgba(255, 255, 255, 0.28);
}

.product-scene {
  width: 540px;
  height: 630px;
  position: absolute;
  right: 0;
  top: 24px;
  bottom: 24px;
  z-index: 1;
  pointer-events: none;
}

.phone {
  margin: 0;
  padding: 7px;
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 36px;
  background: #030405;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.52);
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 29px;
}

.phone-login {
  width: 236px;
  left: 58px;
  bottom: 4px;
  transform: rotate(-5deg);
}

.phone-invite {
  width: 262px;
  right: 34px;
  top: 0;
  transform: rotate(4deg);
}

main {
  padding-bottom: 72px;
}

.home-page main {
  padding-bottom: 0;
}

.section-band,
.vision-band,
.beta-band {
  padding: 64px 0;
}

.section-band {
  background: #101217;
}

.vision-band {
  background: #08090b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.beta-band {
  background: #0b0d10;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2,
.vision-layout h2,
.beta-layout h2 {
  max-width: 700px;
  margin: 0;
  font-size: 2.35rem;
  line-height: 1.08;
}

.section-heading p:not(.eyebrow) {
  max-width: 670px;
  margin: 14px 0 0;
  color: var(--muted);
}

.vision-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 34px;
  align-items: start;
}

.vision-copy {
  max-width: 470px;
  margin: 16px 0 0;
}

.vision-list {
  display: grid;
  gap: 14px;
}

.vision-list article {
  border-left: 3px solid rgba(98, 244, 255, 0.56);
  padding: 0 0 0 18px;
}

.vision-list article:nth-child(2) {
  border-left-color: rgba(255, 79, 198, 0.56);
}

.vision-list article:nth-child(3) {
  border-left-color: rgba(184, 255, 104, 0.56);
}

.vision-list h3 {
  margin: 0 0 6px;
}

.vision-list p {
  margin: 0;
}

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

.card,
.notice {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 18px;
}

.notice {
  margin-top: 28px;
  background: var(--panel-strong);
}

.feature-grid .card {
  min-height: 214px;
}

.feature-grid .card:nth-child(1) {
  border-top-color: rgba(98, 244, 255, 0.55);
}

.feature-grid .card:nth-child(2) {
  border-top-color: rgba(255, 79, 198, 0.55);
}

.feature-grid .card:nth-child(3) {
  border-top-color: rgba(184, 255, 104, 0.55);
}

.beta-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 28px;
  align-items: start;
}

.beta-layout .notice {
  margin-top: 0;
}

.notice h3 {
  margin-top: 0;
}

h2 {
  margin: 44px 0 12px;
  font-size: 1.15rem;
}

h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

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

ul {
  padding-left: 22px;
}

.meta {
  color: var(--subtle);
  font-size: 0.92rem;
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--subtle);
  font-size: 0.92rem;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
}

@media (max-width: 960px) {
  .home-page h1 {
    font-size: 4.8rem;
  }

  .hero-statement {
    font-size: 1.38rem;
  }

  .product-scene {
    right: -72px;
    width: 450px;
    opacity: 0.72;
  }

  .phone-login {
    width: 202px;
  }

  .phone-invite {
    width: 226px;
  }
}

@media (max-height: 820px) and (min-width: 721px) {
  .product-scene {
    width: 480px;
    height: 520px;
    top: 8px;
  }

  .phone-login {
    width: 204px;
    left: 50px;
  }

  .phone-invite {
    width: 230px;
    right: 34px;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(100% - 32px, 1120px);
  }

  nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 16px 0;
  }

  .links {
    justify-content: flex-start;
    gap: 10px 14px;
  }

  .hero {
    padding-top: 48px;
  }

  h1 {
    font-size: 2.7rem;
  }

  .home-hero {
    min-height: calc(100vh - 238px);
    min-height: calc(100svh - 238px);
  }

  .hero-layout {
    align-items: flex-start;
    padding: 34px 0 28px;
  }

  .hero-copy {
    width: 82%;
  }

  .home-page h1 {
    font-size: 3.45rem;
  }

  .hero-statement {
    max-width: 21rem;
    margin-top: 18px;
    font-size: 1.2rem;
  }

  .home-page .lede {
    max-width: 19rem;
    margin-top: 12px;
    font-size: 1rem;
  }

  .home-page .actions {
    max-width: 260px;
  }

  .home-page .button {
    width: 100%;
  }

  .product-scene {
    width: 310px;
    height: 390px;
    right: -72px;
    top: auto;
    bottom: -42px;
    opacity: 0.54;
  }

  .phone-login {
    width: 144px;
    left: 26px;
    bottom: 0;
  }

  .phone-invite {
    width: 158px;
    right: 24px;
    top: 8px;
  }

  .hero-notes {
    display: none;
  }

  .section-band,
  .vision-band,
  .beta-band {
    padding: 44px 0;
  }

  .section-heading h2,
  .vision-layout h2,
  .beta-layout h2 {
    max-width: 21rem;
    font-size: 1.45rem;
  }

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

  .feature-grid .card {
    min-height: auto;
  }

  .beta-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .vision-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-meta {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .links {
    font-size: 0.88rem;
  }

  .home-page h1 {
    font-size: 3.05rem;
  }

  .hero-copy {
    width: 88%;
  }

  .product-scene {
    right: -108px;
    opacity: 0.44;
  }
}
