/* Koryven static showcase
   Visual system: dark rack panels, LED amber accents, readable product cards. */

:root {
  --black: #0a0a0b;
  --panel: #15171a;
  --panel-soft: #1b1e22;
  --metal: #2a2e33;
  --metal-light: #3a4048;
  --white: #f2f4f7;
  --muted: #aeb6c2;
  --dim: #737c89;
  --orange: #ff9f1a;
  --amber: #ffb347;
  --green: #49d65e;
  --red: #ff4d4f;
  --border: rgba(242, 244, 247, 0.12);
  --border-strong: rgba(255, 179, 71, 0.34);
  --panel-line: rgba(255, 255, 255, 0.065);
  --orange-soft: rgba(255, 159, 26, 0.16);
  --green-soft: rgba(73, 214, 94, 0.12);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.5);
  --glow: 0 0 24px rgba(255, 159, 26, 0.28);
  --glow-tight: 0 0 18px rgba(255, 159, 26, 0.18);
  --radius: 8px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 72% 8%, rgba(255, 159, 26, 0.14), transparent 30rem),
    linear-gradient(180deg, #0a0a0b 0%, #101113 44%, #0a0a0b 100%);
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

::selection {
  background: rgba(255, 159, 26, 0.3);
  color: var(--white);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

@keyframes ledPulseSoft {
  0%,
  100% {
    box-shadow: 0 0 10px rgba(73, 214, 94, 0.62);
  }

  50% {
    box-shadow: 0 0 18px rgba(73, 214, 94, 0.92), 0 0 30px rgba(73, 214, 94, 0.16);
  }
}

@keyframes amberEdgeSweep {
  0%,
  100% {
    opacity: 0.3;
    transform: translateX(-18%);
  }

  50% {
    opacity: 0.86;
    transform: translateX(18%);
  }
}

@keyframes orangeLedPulse {
  0%,
  100% {
    box-shadow: 0 0 10px rgba(255, 159, 26, 0.58);
  }

  50% {
    box-shadow: 0 0 18px rgba(255, 159, 26, 0.86), 0 0 30px rgba(255, 159, 26, 0.12);
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 0;
  background:
    linear-gradient(180deg, rgba(21, 23, 26, 0.92), rgba(10, 10, 11, 0.86));
  backdrop-filter: blur(18px);
}

.site-header::after {
  content: "";
  position: absolute;
  left: clamp(18px, 4vw, 56px);
  right: clamp(18px, 4vw, 56px);
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 179, 71, 0.38), rgba(242, 244, 247, 0.08), transparent);
}

.site-header.is-scrolled {
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.46);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: inline-block;
  border: 1px solid rgba(255, 179, 71, 0.75);
  border-radius: 6px;
  background:
    linear-gradient(135deg, transparent 0 32%, rgba(255, 159, 26, 0.9) 33% 45%, transparent 46%),
    linear-gradient(315deg, rgba(255, 159, 26, 0.95), rgba(255, 179, 71, 0.28));
  box-shadow: var(--glow);
}

.asset-mark {
  overflow: hidden;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.brand-mark img,
.product-icon img,
.ecosystem-icon img,
.architecture-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.brand-mark img {
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(255, 159, 26, 0.28));
}

.product-icon img,
.ecosystem-icon img,
.architecture-icon img {
  position: relative;
  z-index: 2;
  object-fit: contain;
  padding: 6%;
  transition: transform 240ms ease, filter 240ms ease;
}

.brand-mark img.is-missing {
  display: none;
}

.brand-text {
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 8px 2px;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--orange);
  box-shadow: var(--glow);
  transition: right 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
  text-shadow: 0 0 18px rgba(255, 179, 71, 0.22);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  right: 0;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(255, 179, 71, 0.18);
  border-radius: 999px;
  background: rgba(10, 10, 11, 0.46);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.site-nav .language-switch a {
  min-width: 34px;
  padding: 6px 9px;
  border-radius: 999px;
  text-align: center;
  color: var(--dim);
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.site-nav .language-switch a::after {
  display: none;
}

.site-nav .language-switch a:hover,
.site-nav .language-switch a:focus-visible,
.site-nav .language-switch a.is-active {
  color: var(--white);
  background: rgba(255, 159, 26, 0.13);
  box-shadow: 0 0 14px rgba(255, 159, 26, 0.16);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--white);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: rgba(255, 159, 26, 0.46);
  box-shadow: var(--glow-tight);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

/* Layout primitives */
.section-shell {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(74px, 9vw, 112px) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 860px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: clamp(3.25rem, 6.2vw, 6.25rem);
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 0 32px rgba(255, 159, 26, 0.28);
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.22rem;
  line-height: 1.2;
}

p {
  color: var(--muted);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: clamp(26px, 4vw, 42px);
  padding-top: clamp(34px, 6vw, 64px);
  padding-bottom: clamp(54px, 7vw, 78px);
  overflow: visible;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 860px;
  min-width: 0;
  margin: 0 auto;
  text-align: center;
}

.hero-kicker {
  margin-bottom: 22px;
  color: var(--white);
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  font-weight: 800;
}

.hero-text {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(1rem, 1.6vw, 1.16rem);
}

.hero-note {
  margin: 22px 0 0;
  color: var(--white);
  font-weight: 800;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
  max-width: 100%;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 0.88rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease, filter 180ms ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 179, 71, 0.18), rgba(255, 255, 255, 0.08), transparent);
  transform: translateX(-120%);
  transition: transform 560ms ease;
}

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

.button:hover::before,
.button:focus-visible::before {
  transform: translateX(120%);
}

.button:active {
  transform: translateY(0);
  filter: brightness(0.96);
}

.button-primary {
  background: linear-gradient(180deg, var(--amber), var(--orange));
  color: #14100a;
  box-shadow: 0 0 24px rgba(255, 159, 26, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.button-secondary {
  border-color: rgba(255, 159, 26, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    rgba(21, 23, 26, 0.82);
  color: var(--white);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(255, 179, 71, 0.82);
  box-shadow: 0 0 22px rgba(255, 159, 26, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.button-safe {
  border-color: rgba(73, 214, 94, 0.46);
  background:
    linear-gradient(180deg, rgba(73, 214, 94, 0.11), rgba(73, 214, 94, 0.035)),
    rgba(13, 24, 18, 0.9);
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.button-safe:hover,
.button-safe:focus-visible {
  border-color: rgba(73, 214, 94, 0.86);
  box-shadow: 0 0 22px rgba(73, 214, 94, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Hardware-inspired preview panel */
.hero-console {
  position: relative;
  overflow: hidden;
  padding: clamp(16px, 2.4vw, 24px);
  border: 1px solid rgba(255, 179, 71, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 20%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 24px),
    linear-gradient(145deg, #20242a, #0e0f11 70%);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-media {
  min-height: auto;
  width: 100%;
  aspect-ratio: 1672 / 941;
  max-width: 1320px;
  margin: 0 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  isolation: isolate;
  background:
    linear-gradient(145deg, #20242a, #0e0f11 72%);
}

.hero-image {
  position: absolute;
  inset: clamp(8px, 1.4vw, 18px);
  z-index: 0;
  width: calc(100% - clamp(16px, 2.8vw, 36px));
  height: calc(100% - clamp(16px, 2.8vw, 36px));
  display: block;
  border-radius: calc(var(--radius) - 2px);
  object-fit: contain;
  object-position: center;
  filter: saturate(1.06) contrast(1.04) drop-shadow(0 24px 40px rgba(0, 0, 0, 0.58));
}

.hero-image.is-missing {
  display: none;
}

.hero-media .meter-grid,
.hero-media .console-controls {
  display: none;
}

.hero-image.is-missing ~ .meter-grid {
  display: grid;
}

.hero-image.is-missing ~ .console-controls {
  display: grid;
}

.hero-console::before,
.hero-console::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 159, 26, 0.28);
}

.hero-console::before {
  top: 22px;
}

.hero-console::after {
  bottom: 22px;
}

.hero-media::before {
  z-index: 1;
  height: auto;
  inset: 12px;
  border-radius: calc(var(--radius) - 2px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 22%),
    linear-gradient(180deg, transparent 52%, rgba(0, 0, 0, 0.48)),
    linear-gradient(90deg, rgba(255, 159, 26, 0.16), transparent 38%, rgba(255, 159, 26, 0.08));
  box-shadow:
    inset 0 0 0 1px rgba(255, 159, 26, 0.18),
    inset 0 0 70px rgba(0, 0, 0, 0.38);
  pointer-events: none;
}

.console-topline,
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.console-topline {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 9px;
  border: 1px solid rgba(73, 214, 94, 0.28);
  border-radius: 999px;
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(73, 214, 94, 0.08);
}

.status-chip.warning {
  border-color: rgba(255, 77, 79, 0.28);
  color: var(--red);
  background: rgba(255, 77, 79, 0.08);
}

.led-dot {
  width: 8px;
  height: 8px;
  display: inline-block;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 16px rgba(255, 159, 26, 0.9);
  animation: orangeLedPulse 6.8s ease-in-out infinite;
}

.led-green {
  background: var(--green);
  box-shadow: 0 0 16px rgba(73, 214, 94, 0.9);
  animation: ledPulseSoft 5.8s ease-in-out infinite;
}

.led-red {
  background: var(--red);
  box-shadow: 0 0 16px rgba(255, 77, 79, 0.9);
}

.meter-grid {
  height: 220px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
  align-items: end;
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.28);
}

.meter-grid span {
  min-width: 16px;
  height: var(--level);
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--red) 0 12%, var(--amber) 12% 38%, var(--green) 38% 100%);
  box-shadow: 0 0 18px rgba(255, 159, 26, 0.24);
}

.console-screen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 159, 26, 0.34);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(10, 10, 11, 0.72), rgba(0, 0, 0, 0.5));
  backdrop-filter: blur(10px);
}

.screen-label {
  display: block;
  color: var(--amber);
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.console-screen strong {
  display: block;
  margin-top: 4px;
  color: var(--white);
  font-size: 1.15rem;
}

.bpm-readout {
  color: var(--orange);
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 900;
  line-height: 1;
  text-shadow: var(--glow);
}

.console-controls {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.console-controls span {
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.16), transparent 22%),
    linear-gradient(145deg, #343a42, #111315);
  box-shadow: inset 0 -6px 12px rgba(0, 0, 0, 0.4);
}

/* Content sections */
.split-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(28px, 6vw, 76px);
  border-top: 1px solid var(--border);
}

/* Ecosystem flow */
.ecosystem-section {
  border-top: 1px solid var(--border);
}

.ecosystem-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 159, 26, 0.16), transparent 34rem),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 34px),
    linear-gradient(90deg, rgba(255, 159, 26, 0.08), transparent 40%, rgba(255, 159, 26, 0.05)),
    rgba(21, 23, 26, 0.68);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.ecosystem-flow::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 159, 26, 0.22), rgba(255, 179, 71, 0.64), rgba(255, 159, 26, 0.22), transparent);
}

.ecosystem-node {
  position: relative;
  z-index: 1;
  min-height: 230px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 16px;
  padding: 24px 14px;
  border: 1px solid rgba(255, 255, 255, 0.105);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 45%),
    rgba(10, 10, 11, 0.86);
  text-align: center;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.052);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.ecosystem-node:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 159, 26, 0.34);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
}

.ecosystem-node:hover .ecosystem-icon img,
.product-card:hover .product-icon img,
.product-related-card:hover .product-related-image img,
.product-related-card:focus-visible .product-related-image img {
  transform: scale(1.025);
}

@keyframes koryvenSvgLedRail {
  from {
    stroke-dashoffset: 100;
  }

  to {
    stroke-dashoffset: 0;
  }
}

.led-border-svg {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.led-border-rail,
.led-border-train {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.led-border-rail {
  stroke: rgba(255, 159, 26, 0.52);
  stroke-width: 1;
}

.led-border-train {
  stroke: rgba(255, 196, 92, 0.96);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 6 94;
  animation: koryvenSvgLedRail 6.8s linear infinite;
}

.hero-media .led-border-train,
.product-hero-visual .led-border-train {
  stroke-width: 2.4;
  stroke-dasharray: 4.8 95.2;
  animation-duration: 8.2s;
}

.product-card:hover .led-border-train,
.ecosystem-node:hover .led-border-train,
.product-related-card:hover .led-border-train,
.product-related-card:focus-visible .led-border-train,
.architecture-card:hover .led-border-train,
.hero-media:hover .led-border-train,
.product-hero-visual:hover .led-border-train {
  stroke: rgba(255, 214, 126, 0.98);
}

.ecosystem-node strong {
  color: var(--white);
  font-size: 1rem;
  line-height: 1.25;
}

.ecosystem-node p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: center;
}

.ecosystem-node.ecosystem-hub {
  border-color: rgba(73, 214, 94, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 0 24px rgba(73, 214, 94, 0.08);
}

.ecosystem-icon,
.architecture-icon {
  width: 126px;
  height: 126px;
  display: inline-grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255, 159, 26, 0.45);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 159, 26, 0.055), rgba(12, 12, 14, 0.82));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.028);
}

.ecosystem-icon {
  width: min(170px, 78%);
  max-width: 170px;
  height: auto;
  aspect-ratio: 1;
  background: linear-gradient(145deg, rgba(255, 159, 26, 0.055), rgba(12, 12, 14, 0.82));
}

.architecture-icon {
  width: min(260px, 72%);
  max-width: 260px;
  height: auto;
  aspect-ratio: 1;
  background: linear-gradient(145deg, rgba(255, 159, 26, 0.05), rgba(12, 12, 14, 0.82));
}

.ecosystem-icon span,
.architecture-icon span {
  display: none;
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 900;
}

.ecosystem-icon img.is-missing,
.architecture-icon img.is-missing {
  display: none;
}

.ecosystem-icon img.is-missing + span,
.architecture-icon img.is-missing + span {
  display: block;
}

.rich-copy p,
.section-heading p {
  font-size: 1.02rem;
}

blockquote {
  margin: 28px 0 0;
  padding: 24px;
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(255, 159, 26, 0.08);
  color: var(--white);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 850;
  line-height: 1.18;
}

/* Product cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.product-card,
.workflow-grid article,
.roadmap-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 36%),
    linear-gradient(145deg, rgba(42, 46, 51, 0.72), rgba(15, 16, 18, 0.94));
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.058);
}

.product-card > *,
.ecosystem-node > *,
.product-related-card > * {
  position: relative;
  z-index: 2;
}

.product-card::before,
.workflow-grid article::before,
.roadmap-card::before,
.architecture-card::before,
.ecosystem-node::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 179, 71, 0.44), transparent);
  opacity: 0.72;
  transition: opacity 220ms ease, transform 220ms ease;
}

.product-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 34px);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 159, 26, 0.42);
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.product-card:hover::before,
.ecosystem-node:hover::before,
.product-related-card:hover::before,
.product-related-card:focus-visible::before {
  animation: amberEdgeSweep 3.6s ease-in-out infinite;
  opacity: 0.9;
}

.product-card.featured {
  grid-column: span 2;
  display: flex;
  min-height: auto;
  background:
    radial-gradient(circle at 50% 4%, rgba(255, 159, 26, 0.16), transparent 22rem),
    linear-gradient(90deg, rgba(255, 159, 26, 0.12), transparent 42%),
    linear-gradient(145deg, rgba(42, 46, 51, 0.88), rgba(15, 16, 18, 0.96));
  border-color: rgba(255, 179, 71, 0.24);
}

.card-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 190px;
  margin-bottom: 26px;
}

.product-card:not(.featured) .card-header {
  min-height: 176px;
  justify-content: center;
}

.product-card.featured .card-header {
  min-height: 250px;
  margin-bottom: 30px;
}

.product-card .status-chip {
  position: absolute;
  top: 0;
  right: 0;
  box-shadow: 0 0 16px rgba(73, 214, 94, 0.12);
}

.product-icon {
  width: min(240px, 78%);
  max-width: 240px;
  height: auto;
  aspect-ratio: 1;
  display: inline-grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255, 159, 26, 0.34);
  border-radius: var(--radius);
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  background: linear-gradient(145deg, rgba(255, 159, 26, 0.055), rgba(12, 12, 14, 0.82));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.028);
}

.product-card.featured .product-icon {
  width: min(320px, 82%);
  max-width: 320px;
  border-color: rgba(255, 179, 71, 0.5);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.034);
}

.product-icon span {
  display: none;
}

.product-icon img.is-missing {
  display: none;
}

.product-icon img.is-missing + span {
  display: block;
}

.product-link {
  width: fit-content;
  margin-top: 24px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 159, 26, 0.28);
  border-radius: var(--radius);
  color: var(--amber);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 159, 26, 0.055);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.product-link:hover,
.product-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 179, 71, 0.72);
  color: var(--white);
  box-shadow: var(--glow-tight);
}

.product-card h3 {
  margin-top: 0;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.product-subtitle {
  margin-bottom: 16px;
  color: var(--white);
  font-weight: 800;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  margin-top: auto;
  padding-top: 20px;
}

.feature-list li,
.principles-list li,
.roadmap-card li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.93rem;
}

.feature-list li::before,
.principles-list li::before,
.roadmap-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px rgba(255, 159, 26, 0.72);
}

/* Product detail pages */
.product-hero {
  min-height: min(720px, calc(100vh - var(--header-height)));
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: clamp(42px, 7vw, 88px);
  overflow: hidden;
}

.product-hero-copy {
  max-width: 700px;
  min-width: 0;
}

.product-hero h1 {
  white-space: normal;
  font-size: clamp(3rem, 6.3vw, 6.4rem);
}

.product-hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(430px, 40vw, 560px);
  border: 1px solid rgba(255, 179, 71, 0.22);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 34px),
    linear-gradient(145deg, rgba(42, 46, 51, 0.74), rgba(10, 10, 11, 0.94));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  isolation: isolate;
}

.product-hero-visual::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 179, 71, 0.55), transparent);
}

.product-hero-visual img {
  position: relative;
  z-index: 2;
  width: min(92%, 520px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.5));
}

.live-product .product-hero-visual {
  border-color: rgba(255, 77, 79, 0.24);
  background:
    linear-gradient(145deg, rgba(42, 46, 51, 0.74), rgba(10, 10, 11, 0.94));
}

.product-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  border-top: 1px solid var(--border);
}

.detail-card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 36%),
    linear-gradient(145deg, rgba(42, 46, 51, 0.72), rgba(15, 16, 18, 0.94));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.058);
}

.detail-card::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 179, 71, 0.44), transparent);
}

.detail-card.wide,
.roadmap-detail {
  grid-column: span 2;
}

.detail-card h2 {
  font-size: clamp(1.55rem, 3vw, 2.4rem);
}

.product-lead {
  color: var(--white);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  font-weight: 850;
  line-height: 1.35;
}

.product-page-list {
  margin-top: 18px;
  padding-top: 0;
}

.workflow-card p {
  margin-bottom: 0;
  color: var(--white);
  font-size: clamp(1.15rem, 2.3vw, 1.7rem);
  font-weight: 850;
  line-height: 1.35;
}

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

.mini-roadmap div {
  padding: 18px;
  border: 1px solid rgba(255, 159, 26, 0.16);
  border-radius: var(--radius);
  background: rgba(10, 10, 11, 0.34);
}

.mini-roadmap h3 {
  color: var(--orange);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 159, 26, 0.16);
}

.mini-roadmap li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.93rem;
}

.mini-roadmap li + li {
  margin-top: 9px;
}

.mini-roadmap li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px rgba(255, 159, 26, 0.72);
}

.product-related-section {
  border-top: 1px solid var(--border);
}

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

.product-related-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 38%),
    linear-gradient(145deg, rgba(42, 46, 51, 0.72), rgba(15, 16, 18, 0.94));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.058);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.product-related-card::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 179, 71, 0.42), transparent);
}

.product-related-card:hover,
.product-related-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 159, 26, 0.42);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.32);
}

.product-related-image {
  width: min(170px, 82%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  justify-self: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255, 159, 26, 0.24);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 159, 26, 0.045), rgba(12, 12, 14, 0.82));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.026);
}

.product-related-image img {
  position: relative;
  z-index: 2;
  width: 92%;
  height: 92%;
  display: block;
  object-fit: contain;
  transition: transform 240ms ease, filter 240ms ease;
}

.product-related-card strong {
  color: var(--white);
  font-size: 1.05rem;
  line-height: 1.2;
}

.product-related-card p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.product-related-card > span:last-child {
  width: fit-content;
  margin-top: 4px;
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Workflow */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.workflow-grid article {
  padding: 24px;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.workflow-grid article:hover,
.roadmap-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 159, 26, 0.32);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
}

.workflow-grid h3 {
  color: var(--amber);
}

.statement {
  margin: 34px 0 0;
  color: var(--white);
  font-size: clamp(1.6rem, 5vw, 3.1rem);
  font-weight: 900;
  line-height: 1.05;
}

/* Local-first / Cloud-ready */
.local-cloud-section {
  border-top: 1px solid var(--border);
}

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

.architecture-card {
  position: relative;
  overflow: hidden;
  min-height: auto;
  display: grid;
  grid-template-rows: auto auto 1fr;
  justify-items: center;
  text-align: center;
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 159, 26, 0.16), transparent 22rem),
    linear-gradient(135deg, rgba(255, 159, 26, 0.12), transparent 38%),
    linear-gradient(145deg, rgba(42, 46, 51, 0.76), rgba(15, 16, 18, 0.96));
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.055);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.architecture-card > * {
  position: relative;
  z-index: 2;
}

.architecture-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 159, 26, 0.34);
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.34);
}

.architecture-card h3 {
  margin-top: 22px;
  margin-bottom: 12px;
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.architecture-card p {
  max-width: 580px;
  margin-bottom: 0;
}

.cloud-symbol {
  position: relative;
}

.cloud-symbol::before,
.cloud-symbol::after {
  content: "";
  position: absolute;
  border: 2px solid rgba(255, 179, 71, 0.85);
  box-shadow: var(--glow);
}

.cloud-symbol::before {
  width: 42px;
  height: 24px;
  left: 15px;
  top: 28px;
  border-top: 0;
  border-radius: 0 0 18px 18px;
}

.cloud-symbol::after {
  width: 28px;
  height: 28px;
  left: 23px;
  top: 16px;
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
}

/* Safety */
.safety-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 18px;
}

.safety-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 5vw, 42px);
  border: 1px solid rgba(73, 214, 94, 0.22);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 14% 4%, rgba(73, 214, 94, 0.16), transparent 20rem),
    linear-gradient(135deg, rgba(73, 214, 94, 0.1), transparent 38%),
    var(--panel);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 0 28px rgba(73, 214, 94, 0.06);
}

.safety-panel::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(73, 214, 94, 0.58), transparent);
}

.safety-line {
  margin-bottom: 0;
  color: var(--white);
  font-weight: 800;
}

.principles-list {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(73, 214, 94, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(73, 214, 94, 0.045), transparent 46%),
    rgba(21, 23, 26, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.principles-list li::before {
  background: var(--green);
  box-shadow: 0 0 12px rgba(73, 214, 94, 0.72);
  animation: ledPulseSoft 6.4s ease-in-out infinite;
}

.principles-list li:nth-child(2n)::before {
  animation-delay: 1.1s;
}

.principles-list li:nth-child(3n)::before {
  animation-delay: 2.2s;
}

/* Roadmap */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.roadmap-card {
  min-height: 100%;
  padding: 22px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.roadmap-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 28px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 159, 26, 0.32);
  border-radius: var(--radius);
  color: var(--amber);
  background: rgba(255, 159, 26, 0.07);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.roadmap-step.is-safe {
  border-color: rgba(73, 214, 94, 0.34);
  color: var(--green);
  background: rgba(73, 214, 94, 0.08);
}

.roadmap-card h3 {
  color: var(--orange);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 159, 26, 0.16);
}

.roadmap-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.58;
}

.roadmap-card ul {
  display: grid;
  gap: 11px;
}

.roadmap-principles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.roadmap-principles span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid rgba(73, 214, 94, 0.2);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(73, 214, 94, 0.055);
  font-size: 0.82rem;
  font-weight: 760;
}

/* Project follow, mailing list and beta tester cards */
.project-follow-section {
  padding-top: clamp(58px, 8vw, 92px);
  padding-bottom: clamp(30px, 5vw, 54px);
}

.follow-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.follow-info-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border: 1px solid rgba(255, 159, 26, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 42%),
    rgba(15, 16, 18, 0.78);
}

.follow-info-card::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 179, 71, 0.42), transparent);
}

.follow-info-card h3 {
  margin-bottom: 10px;
  color: var(--amber);
  font-size: 1rem;
}

.follow-info-card p,
.follow-info-card span {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

.follow-info-card p {
  margin-bottom: 0;
}

.follow-info-card span {
  display: block;
  margin-top: 12px;
  color: rgba(233, 255, 237, 0.74);
  font-weight: 760;
}

.beta-info-card {
  border-color: rgba(73, 214, 94, 0.22);
  background:
    linear-gradient(180deg, rgba(73, 214, 94, 0.055), transparent 42%),
    rgba(13, 24, 18, 0.76);
}

.beta-info-card::before {
  background: linear-gradient(90deg, transparent, rgba(73, 214, 94, 0.5), transparent);
}

.beta-info-card h3 {
  color: var(--green);
}

.project-actions {
  justify-content: flex-start;
  align-items: stretch;
  margin-top: 18px;
}

.project-actions .button {
  flex: 0 1 auto;
}

.project-actions .button-primary {
  min-width: min(100%, 240px);
}

.signup-section {
  padding-top: 0;
}

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

.signup-card {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 159, 26, 0.14), transparent 17rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 38%),
    linear-gradient(145deg, rgba(42, 46, 51, 0.74), rgba(15, 16, 18, 0.95));
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.signup-card::before {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 179, 71, 0.48), transparent);
}

.signup-card > * {
  position: relative;
  z-index: 2;
}

.signup-card h2 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 2.8vw, 2.4rem);
}

.signup-card p {
  margin: 0;
  color: var(--muted);
}

.signup-note {
  color: var(--white) !important;
  font-weight: 800;
}

.safe-rule {
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 16px;
  border: 1px solid rgba(73, 214, 94, 0.2);
  border-radius: var(--radius);
  background: rgba(73, 214, 94, 0.06);
  color: var(--muted);
}

.safe-rule strong {
  color: var(--green);
}

.signup-card .button {
  margin-top: auto;
}

/* CTA and footer */
.final-cta {
  border-top: 1px solid rgba(255, 159, 26, 0.28);
  border-bottom: 1px solid rgba(255, 159, 26, 0.22);
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 159, 26, 0.16), transparent 28rem),
    linear-gradient(90deg, rgba(255, 159, 26, 0.12), transparent 60%),
    #0f1012;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.final-inner {
  padding-top: clamp(58px, 9vw, 96px);
  padding-bottom: clamp(58px, 9vw, 96px);
}

.final-inner h2 {
  max-width: 920px;
}

.final-inner p {
  color: var(--white);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 850;
  line-height: 1.25;
}

.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 8vw, 82px);
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 48px 0 58px;
  border-top: 0;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 179, 71, 0.42), rgba(242, 244, 247, 0.08), transparent);
}

.site-footer .brand-mark {
  width: 52px;
  height: 52px;
}

.footer-brand p {
  margin: 12px 0 0;
}

.footer-note {
  display: inline-flex;
  width: fit-content;
  margin-top: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 159, 26, 0.24);
  border-radius: 999px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 159, 26, 0.055);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.footer-column {
  display: grid;
  align-content: flex-start;
  gap: 10px;
}

.footer-column h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-column a {
  width: fit-content;
  transition: color 180ms ease, transform 180ms ease, text-shadow 180ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--orange);
  text-shadow: var(--glow-tight);
  transform: translateX(2px);
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    overflow: visible;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-media {
    max-width: none;
    width: 100%;
    margin: 0 auto;
  }

  .product-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    overflow: visible;
  }

  .product-hero-visual {
    max-width: 620px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 920px) {
  .hero,
  .split-section,
  .safety-section,
  .architecture-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    overflow: visible;
  }

  .hero-media {
    max-width: none;
    width: 100%;
    margin: 0 auto;
  }

  .hero-copy {
    max-width: 760px;
  }

  .workflow-grid,
  .ecosystem-flow,
  .roadmap-grid,
  .product-detail-grid,
  .mini-roadmap,
  .product-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-card.wide,
  .roadmap-detail {
    grid-column: span 2;
  }

  .ecosystem-flow::before {
    display: none;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 66px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(15, 16, 18, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 10px;
  }

  .language-switch {
    margin-top: 8px;
    align-self: flex-start;
  }

  .site-nav .language-switch a {
    padding: 8px 12px;
  }

  .product-grid,
  .workflow-grid,
  .ecosystem-flow,
  .roadmap-grid,
  .follow-info-grid,
  .signup-grid,
  .product-detail-grid,
  .mini-roadmap,
  .product-related-grid {
    grid-template-columns: 1fr;
  }

  .detail-card.wide,
  .roadmap-detail {
    grid-column: auto;
  }

  .product-card.featured {
    grid-column: auto;
  }

  .product-card.featured .card-header {
    min-height: 210px;
  }

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

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

  .meter-grid {
    height: 170px;
    gap: 7px;
    padding: 12px;
  }

  .hero-media {
    min-height: auto;
    aspect-ratio: 1672 / 941;
  }

  .product-hero-visual {
    min-height: 340px;
  }

  .product-hero-visual img {
    width: min(88%, 420px);
  }

  .ecosystem-node {
    min-height: 190px;
  }

  .ecosystem-icon {
    width: min(160px, 66%);
  }

  .architecture-card {
    min-height: auto;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .section-shell,
  .site-footer {
    width: min(100% - 28px, 1160px);
  }

  .button-row,
  .button {
    width: 100%;
  }

  .project-actions .button-primary {
    min-width: 0;
  }

  .brand {
    font-size: 0.9rem;
  }

  .site-header .brand-mark {
    width: 38px;
    height: 38px;
  }

  h1 {
    font-size: clamp(2.65rem, 13.4vw, 4.1rem);
  }

  .product-hero h1 {
    font-size: clamp(2.3rem, 12vw, 3.9rem);
  }

  .hero-console {
    padding: 14px;
  }

  .hero-media {
    min-height: auto;
  }

  .hero-image {
    inset: 8px;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
  }

  .product-icon {
    width: min(210px, 72%);
  }

  .product-card.featured .product-icon {
    width: min(260px, 78%);
  }

  .product-hero-visual {
    min-height: 280px;
  }

  .product-hero-visual img {
    width: min(88%, 330px);
  }

  .architecture-icon {
    width: min(230px, 74%);
  }

  .console-screen {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .button:hover,
  .button:focus-visible,
  .product-card:hover,
  .ecosystem-node:hover,
  .product-related-card:hover,
  .product-related-card:focus-visible,
  .architecture-card:hover,
  .workflow-grid article:hover,
  .roadmap-card:hover {
    transform: none;
  }

  .hero-media,
  .led-green,
  .led-dot,
  .principles-list li::before,
  .led-border-train,
  .product-card:hover::before,
  .ecosystem-node:hover::before,
  .product-related-card:hover::before,
  .product-related-card:focus-visible::before {
    animation: none !important;
  }

  .ecosystem-node:hover .ecosystem-icon img,
  .product-card:hover .product-icon img,
  .product-related-card:hover .product-related-image img,
  .product-related-card:focus-visible .product-related-image img {
    transform: none;
  }
}
