@font-face {
  font-family: "Fira Code";
  src: url("/fonts/FiraCode-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #5e6ad2;
  --primary-hover: #828fff;
  --cyan: #52d6ff;
  --amber: #d7a64a;
  --ink: #f7f8f8;
  --muted: #d0d6e0;
  --subtle: #8a8f98;
  --canvas: #010102;
  --surface: #0f1011;
  --surface-2: #141516;
  --surface-3: #18191a;
  --line: #23252a;
  --line-strong: #34343a;
  --success: #27a644;
  --warning: #d7a64a;
  --font-display: "Avenir Next", "Neue Haas Grotesk Display", "SF Pro Display", "Helvetica Neue", sans-serif;
  --font-text: "Avenir Next", "Neue Haas Grotesk Text", "SF Pro Text", "Helvetica Neue", sans-serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

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

body {
  position: relative;
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(94, 106, 210, 0.16), transparent 420px),
    linear-gradient(118deg, rgba(82, 214, 255, 0.1), transparent 42%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    var(--canvas);
  background-size: auto, auto, 72px 72px, 72px 72px, auto;
  color: var(--ink);
  font-family: var(--font-text);
}

body::before {
  pointer-events: none;
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 100% 7px, 11px 100%;
  mask-image: linear-gradient(180deg, black, transparent 82%);
}

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

button,
input,
select {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  height: 64px;
  padding: 0 32px;
  background: rgba(1, 1, 2, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.top-actions,
.nav,
.hero-actions,
.login-row {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255,255,255,0.035);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.22),
    0 0 24px rgba(82,214,255,0.22),
    0 0 42px rgba(94,106,210,0.24);
}

.nav {
  justify-content: center;
  gap: 8px;
  color: var(--subtle);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 720;
  letter-spacing: 0.02em;
}

.nav a {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 12px;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.nav a:hover {
  border-color: rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.045);
  color: var(--ink);
}

.top-actions {
  gap: 10px;
}

.login-cta {
  gap: 8px;
  min-height: 40px;
  padding: 0 13px 0 15px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.025)),
    rgba(1,1,2,0.42);
  border-color: rgba(82,214,255,0.24);
  color: var(--ink);
}

.login-cta svg {
  width: 17px;
  height: 17px;
  color: var(--cyan);
  transition: transform 160ms ease;
}

.login-cta:hover {
  border-color: rgba(82,214,255,0.48);
  box-shadow: 0 0 28px rgba(82,214,255,0.12);
}

.login-cta:hover svg {
  transform: translate(1px, -1px);
}

select,
input {
  min-height: 40px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018));
  color: var(--ink);
  padding: 0 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

select {
  appearance: none;
  min-width: 116px;
  padding-right: 34px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--subtle) 50%),
    linear-gradient(135deg, var(--subtle) 50%, transparent 50%),
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018));
  background-position:
    calc(100% - 18px) 17px,
    calc(100% - 13px) 17px,
    0 0;
  background-size: 5px 5px, 5px 5px, 100% 100%;
  background-repeat: no-repeat;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 0 15px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 650;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button.primary {
  border-color: rgba(82,214,255,0.48);
  background:
    radial-gradient(circle at 24% 0%, rgba(255,255,255,0.32), transparent 34%),
    linear-gradient(180deg, #69e6ff 0%, #4e83ff 48%, #6a5cff 100%);
  color: white;
  box-shadow:
    0 0 0 1px rgba(82,214,255,0.24),
    0 14px 36px rgba(82,214,255,0.28),
    0 18px 56px rgba(94,106,210,0.26);
}

.button.primary:hover {
  transform: translateY(-1px);
  border-color: rgba(105,230,255,0.78);
  background:
    radial-gradient(circle at 24% 0%, rgba(255,255,255,0.38), transparent 34%),
    linear-gradient(180deg, #86f0ff 0%, #5a8cff 46%, #7568ff 100%);
  box-shadow:
    0 0 0 1px rgba(105,230,255,0.34),
    0 16px 42px rgba(82,214,255,0.34),
    0 22px 64px rgba(94,106,210,0.32);
}

.button.secondary,
.button.subtle {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.018));
  border-color: rgba(255,255,255,0.1);
}

.button.secondary:hover,
.button.subtle:hover {
  border-color: var(--line-strong);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.hidden {
  display: none !important;
}

main {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.page-panel {
  scroll-margin-top: 64px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 56px;
  width: min(1180px, calc(100% - 48px));
  min-height: calc(100vh - 64px);
  margin: 0 auto;
  padding: 84px 0 54px;
  align-items: center;
}

.hero-copy h1,
.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 760px;
  font-size: 78px;
  font-weight: 760;
  text-wrap: balance;
}

.lead {
  max-width: 610px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary-hover);
  font-size: 13px;
  font-weight: 650;
  text-transform: uppercase;
}

.hero-actions {
  gap: 12px;
  margin-top: 28px;
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.signal-row span {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(15,16,17,0.72);
  color: var(--muted);
  font-size: 13px;
}

.terminal,
.panel,
.feature-grid article,
.pricing-card,
.code {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), transparent),
    rgba(15, 16, 17, 0.88);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.terminal {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.terminal::after {
  pointer-events: none;
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(82,214,255,0.08), transparent);
  transform: translateX(-100%);
  animation: sweep 5s ease-in-out infinite;
}

.terminal-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  color: var(--subtle);
}

.terminal-head span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
}

.terminal-head strong {
  margin-left: 8px;
  font-size: 13px;
  font-weight: 500;
}

pre {
  margin: 0;
  overflow: auto;
  white-space: pre-wrap;
}

code {
  font-family: "Fira Code", "JetBrains Mono", "Cascadia Code", "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.55;
  font-variant-ligatures: none;
}

.terminal pre {
  padding: 18px 24px 22px;
}

.console-carousel {
  position: relative;
  min-height: 230px;
  overflow: hidden;
}

.console-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  animation: consoleSwap 16s ease-in-out infinite;
}

.console-slide pre {
  padding-top: 18px;
}

.html-slide {
  animation-delay: 0s;
}

.md-slide {
  animation-delay: 4s;
}

.pdf-md-slide {
  animation-delay: 8s;
}

.sheet-slide {
  animation-delay: 12s;
}

.md-slide .node,
.pdf-md-slide .node {
  background:
    linear-gradient(135deg, rgba(215,166,74,0.18), rgba(82,214,255,0.08)),
    rgba(1,1,2,0.42);
}

.md-slide .node.engine,
.pdf-md-slide .node.engine {
  color: var(--amber);
}

.md-slide .rail,
.pdf-md-slide .rail {
  background: linear-gradient(90deg, var(--amber), var(--cyan));
  box-shadow: 0 0 18px rgba(215,166,74,0.32);
}

.pdf-md-slide .node {
  background:
    linear-gradient(135deg, rgba(105,230,177,0.18), rgba(82,214,255,0.08)),
    rgba(1,1,2,0.42);
}

.pdf-md-slide .node.engine {
  color: #69e6b1;
}

.pdf-md-slide .rail {
  background: linear-gradient(90deg, #69e6b1, var(--cyan));
  box-shadow: 0 0 18px rgba(105,230,177,0.3);
}

.sheet-slide .node {
  background:
    linear-gradient(135deg, rgba(240,127,190,0.18), rgba(130,143,255,0.08)),
    rgba(1,1,2,0.42);
}

.sheet-slide .node.engine {
  color: #f07fbe;
}

.sheet-slide .rail {
  background: linear-gradient(90deg, #f07fbe, var(--primary-hover));
  box-shadow: 0 0 18px rgba(240,127,190,0.3);
}

.pipeline {
  display: grid;
  grid-template-columns: 1fr 44px 1fr 44px 1fr;
  align-items: center;
  gap: 10px;
  padding: 22px 24px 0;
}

.node {
  display: grid;
  place-items: center;
  min-height: 76px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(94,106,210,0.22), rgba(82,214,255,0.06)),
    rgba(1,1,2,0.42);
  font-family: var(--font-display);
  font-weight: 760;
}

.node.engine {
  color: var(--cyan);
}

.rail {
  height: 1px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  box-shadow: 0 0 18px rgba(82,214,255,0.38);
}

.meter {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
  color: var(--subtle);
}

.meter-label {
  display: grid;
  grid-template-columns: 1fr;
  min-width: 120px;
}

.meter-label span {
  grid-area: 1 / 1;
  opacity: 0;
  animation: meterSwap 16s ease-in-out infinite;
}

.meter-label span:nth-child(2) {
  animation-delay: 4s;
}

.meter-label span:nth-child(3) {
  animation-delay: 8s;
}

.meter-label span:nth-child(4) {
  animation-delay: 12s;
}

.meter b {
  color: var(--ink);
}

.band,
.pricing,
.workspace {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 56px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-head h2 {
  font-size: 48px;
  font-weight: 740;
  text-wrap: balance;
}

.trial-note {
  display: inline-flex;
  max-width: 680px;
  margin: 18px 0 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(15,16,17,0.64);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.feature-grid,
.pricing-grid,
.docs-grid,
.workspace {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  min-height: 296px;
  padding-bottom: 74px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 28px 88px rgba(0, 0, 0, 0.42);
}

.feature-card::after {
  content: attr(data-watermark);
  position: absolute;
  right: -8px;
  top: 0;
  color: rgba(255,255,255,0.035);
  font-family: var(--font-display);
  font-size: 112px;
  font-weight: 800;
  line-height: 0.9;
  pointer-events: none;
}

.feature-pdf {
  --card-accent: var(--cyan);
  background:
    linear-gradient(135deg, rgba(82,214,255,0.14), transparent 46%),
    linear-gradient(180deg, rgba(255,255,255,0.055), transparent),
    rgba(15,16,17,0.9);
}

.feature-ppt {
  --card-accent: var(--primary-hover);
  background:
    linear-gradient(135deg, rgba(130,143,255,0.16), transparent 48%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 22px),
    rgba(15,16,17,0.9);
}

.feature-doc {
  --card-accent: var(--amber);
  background:
    linear-gradient(135deg, rgba(215,166,74,0.14), transparent 46%),
    linear-gradient(180deg, rgba(255,255,255,0.05), transparent),
    rgba(15,16,17,0.9);
}

.feature-pdfmd {
  --card-accent: #69e6b1;
  background:
    linear-gradient(135deg, rgba(105,230,177,0.13), transparent 46%),
    linear-gradient(180deg, rgba(255,255,255,0.05), transparent),
    rgba(15,16,17,0.9);
}

.feature-sheet {
  --card-accent: #f07fbe;
  background:
    linear-gradient(135deg, rgba(240,127,190,0.13), transparent 46%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.024) 0 1px, transparent 1px 20px),
    rgba(15,16,17,0.9);
}

.feature-pdf::after {
  content: "01";
}

.feature-ppt::after {
  content: "02";
}

.feature-doc::after {
  content: "03";
}

.feature-pdfmd::after {
  content: "04";
}

.feature-sheet::after {
  content: "05";
}

.feature-grid article,
.pricing-card,
.panel {
  position: relative;
  border-radius: 12px;
  padding: 24px;
  overflow: hidden;
}

.feature-grid article::before,
.pricing-card::before,
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent 36%);
  opacity: 0.75;
}

.feature-card::before {
  border-top: 2px solid var(--card-accent);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--card-accent) 16%, transparent), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,0.08), transparent 36%);
}

.feature-grid h3,
.doc-copy h3,
.pricing-card h3 {
  margin: 18px 0 8px;
  font-size: 22px;
}

.feature-card p {
  max-width: 96%;
  margin-bottom: 0;
  font-size: 15px;
}

.feature-grid p,
.muted,
.pricing-note,
.doc-copy p {
  color: var(--subtle);
  line-height: 1.55;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--card-accent, var(--primary)) 28%, transparent), rgba(82,214,255,0.06)),
    var(--surface-2);
  color: var(--card-accent, var(--primary-hover));
  font-size: 12px;
  font-weight: 750;
  box-shadow: 0 0 26px color-mix(in srgb, var(--card-accent, var(--primary)) 24%, transparent);
}

.feature-meta {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-meta span {
  border: 1px solid color-mix(in srgb, var(--card-accent, var(--primary)) 26%, rgba(255,255,255,0.08));
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(1,1,2,0.32);
  color: var(--muted);
  font-size: 12px;
}

.feature-roadmap {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: 16px;
  min-height: 296px;
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 28%, rgba(82,214,255,0.13), transparent 28%),
    linear-gradient(135deg, rgba(94,106,210,0.12), rgba(215,166,74,0.06) 46%, transparent),
    rgba(15,16,17,0.86);
  box-shadow: 0 24px 80px rgba(0,0,0,0.34);
}

.feature-roadmap::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, transparent, black 30%, black 90%, transparent);
}

.feature-roadmap::after {
  content: "06+";
  position: absolute;
  right: -8px;
  top: 0;
  color: rgba(255,255,255,0.045);
  font-family: var(--font-display);
  font-size: 112px;
  font-weight: 800;
  line-height: 1;
}

.roadmap-copy,
.roadmap-visual {
  position: relative;
  z-index: 1;
}

.roadmap-copy h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.1;
}

.roadmap-copy p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.roadmap-visual {
  display: grid;
  grid-template-columns: auto minmax(24px, 1fr) auto minmax(24px, 1fr) auto;
  align-items: center;
  gap: 7px;
  min-height: 70px;
}

.ghost-node {
  display: grid;
  place-items: center;
  min-width: 64px;
  min-height: 48px;
  border: 1px dashed rgba(255,255,255,0.24);
  border-radius: 12px;
  background: rgba(1,1,2,0.36);
  color: var(--muted);
  font-weight: 780;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.ghost-node.active {
  border-style: solid;
  border-color: rgba(82,214,255,0.42);
  color: var(--cyan);
  background: rgba(82,214,255,0.08);
  box-shadow: 0 0 32px rgba(82,214,255,0.14);
}

.ghost-node.small {
  position: absolute;
  min-width: 62px;
  min-height: 40px;
  opacity: 0.58;
  font-size: 12px;
}

.ghost-node.small:nth-last-child(2) {
  right: 28%;
  top: 0;
}

.ghost-node.small:last-child {
  right: 12%;
  bottom: 2px;
}

.ghost-line {
  height: 1px;
  min-width: 64px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--amber), transparent);
  box-shadow: 0 0 18px rgba(82,214,255,0.24);
}

.workspace {
  grid-template-columns: 0.78fr 1.22fr;
  align-items: start;
  gap: 40px;
}

.account-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 320px;
  gap: 34px;
  padding-right: 18px;
}

.account-copy h2 {
  max-width: 560px;
  margin: 0 0 22px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
}

.account-copy .muted {
  display: grid;
  gap: 8px;
  max-width: 520px;
  font-size: 18px;
}

.auth-actions {
  display: grid;
  gap: 12px;
  max-width: 480px;
}

.login-row {
  gap: 10px;
}

.login-row input {
  min-width: 0;
  flex: 1;
}

.google-button {
  justify-content: flex-start;
  width: fit-content;
  min-width: 236px;
  min-height: 48px;
  gap: 12px;
  padding: 0 18px;
  background: #f8faff;
  color: #111318;
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 20px 54px rgba(82,214,255,0.12);
}

.google-button:hover {
  transform: translateY(-1px);
  background: #ffffff;
}

.google-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
}

.google-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.tester-panel {
  align-self: center;
  padding: 24px;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015)),
    rgba(1,1,2,0.64);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 54px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: var(--subtle);
  cursor: pointer;
  font-weight: 680;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.tab:hover {
  color: var(--ink);
  background: rgba(255,255,255,0.035);
}

.tab.active {
  background:
    linear-gradient(180deg, rgba(130,143,255,0.16), rgba(82,214,255,0.045)),
    rgba(255,255,255,0.025);
  border-color: rgba(130,143,255,0.42);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(94,106,210,0.2), inset 0 1px 0 rgba(255,255,255,0.08);
}

.tab-code {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 28px;
  border-radius: 8px;
  background: rgba(1,1,2,0.34);
  color: var(--primary-hover);
  font-size: 12px;
  font-weight: 780;
}

.convert-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.dropzone {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 178px;
  padding: 22px;
  border: 1px dashed rgba(130,143,255,0.45);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(94,106,210,0.16), transparent 44%),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,0.025) 1px, transparent 1px),
    rgba(1, 1, 2, 0.42);
  background-size: auto, 26px 26px, 26px 26px, auto;
  text-align: center;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.dropzone:hover,
.dropzone:focus-within {
  border-color: rgba(82,214,255,0.72);
  transform: translateY(-1px);
}

.dropzone input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.dropzone span {
  font-size: 20px;
  font-weight: 650;
}

.dropzone small {
  margin-top: 8px;
  color: var(--subtle);
}

.upload-glyph {
  position: relative;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(130,143,255,0.2), rgba(82,214,255,0.06));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 16px 38px rgba(0,0,0,0.24);
}

.upload-glyph::before,
.upload-glyph::after,
.upload-glyph span {
  content: "";
  position: absolute;
  background: var(--ink);
}

.upload-glyph::before {
  width: 2px;
  height: 25px;
  border-radius: 2px;
}

.upload-glyph::after {
  width: 16px;
  height: 16px;
  border-left: 2px solid var(--ink);
  border-top: 2px solid var(--ink);
  background: transparent;
  transform: translateY(-7px) rotate(45deg);
}

.upload-glyph span {
  width: 25px;
  height: 2px;
  border-radius: 2px;
  transform: translateY(15px);
}

.result,
.key-output {
  min-height: 24px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.result a {
  color: var(--primary-hover);
}

.docs-grid {
  grid-template-columns: minmax(360px, 4fr) minmax(0, 6fr);
  align-items: stretch;
  gap: 18px;
}

.docs-side {
  display: grid;
  grid-template-rows: minmax(0, auto) minmax(0, 1fr);
  gap: 18px;
  min-width: 0;
}

.doc-copy,
.code {
  border-radius: 12px;
  padding: 24px;
}

.doc-copy {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
}

.doc-copy p {
  max-width: 100%;
  overflow-wrap: break-word;
}

.api-key-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 228px;
}

.response-card {
  display: flex;
  flex-direction: column;
  min-height: 224px;
}

.response-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.response-card-head h3 {
  margin: 0;
}

.response-code {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  min-height: 118px;
  margin: 14px 0 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 14px;
  overflow: auto;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px),
    rgba(1,1,2,0.36);
  background-size: 36px 36px;
  color: var(--muted);
  scrollbar-width: none;
}

.response-code::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.response-code code {
  display: block;
  min-width: 100%;
  width: max-content;
  font-family: "Fira Code", "JetBrains Mono", "Cascadia Code", "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.55;
  white-space: pre;
  overflow-wrap: normal;
}

.auth-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.auth-card-head h3 {
  margin: 0 0 6px;
}

.auth-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(82,214,255,0.28);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(82,214,255,0.16), rgba(94,106,210,0.08)),
    rgba(1,1,2,0.32);
  color: var(--cyan);
  box-shadow: 0 0 32px rgba(82,214,255,0.12);
}

.auth-icon svg,
.icon-button svg {
  width: 20px;
  height: 20px;
}

.auth-badge {
  display: inline-flex;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 3px 8px;
  color: var(--muted);
  font-size: 12px;
}

.secret-box {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  border: 1px solid rgba(130,143,255,0.24);
  border-radius: 12px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(94,106,210,0.14), transparent 54%),
    rgba(1,1,2,0.38);
}

.secret-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 9px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.018)),
    rgba(1,1,2,0.36);
  color: var(--ink);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, color 160ms ease;
}

.icon-button:hover {
  transform: translateY(-1px);
  border-color: rgba(82,214,255,0.42);
  color: var(--cyan);
}

.secret-label {
  color: var(--subtle);
  font-size: 12px;
  text-transform: uppercase;
}

.secret-box code {
  color: var(--ink);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.key-warning {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--warning);
  font-size: 13px;
  line-height: 1.45;
}

.api-doc-console {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), transparent),
    rgba(15,16,17,0.9);
  box-shadow: 0 24px 80px rgba(0,0,0,0.34);
}

.api-doc-top {
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.language-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.doc-tab,
.convert-tab {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 9px;
  background: rgba(1,1,2,0.35);
  color: var(--subtle);
  cursor: pointer;
  font: inherit;
  font-weight: 680;
}

.doc-tab {
  min-height: 34px;
  padding: 0 12px;
}

.doc-tab.active,
.convert-tab.active {
  border-color: rgba(82,214,255,0.36);
  background:
    linear-gradient(180deg, rgba(82,214,255,0.12), rgba(94,106,210,0.08)),
    rgba(255,255,255,0.025);
  color: var(--ink);
}

.api-doc-body {
  flex: 1;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  min-height: 360px;
}

.convert-tabs {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 12px;
  border-right: 1px solid var(--line);
  background: rgba(1,1,2,0.22);
}

.convert-tab {
  display: grid;
  gap: 4px;
  min-height: 54px;
  padding: 8px 10px;
  text-align: left;
}

.convert-tab span {
  color: var(--subtle);
  font-size: 12px;
}

.convert-tab b {
  font-size: 18px;
}

.api-code-wrap {
  position: relative;
  min-height: 0;
  min-width: 0;
}

.copy-code-button {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

.api-code {
  height: 100%;
  min-height: 360px;
  border-radius: 0;
  border: 0;
  padding: 20px 58px 54px 20px;
  overflow: auto;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px),
    rgba(1,1,2,0.22);
  background-size: 42px 42px;
  scrollbar-width: none;
}

.api-code::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.api-code code {
  font-family: "Fira Code", "JetBrains Mono", "Cascadia Code", "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.58;
}

.tok-keyword {
  color: #82d9ff;
}

.tok-fn,
.tok-flag {
  color: #b8c0ff;
}

.tok-string {
  color: #d7c26b;
}

.tok-url {
  color: #69e6b1;
}

.tok-comment {
  color: rgba(151, 160, 178, 0.66);
}

.dashboard {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 56px 0;
}

.dashboard-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.dashboard-head h2 {
  max-width: 720px;
  margin: 0 0 14px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
}

.dashboard-actions,
.billing-actions,
.usage-pager {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 18px;
}

.dashboard-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), transparent),
    rgba(15,16,17,0.9);
  box-shadow: 0 24px 80px rgba(0,0,0,0.34);
  overflow: hidden;
}

.dashboard-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(82,214,255,0.1), transparent 38%),
    linear-gradient(90deg, rgba(255,255,255,0.024) 1px, transparent 1px);
  background-size: auto, 34px 34px;
  opacity: 0.86;
}

.dashboard-card > * {
  position: relative;
  z-index: 1;
}

.dashboard-card {
  padding: 24px;
}

.dashboard-kicker {
  color: var(--primary-hover);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 780;
  text-transform: uppercase;
}

.dashboard-plan-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.dashboard-plan-row h3 {
  margin: 0;
  font-size: 34px;
}

.status-pill {
  border: 1px solid rgba(105,230,177,0.3);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(105,230,177,0.08);
  color: #69e6b1;
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.status-canceling,
.status-canceled {
  border-color: rgba(215,166,74,0.36);
  background: rgba(215,166,74,0.1);
  color: var(--amber);
}

.status-free {
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--muted);
}

#dashboardPlanDetail,
.dashboard-message {
  color: var(--subtle);
  line-height: 1.5;
}

.credit-meter {
  height: 12px;
  margin: 22px 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  background: rgba(1,1,2,0.54);
  overflow: hidden;
}

.credit-meter span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--primary-hover), var(--amber));
  box-shadow: 0 0 24px rgba(82,214,255,0.28);
  transition: width 260ms ease;
}

.dashboard-metrics,
.usage-summary {
  display: grid;
  gap: 10px;
}

.dashboard-metrics {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 22px;
}

.usage-summary {
  grid-template-columns: repeat(3, 1fr);
  margin: 18px 0;
}

.dashboard-metrics div,
.usage-summary div {
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px;
  padding: 12px;
  background: rgba(1,1,2,0.28);
}

.dashboard-metrics span,
.usage-summary span {
  display: block;
  color: var(--subtle);
  font-size: 12px;
}

.dashboard-metrics strong,
.usage-summary strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
}

.dashboard-secret {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
  border: 1px solid rgba(130,143,255,0.24);
  border-radius: 12px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(94,106,210,0.14), transparent 54%),
    rgba(1,1,2,0.38);
}

.dashboard-secret .secret-row {
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.dashboard-secret code {
  color: var(--ink);
  overflow-wrap: anywhere;
}

.usage-table-wrap {
  overflow: auto;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 12px;
  background: rgba(1,1,2,0.3);
  scrollbar-width: none;
}

.usage-table-wrap::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.usage-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 13px;
}

.usage-table th,
.usage-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  text-align: left;
}

.usage-table th {
  color: var(--subtle);
  font-size: 11px;
  text-transform: uppercase;
}

.usage-table td {
  color: var(--muted);
}

.status-dot {
  display: inline-flex;
  border: 1px solid rgba(105,230,177,0.28);
  border-radius: 999px;
  padding: 3px 7px;
  color: #69e6b1;
  font-size: 11px;
  text-transform: uppercase;
}

.usage-pager {
  justify-content: flex-end;
  margin-top: 14px;
  color: var(--subtle);
  font-size: 13px;
}

.pricing-grid {
  grid-template-columns: repeat(4, 1fr);
}

.pricing-card {
  position: relative;
}

.pricing-card.featured {
  background:
    linear-gradient(135deg, rgba(82,214,255,0.12), rgba(215,166,74,0.07) 48%, transparent),
    var(--surface-2);
  border-color: var(--primary);
}

.pricing-card.ultimate {
  border-color: rgba(82,214,255,0.52);
  box-shadow: 0 30px 92px rgba(82,214,255,0.08), 0 24px 80px rgba(0,0,0,0.34);
}

.price {
  margin: 16px 0;
  font-size: 36px;
  font-weight: 700;
}

.price span {
  color: var(--subtle);
  font-size: 14px;
  font-weight: 400;
}

.pricing-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.pricing-card li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--success);
  vertical-align: middle;
}

.pricing-faq {
  display: grid;
  grid-template-columns: 0.45fr repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.faq-label,
.faq-card {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.052), rgba(255,255,255,0.016)),
    rgba(15,16,17,0.78);
  box-shadow: 0 18px 52px rgba(0,0,0,0.24);
}

.faq-label {
  display: grid;
  place-items: center;
  min-height: 128px;
  color: var(--cyan);
  font-family: var(--font-display);
  font-weight: 780;
  text-transform: uppercase;
}

.faq-card {
  padding: 18px;
}

.faq-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.faq-card p {
  margin: 0;
  color: var(--subtle);
  font-size: 14px;
  line-height: 1.5;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 64px;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-size: 13px;
}

.footer-company,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.footer-company {
  max-width: 620px;
}

.footer-company strong {
  color: var(--ink);
}

.site-footer a {
  color: var(--muted);
  transition: color 160ms ease;
}

.site-footer a:hover {
  color: var(--cyan);
}

.footer-links {
  justify-content: flex-end;
}

.policy-main {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 48px));
  margin: 0 auto;
  padding: 88px 0;
}

.policy-back {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--muted);
  font-weight: 680;
}

.policy-back:hover {
  color: var(--cyan);
}

.policy-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(28px, 5vw, 54px);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), transparent),
    rgba(15,16,17,0.9);
  box-shadow: 0 28px 86px rgba(0,0,0,0.34);
}

.policy-card h1 {
  margin: 0 0 12px;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 0.98;
}

.policy-meta {
  margin: 0 0 34px;
  color: var(--subtle);
}

.policy-card h2 {
  margin: 34px 0 12px;
  font-size: 22px;
}

.policy-card p,
.policy-card li {
  color: var(--muted);
  line-height: 1.65;
}

.policy-card ul {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}

.policy-contact {
  margin-top: 0;
}

@keyframes sweep {
  0%, 45% {
    transform: translateX(-100%);
  }
  80%, 100% {
    transform: translateX(100%);
  }
}

@keyframes consoleSwap {
  0%, 20% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  25%, 95% {
    opacity: 0;
    transform: translateY(-10px) scale(0.985);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes meterSwap {
  0%, 20% {
    opacity: 1;
  }
  25%, 95% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .console-slide,
  .meter-label span,
  .terminal::after {
    animation: none;
  }

  .console-slide {
    position: static;
    opacity: 1;
    transform: none;
  }

  .md-slide,
  .pdf-md-slide,
  .sheet-slide {
    display: none;
  }
}

@media (max-width: 900px) {
  .page-panel {
    min-height: auto;
  }

  .topbar {
    grid-template-columns: 1fr auto;
    height: auto;
    padding: 14px 20px;
  }

  .nav {
    display: none;
  }

  .top-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero,
  .workspace,
  .docs-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-copy h1 {
    font-size: 56px;
  }

  .section-head h2 {
    font-size: 40px;
  }

  .feature-grid,
  .pricing-grid,
  .pricing-faq,
  .dashboard-upgrades {
    grid-template-columns: 1fr;
  }

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

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

  .ghost-line {
    width: 1px;
    height: 28px;
    min-width: 1px;
    justify-self: center;
  }

  .ghost-node.small {
    position: static;
    justify-self: center;
  }
}

@media (max-width: 560px) {
  .hero,
  .band,
  .pricing,
  .workspace,
  .dashboard,
  footer {
    width: min(100% - 28px, 1180px);
  }

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

  .hero-copy h1 {
    font-size: 42px;
  }

  .section-head h2 {
    font-size: 32px;
  }

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

  .console-carousel {
    min-height: 486px;
  }

  .rail {
    width: 1px;
    height: 24px;
    justify-self: center;
  }

  .hero-actions,
  .login-row,
  .dashboard-actions,
  .billing-actions,
  .usage-pager,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-metrics,
  .usage-summary {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
