/* ==========================================================================
   Devora Digital - Dark Signal Design System
   ========================================================================== */

:root {
  /* Ground */
  --void: #0B0A14;
  --deep: #14101F;
  --panel: #1C1730;
  --panel-2: #241C3B;
  --hair: rgba(244, 241, 251, 0.12);
  --hair-strong: rgba(244, 241, 251, 0.24);

  /* Ink */
  --ink: #F4F1FB;
  --ink-muted: #ACA3C9;
  --ink-faint: #766D93;

  /* Accent */
  --violet: #8B5CF6;
  --violet-strong: #7C3AED;
  --violet-deep: #4C1D95;
  --glow: #C084FC;
  --glow-shadow: rgba(139, 92, 246, 0.45);

  /* Semantic */
  --success-bg: rgba(34, 197, 94, 0.14);
  --success-ink: #4ADE80;
  --danger: #F87171;
  --danger-bg: rgba(248, 113, 113, 0.12);

  /* Type */
  --font-sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Iowan Old Style", "Times New Roman", Times, serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  /* Spacing (8px scale) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --space-32: 128px;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --content-max: 1280px;
  --side-pad: 24px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 768px) {
  :root { --side-pad: 48px; }
}
@media (min-width: 1024px) {
  :root { --side-pad: 64px; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--void);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--violet); color: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

h1, h2, h3, h4 {
  margin: 0 0 var(--space-4);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink);
}
p { margin: 0 0 var(--space-4); line-height: 1.6; color: var(--ink-muted); }

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding-left: var(--side-pad);
  padding-right: var(--side-pad);
}

section { position: relative; padding: var(--space-16) 0; }
@media (min-width: 768px) {
  section { padding: var(--space-24) 0; }
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  color: var(--violet);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.section-head {
  max-width: 640px;
  margin: 0 auto var(--space-12);
  text-align: center;
}
.section-head h2 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.9rem, 3.4vw, 2.7rem); text-wrap: balance; }
.section-head p { color: var(--ink-muted); font-size: 1.05rem; }

/* ---------- Fixed shader ground ---------- */
.bg-shader {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  display: block;
  background: var(--void);
}
.bg-scrim {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 5, 12, 0.6) 0%, rgba(6, 5, 12, 0.32) 40%, transparent 62%),
    radial-gradient(ellipse 900px 560px at 16% 30%, rgba(6, 5, 12, 0.55), transparent 68%),
    linear-gradient(180deg, rgba(11, 10, 20, 0.15) 0%, rgba(11, 10, 20, 0.5) 68%, var(--void) 100%);
}

/* ---------- Panels (formerly "glass") ---------- */
.glass-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--hair);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.glass-card--hover:hover {
  transform: translateY(-4px);
  border-color: var(--hair-strong);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(139, 92, 246, 0.3);
}
.glass-card--sheen { overflow: hidden; }
.glass-card--sheen::before {
  content: "";
  position: absolute;
  top: -60%;
  left: -20%;
  width: 60%;
  height: 220%;
  background: linear-gradient(120deg, rgba(192, 132, 252, 0) 0%, rgba(192, 132, 252, 0.16) 50%, rgba(192, 132, 252, 0) 100%);
  transform: rotate(12deg);
  pointer-events: none;
}
.glass-card > * { position: relative; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--violet), var(--violet-strong));
  color: #fff;
  box-shadow: 0 4px 24px var(--glow-shadow);
}
.btn--primary:hover { transform: scale(1.02); box-shadow: 0 8px 32px var(--glow-shadow); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--hair-strong);
}
.btn--ghost:hover { background: rgba(244, 241, 251, 0.06); border-color: var(--violet); }
.btn--sm { padding: 10px 20px; font-size: 0.85rem; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.nav-link:focus-visible {
  outline: 2px solid var(--glow);
  outline-offset: 3px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4);
  background: rgba(11, 10, 20, 0.4);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav--scrolled .nav-inner {
  background: rgba(11, 10, 20, 0.78);
  border-bottom-color: var(--hair);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  font-size: 1.05rem;
}
.brand-icon { width: 32px; height: 32px; flex-shrink: 0; }
.brand-word { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; }

.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-8);
}
.nav-link {
  position: relative;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ink-muted);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  transition: color 0.2s var(--ease);
}
.nav-link:hover { color: var(--ink); }
.nav-link::after {
  content: "";
  position: absolute;
  left: var(--space-2);
  right: var(--space-2);
  bottom: -2px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--violet), var(--glow));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--ink); }
.nav-mobile .nav-link::after { display: none; }
.nav-mobile .nav-link.is-active { color: var(--ink); background: var(--panel-2); }

.nav-actions { display: flex; align-items: center; gap: var(--space-3); }
.nav-cta { display: none; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--hair);
  background: rgba(244, 241, 251, 0.04);
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav--open .nav-toggle span { background: transparent; }
.nav--open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav--open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-4);
  background: rgba(20, 16, 31, 0.97);
  border-bottom: 1px solid var(--hair);
}
.nav--open .nav-mobile { display: flex; }
.nav-mobile .nav-link { padding: var(--space-3) var(--space-2); font-size: 1rem; }
.nav-mobile .btn { margin-top: var(--space-2); }

@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  padding-top: var(--space-12);
  padding-bottom: var(--space-24);
}
.hero-inner {
  display: grid;
  gap: var(--space-16);
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1.05fr 0.95fr; }
}
.hero-copy h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  text-wrap: balance;
}
.hero-copy h1 em,
.page-banner h1 em { font-style: italic; color: var(--glow); }
.hero-copy .lede {
  font-size: 1.1rem;
  color: var(--ink-muted);
  max-width: 540px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-8); }
.hero-ctas .btn svg { width: 18px; height: 18px; stroke: currentColor; }
.hero-demo-note {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin: var(--space-3) 0 var(--space-8);
}
.hero-demo-note a {
  color: var(--glow);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.trust-pill {
  font-family: var(--font-mono);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--hair);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.hero-visual { position: relative; min-height: 340px; }
.hero-panel {
  padding: var(--space-6);
  position: absolute;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-panel--browser { animation: float-a 7s ease-in-out infinite; }
  .hero-panel--chat { animation: float-b 8s ease-in-out infinite; }
}
@keyframes float-a {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes float-b {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
.hero-panel--browser {
  top: 0;
  left: 0;
  width: 82%;
  padding: 0;
  overflow: hidden;
}
.browser-bar {
  display: flex;
  gap: 6px;
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--hair);
}
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--hair-strong); }
.browser-body { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); }
.browser-line { height: 12px; border-radius: var(--radius-pill); background: var(--panel-2); }
.browser-line--full { width: 100%; }
.browser-line--md { width: 70%; }
.browser-line--sm { width: 45%; }
.browser-block { height: 90px; border-radius: var(--radius-sm); background: linear-gradient(135deg, var(--violet), var(--violet-strong)); opacity: 0.9; margin-top: var(--space-2); }

.hero-panel--chat {
  bottom: 0;
  right: 0;
  width: 62%;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.chat-row { display: flex; gap: var(--space-2); align-items: flex-start; }
.chat-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--violet-strong));
  flex-shrink: 0;
}
.chat-bubble {
  background: var(--panel-2);
  border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-3);
  font-size: 0.85rem;
  color: var(--ink);
  border: 1px solid var(--hair);
}
.chat-status {
  font-family: var(--font-mono);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--glow);
}
.chat-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success-ink);
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
  max-width: 780px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
.service-card { padding: var(--space-8); }
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--panel-2);
  margin-bottom: var(--space-4);
}
.service-icon svg { width: 24px; height: 24px; stroke: var(--glow); }
.service-card h3 { font-size: 1.2rem; font-weight: 600; }
.service-list { display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-4); }
.service-list li { display: flex; gap: var(--space-2); font-size: 0.9rem; color: var(--ink-muted); align-items: flex-start; }
.service-list svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; stroke: var(--violet); }

/* ---------- About ---------- */
.about-inner {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}
@media (min-width: 1024px) {
  .about-inner { grid-template-columns: 1fr 1fr; }
}
.about-stats { display: grid; gap: var(--space-4); grid-template-columns: repeat(2, 1fr); }
.stat-chip { padding: var(--space-6); text-align: center; }
.stat-chip .num { display: block; font-family: var(--font-serif); font-size: 2rem; color: var(--glow); }
.stat-chip .label { font-size: 0.82rem; color: var(--ink-muted); }

/* ---------- Page banner (About / Contact) ---------- */
.page-banner { padding-top: var(--space-16); padding-bottom: var(--space-8); text-align: center; }
.page-banner .container { max-width: 760px; }
.page-banner h1 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2.1rem, 4.4vw, 3.2rem); text-wrap: balance; }

/* ---------- Process (How We Work) ---------- */
.process-grid {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: 1fr;
  position: relative;
}
@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }
  .process-grid::before {
    content: "";
    position: absolute;
    top: 34px;
    left: 16.5%;
    right: 16.5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--hair-strong), transparent);
    z-index: 0;
  }
}
.process-step { padding: var(--space-8); position: relative; z-index: 1; }
.process-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--panel-2);
  border: 1px solid var(--hair-strong);
  color: var(--glow);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.05rem;
  margin-bottom: var(--space-4);
}
.process-step h3 { font-size: 1.15rem; font-weight: 600; }
.process-step .process-tagline { font-weight: 500; color: var(--glow); font-size: 0.88rem; margin-bottom: var(--space-3); }
.process-step ul { display: flex; flex-direction: column; gap: var(--space-2); }
.process-step li { display: flex; gap: var(--space-2); font-size: 0.87rem; color: var(--ink-muted); align-items: flex-start; }
.process-step svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; stroke: var(--violet); }

/* ---------- CTA band ---------- */
.cta-band { padding: var(--space-12) 0; }
.cta-card {
  padding: var(--space-16) var(--space-8);
  text-align: center;
  background: linear-gradient(135deg, var(--violet-deep), var(--violet-strong));
  border-radius: var(--radius-lg);
  color: #fff;
  box-shadow: 0 24px 70px var(--glow-shadow);
}
.cta-card h2 { font-family: var(--font-serif); font-weight: 400; color: #fff; }
.cta-card p { color: rgba(255, 255, 255, 0.82); max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-card .btn--primary { background: #fff; color: var(--violet-strong); box-shadow: 0 4px 24px rgba(0,0,0,0.25); }
.cta-card .btn--primary:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.cta-card .btn--ghost { border-color: rgba(255,255,255,0.4); color: #fff; }
.cta-card .btn--ghost:hover { background: rgba(255,255,255,0.12); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-4); margin-top: var(--space-6); }

/* ---------- Values (About) ---------- */
.values-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
  margin-top: var(--space-12);
}
@media (min-width: 768px) {
  .values-grid { grid-template-columns: repeat(3, 1fr); }
}
.value-card { padding: var(--space-8); }
.value-card h3 { font-size: 1.1rem; font-weight: 600; }

/* ---------- Scroll-reveal stagger ---------- */
.services-grid > .reveal:nth-child(2),
.process-grid > .reveal:nth-child(2),
.values-grid > .reveal:nth-child(2),
.about-stats > .reveal:nth-child(2) { transition-delay: 0.1s; }
.services-grid > .reveal:nth-child(3),
.process-grid > .reveal:nth-child(3),
.values-grid > .reveal:nth-child(3),
.about-stats > .reveal:nth-child(3) { transition-delay: 0.2s; }
.about-stats > .reveal:nth-child(4) { transition-delay: 0.3s; }

/* ---------- Section grounding ---------- */
.hero, .page-banner { background: transparent; }
#services, #about { background: var(--void); }
#process, #values { background: var(--deep); }
.cta-band { background: var(--deep); }
#story { background: var(--void); }
#contact { background: var(--void); }

/* ---------- Contact ---------- */
.contact-inner {
  display: grid;
  gap: var(--space-8);
}
@media (min-width: 1024px) {
  .contact-inner { grid-template-columns: 1.2fr 0.8fr; }
}
.contact-form-card { padding: var(--space-8); }
.form-row { display: grid; gap: var(--space-4); margin-bottom: var(--space-4); }
@media (min-width: 640px) {
  .form-row--split { grid-template-columns: 1fr 1fr; }
}
.field { display: flex; flex-direction: column; gap: var(--space-1); }
.field label { font-size: 0.85rem; font-weight: 500; color: var(--ink-muted); }
.field input,
.field select,
.field textarea {
  padding: 12px var(--space-4);
  border-radius: var(--radius-sm);
  border: 1px solid var(--hair);
  background: var(--panel-2);
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-faint); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.22);
  outline: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field-error {
  font-size: 0.78rem;
  color: var(--danger);
  min-height: 1em;
}
.field[data-invalid="true"] input,
.field[data-invalid="true"] select,
.field[data-invalid="true"] textarea {
  border-color: var(--danger);
}

.form-status {
  margin-top: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}
.form-status--success { display: block; background: var(--success-bg); color: var(--success-ink); }
.form-status--error { display: block; background: var(--danger-bg); color: var(--danger); }

.contact-info-card { padding: var(--space-8); display: flex; flex-direction: column; gap: var(--space-6); height: fit-content; }
.contact-info-row { display: flex; gap: var(--space-3); align-items: flex-start; }
.contact-info-row svg { width: 22px; height: 22px; stroke: var(--violet); flex-shrink: 0; margin-top: 2px; }
.contact-info-row h4 { margin: 0 0 4px; font-size: 0.95rem; font-weight: 600; }
.contact-info-row p { margin: 0; font-size: 0.9rem; }
.contact-info-row a { color: var(--glow); }

/* ---------- Footer ---------- */
.footer {
  background: var(--void);
  color: var(--ink-muted);
  padding: var(--space-16) 0 var(--space-8);
  margin-top: var(--space-24);
  border-top: 1px solid var(--hair);
}
.footer-inner {
  display: grid;
  gap: var(--space-12);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--hair);
  margin-bottom: var(--space-6);
}
@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-brand .brand-icon { width: 36px; height: 36px; }
.footer-brand { display: flex; flex-direction: column; gap: var(--space-4); }
.footer-brand-row { display: flex; align-items: center; gap: var(--space-2); color: var(--ink); }
.footer-brand p { color: var(--ink-muted); max-width: 320px; margin: 0; }
.footer-col h4 { font-family: var(--font-mono); color: var(--ink); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--space-4); font-weight: 500; }
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-2); }
.footer-col a { color: var(--ink-muted); font-size: 0.92rem; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--glow); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--ink-faint);
}

.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: -60px;
  left: var(--space-4);
  z-index: 200;
  background: var(--violet-strong);
  color: #fff;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm);
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: var(--space-4);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .glass-card, .btn { transition: none; }
  .hero-panel--browser, .hero-panel--chat { animation: none; }
}
