/* ==========================================================================
   ToolboxVR - unified dark design system
   One theme across every page: deep warm black, luminous orange accent,
   glass surfaces. The homepage adds the persistent 3D "walk-through" stage.
   ========================================================================== */

:root {
  --bg: #0b0807;
  --black: #080605;
  --ink: #f6efe8;
  --muted: rgba(246, 239, 232, 0.64);
  --faint: rgba(246, 239, 232, 0.42);
  --accent: #ff7a33;
  --accent-2: #ffb072;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --glass: rgba(20, 14, 10, 0.5);
  --card: rgba(255, 255, 255, 0.028);
  --radius: 22px;
  --radius-lg: 30px;
  --shell: 1200px;
  --font-body: "Inter Variable", "Inter", system-ui, sans-serif;
  --font-display: "Lexend Variable", "Lexend", "Inter Variable", sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.04;
  color: var(--ink);
}
p {
  color: var(--muted);
}
::selection {
  background: var(--accent);
  color: #1a0f08;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 1000;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #1a0f08;
  font-weight: 600;
}
.skip-link:focus {
  top: 16px;
}
.section-shell {
  width: min(var(--shell), calc(100% - 48px));
  margin-inline: auto;
}
.section-pad {
  padding-block: clamp(56px, 7vw, 90px) clamp(70px, 9vw, 110px);
}

/* --- Reveal + motion primitives --- */
.reveal {
  animation: reveal-in 0.65s ease-out both;
}
@keyframes reveal-in {
  from {
    opacity: 0.25;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
html.anim-ready .reveal {
  animation: none;
}
html.anim-ready [data-reveal],
html.anim-ready [data-reveal-stagger] > * {
  opacity: 0;
}
[data-magnetic] {
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 60;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, #b8501c, var(--accent), var(--accent-2));
  pointer-events: none;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 92px;
  background: linear-gradient(rgba(11, 8, 7, 0.72), rgba(11, 8, 7, 0.42));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}
.site-header.scrolled {
  background: rgba(11, 8, 7, 0.82);
  border-bottom-color: var(--line);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.8);
}
.nav-shell {
  width: min(1300px, calc(100% - 48px));
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.brand {
  flex: 0 0 auto;
}
.brand img {
  width: 225px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}
.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
}
.primary-nav a {
  position: relative;
  padding: 6px 0;
  color: var(--muted);
  transition: color 0.2s;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transition: right 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.primary-nav a:hover,
.primary-nav a.active {
  color: var(--ink);
}
.primary-nav a:hover::after,
.primary-nav a.active::after {
  right: 0;
}
.primary-nav .nav-cta {
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #1a0f08;
  font-weight: 600;
  transition:
    background-color 0.25s,
    transform 0.25s;
}
.primary-nav .nav-cta i {
  margin-left: 6px;
  font-size: 11px;
}
.primary-nav .nav-cta::after {
  display: none;
}
.primary-nav .nav-cta:hover {
  background: var(--accent-2);
  color: #1a0f08;
  transform: translateY(-2px);
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.lang-switch .lang-opt {
  padding: 5px 11px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition:
    color 0.2s,
    background-color 0.2s;
}
.lang-switch .lang-opt:hover {
  color: var(--ink);
}
.lang-switch .lang-opt.is-active {
  background: var(--accent);
  color: #1a0f08;
}
.menu-toggle {
  display: none;
  padding: 10px;
  border: 0;
  background: transparent;
}
.menu-toggle span:not(.sr-only) {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px;
  border-radius: 2px;
  background: var(--ink);
}

/* --- Features dropdown (header nav) --- */
.nav-dropdown {
  position: relative;
}
.nav-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s;
}
.nav-dropdown__trigger i {
  font-size: 10px;
  transition: transform 0.25s;
}
.nav-dropdown__trigger:hover,
.nav-dropdown__trigger.active,
.nav-dropdown:hover .nav-dropdown__trigger {
  color: var(--ink);
}
.nav-dropdown:hover .nav-dropdown__trigger i,
.nav-dropdown:focus-within .nav-dropdown__trigger i,
.nav-dropdown.open .nav-dropdown__trigger i {
  transform: rotate(180deg);
}
.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  min-width: 214px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: rgba(17, 12, 9, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.85);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition:
    opacity 0.22s,
    transform 0.22s,
    visibility 0.22s;
  z-index: 60;
}
/* invisible bridge so the menu doesn't close as the cursor crosses the gap */
.nav-dropdown__menu::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}
.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu,
.nav-dropdown.open .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown__menu a {
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
  transition:
    background-color 0.2s,
    color 0.2s;
}
.nav-dropdown__menu a::after {
  display: none;
}
.nav-dropdown__menu a:hover,
.nav-dropdown__menu a.active {
  background: rgba(255, 122, 51, 0.12);
  color: var(--ink);
}
@media (max-width: 1200px) {
  .nav-dropdown {
    width: 100%;
  }
  .nav-dropdown__trigger {
    width: 100%;
    justify-content: space-between;
    padding: 12px 0;
    font-size: inherit;
  }
  .nav-dropdown__menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    display: none;
    min-width: 0;
    margin: 2px 0 6px;
    padding: 2px 0 2px 16px;
    border: 0;
    border-left: 1px solid var(--line-strong);
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }
  .nav-dropdown__menu::before {
    display: none;
  }
  .nav-dropdown.open .nav-dropdown__menu {
    display: flex;
    pointer-events: auto;
  }
  .nav-dropdown__menu a {
    padding: 11px 12px;
  }
}

/* ==========================================================================
   Buttons (sub-pages)
   ========================================================================== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  padding: 13px 26px;
  border: 1px solid rgba(255, 122, 51, 0.55);
  border-radius: 999px;
  color: var(--accent-2);
  text-align: center;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  transition:
    background-color 0.25s,
    border-color 0.25s,
    color 0.25s,
    transform 0.25s,
    box-shadow 0.25s;
}
.button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a0f08;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -18px rgba(255, 122, 51, 0.55);
}
.button-small {
  min-width: 0;
  padding: 10px 20px;
  font-size: 13.5px;
}
.button.solid {
  background: linear-gradient(120deg, var(--accent), #e05f1f);
  border-color: transparent;
  color: #1a0f08;
  font-weight: 600;
}
.button.solid:hover {
  background: var(--accent-2);
  color: #1a0f08;
}
.button-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.button-row.align-left {
  justify-content: flex-start;
  gap: 14px;
}
.eyebrow {
  margin-bottom: 24px;
  color: var(--faint);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.eyebrow.orange {
  color: var(--accent);
  margin-bottom: 16px;
}

/* ==========================================================================
   Page hero (sub-pages) - dark stage with a warm glow + perspective grid
   ========================================================================== */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 9vw, 110px) 0 clamp(40px, 5vw, 56px);
  text-align: center;
  background:
    radial-gradient(
      58% 90% at 50% -20%,
      rgba(255, 122, 51, 0.28),
      rgba(255, 122, 51, 0) 70%
    ),
    var(--bg);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(70% 120% at 50% -10%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(
    70% 120% at 50% -10%,
    #000 30%,
    transparent 75%
  );
  pointer-events: none;
}
.page-hero__inner {
  position: relative;
}
/* .page-hero__kicker shares the .cin-kicker definition below */
.page-hero h1 {
  margin-bottom: 16px;
  font-size: clamp(40px, 5.4vw, 76px);
}
.page-hero p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(15px, 1.4vw, 18px);
}

/* ==========================================================================
   Use cases page - alternating editorial rows
   ========================================================================== */
.use-case-list {
  padding-block: clamp(60px, 8vw, 100px) 30px;
}
.use-case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
  margin-bottom: clamp(70px, 9vw, 120px);
}
.use-case:nth-child(even) img {
  order: -1;
}
.use-case-copy h2 {
  margin-bottom: 20px;
  font-size: clamp(28px, 3.2vw, 44px);
}
/* signature accent underline, shared with .requirement-group h2 */
.use-case-copy h2::after,
.requirement-group h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 16px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.use-case-copy p {
  margin-bottom: 14px;
  font-size: 15px;
}
/* shared framed-media treatment (also .sales-intro > img, .admin-intro img) */
.use-case img,
.sales-intro > img,
.admin-intro img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  object-fit: cover;
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.9);
}
.use-case img {
  height: auto;
}

/* ==========================================================================
   Features page - pinned scroll-scrub showcase (one feature at a time)
   Base rules render a readable stacked list (works with no JS / reduced
   motion / small screens). When JS is present and motion is allowed the
   `html.js .feat-showcase:not(.feat-static)` upgrade pins the stage and
   app.js scrubs each feature: the current one zooms in and fades while the
   next zooms back to rest, with the background glow shifting between them.
   ========================================================================== */
.feat-showcase {
  position: relative;
}
.feat-bgs,
.feat-stars,
.feat-dots {
  display: none;
}

/* --- stacked layout (fallback) --- */
.feat-slides {
  display: flex;
  flex-direction: column;
  gap: clamp(64px, 9vw, 120px);
  width: min(var(--shell), calc(100% - 48px));
  margin-inline: auto;
  padding-block: clamp(40px, 6vw, 80px);
}
.feat-slide {
  display: flex;
  align-items: center;
  gap: clamp(32px, 5vw, 84px);
}
/* the image takes the larger share of the row; sides alternate feature to
   feature - text left, then right, then left ... */
.feat-slide__copy {
  flex: 1 1 0;
  min-width: 0;
  max-width: 440px;
}
.feat-slide:nth-child(even) {
  flex-direction: row-reverse;
}
.feat-slide__num {
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--faint);
}
.feat-slide__eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.feat-slide__copy h2 {
  margin: 0 0 20px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.06;
}
.feat-slide__copy h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 20px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.feat-slide__copy p {
  margin: 0;
  max-width: 480px;
  color: var(--muted);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.65;
}
/* keep copy legible over the blurred backdrop */
.feat-slide__copy h2,
.feat-slide__copy p {
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}
.feat-slide__media {
  position: relative;
  flex: 1.6 1 0;
  min-width: 0;
}
.feat-slide__media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.9);
}

/* --- pinned live layout --- */
html.js .feat-showcase:not(.feat-static) .feat-bgs {
  display: block;
}
html.js .feat-showcase:not(.feat-static) .feat-dots {
  display: flex;
}
html.js .feat-showcase:not(.feat-static) .feat-stage {
  position: relative;
  height: calc(100vh - var(--feat-header, 92px));
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
}
html.js .feat-showcase:not(.feat-static) .feat-stars {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
html.js .feat-showcase:not(.feat-static) .feat-slides {
  position: absolute;
  inset: 0;
  display: block;
  width: auto;
  margin: 0;
  padding: 0;
  z-index: 2;
}
html.js .feat-showcase:not(.feat-static) .feat-slide {
  position: absolute;
  inset: 0;
  margin-inline: auto;
  width: min(var(--shell), calc(100% - 48px));
  padding: 0 24px;
  align-content: center;
  opacity: 0;
  transform-origin: center center;
  will-change: transform, opacity;
  backface-visibility: hidden;
}
html.js .feat-showcase:not(.feat-static) .feat-slide:first-child {
  opacity: 1;
}
/* pinned images keep their natural aspect ratio, capped so they never
   overflow the stage on very wide viewports */
html.js .feat-showcase:not(.feat-static) .feat-slide__media img {
  max-height: calc(100vh - var(--feat-header, 92px) - 120px);
  object-fit: contain;
}

/* backdrop: each feature's own image, heavily blurred + darkened, so the
   space behind echoes the sharp foreground image. url is set inline. */
.feat-bgs {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--bg);
}
.feat-bg {
  position: absolute;
  inset: -64px;
  opacity: 0;
  background-position: center;
  background-size: cover;
  /* the source is a ~100px thumbnail, so it is already soft; this just
     smooths the upscale (cheap to composite, unlike blurring a full image) */
  filter: blur(22px) saturate(1.25);
}
/* legibility scrim over the blurred backdrops */
.feat-bgs::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 8, 7, 0.5),
    rgba(11, 8, 7, 0.64) 55%,
    rgba(11, 8, 7, 0.86)
  );
}

/* progress dots (bottom-centre) */
.feat-dots {
  position: absolute;
  left: 50%;
  bottom: clamp(22px, 4.5vh, 44px);
  transform: translateX(-50%);
  z-index: 3;
  flex-direction: row;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.feat-dots li {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(246, 239, 232, 0.22);
  transition:
    background-color 0.3s,
    transform 0.3s;
}
.feat-dots li.is-active {
  background: var(--accent);
  transform: scale(1.55);
}

/* keep the showcase readable when motion is off, whatever JS decides */
@media (prefers-reduced-motion: reduce) {
  html.js .feat-showcase .feat-bgs,
  html.js .feat-showcase .feat-stars,
  html.js .feat-showcase .feat-dots {
    display: none;
  }
  html.js .feat-showcase .feat-stage {
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  html.js .feat-showcase .feat-slides {
    position: static;
    display: flex;
    width: min(var(--shell), calc(100% - 48px));
    margin-inline: auto;
    padding-block: clamp(40px, 6vw, 80px);
  }
  html.js .feat-showcase .feat-slide {
    position: static;
    inset: auto;
    width: auto;
    padding: 0;
    opacity: 1;
    transform: none;
  }
}

/* small screens: always stacked, never pinned */
@media (max-width: 800px) {
  html.js .feat-showcase .feat-bgs,
  html.js .feat-showcase .feat-stars,
  html.js .feat-showcase .feat-dots {
    display: none;
  }
  html.js .feat-showcase .feat-stage {
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  html.js .feat-showcase .feat-slides {
    position: static;
    display: flex;
    flex-direction: column;
    gap: clamp(48px, 11vw, 80px);
    width: min(var(--shell), calc(100% - 40px));
    margin-inline: auto;
    padding-block: 48px;
  }
  .feat-slide,
  .feat-slide:nth-child(even) {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  html.js .feat-showcase .feat-slide {
    position: static;
    inset: auto;
    width: auto;
    padding: 0;
    opacity: 1;
    transform: none;
  }
  .feat-slide__media {
    order: -1;
  }
  .feat-slide__media img {
    height: auto;
  }
}

/* ==========================================================================
   Security page
   ========================================================================== */
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.security-grid--access {
  grid-template-columns: repeat(4, 1fr);
}
.security-card {
  padding: 42px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  background: var(--card);
  transition:
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.35s,
    background-color 0.35s;
}
.security-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 122, 51, 0.45);
  background: rgba(255, 122, 51, 0.05);
}
.security-card i {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 26px;
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(255, 122, 51, 0.22),
    rgba(255, 122, 51, 0.06)
  );
  border: 1px solid rgba(255, 122, 51, 0.35);
  color: var(--accent);
  font-size: 26px;
}
.security-card h2 {
  font-size: 22px;
}
.security-card p {
  margin-bottom: 0;
  font-size: 14px;
}

/* ===========================================================================
   Testimonials placeholder
   ========================================================================== */
.testimonial-placeholder {
  max-width: 860px;
  margin-block: clamp(42px, 6vw, 80px);
  padding-inline: clamp(28px, 6vw, 80px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(
      70% 120% at 50% 0%,
      rgba(255, 122, 51, 0.14),
      transparent 68%
    ),
    var(--card);
  text-align: center;
}
.testimonial-placeholder__icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 28px;
  border: 1px solid rgba(255, 122, 51, 0.35);
  border-radius: 24px;
  background: rgba(255, 122, 51, 0.1);
  color: var(--accent);
  font-size: 28px;
}
.testimonial-placeholder h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 52px);
}
.testimonial-placeholder > p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 auto 30px;
  font-size: clamp(15px, 1.4vw, 18px);
}

/* ==========================================================================
   Sales page
   ========================================================================== */
.sales-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 5vw, 70px);
  align-items: center;
}
.sales-intro h2 {
  max-width: 650px;
  font-size: clamp(32px, 3.8vw, 54px);
}
.sales-intro > img {
  height: clamp(420px, 44vw, 610px);
}
.sales-steps {
  margin: 35px 0;
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  gap: 12px 16px;
}
.sales-steps span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 122, 51, 0.5);
  background: rgba(255, 122, 51, 0.12);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
}
.sales-steps p {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
}
.sales-contact {
  margin-bottom: 80px;
  padding: 40px;
  text-align: center;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(
      70% 130% at 50% -30%,
      rgba(255, 122, 51, 0.18),
      transparent 70%
    ),
    var(--card);
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 500;
}
.sales-contact a {
  color: var(--accent);
}
.sales-contact a:hover {
  color: var(--accent-2);
}

/* ==========================================================================
   Demo form
   ========================================================================== */
.form-section {
  width: min(760px, calc(100% - 48px));
  padding-block: clamp(36px, 5vw, 56px) clamp(80px, 9vw, 110px);
}
.demo-form {
  display: grid;
  gap: 18px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--card);
}
.demo-form label {
  display: grid;
  gap: 8px;
  color: var(--faint);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.demo-form input,
.demo-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--ink);
  outline: none;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
.demo-form input::placeholder,
.demo-form textarea::placeholder {
  color: rgba(246, 239, 232, 0.3);
}
.demo-form input:focus,
.demo-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 122, 51, 0.22);
}
.demo-form textarea {
  resize: vertical;
}
.form-notice {
  margin-bottom: 24px;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid;
}
.form-notice.success {
  border-color: rgba(100, 185, 108, 0.5);
  background: rgba(23, 41, 26, 0.6);
  color: #a8e0ad;
}
.form-notice.error {
  border-color: rgba(223, 73, 73, 0.5);
  background: rgba(45, 23, 23, 0.6);
  color: #f0a3a3;
}

/* ==========================================================================
   Experience day page
   ========================================================================== */
.experience-cards {
  display: grid;
  grid-template-columns: 0.85fr 1.35fr;
  gap: 24px;
}
.experience-cards article {
  min-height: 350px;
  padding: clamp(32px, 4vw, 50px);
  border-radius: var(--radius-lg);
}
.experience-offer {
  background: linear-gradient(140deg, #ff8a45, #d6541a 70%);
  color: #1f0e05;
}
.experience-offer h2 {
  color: #1f0e05;
}
.experience-offer p,
.experience-offer li {
  color: rgba(31, 14, 5, 0.82);
  font-weight: 500;
}
.experience-offer ul {
  padding-left: 22px;
}
.experience-offer li {
  margin: 8px 0;
}
.experience-power {
  border: 1px solid var(--line);
  background:
    radial-gradient(
      80% 120% at 90% -20%,
      rgba(255, 122, 51, 0.2),
      transparent 65%
    ),
    var(--card);
}
.experience-power .button {
  margin-top: 8px;
}

/* ==========================================================================
   Admin backend page
   ========================================================================== */
.admin-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(44px, 6vw, 90px);
  align-items: center;
}
.admin-intro h2 {
  font-size: clamp(34px, 3.8vw, 54px);
}
.admin-intro img {
  height: clamp(420px, 44vw, 600px);
}
.admin-intro .result {
  color: var(--ink);
  font-size: 17px;
}
.check-list {
  list-style: none;
  margin: 30px 0;
  padding: 0;
}
.check-list li {
  position: relative;
  margin: 12px 0;
  padding-left: 30px;
  color: var(--muted);
}
.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ==========================================================================
   Requirements page - dark data tables
   ========================================================================== */
.requirements {
  padding-top: 30px;
}
.requirement-group {
  margin-bottom: 40px;
  padding: clamp(22px, 3vw, 36px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
}
.requirement-group h2 {
  margin-bottom: 22px;
  font-size: clamp(24px, 2.6vw, 32px);
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  color: var(--muted);
}
th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
th {
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom-color: rgba(255, 122, 51, 0.4);
}
tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}
tbody td:first-child {
  color: var(--faint);
}

/* ==========================================================================
   Partnerships page - constrained lead + process blocks
   ========================================================================== */
.partner-lead {
  max-width: 820px;
}
.partner-lead > h2 {
  margin: 8px 0 18px;
  font-size: clamp(28px, 3.4vw, 44px);
}
.partner-lead > p {
  color: var(--muted);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.7;
}

/* ==========================================================================
   Shared CTA band (sub-pages)
   ========================================================================== */
.experience-cta {
  margin-block: 90px;
  padding: clamp(44px, 6vw, 70px) 40px;
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(
      60% 130% at 50% -30%,
      rgba(255, 122, 51, 0.25),
      transparent 70%
    ),
    var(--card);
}
.experience-cta h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3.4vw, 44px);
}
.experience-cta h2 span {
  color: var(--accent);
}
.experience-cta p {
  max-width: 560px;
  margin: 0 auto 26px;
  font-size: 15px;
}
.experience-cta .button-row {
  gap: 16px;
}

/* ==========================================================================
   404
   ========================================================================== */
.not-found {
  min-height: 65vh;
  display: grid;
  place-content: center;
  text-align: center;
}
.not-found h1 {
  font-size: clamp(50px, 8vw, 80px);
}
.not-found .button {
  margin: 30px auto 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding: clamp(60px, 8vw, 90px) 0 24px;
  background:
    radial-gradient(
      55% 90% at 50% 115%,
      rgba(255, 122, 51, 0.16),
      transparent 70%
    ),
    var(--black);
  border-top: 1px solid var(--line);
}
.footer-shell {
  width: min(1180px, calc(100% - 64px));
  margin: auto;
}
.footer-shell > h2 {
  margin-bottom: 36px;
  font-size: clamp(34px, 4.2vw, 58px);
}
.footer-shell > h2 span {
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer-rule {
  height: 1px;
  background: var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.7fr 0.8fr 0.85fr;
  gap: 50px;
  padding: 45px 30px;
}
.footer-logo {
  width: 210px;
}
.footer-grid h3 {
  margin-bottom: 18px;
  font-size: 15px;
  color: var(--faint);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}
.footer-grid a {
  display: block;
  width: fit-content;
  margin: 9px 0;
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-grid a:hover {
  color: var(--accent-2);
}
.footer-grid p {
  margin-bottom: 15px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.footer-grid .footer-pill {
  width: fit-content;
  margin: 11px 0;
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 122, 51, 0.5);
  color: var(--accent-2);
  font-weight: 500;
  transition:
    background-color 0.25s,
    color 0.25s;
}
.footer-grid .footer-pill:hover {
  background: var(--accent);
  color: #1a0f08;
}
.copyright {
  margin: 20px 0 0;
  color: var(--faint);
  text-align: center;
  font-size: 12px;
}

/* ==========================================================================
   HOMEPAGE (theme-cinema) - the scroll-film with the persistent 3D stage
   ========================================================================== */
.cin-shell {
  width: min(var(--shell), calc(100% - 48px));
  margin-inline: auto;
}

/* --- Persistent 3D backdrop --- */
.cin-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--bg);
}
.cin-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.cin-stage.model-ready .cin-canvas {
  opacity: 1;
}
/* Loading / no-WebGL fallback: a quiet warm horizon */
.cin-stage__grad {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      50% 42% at 50% 78%,
      rgba(255, 122, 51, 0.3),
      rgba(255, 122, 51, 0) 70%
    ),
    radial-gradient(
      90% 70% at 50% 115%,
      rgba(184, 80, 28, 0.35),
      rgba(184, 80, 28, 0) 65%
    ),
    linear-gradient(180deg, #0b0807 0%, #0e0908 60%, #140b07 100%);
}
.cin-stage__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    120% 90% at 50% 40%,
    transparent 55%,
    rgba(5, 3, 2, 0.55) 100%
  );
}
.cin-stage__grain {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* main content rides above the fixed stage */
.cin {
  position: relative;
  z-index: 1;
}

/* most scenes are transparent (show the 3D world); black acts cover it */
.cin-act--black {
  background: var(--black);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cin-act {
  padding-block: clamp(80px, 12vw, 170px);
  position: relative;
}

/* --- Shared bits --- */
.cin-kicker,
.page-hero__kicker {
  display: inline-block;
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.cin-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
}
.cin-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 5vw, 70px);
}
.cin-head--center {
  margin-inline: auto;
  text-align: center;
}
.cin-head h2,
.cin-act h2 {
  font-size: clamp(34px, 5vw, 68px);
}
.cin-sub {
  margin: 18px auto 0;
  max-width: 540px;
  font-size: clamp(15px, 1.4vw, 18px);
}

/* --- Buttons --- */
.cin-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px 13px 24px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  transition:
    transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    background-color 0.25s,
    color 0.25s,
    box-shadow 0.25s;
  will-change: transform;
}
.cin-btn .ic {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #1a0f08;
  color: #fff;
  font-size: 11px;
  flex: none;
  transition: transform 0.3s;
}
.cin-btn:hover .ic {
  transform: translateX(3px);
}
.cin-btn--primary {
  background: linear-gradient(120deg, var(--accent), #e05f1f);
  color: #1a0f08;
  font-weight: 600;
  box-shadow: 0 18px 50px -18px rgba(255, 122, 51, 0.65);
}
.cin-btn--primary:hover {
  background: var(--accent-2);
  box-shadow: 0 22px 60px -18px rgba(255, 176, 114, 0.7);
}
.cin-btn--light {
  background: #fff;
  color: #120a06;
}
.cin-btn--light .ic {
  background: #120a06;
}
.cin-btn--light:hover {
  background: var(--accent);
}
.cin-btn--ghost {
  padding: 13px 22px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.cin-btn--ghost .ic {
  width: 22px;
  height: 22px;
  background: rgba(255, 255, 255, 0.14);
}
.cin-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}
.cin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cin-actions--center {
  justify-content: center;
}

/* --- ACT 1 HERO (centered inside the corridor) --- */
.cin-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: 130px 90px;
}
/* soft scrim so the headline always reads over the bright horizon */
.cin-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    56% 44% at 50% 52%,
    rgba(8, 5, 3, 0.52),
    rgba(8, 5, 3, 0) 72%
  );
  pointer-events: none;
}
.cin-hero__inner {
  position: relative;
  width: min(980px, calc(100% - 48px));
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cin-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 30px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(20, 14, 10, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}
.cin-badge i {
  color: var(--accent);
}
/* One line on desktop: "Replace passive slides with <rotating word>".
   The hidden sizers reserve the width of the longest phrases so the line
   never re-flows while the word types. */
.cin-hero__title {
  margin: 0 0 26px;
  font-size: clamp(28px, 3.2vw, 47px);
  font-weight: 500;
  white-space: nowrap;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
}
.cin-typeband {
  display: inline-grid;
  text-align: left;
  /* baseline so the descender padding on .cin-type extends BELOW the baseline
     instead of pushing the word up off the white text's line */
  vertical-align: baseline;
}
.cin-typeband > * {
  grid-area: 1 / 1;
}
.cin-typeband__sizer {
  visibility: hidden;
  font-weight: 600;
  letter-spacing: -0.03em;
  /* match .cin-type so the row reserves room for descenders (g, y, p) */
  line-height: 1.15;
  padding-bottom: 0.14em;
}
.cin-typeband__live {
  display: inline-flex;
  align-items: center;
}
.cin-type {
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  padding-bottom: 0.14em;
  background: linear-gradient(92deg, var(--accent-2), var(--accent) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 30px rgba(255, 122, 51, 0.35));
}
.cin-caret {
  width: 3px;
  height: 0.85em;
  margin-left: 6px;
  border-radius: 2px;
  background: var(--accent);
  animation: cin-blink 1s steps(1) infinite;
}
@media (max-width: 820px) {
  .cin-hero__title {
    white-space: normal;
    font-size: clamp(30px, 8.4vw, 44px);
  }
  /* the rotating word gets its own centered line; no width reservation */
  .cin-typeband {
    display: block;
    text-align: center;
  }
  .cin-typeband__sizer {
    display: none;
  }
}
@keyframes cin-blink {
  50% {
    opacity: 0;
  }
}
.cin-hero__pitch {
  max-width: 620px;
  margin: 0 0 34px;
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--muted);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
}
.cin-hero__trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 46px;
}
.cin-chips {
  display: flex;
  gap: 22px;
  font-size: 22px;
  color: var(--ink);
  opacity: 0.8;
}
.cin-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--faint);
  white-space: nowrap;
}
.cin-cue span {
  width: 1px;
  height: 42px;
  background: linear-gradient(var(--accent), transparent);
  animation: cuepulse 1.8s ease-in-out infinite;
  transform-origin: top;
}
@keyframes cuepulse {
  0%,
  100% {
    transform: scaleY(0.3);
    opacity: 0.4;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* --- ACT 2 GLASS PANEL --- */
.cin-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  padding: clamp(28px, 4vw, 60px);
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  box-shadow: 0 50px 120px -50px rgba(0, 0, 0, 0.8);
}
.cin-panel__copy h2 {
  font-size: clamp(28px, 3.6vw, 50px);
  margin: 0 0 18px;
}
.cin-panel__copy p {
  margin: 0 0 26px;
  font-size: clamp(15px, 1.4vw, 18px);
}
.cin-panel__media {
  border-radius: 20px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
}
.cin-panel__media img {
  width: 100%;
  height: clamp(260px, 30vw, 380px);
  object-fit: cover;
}
/* White variant of the panel */
.cin-panel--white {
  background: #fdfaf5;
  border-color: rgba(0, 0, 0, 0.06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.cin-panel--white .cin-panel__copy h2 {
  color: #1d1813;
}
.cin-panel--white .cin-panel__copy p {
  color: #6a5d4f;
}
.cin-panel--white .cin-kicker {
  color: #ef6b2d;
}
/* Bare media - a transparent illustration, no box/crop */
.cin-panel__media--bare {
  background: transparent;
  overflow: visible;
}
.cin-panel__media--bare img {
  height: auto;
  width: 100%;
  max-height: 420px;
  object-fit: contain;
}

/* --- ACT 3 DEVICES + STATS --- */
.cin-devicegrid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.cin-device {
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 30px 10px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--line);
  color: var(--ink);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition:
    transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    background-color 0.3s,
    border-color 0.3s;
}
.cin-device:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 122, 51, 0.5);
  background: rgba(255, 122, 51, 0.1);
}
.cin-device i {
  font-size: 32px;
  color: var(--accent);
}
.cin-device span {
  font-size: 13px;
  font-weight: 500;
}
.cin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.cin-stat {
  text-align: center;
  padding: 26px 12px;
}
.cin-stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1;
  background: linear-gradient(180deg, var(--ink), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cin-stat .cin-stat__word {
  font-size: clamp(24px, 2.7vw, 38px);
  line-height: 1.15;
}
.cin-stat span {
  display: block;
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--faint);
}
.cin-devices__note {
  max-width: 700px;
  margin: 26px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: clamp(14px, 1.25vw, 16px);
}
.cin-devices__note strong {
  color: var(--ink);
  font-weight: 600;
}

/* --- ACT 4 POWERS (header-only cards, solid) --- */
.cin-powers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.cin-powers article {
  padding: 32px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  transition:
    border-color 0.3s,
    background-color 0.3s,
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cin-powers article:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 122, 51, 0.45);
  background: rgba(255, 122, 51, 0.06);
}
.cin-powers__n {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.cin-powers h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  margin: 14px 0 8px;
}
.cin-powers p {
  margin: 0;
  font-size: 14px;
  color: var(--faint);
}

/* --- ACT 5 NUMBERED FEATURES (solid) --- */
.cin-features .cin-head {
  margin-bottom: clamp(40px, 5vw, 80px);
}
.cin-feat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(30px, 5vw, 90px);
  margin-bottom: clamp(40px, 6vw, 90px);
}
.cin-feat:last-child {
  margin-bottom: 0;
}
.cin-feat--rev .cin-feat__media {
  order: 2;
}
.cin-feat__media {
  position: relative;
  display: grid;
  place-items: center;
}
.cin-feat__media img {
  width: 100%;
  height: auto;
  max-height: clamp(300px, 40vw, 460px);
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.45));
}
.cin-feat__copy h3 {
  font-size: clamp(26px, 3.2vw, 46px);
  margin: 0 0 18px;
}
.cin-feat__copy p {
  margin: 0 0 24px;
  font-size: clamp(15px, 1.4vw, 18px);
  max-width: 440px;
}

/* --- ACT 6 USE CASES (sticky rail + stacking cards) --- */
.cin-usecases__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
}
.cin-usecases__rail {
  position: sticky;
  top: 130px;
  align-self: start;
  /* centre the heading against the sticky tile band (matches .cin-uc height)
     so it tracks the tiles' vertical centre while scrolling */
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.cin-usecases__rail h2 {
  font-size: clamp(30px, 3.8vw, 54px);
  margin: 0 0 18px;
}
.cin-usecases__rail p {
  margin: 0 0 26px;
  font-size: clamp(15px, 1.4vw, 18px);
}
.cin-usecases__stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cin-uc {
  position: sticky;
  top: 130px;
  min-height: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background:
    var(--img) center / cover no-repeat,
    #161210;
  box-shadow: 0 40px 90px -45px rgba(0, 0, 0, 0.85);
  border: 1px solid var(--line);
}
.cin-uc::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(8, 5, 4, 0.92),
    rgba(8, 5, 4, 0.15) 65%
  );
}
.cin-uc__body {
  position: relative;
  z-index: 1;
  padding: 30px;
}
.cin-uc__body h3 {
  font-size: clamp(22px, 2.4vw, 32px);
  margin: 0 0 10px;
}
.cin-uc__body p {
  margin: 0;
  max-width: 460px;
  font-size: 14px;
  color: rgba(246, 239, 232, 0.82);
}

/* --- ACT 7 AWARD (LEARNTEC) --- */
.cin-award {
  padding-block: clamp(50px, 7vw, 100px);
}
.cin-award__panel {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 72px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 122, 51, 0.4);
  background:
    radial-gradient(
      120% 90% at 50% -10%,
      rgba(255, 122, 51, 0.22),
      transparent 60%
    ),
    linear-gradient(180deg, rgba(28, 18, 12, 0.72), rgba(12, 8, 6, 0.72));
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow:
    0 60px 140px -60px rgba(255, 122, 51, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
/* radiating light rays behind the badge */
.cin-award__rays {
  position: absolute;
  left: 50%;
  top: clamp(-140px, -7vw, -70px);
  width: 900px;
  max-width: 170%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: repeating-conic-gradient(
    from 0deg,
    rgba(255, 175, 95, 0.17) 0deg 5deg,
    transparent 5deg 15deg
  );
  -webkit-mask: radial-gradient(closest-side, #000, transparent 70%);
  mask: radial-gradient(closest-side, #000, transparent 70%);
  opacity: 0.7;
  pointer-events: none;
  animation: cin-award-spin 70s linear infinite;
}
.cin-award__glow {
  position: absolute;
  left: 50%;
  top: 30px;
  width: 360px;
  height: 360px;
  max-width: 90%;
  transform: translateX(-50%);
  background: radial-gradient(
    closest-side,
    rgba(255, 122, 51, 0.38),
    transparent 70%
  );
  filter: blur(18px);
  pointer-events: none;
}
.cin-award__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cin-award__badge {
  display: grid;
  place-items: center;
  width: clamp(112px, 13vw, 168px);
  height: clamp(112px, 13vw, 168px);
  margin-bottom: 26px;
  border-radius: 50%;
  color: #1c1207;
  background: conic-gradient(
    from 210deg,
    #ffe0b8,
    #ff9d4d,
    #ff7a33,
    #ffbe86,
    #ffe0b8
  );
  box-shadow:
    0 0 0 7px rgba(255, 122, 51, 0.12),
    0 18px 60px rgba(255, 150, 70, 0.5),
    inset 0 2px 8px rgba(255, 255, 255, 0.55);
  font-size: clamp(46px, 6vw, 70px);
}
.cin-award__badge i {
  filter: drop-shadow(0 2px 4px rgba(120, 60, 10, 0.4));
}
.cin-award__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 4px 0 16px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 122, 51, 0.4);
  background: rgba(255, 122, 51, 0.1);
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.cin-award__panel h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5.4vw, 66px);
  line-height: 1.1;
  padding-bottom: 0.06em;
  background: linear-gradient(180deg, #fff, #ffd7b0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cin-award__lead {
  margin: 0 auto;
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.65;
}

/* --- Independent education evidence --- */
.cin-evidence__panel {
  overflow: hidden;
  padding: clamp(30px, 5vw, 72px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(
      75% 90% at 100% 0%,
      rgba(255, 160, 92, 0.2),
      transparent 60%
    ),
    #fdfaf5;
  box-shadow: 0 55px 140px -65px rgba(0, 0, 0, 0.88);
  color: #1d1813;
}
.cin-evidence__top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: end;
  padding-bottom: clamp(36px, 5vw, 64px);
  border-bottom: 1px solid rgba(29, 24, 19, 0.12);
}
.cin-evidence__intro h2 {
  max-width: 720px;
  margin: 0 0 22px;
  color: #1d1813;
  font-size: clamp(34px, 4.8vw, 64px);
}
.cin-evidence__intro > p {
  max-width: 700px;
  margin: 0;
  color: #6a5d4f;
  font-size: clamp(15px, 1.35vw, 18px);
}
.cin-evidence__partner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(29, 24, 19, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
}
.cin-evidence__partner > i {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(239, 107, 45, 0.12);
  color: #ef6b2d;
  font-size: 21px;
}
.cin-evidence__partner span,
.cin-evidence__source span {
  display: block;
  margin-bottom: 6px;
  color: #9b7359;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.cin-evidence__partner strong {
  display: block;
  color: #1d1813;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}
.cin-evidence__partner p {
  margin: 7px 0 0;
  color: #75685b;
  font-size: 13px;
  line-height: 1.5;
}
.cin-evidence__proofs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-block: clamp(30px, 4vw, 52px);
  overflow: hidden;
  border: 1px solid rgba(29, 24, 19, 0.1);
  border-radius: 22px;
  background: rgba(29, 24, 19, 0.1);
}
.cin-evidence__proofs article {
  min-height: 245px;
  padding: clamp(26px, 3vw, 38px);
  background: rgba(255, 255, 255, 0.84);
}
.cin-evidence__proofs article > span {
  color: #ef6b2d;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.cin-evidence__proofs h3 {
  margin: 42px 0 13px;
  color: #1d1813;
  font-size: clamp(21px, 2vw, 27px);
}
.cin-evidence__proofs p {
  margin: 0;
  color: #6a5d4f;
  font-size: 14px;
}
.cin-evidence__source {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) auto;
  gap: 28px;
  align-items: end;
}
.cin-evidence__source p {
  max-width: 730px;
  margin: 0;
  color: #6a5d4f;
  font-size: 13px;
}
.cin-evidence__source cite {
  color: #332a23;
  font-style: normal;
  font-weight: 600;
}
.cin-evidence__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 20px;
}
.cin-evidence__links a {
  color: #b74e20;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}
.cin-evidence__links a:hover {
  color: #7b3013;
}
.cin-evidence__links i {
  margin-left: 6px;
  font-size: 10px;
}
@keyframes cin-award-spin {
  to {
    transform: translateX(-50%) rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .cin-award__rays {
    animation: none;
  }
}
/* --- ACT 8 TRUST + FINALE --- */
.cin-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.cin-trust article {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}
.cin-trust h3 {
  font-size: 17px;
  margin: 0 0 14px;
  font-weight: 500;
}
.cin-trust p {
  margin: 0;
  font-size: 13px;
  color: var(--faint);
}
.cin-finale {
  position: relative;
  min-height: 86vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: 120px;
}
.cin-finale__inner {
  max-width: 760px;
}
.cin-finale h2 {
  font-size: clamp(38px, 6vw, 88px);
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
}
.cin-finale p {
  margin: 0 auto 34px;
  max-width: 520px;
  font-size: clamp(15px, 1.4vw, 18px);
}

/* --- Header / footer for cinema --- */
/* Homepage: fully transparent header until scrolled, then the shared
   .site-header.scrolled treatment applies unchanged. */
.theme-cinema .site-header:not(.scrolled) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.theme-cinema .site-footer {
  border-top-color: var(--line);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  .site-header {
    height: 84px;
  }
  .brand img {
    width: 200px;
  }
  .menu-toggle {
    display: block;
    margin-left: auto;
    cursor: pointer;
  }
  .primary-nav {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    padding: 20px 28px 30px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(11, 8, 7, 0.97);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.5);
  }
  .primary-nav.open {
    display: flex;
  }
  .primary-nav a {
    padding: 12px 0;
  }
  .primary-nav .nav-cta {
    margin-top: 10px;
    text-align: center;
  }
  .lang-switch {
    align-self: flex-start;
    margin-top: 10px;
  }
  .security-grid--access {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1000px) {
  .cin-devicegrid {
    grid-template-columns: repeat(3, 1fr);
  }
  .cin-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .cin-powers {
    grid-template-columns: repeat(2, 1fr);
  }
  .cin-trust {
    grid-template-columns: repeat(2, 1fr);
  }
  .cin-panel,
  .cin-feat,
  .cin-usecases__grid {
    grid-template-columns: 1fr;
  }
  .cin-evidence__top,
  .cin-evidence__source {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .cin-evidence__links {
    justify-content: flex-start;
  }
  .cin-evidence__proofs {
    grid-template-columns: 1fr;
  }
  .cin-evidence__proofs article {
    min-height: 0;
  }
  .cin-feat--rev .cin-feat__media {
    order: 0;
  }
  .cin-usecases__rail {
    position: static;
    min-height: 0;
    justify-content: flex-start;
  }
  .cin-uc {
    position: static;
  }
}

@media (max-width: 800px) {
  .section-shell {
    width: min(100% - 30px, var(--shell));
  }
  .use-case {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .use-case:nth-child(even) img {
    order: -1;
  }
  .use-case img {
    order: -1;
    height: auto;
  }
  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sales-intro,
  .admin-intro {
    grid-template-columns: 1fr;
  }
  .sales-intro > img,
  .admin-intro img {
    height: 420px;
    order: -1;
  }
  .experience-cards {
    grid-template-columns: 1fr;
  }
  .experience-cards article {
    min-height: 0;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .nav-shell {
    width: calc(100% - 30px);
  }
  .brand img {
    width: 180px;
  }
  .button {
    min-width: 190px;
  }
  .cin-devicegrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cin-powers,
  .cin-trust {
    grid-template-columns: 1fr 1fr;
  }
  .security-grid--access {
    grid-template-columns: 1fr;
  }
  .cin-actions {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }
  .cin-actions .cin-btn {
    width: min(300px, 100%);
    justify-content: center;
  }
  .security-grid {
    grid-template-columns: 1fr;
  }
  .experience-cta {
    margin-block: 55px;
    padding-inline: 20px;
  }
  .use-case img {
    height: auto;
  }
  .feat-slide__media img {
    height: auto;
  }
  .table-scroll {
    margin-inline: -6px;
  }
  table {
    min-width: 720px;
  }
  .footer-shell {
    width: calc(100% - 32px);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    padding-inline: 6px;
    gap: 28px;
  }
  .footer-grid > div:first-child {
    grid-column: auto;
  }
  .footer-shell > h2 {
    font-size: 32px;
  }
}

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