:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --panel: rgba(255, 255, 255, 0.05);
  --text: #f7f3f0;
  --muted: #b9b4b0;
  --accent: #4f9bd0;
  --accent-strong: #ff7a24;
  --note: rgba(255, 255, 255, 0.05);
  --note-line: rgba(255, 255, 255, 0.1);
  --note-text: #f7f3f0;
  --note-muted: #b9b4b0;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background: var(--bg);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0;
}

.top-nav a {
  color: var(--text);
  text-decoration: none;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.top-nav a {
  color: var(--muted);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
}

.top-nav a:hover,
.top-nav a:focus-visible {
  color: var(--accent);
  outline: none;
}

.docs-body {
  background: #000;
}

.shell {
  min-height: 100vh;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 480px);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  padding: 56px 0;
}

/* Hero right column: framed boot console + stats */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.console {
  position: relative;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(79, 155, 208, 0.08),
    0 0 48px rgba(79, 155, 208, 0.12);
}

.console-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.console-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.console-dot:first-child {
  background: var(--accent-strong);
}

.console-title {
  margin-left: 8px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.hero-logo {
  display: block;
  width: 100%;
  aspect-ratio: 1021 / 768;
  object-fit: cover;
  object-position: center;
}

.note {
  padding: 14px 16px;
  color: var(--note-text);
  background: var(--note);
  border: 1px solid var(--note-line);
  border-radius: 14px;
  backdrop-filter: blur(10px);
}

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

.note-title {
  color: var(--note-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--note-line);
  border: 1px solid var(--note-line);
  border-radius: 10px;
  overflow: hidden;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  background: #0d0d0d;
}

.value {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.02em;
}

.value small {
  margin-left: 2px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0;
}

.label {
  color: var(--note-muted);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.release {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--note-line);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.release i {
  color: var(--accent);
  font-size: 0.85rem;
}

.intro {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: var(--fs-kicker);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-kicker);
  text-transform: uppercase;
}

/* Hero left column */
.intro .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 7px 14px 7px 10px;
  border: 1px solid rgba(79, 155, 208, 0.35);
  border-radius: 999px;
  background: rgba(79, 155, 208, 0.08);
  color: var(--accent);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-strong);
  box-shadow: 0 0 0 0 rgba(255, 122, 36, 0.6);
  animation: eyebrowPulse 2.2s ease-out infinite;
}

@keyframes eyebrowPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 122, 36, 0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(255, 122, 36, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 122, 36, 0); }
}

.intro h1 {
  margin: 0 0 22px;
  font-size: var(--fs-display);
  font-weight: var(--fw-display);
  line-height: var(--lh-display);
  letter-spacing: var(--ls-display);
  color: var(--text);
}

.intro-gradient {
  background: linear-gradient(135deg, #4f9bd0, #ff7a24 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.intro-tagline {
  max-width: 34rem;
  margin: 0;
  padding-left: 18px;
  border-left: 2px solid rgba(255, 122, 36, 0.55);
  color: var(--muted);
  font-size: var(--fs-lead);
  font-weight: var(--fw-medium);
  line-height: var(--lh-lead);
}

.intro-tagline strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-weight: var(--fw-semibold);
}

.intro-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 34px;
}

.intro-actions .docs-link {
  margin-top: 0;
}

.intro-link-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease, gap 180ms ease;
}

.intro-link-secondary i {
  font-size: 0.8em;
  color: var(--accent);
  transition: transform 180ms ease;
}

.intro-link-secondary:hover,
.intro-link-secondary:focus-visible {
  color: var(--accent);
  gap: 12px;
  outline: none;
}

.intro-link-secondary:hover i {
  transform: translateY(2px);
}

.intro-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 38px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--note-line);
  list-style: none;
}

.intro-proof li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.intro-proof li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-strong);
  box-shadow: 0 0 0 3px rgba(255, 122, 36, 0.18);
}

.intro-reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: introReveal 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.intro .eyebrow.intro-reveal { animation-delay: 0s; }
.intro h1.intro-reveal        { animation-delay: 0.1s; }
.intro-tagline.intro-reveal   { animation-delay: 0.2s; }
.intro-actions.intro-reveal   { animation-delay: 0.3s; }
.intro-proof.intro-reveal     { animation-delay: 0.4s; }

@keyframes introReveal {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .eyebrow-dot {
    animation: none;
  }
}

.docs-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 34px;
  padding: 0 22px;
  border: 1px solid rgba(79, 155, 208, 0.55);
  border-radius: 8px;
  color: #ffffff;
  background: var(--accent);
  box-shadow: 0 16px 36px rgba(79, 155, 208, 0.25);
  font-weight: 800;
  text-decoration: none;
}

.docs-link:hover,
.docs-link:focus-visible {
  background: var(--accent-strong);
  outline: none;
}

/* really make this sparkle and move around and stand out */
.lighthouse-line {
  max-width: 500px;
  margin: 22px 0 0;
  color: #ff7a24;
  font-size: clamp(1.02rem, 1.8vw, .24rem);
  line-height: 1.55;
}

@media (max-width: 820px) {
  .site-header {
    position: static;
    width: min(100% - 36px, 1180px);
    padding: 22px 0 0;
  }

  .top-nav {
    gap: 16px;
  }

  .shell {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 42px 0;
  }

  .hero-visual {
    max-width: 520px;
  }
}

@media (max-width: 480px) {
  .note-head {
    flex-wrap: wrap;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* .pricing-page {
  width: min(1180px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 150px 0 80px;
}

.pricing-intro {
  max-width: 720px;
  margin-bottom: 46px;
}

.pricing-intro p:not(.eyebrow) {
  color: #c8d4cd;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.6;
}

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

.price-card {
  min-height: 520px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #050505;
  display: flex;
  flex-direction: column;
}

.price-card h2 {
  margin: 0 0 34px;
  font-size: 1.2rem;
  font-weight: 400;
}

.price {
  margin: 0;
  color: var(--text);
  font-size: clamp(3rem, 7vw, 5.2rem);
  line-height: 0.95;
}

.price-note {
  margin: 14px 0 0;
  color: var(--muted);
}

.includes-title {
  margin: 34px 0 14px;
  color: var(--text);
}

.includes-list {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  color: #c8d4cd;
  list-style: none;
  line-height: 1.45;
}

.includes-list li {
  position: relative;
  padding-left: 20px;
}

.includes-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.includes-list a {
  color: var(--accent);
  text-decoration: none;
}

.includes-list a:hover,
.includes-list a:focus-visible {
  color: var(--accent-strong);
  outline: none;
}

.get-started {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: auto;
  border: 1px solid rgba(125, 240, 182, 0.5);
  border-radius: 8px;
  color: var(--accent);
  text-decoration: none;
}

.get-started:hover,
.get-started:focus-visible {
  color: #06100c;
  background: var(--accent);
  outline: none;
}

@media (max-width: 780px) {
  .pricing-page {
    width: min(100% - 36px, 1180px);
    padding-top: 52px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }
} */

.docs-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
}

.blog-page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 130px 0 92px;
}

.blog-hero {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-hero h1 {
  max-width: 920px;
  font-size: clamp(2.4rem, 6vw, 4.7rem);
}

.blog-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 44px 0;
}

.blog-tags {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  min-width: 0;
}

.blog-tags a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #dbe5df;
  white-space: nowrap;
  text-decoration: none;
}

.blog-tags a.active {
  color: #050505;
  background: #f2f2f2;
}

.blog-search {
  flex: 0 0 min(350px, 32vw);
  position: relative;
}

.blog-search span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.blog-search input {
  width: 100%;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--text);
  background: #080808;
  font: inherit;
}

.blog-post {
  max-width: none;
  padding: 36px 0 0;
}

.blog-post h2 {
  max-width: 760px;
  margin: 0 0 28px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.06;
}

.best-practices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.best-practices li {
  min-height: 170px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #f3f7f2;
  background:
    linear-gradient(180deg, rgba(125, 240, 182, 0.2), rgba(0, 0, 0, 0.08) 46%),
    #050505;
  font-size: 1.08rem;
  line-height: 1.35;
}

.logo-page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 130px 0 92px;
}

.logo-intro {
  margin-bottom: 38px;
}

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

.logo-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #050505;
}

.logo-card svg {
  width: 100%;
  display: block;
}

.logo-card p {
  margin: 14px 4px 0;
  color: var(--muted);
}

.logo-stroke,
.logo-accent-stroke {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 8;
}

.logo-stroke {
  stroke: #f3f7f2;
}

.logo-accent-stroke {
  stroke: var(--accent);
}

.logo-dot {
  fill: var(--accent);
}

.logo-word,
.logo-subword {
  fill: #f3f7f2;
  font-family: var(--font-sans);
  font-weight: var(--fw-regular);
  letter-spacing: 0;
}

.logo-word {
  font-size: 54px;
}

.logo-word.small {
  font-size: 46px;
}

.logo-word.wide {
  font-size: 64px;
}

.logo-subword {
  fill: var(--muted);
  font-size: 34px;
}

@media (max-width: 860px) {
  .blog-page {
    width: min(100% - 36px, 1180px);
    padding-top: 54px;
  }

  .blog-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .blog-tags {
    flex-wrap: wrap;
  }

  .blog-search {
    flex: 0 0 auto;
  }

  .best-practices {
    grid-template-columns: 1fr;
  }

  .logo-page {
    width: min(100% - 36px, 1180px);
    padding-top: 54px;
  }

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

.docs-sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  padding: 34px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  background: #050505;
}

.brand-link {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--text);
  font-size: 1.05rem;
  text-decoration: none;
}

.docs-sidebar nav {
  display: grid;
  gap: 8px;
}

.docs-sidebar nav a {
  display: block;
  padding: 10px 0;
  color: var(--muted);
  font-size: 0.96rem;
  text-decoration: none;
}

.docs-sidebar nav a:hover,
.docs-sidebar nav a:focus-visible {
  color: var(--accent);
  outline: none;
}

.docs-content {
  width: min(860px, calc(100% - 56px));
  padding: 58px 0 96px;
  margin: 0 auto;
}

.docs-content section {
  padding: 34px 0 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  scroll-margin-top: 24px;
}

.docs-content h1,
.docs-content h2 {
  max-width: 720px;
  margin: 0 0 18px;
  font-weight: 400;
  letter-spacing: 0;
}

.docs-content h1 {
  font-size: clamp(2.2rem, 5vw, 4.1rem);
  line-height: 1;
}

.docs-content h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.docs-content p,
.docs-list {
  max-width: 700px;
  color: #c8d4cd;
  font-size: 1.04rem;
  line-height: 1.72;
}

.docs-content code {
  color: #d8ffe9;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.94em;
}

.docs-list {
  padding-left: 22px;
}

.docs-list li {
  margin: 8px 0;
}

.code-card {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(125, 240, 182, 0.22);
  border-radius: 8px;
  background: #07110f;
}

.code-card code {
  display: block;
  overflow-x: auto;
  white-space: nowrap;
}

@media (max-width: 780px) {
  .docs-layout {
    grid-template-columns: 1fr;
  }

  .docs-sidebar {
    position: static;
    height: auto;
    padding: 22px 22px 14px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

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

  .docs-content {
    width: min(100% - 36px, 860px);
    padding-top: 24px;
  }
}

.lighthouse-line {
  max-width: 500px;
  margin: 22px 0 0;
  color: #ff7a24;
  font-size: clamp(1.02rem, 1.8vw, .24rem);
  line-height: 1.55;
}
.lighthouse-page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 130px 0 92px;
}

.lighthouse-hero {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.lighthouse-title {
  max-width: 920px;
  font-size: clamp(2.4rem, 6vw, 4.7rem);
}
.section-kicker {
  max-width: 720px;
  margin-bottom: 46px;
}
.lighthouse-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lighthouse-pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ============================================================
   ruckos.html — #start / #cluster-process base styles, migrated
   from oldruckosplatform.css so this page no longer depends on any
   shared platform stylesheet. Scoped to this file only (linux.css
   loads on ruckos.html alone).
   ============================================================ */
.sections {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #0a0a0a;
  padding: 4rem 0;
}

.section-head {
  max-width: 780px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.section-head .portal-kicker {
  margin-bottom: 1.2rem;
}

.section-head .portal-headline {
  margin-bottom: 1.2rem;
}

.section-head .portal-sub {
  margin: 0 auto;
}

.portal-kicker {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(79, 155, 208, 0.3);
  border-radius: 50px;
  color: #4f9bd0;
  background: rgba(79, 155, 208, 0.1);
  font-size: var(--fs-kicker);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-kicker);
  text-transform: uppercase;
}

.portal-headline {
  margin: 0 0 1.5rem;
  color: #fff;
  font-size: var(--fs-h2);
  font-weight: var(--fw-display);
  line-height: var(--lh-h2);
  letter-spacing: var(--ls-h2);
}

.portal-gradient {
  background: linear-gradient(135deg, #4f9bd0, #ff7a24 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.portal-sub {
  max-width: 720px;
  margin: 0 0 3rem;
  color: #b8b8b8;
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
}

.content-text {
  color: #a0a0a0;
  font-size: var(--fs-body);
  line-height: var(--lh-lead);
}

.content-text p {
  margin-bottom: 1rem;
}

.image-wrapper {
  margin-bottom: 2rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  background: rgba(15, 15, 15, 0.6);
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.image-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.image-wrapper .content-text {
  margin-top: 1.5rem;
}

.box-bullets {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.box-bullets li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #fff;
  font-weight: 500;
}

.box-bullets li:last-child {
  border-bottom: none;
}

.box-bullets li i {
  font-size: 0.9rem;
}

.stat-band {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto 3.5rem;
}

.stat-item {
  padding: 1.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  background: rgba(15, 15, 15, 0.6);
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.stat-value {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #4f9bd0, #ff7a24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-value small {
  margin-left: 0.15rem;
  font-size: 1rem;
  font-weight: 600;
}

.stat-label {
  display: block;
  margin-top: 0.6rem;
  color: #a0a0a0;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .stat-band {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stack-diagram {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: 100%;
}

.stack-layer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: linear-gradient(180deg, #16161f 0%, #101017 100%);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.stack-layer::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  border-radius: 6px 0 0 6px;
  background: var(--tier, #4f9bd0);
}

.stack-layer:hover {
  transform: translateX(4px);
}

.stack-index {
  min-width: 1.8rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.stack-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stack-name {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}

.stack-meta {
  color: #9aa0ac;
  font-size: 0.82rem;
}

.stack-arrow {
  display: flex;
  justify-content: center;
  padding: 0.4rem 0;
  font-size: 0.9rem;
}

.stack-arrow i {
  filter: drop-shadow(0 0 6px rgba(255, 122, 36, 0.6));
}

/* Live terminal: rctl commands run against ruckos, lighting up a
   capability chip as each step lands. */
.terminal-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  width: min(100%, 42rem);
  margin: 0 auto 3rem;
}

.terminal-window {
  position: relative;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.85), rgba(17, 17, 17, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255,255,255,0.06);
  overflow: hidden;
}

.terminal-window::before {
  content: "";
  position: absolute;
  inset: -20% 30% auto;
  height: 60%;
  background: radial-gradient(circle, rgba(79,155,208,0.16), rgba(255,122,36,0.1) 45%, transparent 72%);
  filter: blur(32px);
  pointer-events: none;
}

.terminal-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.terminal-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.terminal-dot:nth-child(1) { background: #ff5f57; }
.terminal-dot:nth-child(2) { background: #febc2e; }
.terminal-dot:nth-child(3) { background: #28c840; }

.terminal-title {
  margin-left: auto;
  color: #8f8a86;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.terminal-body {
  position: relative;
  min-height: 16.5rem;
  margin: 0;
  padding: 1.1rem 1.25rem 1.3rem;
  color: #d9e4f2;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-word;
}

.terminal-line {
  animation: terminalLineIn 0.25s ease-out both;
}

.terminal-prompt {
  color: #ff7a24;
  font-weight: 800;
}

.terminal-cmd .terminal-text {
  color: #ffffff;
}

.terminal-out {
  color: #9fb3c8;
  padding-left: 1.15rem;
}

.terminal-ok {
  color: #28c840;
  font-weight: 800;
}

.terminal-cursor {
  display: inline-block;
  width: 0.55em;
  height: 1.05em;
  margin-left: 2px;
  vertical-align: text-bottom;
  background: #4f9bd0;
  animation: terminalBlink 0.9s steps(1) infinite;
}

.terminal-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.terminal-chip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  background: rgba(15, 15, 15, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  box-shadow: 0 0.8rem 1.6rem rgba(0, 0, 0, 0.18);
  color: rgba(237, 244, 255, 0.45);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, transform 0.25s ease;
}

.terminal-chip i {
  flex: 0 0 auto;
  font-size: 1rem;
  color: rgba(79, 155, 208, 0.45);
  transition: color 0.35s ease;
}

.terminal-chip-ai i {
  color: rgba(255, 122, 36, 0.45);
}

.terminal-chip.is-lit {
  color: #edf4ff;
  border-color: rgba(79, 155, 208, 0.55);
  box-shadow: 0 0.8rem 1.6rem rgba(0, 0, 0, 0.18), 0 0 1.2rem rgba(79, 155, 208, 0.28);
}

.terminal-chip.is-lit i {
  color: #4f9bd0;
}

.terminal-chip-ai.is-lit {
  border-color: rgba(255, 122, 36, 0.6);
  box-shadow: 0 0.8rem 1.6rem rgba(0, 0, 0, 0.18), 0 0 1.4rem rgba(255, 122, 36, 0.32);
}

.terminal-chip-ai.is-lit i {
  color: #ff7a24;
}

.terminal-chip:hover,
.terminal-chip:focus-visible {
  color: #ffffff;
  transform: translateY(-2px);
  outline: none;
}

@keyframes terminalLineIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes terminalBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

@media (max-width: 768px) {
  .terminal-body {
    min-height: 14rem;
    font-size: 0.74rem;
  }

  .terminal-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Two ways into the boot process: CLI (rctl.exe) or web UI (lighthouse),
   both converging into the same declarative API before the boot
   timeline below begins. */
.entry-paths {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  margin-bottom: 0.5rem;
}

.entry-path {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  min-width: 10rem;
  padding: 1.1rem 1.7rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(15, 15, 15, 0.6);
  backdrop-filter: blur(10px);
}

.entry-path-link {
  color: inherit;
  text-decoration: none;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.entry-path-link:hover,
.entry-path-link:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(255, 122, 36, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  outline: none;
}

.entry-path-badge {
  position: absolute;
  top: -0.6rem;
  right: -0.6rem;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.3;
  text-transform: uppercase;
}

.entry-path-badge-free {
  color: #4f9bd0;
  border: 1px solid rgba(79, 155, 208, 0.45);
  background: rgba(79, 155, 208, 0.16);
}

.entry-path-badge-licensed {
  color: #ff7a24;
  border: 1px solid rgba(255, 122, 36, 0.5);
  background: rgba(255, 122, 36, 0.16);
}

.entry-path-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  font-size: 1.2rem;
}

.entry-path-icon-cli {
  color: #4f9bd0;
  border: 1px solid rgba(79, 155, 208, 0.38);
  background: rgba(79, 155, 208, 0.14);
}

.entry-path-icon-ui {
  color: #ff7a24;
  border: 1px solid rgba(255, 122, 36, 0.45);
  background: rgba(255, 122, 36, 0.16);
}

.entry-path-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.entry-path-label small {
  color: #9a9aa2;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.entry-path-divider {
  color: #6b6b76;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.entry-path-connector {
  margin-bottom: 1.5rem;
  color: #4f9bd0;
  font-size: 1.1rem;
  text-align: center;
}

@media (max-width: 767px) {
  .entry-paths {
    flex-direction: column;
    gap: 0.9rem;
  }

  .entry-path-divider {
    transform: none;
  }
}

.boot-process {
  --cycle: 8s;
  padding: 2rem 1.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  background: rgba(15, 15, 15, 0.6);
  backdrop-filter: blur(10px);
}

.boot-track {
  position: relative;
  height: 4px;
  margin: 0 1.5rem 3rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.boot-fill {
  position: absolute;
  inset: 0;
  width: 0%;
  border-radius: 4px;
  background: linear-gradient(90deg, #4f9bd0, #ff7a24, #ff7323);
  animation: bootFill var(--cycle) linear infinite;
}

@keyframes bootFill {
  0% { width: 0%; }
  62.5% { width: 100%; }
  100% { width: 100%; }
}

.boot-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.boot-marker {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #6b6b76;
  background: #101017;
  font-size: 1.3rem;
  animation: bootStepGlow var(--cycle) linear infinite;
  animation-delay: calc(var(--i) * 1.25s);
}

.boot-label {
  margin-bottom: 0.3rem;
  color: #6b6b76;
  font-size: 1.05rem;
  font-weight: 700;
  animation: bootStepColor var(--cycle) linear infinite;
  animation-delay: calc(var(--i) * 1.25s);
}

.boot-time {
  margin-bottom: 0.6rem;
  color: #55555f;
  font-size: 0.85rem;
  font-weight: 600;
}

.boot-desc {
  max-width: 220px;
  margin: 0 auto;
  color: #9a9aa2;
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Each step lights up as the fill bar reaches it (steps are spaced 1.25s
   apart across the first 5s of the 8s loop, matching the fill's 0-100%
   sweep), then stays lit until the loop resets. */
@keyframes bootStepGlow {
  0%, 3% {
    color: #6b6b76;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
  }
  8%, 97% {
    color: #ff7323;
    border-color: #ff7323;
    box-shadow: 0 0 0 6px rgba(255, 115, 35, 0.12), 0 0 18px rgba(255, 115, 35, 0.35);
  }
  100% {
    color: #6b6b76;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
  }
}

@keyframes bootStepColor {
  0%, 3% { color: #6b6b76; }
  8%, 97% { color: #fff; }
  100% { color: #6b6b76; }
}

@media (max-width: 767px) {
  .boot-steps {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .boot-track {
    display: none;
  }
}

/* Theme layer: retint the base styles above (originally blue/orange
   already, kept here as page-specific tweaks) for the #start section
   specifically — #cluster-process reuses the base rules unmodified. */
#start .portal-kicker {
  color: var(--accent);
  background: rgba(79, 155, 208, 0.1);
  border-color: rgba(79, 155, 208, 0.28);
}

#start .portal-gradient {
  background: linear-gradient(90deg, var(--accent) 0%, #8cc7ec 45%, var(--accent-strong) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#start .stat-value {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#start .stat-item:hover {
  border-color: rgba(79, 155, 208, 0.3);
}

#start .image-wrapper:hover {
  border-color: rgba(79, 155, 208, 0.25);
}

#start .box-bullets li i {
  color: var(--accent);
}

#start .stack-layer {
  background: linear-gradient(180deg, #12181f 0%, #0c0f13 100%);
}

#start .stack-layer::before {
  background: var(--tier, var(--accent));
}

#start .stack-layer[data-tier="l1"] { --tier: linear-gradient(180deg, #1d3345, #16262f); }
#start .stack-layer[data-tier="l2"] { --tier: linear-gradient(180deg, #234a63, #1b3a4e); }
#start .stack-layer[data-tier="l3"] { --tier: linear-gradient(180deg, #2f6f93, #255a78); }
#start .stack-layer[data-tier="l4"] { --tier: linear-gradient(180deg, #3f8ab8, #2f6f93); }
#start .stack-layer[data-tier="l5"] { --tier: linear-gradient(180deg, #4f9bd0, #3f8ab8); }

#start .stack-layer:hover {
  border-color: rgba(79, 155, 208, 0.35);
}

#start .stack-index {
  color: var(--accent);
}

#start .stack-arrow {
  color: var(--accent-strong);
}

#start .stack-arrow i {
  filter: drop-shadow(0 0 6px rgba(255, 122, 36, 0.5));
}

/* ------------------------------------------------------------
   Cards for the eBPF section (carried over from security.css)
   ------------------------------------------------------------ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.lighthouse-grid {
  grid-template-columns: repeat(2, 1fr);
}

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

.service-card {
  background: rgba(15, 15, 15, 0.6);
  border-radius: 20px;
  padding: 1.5rem 2rem;
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border-color: rgba(79, 155, 208, 0.3);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #4f9bd0, #ff7a24);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, #4f9bd0, #ff7a24);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: white;
}

.card-title {
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  line-height: var(--lh-h3);
  margin-bottom: 1rem;
  color: white;
}

.card-content {
  color: #a0a0a0;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  display: flex;
  flex-direction: column;
}

@media (max-width: 1200px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
