/* ==========================================================================
   LancVIP — "Circuit Signal" design system (homepage v2)
   ========================================================================== */

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

:root {
  --ink: #12172B;
  --ink-soft: #3A4058;
  --paper: #F3F4EF;
  --paper-raised: #FBFBF8;
  --surface: #FFFFFF;
  --signal: #FF5A1F;
  --signal-ink: #C23F0F;
  --signal-soft: rgba(255, 90, 31, 0.1);
  --signal-soft-2: rgba(255, 90, 31, 0.22);
  --line: #DEDBD1;
  --line-strong: #C7C3B6;
  --muted: #5B6470;

  --font-display: 'Unbounded', 'Manrope', sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --content-width: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.container {
  width: min(calc(100% - 2.5rem), var(--content-width));
  margin-inline: auto;
}

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

/* Focus visibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--signal-ink);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===== Mono / eyebrow utilities ===== */
.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal-ink);
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 3px var(--signal-soft);
  flex-shrink: 0;
}

/* ===== HEADER ===== */
.hdr {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(243, 244, 239, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.hdr.is-scrolled {
  border-bottom-color: var(--line);
}

.hdr-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.hdr-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.hdr-brand img { height: 34px; width: 34px; }

.hdr-brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.1;
}

.hdr-brand-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 2px;
}

.hdr-nav {
  display: flex;
  align-items: center;
  gap: 2.1rem;
}

.hdr-nav a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 0.3rem 0;
  transition: color 0.2s ease;
}

.hdr-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hdr-nav a:hover { color: var(--ink); }
.hdr-nav a:hover::after,
.hdr-nav a[aria-current="page"]::after { transform: scaleX(1); }

.hdr-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hdr-burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.hdr-burger span {
  width: 16px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hdr-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hdr-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hdr-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 66px 0 0 0;
  z-index: 99;
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 1.5rem 1.25rem;
  flex-direction: column;
  gap: 0.2rem;
}

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

.mobile-nav a {
  padding: 1rem 0.25rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.mobile-nav .btn-group { margin-top: 1.4rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 700;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.btn-signal {
  background: var(--signal);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(18,23,43,0.08);
}

.btn-signal:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(255, 90, 31, 0.32);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-outline:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn-group { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 4.5rem 0 3rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy { min-width: 0; }
.hero-stage { min-width: 0; }
.hero-copy .eyebrow { margin-bottom: 1.4rem; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 4.6vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
  color: var(--ink);
}

.hero-title em {
  font-style: normal;
  color: var(--signal-ink);
  background: linear-gradient(transparent 62%, var(--signal-soft-2) 62%);
}

.hero-text {
  margin-top: 1.4rem;
  max-width: 46ch;
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.hero-actions { margin-top: 2rem; }

.hero-stats {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 2.2rem;
  max-width: 480px;
}

.hero-stat-num {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.5rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.hero-stat-label {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.78rem;
  color: var(--muted);
}

/* 3D stage */
.hero-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 62% 38%, rgba(255,90,31,0.10), transparent 55%),
    radial-gradient(circle at 30% 70%, rgba(18,23,43,0.05), transparent 50%);
}

.hero-stage canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  touch-action: pan-y;
}

.hero-stage-tag {
  position: absolute;
  left: 50%;
  bottom: 6%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-soft);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  white-space: nowrap;
}

.hero-stage-tag.is-visible { opacity: 1; }

.hero-stage-tag .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--signal);
}

/* ===== SECTION SCAFFOLDING ===== */
.section { padding: 5.5rem 0; }
.section-tight { padding: 3.25rem 0; }

.section-head {
  max-width: 640px;
  margin-bottom: 2.6rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  letter-spacing: -0.01em;
  line-height: 1.12;
  margin-top: 0.9rem;
  text-wrap: balance;
}

.section-head p {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 60ch;
}

.trace-divider {
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 11px);
}

/* ===== CATALOG (services list) ===== */
.catalog { border-top: 1px solid var(--line); }

.catalog-row {
  display: grid;
  grid-template-columns: 90px 46px 1fr auto;
  align-items: center;
  gap: 1.4rem;
  padding: 1.6rem 0.5rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease;
}

.catalog-row:hover { background: var(--paper-raised); }

.catalog-code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.catalog-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.catalog-row:hover .catalog-icon {
  border-color: var(--signal);
  background: var(--signal-soft);
  transform: translateY(-2px);
}

.catalog-icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; }

.catalog-body h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.catalog-body p {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.94rem;
  max-width: 56ch;
}

.catalog-tags {
  margin-top: 0.7rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.catalog-tags span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--signal-ink);
  background: var(--signal-soft);
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
}

.catalog-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  transition: transform 0.25s cubic-bezier(0.16,1,0.3,1), border-color 0.25s ease, color 0.25s ease;
}

.catalog-row:hover .catalog-arrow {
  transform: translateX(4px);
  border-color: var(--ink);
  color: var(--ink);
}

/* ===== SPEC SHEET (why lancvip) ===== */
.spec-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.spec-card {
  background: var(--surface);
  padding: 1.9rem 1.7rem;
}

.spec-id {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--signal-ink);
  letter-spacing: 0.05em;
}

.spec-card h3 {
  margin-top: 0.7rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}

.spec-card p {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.93rem;
}

.spec-sheet {
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
}

.spec-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.3rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper-raised);
}

.spec-sheet-head span:first-child {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

.spec-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #1a7f4b;
}

.spec-status .dot {
  width: 6px; height: 6px; border-radius: 50%; background: #22c55e;
  animation: pulseDot 2s ease infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; } 50% { opacity: 0.35; }
}

.spec-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1rem;
  padding: 0.85rem 1.3rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

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

.spec-row dt {
  font-family: var(--font-mono);
  color: var(--muted);
  font-size: 0.8rem;
}

.spec-row dd { color: var(--ink-soft); }

/* ===== CTA BAND ===== */
.cta-band {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 3rem 2.6rem;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band::before, .cta-band::after,
.cta-corner-tl, .cta-corner-br { display: none; }

.cta-band .corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--signal);
}

.cta-band .corner.tl { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.cta-band .corner.br { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  letter-spacing: -0.01em;
  max-width: 22ch;
}

.cta-band p {
  margin-top: 0.7rem;
  color: var(--muted);
  max-width: 46ch;
}

/* ===== PAGE HERO (interior pages) ===== */
.page-hero { padding: 3.75rem 0 3rem; }
.page-hero .eyebrow { margin-bottom: 1.2rem; }

.page-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 20ch;
  overflow-wrap: break-word;
}

.page-lead {
  margin-top: 1.2rem;
  font-size: 1.06rem;
  color: var(--ink-soft);
  max-width: 62ch;
}

.page-meta {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--muted);
}

/* ===== TWO-COLUMN PAGE LAYOUT ===== */
.page-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.6rem;
  align-items: start;
}

.page-split > * { min-width: 0; }

/* ===== INFO / FEATURE CARD GRID ===== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 2), 1fr);
  gap: 1.2rem;
}

.info-card {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.7rem 1.6rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.info-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }

.info-card .catalog-icon { margin-bottom: 0.2rem; }

.info-card .spec-id { display: block; margin-bottom: 0.6rem; }

.info-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.06rem;
  letter-spacing: -0.01em;
  margin-top: 0.9rem;
}

.info-card p {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.94rem;
}

/* ===== STEP LIST (process / timeline) ===== */
.steps { display: flex; flex-direction: column; }

.step {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 1.1rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--line);
}

.step:first-child { padding-top: 0; }
.step:last-child { border-bottom: none; padding-bottom: 0; }

.step-index {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: var(--surface);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--signal-ink);
}

.step h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
}

.step p {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.93rem;
}

/* ===== ASIDE PANEL ===== */
.aside-panel {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 2rem 1.8rem;
}

.aside-panel .eyebrow { margin-bottom: 0.9rem; }

.aside-panel h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  margin-top: 0.3rem;
}

.aside-panel > p {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.check-list {
  margin-top: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.check-list li {
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  margin-top: 0.5rem;
  border-radius: 2px;
  background: var(--signal);
  transform: rotate(45deg);
}

.note-box {
  margin-top: 1.3rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--signal);
  background: var(--signal-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.89rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.note-box strong { color: var(--ink); }

/* ===== FORM ===== */
.form-card {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 2rem 1.9rem;
}

.form-card .eyebrow { margin-bottom: 0.6rem; }

.form-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; gap: 0.5rem; }

.field label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 0.96rem;
  padding: 0.78rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-strong);
  background: var(--paper-raised);
  color: var(--ink);
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea { resize: vertical; min-height: 110px; }

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--signal);
  box-shadow: 0 0 0 3px var(--signal-soft);
}

.form-msg {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
}

.form-msg.success { color: #1a7f4b; }
.form-msg.error { color: var(--signal-ink); }

.contact-side { min-width: 0; display: flex; flex-direction: column; gap: 1.2rem; }

/* ===== LEGAL PAGES ===== */
.legal { max-width: 760px; }

.legal-body {
  margin-top: 2.75rem;
  display: flex;
  flex-direction: column;
}

.legal-section {
  padding: 1.8rem 0;
  border-top: 1px solid var(--line);
}

.legal-section:first-child { padding-top: 0; border-top: none; }

.legal-section h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.legal-section p {
  margin-top: 0.8rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.75;
}

.legal-section ul {
  margin-top: 0.8rem;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal-section li {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.7;
}

.legal-section li::marker { color: var(--signal); }

.legal-section a { color: var(--signal-ink); text-decoration: underline; text-underline-offset: 2px; }

/* ===== FOOTER ===== */
.ftr {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  padding: 3rem 0 2rem;
}

.ftr-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.8fr);
  gap: 2rem;
}

.ftr-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.ftr-brand img { height: 32px; width: 32px; }

.ftr-brand-copy {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
}

.ftr-col p { color: var(--muted); font-size: 0.92rem; margin-top: 0.9rem; max-width: 34ch; }

.ftr-col h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.ftr-col a {
  display: block;
  color: var(--ink-soft);
  font-size: 0.92rem;
  padding: 0.3rem 0;
  transition: color 0.2s ease;
}

.ftr-col a:hover { color: var(--signal-ink); }

.ftr-bottom {
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--muted);
}

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2.5px;
  width: 0%;
  background: var(--signal);
  z-index: 2000;
}

/* ===== REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .catalog-row, .catalog-icon, .catalog-arrow, .hdr-nav a::after { transition: none; }
  .spec-status .dot { animation: none; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { max-width: 480px; margin: 0 auto; aspect-ratio: 4 / 3; }
  .spec-wrap { grid-template-columns: 1fr; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .page-split { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .hdr-inner { min-height: 66px; }
  .hdr-nav { display: none; }
  .hdr-cta .btn-outline { display: none; }
  .hdr-burger { display: flex; }
  .hero { padding-top: 2.5rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .catalog-row {
    grid-template-columns: 40px 1fr;
    grid-template-areas:
      "icon body"
      "code body";
    row-gap: 0.4rem;
  }
  .catalog-icon { grid-area: icon; }
  .catalog-body { grid-area: body; }
  .catalog-code { grid-area: code; }
  .catalog-arrow { display: none; }
  .spec-row { grid-template-columns: 1fr; gap: 0.3rem; }
  .cta-band { padding: 2.2rem 1.6rem; flex-direction: column; align-items: flex-start; }
  .ftr-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .info-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 34px 1fr; gap: 0.9rem; }
  .page-hero { padding-top: 2.5rem; }
}
