/* ==========================================================================
   COMPUTADORA DEFINITIVA PARA IA : MATRIX / CYBERPUNK COLOUR CHAPTERS
   Direction: colour-chapters (seed 1783348636)
   Strictly flat colour fields, zero gradients, zero resting shadows, 5 type steps
   ========================================================================== */

:root {
  /* Palette : Matrix / Cyberpunk flat chapters */
  --bg-hero: #050907;
  --bg-why: #0A130E;
  --bg-specs: #060B08;
  --bg-usecases: #0C1711;
  --bg-warning: #13241A;
  --bg-pricing: #00FF66;
  --bg-faq: #08100B;
  --bg-footer: #040705;

  /* Surfaces (tone steps, no borders needed) */
  --surface-1: #0F1C14;
  --surface-2: #16281D;
  --surface-3: #1D3326;
  --surface-dark: #070D0A;

  /* Inks : high contrast on dark and neon grounds */
  --ink: #E8F7EE;
  --muted: #93B8A2;
  --ink-on-accent: #040906;
  --muted-on-accent: #0B2415;

  /* Single Accent : Phosphor Matrix Neon Green */
  --accent: #00FF66;
  --accent-strong: #33FF85;

  /* Typography : Digital Cyberpunk Geometric Face (Chakra Petch) */
  --font-sans: 'Chakra Petch', system-ui, -apple-system, sans-serif;

  /* 5 Type Size Steps (Ceiling = 5) */
  --step-display: clamp(2.1rem, 4.7vw, 4.4rem);
  --step-h2: clamp(1.75rem, 3.4vw, 3.1rem);
  --step-h3: clamp(1.2rem, 1.6vw, 1.5rem);
  --step-lead: clamp(1.125rem, 1.3vw, 1.25rem);
  --step-body: 1.0625rem; /* 17px */

  /* Layout & Grid */
  --margin: clamp(1.25rem, 4vw, 3.5rem);
  --gutter: clamp(1.25rem, 2.5vw, 2.25rem);

  /* Motion Tokens */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
  --t-reveal: 800ms;
  --stagger-line: 90ms;
  --stagger-item: 70ms;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-hero);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background-color: var(--bg-hero);
  color: var(--ink);
  overflow-x: clip;
  position: relative;
}

::selection {
  background-color: var(--accent);
  color: var(--ink-on-accent);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

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

code,
pre {
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
}

/* Matrix Rain Canvas Background inside Hero */
.matrix-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
}

.chapter--hero > .grid-12 {
  position: relative;
  z-index: 1;
}

/* Top Navigation Bar */
.site-nav {
  position: relative;
  z-index: 10;
  background-color: var(--bg-hero);
  padding: 1.5rem var(--margin);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  color: var(--ink);
  text-decoration: none;
  font-size: var(--step-h3);
  font-weight: 700;
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.wordmark-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.25em;
  text-decoration-thickness: 0.08em;
  font-size: var(--step-body);
  font-weight: 400;
  transition: text-decoration-color var(--t-hover) ease, color var(--t-hover) ease;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.25rem;
  background-color: var(--accent);
  color: var(--ink-on-accent);
  font-size: var(--step-body);
  font-weight: 700;
  text-decoration: none;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}

/* Chapters : Full-bleed flat colour fields butted directly edge to edge */
.chapter {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(5rem, 10vh, 8.5rem) var(--margin);
}

.chapter--hero {
  background-color: var(--bg-hero);
  min-height: 92svh;
  padding-top: clamp(2rem, 5vh, 4rem);
  padding-bottom: clamp(4.5rem, 8vh, 7rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: clip;
  view-timeline-name: --hero;
}

.chapter--why {
  background-color: var(--bg-why);
  min-height: 90svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.chapter--specs {
  background-color: var(--bg-specs);
}

.chapter--usecases {
  background-color: var(--bg-usecases);
}

.chapter--warning {
  background-color: var(--bg-warning);
}

.chapter--pricing {
  background-color: var(--bg-pricing);
  color: var(--ink-on-accent);
  min-height: 85svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.chapter--faq {
  background-color: var(--bg-faq);
}

.chapter--footer {
  background-color: var(--bg-footer);
  min-height: 85svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
}

/* Typography Rules : Headlines 2 lines or fewer at all viewports */
h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.96;
  color: inherit;
}

.hero-title {
  font-size: var(--step-display);
  margin-bottom: 2rem;
  position: relative;
}

.section-title {
  font-size: var(--step-h2);
  margin-bottom: 1.5rem;
}

.item-title {
  font-size: var(--step-h3);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.lead-copy {
  font-size: var(--step-lead);
  line-height: 1.5;
  color: var(--ink);
  max-width: 58ch;
}

.body-copy {
  font-size: var(--step-body);
  line-height: 1.55;
  color: var(--ink);
  max-width: 65ch;
}

.muted-copy {
  font-size: var(--step-body);
  line-height: 1.55;
  color: var(--muted);
  max-width: 62ch;
}

/* Buttons : Square-cornered, flat fill, digital progress bar inside */
.btn-matrix {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 56px;
  padding: 0.95rem 1.75rem;
  background-color: var(--accent);
  color: var(--ink-on-accent);
  font-family: var(--font-sans);
  font-size: var(--step-body);
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  overflow: clip;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}

.btn-matrix__bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 100%;
  background-color: var(--ink-on-accent);
  transform-origin: left center;
  animation: digital-charge 2.6s var(--ease-in-out) infinite;
}

@keyframes digital-charge {
  0% { transform: scaleX(0.08); }
  55% { transform: scaleX(1); }
  100% { transform: scaleX(0.08); }
}

.btn-matrix--dark {
  background-color: var(--ink-on-accent);
  color: var(--accent);
}

.btn-matrix--dark .btn-matrix__bar {
  background-color: var(--ink);
}

.btn-secondary-flat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 56px;
  padding: 0.95rem 1.75rem;
  background-color: var(--surface-2);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--step-body);
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.hero-copy-col {
  grid-column: 1 / 7;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hero-cta-wrap {
  margin-top: 2.25rem;
  margin-bottom: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  width: 100%;
  list-style: none;
}

.trust-item {
  padding: 0.35rem 0;
  font-size: var(--step-body);
  font-weight: 700;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.trust-marker {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  flex-shrink: 0;
}

.hero-visual-col {
  grid-column: 7 / 13;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-figure {
  background-color: var(--surface-1);
  overflow: clip;
  position: relative;
}

.hero-figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-telemetry {
  background-color: var(--surface-2);
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: var(--step-body);
}

/* ==========================================================================
   2. POR QUÉ ESTA CONFIGURACIÓN (Staircase statement + dual hardware plates)
   ========================================================================== */
.why-main-col {
  grid-column: 1 / 9;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.staircase-statement {
  font-size: var(--step-h3);
  font-weight: 700;
  line-height: 1.25;
  margin-top: 1.5rem;
  margin-bottom: 2.25rem;
  max-width: 64ch;
}

.stair-line {
  display: block;
  padding-block: 0.15em;
}

.stair-line--1 { padding-left: 0; color: var(--ink); }
.stair-line--2 { padding-left: 3vw; color: var(--accent); }
.stair-line--3 { padding-left: 6vw; color: var(--ink); }
.stair-line--4 { padding-left: 9vw; color: var(--accent); }

.why-platform-box {
  background-color: var(--surface-1);
  padding: 2rem;
  margin-top: 0.5rem;
}

.why-photos-col {
  grid-column: 9 / 13;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  justify-content: center;
}

.why-photo-frame {
  background-color: var(--surface-1);
  overflow: clip;
}

.why-photo-frame img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.why-photo-caption {
  padding: 0.85rem 1.1rem;
  font-size: var(--step-body);
  color: var(--muted);
  background-color: var(--surface-2);
}

/* ==========================================================================
   3. FICHA TÉCNICA Y COMPONENTES (Sticky photograph, active list)
   ========================================================================== */
.specs-media-col {
  grid-column: 1 / 6;
  align-self: start;
  position: sticky;
  top: 8vh;
}

.specs-stage {
  background-color: var(--surface-1);
  padding: 1.5rem;
}

.specs-stage-img-wrap {
  overflow: clip;
  background-color: var(--surface-dark);
  margin-bottom: 1.25rem;
}

.specs-stage-img-wrap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform var(--t-ui) var(--ease-out);
}

.specs-terminal-readout {
  background-color: var(--surface-dark);
  padding: 1.25rem;
  color: var(--ink);
}

.specs-list-col {
  grid-column: 6 / 13;
}

.specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

.spec-row {
  background-color: transparent;
  padding: 1.5rem 1.75rem;
  cursor: pointer;
  transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}

.spec-row.is-active {
  background-color: var(--surface-2);
}

.spec-row-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.spec-sku-code {
  background-color: var(--surface-dark);
  color: var(--accent);
  padding: 0.25rem 0.65rem;
  font-size: var(--step-body);
}

.spec-fullname {
  font-size: var(--step-lead);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.spec-desc {
  font-size: var(--step-body);
  color: var(--muted);
  margin-bottom: 1rem;
}

.spec-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.btn-copy-sku {
  background-color: var(--surface-3);
  color: var(--ink);
  border: none;
  padding: 0.55rem 1rem;
  min-height: 44px;
  font-family: var(--font-sans);
  font-size: var(--step-body);
  font-weight: 700;
  cursor: pointer;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease;
}

.btn-copy-sku.is-copied {
  background-color: var(--accent);
  color: var(--ink-on-accent);
}

/* ==========================================================================
   4. INFERENCIA Y CASOS DE USO + SIMULADOR EN VIVO DE 16 GB VRAM GDDR7
   ========================================================================== */
.usecases-intro-col {
  grid-column: 1 / 5;
  align-self: start;
}

.usecases-grid-col {
  grid-column: 5 / 13;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

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

.usecase-tile:first-child {
  grid-column: 1 / -1;
}

.usecase-tile {
  background-color: transparent;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  cursor: pointer;
  text-align: left;
  border: none;
  color: var(--ink);
  font-family: var(--font-sans);
  transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}

.usecase-tile.is-selected {
  background-color: var(--surface-2);
}

.usecase-tile-visual {
  background-color: var(--surface-dark);
  padding: 1rem;
  width: 100%;
}

/* Live Thing: Interactive 16 GB GDDR7 VRAM Allocation Console ([data-ui]) */
.vram-simulator {
  background-color: var(--surface-dark);
  padding: 2rem;
}

.vram-sim-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.vram-sim-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.vram-preset-btn {
  background-color: var(--surface-1);
  color: var(--ink);
  border: none;
  min-height: 44px;
  padding: 0.6rem 1.1rem;
  font-family: var(--font-sans);
  font-size: var(--step-body);
  font-weight: 700;
  cursor: pointer;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease;
}

.vram-preset-btn[aria-pressed="true"] {
  background-color: var(--accent);
  color: var(--ink-on-accent);
}

.vram-meter-track {
  width: 100%;
  height: 36px;
  background-color: var(--surface-1);
  position: relative;
  overflow: clip;
  margin-bottom: 1.25rem;
}

.vram-meter-fill {
  height: 100%;
  background-color: var(--accent);
  width: 68%;
  transition: width 450ms var(--ease-out);
}

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

.vram-metric-cell {
  background-color: var(--surface-1);
  padding: 1rem;
}

.vram-terminal-cmd {
  background-color: var(--surface-1);
  padding: 1rem 1.25rem;
  color: var(--accent);
  font-size: var(--step-body);
  white-space: pre-wrap;
  word-break: break-word;
}

/* ==========================================================================
   5. SECCIÓN DE ADVERTENCIA TECNOLÓGICA (Inset panel, Dual Channel diagram)
   ========================================================================== */
.warning-panel {
  background-color: var(--surface-dark);
  padding: clamp(2rem, 4.5vw, 4rem);
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
}

.warning-copy-col {
  grid-column: 1 / 8;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.warning-banner-box {
  background-color: var(--surface-2);
  padding: 1.75rem;
  margin-top: 1.25rem;
  margin-bottom: 1.75rem;
}

.warning-slots-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.dimm-slot-box {
  padding: 0.5rem 0;
}

.warning-photo-col {
  grid-column: 8 / 13;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.warning-photo-wrap {
  background-color: var(--surface-1);
  overflow: clip;
}

.warning-photo-wrap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ==========================================================================
   6. LIDERANDO CON EL VALOR (One plan as a sentence on full neon field)
   ========================================================================== */
.pricing-statement-wrap {
  grid-column: 1 / 13;
}

.pricing-giant-price {
  font-size: var(--step-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
  white-space: nowrap;
}

.price-block-invert {
  display: inline-block;
  background-color: var(--ink-on-accent);
  color: var(--accent);
  padding: 0.08em 0.25em;
}

.pricing-bottom-row {
  grid-column: 1 / 13;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
  align-items: start;
  margin-top: 1rem;
}

.pricing-details-col {
  grid-column: 1 / 7;
}

.pricing-Details-lead {
  font-size: var(--step-lead);
  color: var(--ink-on-accent);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.pricing-included-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pricing-included-item {
  color: var(--ink-on-accent);
  padding: 0.35rem 0;
  font-size: var(--step-body);
  font-weight: 700;
}

.pricing-actions-col {
  grid-column: 7 / 13;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.order-drawer {
  background-color: var(--ink-on-accent);
  color: var(--ink);
  padding: 1.75rem;
  margin-top: 0.5rem;
}

.order-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.order-input {
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 0.9rem;
  background-color: var(--surface-2);
  color: var(--ink);
  border: none;
  font-family: var(--font-sans);
  font-size: var(--step-body);
}

/* ==========================================================================
   7. PREGUNTAS FRECUENTES (Accordion of filled tiles)
   ========================================================================== */
.faq-title-col {
  grid-column: 1 / 5;
  align-self: start;
}

.faq-accordion-col {
  grid-column: 5 / 13;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq-tile {
  background-color: var(--surface-1);
  color: var(--ink);
  transition: background-color var(--t-ui) ease, color var(--t-ui) ease;
}

.faq-tile[open] {
  background-color: var(--accent);
  color: var(--ink-on-accent);
}

.faq-summary {
  list-style: none;
  min-height: 74px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: var(--step-h3);
  font-weight: 700;
  cursor: pointer;
}

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

.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.faq-bar-h,
.faq-bar-v {
  position: absolute;
  background-color: currentColor;
  transition: transform var(--t-ui) var(--ease-out);
}

.faq-bar-h {
  top: 7.5px;
  left: 0;
  width: 18px;
  height: 3px;
}

.faq-bar-v {
  top: 0;
  left: 7.5px;
  width: 3px;
  height: 18px;
}

.faq-tile[open] .faq-bar-v {
  transform: rotate(90deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  font-size: var(--step-body);
  line-height: 1.55;
  max-width: 58ch;
}

/* ==========================================================================
   8. FOOTER (Contact as the headline)
   ========================================================================== */
.footer-top-grid {
  align-items: start;
  margin-bottom: clamp(4rem, 10vh, 7rem);
}

.footer-notes-col {
  grid-column: 1 / 9;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.footer-backtop-col {
  grid-column: 9 / 13;
  display: flex;
  justify-content: flex-end;
}

.footer-giant-contact {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.footer-headline-link {
  display: inline-block;
  font-size: var(--step-display);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.03em;
  color: var(--accent);
  text-decoration: none;
  transition: color var(--t-hover) ease;
}

.footer-meta-bar {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
  align-items: end;
}

.footer-links-group {
  grid-column: 1 / 5;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-legal-group {
  grid-column: 5 / 13;
  color: var(--muted);
  font-size: var(--step-body);
}

/* ==========================================================================
   MOTION LAYER & INTERACTION STATES
   ========================================================================== */
@media (hover: hover) and (pointer: fine) {
  .nav-link:hover {
    text-decoration-color: var(--accent);
    color: var(--accent);
  }
  .nav-cta:hover,
  .btn-matrix:hover {
    background-color: var(--accent-strong);
  }
  .btn-matrix--dark:hover {
    background-color: var(--surface-1);
    color: var(--accent);
  }
  .btn-secondary-flat:hover,
  .btn-copy-sku:hover,
  .vram-preset-btn:hover {
    background-color: var(--accent);
    color: var(--ink-on-accent);
  }
  .spec-row:hover {
    background-color: var(--surface-2);
  }
  .usecase-tile:hover {
    background-color: var(--surface-2);
  }
  .footer-headline-link:hover {
    color: var(--ink);
  }
}

.nav-cta:active,
.btn-matrix:active,
.btn-secondary-flat:active,
.btn-copy-sku:active,
.vram-preset-btn:active {
  transform: scale(0.98);
}

/* Load Sequence & Shutter Image (Signature Move) */
.lines .line {
  display: block;
  overflow: clip;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.lines [data-line] {
  display: block;
}

@media (prefers-reduced-motion: no-preference) {
  .js .hero-title [data-line] {
    transform: translateY(105%);
    animation: load-line 800ms var(--ease-expo) forwards;
    animation-delay: calc(80ms + var(--i, 0) * var(--stagger-line));
  }
  .js [data-load] {
    opacity: 0;
    transform: translateY(16px);
    animation: load-rise 550ms var(--ease-out) forwards;
    animation-delay: var(--d, 260ms);
  }
  .js .shutter {
    clip-path: inset(0 0 100% 0);
    animation: shutter-open 1050ms var(--ease-in-out) 140ms forwards;
  }
  .js .shutter img {
    transform: scale(1.1);
    animation: shutter-settle 1200ms var(--ease-expo) 120ms forwards;
  }
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 650ms var(--ease-out), transform 800ms var(--ease-expo);
    transition-delay: calc(var(--stagger, 0) * var(--stagger-item));
  }
  .js [data-reveal].is-in {
    opacity: 1;
    transform: none;
  }
}

@keyframes load-line {
  to { transform: none; }
}

@keyframes load-rise {
  to { opacity: 1; transform: none; }
}

@keyframes shutter-open {
  to { clip-path: inset(0); }
}

@keyframes shutter-settle {
  to { transform: none; }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .drift-photo {
      animation: photo-drift linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
    @keyframes photo-drift {
      from { transform: scale(1.06) translateY(-2.5%); }
      to { transform: scale(1.06) translateY(2.5%); }
    }
  }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Tablet 768px & Phone 390px)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-copy-col,
  .hero-visual-col,
  .why-main-col,
  .why-photos-col,
  .specs-media-col,
  .specs-list-col,
  .usecases-intro-col,
  .usecases-grid-col,
  .warning-copy-col,
  .warning-photo-col,
  .pricing-details-col,
  .pricing-actions-col,
  .faq-title-col,
  .faq-accordion-col,
  .footer-notes-col,
  .footer-backtop-col,
  .footer-links-group,
  .footer-legal-group {
    grid-column: 1 / -1;
  }

  .specs-media-col,
  .faq-title-col {
    position: static;
  }

  .nav-links {
    display: none;
  }

  .why-photos-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  :root {
    --step-display: clamp(1.85rem, 7.6vw, 2.55rem);
    --step-h2: clamp(1.55rem, 6.4vw, 2.15rem);
    --step-h3: clamp(1.125rem, 4.4vw, 1.3rem);
    --step-lead: 1.0625rem;
    --step-body: 1rem;
    --margin: 1.125rem;
  }

  .nav-links {
    display: none;
  }

  .trust-strip,
  .usecases-tiles,
  .vram-metrics-row,
  .warning-slots-grid,
  .pricing-included-list,
  .order-form-row,
  .footer-notes-col,
  .why-photos-col {
    grid-template-columns: 1fr;
  }

  .stair-line--2 { padding-left: 3vw; }
  .stair-line--3 { padding-left: 6vw; }
  .stair-line--4 { padding-left: 9vw; }

  .btn-matrix,
  .btn-secondary-flat {
    width: 100%;
  }
}
