@font-face {
  font-family: "IBM Plex Sans";
  src: url("assets/fonts/ibm-plex-sans-latin-variable.woff2") format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #08090b;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-deep: rgba(255, 255, 255, 0.065);
  --ink: #f3f3ef;
  --muted: #a7a7ae;
  --faint: #8c8c94;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --accent: #7aa0ff;
  --accent-hover: #5d88f8;
  --accent-solid: #2f5ee8;
  --accent-solid-hover: #254fce;
  --accent-soft: rgba(70, 110, 235, 0.16);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --max: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --sans: "IBM Plex Sans", "Segoe UI", "Liberation Sans", Arial, sans-serif;
  --mono: "IBM Plex Mono", "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--accent-solid);
  color: #fff;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

img {
  max-width: 100%;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
  text-decoration: none;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  width: min(calc(100% - (2 * var(--gutter))), var(--max));
  margin-inline: auto;
}

/* Ambient glass lighting */

.page-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: var(--bg);
  pointer-events: none;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 9, 11, 0.68);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 29px;
  height: 29px;
  flex: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 30px);
  font-size: 13px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 150ms ease;
}

.site-nav a:hover {
  color: var(--ink);
}

/* Type */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow-mark {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  flex: none;
}

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

h1,
h2 {
  font-weight: 500;
  letter-spacing: -0.045em;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(52px, 7vw, 96px);
  line-height: 0.9;
}

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

h2 {
  margin-bottom: 0;
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1;
}

/* Actions */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    color 150ms ease;
}

.button span {
  font-size: 14px;
  font-weight: 400;
  line-height: 0.8;
}

.button-primary {
  border-color: var(--accent-solid);
  background: var(--accent-solid);
  color: #fff;
}

.button-primary:hover {
  border-color: var(--accent-solid-hover);
  background: var(--accent-solid-hover);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.button-download {
  min-height: 48px;
  padding: 13px 20px;
  font-size: 14px;
}

.button-download img {
  width: 20px;
  height: 20px;
  flex: none;
}

/* Hero */

.hero {
  padding: clamp(64px, 8vw, 112px) 0 clamp(56px, 7vw, 96px);
}

.hero-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero h1 {
  margin: 24px 0 32px;
}

.hero-intro .actions {
  justify-content: center;
}

.hero-shot {
  margin: clamp(42px, 5vw, 64px) 0 0;
}

.shot-shell {
  overflow: hidden;
  padding: 7px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 30px 100px rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.shot-shell img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 5px;
  background: var(--bg);
}

/* Sections */

.section {
  padding: clamp(72px, 9vw, 120px) 0;
  border-top: 1px solid var(--line);
}

.section-raised {
  background: rgba(255, 255, 255, 0.018);
}

/* Aura */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.split-copy {
  min-width: 0;
}

.split-copy h2 {
  max-width: 12ch;
  margin-bottom: 20px;
}

.split-lede {
  max-width: 38ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.aura-shot {
  min-width: 0;
  margin: 0;
}

.aura-shot img {
  aspect-ratio: 1418 / 1373;
  object-fit: cover;
  object-position: top center;
}

/* Features */

.feature-head {
  margin-bottom: clamp(36px, 4vw, 52px);
}

.feature-head h2 {
  max-width: 14ch;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-grid li {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.feature-icon {
  width: 22px;
  height: 22px;
  margin-bottom: 22px;
  color: var(--accent);
}

.feature-grid h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.feature-grid p {
  max-width: 44ch;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Roadmap */

.roadmap-head {
  margin-bottom: clamp(36px, 4vw, 52px);
}

.roadmap-head h2 {
  max-width: 14ch;
}

.roadmap-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.roadmap-list li {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 24px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.5;
}

.roadmap-status {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.6;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.roadmap-list .in-progress .roadmap-status {
  color: var(--accent);
}

/* Project */

.open-section {
  background: rgba(255, 255, 255, 0.018);
}

.open-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(44px, 7vw, 96px);
  align-items: end;
}

.open-copy h2 {
  max-width: 12ch;
  margin-bottom: 20px;
}

.open-copy > p {
  max-width: 52ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
}

.open-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Footer */

.site-footer {
  padding: 26px 0 36px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  color: var(--faint);
  font-size: 12px;
}

.footer-inner .brand {
  justify-self: start;
  color: var(--ink);
  font-size: 13px;
}

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

.footer-inner p {
  margin: 0;
}

/* Responsive */

@media (max-width: 980px) {
  .split,
  .open-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .split-copy h2,
  .open-copy h2 {
    max-width: 17ch;
  }

  .aura-shot {
    max-width: 720px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 76px;
  }

  .header-inner {
    min-height: 62px;
  }

  .site-nav {
    gap: 18px;
  }

  .hero-shot img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: left top;
  }
}

@media (max-width: 620px) {
  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .roadmap-list li {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
    padding: 14px 0;
  }

  .footer-inner {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 46px;
  }

  .hero h1 {
    margin-top: 20px;
  }

  .actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .button {
    width: 100%;
  }

  .hero-shot img {
    aspect-ratio: 1.35 / 1;
  }
}

@media (max-width: 380px) {
  .header-inner {
    gap: 14px;
  }

  .brand {
    font-size: 14px;
  }

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

  .site-nav {
    gap: 12px;
    font-size: 12px;
  }
}

@media (prefers-contrast: more) {
  :root {
    --muted: #c7c7cd;
    --faint: #ababb2;
    --line: rgba(255, 255, 255, 0.24);
    --line-strong: rgba(255, 255, 255, 0.36);
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header,
  .shot-shell,
  .button-secondary {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .site-header,
  .button-secondary {
    background: #101116;
  }
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header,
  .button-secondary {
    background: #101116;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
