@font-face {
  font-family: Geist;
  src: url("assets/geist.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("assets/space-grotesk.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #080a13;
  --paper: #f6f6f2;
  --white: #fbfcff;
  --muted: #505564;
  --on-dark: #c1c6d7;
  --blue: #2947e9;
  --bright-blue: #8da2ff;
  --rule: #d8dae0;
  --display: "Space Grotesk", Arial, sans-serif;
  --body: Geist, Arial, sans-serif;
  --mono: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  --gutter: clamp(1.25rem, 5.3vw, 5.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.55 var(--body);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, p { margin: 0; }
h1, h2 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -.07em;
  line-height: .99;
}
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.masthead :focus-visible, .site-footer :focus-visible { outline-color: var(--bright-blue); }
.product :focus-visible, .about :focus-visible { outline-color: var(--blue); }
::selection { color: var(--white); background: var(--blue); }
.shell { width: min(100% - var(--gutter) * 2, 82rem); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 3;
  top: .75rem;
  left: .75rem;
  transform: translateY(-200%);
  padding: .75rem 1rem;
  background: var(--white);
  color: var(--ink);
}
.skip-link:focus { transform: none; }

.masthead, .site-footer { background: var(--ink); color: var(--white); }
.site-header { position: relative; z-index: 1; }
.header-row {
  min-height: 5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid #303341;
}
.brand {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  min-height: 2.75rem;
  font: 700 1.375rem/1 var(--display);
  letter-spacing: -.065em;
  white-space: nowrap;
}
.brand-labs { font-weight: 400; letter-spacing: -.055em; }
.brand-mark {
  display: inline-block;
  flex: none;
  width: 1.57rem;
  aspect-ratio: 1;
  background: currentColor;
  clip-path: polygon(0 96%, 0 35%, 24% 10%, 48% 34%, 75% 8%, 100% 33%, 100% 74%, 77% 97%, 77% 43%, 50% 69%, 24% 43%, 24% 74%);
}
.main-nav, .footer-row nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 3rem); }
.main-nav a, .footer-row nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--on-dark);
  font-size: .9375rem;
  font-weight: 500;
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-underline-offset: .3em;
  transition: color .2s, text-decoration-color .2s;
}
.main-nav a:hover, .footer-row nav a:hover { color: var(--white); text-decoration-color: var(--bright-blue); }
.header-action { justify-self: end; }

.button {
  display: inline-flex;
  width: fit-content;
  min-height: 3.125rem;
  justify-content: center;
  align-items: center;
  padding: .75rem 1.125rem;
  border: 1px solid transparent;
  border-radius: .375rem;
  font-size: .9375rem;
  font-weight: 650;
  line-height: 1.15;
  text-align: center;
  transition: color .2s, background-color .2s, border-color .2s, transform .2s;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(1px); }
.button-outline { min-height: 2.75rem; border-color: #4b5065; }
.button-outline:hover { background: #181d34; border-color: var(--bright-blue); }
.button-primary { background: var(--blue); color: var(--white); }
.button-primary:hover { background: #1b35c6; }

.hero { position: relative; isolation: isolate; overflow: clip; }
.hero-inner {
  display: flex;
  align-items: center;
  min-height: clamp(37rem, calc(100svh - 5rem), 56rem);
  padding-block: clamp(5rem, 10vw, 9rem);
}
.hero-copy {
  position: relative;
  z-index: 1;
  animation: enter .75s cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: .625rem;
  color: #454c63;
  font: 500 .8125rem/1.4 var(--mono);
  letter-spacing: .09em;
  text-transform: uppercase;
}
.signal { width: .5rem; height: .5rem; flex: none; background: var(--blue); }
.hero .eyebrow { color: #d0d6ed; }
.hero .signal { background: var(--bright-blue); }
.hero h1 { margin-top: 1.25rem; font-size: clamp(3.5rem, 7.3vw, 7rem); }
.hero-description {
  max-width: 23rem;
  margin-top: 1.6rem;
  color: var(--on-dark);
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
}
.hero .button { margin-top: 2rem; }
.hero-art {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 34%;
  overflow: hidden;
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 52%; }
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(8, 10, 19, .8) 15%, transparent 53%),
    linear-gradient(0deg, var(--ink) 0%, transparent 22%, transparent 89%, rgba(8, 10, 19, .66) 100%);
}

.product {
  background: var(--paper);
  color: var(--ink);
  padding-block: clamp(5rem, 10vw, 10rem);
}
.product-inner, .about-inner {
  display: grid;
  align-items: center;
  gap: clamp(2.75rem, 6vw, 6.5rem);
}
.product-inner { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
.product h2 {
  margin-top: .85rem;
  font-size: clamp(3.6rem, 7vw, 7rem);
}
.product h2 span { color: var(--blue); }
.product-copy .product-description {
  margin-top: 1.5rem;
  color: var(--ink);
  font-size: clamp(1.3rem, 2.15vw, 1.85rem);
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: -.04em;
  max-width: 24rem;
}
.product-copy > p + p, .about-copy > p + p { margin-top: 1rem; }
.product-copy > p:not(.eyebrow, .product-description), .about-copy > p:not(.eyebrow) {
  max-width: 37rem;
  color: var(--muted);
  font-size: 1.0625rem;
}
.product-copy .button { margin-top: 1.75rem; }

.product-demo {
  min-width: 0;
  padding: clamp(.65rem, 1.55vw, 1.2rem);
  background: #e3e8f7;
  border: 1px solid #ced6ef;
  border-radius: .75rem;
}
.demo-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .375rem;
  margin-bottom: .75rem;
}
.demo-controls button {
  min-height: 2.75rem;
  border: 1px solid transparent;
  border-radius: .375rem;
  padding: .35rem .25rem;
  display: grid;
  place-items: center;
  background: transparent;
  color: #374466;
  cursor: pointer;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.2;
  transition: background-color .2s, color .2s, border-color .2s;
}
.demo-controls button:hover { background: #f2f5ff; color: #192854; }
.demo-controls button[aria-pressed="true"] { background: var(--white); border-color: #bac7e7; color: #172555; }
.demo-window {
  overflow: hidden;
  aspect-ratio: 16/10;
  background: #eef2ed;
  border: 1px solid #b1bdd7;
  border-radius: .375rem;
}
.demo-screen { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.about {
  background: #eef1fa;
  color: var(--ink);
  border-top: 1px solid #dbe0ef;
  padding-block: clamp(5rem, 9vw, 9rem);
}
.about-inner { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.about-art {
  display: grid;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  place-items: center;
  min-height: 17.5rem;
  aspect-ratio: 4 / 3;
  background: #121e78;
  color: #dbe3ff;
  border-radius: .75rem;
}
.about-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(90deg, #b8c5ff29 1px, transparent 1px),
    linear-gradient(#b8c5ff29 1px, transparent 1px);
  background-position: center;
  background-size: 10% 12.5%;
}
.about-art .brand-mark { width: 38%; filter: drop-shadow(0 0 26px #bfd0ff45); }
.about-copy h2 {
  max-width: 13ch;
  margin-block: .9rem 1.5rem;
  font-size: clamp(2.7rem, 5vw, 5.25rem);
}
.footer-row {
  min-height: 6.25rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding-block: 1rem;
}
.footer-row small { color: var(--on-dark); font-size: .8125rem; }
.footer-row nav { justify-self: end; }

@media (max-width: 56rem) {
  .header-row { grid-template-columns: 1fr auto; min-height: 4.5rem; }
  .header-action { display: none; }
  .product-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr); gap: 2.25rem; }
  .about-inner { gap: 2.25rem; }
  .hero-inner { min-height: clamp(34rem, calc(88svh - 4.5rem), 48rem); }
}
@media (max-width: 44rem) {
  .hero-inner {
    min-height: max(35rem, calc(100svh - 4.5rem));
    align-items: flex-start;
    padding-block: 3.75rem 15rem;
  }
  .hero-art { inset: 33% 0 0; }
  .hero-art img { object-position: 58% 50%; }
  .hero-art::after {
    background: linear-gradient(180deg, var(--ink) 0%, rgba(8, 10, 19, .45) 27%, transparent 53%, rgba(8, 10, 19, .2) 100%);
  }
  .hero h1 { font-size: clamp(2.85rem, 10.7vw, 4.8rem); }
  .hero-description { margin-top: 1.25rem; max-width: 19rem; }
  .hero .button { margin-top: 1.5rem; }
  .product-inner, .about-inner { grid-template-columns: 1fr; }
  .about-copy { grid-row: 1; }
  .about-art { min-height: auto; aspect-ratio: 4 / 3; }
  .footer-row { grid-template-columns: 1fr auto; gap: .25rem .75rem; }
  .footer-row small { grid-row: 2; grid-column: 1 / -1; }
}
@media (max-width: 24rem) {
  .brand { font-size: 1.16rem; gap: .375rem; }
  .brand-mark { width: 1.3rem; }
  .main-nav, .footer-row nav { gap: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}
