/* Orbs website, design v2: clean neutrals, Geist, and the orb colors as the only accents.
   Day or night follows the system preference, or the choice made with the switch. */

@font-face {
  font-family: 'Geist';
  src: url('fonts/geist.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'Geist Mono';
  src: url('fonts/geist-mono.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --plasma: #7c4dff;
  --plasma-2: #c9b8ff;
  --plasma-hover: #6a3bf0;
  --mint: #2ee59d;
  --sky: #4cc9ff;
  --sun: #ffc53d;
  --void: #14121f;

  --bg: #0b0a12;
  --side: #13111d;
  --surface: #13111d;
  --card: #181624;
  --raised: #1f1c2e;
  --sel: #241e3d;
  --chip: #241e3d;
  --line: #262338;
  --line2: #262338;
  --muted: #9d99b4;
  --text: #f5f4fa;
  --accent-text: #b9a6ff;
  --ok: #2ee59d;
  --ok-bg: #112a22;
  --wash-plasma: #1e1838;
  --wash-mint: #112a22;
  --wash-sky: #10273a;
  --wash-sun: #2d2410;
  --wash-gum: #30142a;
  --shadow: rgba(0, 0, 0, 0.8);
  --invert: #f5f4fa;
  --invert-text: #0b0a12;
  --invert-line: rgba(11, 10, 18, 0.25);

  --font-display: 'Geist', system-ui, sans-serif;
  --font-body: 'Geist', system-ui, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, monospace;
  color-scheme: dark;
}

/* Day: when the system prefers light and no choice is stored, or when light is picked with the switch. */
@media (prefers-color-scheme: light) {
  :root:not([data-theme='dark']) {
    --bg: #fdfdfd;
    --side: #f6f5f9;
    --surface: #f6f5f9;
    --card: #ffffff;
    --raised: #f1f0f6;
    --sel: #f0ebff;
    --chip: #f0ebff;
    --line: #eceaf2;
    --line2: #eceaf2;
    --muted: #67647c;
    --text: #14121f;
    --accent-text: #5b2ee0;
    --ok: #0b7a50;
    --ok-bg: #e3faf0;
    --wash-plasma: #f0ebff;
    --wash-mint: #e3faf0;
    --wash-sky: #e4f6ff;
    --wash-sun: #fff5d9;
    --wash-gum: #ffe9f5;
    --shadow: rgba(20, 18, 31, 0.35);
    --invert: #14121f;
    --invert-text: #fdfdfd;
    --invert-line: rgba(253, 253, 253, 0.25);
    color-scheme: light;
  }
}

:root[data-theme='light'] {
  --bg: #fdfdfd;
  --side: #f6f5f9;
  --surface: #f6f5f9;
  --card: #ffffff;
  --raised: #f1f0f6;
  --sel: #f0ebff;
  --chip: #f0ebff;
  --line: #eceaf2;
  --line2: #eceaf2;
  --muted: #67647c;
  --text: #14121f;
  --accent-text: #5b2ee0;
  --ok: #0b7a50;
  --ok-bg: #e3faf0;
  --wash-plasma: #f0ebff;
  --wash-mint: #e3faf0;
  --wash-sky: #e4f6ff;
  --wash-sun: #fff5d9;
  --wash-gum: #ffe9f5;
  --shadow: rgba(20, 18, 31, 0.35);
  --invert: #14121f;
  --invert-text: #fdfdfd;
  --invert-line: rgba(253, 253, 253, 0.25);
  color-scheme: light;
}

/* Base */

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

html {
  scroll-behavior: smooth;
}

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

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

a:focus-visible,
button:focus-visible,
summary:focus-visible,
.tab-input:focus-visible + .tab {
  outline: 2px solid var(--plasma);
  outline-offset: 2px;
}

img,
svg {
  max-width: 100%;
}

code,
.mono {
  font-family: var(--font-mono);
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 15px;
}

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

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 10;
  padding: 8px 16px;
  border-radius: 10px;
  background: var(--card);
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.narrow {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 640px) {
  .wrap,
  .narrow {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Orb mascot */

.orb {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.orb svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.orb-glow {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  opacity: 0.55;
}

.orb-float svg {
  animation: orb-bob 2.8s ease-in-out infinite;
}

@keyframes orb-bob {
  50% {
    transform: translateY(-6%);
  }
}

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

  .orb-float svg {
    animation: none;
  }
}

/* Type */

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.display-2 {
  margin: 0;
  font-weight: 600;
  font-size: clamp(36px, 5.5vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.h2 {
  margin: 0;
  font-weight: 600;
  font-size: clamp(30px, 4.2vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.h3 {
  margin: 0;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0;
  max-width: 580px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-text);
}

.fineprint {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* Buttons and small parts */

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

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.button:hover {
  border-color: var(--muted);
}

.button.primary {
  border-color: var(--plasma);
  background: var(--plasma);
  color: #ffffff;
  font-weight: 600;
}

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

.button.inverse {
  border-color: var(--text);
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
}

.button.small {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 14px;
}

.button.large {
  min-height: 52px;
  padding: 0 24px;
  font-size: 16px;
}

.button.glow {
  box-shadow: none;
}

.tag {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--accent-text);
  font-size: 12px;
  font-weight: 600;
}

.tag {
  font-family: var(--font-mono);
  font-weight: 500;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.strong-link {
  font-weight: 600;
}

/* Cards */

.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--card);
}

.card p {
  margin: 0;
}

.card.borderless {
  border-color: var(--line);
}

.card-title {
  font-size: 17px;
  letter-spacing: -0.01em;
}

.wash-plasma {
  background: var(--wash-plasma);
}

.wash-mint {
  background: var(--wash-mint);
}

.wash-sky {
  background: var(--wash-sky);
}

.link-card {
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}

.link-card:hover {
  border-color: var(--muted);
}

.small-card {
  padding: 20px;
  border-radius: 18px;
  gap: 8px;
}

.icon-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: var(--void);
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--void);
  font-family: var(--font-mono);
  font-weight: 600;
}

.checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checks li {
  display: flex;
  gap: 10px;
}

.checks .icon {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--ok);
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 16px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.wide-cards {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 20px;
}

/* Header */

.announce {
  display: block;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  text-align: center;
  text-decoration: none;
}

.announce span {
  color: var(--accent-text);
  font-weight: 600;
}

.site-header {
  background: var(--bg);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.main-nav a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a[aria-current='page'] {
  color: var(--text);
}

.header-actions {
  display: flex;
  gap: 8px;
}

@media (max-width: 1000px) {
  .main-nav {
    order: 3;
    width: 100%;
    margin: 0 -14px;
  }
}

@media (max-width: 640px) {
  .header-inner {
    padding: 14px 16px;
  }

  .header-actions .ghost {
    display: none;
  }

  .main-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    margin: 0 -16px;
    padding: 0 6px;
    width: calc(100% + 32px);
  }

  .main-nav a {
    white-space: nowrap;
  }
}

/* Footer */

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

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 36px;
}

.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-about {
  display: flex;
  flex: 2 1 240px;
  flex-direction: column;
  gap: 10px;
}

.footer-brand {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.04em;
}

.footer-about p {
  max-width: 280px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.footer-col {
  display: flex;
  flex: 1 1 140px;
  flex-direction: column;
  gap: 9px;
}

.footer-title {
  font-size: 13px;
  font-weight: 600;
}

.footer-col a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 640px) {
  .footer-inner {
    padding: 48px 16px 24px;
  }
}

/* Terminal */

.terminal {
  min-width: 0;
  margin: 0;
  overflow-x: auto;
  padding: 20px 22px;
  border-radius: 16px;
  border: 1px solid #262338;
  background: #0b0a12;
  color: #f5f4fa;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.8;
}

.terminal code {
  font-size: inherit;
}

.t-dim {
  color: #9d99b4;
}

.t-ok {
  color: #2ee59d;
}

.t-link {
  color: #b9a6ff;
}

/* Inner pages */

.page {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-top: 72px;
  padding-bottom: 96px;
}

.narrow-page {
  max-width: 1104px;
}

.page-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.page-hero > div {
  display: flex;
  flex: 1 1 480px;
  flex-direction: column;
  gap: 16px;
}

.page-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 760px;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tabs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  align-self: flex-start;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.tab-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tab {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 9px;
  color: var(--muted);
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
}

.tab-input:checked + .tab {
  background: var(--card);
  color: var(--text);
  box-shadow: 0 1px 2px rgba(20, 18, 31, 0.08);
}

.tabs .terminal {
  padding: 24px 26px;
  border-radius: 20px;
  font-size: 15px;
  line-height: 1.9;
}

.help-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.help-row > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.numbered {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.panel p {
  margin: 0;
}

.file-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 10px;
}

.file {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
  font-size: 13px;
  text-decoration: none;
}

.file .mono {
  color: var(--accent-text);
  font-size: 14px;
}

.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 620px;
  padding: 80px 16px;
  text-align: center;
}

.not-found .lead {
  max-width: 460px;
}

/* Docs, policies and changelog */

.with-sidebar {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 56px;
  padding-top: 56px;
  padding-bottom: 96px;
}

.side-nav {
  position: sticky;
  top: 16px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  font-size: 15px;
}

.side-title {
  padding: 0 12px 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.side-nav a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 6px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
}

.side-nav a:hover {
  color: var(--text);
}

.side-nav a[aria-current='page'] {
  background: var(--chip);
  color: var(--text);
}

.side-nav summary {
  margin-top: 14px;
  padding: 6px 12px;
  font-weight: 600;
  cursor: pointer;
}

.side-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.side-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 18px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 13px;
  line-height: 1.5;
}

.side-box strong {
  font-size: 14px;
  font-weight: 600;
}

.side-box a {
  display: inline;
  min-height: 0;
  padding: 0;
  overflow-wrap: anywhere;
  color: var(--accent-text);
}

@media (max-width: 860px) {
  .with-sidebar {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-top: 32px;
  }

  .side-nav {
    position: static;
    max-height: none;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid var(--line);
  }

  .side-box {
    display: none;
  }
}

.narrow-page > .prose {
  max-width: 820px;
  padding-top: 56px;
  padding-bottom: 96px;
}

.prose {
  min-width: 0;
  max-width: 820px;
}

.prose h1 {
  margin: 0 0 24px;
  font-weight: 600;
  font-size: clamp(32px, 5vw, 44px);
  letter-spacing: -0.04em;
}

.prose h2 {
  margin: 44px 0 12px;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.prose h3 {
  margin: 28px 0 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.prose p,
.prose li {
  line-height: 1.7;
}

.prose li {
  margin: 4px 0;
}

.prose .anchor {
  float: left;
  margin-left: -0.9em;
  padding-right: 0.2em;
  color: var(--muted);
  text-decoration: none;
  opacity: 0;
}

.prose :is(h1, h2, h3, h4):hover .anchor {
  opacity: 1;
}

.prose :not(pre) > code {
  overflow-wrap: anywhere;
  padding: 2px 6px;
  border-radius: 5px;
  border: 0;
  background: var(--chip);
  color: var(--accent-text);
  font-size: 0.88em;
}

.prose pre {
  overflow-x: auto;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 14px;
  line-height: 1.6;
}

.prose blockquote {
  margin: 16px 0;
  padding: 4px 16px;
  border-left: 2px solid var(--line);
  color: var(--muted);
}

.prose img {
  max-width: 100%;
}

.prose .table {
  overflow-x: auto;
  margin: 16px 0;
}

.prose table {
  min-width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.prose th,
.prose td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose th:empty {
  display: none;
}

.prose pre.mermaid {
  display: flex;
  justify-content: center;
}

.prose .updated {
  margin: 0 0 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
}

.prose .callout {
  margin: 0 0 8px;
  padding: 4px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.prose .license-text {
  white-space: pre-wrap;
  font-size: 13px;
}

.edit {
  margin-top: 48px;
  font-size: 15px;
}

.card > .button {
  align-self: flex-start;
}

/* Light/dark switch */

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.theme-toggle:hover {
  border-color: var(--muted);
}

.theme-toggle .icon-moon {
  display: none;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme='dark']) .theme-toggle .icon-sun {
    display: none;
  }

  :root:not([data-theme='dark']) .theme-toggle .icon-moon {
    display: block;
  }
}

:root[data-theme='light'] .theme-toggle .icon-sun {
  display: none;
}

:root[data-theme='light'] .theme-toggle .icon-moon {
  display: block;
}

/* Home, design v2 */

.v2-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.v2-pad {
  padding-bottom: 96px;
}

.v2-section {
  padding-bottom: 104px;
}

.v2-section-y {
  padding-top: 96px;
  padding-bottom: 96px;
}

.v2-mono {
  font-family: var(--font-mono);
  font-size: 14px;
}

.v2-dim {
  color: var(--muted);
}

.v2-strong {
  font-size: 15px;
  font-weight: 600;
}

.v2-strong-text {
  color: var(--text);
}

.v2-label {
  padding: 4px 10px 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.v2-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* Buttons */

.v2-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.v2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}

.v2-btn-small {
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 14px;
}

.v2-btn-primary {
  background: var(--plasma);
  color: #ffffff;
}

.v2-btn-primary:hover {
  background: var(--plasma-hover);
}

.v2-btn-quiet {
  border-color: var(--line);
  background: var(--card);
  color: var(--text);
  font-weight: 500;
}

.v2-btn-quiet:hover {
  border-color: var(--muted);
}

.v2-btn-small.v2-btn-quiet {
  background: transparent;
}

.v2-btn-solid {
  background: var(--text);
  color: var(--bg);
}

.v2-btn-solid:hover {
  opacity: 0.88;
}

/* Hero */

.v2-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
  padding: 88px 24px 56px;
  text-align: center;
}

.v2-hero-orbs {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin-bottom: 8px;
}

.v2-display {
  margin: 0;
  font-weight: 600;
  font-size: clamp(40px, 6.5vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.v2-lead {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
}

.v2-fine {
  color: var(--muted);
  font-size: 14px;
}

/* Product showcase */

.v2-showcase {
  padding: 12px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 40px 80px -48px var(--shadow);
}

.v2-app {
  display: flex;
  flex-wrap: wrap;
  min-height: 540px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--card);
}

.v2-app-side,
.v2-app-activity {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.v2-app-side {
  flex: 1 1 230px;
  max-width: 260px;
  gap: 4px;
  padding: 16px 12px;
  border-right: 1px solid var(--line);
}

.v2-roster {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
}

.v2-roster.is-active {
  background: var(--chip);
}

.v2-roster-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  line-height: 1.35;
}

.v2-roster-text span:first-child {
  font-size: 14px;
  font-weight: 600;
}

.v2-roster-text span:last-child {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v2-roster .v2-dot {
  width: 7px;
  height: 7px;
}

.v2-app-main {
  display: flex;
  flex: 999 1 420px;
  flex-direction: column;
  min-width: 0;
}

.v2-app-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.v2-tag {
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--surface);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.v2-app-chat {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
}

.v2-bubble {
  align-self: flex-end;
  max-width: 70%;
  padding: 11px 15px;
  border-radius: 16px 16px 4px 16px;
  background: var(--surface);
  font-size: 15px;
  line-height: 1.5;
}

.v2-answer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.v2-answer-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  line-height: 1.6;
}

.v2-code {
  padding: 1px 6px;
  border-radius: 5px;
  background: var(--chip);
  color: var(--accent-text);
  font-family: var(--font-mono);
  font-size: 13px;
}

.v2-draft {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--muted);
  font-size: 14px;
}

.v2-draft b {
  color: var(--text);
  font-weight: 600;
}

.v2-cites {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}

.v2-cites span {
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
}

.v2-app-input {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  margin: 0 20px 20px;
  padding: 0 6px 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.v2-app-input > span:first-child {
  flex: 1;
}

.v2-send {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--plasma);
  color: #ffffff;
}

.v2-app-activity {
  flex: 1 1 240px;
  max-width: 280px;
  gap: 12px;
  padding: 18px 16px;
  border-left: 1px solid var(--line);
}

.v2-app-activity .v2-label {
  padding: 0;
}

.v2-act {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.45;
}

.v2-act-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
}

.v2-act-icon.is-ok {
  background: #2ee59d;
  color: #14121f;
}

.v2-act-icon.is-dim {
  background: var(--line);
  color: var(--muted);
}

@media (max-width: 900px) {
  .v2-app-side,
  .v2-app-activity {
    max-width: none;
    border: 0;
  }

  .v2-app-side {
    order: 2;
    border-top: 1px solid var(--line);
  }

  .v2-app-activity {
    order: 3;
    border-top: 1px solid var(--line);
  }
}

/* Sections */

.v2-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.v2-h2 {
  margin: 0;
  font-weight: 600;
  font-size: clamp(32px, 4.4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.v2-sub {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.v2-body {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.v2-eyebrow {
  color: var(--accent-text);
  font-family: var(--font-mono);
  font-size: 13px;
}

.v2-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--card);
}

.v2-jobs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 14px;
}

.v2-job {
  padding: 20px;
}

.v2-wash {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  border-radius: 12px;
}

.v2-wash-1 {
  background: var(--wash-plasma);
}

.v2-wash-2 {
  background: var(--wash-mint);
}

.v2-wash-3 {
  background: var(--wash-sun);
}

.v2-wash-4 {
  background: var(--wash-sky);
}

.v2-wash-5 {
  background: var(--wash-gum);
}

.v2-job-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.v2-job-text {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.v2-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.v2-band .v2-split {
  padding-top: 96px;
  padding-bottom: 96px;
}

.v2-split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
}

.v2-split-reverse {
  flex-wrap: wrap-reverse;
}

.v2-split-text {
  display: flex;
  flex: 1 1 400px;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.v2-models {
  display: flex;
  flex: 1 1 460px;
  flex-wrap: wrap;
  gap: 10px;
}

.v2-model {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
  font-size: 15px;
  font-weight: 500;
}

.v2-model .v2-dim {
  font-size: 12px;
}

.v2-sources {
  flex: 1 1 460px;
  min-width: 0;
  padding: 8px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--card);
}

.v2-source {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.v2-source:last-child {
  border-bottom: 0;
}

.v2-source-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.v2-source-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  line-height: 1.45;
}

.v2-source-text span:first-child {
  font-size: 15px;
  font-weight: 600;
}

.v2-source-text span:last-child {
  color: var(--muted);
  font-size: 13px;
}

.v2-switch {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: flex-start;
  width: 40px;
  height: 24px;
  padding: 3px;
  box-sizing: border-box;
  border-radius: 999px;
  background: var(--line);
}

.v2-switch.is-on {
  justify-content: flex-end;
  background: var(--plasma);
}

.v2-switch span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.v2-faces {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 56px clamp(20px, 4vw, 40px);
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: center;
}

.v2-faces-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: 18px;
}

.v2-faces-text {
  max-width: 520px;
}

.v2-platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 14px;
}

.v2-platform {
  padding: 28px;
  border-radius: 20px;
}

.v2-platform-kicker {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.v2-platform-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.v2-platform-text {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.v2-cmd {
  overflow-x: auto;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.v2-invert {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: clamp(32px, 5vw, 56px) clamp(24px, 4vw, 48px);
  border-radius: 28px;
  background: var(--invert);
  color: var(--invert-text);
}

.v2-invert-text {
  display: flex;
  flex: 1 1 420px;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.v2-invert-kicker {
  color: inherit;
  opacity: 0.7;
}

.v2-invert-body {
  color: inherit;
  opacity: 0.75;
}

.v2-invert-actions {
  display: flex;
  flex: 1 1 300px;
  flex-direction: column;
  gap: 10px;
}

.v2-invert-actions .v2-btn {
  height: 50px;
}

.v2-btn-invert {
  background: var(--invert-text);
  color: var(--invert);
}

.v2-btn-invert-quiet {
  border-color: var(--invert-line);
  color: var(--invert-text);
  font-weight: 500;
}

.v2-faq {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}

.v2-faq > .v2-h2 {
  flex: 1 1 300px;
}

.v2-faq-list {
  display: flex;
  flex: 2 1 560px;
  flex-direction: column;
  min-width: 0;
}

.v2-faq-list details {
  border-bottom: 1px solid var(--line);
}

.v2-faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.v2-faq-list summary::-webkit-details-marker {
  display: none;
}

.v2-faq-sign::before {
  content: '+';
  color: var(--muted);
  font-size: 22px;
  font-weight: 400;
}

.v2-faq-list details[open] .v2-faq-sign::before {
  content: '−';
}

.v2-faq-list p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.v2-final {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 24px 24px 120px;
  text-align: center;
}

.v2-final-title {
  margin: 0;
  font-weight: 600;
  font-size: clamp(36px, 5vw, 52px);
  letter-spacing: -0.045em;
}

.v2-final-text {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

@media (max-width: 640px) {
  .v2-hero {
    padding-top: 56px;
  }

  .v2-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .v2-section,
  .v2-pad {
    padding-bottom: 72px;
  }

  .v2-section-y,
  .v2-band .v2-split {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .v2-bubble {
    max-width: 85%;
  }
}
