/* Project Diary — marketing site (cinematic product) */
:root {
  --ink: #061018;
  --ink-2: #0a1824;
  --surface: rgba(12, 28, 42, 0.72);
  --cyan: #3de8ff;
  --cyan-deep: #00b8d4;
  --fog: #d7eef7;
  --mist: #8eacbd;
  --amber: #ffb020;
  --ok: #5ee9a8;
  --line: rgba(61, 232, 255, 0.18);
  --font-display: "Syne", system-ui, sans-serif;
  --font: "DM Sans", system-ui, sans-serif;
  --max: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(1.1rem, 3.5vw, 1.75rem);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Page slide transitions (index ↔ download) */
html.pd-anim body {
  animation: pd-page-in 0.48s var(--ease) both;
}
html.pd-anim.pd-from-left body {
  animation-name: pd-page-in-left;
}
html.pd-anim.pd-from-right body {
  animation-name: pd-page-in-right;
}
html.pd-leaving body {
  pointer-events: none;
  animation: pd-page-out-left 0.34s var(--ease) both;
}
html.pd-leaving.pd-exit-right body {
  animation-name: pd-page-out-right;
}
@keyframes pd-page-in-right {
  from { opacity: 0; transform: translateX(42px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes pd-page-in-left {
  from { opacity: 0; transform: translateX(-42px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes pd-page-out-left {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(-36px); }
}
@keyframes pd-page-out-right {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(36px); }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--fog);
  background: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.ambiance {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 90% 55% at 15% -10%, rgba(61, 232, 255, 0.16), transparent 50%),
    radial-gradient(ellipse 60% 45% at 95% 30%, rgba(255, 176, 32, 0.07), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(0, 80, 110, 0.35), transparent 55%),
    linear-gradient(180deg, #0b1c2a 0%, #061018 45%, #040c12 100%);
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: var(--cyan); text-decoration: none; }
a:hover { color: #fff; }

.wrap {
  width: min(100% - 2 * var(--pad), var(--max));
  margin-inline: auto;
}

/* ——— Header ——— */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s;
}
.topbar.is-solid {
  background: rgba(6, 16, 24, 0.82);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px);
}

.topbar-inner {
  width: min(100% - 2 * var(--pad), var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  letter-spacing: -0.03em;
  color: #fff;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.35rem;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav a {
  position: relative;
  color: var(--mist);
  transition: color 0.2s var(--ease);
}
.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
  opacity: 0.85;
}
.nav a:not(.nav-cta):hover::after,
.nav a:not(.nav-cta).is-active::after {
  transform: scaleX(1);
}
.nav a:hover,
.nav a.is-active { color: #fff; }
.nav-cta {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(61, 232, 255, 0.35);
  color: var(--cyan) !important;
  background: rgba(61, 232, 255, 0.08);
}
.nav-cta:hover,
.nav-cta.is-active {
  background: rgba(61, 232, 255, 0.18);
  color: #fff !important;
  border-color: rgba(61, 232, 255, 0.55);
}

.brand:hover { color: #fff; }

.mobile-nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--fog);
  padding: 0.4rem 0.7rem;
  font: inherit;
  font-size: 0.85rem;
  border-radius: 999px;
  cursor: pointer;
}

/* ——— Hero stage (atmosphere, no media) ——— */
.hero-stage {
  position: relative;
  display: grid;
  align-items: start;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  background: #061018;
}

.hero-stage__art {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 78% 35%, rgba(61, 232, 255, 0.16), transparent 58%),
    radial-gradient(ellipse 50% 45% at 12% 80%, rgba(255, 176, 32, 0.1), transparent 55%),
    radial-gradient(ellipse 40% 35% at 55% 10%, rgba(94, 233, 168, 0.06), transparent 50%),
    linear-gradient(165deg, #0a1a28 0%, #061018 48%, #040c12 100%);
}

.hero-stage__grid {
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(rgba(61, 232, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 232, 255, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 70% at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 60% 40%, #000 20%, transparent 75%);
  transform: perspective(600px) rotateX(52deg) scale(1.35);
  transform-origin: center 30%;
  opacity: 0.9;
  animation: grid-drift 18s linear infinite;
}

.hero-stage__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  pointer-events: none;
}
.hero-stage__orb--a {
  width: min(42vw, 380px);
  height: min(42vw, 380px);
  right: -4%;
  top: -8%;
  background: radial-gradient(circle, rgba(61, 232, 255, 0.35), transparent 68%);
  animation: orb-float 9s var(--ease) infinite alternate;
}
.hero-stage__orb--b {
  width: min(28vw, 240px);
  height: min(28vw, 240px);
  left: 8%;
  bottom: -12%;
  background: radial-gradient(circle, rgba(255, 176, 32, 0.28), transparent 70%);
  animation: orb-float 11s var(--ease) infinite alternate-reverse;
}
.hero-stage__orb--c {
  width: min(18vw, 160px);
  height: min(18vw, 160px);
  left: 42%;
  top: 18%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
  animation: orb-float 7s ease-in-out infinite alternate;
}

.hero-stage__beam {
  position: absolute;
  width: 2px;
  height: 120%;
  left: 62%;
  top: -10%;
  background: linear-gradient(180deg, transparent, rgba(61, 232, 255, 0.45), transparent);
  transform: rotate(18deg);
  opacity: 0.55;
  filter: blur(1px);
  animation: beam-pulse 4.5s ease-in-out infinite;
}

.hero-stage__dust {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-stage__dust i {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0;
  box-shadow: 0 0 8px rgba(61, 232, 255, 0.8);
  animation: dust-drift 9s ease-in-out infinite;
}
.hero-stage__dust i:nth-child(1) { left: 18%; top: 62%; animation-delay: 0s; }
.hero-stage__dust i:nth-child(2) { left: 72%; top: 28%; animation-delay: 1.2s; background: var(--amber); box-shadow: 0 0 8px rgba(255, 176, 32, 0.7); }
.hero-stage__dust i:nth-child(3) { left: 48%; top: 44%; animation-delay: 2.4s; }
.hero-stage__dust i:nth-child(4) { left: 84%; top: 58%; animation-delay: 0.7s; }
.hero-stage__dust i:nth-child(5) { left: 32%; top: 22%; animation-delay: 3.1s; background: #fff; }
.hero-stage__dust i:nth-child(6) { left: 58%; top: 72%; animation-delay: 4.2s; background: var(--amber); box-shadow: 0 0 8px rgba(255, 176, 32, 0.7); }
.hero-stage__dust i:nth-child(7) { left: 12%; top: 38%; animation-delay: 1.8s; }
.hero-stage__dust i:nth-child(8) { left: 66%; top: 16%; animation-delay: 5s; }

@keyframes grid-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 56px, 56px 0; }
}
@keyframes orb-float {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(12px, -18px, 0) scale(1.06); }
}
@keyframes beam-pulse {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.65; }
}
@keyframes dust-drift {
  0% { opacity: 0; transform: translate3d(0, 12px, 0) scale(0.6); }
  20% { opacity: 0.85; }
  70% { opacity: 0.55; }
  100% { opacity: 0; transform: translate3d(18px, -42px, 0) scale(1.15); }
}

.hero-stage__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 16, 24, 0.72) 0%, rgba(6, 16, 24, 0.28) 55%, rgba(6, 16, 24, 0.2) 100%),
    linear-gradient(180deg, rgba(6, 16, 24, 0.25) 0%, transparent 40%, rgba(6, 16, 24, 0.7) 100%);
}

.hero-stage__content {
  position: relative;
  z-index: 2;
  max-width: 36rem;
  padding: 1.35rem 0 1.35rem;
  animation: rise 0.95s var(--ease) both;
}

.hero-scroll {
  display: none;
}
.hero-scroll i { display: none; }
@keyframes scroll-line {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* legacy */
.hero-stage__video { display: none; }

.ticker {
  border-block: 1px solid var(--line);
  background: rgba(8, 20, 30, 0.65);
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.ticker__track {
  display: flex;
  width: max-content;
  padding: 0.85rem 0;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
  animation: ticker 32s linear infinite;
  will-change: transform;
}
.ticker__group {
  display: flex;
  flex-shrink: 0;
  gap: 2.5rem;
  padding-right: 2.5rem;
}
.ticker__track span::before {
  content: "◆";
  margin-right: 2.5rem;
  color: var(--cyan);
  font-size: 0.55em;
  vertical-align: 0.15em;
  display: inline-block;
  animation: diamond-twinkle 2.4s ease-in-out infinite;
}
@keyframes diamond-twinkle {
  0%, 100% { opacity: 0.45; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  animation: eyebrow-breathe 3.6s ease-in-out infinite;
}
@keyframes eyebrow-breathe {
  0%, 100% { opacity: 0.75; letter-spacing: 0.14em; }
  50% { opacity: 1; letter-spacing: 0.17em; }
}

.hero-brand {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  color: #fff;
}
.hero-brand__accent {
  display: inline-block;
  background: linear-gradient(
    105deg,
    #fff 0%,
    var(--cyan) 25%,
    var(--amber) 50%,
    var(--cyan) 75%,
    #fff 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: accent-shift 7s linear infinite;
}
@keyframes accent-shift {
  from { background-position: 0% 50%; }
  to { background-position: 200% 50%; }
}
.hero-brand__line { display: inline; }
.hero-brand__line--accent {
  background: linear-gradient(105deg, #fff 10%, var(--cyan) 55%, var(--amber) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-stage h1,
.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--fog);
  max-width: 28ch;
}
.hero-stage h1.hero-pulse {
  animation: hero-pulse 3.6s ease-in-out infinite;
}
@keyframes hero-pulse {
  0%, 100% { opacity: 0.75; letter-spacing: -0.02em; }
  50% { opacity: 1; letter-spacing: 0.01em; }
}
.hero-stage h1 em,
.hero h1 .hl,
.hero-stage h1 .hl {
  font-style: normal;
  color: var(--amber);
}

.lead {
  margin: 0.65rem 0 0;
  max-width: 34rem;
  color: var(--mist);
  font-size: 0.98rem;
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--cyan);
  color: #031018;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s var(--ease), background 0.2s, box-shadow 0.25s;
  box-shadow: 0 10px 30px rgba(61, 232, 255, 0.18);
  animation: btn-glow 3.8s ease-in-out infinite;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.55s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover {
  color: #031018;
  background: #7af0ff;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(61, 232, 255, 0.32);
}
@keyframes btn-glow {
  0%, 100% { box-shadow: 0 10px 28px rgba(61, 232, 255, 0.16); }
  50% { box-shadow: 0 12px 34px rgba(61, 232, 255, 0.3); }
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--fog);
  box-shadow: none;
  animation: none;
}
.btn-ghost::after { display: none; }
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: none;
}
.btn-amber {
  background: var(--amber);
  color: #1a1200;
  box-shadow: 0 10px 30px rgba(255, 176, 32, 0.2);
  animation: none;
}
.btn-amber:hover {
  background: #ffc14d;
  color: #1a1200;
  box-shadow: 0 14px 36px rgba(255, 176, 32, 0.35);
}

/* Compact hero (download) */
.hero {
  position: relative;
  padding: 3.5rem 0 1.75rem;
  animation: rise 0.85s var(--ease) both;
}
.hero--compact { padding: 2.5rem 0 1.25rem; }
.hero-inner { max-width: 40rem; }
.hero .hero-brand {
  font-size: clamp(2.4rem, 7vw, 3.8rem);
}
.hero .hero-brand span {
  display: block;
  margin-top: 0.45rem;
  font-family: var(--font);
  font-size: 0.34em;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

.reveal {
  opacity: 0;
  animation: fade-up 0.75s var(--ease) both;
}
.reveal-d1 { animation-delay: 0.07s; }
.reveal-d2 { animation-delay: 0.14s; }
.reveal-d3 { animation-delay: 0.21s; }

/* ——— Sections ——— */
.section {
  padding: 2.75rem 0 1.5rem;
}

.section-head {
  margin-bottom: 1.75rem;
  max-width: 36rem;
}

.section-heading,
.section-title,
.panel h2,
.side-panel h2,
.download-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
  text-transform: none;
}

.section-lead {
  margin-top: 0.55rem;
  margin-bottom: 0;
}

/* Feature blocks */
.features-block { padding-top: 1.25rem; }

.feature-block {
  display: grid;
  gap: 1.15rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
  align-items: center;
}
.feature-block:last-of-type {
  border-bottom: 1px solid var(--line);
}

@media (min-width: 900px) {
  .feature-block {
    grid-template-columns: minmax(15rem, 0.9fr) 1.35fr;
    gap: 2.4rem;
    padding: 2.25rem 0;
  }
  .feature-block--flip .feature-copy { order: 2; }
  .feature-block--flip .feature-media { order: 1; }
  .feature-copy {
    position: sticky;
    top: 6.5rem;
    align-self: start;
  }
}

.feature-num {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--amber);
  animation: num-pulse 3.2s ease-in-out infinite;
}
@keyframes num-pulse {
  0%, 100% { opacity: 0.7; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-1px); }
}

.feature-copy h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  text-transform: none;
}

.feature-copy p {
  margin: 0;
  color: var(--mist);
  font-size: 1rem;
  max-width: 28rem;
}

.feature-block {
  position: relative;
  z-index: 1;
}
.feature-block:has(.feature-media:hover),
.feature-block:has(.feature-media.is-zoomed) {
  z-index: 8;
}

.feature-media {
  position: relative;
  margin: 0;
  cursor: zoom-in;
  transform-origin: center center;
  transition: transform 0.4s var(--ease);
  z-index: 1;
}
.feature-media::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(61, 232, 255, 0.45), transparent 40%, rgba(255, 176, 32, 0.25));
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.feature-media:hover::before,
.feature-media.is-zoomed::before {
  opacity: 1;
}

.feature-media img,
.feature-media video {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #050b10;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.4);
  transition: box-shadow 0.4s var(--ease);
}

.media-slideshow {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #050b10;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.4);
  transition: box-shadow 0.4s var(--ease);
}

/* Enlarge preview so UI text in demos is readable */
@media (hover: hover) and (pointer: fine) {
  .feature-media:hover {
    transform: scale(1.48);
    z-index: 9;
  }
  .feature-media:hover video,
  .feature-media:hover .media-slideshow,
  .feature-media:hover > img {
    box-shadow:
      0 0 0 1px rgba(61, 232, 255, 0.35),
      0 36px 90px rgba(0, 0, 0, 0.55),
      0 18px 48px rgba(61, 232, 255, 0.14);
  }
}

.feature-media.is-zoomed {
  transform: scale(1.42);
  z-index: 9;
  cursor: zoom-out;
}
.feature-media.is-zoomed video,
.feature-media.is-zoomed .media-slideshow,
.feature-media.is-zoomed > img {
  box-shadow:
    0 0 0 1px rgba(61, 232, 255, 0.35),
    0 36px 90px rgba(0, 0, 0, 0.55),
    0 18px 48px rgba(61, 232, 255, 0.14);
}

@media (min-width: 900px) {
  .feature-block:not(.feature-block--flip) .feature-media {
    transform-origin: left center;
  }
  .feature-block--flip .feature-media {
    transform-origin: right center;
  }
}
.media-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  aspect-ratio: auto;
  box-shadow: none;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.media-slideshow img.is-active { opacity: 1; }

.media-slideshow-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 7px;
  z-index: 2;
  pointer-events: none;
}
.media-slideshow-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}
.media-slideshow-dots span.is-active { background: var(--cyan); }

/* Secondary rows */
.feature-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 0.5rem;
}

.feature-row {
  display: grid;
  gap: 0.35rem 1.25rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid rgba(61, 232, 255, 0.12);
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .feature-row {
    grid-template-columns: minmax(11rem, 0.85fr) 1.7fr;
    align-items: baseline;
  }
}
.feature-row h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  text-transform: none;
}
.feature-row p {
  margin: 0;
  color: var(--mist);
  font-size: 0.98rem;
}

/* Panels */
.panel,
.side-panel,
.download-panel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.35rem 1.4rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.panel:hover,
.side-panel:hover,
.download-panel:hover {
  border-color: rgba(61, 232, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.28);
}

.insight-grid {
  display: grid;
  gap: 1rem 1.25rem;
  padding-top: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .insight-grid { grid-template-columns: 1fr 1fr; }
}

.insight-item h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cyan);
}
.insight-item p {
  margin: 0;
  color: var(--mist);
  font-size: 0.95rem;
}

.two-col {
  display: grid;
  gap: 1rem;
}
@media (min-width: 860px) {
  .two-col { grid-template-columns: 1fr 1fr; }
}

.panel--signal {
  background:
    linear-gradient(160deg, rgba(61, 232, 255, 0.08), transparent 45%),
    var(--surface);
}

.signal-log,
.terminal {
  margin-top: 0.85rem;
  border: 1px solid rgba(61, 232, 255, 0.28);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(8, 18, 28, 0.95), rgba(4, 10, 16, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(61, 232, 255, 0.08),
    0 12px 32px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  font-family: ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--fog);
  font-variant-numeric: tabular-nums;
}
.signal-log__bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.7rem;
  border-bottom: 1px solid rgba(61, 232, 255, 0.16);
  background: rgba(0, 0, 0, 0.35);
}
.signal-log__dots {
  display: inline-flex;
  gap: 5px;
  width: 42px;
  flex-shrink: 0;
}
.signal-log__dots::before,
.signal-log__dots::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5f57;
  box-shadow: 14px 0 0 #febc2e, 28px 0 0 #28c840;
}
.signal-log__dots::after { display: none; }
.signal-log__title {
  flex: 1;
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--mist);
  opacity: 0.9;
}
.signal-log__body {
  padding: 0.7rem 0.85rem 0.85rem;
  min-height: 5.5rem;
}
.signal-log .prompt,
.terminal .prompt {
  color: var(--cyan);
  margin-right: 0.45rem;
  user-select: none;
}
.signal-log .dim,
.terminal .dim { color: var(--mist); }
.signal-log .ok,
.terminal .ok { color: var(--ok); }
.signal-log .warn,
.terminal .warn { color: var(--amber); }
.signal-log__body > div,
.terminal > div {
  animation: line-in 0.55s var(--ease) both;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.signal-log__cmd {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}
.signal-log__body > div:nth-child(1), .terminal > div:nth-child(1) { animation-delay: 0.05s; }
.signal-log__body > div:nth-child(2), .terminal > div:nth-child(2) { animation-delay: 0.18s; }
.signal-log__body > div:nth-child(3), .terminal > div:nth-child(3) { animation-delay: 0.32s; }
.signal-log__body > div:nth-child(4), .terminal > div:nth-child(4) { animation-delay: 0.46s; }
.signal-log__body > div:nth-child(5), .terminal > div:nth-child(5) { animation-delay: 0.6s; }
.signal-log__body > div:nth-child(6), .terminal > div:nth-child(6) { animation-delay: 0.74s; }
.signal-log__cmd {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  margin-top: 0.55rem;
  padding-top: 0.55rem;
  border-top: 1px dashed rgba(61, 232, 255, 0.22);
  animation-delay: 0.58s;
}
.btn-cli {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.58rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 4px;
  background: linear-gradient(
    105deg,
    #fff 0%,
    var(--cyan) 25%,
    var(--amber) 50%,
    var(--cyan) 75%,
    #fff 100%
  );
  background-size: 220% 100%;
  color: #041018;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-shadow: none;
  box-shadow: none;
  animation: accent-shift 7s linear infinite;
  transition: filter 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn-cli:hover {
  filter: brightness(1.08);
  transform: none;
  box-shadow: none;
  animation: accent-shift 7s linear infinite;
}
.btn-cli:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}
@keyframes line-in {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: none; }
}

.cursor {
  display: inline-block;
  width: 0.55em;
  height: 1em;
  margin-left: 2px;
  vertical-align: -2px;
  background: var(--cyan);
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.list-check {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
}
.list-check li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.25rem;
  border-bottom: 1px solid rgba(61, 232, 255, 0.1);
  color: var(--fog);
  font-size: 0.95rem;
}
.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

.cta-band {
  padding: 1.5rem 0 0.5rem;
  border-top: 1px solid var(--line);
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  letter-spacing: -0.03em;
  color: #fff;
}

.download-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.download-card__grid {
  display: grid;
  gap: 1.35rem 1.75rem;
  align-items: start;
}
@media (min-width: 860px) {
  .download-card__grid {
    grid-template-columns: 1.15fr 0.95fr;
  }
}

.download-card__side {
  padding: 0.15rem 0 0;
  border-top: 1px solid rgba(61, 232, 255, 0.12);
}
@media (min-width: 860px) {
  .download-card__side {
    border-top: 0;
    border-left: 1px solid rgba(61, 232, 255, 0.12);
    padding: 0 0 0 1.4rem;
  }
}

.feature-pills {
  list-style: none;
  margin: 0.55rem 0 1.1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.feature-pills li {
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(61, 232, 255, 0.22);
  background: rgba(61, 232, 255, 0.06);
  color: var(--fog);
  font-size: 0.82rem;
  font-weight: 500;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}
.feature-pills li:hover {
  border-color: rgba(61, 232, 255, 0.45);
  background: rgba(61, 232, 255, 0.12);
  transform: translateY(-1px);
}

.req-box { margin-top: 0.25rem; }
.list-check--tight li {
  padding: 0.28rem 0 0.28rem 1.25rem;
  font-size: 0.92rem;
}
.list-check--tight li::before { top: 0.72rem; }

.download-insights { margin-top: 1.25rem; }
.download-insights .insight-item {
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(12, 28, 42, 0.45);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.download-insights .insight-item:hover {
  border-color: rgba(61, 232, 255, 0.35);
  transform: translateY(-2px);
}

.hero-stage--download .hero-stage__content {
  padding: 1.35rem 0 1.35rem;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--mist);
  margin-bottom: 0.35rem;
}
.meta-row b { color: var(--cyan); font-weight: 600; }

.download-card .signal-log {
  margin-top: 0.85rem;
}

.footer {
  border-top: 1px solid var(--line);
  margin-top: 1.5rem;
  padding: 1.25rem 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--mist);
  font-size: 0.85rem;
}

.seo-topics {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* legacy placeholders (if any remain) */
.media-slot { display: none; }
.status-chip { display: none; }
.scanlines,
.plus { display: none !important; }

@media (max-width: 760px) {
  .mobile-nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0.5rem;
    gap: 0.65rem;
  }
  .topbar.is-open .nav { display: flex; }
  .topbar-inner { flex-wrap: wrap; }
  .hero-stage__content {
    padding: 1.15rem 0 1.15rem;
  }
  .hero-scroll { display: none; }
  .ticker__track { gap: 1.75rem; font-size: 0.72rem; }
}

@media (prefers-reduced-motion: reduce) {
  html.pd-anim body,
  html.pd-leaving body {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .reveal,
  .hero-stage__content,
  .hero,
  .ticker__track,
  .hero-scroll i,
  .hero-stage__grid,
  .hero-stage__orb,
  .hero-stage__beam,
  .hero-stage__dust i,
  .eyebrow,
  .hero-brand__accent,
  .hero-pulse,
  .btn,
  .feature-num,
  .ticker__track span::before,
  .signal-log__body > div,
  .terminal > div {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-stage__grid { transform: perspective(600px) rotateX(52deg) scale(1.35); }
  .media-slideshow img { transition: none; }
  .cursor { animation: none; }
  .btn-cli {
    animation: none !important;
  }
  .feature-media:hover,
  .feature-media.is-zoomed,
  .panel:hover,
  .side-panel:hover,
  .download-panel:hover {
    transform: none;
  }
}
