/* ==========================================================================
   akozwebtasarim.com.tr — Dark Tech Studio Stylesheet (v3.0)
   Direction: Framer / Linear / Raycast · 60 FPS GPU Motion · High Craft
   ========================================================================== */

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

@font-face {
  font-family: 'HostGroteskFallback';
  src: local('Arial'), local('Helvetica Neue'), local('Segoe UI');
  size-adjust: 101%;
  ascent-override: 95%;
  descent-override: 24%;
  line-gap-override: 0%;
  font-display: swap;
}

html {
  font-size: 16px;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 24px);
  background-color: var(--surface-canvas);
}

@media (pointer: fine) {
  html {
    overscroll-behavior: none;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--surface-canvas);
  color: var(--ink-primary);
  font-family: var(--p-font-sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  -webkit-tap-highlight-color: rgba(59, 130, 246, 0.22);
}

::selection {
  background-color: rgba(59, 130, 246, 0.32);
  color: var(--p-ink-50);
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  color: var(--ink-primary);
  text-wrap: balance;
}

p, blockquote, figure, ul, ol, dl, pre {
  margin: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  touch-action: manipulation;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

[hidden], .is-hidden, .hidden {
  display: none !important;
}

/* ==========================================================================
   Accessibility: Skip Link, Screen Reader & Focus Visible
   ========================================================================== */
.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: -120px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--btn-radius);
  background: var(--cta-primary-bg);
  color: var(--cta-primary-fg);
  font-size: var(--p-text-sm);
  font-weight: 600;
  transition: top var(--p-dur-fast) var(--p-ease-out);
}

.skip-link:focus-visible {
  top: 16px;
  outline: none;
  box-shadow: var(--focus-ring);
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.st-surface-dark :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  box-shadow: var(--focus-ring-dark);
}

/* ==========================================================================
   Modern Tech Typography (Host Grotesk Display + Plus Jakarta UI + Mono)
   ========================================================================== */
.st-display,
.st-h1,
.st-h2 {
  font-family: var(--p-font-display);
  font-weight: 700;
  letter-spacing: -0.032em;
  line-height: 1.08;
  color: var(--ink-primary);
}

.st-display em,
.st-h1 em,
.st-h2 em {
  font-style: normal;
  color: var(--accent-text);
}

.st-display-xl,
.st-h1 {
  font-size: clamp(2.25rem, 4.8vw, 3.85rem);
  line-height: 1.04;
  letter-spacing: -0.038em;
}

.st-display-lg,
.st-h2 {
  font-size: clamp(1.75rem, 3.1vw, 2.65rem);
  line-height: 1.1;
  letter-spacing: -0.032em;
}

.st-display-md {
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1.18;
  letter-spacing: -0.024em;
}

.st-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--p-font-mono);
  font-size: var(--p-text-2xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.st-eyebrow-accent {
  color: var(--accent-cyan-text);
}

.st-eyebrow::before {
  content: '';
  width: 14px;
  height: 1px;
  background-color: var(--accent-primary);
  flex-shrink: 0;
}

.st-mono {
  font-family: var(--p-font-mono);
  font-variant-numeric: tabular-nums;
}

.st-num {
  font-variant-numeric: tabular-nums;
}

.st-lead {
  font-size: clamp(0.98rem, 1.25vw, 1.1rem);
  line-height: 1.66;
  color: var(--ink-secondary);
  text-wrap: pretty;
}

.st-muted {
  color: var(--ink-muted);
}

.st-secondary {
  color: var(--ink-secondary);
}

/* ==========================================================================
   60 FPS GPU Scroll Reveal & Staggered Entrance (No-JS & Reduced-Motion Safe)
   ========================================================================== */
.st-motion-ready [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.988);
  transition: opacity 520ms var(--p-ease-out), transform 560ms var(--p-ease-out);
  transition-delay: calc(var(--stagger-i, 0) * 55ms);
  will-change: opacity, transform;
}

.st-motion-ready [data-reveal].is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  will-change: auto;
}

/* ==========================================================================
   60 FPS Mouse-Tracking Radial Spotlight (Raycast / Linear Signature)
   ========================================================================== */
.st-card,
.st-index-item,
.st-choice-card,
.st-stage-shell,
.st-telemetry-card,
.st-summary-dark {
  position: relative;
  isolation: isolate;
}

.st-card::before,
.st-index-item::before,
.st-choice-card::before,
.st-stage-shell::before,
.st-telemetry-card::before,
.st-summary-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    420px circle at var(--mx, -400px) var(--my, -400px),
    var(--spotlight-surface),
    transparent 68%
  );
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition: opacity 280ms var(--p-ease-out);
}

.st-card::after,
.st-choice-card::after,
.st-stage-shell::after,
.st-telemetry-card::after,
.st-summary-dark::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(
    260px circle at var(--mx, -400px) var(--my, -400px),
    var(--spotlight-border),
    rgba(6, 182, 212, 0.16) 36%,
    transparent 70%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  transition: opacity 260ms var(--p-ease-out);
}

.st-card.is-spotlit::before,
.st-index-item.is-spotlit::before,
.st-choice-card.is-spotlit::before,
.st-stage-shell.is-spotlit::before,
.st-telemetry-card.is-spotlit::before,
.st-summary-dark.is-spotlit::before,
.st-card.is-spotlit::after,
.st-choice-card.is-spotlit::after,
.st-stage-shell.is-spotlit::after,
.st-telemetry-card.is-spotlit::after,
.st-summary-dark.is-spotlit::after {
  opacity: 1;
}

.st-card > *,
.st-index-item > *,
.st-choice-card > *,
.st-stage-shell > *,
.st-telemetry-card > *,
.st-summary-dark > * {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Layout Containers & Architectural Sections
   ========================================================================== */
.st-main {
  flex: 1 0 auto;
}

.st-container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3.2vw, 2rem);
}

.st-container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3.2vw, 2rem);
}

.st-section {
  padding-block: clamp(3.5rem, 6.5vw, 5.75rem);
  border-top: 1px solid var(--border-hairline);
  scroll-margin-top: calc(var(--nav-height) + 16px);
}

.st-section-tight {
  padding-block: clamp(2.5rem, 4.5vw, 3.75rem);
  border-top: 1px solid var(--border-hairline);
  scroll-margin-top: calc(var(--nav-height) + 16px);
}

.st-section-noborder {
  border-top: 0;
}

.st-section-warm {
  background-color: var(--surface-warm);
}

.st-section-subtle {
  background-color: var(--surface-warm);
}

.st-section-head {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
}

@media (min-width: 900px) {
  .st-section-head-split {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.st-divider {
  height: 1px;
  background: var(--border-hairline);
  border: 0;
  margin: 0;
}

/* Responsive Grids */
.st-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
}

.st-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
}

.st-grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 680px) {
  .st-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .st-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .st-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ==========================================================================
   Buttons & Spring Micro-Interactions
   ========================================================================== */
.st-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.65rem 1.25rem;
  border-radius: var(--btn-radius);
  font-size: var(--p-text-sm);
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color var(--p-dur-fast) var(--p-ease-out),
              border-color var(--p-dur-fast) var(--p-ease-out),
              color var(--p-dur-fast) var(--p-ease-out),
              box-shadow var(--p-dur-base) var(--p-ease-out),
              transform 220ms var(--p-ease-spring);
}

.st-btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.st-btn:active:not(:disabled) {
  transform: translateY(0) scale(0.985);
}

.st-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.st-btn-primary {
  background-color: var(--cta-primary-bg);
  color: var(--cta-primary-fg);
  border-color: var(--cta-primary-bg);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.st-btn-primary:hover:not(:disabled) {
  background-color: var(--cta-primary-hover);
  border-color: var(--cta-primary-hover);
  box-shadow: 0 8px 20px -10px rgba(248, 250, 252, 0.35);
}

.st-btn-accent {
  background-color: var(--accent-primary);
  color: var(--p-white);
  border-color: rgba(96, 165, 250, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 6px 18px -10px rgba(59, 130, 246, 0.65);
}

.st-btn-accent:hover:not(:disabled) {
  background-color: var(--accent-primary-hover);
  border-color: rgba(147, 197, 253, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 10px 24px -10px rgba(59, 130, 246, 0.72);
}

.st-btn-secondary {
  background-color: var(--surface-panel);
  color: var(--ink-primary);
  border-color: var(--border-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.st-btn-secondary:hover:not(:disabled) {
  background-color: var(--p-space-800);
  border-color: var(--border-hover);
}

.st-btn-ghost {
  background-color: transparent;
  color: var(--ink-secondary);
  border-color: transparent;
}

.st-btn-ghost:hover:not(:disabled) {
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--ink-primary);
}

.st-btn-dark-invert {
  background-color: var(--cta-primary-bg);
  color: var(--cta-primary-fg);
  border-color: var(--cta-primary-bg);
}

.st-btn-dark-invert:hover:not(:disabled) {
  background-color: var(--cta-primary-hover);
}

.st-btn-dark-outline {
  background-color: rgba(255, 255, 255, 0.03);
  color: var(--ink-primary);
  border-color: var(--border-strong);
}

.st-btn-dark-outline:hover:not(:disabled) {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
}

.st-btn-sm {
  min-height: 36px;
  padding: 0.45rem 0.85rem;
  font-size: var(--p-text-xs);
}

.st-btn-lg {
  min-height: 50px;
  padding: 0.85rem 1.6rem;
  font-size: 0.9375rem;
}

.st-btn-icon {
  min-height: 40px;
  width: 40px;
  padding: 0;
}

.st-btn-full {
  width: 100%;
}

.st-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--p-text-sm);
  font-weight: 600;
  color: var(--ink-primary);
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 2px;
  transition: color var(--p-dur-fast) ease, border-color var(--p-dur-fast) ease;
}

.st-link:hover {
  color: var(--accent-text);
  border-color: var(--accent-text);
}

/* Badges & Technical Tags */
.st-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.24rem 0.6rem;
  border-radius: var(--p-radius-xs);
  font-family: var(--p-font-mono);
  font-size: var(--p-text-2xs);
  font-weight: 500;
  letter-spacing: 0.02em;
  background-color: var(--surface-panel);
  color: var(--ink-secondary);
  border: 1px solid var(--border-hairline);
}

.st-tag-verified {
  background-color: var(--status-verified-bg);
  color: var(--status-verified);
  border-color: var(--status-verified-border);
}

.st-tag-accent {
  background-color: var(--accent-soft-bg);
  color: var(--accent-text);
  border-color: var(--accent-soft-border);
}

.st-tag-cyan {
  background-color: var(--cyan-soft-bg);
  color: var(--accent-cyan-text);
  border-color: var(--cyan-soft-border);
}

.st-tag-warn {
  background-color: var(--status-warn-bg);
  color: var(--status-warn);
  border-color: var(--status-warn-border);
}

.st-tag-danger {
  background-color: var(--status-danger-bg);
  color: var(--status-danger);
  border-color: var(--status-danger-border);
}

/* ==========================================================================
   Promo Bar, Translucent Sticky Header & Mobile Drawer
   ========================================================================== */
.st-promo-bar {
  background-color: var(--surface-elevated);
  color: var(--ink-secondary);
  font-size: var(--p-text-xs);
  border-bottom: 1px solid var(--border-hairline);
  position: relative;
  z-index: 60;
}

.st-promo-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.85rem;
  padding: 0.55rem 2.75rem 0.55rem 1rem;
  text-align: center;
}

.st-promo-code {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.18rem 0.55rem;
  border-radius: var(--p-radius-xs);
  background-color: var(--accent-soft-bg);
  border: 1px solid var(--accent-soft-border);
  color: var(--accent-text);
  font-family: var(--p-font-mono);
  font-size: var(--p-text-2xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: background-color var(--p-dur-fast) ease, border-color var(--p-dur-fast) ease;
}

.st-promo-code:hover {
  background-color: rgba(59, 130, 246, 0.22);
  border-color: var(--accent-primary);
}

.st-promo-close {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  border-radius: var(--p-radius-xs);
  transition: color var(--p-dur-fast) ease, background-color var(--p-dur-fast) ease;
}

.st-promo-close:hover {
  color: var(--ink-primary);
  background-color: rgba(255, 255, 255, 0.06);
}

.st-header {
  position: sticky;
  top: 0;
  z-index: var(--p-z-nav);
  background-color: rgba(8, 8, 10, 0.78);
  border-bottom: 1px solid var(--border-hairline);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.st-header-inner {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.st-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  flex-shrink: 0;
  line-height: 1;
  text-decoration: none;
  user-select: none;
}

.st-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 0.62rem 0 0.48rem;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.085) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--ink-primary);
  font-family: var(--p-font-display);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.03em;
  white-space: nowrap;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: border-color var(--p-dur-fast) ease, box-shadow var(--p-dur-fast) ease, background-color var(--p-dur-fast) ease;
}

.st-brand-mark::after {
  content: '';
  position: absolute;
  right: 3.5px;
  bottom: 3.5px;
  width: 3.5px;
  height: 3.5px;
  border-radius: 999px;
  background-color: var(--accent-cyan);
  box-shadow: 0 0 6px var(--accent-cyan);
}

.st-brand-name {
  display: inline-flex;
  align-items: center;
  font-family: var(--p-font-display);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.025em;
  color: rgba(248, 250, 252, 0.88);
  white-space: nowrap;
  transition: color var(--p-dur-fast) ease;
}

.st-brand:hover .st-brand-mark {
  border-color: rgba(59, 130, 246, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 0 14px -4px rgba(59, 130, 246, 0.45);
}

.st-brand:hover .st-brand-name {
  color: var(--ink-primary);
}

.st-brand-dot {
  color: var(--accent-primary);
}

.st-nav {
  display: none;
  align-items: center;
  gap: 1.05rem;
}

@media (min-width: 1240px) {
  .st-nav {
    display: flex;
  }
}

@media (min-width: 1380px) {
  .st-nav {
    gap: 1.35rem;
  }
}

.st-nav-link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-secondary);
  padding-block: 0.35rem;
  white-space: nowrap;
  position: relative;
  transition: color var(--p-dur-fast) ease;
}

.st-nav-link:hover,
.st-nav-link[aria-current="page"] {
  color: var(--ink-primary);
}

.st-nav-link[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1.5px;
  background-color: var(--accent-primary);
}

.st-nav-link-partner {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.65rem;
  border-radius: var(--p-radius-pill);
  background-color: var(--cyan-soft-bg);
  border: 1px solid var(--cyan-soft-border);
  color: var(--accent-cyan-text);
  font-weight: 600;
  transition: background-color var(--p-dur-fast) ease, border-color var(--p-dur-fast) ease, color var(--p-dur-fast) ease;
}

.st-nav-link-partner::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--accent-cyan-text);
  flex-shrink: 0;
}

.st-nav-link-partner:hover,
.st-nav-link-partner[aria-current="page"] {
  background-color: rgba(6, 182, 212, 0.18);
  border-color: var(--accent-cyan);
  color: var(--p-ink-50);
}

.st-nav-link-partner[aria-current="page"]::after {
  display: none;
}

.st-mobile-nav-partner {
  color: var(--accent-cyan-text);
  background-color: var(--cyan-soft-bg);
  border: 1px solid var(--cyan-soft-border);
  font-weight: 600;
}

.st-mobile-nav-partner:hover {
  background-color: rgba(6, 182, 212, 0.18);
  color: var(--p-ink-50);
}

.st-footer-links a.st-footer-link-partner {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--accent-cyan-text);
  font-weight: 600;
}

.st-footer-links a.st-footer-link-partner::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-cyan-text);
  flex-shrink: 0;
}

.st-footer-links a.st-footer-link-partner:hover {
  color: var(--p-cyan-300);
}

.st-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.st-lang-switch {
  display: none;
  align-items: center;
  border: 1px solid var(--border-hairline);
  border-radius: var(--btn-radius);
  background: var(--surface-elevated);
  padding: 2px;
  font-family: var(--p-font-mono);
  font-size: var(--p-text-2xs);
  font-weight: 500;
}

@media (min-width: 640px) {
  .st-lang-switch {
    display: inline-flex;
  }
}

.st-lang-switch a {
  padding: 0.28rem 0.52rem;
  border-radius: 5px;
  color: var(--ink-muted);
  transition: background-color var(--p-dur-fast) ease, color var(--p-dur-fast) ease;
}

.st-lang-switch a:hover {
  color: var(--ink-primary);
}

.st-lang-switch a[aria-current="true"] {
  background-color: var(--surface-panel);
  color: var(--ink-primary);
  box-shadow: inset 0 0 0 1px var(--border-strong);
}

.st-cart-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 38px;
  padding: 0 0.75rem;
  border-radius: var(--btn-radius);
  border: 1px solid var(--border-hairline);
  background: var(--surface-elevated);
  font-size: var(--p-text-xs);
  font-weight: 600;
  color: var(--ink-primary);
  transition: border-color var(--p-dur-fast) ease, background-color var(--p-dur-fast) ease;
}

.st-cart-trigger:hover {
  border-color: var(--border-hover);
  background: var(--surface-panel);
}

.st-cart-count {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent-primary);
  color: var(--p-white);
  font-family: var(--p-font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.st-nav-portal-btn {
  display: none;
}

@media (min-width: 640px) {
  .st-nav-portal-btn {
    display: inline-flex;
  }
}

.st-nav-cmd-btn {
  display: none;
}

@media (min-width: 1240px) {
  .st-nav-cmd-btn {
    display: inline-flex;
  }
}

.st-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--btn-radius);
  border: 1px solid var(--border-hairline);
  background: var(--surface-elevated);
  color: var(--ink-primary);
}

@media (min-width: 1240px) {
  .st-menu-toggle {
    display: none;
  }
}

/* Mobile Drawer & Cart Drawer */
.st-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--p-z-drawer);
  background-color: var(--modal-scrim);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--p-dur-base) var(--p-ease-out), visibility var(--p-dur-base) ease;
}

.st-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.st-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(90vw, 420px);
  background-color: var(--surface-canvas);
  border-left: 1px solid var(--border-strong);
  box-shadow: var(--drawer-shadow);
  display: flex;
  flex-direction: column;
  transform: translate3d(100%, 0, 0);
  transition: transform var(--p-dur-slow) var(--p-ease-out);
  overscroll-behavior: contain;
}

.st-overlay.is-open .st-drawer {
  transform: translate3d(0, 0, 0);
}

.st-drawer-head {
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--border-hairline);
  background: var(--surface-elevated);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.st-drawer-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 1.15rem 1.25rem;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
}

.st-drawer-body > * {
  flex-shrink: 0;
}

.st-drawer-body::-webkit-scrollbar,
.st-drawer-foot::-webkit-scrollbar {
  width: 6px;
}

.st-drawer-body::-webkit-scrollbar-thumb,
.st-drawer-foot::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.st-drawer-foot {
  flex-shrink: 0;
  max-height: 76dvh;
  overflow-y: auto;
  padding: 1.1rem 1.25rem;
  border-top: 1px solid var(--border-hairline);
  background: var(--surface-elevated);
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
}

/* Cart Drawer Items & Collapsible Add-Ons */
.st-cart-item {
  flex-shrink: 0;
  padding: 1rem 1.05rem;
  border-radius: var(--card-radius);
  background: var(--surface-elevated);
  border: 1px solid var(--border-hairline);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.st-cart-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.st-cart-remove {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  border: 1px solid transparent;
  transition: color var(--p-dur-fast) ease, background-color var(--p-dur-fast) ease, border-color var(--p-dur-fast) ease;
}

.st-cart-remove:hover {
  color: var(--status-danger);
  background: var(--status-danger-bg);
  border-color: var(--status-danger-border);
}

.st-cart-addons {
  flex-shrink: 0;
  border-radius: var(--card-radius);
  border: 1px solid var(--border-hairline);
  background: var(--surface-elevated);
  overflow: hidden;
}

.st-cart-addons summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  cursor: pointer;
  user-select: none;
  transition: background-color var(--p-dur-fast) ease;
}

.st-cart-addons summary::-webkit-details-marker {
  display: none;
}

.st-cart-addons summary:hover {
  background: rgba(255, 255, 255, 0.03);
}

.st-cart-addons-chev {
  font-size: 0.7rem;
  color: var(--ink-muted);
  transition: transform 220ms var(--p-ease-out), color var(--p-dur-fast) ease;
}

.st-cart-addons[open] .st-cart-addons-chev {
  transform: rotate(180deg);
  color: var(--ink-primary);
}

.st-cart-addons-list {
  padding: 0.65rem 0.75rem 0.85rem;
  border-top: 1px solid var(--border-hairline);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.st-cart-addons-list > * {
  flex-shrink: 0;
}

.st-cart-addon-row {
  flex-shrink: 0;
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.7rem 0.8rem;
  border-radius: var(--btn-radius);
  border: 1px solid var(--border-hairline);
  background: var(--surface-canvas);
  text-align: left;
  overflow-wrap: break-word;
  transition: border-color var(--p-dur-fast) ease, background-color var(--p-dur-fast) ease;
}

.st-cart-addon-row:hover {
  border-color: var(--border-hover);
  background: var(--surface-panel);
}

.st-cart-addon-row.is-active {
  border-color: var(--accent-soft-border);
  background: var(--accent-soft-bg);
}

.st-cart-addon-check {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border-radius: 4px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--p-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
  transition: background-color var(--p-dur-fast) ease, border-color var(--p-dur-fast) ease;
}

.st-cart-addon-row.is-active .st-cart-addon-check {
  border-color: var(--accent-primary);
  background: var(--accent-primary);
}

/* Scrollable Collapsible Add-Ons (Product Sidebar & Order Modal — Mobile Safe) */
.st-cart-addons-scroll {
  max-height: min(320px, 50dvh);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
}

.st-cart-addons-scroll::-webkit-scrollbar {
  width: 6px;
}

.st-cart-addons-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.st-addon-label {
  flex-shrink: 0;
  height: auto;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  min-height: 44px;
  padding: 0.72rem 0.82rem;
  border-radius: var(--btn-radius);
  border: 1px solid var(--border-hairline);
  background: var(--surface-canvas);
  overflow-wrap: break-word;
  cursor: pointer;
  transition: border-color var(--p-dur-fast) ease, background-color var(--p-dur-fast) ease;
}

.st-addon-label:hover {
  border-color: var(--border-hover);
  background: var(--surface-panel);
}

.st-addon-label.is-active {
  border-color: var(--accent-soft-border);
  background: var(--accent-soft-bg);
}

.st-addon-label > span:first-child {
  align-items: flex-start !important;
  flex: 1 1 auto;
  min-width: 0;
}

.st-addon-label input[type="checkbox"] {
  accent-color: var(--accent-primary);
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  flex-shrink: 0;
}

.st-addon-label > .st-mono {
  padding-top: 1px;
  white-space: nowrap;
}

@media (max-width: 639px) {
  .st-cart-addons-list {
    padding: 0.6rem 0.65rem 0.8rem;
  }
  .st-addon-label,
  .st-cart-addon-row {
    padding: 0.7rem 0.72rem;
    gap: 0.5rem;
  }
}

.st-mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.st-mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.78rem 0.9rem;
  border-radius: var(--btn-radius);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-secondary);
  transition: background-color var(--p-dur-fast) ease, color var(--p-dur-fast) ease;
}

.st-mobile-nav-link:hover,
.st-mobile-nav-link[aria-current="page"] {
  background-color: var(--surface-panel);
  color: var(--ink-primary);
}

/* ==========================================================================
   Dark 4-Column Engineering Studio Footer
   ========================================================================== */
.st-footer {
  margin-top: auto;
  background-color: var(--surface-warm);
  color: var(--ink-primary);
  border-top: 1px solid var(--border-hairline);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.st-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  padding-block: clamp(3rem, 5vw, 4.25rem);
}

@media (min-width: 768px) {
  .st-footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2rem;
  }
}

.st-footer-heading {
  font-family: var(--p-font-mono);
  font-size: var(--p-text-2xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1rem;
}

.st-footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: var(--p-text-sm);
}

.st-footer-links a {
  color: var(--ink-secondary);
  transition: color var(--p-dur-fast) ease;
}

.st-footer-links a:hover {
  color: var(--ink-primary);
}

.st-footer-bottom {
  border-top: 1px solid var(--border-hairline);
  padding-block: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: var(--p-text-xs);
  color: var(--ink-muted);
}

@media (min-width: 768px) {
  .st-footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.st-footer-socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.st-footer-socials a {
  width: 34px;
  height: 34px;
  border-radius: var(--btn-radius);
  border: 1px solid var(--border-hairline);
  background: var(--surface-elevated);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-secondary);
  transition: border-color var(--p-dur-fast) ease, background-color var(--p-dur-fast) ease, color var(--p-dur-fast) ease;
}

.st-footer-socials a:hover {
  border-color: var(--border-hover);
  background-color: var(--surface-panel);
  color: var(--ink-primary);
}

/* ==========================================================================
   Hero & Interactive Live Software Showcase Stage (Framer / Linear Inspired)
   ========================================================================== */
.st-hero {
  position: relative;
  padding-block: clamp(3rem, 5.8vw, 5.25rem) clamp(3.5rem, 6.2vw, 5.5rem);
  overflow: hidden;
}

/* Subtle architectural precision grid (Zero neon blur blobs) */
.st-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 0%, #000 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 0%, #000 20%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

/* Restrained single top horizon ambient reflection */
.st-hero::after {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: min(920px, 100vw);
  height: 280px;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.12), rgba(6, 182, 212, 0.05) 45%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.st-hero > .st-container {
  position: relative;
  z-index: 1;
}

.st-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3.25rem);
  align-items: start;
}

@media (min-width: 1024px) {
  .st-hero-grid {
    grid-template-columns: minmax(0, 6.2fr) minmax(0, 5.8fr);
    align-items: center;
  }
}

.st-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.st-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-hairline);
}

.st-proof-val {
  font-family: var(--p-font-display);
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink-primary);
  font-variant-numeric: tabular-nums;
}

.st-proof-lbl {
  font-size: var(--p-text-xs);
  color: var(--ink-muted);
  margin-top: 0.35rem;
  line-height: 1.38;
}

/* System Architecture & Performance Telemetry Card (Hero Right Column — UI/UX Pro Max) */
.st-telemetry-card {
  background:
    radial-gradient(85% 60% at 100% 0%, rgba(59, 130, 246, 0.11), transparent 65%),
    radial-gradient(70% 55% at 0% 100%, rgba(6, 182, 212, 0.07), transparent 65%),
    linear-gradient(180deg, rgba(24, 24, 30, 0.92) 0%, rgba(17, 17, 21, 0.98) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--p-radius-lg);
  overflow: hidden;
  box-shadow:
    0 32px 72px -28px rgba(0, 0, 0, 0.88),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.st-tel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 1.05rem 1.35rem;
  border-bottom: 1px solid var(--border-hairline);
  background: rgba(255, 255, 255, 0.015);
}

.st-tel-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--p-font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-secondary);
}

.st-tel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--status-verified);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.65);
  flex-shrink: 0;
}

.st-tel-stack {
  font-family: var(--p-font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--accent-cyan-text);
  padding: 0.22rem 0.6rem;
  border-radius: var(--p-radius-pill);
  background: var(--cyan-soft-bg);
  border: 1px solid var(--cyan-soft-border);
  white-space: nowrap;
}

.st-tel-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--border-hairline);
}

.st-tel-kpi {
  padding: 1.25rem 1.35rem;
  min-width: 0;
}

.st-tel-kpi + .st-tel-kpi {
  border-left: 1px solid var(--border-hairline);
}

.st-tel-kpi-label {
  font-family: var(--p-font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  line-height: 1.35;
}

.st-tel-kpi-val {
  font-family: var(--p-font-display);
  font-size: clamp(1.65rem, 2.5vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink-primary);
  font-variant-numeric: tabular-nums;
  margin-top: 0.4rem;
}

.st-tel-kpi-val-ok {
  color: var(--status-verified);
}

.st-tel-kpi-unit {
  font-family: var(--p-font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-muted);
  margin-left: 2px;
}

.st-tel-kpi-sub {
  font-size: 0.76rem;
  color: var(--ink-secondary);
  margin-top: 0.35rem;
  line-height: 1.38;
}

.st-tel-bar {
  height: 3px;
  width: 100%;
  border-radius: var(--p-radius-pill);
  background: rgba(255, 255, 255, 0.07);
  margin-top: 0.8rem;
  overflow: hidden;
}

.st-tel-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-cyan-text));
}

.st-tel-bar-ok span {
  background: linear-gradient(90deg, var(--status-verified-solid), var(--status-verified));
}

.st-tel-list {
  display: flex;
  flex-direction: column;
}

.st-tel-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1.35rem;
  border-bottom: 1px solid var(--border-hairline);
  transition: background-color var(--p-dur-fast) var(--p-ease-out);
}

.st-tel-row:last-child {
  border-bottom: none;
}

.st-tel-row:hover {
  background: rgba(255, 255, 255, 0.025);
}

.st-tel-ic {
  width: 34px;
  height: 34px;
  border-radius: var(--p-radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  flex-shrink: 0;
  border: 1px solid var(--border-hairline);
  background: var(--surface-panel);
}

.st-tel-ic-blue {
  color: var(--accent-text);
  background: var(--accent-soft-bg);
  border-color: var(--accent-soft-border);
}

.st-tel-ic-cyan {
  color: var(--accent-cyan-text);
  background: var(--cyan-soft-bg);
  border-color: var(--cyan-soft-border);
}

.st-tel-ic-ok {
  color: var(--status-verified);
  background: var(--status-verified-bg);
  border-color: var(--status-verified-border);
}

.st-tel-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.st-tel-title {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-primary);
  line-height: 1.32;
}

.st-tel-desc {
  font-size: 0.75rem;
  color: var(--ink-secondary);
  line-height: 1.4;
  margin-top: 0.15rem;
}

.st-tel-val {
  font-family: var(--p-font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  padding: 0.24rem 0.58rem;
  border-radius: var(--p-radius-xs);
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid var(--border-hairline);
  background: var(--surface-panel);
  color: var(--ink-primary);
}

.st-tel-val-blue {
  color: var(--accent-text);
  border-color: var(--accent-soft-border);
  background: var(--accent-soft-bg);
}

.st-tel-val-cyan {
  color: var(--accent-cyan-text);
  border-color: var(--cyan-soft-border);
  background: var(--cyan-soft-bg);
}

.st-tel-val-ok {
  color: var(--status-verified);
  border-color: var(--status-verified-border);
  background: var(--status-verified-bg);
}

.st-tel-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.9rem 1.35rem;
  border-top: 1px solid var(--border-hairline);
  background: rgba(255, 255, 255, 0.015);
}

.st-tel-meta {
  font-family: var(--p-font-mono);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink-muted);
}

.st-tel-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-primary);
  transition: color var(--p-dur-fast) var(--p-ease-out);
  white-space: nowrap;
}

.st-tel-link i {
  font-size: 0.7rem;
  color: var(--accent-cyan-text);
  transition: transform var(--p-dur-fast) var(--p-ease-out);
}

.st-tel-link:hover {
  color: var(--accent-cyan-text);
}

.st-tel-link:hover i {
  transform: translateX(3px);
}

@media (max-width: 520px) {
  .st-tel-head,
  .st-tel-kpi,
  .st-tel-row,
  .st-tel-foot {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .st-tel-kpis {
    grid-template-columns: 1fr;
  }

  .st-tel-kpi + .st-tel-kpi {
    border-left: none;
    border-top: 1px solid var(--border-hairline);
  }

  .st-tel-row {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .st-tel-val {
    margin-left: auto;
  }
}

/* Interactive Hero Product Showcase Stage */
.st-stage-shell {
  background: var(--surface-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--p-radius-lg);
  overflow: hidden;
  box-shadow: 0 28px 64px -26px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.st-stage-topbar {
  padding: 0.75rem 1rem;
  background: var(--surface-panel);
  border-bottom: 1px solid var(--border-hairline);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.st-stage-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.st-stage-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.st-stage-dots span:first-child { background: rgba(251, 113, 133, 0.55); }
.st-stage-dots span:nth-child(2) { background: rgba(251, 191, 36, 0.55); }
.st-stage-dots span:nth-child(3) { background: rgba(52, 211, 153, 0.55); }

.st-stage-tabs-wrap {
  position: relative;
  padding: 0.55rem 0.75rem;
  background: rgba(8, 8, 10, 0.62);
  border-bottom: 1px solid var(--border-hairline);
}

.st-stage-tabs-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 36px;
  background: linear-gradient(90deg, transparent, rgba(8, 8, 10, 0.92));
  pointer-events: none;
  z-index: 2;
}

.st-stage-tabs {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  padding-right: 1.5rem;
}

.st-stage-tabs::-webkit-scrollbar {
  display: none;
}

.st-stage-tab {
  position: relative;
  flex: 0 0 auto;
  min-height: 30px;
  padding: 0.3rem 0.72rem;
  border-radius: 6px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  transition: color var(--p-dur-fast) ease,
              background-color var(--p-dur-fast) ease,
              border-color var(--p-dur-fast) ease;
}

.st-stage-tab:hover {
  color: var(--ink-primary);
  background: rgba(255, 255, 255, 0.04);
}

.st-stage-tab.is-active {
  color: var(--ink-primary);
  background: var(--surface-panel);
  border-color: rgba(59, 130, 246, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.st-stage-tab-num {
  font-family: var(--p-font-mono);
  font-size: 0.62rem;
  color: var(--ink-muted);
  opacity: 0.75;
}

.st-stage-tab.is-active .st-stage-tab-num {
  color: var(--accent-cyan-text);
  opacity: 1;
}

.st-stage-progress {
  height: 2px;
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.st-stage-progress-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-cyan));
  transform-origin: left center;
  transform: scaleX(0);
  will-change: transform;
}

.st-stage-nav-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--border-hairline);
  background: var(--surface-elevated);
  color: var(--ink-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  transition: background-color var(--p-dur-fast) ease, border-color var(--p-dur-fast) ease, color var(--p-dur-fast) ease;
}

.st-stage-nav-btn:hover {
  background: var(--p-space-800);
  border-color: var(--border-hover);
  color: var(--ink-primary);
}

.st-stage-plate-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 8, 10, 0.74);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ink-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  opacity: 0;
  transition: opacity var(--p-dur-fast) ease, background-color var(--p-dur-fast) ease, border-color var(--p-dur-fast) ease;
  z-index: 3;
}

.st-stage-plate:hover .st-stage-plate-nav,
.st-stage-plate-nav:focus-visible {
  opacity: 1;
}

.st-stage-plate-nav:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
}

.st-stage-plate-prev { left: 0.65rem; }
.st-stage-plate-next { right: 0.65rem; }

.st-stage-desc {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--ink-secondary);
  margin-bottom: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.55rem;
}

.st-stage-viewport {
  padding: 1.05rem;
  background: linear-gradient(180deg, rgba(24, 24, 30, 0.35) 0%, rgba(17, 17, 21, 0.9) 100%);
}

@keyframes stStageIn {
  from {
    opacity: 0;
    transform: translate3d(0, 10px, 0) scale(0.992);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.st-stage-panel.is-active {
  animation: stStageIn 340ms var(--p-ease-out) both;
}

.st-stage-plate {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--p-radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-hairline);
  background: #0b0d14;
  margin-bottom: 1rem;
}

.st-stage-plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms var(--p-ease-out);
}

.st-stage-shell:hover .st-stage-plate img {
  transform: scale(1.02);
}

.st-stage-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.st-stage-metric {
  padding: 0.6rem 0.7rem;
  border-radius: var(--p-radius-sm);
  background: var(--surface-canvas);
  border: 1px solid var(--border-hairline);
}

.st-stage-metric-k {
  font-family: var(--p-font-mono);
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}

.st-stage-metric-v {
  font-family: var(--p-font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-primary);
  margin-top: 0.2rem;
}

.st-stage-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-hairline);
}

/* Ownership Specimen Table (Retained & Styled for Dark Tech Theme) */
.st-specimen {
  background: var(--surface-elevated);
  border: 1px solid var(--border-hairline);
  border-radius: var(--card-radius);
  overflow: hidden;
}

.st-specimen-head {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--border-hairline);
  background: var(--surface-panel);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.st-specimen-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--p-text-xs);
}

.st-specimen-table th,
.st-specimen-table td {
  padding: 0.85rem 1.15rem;
  text-align: left;
  border-bottom: 1px solid var(--border-hairline);
  vertical-align: middle;
}

.st-specimen-table th {
  font-family: var(--p-font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  background: rgba(255, 255, 255, 0.02);
}

.st-specimen-table tbody tr:last-child td {
  border-bottom: 0;
}

.st-specimen-col-own {
  font-weight: 600;
  color: var(--status-verified);
  background: rgba(16, 185, 129, 0.05);
}

.st-specimen-foot {
  padding: 0.85rem 1.25rem;
  border-top: 1px solid var(--border-hairline);
  background: var(--surface-panel);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: var(--p-text-xs);
}

/* ==========================================================================
   Filter Bar & Product Showcase Cards (Spotlight Hover + Clean Plates)
   ========================================================================== */
.st-filter-bar {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

@media (min-width: 900px) {
  .st-filter-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.st-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.st-filter-pill {
  min-height: 36px;
  padding: 0.4rem 0.9rem;
  border-radius: var(--btn-radius);
  border: 1px solid var(--border-hairline);
  background: var(--surface-elevated);
  color: var(--ink-secondary);
  font-size: var(--p-text-xs);
  font-weight: 600;
  transition: background-color var(--p-dur-fast) var(--p-ease-out),
              border-color var(--p-dur-fast) var(--p-ease-out),
              color var(--p-dur-fast) var(--p-ease-out),
              transform 200ms var(--p-ease-spring);
}

.st-filter-pill:hover {
  border-color: var(--border-hover);
  color: var(--ink-primary);
  transform: translateY(-1px);
}

.st-filter-pill.is-active,
.st-filter-pill[aria-pressed="true"] {
  background: var(--cta-primary-bg);
  border-color: var(--cta-primary-bg);
  color: var(--cta-primary-fg);
}

.st-search-wrap {
  position: relative;
  width: 100%;
  max-width: 280px;
}

.st-search-wrap .fa-magnifying-glass {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-muted);
  font-size: 0.8rem;
  pointer-events: none;
}

.st-search-input {
  width: 100%;
  min-height: 40px;
  padding: 0.5rem 0.85rem 0.5rem 2.3rem;
  border-radius: var(--input-radius);
  border: 1px solid var(--input-border);
  background: var(--input-bg);
  font-size: var(--p-text-sm);
  color: var(--ink-primary);
  transition: border-color var(--p-dur-fast) ease;
}

.st-search-input:hover {
  border-color: var(--border-hover);
}

.st-search-input::placeholder {
  color: var(--ink-muted);
}

/* Card Primitive */
.st-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color var(--p-dur-base) var(--p-ease-out),
              transform 320ms var(--p-ease-spring),
              box-shadow var(--p-dur-base) var(--p-ease-out);
}

.st-card-hover:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
}

.st-card-pad {
  padding: 1.5rem;
}

.st-product-plate {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #08080A;
  border-bottom: 1px solid var(--border-hairline);
  overflow: hidden;
  padding: 0;
}

.st-product-plate picture,
.st-stage-plate picture,
.st-blog-plate picture,
.st-article-hero picture {
  display: block;
  width: 100%;
  height: 100%;
}

.st-product-plate img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.55s var(--p-ease-out);
}

.st-card-hover:hover .st-product-plate img {
  transform: scale(1.025);
}

@media (max-width: 767px) {
  .st-product-plate {
    aspect-ratio: 4 / 3;
  }
}

.st-product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.68rem 1.25rem;
  border-bottom: 1px solid var(--border-hairline);
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--p-font-mono);
  font-size: var(--p-text-2xs);
  color: var(--ink-muted);
}

.st-product-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.st-product-title {
  font-family: var(--p-font-display);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
  margin-bottom: 0.55rem;
  transition: color var(--p-dur-fast) ease;
}

.st-product-title:hover,
.st-product-title a:hover {
  color: var(--accent-text);
}

.st-product-desc {
  font-size: var(--p-text-sm);
  line-height: 1.58;
  color: var(--ink-secondary);
  margin-bottom: 1rem;
  flex: 1 1 auto;
}

.st-tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.st-upgrade-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  margin-bottom: 1rem;
  border-radius: var(--p-radius-sm);
  background: var(--accent-soft-bg);
  border: 1px solid var(--accent-soft-border);
  font-size: var(--p-text-xs);
  font-weight: 600;
  color: var(--accent-text);
  transition: background-color var(--p-dur-fast) ease, border-color var(--p-dur-fast) ease;
}

.st-upgrade-note:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: var(--accent-primary);
}

.st-product-foot {
  padding-top: 1rem;
  border-top: 1px solid var(--border-hairline);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.st-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.st-price-old {
  font-family: var(--p-font-mono);
  font-size: var(--p-text-xs);
  color: var(--ink-muted);
  text-decoration: line-through;
  display: block;
}

.st-price-now {
  font-family: var(--p-font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink-primary);
  letter-spacing: -0.02em;
}

.st-fx-note {
  font-family: var(--p-font-mono);
  font-size: 0.68rem;
  color: var(--ink-muted);
  display: block;
  margin-top: 2px;
}

.st-product-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.st-product-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: var(--p-text-xs);
  color: var(--ink-muted);
}

.st-product-links a:hover {
  color: var(--accent-text);
}

/* ==========================================================================
   Spotlight Bento Engineering Directory
   ========================================================================== */
.st-index-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 900px) {
  .st-index-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.st-index-item {
  padding: clamp(1.35rem, 2.4vw, 1.85rem);
  background: var(--surface-elevated);
  border: 1px solid var(--border-hairline);
  border-radius: var(--card-radius);
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color var(--p-dur-base) var(--p-ease-out), transform 280ms var(--p-ease-spring);
}

.st-index-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

@media (min-width: 900px) {
  .st-index-item-wide {
    grid-column: 1 / -1;
  }
}

.st-index-num {
  font-family: var(--p-font-mono);
  font-size: var(--p-text-xs);
  font-weight: 600;
  color: var(--accent-cyan-text);
  padding-top: 0.2rem;
}

.st-index-title {
  font-family: var(--p-font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
  color: var(--ink-primary);
}

.st-index-desc {
  font-size: var(--p-text-sm);
  line-height: 1.64;
  color: var(--ink-secondary);
}

/* ==========================================================================
   Calculator & Elevated Carbon Summary Box
   ========================================================================== */
.st-calc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 960px) {
  .st-calc-grid {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  }
}

.st-choice-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem 1.15rem;
  border-radius: var(--btn-radius);
  border: 1px solid var(--border-hairline);
  background: var(--surface-elevated);
  text-align: left;
  transition: border-color var(--p-dur-fast) ease,
              background-color var(--p-dur-fast) ease,
              transform 220ms var(--p-ease-spring);
}

.st-choice-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.st-choice-card.is-active {
  border-color: var(--accent-primary);
  background: var(--surface-panel);
  box-shadow: inset 3px 0 0 var(--accent-primary), 0 0 0 1px rgba(59, 130, 246, 0.2);
}

.st-addon-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: var(--btn-radius);
  border: 1px solid var(--border-hairline);
  background: var(--surface-elevated);
  cursor: pointer;
  transition: border-color var(--p-dur-fast) ease, background-color var(--p-dur-fast) ease;
}

.st-addon-row:hover {
  border-color: var(--border-hover);
  background: var(--surface-panel);
}

.st-addon-row input[type="checkbox"] {
  accent-color: var(--accent-primary);
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.st-summary-dark {
  background: var(--surface-panel);
  color: var(--ink-primary);
  border-radius: var(--card-radius);
  padding: 1.75rem;
  border: 1px solid var(--border-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 24px 48px -24px rgba(0, 0, 0, 0.72);
}

.st-summary-dark h3,
.st-summary-dark .st-summary-val {
  color: var(--ink-primary);
}

.st-summary-val {
  font-family: var(--p-font-mono);
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.025em;
}

/* ==========================================================================
   Accordion FAQ (Safari Marker Reset Included)
   ========================================================================== */
.st-faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 960px) {
  .st-faq-grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 3rem;
  }
}

.st-faq-list {
  border-top: 1px solid var(--border-hairline);
}

.st-faq-item {
  border-bottom: 1px solid var(--border-hairline);
}

.st-faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.2rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-primary);
  cursor: pointer;
  transition: color var(--p-dur-fast) ease;
}

.st-faq-item summary:hover {
  color: var(--accent-text);
}

.st-faq-item summary::-webkit-details-marker {
  display: none;
}

.st-faq-plus {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface-elevated);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--p-font-mono);
  font-size: 0.9rem;
  color: var(--ink-secondary);
  transition: transform 240ms var(--p-ease-spring),
              background-color var(--p-dur-fast) ease,
              border-color var(--p-dur-fast) ease,
              color var(--p-dur-fast) ease;
}

.st-faq-item[open] .st-faq-plus {
  transform: rotate(45deg);
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: var(--p-white);
}

.st-faq-body {
  padding-bottom: 1.25rem;
  font-size: var(--p-text-sm);
  line-height: 1.68;
  color: var(--ink-secondary);
  max-width: 62ch;
}

/* ==========================================================================
   Forms (Full Label Association, Dark High-Contrast Inputs)
   ========================================================================== */
.st-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.st-label {
  font-size: var(--p-text-xs);
  font-weight: 600;
  color: var(--ink-primary);
}

.st-input,
.st-select,
.st-textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 0.9rem;
  border-radius: var(--input-radius);
  border: 1px solid var(--input-border);
  background-color: var(--input-bg);
  color: var(--ink-primary);
  font-size: var(--p-text-sm);
  transition: border-color var(--p-dur-fast) ease, box-shadow var(--p-dur-fast) ease;
}

.st-select option {
  background-color: var(--surface-elevated);
  color: var(--ink-primary);
}

.st-textarea {
  min-height: 112px;
  resize: vertical;
}

.st-input::placeholder,
.st-textarea::placeholder {
  color: var(--ink-muted);
}

.st-input:hover,
.st-select:hover,
.st-textarea:hover {
  border-color: var(--border-hover);
}

.st-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: var(--p-text-xs);
  line-height: 1.5;
  color: var(--ink-secondary);
  cursor: pointer;
}

.st-checkbox-label input[type="checkbox"] {
  accent-color: var(--accent-primary);
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.st-alert {
  padding: 0.9rem 1.1rem;
  border-radius: var(--btn-radius);
  border: 1px solid var(--border-hairline);
  font-size: var(--p-text-sm);
  line-height: 1.5;
}

.st-alert-success {
  background: var(--status-verified-bg);
  border-color: var(--status-verified-border);
  color: var(--status-verified);
}

.st-alert-error {
  background: var(--status-danger-bg);
  border-color: var(--status-danger-border);
  color: var(--status-danger);
}

.st-alert-warn {
  background: var(--status-warn-bg);
  border-color: var(--status-warn-border);
  color: var(--status-warn);
}

/* ==========================================================================
   Modals & Command Palette
   ========================================================================== */
.st-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: var(--p-z-modal);
  background: var(--modal-scrim);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overscroll-behavior: contain;
}

.st-modal-backdrop.is-open {
  display: flex;
}

.st-modal {
  width: 100%;
  max-width: 540px;
  max-height: min(90dvh, 760px);
  overflow-y: auto;
  background: var(--surface-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--card-radius);
  box-shadow: var(--modal-shadow);
  padding: 1.75rem;
  position: relative;
  overscroll-behavior: contain;
}

.st-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: var(--btn-radius);
  border: 1px solid var(--border-hairline);
  background: var(--surface-panel);
  color: var(--ink-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color var(--p-dur-fast) ease, border-color var(--p-dur-fast) ease, background-color var(--p-dur-fast) ease;
}

.st-modal-close:hover {
  color: var(--ink-primary);
  border-color: var(--border-hover);
  background: var(--p-space-800);
}

/* ==========================================================================
   Data Tables (Comparison, Checkout, Affiliate)
   ========================================================================== */
.st-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-hairline);
  border-radius: var(--card-radius);
  background: var(--surface-elevated);
}

.st-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--p-text-sm);
}

.st-table th,
.st-table td {
  padding: 0.9rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-hairline);
  vertical-align: top;
}

.st-table thead th {
  background: var(--surface-panel);
  font-family: var(--p-font-mono);
  font-size: var(--p-text-2xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.st-table tbody tr:last-child th,
.st-table tbody tr:last-child td {
  border-bottom: 0;
}

/* ==========================================================================
   Technical Prose, Code Blocks, Blog & Legal Layouts
   ========================================================================== */
.st-read-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-cyan));
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 95;
  pointer-events: none;
  will-change: transform;
}

.st-prose {
  max-width: var(--prose-measure);
  font-size: 1.02rem;
  line-height: 1.78;
  color: var(--ink-secondary);
}

.st-prose h2 {
  font-family: var(--p-font-display);
  font-size: clamp(1.38rem, 2.2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.22;
  color: var(--ink-primary);
  margin-top: 2.4rem;
  margin-bottom: 0.9rem;
  scroll-margin-top: calc(var(--nav-height) + 24px);
}

.st-prose h3 {
  font-family: var(--p-font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink-primary);
  margin-top: 1.75rem;
  margin-bottom: 0.65rem;
}

.st-prose p + p,
.st-prose ul,
.st-prose ol,
.st-prose blockquote {
  margin-top: 1rem;
}

.st-prose ul {
  list-style: disc;
  padding-left: 1.35rem;
}

.st-prose ol {
  list-style: decimal;
  padding-left: 1.35rem;
}

.st-prose li + li {
  margin-top: 0.45rem;
}

.st-prose strong {
  color: var(--ink-primary);
  font-weight: 600;
}

.st-prose a {
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.st-prose blockquote {
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--accent-primary);
  background: var(--surface-panel);
  border-radius: 0 var(--btn-radius) var(--btn-radius) 0;
  color: var(--ink-primary);
  font-size: 1rem;
}

.st-prose pre {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: var(--btn-radius);
  background: var(--surface-canvas);
  color: #cbd5e1;
  font-family: var(--p-font-mono);
  font-size: 0.82rem;
  line-height: 1.65;
  overflow-x: auto;
  border: 1px solid var(--border-hairline);
}

.st-prose code:not(pre code) {
  padding: 0.14rem 0.42rem;
  border-radius: 4px;
  background: var(--surface-panel);
  border: 1px solid var(--border-hairline);
  color: var(--accent-cyan-text);
  font-family: var(--p-font-mono);
  font-size: 0.86em;
}

.st-code-block {
  margin-top: 1.35rem;
  border-radius: var(--btn-radius);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--surface-canvas);
}

.st-code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.95rem;
  background: var(--surface-panel);
  border-bottom: 1px solid var(--border-hairline);
  font-family: var(--p-font-mono);
  font-size: var(--p-text-2xs);
  color: var(--ink-muted);
}

.st-code-copy {
  padding: 0.25rem 0.6rem;
  border-radius: var(--p-radius-xs);
  border: 1px solid var(--border-strong);
  background: var(--surface-elevated);
  color: var(--ink-primary);
  font-family: var(--p-font-sans);
  font-size: var(--p-text-2xs);
  font-weight: 600;
  transition: background-color var(--p-dur-fast) ease, border-color var(--p-dur-fast) ease;
}

.st-code-copy:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: var(--p-white);
}

.st-code-block pre {
  margin-top: 0;
  border-radius: 0;
  border: 0;
}

.st-prose picture,
.st-prose figure {
  display: block;
  max-width: 100%;
  margin: 1.5rem 0;
}

.st-prose img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  margin-inline: auto;
  border-radius: var(--btn-radius);
  border: 1px solid var(--border-hairline);
  background: #08080A;
  object-fit: cover;
}

.st-article-hero {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #08080A;
  overflow: hidden;
}

.st-article-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.st-blog-featured {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 2rem;
}

@media (min-width: 900px) {
  .st-blog-featured {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  }
}

.st-blog-plate {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #08080A;
  border-bottom: 1px solid var(--border-hairline);
  overflow: hidden;
}

.st-blog-plate img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.55s var(--p-ease-out);
}

.st-card-hover:hover .st-blog-plate img {
  transform: scale(1.025);
}

@media (min-width: 900px) {
  .st-blog-featured .st-blog-plate {
    border-bottom: 0;
    border-right: 1px solid var(--border-hairline);
    aspect-ratio: auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #08080A;
  }
  .st-blog-featured .st-blog-plate picture {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 767px) {
  .st-blog-plate,
  .st-article-hero {
    aspect-ratio: 4 / 3;
  }
}

.st-legal-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: start;
}

@media (min-width: 960px) {
  .st-legal-layout {
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 2.25rem;
  }
}

.st-legal-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--btn-radius);
  font-size: var(--p-text-sm);
  font-weight: 500;
  color: var(--ink-secondary);
  border: 1px solid transparent;
  transition: background-color var(--p-dur-fast) ease, color var(--p-dur-fast) ease, border-color var(--p-dur-fast) ease;
}

.st-legal-nav-link:hover {
  background: var(--surface-panel);
  color: var(--ink-primary);
}

.st-legal-nav-link[aria-current="page"] {
  background: var(--surface-panel);
  border-color: var(--accent-soft-border);
  color: var(--ink-primary);
  font-weight: 600;
}

/* ==========================================================================
   Calm Floating Chrome (Advisor Button, Cookie Bar, Top Toast)
   ========================================================================== */
.st-toast {
  position: fixed;
  top: calc(var(--nav-height) + 14px);
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--p-z-toast);
  padding: 0.72rem 1.15rem;
  border-radius: var(--btn-radius);
  background: var(--surface-panel);
  border: 1px solid var(--border-strong);
  color: var(--ink-primary);
  font-size: var(--p-text-xs);
  font-weight: 600;
  display: none;
  align-items: center;
  gap: 0.55rem;
  box-shadow: var(--modal-shadow);
}

.st-toast.is-open {
  display: inline-flex;
}

/* Single Calm Advisor Trigger (Zero Sparkle, Zero Neon Pulse) */
.st-advisor-fab {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: var(--p-z-fab);
  min-height: 46px;
  padding: 0 1.1rem;
  border-radius: var(--p-radius-pill);
  background: var(--surface-panel);
  color: var(--ink-primary);
  border: 1px solid var(--border-strong);
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: var(--p-text-xs);
  font-weight: 600;
  transition: transform 220ms var(--p-ease-spring), background-color var(--p-dur-fast) ease, border-color var(--p-dur-fast) ease;
}

.st-advisor-fab:hover {
  background: var(--p-space-800);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.st-advisor-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-cyan);
  flex-shrink: 0;
}

.st-advisor-panel {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 58px);
  z-index: calc(var(--p-z-fab) + 2);
  width: min(calc(100vw - 2rem), 390px);
  height: min(72dvh, 560px);
  background: var(--surface-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--card-radius);
  box-shadow: var(--modal-shadow);
  display: none;
  flex-direction: column;
  overflow: hidden;
  overscroll-behavior: contain;
}

.st-advisor-panel.is-open {
  display: flex;
}

/* Dark Tech Studio PWA Install Notification Card (Positioned cleanly above Advisor FAB) */
.st-pwa-card {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 64px);
  z-index: calc(var(--p-z-fab) - 1);
  width: min(calc(100vw - 2rem), 328px);
  padding: 0.95rem 1rem;
  border-radius: var(--card-radius);
  background: rgba(17, 17, 21, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  box-shadow: 0 20px 44px -16px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
}

.st-pwa-card.is-no-fab {
  bottom: max(1rem, env(safe-area-inset-bottom));
}

body.rkz-ai-open .st-pwa-card {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
}

.st-pwa-card-top {
  display: flex;
  align-items: flex-start;
  gap: 0.72rem;
}

.st-pwa-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--surface-canvas);
  border: 1px solid var(--border-hairline);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.st-pwa-card-icon img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
}

.st-pwa-card-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.st-pwa-card-title {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-primary);
  line-height: 1.3;
  margin-bottom: 0.22rem;
}

.st-pwa-card-desc {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.48;
  color: var(--ink-muted);
}

.st-pwa-card-close {
  width: 28px;
  height: 28px;
  border-radius: var(--p-radius-xs);
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  margin: -2px -4px 0 0;
  transition: background-color var(--p-dur-fast) ease, border-color var(--p-dur-fast) ease, color var(--p-dur-fast) ease;
}

.st-pwa-card-close:hover {
  background: var(--surface-panel);
  border-color: var(--border-hairline);
  color: var(--ink-primary);
}

.st-pwa-card-close:focus-visible,
.st-pwa-card-cta:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

.st-pwa-card-guide {
  padding: 0.62rem 0.78rem;
  border-radius: var(--btn-radius);
  background: var(--surface-canvas);
  border: 1px solid var(--border-hairline);
  color: var(--ink-secondary);
  font-size: 0.73rem;
  line-height: 1.5;
}

.st-pwa-card-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.st-pwa-card-cta {
  width: 100%;
  height: 36px;
  padding: 0 0.95rem;
  border-radius: var(--btn-radius);
  border: 1px solid transparent;
  background: var(--cta-primary-bg);
  color: var(--cta-primary-fg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
  font-family: inherit;
  font-size: var(--p-text-xs);
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: opacity var(--p-dur-fast) ease, transform var(--p-dur-fast) ease;
}

.st-pwa-card-cta:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

@media (max-width: 480px) {
  .st-pwa-card {
    right: max(0.75rem, env(safe-area-inset-right));
    left: max(0.75rem, env(safe-area-inset-left));
    width: auto;
    bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 62px);
    padding: 0.85rem 0.9rem;
  }
}

/* Dark Tech Studio Back-to-Top Button (Aligned left of Advisor FAB, cleanly below PWA Card) */
.st-scroll-top {
  --st-scroll-top-right: calc(max(1rem, env(safe-area-inset-right)) + 132px);
  position: fixed;
  right: var(--st-scroll-top-right);
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: calc(var(--p-z-fab) - 1);
  width: 46px;
  height: 46px;
  border-radius: var(--p-radius-pill);
  background: var(--surface-panel);
  color: var(--ink-secondary);
  border: 1px solid var(--border-strong);
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 200ms ease, transform 220ms var(--p-ease-spring), visibility 200ms ease, background-color var(--p-dur-fast) ease, border-color var(--p-dur-fast) ease, color var(--p-dur-fast) ease;
}

.st-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.st-scroll-top:hover {
  background: var(--p-space-800);
  border-color: var(--border-hover);
  color: var(--ink-primary);
  transform: translateY(-2px);
}

.st-scroll-top:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

body.rkz-ai-open .st-scroll-top {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
}

.st-advisor-head {
  padding: 0.9rem 1.05rem;
  background: var(--surface-panel);
  border-bottom: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.st-advisor-msgs {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: var(--p-text-sm);
  overscroll-behavior: contain;
}

.st-advisor-bubble-ai {
  align-self: flex-start;
  max-width: 90%;
  padding: 0.75rem 0.95rem;
  border-radius: var(--btn-radius);
  background: var(--surface-panel);
  border: 1px solid var(--border-hairline);
  color: var(--ink-primary);
  line-height: 1.55;
}

.st-advisor-bubble-user {
  align-self: flex-end;
  max-width: 85%;
  padding: 0.7rem 0.95rem;
  border-radius: var(--btn-radius);
  background: var(--accent-primary);
  color: var(--p-white);
  line-height: 1.5;
}

.st-advisor-chips {
  padding: 0.55rem 0.85rem;
  border-top: 1px solid var(--border-hairline);
  background: var(--surface-warm);
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
}

.st-advisor-chip {
  padding: 0.35rem 0.65rem;
  border-radius: var(--p-radius-xs);
  border: 1px solid var(--border-hairline);
  background: var(--surface-elevated);
  font-size: var(--p-text-2xs);
  font-weight: 500;
  color: var(--ink-secondary);
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color var(--p-dur-fast) ease, color var(--p-dur-fast) ease;
}

.st-advisor-chip:hover {
  border-color: var(--border-hover);
  color: var(--ink-primary);
}

.st-advisor-form {
  padding: 0.7rem 0.85rem;
  border-top: 1px solid var(--border-hairline);
  background: var(--surface-elevated);
  display: flex;
  gap: 0.5rem;
}

/* Cookie Bar (Restrained Bottom-Left Card) */
.st-cookie-bar {
  position: fixed;
  left: max(1rem, env(safe-area-inset-left));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: var(--p-z-cookie);
  width: min(calc(100vw - 2rem), 520px);
  padding: 1rem 1.15rem;
  border-radius: var(--card-radius);
  background: var(--surface-elevated);
  border: 1px solid var(--border-strong);
  box-shadow: var(--modal-shadow);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .st-cookie-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Breadcrumbs */
.st-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--p-font-mono);
  font-size: var(--p-text-2xs);
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
}

.st-breadcrumb a:hover {
  color: var(--ink-primary);
}

/* ==========================================================================
   Reduced Motion Respect (WCAG 2.3.3)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .st-motion-ready [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Print Rules (Proforma, Legal, Invoices — Clean Black on White Paper)
   ========================================================================== */
@media print {
  .st-header,
  .st-footer,
  .st-promo-bar,
  .st-advisor-fab,
  .st-advisor-panel,
  .st-pwa-card,
  .st-scroll-top,
  .st-cookie-bar,
  .st-read-progress,
  .no-print {
    display: none !important;
  }
  html, body {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    background: #ffffff !important;
    color: #111111 !important;
  }
  body:not(.cert-page):not(.inv-page) .st-card,
  body:not(.cert-page):not(.inv-page) .st-table-wrap,
  body:not(.cert-page):not(.inv-page) .st-specimen {
    background: #ffffff !important;
    border-color: #d4d4d8 !important;
    box-shadow: none !important;
    color: #111111 !important;
  }
  body:not(.cert-page):not(.inv-page) h1,
  body:not(.cert-page):not(.inv-page) h2,
  body:not(.cert-page):not(.inv-page) h3,
  body:not(.cert-page):not(.inv-page) h4,
  body:not(.cert-page):not(.inv-page) p,
  body:not(.cert-page):not(.inv-page) td,
  body:not(.cert-page):not(.inv-page) th,
  body:not(.cert-page):not(.inv-page) li,
  body:not(.cert-page):not(.inv-page) span,
  body:not(.cert-page):not(.inv-page) strong {
    color: #111111 !important;
  }
}
