/* ORQVION marketing site — lite static CSS (no Node build required) */

:root {
  --bg: #050505;
  --bg-elevated: #0c0c0c;
  --bg-card: #111111;
  --border: #262626;
  --text: #f5f5f5;
  --muted: #9ca3af;
  --accent: #8b7bff;
  --accent-cyan: #4dd4ff;
  --accent-purple: #b06aff;
  --accent-soft: rgba(139, 123, 255, 0.14);
  --brand-gradient: linear-gradient(135deg, var(--accent-cyan), var(--accent), var(--accent-purple));
  --ok: #3ecf8e;
  --error: #f87171;
  --radius: 14px;
  --max: 1180px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }
code, pre { font-family: var(--mono); }
img { max-width: 100%; }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.narrow { width: min(100% - 2rem, 720px); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.75rem;
}
.eyebrow.center { text-align: center; }
.lead { font-size: 1.125rem; max-width: 42rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(10, 10, 10, 0.8);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.brand-mark { color: var(--accent); font-size: 0.9rem; }
.brand-logo {
  height: 40px;
  width: auto;
  max-width: min(280px, 58vw);
  display: block;
  object-fit: contain;
}
.nav {
  display: none;
  align-items: center;
  gap: 1.25rem;
  margin-left: auto;
  font-size: 0.925rem;
  line-height: 1.2;
}
.nav a {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
}
.nav a.active, .nav a:hover { color: var(--text); }
.nav-auth {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.15rem;
  padding-left: 1rem;
  border-left: 1px solid var(--border);
  flex-shrink: 0;
}
.nav-auth-login {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 0.925rem;
  white-space: nowrap;
}
.nav-auth-login:hover,
.nav-auth-login.active { color: var(--text); }
.nav-auth-signup {
  padding: 0.35rem 0.85rem;
  font-size: 0.875rem;
  white-space: nowrap;
}
.header-cta { display: flex; gap: 0.5rem; margin-left: auto; align-items: center; flex-shrink: 0; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  margin-left: auto;
  cursor: pointer;
  border-radius: 8px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}
.nav-toggle-input:checked ~ .nav,
.nav-toggle-input:checked ~ .header-cta {
  display: flex;
}
@media (max-width: 899px) {
  .header-inner { flex-wrap: wrap; }
  .nav, .header-cta {
    display: none;
    width: 100%;
    flex-direction: column;
    margin: 0 0 0.75rem;
    gap: 0.5rem;
  }
  .nav-toggle-input:checked ~ .nav,
  .nav-toggle-input:checked ~ .header-cta { display: flex; }
}
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav {
    display: flex;
    flex: 1;
    min-width: 0;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 0.85rem 1rem;
  }
  .header-cta { margin-left: 0; }
}
@media (max-width: 899px) {
  .nav-auth {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
    margin-top: 0.35rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-auth-signup { justify-content: center; }
}

.section-alt { background: var(--bg-elevated); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { margin-bottom: 1.75rem; max-width: 40rem; }
.section-head-wide { max-width: 46rem; }
.section-more { margin: 1.25rem 0 0; }
.section-more a { color: var(--accent); }
.section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  letter-spacing: -0.02em;
}
.cards-4 {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
}

.stack-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.stack-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  background: var(--bg-card);
}
.stack-card h3 { margin: 0 0 0.35rem; font-size: 0.95rem; }
.stack-card p { margin: 0; color: var(--muted); font-size: 0.85rem; }

.media-frame {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #0d0d0d;
  box-shadow: 0 24px 80px rgba(0,0,0,0.45);
}
.media-frame img { display: block; width: 100%; }
.media-hint { font-size: 0.8rem; margin: 0.75rem 0 0; }

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.checkout-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  resize: vertical;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: 0.15s ease;
}
.btn-lg { padding: 0.75rem 1.25rem; font-size: 0.95rem; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--text);
  color: var(--bg);
}
.btn-primary:hover { background: #fff; color: #000; }
.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: #444; background: var(--bg-elevated); }

/* Hero */
.hero {
  padding: 5rem 0 4rem;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(124, 108, 255, 0.18), transparent),
    var(--bg);
}
.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
}
.hero-copy h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  font-weight: 600;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0; }
.hero-points {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.hero-points li { padding: 0.25rem 0; }
.hero-points li::before { content: "— "; color: var(--accent); }

.terminal {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #0d0d0d;
  box-shadow: 0 24px 80px rgba(0,0,0,0.45);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--border);
  background: #111;
}
.terminal-bar span {
  width: 10px; height: 10px; border-radius: 50%; background: #333;
}
.terminal-bar code {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--muted);
}
.terminal pre {
  margin: 0;
  padding: 1.25rem;
  font-size: 0.82rem;
  line-height: 1.7;
  color: #d4d4d4;
}
.terminal .dim { color: #666; }
.terminal .ok { color: var(--ok); }
.terminal .accent { color: var(--accent); }

/* Sections */
.section { padding: 4rem 0; }
.page-hero { padding: 4rem 0 2rem; }
.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.02em;
  margin: 0;
}
.download-beta-badge {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.25rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent, var(--text));
}

/* Download page — left-aligned hero, panel, guide cards, steps */
.page-download .page-hero-download { padding: 3.75rem 0 1.75rem; }
.page-download .section { padding: 3.25rem 0; }
.page-download .section-tight-top { padding-top: 0; padding-bottom: 3.25rem; }
.page-download .lead.muted {
  line-height: 1.65;
  max-width: 46rem;
}
.page-download .download-panel {
  max-width: 46rem;
  text-align: left;
}
.page-download .download-panel-title {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.35;
}
.page-download .download-panel > .muted {
  margin: 0 0 1.15rem;
  line-height: 1.62;
  font-size: 0.95rem;
}
.page-download .download-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.15rem;
}
.page-download .download-platform-grid {
  display: grid;
  gap: 1rem;
  margin: 0 0 1rem;
}
@media (min-width: 640px) {
  .page-download .download-platform-grid {
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  }
}
.page-download .download-platform-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.15rem 1.25rem;
  background: var(--bg);
}
.page-download .download-platform-card h3 {
  margin: 0;
  font-size: 1.02rem;
}
.page-download .download-platform-card .btn {
  align-self: flex-start;
  margin-top: 0.25rem;
}
.page-download .download-checksum {
  word-break: break-all;
  font-size: 0.78rem;
  line-height: 1.45;
}
.page-download .download-platform-note {
  margin: 0;
  line-height: 1.55;
}
.page-download .download-grid {
  align-items: stretch;
  gap: 1.15rem;
}
.page-download .download-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.page-download .download-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.02rem;
  line-height: 1.35;
}
.page-download .download-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.62;
}
.page-download .download-card-link {
  margin-top: auto;
  padding-top: 0.85rem;
}
.page-download .download-card-link a {
  font-size: 0.92rem;
  font-weight: 500;
}
.page-download .section-download-steps {
  padding-top: 3.25rem;
  padding-bottom: 3.25rem;
}
.page-download .section-head-download-steps {
  max-width: 46rem;
  margin-bottom: 1.25rem;
  text-align: left;
}
.page-download .section-head-download-steps .eyebrow { margin-bottom: 0.35rem; }
.page-download .section-head-download-steps h2 { margin: 0; line-height: 1.25; }
.page-download .download-steps-list {
  max-width: 46rem;
  margin: 0;
  padding-left: 1.35rem;
  display: grid;
  gap: 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}
.page-download .download-steps-list li {
  padding-left: 0.25rem;
}

/* Support — ticket form + track sidebar, left-aligned */
.page-support .page-hero-support { padding: 3.75rem 0 1.75rem; }
.page-support .section { padding: 3.25rem 0; }
.page-support .section-tight-top { padding-top: 0; padding-bottom: 3.25rem; }
.page-support .lead.muted {
  line-height: 1.65;
  max-width: 46rem;
}
.page-support .support-layout {
  display: grid;
  gap: 1.15rem;
  align-items: start;
}
@media (min-width: 960px) {
  .page-support .support-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  }
}
.page-support .support-panel {
  text-align: left;
}
.page-support .support-panel-title {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.35;
}
.page-support .support-panel-lead {
  margin: 0 0 1.1rem;
  font-size: 0.94rem;
  line-height: 1.6;
}
.page-support .support-sidebar {
  display: grid;
  gap: 1.15rem;
  align-content: start;
}
.page-support .support-device-fieldset {
  margin: 0.5rem 0 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.page-support .support-device-fieldset legend {
  padding: 0 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
}
.page-support .support-device-lead {
  margin: 0 0 0.75rem;
  line-height: 1.5;
}
.page-support .support-snapshot-note {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
}
.page-support .support-track-result {
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border);
}
.page-support .support-track-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin: 0 0 0.35rem;
}
.page-support .support-thread-heading {
  margin: 1rem 0 0.65rem;
  font-size: 0.92rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.page-support .support-thread-message {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}
.page-support .support-thread-message:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}
.page-support .support-thread-body {
  margin: 0.35rem 0 0;
  white-space: pre-wrap;
  font-size: 0.94rem;
  line-height: 1.6;
}
.page-support .support-track-empty {
  margin: 1rem 0 0;
}
.page-support .support-portal-note {
  margin: 1.15rem 0 0;
  line-height: 1.55;
}
.page-support .support-portal-action {
  margin: 0.65rem 0 0;
}
.page-support .support-aside-list {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.65rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.58;
}
.page-support .support-links-grid {
  align-items: stretch;
  gap: 1.15rem;
}
.page-support .support-link-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.page-support .support-link-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.02rem;
}
.page-support .support-link-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.62;
}
.page-support .support-link-card-action {
  margin-top: auto;
  padding-top: 0.85rem;
}
.page-support .support-link-card-action a {
  font-weight: 500;
  font-size: 0.92rem;
}

.cards-3 {
  display: grid;
  gap: 1rem;
}
.cards-2 {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-2 { grid-template-columns: repeat(2, 1fr); }
}
.card, .pricing-card, .status-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.card h3, .pricing-card h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }

.logos { padding-top: 0; }
.logo-row {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center;
  color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em;
}
.logo-row span {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
}

.cta-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(124,108,255,0.06), transparent);
}
.cta-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.cta-inner h2 { margin: 0 0 0.35rem; font-size: 1.75rem; }

/* Pricing */
.pricing-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .pricing-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
.pricing-card .price { margin: 1.25rem 0 0.5rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 0.5rem; }
.pricing-card .price-period { font-size: 0.95rem; font-weight: 500; }
.pricing-card .plan-tag-billing { margin-top: 0.35rem; }
.pricing-card .amount { font-size: 2rem; font-weight: 600; letter-spacing: -0.02em; }
.plan-tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 0 0 1rem;
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.checklist li { padding: 0.3rem 0; }
.checklist li::before { content: "✓ "; color: var(--ok); }

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

/* Forms */
.checkout-form .field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.checkout-form span { font-size: 0.85rem; color: var(--muted); }
.checkout-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.checkout-form select,
.checkout-form textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: var(--bg-card);
  color: var(--text);
  font: inherit;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
}
.checkout-form input::placeholder {
  color: rgba(156, 163, 175, 0.85);
}
.portal-auth-grid {
  display: grid;
  gap: 1.25rem;
  margin: 2rem 0 0;
}
@media (min-width: 720px) {
  .portal-auth-grid { grid-template-columns: 1fr 1fr; }
}
.portal-auth-card {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.portal-auth-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}
@media (max-width: 899px) {
  .header-cta .lang-switch { display: none; }
}
.checkout-form .field.field-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.checkout-form .field.field-checkbox input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
  padding: 0;
  accent-color: var(--accent, #7c6cff);
  cursor: pointer;
}
.checkout-form .field.field-checkbox span {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
}
.alert { padding: 0.85rem 1rem; border-radius: 8px; margin-bottom: 1rem; }
.alert-error { background: rgba(248,113,113,0.1); border: 1px solid rgba(248,113,113,0.35); color: #fecaca; }

.license-box {
  margin: 1.5rem 0;
  padding: 1rem;
  background: var(--accent-soft);
  border: 1px solid rgba(124,108,255,0.35);
  border-radius: 8px;
}
.license-box code {
  display: block;
  word-break: break-all;
  margin: 0.75rem 0;
  font-size: 0.95rem;
}

.split {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) {
  .split { grid-template-columns: 1fr 1fr; }
}
.steps { color: var(--muted); line-height: 1.8; }
.prose p { color: var(--muted); }
.prose h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.prose h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.05rem;
}
.prose ul, .prose ol {
  color: var(--muted);
  padding-inline-start: 1.25rem;
}
.prose li { margin: 0.35rem 0; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: #fff; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1rem 0 1.5rem;
}
.prose th, .prose td {
  border: 1px solid var(--border);
  padding: 0.55rem 0.7rem;
  text-align: start;
  vertical-align: top;
}
.prose thead th { background: var(--bg-elevated); color: var(--muted); font-weight: 600; }
.prose strong { color: var(--text); }
.legal-updated { margin-top: 0.75rem; font-size: 0.85rem; }
.page-legal .page-hero-legal { padding: 3.75rem 0 1.75rem; }
.page-legal .section { padding: 3.25rem 0; }
.page-legal .section-tight-top { padding-top: 0; padding-bottom: 3.25rem; }
.page-legal .lead.muted {
  line-height: 1.65;
  max-width: 46rem;
}
.page-legal .legal-updated {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
}
.page-legal .legal-prose {
  padding-bottom: 2rem;
  max-width: 46rem;
  text-align: left;
}
.page-legal .legal-prose h2 {
  margin-top: 2rem;
  margin-bottom: 0.65rem;
  font-size: 1.15rem;
  line-height: 1.35;
}
.page-legal .legal-prose h3 {
  margin-top: 1.35rem;
  margin-bottom: 0.5rem;
  font-size: 1.02rem;
}
.page-legal .legal-prose p,
.page-legal .legal-prose li {
  line-height: 1.65;
  font-size: 0.95rem;
}
.page-legal .legal-prose table {
  width: 100%;
  margin: 1rem 0;
  font-size: 0.9rem;
}

.page-toc, .legal-nav {
  border-block: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(10px);
}
.page-toc { position: sticky; top: 64px; z-index: 40; }
.page-toc ul, .legal-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0.7rem 0;
}
.page-toc a, .legal-nav a {
  color: var(--muted);
  font-size: 0.85rem;
}
.page-toc a:hover, .legal-nav a:hover,
.legal-nav a.active { color: var(--text); }
.honest-list { max-width: 46rem; }

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-dropdown summary {
  display: inline-flex;
  align-items: center;
  list-style: none;
  cursor: pointer;
  color: var(--muted);
  font: inherit;
  font-size: inherit;
  line-height: inherit;
  padding: 0;
  margin: 0;
}
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary:hover,
.nav-dropdown summary.active,
.nav-dropdown[open] summary { color: var(--text); }
.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 0.35rem);
  inset-inline-start: 0;
  min-width: 11rem;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.15rem;
  z-index: 50;
}
.nav-dropdown-panel a {
  display: block;
  padding: 0.35rem 0.5rem;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.88rem;
  color: var(--muted);
}
.nav-dropdown-panel a:hover,
.nav-dropdown-panel a.active { color: var(--text); background: rgba(255,255,255,0.04); }

.product-hub {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.product-hub-card {
  display: block;
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.15s;
}
.product-hub-card:hover { transform: translateY(-2px); }
.product-hub-card h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.section-tight { padding-top: 1.5rem; padding-bottom: 1.5rem; }

/* Features page — spacing rhythm + equal-height cards (left-aligned like rest of site) */
.page-features .section { padding: 3.25rem 0; }
.page-features .page-hero-enterprise { padding: 3.75rem 0 1.75rem; }
.page-features .section-head-wide { max-width: 46rem; margin-bottom: 2rem; }
.page-features .section-head-wide .eyebrow { margin-bottom: 0.35rem; }
.page-features .section-head-wide h2 { margin-bottom: 0.6rem; }
.page-features .section-head-wide .muted {
  margin: 0;
  line-height: 1.65;
  font-size: 0.98rem;
}
.page-features .feature-cards {
  align-items: stretch;
  gap: 1.15rem;
}
.page-features .feature-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.page-features .feature-card h3 {
  margin: 0 0 0.55rem;
  line-height: 1.35;
  font-size: 1.02rem;
}
.page-features .feature-card p {
  flex: 1;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.62;
}
.page-features .page-toc ul {
  gap: 0.5rem 1rem;
  padding: 0.7rem 0;
}
.page-features .honest-list {
  line-height: 1.65;
  display: grid;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.page-features .honest-list li { margin: 0; }
.page-features .matrix-note {
  margin-top: 1.25rem;
  line-height: 1.6;
}
.page-features .product-hub { margin-top: 0.35rem; }
.page-features .section-tight { padding-top: 1.75rem; padding-bottom: 1.75rem; }
.page-features #compare .table-wrap { margin-top: 0.25rem; }

/* Product sub-pages (agents, composer, cli, models, teams) */
.page-product .section { padding: 3.25rem 0; }
.page-product .page-hero-enterprise { padding: 3.75rem 0 1.75rem; }
.page-product .section-head-wide { max-width: 46rem; margin-bottom: 2rem; }
.page-product .section-head-wide .muted {
  margin: 0;
  line-height: 1.65;
  font-size: 0.98rem;
}
.page-product .product-cards {
  align-items: stretch;
  gap: 1.15rem;
}
.page-product .product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.page-product .product-card h3 {
  margin: 0 0 0.55rem;
  line-height: 1.35;
  font-size: 1.02rem;
}
.page-product .product-card p {
  flex: 1;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.62;
}
.page-product .page-toc ul {
  gap: 0.5rem 1.25rem;
  padding: 0.7rem 0;
}
.page-product .product-hub-card p.muted {
  margin: 0;
  line-height: 1.55;
  font-size: 0.92rem;
}
.page-product .cta-inner { gap: 1.25rem; }
.page-product .checklist-wide {
  margin-top: 0.35rem;
  max-width: 46rem;
  display: grid;
  gap: 0.35rem;
}
.page-product .checklist-wide li {
  padding: 0.5rem 0;
  line-height: 1.62;
  color: var(--muted);
  font-size: 0.95rem;
}
.page-product .section:has(.checklist-wide) .section-head-wide {
  margin-bottom: 1.5rem;
}

/* Enterprise page — 2×2 pillar grid, left-aligned */
.page-enterprise .page-hero-enterprise { padding: 3.75rem 0 1.75rem; }
.page-enterprise .section-tight-top { padding-top: 0; padding-bottom: 3.25rem; }
.page-enterprise .enterprise-grid {
  align-items: stretch;
  gap: 1.15rem;
}
.page-enterprise .enterprise-column {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
}
.page-enterprise .enterprise-column h3 {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  line-height: 1.35;
}
.page-enterprise .enterprise-checklist {
  flex: 1;
  margin: 0;
  display: grid;
  gap: 0.35rem;
}
.page-enterprise .enterprise-checklist li {
  padding: 0.4rem 0;
  line-height: 1.58;
  color: var(--muted);
  font-size: 0.92rem;
}
.page-enterprise .cta-inner { gap: 1.25rem; align-items: center; }
.page-enterprise .lead.muted {
  line-height: 1.65;
  max-width: 46rem;
}

/* Security page — 3×2 cards + boundary table, left-aligned */
.page-security .page-hero-security { padding: 3.75rem 0 1.75rem; }
.page-security .section { padding: 3.25rem 0; }
.page-security .section-tight-top { padding-top: 0; padding-bottom: 3.25rem; }
.page-security .lead.muted {
  line-height: 1.65;
  max-width: 46rem;
}
.page-security .security-grid {
  align-items: stretch;
  gap: 1.15rem;
}
.page-security .security-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.page-security .security-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.02rem;
  line-height: 1.35;
}
.page-security .security-card p {
  flex: 1;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.62;
}
.page-security .section-boundary { padding-top: 3.25rem; padding-bottom: 3.25rem; }
.page-security .section-head-boundary {
  max-width: 46rem;
  margin-bottom: 1.5rem;
}
.page-security .section-head-boundary .eyebrow { margin-bottom: 0.35rem; }
.page-security .section-head-boundary h2 { margin: 0; line-height: 1.25; }
.page-security .security-table-wrap { margin-top: 0.25rem; }
.page-security .security-table-wrap .matrix th,
.page-security .security-table-wrap .matrix td {
  font-size: 0.92rem;
  line-height: 1.55;
  vertical-align: top;
}
.page-security .section-prose { padding-top: 0; }
.page-security .security-prose p {
  line-height: 1.65;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Help page — guide grid + FAQ, left-aligned */
.page-help .page-hero-help { padding: 3.75rem 0 1.75rem; }
.page-help .section { padding: 3.25rem 0; }
.page-help .section-tight-top { padding-top: 0; padding-bottom: 3.25rem; }
.page-help .lead.muted {
  line-height: 1.65;
  max-width: 46rem;
}
.page-help .help-grid {
  align-items: stretch;
  gap: 1.15rem;
}
.page-help .help-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.page-help .help-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.02rem;
  line-height: 1.35;
}
.page-help .help-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.62;
}
.page-help .help-card-link {
  margin-top: auto;
  padding-top: 0.85rem;
}
.page-help .help-card-link a {
  font-size: 0.92rem;
  font-weight: 500;
}
.page-help .section-faq { padding-top: 3.25rem; padding-bottom: 3.25rem; }
.page-help .section-head-faq {
  max-width: 46rem;
  margin-bottom: 1.25rem;
}
.page-help .section-head-faq .eyebrow { margin-bottom: 0.35rem; }
.page-help .section-head-faq h2 { margin: 0; }
.page-help .help-faq-list .faq-item dd {
  line-height: 1.62;
  font-size: 0.95rem;
}
.page-help .cta-inner { gap: 1.25rem; align-items: center; }

/* Docs hub — guide grid + numbered steps, left-aligned */
.page-docs .page-hero-docs { padding: 3.75rem 0 1.75rem; }
.page-docs .section { padding: 3.25rem 0; }
.page-docs .section-tight-top { padding-top: 0; padding-bottom: 3.25rem; }
.page-docs .lead.muted {
  line-height: 1.65;
  max-width: 46rem;
}
.page-docs .docs-grid {
  align-items: stretch;
  gap: 1.15rem;
}
.page-docs .docs-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.page-docs .docs-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.02rem;
  line-height: 1.35;
}
.page-docs .docs-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.62;
}
.page-docs .docs-card-link {
  margin-top: auto;
  padding-top: 0.85rem;
}
.page-docs .docs-card-link a {
  font-size: 0.92rem;
  font-weight: 500;
}
.page-docs .section-docs-steps { padding-top: 3.25rem; padding-bottom: 3.25rem; }
.page-docs .section-head-docs-steps {
  max-width: 46rem;
  margin-bottom: 1.25rem;
}
.page-docs .section-head-docs-steps h2 { margin: 0; line-height: 1.25; }
.page-docs .docs-steps-list {
  max-width: 46rem;
  margin: 0;
  padding-left: 1.35rem;
  display: grid;
  gap: 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}
.page-docs .docs-steps-list li {
  padding-left: 0.25rem;
}

/* About page — long-form manifesto, left-aligned sections */
.page-about .page-hero-about { padding: 3.75rem 0 1.75rem; }
.page-about .section { padding: 3.25rem 0; }
.page-about .section-tight-top { padding-top: 0; padding-bottom: 3.25rem; }
.page-about .lead.muted {
  line-height: 1.65;
  max-width: 46rem;
}
.page-about .section-head-about {
  max-width: 46rem;
  margin-bottom: 1.5rem;
  text-align: left;
}
.page-about .section-head-about .eyebrow { margin-bottom: 0.35rem; }
.page-about .section-head-about h2 { margin: 0 0 0.5rem; line-height: 1.25; }
.page-about .section-head-about .muted {
  margin: 0;
  line-height: 1.65;
  font-size: 0.98rem;
}
.page-about .about-grid {
  align-items: stretch;
  gap: 1.15rem;
}
.page-about .about-boundary-grid { margin-top: 1.15rem; }
.page-about .about-card,
.page-about .about-leadership-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.page-about .about-card h3,
.page-about .about-leadership-card h2 {
  margin: 0 0 0.55rem;
  font-size: 1.02rem;
  line-height: 1.35;
}
.page-about .about-card p,
.page-about .about-body,
.page-about .about-story-p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0 0 0.85rem;
}
.page-about .about-leadership-card .about-body:last-of-type { margin-bottom: 0; }
.page-about .about-portrait {
  margin: 0 0 1.1rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--border) 85%, transparent);
  background: var(--bg-elevated);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}
.page-about .about-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-about .about-portrait-ceo {
  width: 100%;
  max-width: none;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
}
.page-about .about-portrait-ceo img {
  object-position: center 22%;
}
.page-about .about-ceo-photo { margin-bottom: 1.15rem; }
.page-about .about-director-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.35rem 1.25rem 1.5rem;
  height: 100%;
}
.page-about .about-portrait-director {
  width: min(100%, 15.5rem);
  aspect-ratio: 4 / 5;
  margin-left: auto;
  margin-right: auto;
  border-radius: 18px;
  padding: 0.35rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}
.page-about .about-portrait-director img {
  border-radius: 14px;
  object-position: top center;
}
.page-about .about-director-copy {
  width: 100%;
  max-width: 22rem;
}
.page-about .about-director-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  line-height: 1.3;
}
.page-about .about-director-card .plan-tag {
  margin-bottom: 0.65rem;
}
.page-about .about-director-card .about-body {
  margin-bottom: 0;
  font-size: 0.92rem;
}
.page-about .about-address { margin-top: 0.75rem; font-size: 0.92rem; }
.page-about .about-story { max-width: 46rem; }
.page-about .about-story .about-story-p:last-child { margin-bottom: 0; }
.page-about .about-timeline li p:last-child {
  line-height: 1.62;
  color: var(--muted);
  font-size: 0.95rem;
}
.page-about .cta-inner { gap: 1.25rem; align-items: center; }

/* Pricing page */
.page-pricing .page-hero-pricing { padding: 3.75rem 0 1.75rem; }
.page-pricing .section { padding: 3.25rem 0; }
.page-pricing .section-tight-top { padding-top: 0; padding-bottom: 3.25rem; }
.page-pricing .lead.muted {
  line-height: 1.65;
  max-width: 46rem;
}
.page-pricing .section-head-pricing {
  max-width: 46rem;
  margin-bottom: 1.5rem;
}
.page-pricing .section-head-pricing .eyebrow { margin-bottom: 0.35rem; }
.page-pricing .section-head-pricing h2 { margin: 0; }
.page-pricing .matrix-note {
  margin-top: 1rem;
  max-width: 46rem;
  line-height: 1.62;
  font-size: 0.92rem;
}
.page-pricing .pricing-grid {
  align-items: stretch;
  gap: 1.15rem;
}
.page-pricing .pricing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.page-pricing .pricing-card h3 { margin: 0 0 0.5rem; }
.page-pricing .pricing-checklist { flex: 1; margin-bottom: 1rem; }
.page-pricing .pricing-matrix-wrap { margin-top: 0.15rem; }
.page-pricing .pricing-matrix-wrap .table-wrap { margin-bottom: 0; }
.page-pricing .section-packages { padding-top: 3rem; }
.page-pricing .pricing-panel {
  max-width: 46rem;
  padding: 1.75rem 1.65rem;
  text-align: left;
}
.page-pricing .pricing-panel h3 {
  margin: 0 0 0.65rem;
  font-size: 1.08rem;
  line-height: 1.35;
}
.page-pricing .pricing-panel > .muted {
  margin: 0;
  line-height: 1.65;
  font-size: 0.95rem;
}
.page-pricing .pricing-free-block {
  margin-top: 1.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.page-pricing .pricing-free-label {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.page-pricing .pricing-free-block .muted {
  margin: 0;
  line-height: 1.62;
  font-size: 0.94rem;
}
.page-pricing .pricing-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
  align-items: center;
}
.page-pricing .pricing-panel-alert h3 { color: var(--text); }
.page-pricing .pricing-legal-note {
  margin-top: 1.75rem;
  max-width: 46rem;
  line-height: 1.62;
}

.faq-list { margin: 0; }
.faq-item { border-top: 1px solid var(--border); padding: 1rem 0; }
.faq-item dt { font-weight: 600; margin-bottom: 0.35rem; }
.faq-item dd { margin: 0; color: var(--muted); }
.checklist-wide { max-width: 46rem; margin-top: 1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

@media (max-width: 900px) {
  .nav-dropdown-panel {
    position: static;
    margin-top: 0.35rem;
    box-shadow: none;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  gap: 2rem 1.5rem;
  grid-template-columns: minmax(180px, 1.35fr) repeat(4, minmax(120px, 1fr));
  align-items: start;
}
.footer-col {
  min-width: 0;
}
@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
  .footer-col-brand {
    grid-column: 1 / -1;
  }
}
.footer-grid h4 {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.footer-grid a {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 0.2rem 0;
}
.footer-grid .link-button {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 0.2rem 0;
  text-align: inherit;
}
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}
.footer-brand { margin-bottom: 0.75rem; }

.input-readonly {
  opacity: 0.85;
  cursor: not-allowed;
}
.field-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.field-checkbox input { margin-top: 0.2rem; }
.field-checkbox a { color: var(--accent); }

.portal-plan-card {
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-elevated);
}
.portal-plan-badge {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.portal-plan-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}
.portal-plan-features {
  margin: 0.75rem 0;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.portal-plan-features li { margin: 0.25rem 0; }

/* Customer portal dashboard */
.portal-dashboard { padding-top: 1.5rem; }
.portal-dash-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.portal-user-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}
.portal-user-avatar {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.25rem;
  background: var(--brand-gradient);
  color: #050505;
  flex-shrink: 0;
}
.portal-dash-title {
  margin: 0.15rem 0 0.35rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  letter-spacing: -0.02em;
}
.portal-dash-email {
  margin: 0;
  font-size: 0.95rem;
  word-break: break-all;
}
.portal-signout-form { flex-shrink: 0; }
.portal-status-banner {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(62, 207, 142, 0.35);
  background: rgba(62, 207, 142, 0.1);
  color: #bbf7d0;
  font-size: 0.95rem;
}
.portal-dash-lead {
  margin: 0 0 1.25rem;
  max-width: 42rem;
  font-size: 0.95rem;
}
.portal-stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.portal-stat {
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.portal-stat-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.portal-stat-label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.portal-license-card {
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid rgba(139, 123, 255, 0.45);
  background: linear-gradient(145deg, rgba(139, 123, 255, 0.12), rgba(5, 5, 5, 0.2));
}
.portal-license-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.portal-license-label {
  margin: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.portal-license-code {
  display: block;
  padding: 0.85rem 1rem;
  margin: 0 0 0.5rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border);
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  letter-spacing: 0.04em;
  word-break: break-all;
}
.portal-dash-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 960px) {
  .portal-dash-grid {
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    align-items: start;
  }
}
.portal-panel {
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.portal-panel-head {
  margin-bottom: 1rem;
}
.portal-panel-head h2 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.portal-panel-head-spaced { margin-top: 1.5rem; }
.portal-table-wrap {
  overflow-x: auto;
  margin: 0 -0.25rem;
  padding: 0 0.25rem;
}
.portal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.portal-table th,
.portal-table td {
  padding: 0.65rem 0.5rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}
.portal-table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 600;
}
.portal-table tbody tr:last-child td { border-bottom: none; }
.portal-package-name { display: block; font-weight: 600; }
.portal-package-provider {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: lowercase;
}
.portal-license-cell code.portal-key-inline {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
  word-break: break-all;
}
.portal-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: lowercase;
  border: 1px solid var(--border);
}
.portal-badge--ok {
  color: #86efac;
  border-color: rgba(62, 207, 142, 0.45);
  background: rgba(62, 207, 142, 0.12);
}
.portal-badge--pending {
  color: #fde68a;
  border-color: rgba(251, 191, 36, 0.4);
  background: rgba(251, 191, 36, 0.1);
}
.portal-badge--neutral {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}
.portal-quick-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.portal-ticket-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.portal-ticket-item {
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}
.portal-ticket-main {
  display: grid;
  gap: 0.2rem;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
}
.portal-ticket-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  font-size: 0.85rem;
}
.link-button {
  background: none;
  border: none;
  padding: 0;
  color: var(--accent);
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.link-button:hover { color: #fff; }
.btn-block { width: 100%; justify-content: center; }

.flash {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.leadership-grid {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}
@media (min-width: 800px) {
  .leadership-grid { grid-template-columns: 1fr 1fr; }
}
.page-about .about-leadership-grid .about-leadership-card {
  height: 100%;
}
.page-about .about-leadership-card .about-body + .about-body {
  margin-top: 0;
}
.page-about .about-hq-highlights {
  margin: 1rem 0 0;
  padding: 0.85rem 0 0;
  list-style: none;
  border-top: 1px solid var(--border);
}
.page-about .about-hq-highlights li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.15rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}
.page-about .about-hq-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent, #8b5cf6);
}
.page-about .directors-grid {
  display: grid;
  gap: 1.25rem;
  max-width: 52rem;
  margin: 0 auto;
  align-items: stretch;
}
@media (min-width: 640px) {
  .page-about .directors-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .page-about .directors-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page-about .directors-grid:has(> :nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 36rem;
  }
}
.directors-admin-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 0.75rem; }
.directors-admin-row { padding: 1rem; }
.directors-admin-thumb {
  display: block;
  max-width: 120px;
  max-height: 120px;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  object-fit: cover;
}
.leadership-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.leadership-card p:last-child { margin-bottom: 0; }

.about-toc { margin-top: 1.25rem; }
.about-toc ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}
.about-toc a { color: var(--muted); }
.about-toc a:hover { color: var(--text); }

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .timeline { grid-template-columns: 1fr 1fr; }
}
.timeline li {
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}
.timeline .plan-tag { margin-bottom: 0.35rem; }
.timeline h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }

.how-grid {
  display: grid;
  gap: 1rem;
  counter-reset: how;
}
@media (min-width: 800px) {
  .how-grid { grid-template-columns: 1fr 1fr; }
}
.how-card {
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}
.how-card::before {
  counter-increment: how;
  content: counter(how);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  margin-bottom: 0.65rem;
  border-radius: 999px;
  background: var(--bg-elevated);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
}
.how-card h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }

.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.gallery-card figcaption {
  display: grid;
  gap: 0.2rem;
  margin-top: 0.65rem;
  font-size: 0.9rem;
}
.gallery-placeholder {
  min-height: 180px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: var(--bg-card);
}
.gallery-placeholder h3 { margin: 0.25rem 0 0.35rem; }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.matrix th, .matrix td {
  padding: 0.7rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.matrix thead th {
  background: var(--bg-elevated);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.matrix tbody th { font-weight: 600; white-space: nowrap; }
.matrix tbody tr:last-child th,
.matrix tbody tr:last-child td { border-bottom: 0; }
.matrix-note { margin-top: 0.75rem; font-size: 0.85rem; }

/* Changelog — left-aligned feed, no phase codes in copy */
.page-changelog .page-hero-changelog { padding: 3.75rem 0 1.75rem; }
.page-changelog .section { padding: 3.25rem 0; }
.page-changelog .section-tight-top { padding-top: 0; padding-bottom: 3.25rem; }
.page-changelog .lead.muted {
  line-height: 1.65;
  max-width: 46rem;
}
.page-changelog .changelog-feed {
  display: grid;
  gap: 1.15rem;
  max-width: 46rem;
}
.page-changelog .changelog-entry {
  text-align: left;
  padding: 1.25rem 1.35rem;
}
.page-changelog .changelog-entry-tag {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.page-changelog .changelog-entry-title {
  margin: 0 0 0.55rem;
  font-size: 1.12rem;
  line-height: 1.35;
  font-weight: 600;
}
.page-changelog .changelog-entry-body {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  margin-inline-end: 0.35rem;
}
.lang-switch a {
  color: var(--muted);
  padding: 0.25rem 0.45rem;
  border: 1px solid var(--border);
  border-radius: 999px;
}
.lang-switch a.active, .lang-switch a:hover { color: var(--text); border-color: #444; }

html[dir="rtl"] .nav { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .header-cta { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .hero-points li::before { content: " —"; }
html[dir="rtl"] .checklist li::before { content: " ✓"; }
html[dir="rtl"] .matrix th, html[dir="rtl"] .matrix td { text-align: right; }

.consent-banner {
  position: sticky;
  bottom: 0;
  z-index: 80;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: 1rem 0;
}
.consent-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.consent-title {
  margin: 0 0 0.25rem;
  font-weight: 600;
}
.consent-inner .muted { margin: 0; max-width: 42rem; }
.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.cookie-reset { margin: 0.35rem 0 0; }
.link-button {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}
.link-button:hover { color: #fff; }

/* Enterprise / ORQVION marketing */
.btn-brand {
  background: var(--brand-gradient);
  color: #fff;
  border: 0;
  box-shadow: 0 12px 40px rgba(139, 123, 255, 0.25);
}
.btn-brand:hover {
  filter: brightness(1.08);
  color: #fff;
}

.hero-enterprise {
  padding: 5.5rem 0 4.5rem;
  background:
    radial-gradient(ellipse 90% 60% at 20% -10%, rgba(77, 212, 255, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 0%, rgba(176, 106, 255, 0.14), transparent 50%),
    var(--bg);
}
.hero-badge {
  display: inline-flex;
  margin: 0 0 1rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}
.stat-grid {
  display: grid;
  gap: 1px;
  background: var(--border);
}
@media (min-width: 768px) {
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
}
.stat-card {
  padding: 1.25rem 1.5rem;
  background: var(--bg-elevated);
}
.stat-value {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.stat-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.home-feature-nav {
  position: sticky;
  top: 64px;
  z-index: 40;
  border-bottom: 1px solid var(--border);
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(12px);
}
.home-feature-nav ul {
  display: flex;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0.65rem 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.home-feature-nav li { flex: 0 0 auto; }
.home-feature-nav a {
  display: inline-flex;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 0.85rem;
  white-space: nowrap;
}
.home-feature-nav a:hover {
  color: var(--text);
  border-color: var(--border);
  background: var(--bg-card);
}

.spotlight {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border);
}
.spotlight:nth-child(even) { background: var(--bg-elevated); }
.spotlight-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 960px) {
  .spotlight-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .spotlight-reverse .spotlight-copy { order: 2; }
  .spotlight-reverse .spotlight-panel { order: 1; }
}
.spotlight-copy h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.spotlight-bullets {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}
.spotlight-bullets li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.spotlight-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-gradient);
}

.workspace-mock,
.glow-frame {
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  background: #080808;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03) inset,
    0 28px 90px rgba(0,0,0,0.55),
    0 0 80px rgba(139, 123, 255, 0.08);
}
.workspace-mock-chrome {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--border);
  background: #0f0f0f;
}
.workspace-mock-chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #333;
}
.workspace-mock-chrome code {
  margin-left: auto;
  font-size: 0.72rem;
  color: var(--muted);
}
.workspace-mock-body pre {
  margin: 0;
  padding: 1.25rem;
  font-size: 0.82rem;
  line-height: 1.7;
  color: #d4d4d4;
}
.workspace-mock .ghost {
  color: #666;
  opacity: 0.75;
}

.privacy-band {
  padding: 4rem 0;
  background:
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(77, 212, 255, 0.08), transparent),
    radial-gradient(ellipse 50% 70% at 100% 50%, rgba(176, 106, 255, 0.1), transparent),
    var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.privacy-band-inner {
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .privacy-band-inner { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
}
.privacy-band h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}
.privacy-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.privacy-points li {
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  color: var(--muted);
  font-size: 0.92rem;
}

.glow-card {
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.glow-card:hover {
  border-color: rgba(139, 123, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

.cta-band-brand {
  background:
    radial-gradient(ellipse 70% 100% at 50% 100%, rgba(139, 123, 255, 0.16), transparent 60%),
    var(--bg-elevated);
}

.page-hero-enterprise {
  padding: 4.5rem 0 2rem;
  background:
    radial-gradient(ellipse 80% 50% at 50% -30%, rgba(139, 123, 255, 0.15), transparent),
    var(--bg);
}

@media (min-width: 900px) and (max-width: 1180px) {
  .nav { gap: 0.85rem; font-size: 0.82rem; }
  .header-cta .btn { padding-inline: 0.75rem; }
}

