:root {
  --bg: #050505;
  --bg-soft: #0d0d0d;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --muted-soft: rgba(255, 255, 255, 0.46);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  --spot-x: 50%;
  --spot-y: 38%;
  --spot-drift: 0px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 14%, rgba(96, 165, 250, 0.10), transparent 22%),
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.06), transparent 20%),
    radial-gradient(circle at 82% 14%, rgba(255, 255, 255, 0.05), transparent 18%),
    linear-gradient(180deg, #0b0b0b 0%, #040404 58%, #000000 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.85) 0 1px, transparent 1.2px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.88), transparent 94%);
  animation: drift 18s linear infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 860px 360px at var(--spot-x) calc(var(--spot-y) + var(--spot-drift)), rgba(255, 255, 255, 0.088), transparent 58%),
    radial-gradient(ellipse 660px 240px at var(--spot-x) calc(52% + (var(--spot-drift) * 0.55)), rgba(255, 255, 255, 0.048), transparent 62%);
  opacity: 0.98;
  mix-blend-mode: screen;
  transition: opacity 180ms ease;
}

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

.shell {
  width: min(1100px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 18px 0 48px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 11px 15px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(8, 8, 8, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 0.96rem;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.24));
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.34);
}

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

.nav-link {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  transition: 180ms ease;
  font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 20px;
  align-items: stretch;
}

.hero.hero-home {
  grid-template-columns: 1fr;
  gap: 14px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-visual,
.section-card,
.plan-card,
.doc-card,
.dashboard-card,
.login-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-copy.hero-copy-home {
  padding: 42px 22px 28px;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.hero-copy,
.hero-visual,
.section-card,
.plan-card,
.doc-card,
.dashboard-card,
.login-card {
  padding: 26px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 999px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.84);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.7rem, 7vw, 5.2rem);
  line-height: 0.93;
  letter-spacing: -0.05em;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 2.7vw, 2.25rem);
  letter-spacing: -0.04em;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.66;
  font-size: 0.96rem;
}

.hero-copy p {
  margin-top: 20px;
  max-width: 640px;
  font-size: 0.98rem;
}

.hero-copy.hero-copy-home p {
  max-width: 760px;
  margin: 16px auto 0;
  font-size: 1rem;
}

.hero-copy.hero-copy-home .eyebrow {
  margin-bottom: 16px;
}

.hero-copy.hero-copy-home h1 {
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(3rem, 7vw, 5.7rem);
  line-height: 0.92;
}

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

.hero-copy.hero-copy-home .actions {
  justify-content: center;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #ffffff;
  color: #000000;
  font-weight: 700;
  font-size: 0.96rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 16px 40px rgba(255, 255, 255, 0.1);
}

.button:hover {
  transform: translateY(-2px);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.02);
  color: #ffffff;
  box-shadow: none;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 460px;
}

.hero-visual.hero-preview {
  min-height: 220px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 96%);
  opacity: 0.28;
}

.window {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.58);
  overflow: hidden;
}

.window.editor {
  width: 84%;
  margin-left: auto;
  animation: floatY 8s ease-in-out infinite;
}

.window.terminal {
  width: 80%;
  margin-top: -20px;
  animation: floatY 10s ease-in-out infinite reverse;
}

.window.inbox {
  width: 74%;
  margin-top: -18px;
  margin-left: auto;
  animation: floatY 9s ease-in-out infinite;
}

.window.preview-orbit {
  width: min(860px, 100%);
  margin: 0 auto;
  border-radius: 999px;
  border: 0;
  background: transparent;
  overflow: visible;
  animation: none;
}

.orbit-ring {
  position: relative;
  height: 220px;
}

.orbit-ring::before,
.orbit-ring::after {
  content: "";
  position: absolute;
  inset: 18px 0;
  margin: auto;
  width: min(860px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  opacity: 0.7;
}

.orbit-ring::after {
  inset: 52px 120px;
  width: auto;
  aspect-ratio: auto;
  height: 120px;
  border-radius: 999px;
  opacity: 0.35;
}

.orbit-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.3);
  opacity: 0.9;
}

.orbit-dot:nth-child(1) { top: 16px; left: 20%; }
.orbit-dot:nth-child(2) { top: 42px; right: 18%; }
.orbit-dot:nth-child(3) { top: 102px; left: 7%; }
.orbit-dot:nth-child(4) { top: 138px; right: 9%; }
.orbit-dot:nth-child(5) { bottom: 26px; left: 28%; }
.orbit-dot:nth-child(6) { bottom: 36px; right: 30%; }

.showcase {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 22px;
  align-items: center;
  position: relative;
}

.showcase-copy {
  padding: 8px 6px 8px 0;
}

.showcase-copy h2 {
  font-size: clamp(1.9rem, 3.3vw, 3.25rem);
  line-height: 0.98;
  margin-bottom: 14px;
}

.showcase-copy p {
  max-width: 460px;
  font-size: 0.93rem;
}

.showcase-visual {
  position: relative;
  min-height: 470px;
  padding: 22px;
  background:
    radial-gradient(circle at 50% 44%, rgba(96, 165, 250, 0.10), transparent 34%),
    radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.05), transparent 38%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03) 48%, transparent 76%);
}

.showcase-visual::before {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.showcase-visual .window {
  position: relative;
  z-index: 1;
  background: rgba(4, 4, 4, 0.92);
}

.showcase-visual .window.editor {
  width: 100%;
  margin: 52px 0 0;
}

.showcase-visual .window.terminal {
  width: 68%;
  margin: -24px auto 0 -4px;
}

.showcase-visual .window.inbox {
  width: 62%;
  margin: -6px 0 0 auto;
}

.window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 12px;
}

.dots {
  display: inline-flex;
  gap: 6px;
}

.dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
}

.window-body {
  padding: 14px;
}

.code-line,
.term-line,
.feed-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  color: rgba(255, 255, 255, 0.82);
}

.code-line,
.term-line {
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
}

.muted-soft,
.status {
  color: var(--muted-soft);
}

.stack {
  display: grid;
  gap: 22px;
  margin-top: 26px;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.plan-tag {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  font-size: 12px;
  margin-bottom: 16px;
}

.price {
  margin: 6px 0 10px;
  font-size: 2.55rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.price small {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
}

.plan-billing-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 4px;
}

.billing-option {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
}

.billing-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.billing-price {
  margin: 8px 0 12px;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.feature-list,
.doc-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.feature-list li,
.doc-list li {
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  line-height: 1.62;
}

.feature-list li::before,
.doc-list li::before {
  content: "•";
  margin-right: 10px;
  color: #ffffff;
}

.doc-grid,
.dashboard-grid,
.login-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0;
}

.metric {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.metric strong {
  display: block;
  margin-top: 8px;
  font-size: 1.7rem;
}

.provider-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.provider {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.provider-copy {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.provider-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.provider-icon svg {
  width: 18px;
  height: 18px;
}

.page-block {
  display: grid;
  gap: 18px;
}

.page-intro {
  padding: 8px 4px 2px;
}

.page-intro h1 {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  line-height: 0.96;
  margin-bottom: 12px;
}

.page-intro p {
  max-width: 760px;
  font-size: 0.96rem;
}

.mini-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
}

.feature-card strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  margin-bottom: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.feature-card p {
  margin-top: 10px;
}

.feature-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.feature-card li + li {
  margin-top: 8px;
}

.docs-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 18px;
}

.docs-nav,
.docs-section,
.auth-shell,
.lock-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
}

.docs-nav {
  padding: 18px;
  position: sticky;
  top: 110px;
  height: fit-content;
}

.docs-nav a {
  display: block;
  padding: 9px 11px;
  border-radius: 12px;
  color: var(--muted);
}

.docs-nav a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.docs-content {
  display: grid;
  gap: 16px;
}

.docs-section {
  padding: 22px;
}

.docs-section h2 {
  font-size: 1.7rem;
}

.docs-section h3 {
  margin-top: 18px;
}

.docs-section code {
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.92em;
}

.docs-section pre {
  margin: 16px 0 0;
  padding: 16px;
  overflow: auto;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
}

.docs-section ul {
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.75;
}

.auth-wrap {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 220px);
}

.auth-shell {
  width: min(560px, 100%);
  padding: 24px;
}

.auth-shell form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.auth-shell label {
  font-size: 0.9rem;
  color: var(--muted);
}

.auth-shell input,
.auth-shell select {
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.42);
  color: var(--text);
}

.auth-note {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  line-height: 1.7;
}

.turnstile-wrap {
  display: grid;
  gap: 8px;
  justify-content: start;
}

#turnstile-box {
  min-height: 66px;
}

.lock-card {
  padding: 28px;
}

.dashboard-app {
  display: grid;
  grid-template-columns: 256px 1fr;
  gap: 20px;
  align-items: start;
}

.dashboard-sidebar {
  position: sticky;
  top: 104px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: var(--shadow);
  padding: 16px;
}

.dash-account {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dash-avatar {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f97316, #fb923c);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
}

.dash-account-copy {
  min-width: 0;
}

.dash-account-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
}

.dash-account-plan {
  font-size: 0.88rem;
  color: var(--muted);
}

.dash-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dash-nav-link {
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  padding: 10px 12px;
  font: inherit;
  font-size: 0.94rem;
  transition: 180ms ease;
  cursor: pointer;
}

.dash-nav-link:hover,
.dash-nav-link.active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
}

.dashboard-main,
.dash-panel {
  display: grid;
  gap: 16px;
}

.dash-panel-header {
  padding: 8px 4px 2px;
}

.dash-panel-header h1 {
  margin: 0 0 10px;
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.dash-panel-header p {
  max-width: 760px;
}

.dash-plan-grid,
.dash-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.dash-upgrade-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: var(--shadow);
  padding: 20px;
}

.dash-upgrade-title {
  font-size: 1.38rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 6px;
  color: #fff;
}

.dash-upgrade-price {
  color: var(--muted);
  margin-bottom: 12px;
}

.dash-upgrade-card p {
  min-height: 72px;
}

.dash-card-kicker {
  font-size: 0.8rem;
  color: var(--muted-soft);
  margin-bottom: 12px;
}

.dash-big-value {
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
}

.dash-mono {
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.92rem;
  letter-spacing: 0;
}

.dash-card-head,
.dash-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.dash-row.spaced {
  padding-top: 10px;
}

.dash-toggle-row {
  display: flex;
  gap: 8px;
}

.dash-filter {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 7px 11px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}

.dash-filter.active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.dash-heat-card {
  padding: 22px;
}

.dash-heat-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0 16px;
}

.dash-heat-grid {
  display: grid;
  grid-template-columns: repeat(12, 16px);
  gap: 5px;
  padding: 12px 0 6px;
}

.dash-heat-grid span {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.dash-heat-grid span.warm {
  background: rgba(52, 211, 153, 0.55);
}

.dash-heat-grid span.hot {
  background: rgba(16, 185, 129, 0.95);
}

.dash-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--muted);
}

.dash-legend i {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  display: inline-block;
}

.dash-legend i.hot {
  background: rgba(16, 185, 129, 0.95);
}

.dash-settings-card,
.dash-empty-state,
.dash-billing-table {
  display: grid;
  gap: 16px;
}

.dash-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.dash-field {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.dash-field input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  padding: 12px 14px;
  font: inherit;
}

.dash-session-list {
  display: grid;
  gap: 12px;
}

.dash-session-row,
.dash-table-head,
.dash-table-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 16px;
  align-items: center;
}

.dash-session-row {
  grid-template-columns: 1.5fr 1fr auto;
}

.dash-table-head {
  color: var(--muted-soft);
  font-size: 0.86rem;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dash-table-row {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.84);
}

.dash-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
}

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

.dash-switch span {
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  position: relative;
}

.dash-switch span::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #fff;
  transition: transform 180ms ease;
}

.dash-switch input:checked + span::after {
  transform: translateX(20px);
}

.dash-empty-state {
  place-items: center;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  padding: 28px;
}

.dash-billing-total {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
}

.hidden {
  display: none !important;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.visible {
  animation: reveal 700ms ease forwards;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 28px 4px 0;
  color: var(--muted-soft);
  font-size: 14px;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatY {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes drift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(36px);
  }
}

@media (max-width: 980px) {
  .hero,
  .split,
  .plans,
  .doc-grid,
  .dashboard-grid,
  .login-grid,
  .dashboard-app,
  .dash-plan-grid,
  .dash-stat-grid,
  .dash-form-grid,
  .showcase,
  .feature-grid,
  .docs-layout {
    grid-template-columns: 1fr;
  }

  .topbar {
    position: static;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-copy.hero-copy-home h1 {
    font-size: clamp(3rem, 11vw, 5rem);
  }

  .docs-nav {
    position: static;
  }

  .dashboard-sidebar {
    position: static;
  }

  .plan-billing-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100vw - 24px, 1200px);
    padding-top: 12px;
  }

  .hero-copy,
  .hero-visual,
  .section-card,
  .plan-card,
  .doc-card,
  .dashboard-card,
  .login-card {
    padding: 22px;
    border-radius: 22px;
  }

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

  .dash-session-row,
  .dash-table-head,
  .dash-table-row {
    grid-template-columns: 1fr;
  }

  .dash-heat-grid {
    grid-template-columns: repeat(8, 18px);
  }

  h1 {
    font-size: 2.8rem;
  }
}
