@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: dark;
  --bg: #000;
  --bg-soft: #101012;
  --fg: #f5f5f6;
  --muted: #99999f;
  --border: rgba(255, 255, 255, 0.1);
  --font-body: "Sora", "Segoe UI", sans-serif;
  --font-heading: "Sora", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 280px;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body::selection {
  background: #f5f5f6;
  color: #070708;
}

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

button {
  font: inherit;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible, a:focus-visible {
  outline: 2px solid #f4f4f5;
  outline-offset: 5px;
}

.container {
  width: min(100% - 96px, 1260px);
  margin-inline: auto;
}

.site-shell {
  position: relative;
  min-height: 200svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.secondary-page {
  min-height: 100svh;
}

.page-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: calc(112px + env(safe-area-inset-top, 0px)) 64px;
}

.page-content h1 {
  margin: 22px 0;
  font-size: clamp(42px, 8vw, 80px);
  letter-spacing: -.06em;
}

.page-content p {
  max-width: 450px;
  color: #aaa;
  font-size: 15px;
  line-height: 1.8;
}

.page-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 20px;
  font-size: 13px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  color: #999;
  font-size: 12px;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: color .2s ease;
}

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

.ascii-background {
  position: absolute;
  inset: 0 0 auto;
  height: 100svh;
  overflow: hidden;
  pointer-events: none;
  background: var(--bg);
  /* A broad elliptical fade preserves the arch against the black page. */
  mask-image: radial-gradient(ellipse 105% 96% at 50% 0%,
    #000 0%,
    #000 18%,
    rgba(0, 0, 0, .94) 30%,
    rgba(0, 0, 0, .77) 45%,
    rgba(0, 0, 0, .5) 60%,
    rgba(0, 0, 0, .24) 75%,
    rgba(0, 0, 0, .07) 88%,
    rgba(0, 0, 0, .015) 95%,
    transparent 100%);
}

.ascii-background canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: .65;
}

.intro {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(100px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 100px max(16px, env(safe-area-inset-left, 0px));
}

.learn-more {
  position: absolute;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #999;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  padding: 8px 16px;
  min-height: 44px;
  cursor: pointer;
  transition: opacity .25s ease, visibility .25s ease;
}

.learn-more.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.below-ascii {
  min-height: 70svh;
  display: grid;
  align-items: center;
  padding-block: 100px;
  scroll-margin-top: calc(76px + env(safe-area-inset-top, 0px));
}

.beta-content {
  text-align: center;
}

.beta-content h2 {
  margin: 0 0 20px;
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.05em;
}

.beta-content p {
  max-width: 480px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.intro-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(24px, 4vw, 36px);
}

.purchase-button {
  min-height: 38px;
  padding: 9px 20px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  background: #f5f5f6;
  color: #111;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.purchase-button:hover {
  background: #ddd;
  transform: translateY(-2px);
}

.intro-brand {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 24px);
}

.intro-brand img {
  display: block;
  width: clamp(64px, 12vw, 128px);
  height: auto;
  object-fit: contain;
}

.intro-brand h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(44px, 8vw, 96px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.06em;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: -80px;
  left: 18px;
  padding: 12px 18px;
  border-radius: 8px;
  background: white;
  color: black;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid rgba(255,255,255,.025);
  background: #000;
  padding-top: env(safe-area-inset-top, 0px);
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .19em;
}

.brand img {
  display: block;
  width: 43px;
  height: 43px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 39px;
  margin-left: 0;
}

.nav-link {
  color: #8f8f94;
  font-size: 13px;
  font-weight: 600;
  transition: color .2s ease;
}

.nav-link:hover, .nav-link.active {
  color: #f8f8f8;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #f5f5f6;
  color: #121214;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s ease;
}

.login-button:hover {
  background: #d9d9dd;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 722px;
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr);
  align-items: center;
  padding-bottom: 68px;
}

.hero::before {
  position: absolute;
  content: "";
  z-index: -1;
  width: 850px;
  height: 680px;
  right: -270px;
  top: 0;
  background: radial-gradient(ellipse at center, rgba(42,42,49,.16), transparent 67%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 24px;
}

.eyebrow, .section-marker {
  font-family: var(--font-heading);
  color: #9c9ca3;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .19em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 29px;
}

.eyebrow-line {
  display: block;
  width: 28px;
  height: 1px;
  background: #d8d8de;
}

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

h1, h2 {
  font-family: var(--font-heading);
}

h1 {
  margin-bottom: 25px;
  font-size: clamp(56px, 6.1vw, 91px);
  font-weight: 800;
  line-height: 1.065;
  letter-spacing: -.072em;
  white-space: nowrap;
}

h1 span, .about-content h2 span {
  color: #78787e;
}

.hero-description {
  max-width: 460px;
  margin-bottom: 35px;
  color: #a2a2a9;
  font-size: 16px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.primary-button {
  display: inline-flex;
  min-height: 51px;
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding: 0 20px;
  border-radius: 7px;
  background: #f6f6f7;
  color: #121214;
  font-size: 13px;
  font-weight: 700;
  transition: background .2s ease, transform .2s ease;
}

.primary-button:hover {
  transform: translateY(-2px);
  background: #d9d9dd;
}

.primary-button span {
  font-size: 17px;
  font-weight: 400;
}

.hero-note {
  color: #77777f;
  font-size: 12px;
}

.hero-visual {
  position: relative;
  display: grid;
  height: 580px;
  min-width: 0;
  place-items: center;
  isolation: isolate;
}

.visual-halo {
  position: absolute;
  width: min(100%, 490px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(148,148,154,.11) 0%, rgba(73,73,78,.06) 36%, transparent 70%);
  filter: blur(22px);
}

.visual-ring {
  position: absolute;
  border: 1px solid rgba(255,255,255,.065);
  border-radius: 50%;
}

.visual-ring-outer {
  width: 530px;
  height: 530px;
}

.visual-ring-inner {
  width: 390px;
  height: 390px;
  border-color: rgba(255,255,255,.035);
}

.hero-logo {
  position: relative;
  z-index: 2;
  display: block;
  width: min(116%, 620px);
  max-width: none;
  height: auto;
  filter: drop-shadow(0 0 23px rgba(255,255,255,.055));
  transform: translate(4px, -10px);
}

.visual-label {
  position: absolute;
  color: #77777e;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
}

.visual-label-top {
  top: 50px;
  right: 0;
}

.visual-label-bottom {
  bottom: 38px;
  left: 9px;
}

.hero-bottom {
  position: absolute;
  inset: auto 0 30px;
  display: flex;
  align-items: center;
  gap: 23px;
  color: #686870;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
}

.hero-bottom-line {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.075);
}

.about-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #0b0b0d;
  scroll-margin-top: 20px;
}

.about-inner {
  display: grid;
  grid-template-columns: .75fr 2fr;
  gap: 48px;
  padding-block: 125px;
}

.about-inner .section-marker {
  margin-top: 13px;
}

.about-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  gap: 44px;
  align-items: end;
}

.about-content h2 {
  margin: 0;
  font-size: clamp(38px, 4.2vw, 59px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.065em;
}

.about-content p {
  max-width: 385px;
  margin-bottom: 2px;
  color: #9898a0;
  font-size: 14px;
  line-height: 1.9;
}

.updates-section {
  padding-block: 94px 106px;
  scroll-margin-top: 20px;
}

.updates-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  min-height: 275px;
  padding: 52px 65px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 13px;
  background: linear-gradient(112deg, #141416, #0e0e10 72%);
}

.updates-card::after {
  position: absolute;
  content: "";
  inset: 0;
  background: radial-gradient(circle at 95% 70%, rgba(255,255,255,.055), transparent 45%);
  pointer-events: none;
}

.updates-copy {
  position: relative;
  z-index: 1;
  max-width: 570px;
}

.updates-copy .section-marker {
  margin-bottom: 23px;
}

.updates-copy h2 {
  margin-bottom: 13px;
  font-size: clamp(30px, 3.3vw, 45px);
  line-height: 1.15;
  letter-spacing: -.06em;
}

.updates-copy p {
  max-width: 490px;
  margin-bottom: 0;
  color: #94949b;
  font-size: 14px;
  line-height: 1.8;
}

.updates-symbol {
  position: absolute;
  top: 12px;
  right: 70px;
  color: rgba(255,255,255,.052);
  font-family: var(--font-heading);
  font-size: 215px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.1em;
  user-select: none;
}

.updates-symbol span {
  color: rgba(255,255,255,.09);
}

.site-footer {
  margin-top: auto;
  background: #000;
  border-top: 1px solid var(--border);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.footer-inner {
  display: flex;
  min-height: 118px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.04em;
}

.footer-brand img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.footer-inner p, .back-to-top {
  margin: 0;
  color: #74747c;
  font-size: 12px;
}

.back-to-top {
  transition: color .2s ease;
}

.back-to-top:hover {
  color: white;
}

@media (max-width: 1100px) {
  .container {
    width: min(100% - 64px, 1260px);
  }

  .site-nav {
    gap: 25px;
    margin-left: 0;
  }

  .hero {
    min-height: 680px;
    grid-template-columns: 1fr .9fr;
  }

  h1 {
    font-size: clamp(50px, 6.1vw, 72px);
  }

  .hero-visual {
    height: 500px;
  }

  .visual-ring-outer {
    width: 430px;
    height: 430px;
  }

  .visual-ring-inner {
    width: 320px;
    height: 320px;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 35px;
  }
}

@media (max-width: 760px) {
  .login-button {
    min-height: 44px;
  }

  .container {
    width: min(100% - 42px, 1260px);
  }

  .header-inner {
    height: 64px;
  }

  .brand {
    font-size: 16px;
  }

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


  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 12px 21px 18px;
    border-bottom: 1px solid var(--border);
    background: #0e0e10;
    box-shadow: 0 22px 38px rgba(0,0,0,.3);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-link {
    padding: 14px 4px;
    font-size: 14px;
  }

  .menu-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 15px;
    height: 1.5px;
    border-radius: 2px;
    background: #f2f2f3;
    transition: transform .2s ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.25px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.25px) rotate(-45deg);
  }

  .hero {
    display: flex;
    min-height: unset;
    flex-direction: column;
    align-items: stretch;
    padding-top: 75px;
    padding-bottom: 96px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  h1 {
    font-size: clamp(47px, 10vw, 75px);
  }

  .hero-description {
    max-width: 480px;
    font-size: 15px;
  }

  .hero-visual {
    height: 390px;
    margin-top: 15px;
  }

  .hero-logo {
    width: min(100%, 470px);
  }

  .visual-ring-outer {
    width: 365px;
    height: 365px;
  }

  .visual-ring-inner {
    width: 265px;
    height: 265px;
  }

  .visual-label-top {
    top: 11px;
  }

  .visual-label-bottom {
    bottom: 8px;
  }

  .hero-bottom {
    bottom: 32px;
  }

  .about-inner {
    padding-block: 81px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 21px;
  }

  .about-content p {
    max-width: 540px;
  }

  .updates-section {
    padding-block: 62px 75px;
  }

  .updates-card {
    min-height: 265px;
    padding: 35px 30px;
  }

  .updates-symbol {
    top: 70px;
    right: 7px;
    font-size: 150px;
  }

  .updates-copy {
    max-width: 440px;
  }

  .footer-inner {
    min-height: 115px;
    flex-wrap: wrap;
    padding-block: 25px;
  }
}

@media (max-width: 430px) {

  h1 {
    font-size: clamp(44px, 11.5vw, 54px);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }

  .hero-visual {
    height: 320px;
    margin-top: 24px;
  }

  .visual-ring-outer {
    width: 295px;
    height: 295px;
  }

  .visual-ring-inner {
    width: 225px;
    height: 225px;
  }

  .hero-bottom {
    gap: 10px;
    font-size: 9px;
  }

  .updates-symbol {
    opacity: .5;
  }

  .footer-inner {
    column-gap: 10px;
  }

  .footer-inner p {
    order: 3;
    flex-basis: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ascii-background {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
