/* ==========================================================================
   RenOS site styles
   Dark theme from the approved homepage design. Generated pages share this file.
   ========================================================================== */

:root {
  --bg: #0a0c11;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.08);
  --text: #e9ebf1;
  --muted: #8a90a2;
  --faint: #5b6073;
  --cyan: #5ee0ff;
  --cyan-deep: #0e2d39;
  --violet: #8f80f7;
  --green: #5fd0a0;
  --amber: #f2b45a;
  --pink: #f08bb8;
  --blue: #6aa8ff;

  --glow-cyan: 0 0 22px rgba(94, 225, 255, 0.45);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --font-sans: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1280px;
  --gutter: clamp(16px, 5.5vw, 80px);
}

/* ---------- Base ---------- */

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

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, p, ul, ol {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

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

svg {
  display: block;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--cyan);
  color: var(--bg);
  border-radius: var(--radius-sm);
  font-weight: 500;
}
.skip-link:focus {
  top: 16px;
}

/* Soft colour fields behind the page */
.bg-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(closest-side, var(--orb), transparent);
  z-index: -1;
}
.bg-orb--1 { width: 760px; height: 760px; top: 280px; left: 240px; --orb: var(--violet); opacity: 0.32; }
.bg-orb--2 { width: 780px; height: 780px; top: 300px; left: 1000px; --orb: var(--cyan); opacity: 0.16; }
.bg-orb--3 { width: 700px; height: 700px; top: 2400px; left: 200px; --orb: var(--violet); opacity: 0.2; }

@media (max-width: 900px) {
  .bg-orb--1 { width: 480px; height: 480px; top: 200px; left: -120px; }
  .bg-orb--2 { width: 480px; height: 480px; top: 700px; left: 40%; }
  .bg-orb--3 { width: 420px; height: 420px; top: auto; bottom: 900px; left: -100px; }
}

/* ---------- Shared bits ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn--primary {
  background: var(--cyan);
  color: var(--bg);
  box-shadow: var(--glow-cyan);
}
.btn--primary:hover {
  box-shadow: 0 0 32px rgba(94, 225, 255, 0.65);
}
.btn--ghost {
  background: var(--surface-strong);
  color: var(--text);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}
.btn--sm {
  padding: 11px 20px;
  font-size: 14px;
}
.btn--lg {
  padding: 15px 30px;
  font-size: 17px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface);
  font-size: 12px;
  line-height: 17px;
  color: var(--muted);
  white-space: nowrap;
}
.pill--cyan {
  background: var(--cyan-deep);
  color: var(--cyan);
  font-size: 13px;
}
.pill--accent {
  color: var(--cyan);
}
.pill--light {
  color: var(--text);
}

.dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}
.dot--green { background: var(--green); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--cyan);
  text-transform: uppercase;
}

.section {
  padding: clamp(56px, 8vw, 96px) 0;
}

.section-head {
  max-width: 820px;
  margin-bottom: clamp(32px, 4vw, 44px);
}
.section-title {
  margin-top: 14px;
  font-size: clamp(30px, 4.2vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.section-lede {
  margin-top: 16px;
  max-width: 760px;
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--muted);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid-3 { grid-template-columns: 1fr; }
}

/* ---------- Header and mega menu ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 12, 17, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--border); }
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 80px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
}
.brand-mark {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #1d4e5f, var(--cyan-deep));
  box-shadow: 0 0 26px rgba(94, 225, 255, 0.55);
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(94, 225, 255, 0.7);
}
.nav-menu {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-groups { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav-top:hover, .nav-item.is-open > .nav-top { color: var(--text); background: var(--surface); }
.caret {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}
.nav-item.is-open .caret { transform: translateY(1px) rotate(-135deg); }
.mega {
  position: absolute;
  top: calc(100% + 10px);
  left: -12px;
  display: none;
  min-width: 560px;
  padding: 10px;
  background: #11141c;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.nav-item.is-open .mega { display: block; }
.mega::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 14px;
}
.mega-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.mega-head {
  height: 30px;
  line-height: 16px;
  padding: 10px 12px 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}
.mega a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background-color 0.15s ease;
}
.mega a:hover, .mega a:focus-visible { background: var(--surface); }
.mega strong { display: block; font-size: 15px; font-weight: 500; }
.mega span { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); line-height: 1.35; }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-sales { font-size: 15px; color: var(--muted); }
.nav-sales:hover { color: var(--text); }
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1060px) {
  .nav { height: 68px; }
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 20px;
    padding: 12px var(--gutter) 32px;
    background: var(--bg);
    overflow-y: auto;
  }
  .nav-menu.is-open { display: flex; }
  .nav-groups { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item, .nav-groups > .nav-top { border-bottom: 1px solid var(--border); }
  .nav-top { width: 100%; justify-content: space-between; padding: 16px 0; font-size: 17px; color: var(--text); border-radius: 0; }
  .nav-top:hover, .nav-item.is-open > .nav-top { background: none; }
  .mega { position: static; min-width: 0; padding: 0 0 12px; background: none; border: 0; box-shadow: none; }
  .mega-inner { grid-template-columns: 1fr; }
  .mega a { padding: 10px 0; }
  .mega-head:empty { display: none; }
  .nav-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .nav-sales { padding: 12px 0; text-align: center; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Breadcrumbs ---------- */

.crumbs {
  margin-bottom: 28px;
  font-size: 13px;
  color: var(--faint);
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--text); }


/* ---------- Hero ---------- */

.hero {
  padding: 56px 0 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(0, 520px);
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.hero-title {
  margin-top: 20px;
  font-size: clamp(38px, 5.4vw, 62px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
}
.hero-title .gradient-text {
  display: block;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lede {
  margin-top: 24px;
  max-width: 640px;
  font-size: clamp(17px, 1.8vw, 19px);
  line-height: 1.55;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    justify-self: center;
  }
}
@media (max-width: 480px) {
  .hero-actions .btn { flex: 1 1 100%; }
}

/* Globe visual */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1;
}
.globe {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.globe-lines ellipse {
  fill: none;
  stroke: var(--cyan);
  stroke-opacity: 0.16;
  stroke-width: 1;
}
.globe-stars circle {
  fill: var(--text);
}
.globe-links line {
  stroke: var(--cyan);
  stroke-opacity: 0.35;
  stroke-width: 1;
  stroke-dasharray: 3 5;
  animation: dash 2.4s linear infinite;
}
@keyframes dash {
  to { stroke-dashoffset: -16; }
}
.globe-hub-pulse {
  transform-origin: 260px 260px;
  animation: pulse 3s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(2.2); opacity: 0; }
}

.float-card {
  position: absolute;
  padding: 12px 14px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.float-card--rationale {
  top: 11.5%;
  left: 3.8%;
  width: min(250px, 52%);
  box-shadow: 0 0 28px rgba(94, 225, 255, 0.22);
}
.float-card--session {
  top: 82.7%;
  left: 55.8%;
  width: min(230px, 48%);
}
.float-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--cyan);
}
.float-text {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.4;
}
.float-meta {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--faint);
}
@media (max-width: 520px) {
  .float-card--rationale { top: 2%; left: 0; }
  .float-card--session { top: auto; bottom: -4%; left: auto; right: 0; width: 62%; }
  .float-text { font-size: 12px; }
  .float-card .pill { padding: 0; background: none; white-space: normal; }
}

/* ---------- Problems ---------- */

.problems {
  padding: 24px 0 16px;
}
.problem h3 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}
.problem p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
}
.problem {
  padding: 22px;
}

/* ---------- How it works ---------- */

.step {
  display: flex;
  flex-direction: column;
}
.step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan);
}
.step h3 {
  margin-top: 8px;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.25;
}
.step p {
  margin-top: 10px;
  font-size: 15px;
  color: var(--muted);
}
.step-demo {
  margin-top: auto;
  padding: 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
}
.step p + .step-demo {
  margin-top: 20px;
}
.step-demo-text {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Governed session ---------- */

.session-grid {
  display: grid;
  grid-template-columns: minmax(0, 672px) minmax(0, 560px);
  justify-content: space-between;
  align-items: center;
  gap: 48px;
}
.feature-list {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}
.feature-list li {
  display: flex;
  gap: 12px;
  font-size: 16px;
  color: var(--muted);
}
.feature-list li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(94, 225, 255, 0.8);
}
.session-card {
  padding: 26px;
  border-radius: 20px;
  box-shadow: 0 0 28px rgba(94, 225, 255, 0.18);
}
.session-card .eyebrow {
  font-size: 11px;
}
.session-summary {
  margin-top: 12px;
  font-size: 17px;
  line-height: 1.55;
}
.timeline {
  margin-top: 22px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: linear-gradient(var(--cyan), var(--green));
  opacity: 0.25;
}
.timeline li {
  position: relative;
  display: flex;
  gap: 14px;
  padding: 10px 0;
}
.timeline-dot {
  flex: none;
  width: 12px;
  height: 12px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(94, 225, 255, 0.8);
}
.timeline-dot--green {
  background: var(--green);
  box-shadow: 0 0 10px rgba(95, 208, 160, 0.7);
}
.timeline time {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--faint);
}
.timeline strong {
  display: block;
  margin-top: 2px;
  font-size: 15px;
  font-weight: 500;
}
.timeline span {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 1000px) {
  .session-grid { grid-template-columns: 1fr; }
}

/* ---------- Capabilities ---------- */

.capability h3 {
  margin-top: 16px;
  font-size: 19px;
  font-weight: 700;
}
.capability p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
}
.cap-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--cyan-deep);
  box-shadow: 0 0 14px rgba(94, 225, 255, 0.25);
}
.cap-icon::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(94, 225, 255, 0.8);
}

/* ---------- Audience ---------- */

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag-list li {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 16px;
}

/* ---------- CTA ---------- */

.cta {
  padding-bottom: clamp(56px, 6vw, 64px);
}
.cta-panel {
  padding: clamp(44px, 6vw, 64px) clamp(20px, 4vw, 40px);
  border-radius: var(--radius-lg);
  text-align: center;
  background: linear-gradient(135deg, rgba(94, 225, 255, 0.12), rgba(143, 128, 247, 0.12));
  border: 1px solid rgba(94, 225, 255, 0.18);
  box-shadow: 0 0 50px rgba(94, 225, 255, 0.12);
}
.cta-panel h2 {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
}
.cta-panel p {
  max-width: 650px;
  margin: 14px auto 28px;
  font-size: clamp(17px, 1.8vw, 19px);
  color: var(--muted);
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 24px;
  padding: 56px 0 40px;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 48px;
}
.footer-brand p { margin-top: 14px; font-size: 14px; color: var(--muted); }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}
.footer-head {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}
.footer-col li + li { margin-top: 8px; }
.footer-col a { font-size: 14px; color: var(--muted); }
.footer-col a:hover { color: var(--text); }
.footer-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--faint);
}
.footer-row a { color: var(--muted); }
.footer-rule { flex: 1; height: 1px; background: var(--border); }
@media (max-width: 1000px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-rule { display: none; }
}


/* ==========================================================================
   Multi-page components
   ========================================================================== */

a.inline, .section-lede a, .card p a, .prose a, .hero-lede a, .cta-panel p a, .feature-copy a, .faq a, .flow-step p a, .plan-extra a {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-color: rgba(94, 225, 255, 0.35);
  text-underline-offset: 3px;
}
a.inline:hover, .section-lede a:hover, .card p a:hover, .prose a:hover, .hero-lede a:hover, .faq a:hover { text-decoration-color: var(--cyan); }

.section--tight { padding: 0 0 clamp(40px, 5vw, 56px); }
.hero-grid--solo { grid-template-columns: minmax(0, 820px); }
.hero-actions--center { justify-content: center; }
.cta-panel .hero-actions { margin-top: 0; }

.grid-2, .grid-4 { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-4 { grid-template-columns: 1fr; } }
ol.grid-3, ol.grid-4 { list-style: none; }

/* Cards */
.capability { position: relative; display: flex; flex-direction: column; }
.capability h3:first-child { margin-top: 0; }
.capability > p:empty { display: none; }
.card[style*="--accent"] { border-top: 2px solid var(--accent); }
.card[style*="--accent"] .cap-icon { background: color-mix(in srgb, var(--accent) 16%, transparent); box-shadow: 0 0 14px color-mix(in srgb, var(--accent) 30%, transparent); }
.card[style*="--accent"] .cap-icon::after { background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.card--link { transition: border-color 0.2s ease, transform 0.15s ease, background-color 0.2s ease; }
.card--link:hover { border-color: rgba(94, 225, 255, 0.35); background: rgba(255, 255, 255, 0.07); transform: translateY(-2px); }
.card-more { margin-top: auto; padding-top: 16px; font-size: 14px; font-weight: 500; color: var(--cyan); }
.card-quote { margin-top: 12px; font-size: 18px; line-height: 1.45; color: var(--text); }
.capability .step-num + h3 { margin-top: 8px; }
.capability .step-demo { margin-top: 20px; }

/* Feature rows */
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(28px, 4vw, 48px) 0;
}
.feature-row + .feature-row { border-top: 1px solid var(--border); }
.feature-row--flip .feature-copy { order: 2; }
.feature-copy h3 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 700; line-height: 1.2; }
.feature-copy > p { margin-top: 12px; font-size: 17px; color: var(--muted); }
.feature-copy .feature-list { margin-top: 18px; }
.row-link { margin-top: 18px; }
.row-link a { color: var(--cyan); font-weight: 500; }
.feature-visual { min-width: 0; }
@media (max-width: 900px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-row--flip .feature-copy { order: 0; }
}

/* Simple UI panel */
.ui-panel { display: grid; gap: 12px; padding: 22px; box-shadow: 0 0 28px rgba(94, 225, 255, 0.12); }
.ui-panel .pill { justify-self: start; }
.ui-kv { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--border); font-size: 14px; }
.ui-kv span { color: var(--muted); }
.ui-kv strong { font-weight: 500; text-align: right; }
.ui-note { font-size: 14px; color: var(--muted); }
.ui-bar { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.ui-bar i, .ui-meter i { position: relative; display: block; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.ui-bar i::after, .ui-meter i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--violet)); }
.ui-meter i.hot::after { background: linear-gradient(90deg, var(--amber), var(--pink)); }
.ui-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ui-col { padding: 12px; border-radius: 10px; background: rgba(0, 0, 0, 0.25); }

/* Product showcase windows */
.ui {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: linear-gradient(180deg, #151923, #10131a);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(94, 225, 255, 0.08);
  overflow: hidden;
  font-size: 14px;
  text-align: left;
}
.ui-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}
.ui-dots { display: flex; gap: 6px; }
.ui-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.ui-title { font-weight: 500; font-size: 13px; }
.ui-badge {
  margin-left: auto;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--cyan-deep);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 10px;
  white-space: nowrap;
}
.ui-body { display: grid; gap: 14px; padding: 18px; }
.ui-center { display: grid; justify-items: center; gap: 12px; padding: 18px 8px; text-align: center; }
.ui-center .brand { font-size: 20px; }
.ui-h { font-size: 16px; font-weight: 700; }
.ui-h--lg { font-size: clamp(18px, 2vw, 22px); }
.ui-muted { color: var(--muted); font-size: 13px; line-height: 1.5; }
.ui-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--faint); }
.ui-label b { margin-left: 6px; padding: 1px 7px; border-radius: 99px; background: var(--cyan); color: var(--bg); font-weight: 500; }
.ui-foot { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--faint); }
.dot--amber { background: var(--amber); }
.ui-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.ui-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--cyan);
  color: var(--bg);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.ui-btn--ghost { background: var(--surface-strong); color: var(--text); }
.ui-btn--block { width: 100%; max-width: 280px; }
.ui-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 8px 8px 14px;
  border: 1px solid rgba(94, 225, 255, 0.25);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.3);
  color: var(--faint);
}
.ui-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ui-chips span { padding: 5px 11px; border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 12px; }
.ui-cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.ui-list { display: grid; gap: 8px; margin-top: 10px; }
.ui-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}
.ui-list strong { display: block; font-weight: 500; font-size: 13px; }
.ui-list span { display: block; font-size: 12px; color: var(--muted); }
.ui-list em { flex: none; font-style: normal; font-size: 11px; color: var(--muted); padding: 2px 8px; border-radius: 99px; background: var(--surface); }
.ui-list em.is-run { color: var(--green); background: rgba(95, 208, 160, 0.12); }
.ui-prompt { padding: 12px 14px; border-radius: 10px; background: rgba(0, 0, 0, 0.3); line-height: 1.5; }
.ui-route { display: grid; gap: 6px; padding: 12px 14px; border: 1px solid rgba(94, 225, 255, 0.2); border-radius: 10px; background: rgba(94, 225, 255, 0.05); }
.ui-route p { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ui-tag { display: inline-block; padding: 2px 8px; border-radius: 99px; background: rgba(95, 208, 160, 0.12); color: var(--green); font-size: 11px; white-space: nowrap; }
.ui-tag + .ui-tag { margin-left: 6px; }
.ui-dl { display: grid; grid-template-columns: auto 1fr; margin: 0; }
.ui-dl dt, .ui-dl dd { margin: 0; padding: 9px 0; border-top: 1px solid var(--border); font-size: 13px; }
.ui-dl dt { padding-right: 16px; color: var(--muted); }
.ui-dl dd { text-align: right; }
.ui-meter { display: grid; gap: 6px; }
.ui-meter div { display: flex; justify-content: space-between; font-size: 13px; }
.ui-meter strong { font-weight: 500; }
.ui-meter span { color: var(--muted); }
.ui-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ui-table th { padding: 0 10px 8px 0; text-align: left; font-weight: 400; color: var(--faint); font-size: 12px; white-space: nowrap; }
.ui-table td { padding: 9px 10px 9px 0; border-top: 1px solid var(--border); vertical-align: top; }
.ui-table td:first-child { font-family: var(--font-mono); font-size: 12px; color: var(--faint); }
.ui-scroll { overflow-x: auto; }
.ui-scroll .ui-table { min-width: 560px; }
.ui-out { padding: 2px 8px; border-radius: 99px; font-size: 11px; background: rgba(94, 225, 255, 0.12); color: var(--cyan); }
.ui-out--blocked { background: rgba(240, 139, 184, 0.14); color: var(--pink); }
.ui-out--allowed { background: rgba(95, 208, 160, 0.12); color: var(--green); }
.ui-attn { display: grid; gap: 6px; }
.ui-attn li { position: relative; padding-left: 16px; color: var(--muted); font-size: 13px; }
.ui-attn li::before { content: ""; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.hero-visual .ui, .feature-visual .ui { max-width: 560px; margin-left: auto; margin-right: auto; }
.hero-grid > .ui--wide, .hero-grid > .ui { align-self: center; }
@media (max-width: 560px) {
  .ui-cols { grid-template-columns: 1fr; }
  .ui-body { padding: 14px; }
}

.ui-big { font-size: 26px; font-weight: 700; line-height: 1.1; }
.ui-chips--pick span.is-on { background: var(--cyan-deep); color: var(--cyan); box-shadow: inset 0 0 0 1px rgba(94, 225, 255, 0.4); }
.ui-table td.num { text-align: right; font-family: var(--font-mono); font-size: 12px; color: var(--text); }
.portal { max-width: 460px; margin: 0 auto; }
.portal .ui-center { gap: 14px; padding: 26px 12px; }
.portal-btn { width: 100%; max-width: 320px; }

/* Product flow */
.flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 20px;
  list-style: none;
  counter-reset: none;
}
.flow-step { display: flex; flex-direction: column; gap: 14px; }
.flow-head { display: flex; align-items: center; gap: 12px; }
.flow-num {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--cyan-deep);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 13px;
  box-shadow: 0 0 14px rgba(94, 225, 255, 0.25);
}
.flow-head h3 { font-size: 19px; font-weight: 700; }
.flow-step > p { font-size: 15px; color: var(--muted); }
.flow-step .ui { flex: 1; }
@media (max-width: 1100px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .flow { grid-template-columns: 1fr; } }

/* Screenshots */
.shot { margin: 0; }
.shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(94, 225, 255, 0.08);
}

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 900px; }
.faq-item { padding: 0; }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  font-size: 22px;
  line-height: 1;
  color: var(--cyan);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item h3 { font-size: 17px; font-weight: 500; }
.faq-item p { padding: 0 24px 22px; color: var(--muted); }

/* Prose */
.prose { max-width: 760px; }
.prose h2 { margin-top: 48px; font-size: clamp(26px, 3vw, 34px); font-weight: 700; line-height: 1.2; scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 28px; font-size: 20px; font-weight: 700; }
.prose p, .prose li { margin-top: 14px; font-size: 17px; line-height: 1.7; color: var(--muted); }
.prose ul, .prose ol { padding-left: 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-top: 8px; }
.callout {
  max-width: 900px;
  padding: 18px 22px;
  border: 1px solid rgba(94, 225, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(94, 225, 255, 0.06);
  color: var(--text) !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
}
.toc { max-width: 760px; }
.toc ol { margin-top: 10px; padding-left: 20px; list-style: decimal; color: var(--faint); }
.toc li { margin-top: 6px; }
.toc a { color: var(--muted); }
.toc a:hover { color: var(--cyan); }

/* Pricing */
.billing { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 24px; }
.billing button {
  padding: 9px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.billing button.is-on { background: var(--surface-strong); color: var(--text); border-color: rgba(94, 225, 255, 0.35); }
.billing-note { margin-left: 8px; font-size: 13px; color: var(--green); }
.plans { align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; }
.plan h3 { font-size: 23px; font-weight: 700; }
.plan-blurb { color: var(--muted); }
.plan-price { font-size: 34px; font-weight: 700; line-height: 1.1; }
.plan-price small { font-size: 14px; font-weight: 400; color: var(--muted); }
.plan-terms { margin-top: -8px; font-size: 13px; color: var(--muted); }
.plan .btn { align-self: stretch; }
.plan .feature-list { margin-top: 6px; }
.plan .feature-list li { font-size: 15px; }
.plan--featured { border-color: rgba(94, 225, 255, 0.4); box-shadow: 0 0 40px rgba(94, 225, 255, 0.14); background: linear-gradient(180deg, rgba(94, 225, 255, 0.08), rgba(255, 255, 255, 0.04)); }
.plan-tag {
  position: absolute;
  top: -12px;
  left: 28px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--cyan);
  color: var(--bg);
  font-size: 12px;
  font-weight: 500;
}
.plan-extras { margin-top: 16px; }
.plan-extra h3 { font-size: 19px; font-weight: 700; }
.plan-extra p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.table-wrap { padding: 8px 24px; overflow-x: auto; }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 16px 12px 16px 0; text-align: left; border-top: 1px solid var(--border); }
.compare thead th { border-top: 0; font-family: var(--font-mono); font-size: 12px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.05em; color: var(--cyan); }
.compare tbody th { font-weight: 400; color: var(--muted); }
.compare .muted { color: var(--faint); }

/* Forms */
.lead-form { max-width: 820px; padding: clamp(22px, 3vw, 32px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 22px; }
.field { display: grid; gap: 8px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 14px; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.3);
  color: var(--text);
  font: inherit;
  font-size: 16px;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field select option { background: #11141c; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--cyan); outline-offset: 1px; border-color: transparent; }
.form-status { margin-top: 14px; font-size: 15px; color: var(--green); }
.form-status.is-warn { color: var(--amber); }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* Tags as links */
.tag-list a { display: block; }
.tag-list li:has(a) { transition: border-color 0.2s ease, background-color 0.2s ease; }
.tag-list li:has(a):hover { border-color: rgba(94, 225, 255, 0.35); background: rgba(255, 255, 255, 0.07); }

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
