/* =====================================================================
   YANK KEYS RIG – MAINSTAGE EDITION — Landing Page Stylesheet
   Design tokens live at the top. Change colors/fonts here in one place.
   ===================================================================== */

:root{
  /* ---- Color tokens ---- */
  --bg:            #0a0a0b;
  --bg-raised:     #121215;
  --surface:       #17171b;
  --surface-line:  #26262c;
  --text:          #f5f5f7;
  --text-muted:    #9a9aa4;
  --text-dim:      #616168;

  --red:    #ff3b30;
  --yellow: #ffd60a;
  --green:  #30d158;
  --blue:   #0a84ff;

  /* ---- Type ---- */
  --font-display: 'Archivo Black', 'Arial Black', sans-serif;
  --font-body:    'Space Grotesk', -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* ---- Layout ---- */
  --container: 1120px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

/* =====================================================================
   RESET
   ===================================================================== */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
button{ font-family: inherit; }

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

/* =====================================================================
   SHARED
   ===================================================================== */
.section-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 18px;
}
.eyebrow-center{ display: flex; justify-content: center; text-align: center; }
.dot{ width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.dot-red{ background: var(--red); box-shadow: 0 0 10px var(--red); }
.dot-yellow{ background: var(--yellow); box-shadow: 0 0 10px var(--yellow); }
.dot-green{ background: var(--green); box-shadow: 0 0 10px var(--green); }
.dot-blue{ background: var(--blue); box-shadow: 0 0 10px var(--blue); }

.section-title{
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}
.problem .section-title,
.features .section-title,
.demo .section-title,
.who .section-title,
.testimonials .section-title,
.requirements .section-title,
.offer .section-title,
.faq .section-title{
  text-align: center;
}
.section-sub{
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.grad-text{
  background: linear-gradient(90deg, var(--red) 0%, var(--yellow) 35%, var(--green) 65%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 18px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn-primary{
  background: linear-gradient(90deg, var(--red), var(--yellow));
  color: #0a0a0b;
  box-shadow: 0 8px 30px -8px rgba(255, 59, 48, 0.5);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 12px 34px -6px rgba(255, 59, 48, 0.65); }
.btn-large{ padding: 20px 40px; font-size: 14px; width: 100%; }
.btn-ghost{
  background: transparent;
  color: var(--text);
  border: 1px solid var(--surface-line);
}
.btn-ghost:hover{ border-color: var(--text-muted); background: var(--surface); }
.btn-ghost svg{ color: var(--yellow); }

/* =====================================================================
   SIGNATURE ELEMENT — fixed side channel-strip meter
   ===================================================================== */
.rig-meter{
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 5;
  pointer-events: none;
  opacity: 0.5;
}
.rig-meter span{
  width: 3px;
  border-radius: 2px;
  background: var(--surface-line);
  animation: meter-pulse 2.4s ease-in-out infinite;
}
.rig-meter span:nth-child(1){ height: 14px; background: var(--red);    animation-delay: 0s;   }
.rig-meter span:nth-child(2){ height: 22px; background: var(--yellow); animation-delay: .25s; }
.rig-meter span:nth-child(3){ height: 34px; background: var(--green);  animation-delay: .5s;  }
.rig-meter span:nth-child(4){ height: 20px; background: var(--blue);   animation-delay: .75s; }
.rig-meter span:nth-child(5){ height: 30px; background: var(--red);    animation-delay: 1s;   }
.rig-meter span:nth-child(6){ height: 16px; background: var(--yellow); animation-delay: 1.25s;}
@keyframes meter-pulse{
  0%, 100%{ transform: scaleY(0.5); opacity: 0.5; }
  50%{ transform: scaleY(1); opacity: 1; }
}
@media (max-width: 900px){ .rig-meter{ display: none; } }

/* =====================================================================
   NAV
   ===================================================================== */
.nav{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,10,11,0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--surface-line);
}
.nav-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}
.brand{ display: flex; align-items: baseline; gap: 8px; }
.brand-mark{
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.02em;
}
.brand-sub{
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  display: none;
}
@media (min-width: 640px){ .brand-sub{ display: inline; } }

.nav-links{
  display: none;
  gap: 28px;
  font-size: 14px;
  color: var(--text-muted);
}
.nav-links a{ transition: color 0.2s ease; }
.nav-links a:hover{ color: var(--text); }
@media (min-width: 860px){ .nav-links{ display: flex; } }

/* Mobile hamburger toggle */
.nav-toggle{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span{
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity: 0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 860px){ .nav-toggle{ display: none; } }

@media (max-width: 859px){
  .nav-links{
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10,10,11,0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--surface-line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-links.open{ display: flex; max-height: 320px; }
  .nav-links a{
    padding: 16px 24px;
    border-top: 1px solid var(--surface-line);
    font-size: 15px;
  }
}

.nav-cta{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--text);
  color: var(--bg);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease;
}
.nav-cta:hover{ transform: translateY(-1px); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero{
  position: relative;
  padding: 72px 24px 40px;
  display: grid;
  gap: 48px;
  overflow: hidden;
}
.hero-glow{
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 620px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,59,48,0.18), transparent 55%),
    radial-gradient(circle at 70% 40%, rgba(10,132,255,0.16), transparent 55%),
    radial-gradient(circle at 50% 70%, rgba(48,209,88,0.12), transparent 55%);
  filter: blur(30px);
  pointer-events: none;
}
.hero-inner{
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  position: relative;
  text-align: center;
}
.hero-title{
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
}
.hero-sub{
  max-width: 600px;
  margin: 0 auto 36px;
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
}
.hero-ctas{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
}
.hero-trust{
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

.hero-visual{
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  position: relative;
}
.hero-product-frame{
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-line);
  background: linear-gradient(180deg, var(--bg-raised), var(--bg));
  padding: 10px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.8);
}
.hero-product-img{
  position: relative;
  border-radius: calc(var(--radius-lg) - 6px);
  width: 100%;
  height: auto;
  object-fit: cover;
}
.fake-ui{ width: 82%; }
.fake-ui-bar{
  height: 10px;
  width: 40%;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--red), var(--yellow), var(--green), var(--blue));
  margin-bottom: 18px;
  opacity: 0.85;
}
.fake-ui-rows{ display: grid; gap: 10px; }
.fake-row{ height: 34px; border-radius: 8px; background: var(--bg-raised); border: 1px solid var(--surface-line); }
.fake-row::after{ content:""; }
.fake-row.r1{ width: 100%; border-left: 3px solid var(--red); }
.fake-row.r2{ width: 92%; border-left: 3px solid var(--yellow); }
.fake-row.r3{ width: 96%; border-left: 3px solid var(--green); }
.fake-row.r4{ width: 88%; border-left: 3px solid var(--blue); }
.placeholder-label{
  position: absolute;
  bottom: 14px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-transform: uppercase;
}

@media (min-width: 860px){
  .hero{ padding-top: 96px; }
}

/* =====================================================================
   PROBLEM SECTION
   ===================================================================== */
.problem{ padding: 96px 0 40px; }
.problem-grid{
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px){ .problem-grid{ grid-template-columns: repeat(3, 1fr); } }

.problem-card{
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.problem-card:hover{ transform: translateY(-4px); }
.problem-card h3{ font-size: 1.15rem; margin: 18px 0 8px; }
.problem-card p{ color: var(--text-muted); margin: 0; font-size: 0.95rem; }
.card-icon{ width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }

.problem-card[data-accent="red"] .card-icon{ background: rgba(255,59,48,0.12); color: var(--red); }
.problem-card[data-accent="yellow"] .card-icon{ background: rgba(255,214,10,0.12); color: var(--yellow); }
.problem-card[data-accent="green"] .card-icon{ background: rgba(48,209,88,0.12); color: var(--green); }
.problem-card[data-accent="red"]:hover{ border-color: var(--red); }
.problem-card[data-accent="yellow"]:hover{ border-color: var(--yellow); }
.problem-card[data-accent="green"]:hover{ border-color: var(--green); }

/* =====================================================================
   FEATURES
   ===================================================================== */
.features{ padding: 96px 0; }
.features .section-title{ text-align: center; }
.feature-grid{
  display: grid;
  gap: 1px;
  background: var(--surface-line);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  grid-template-columns: 1fr;
}
@media (min-width: 700px){ .feature-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px){ .feature-grid{ grid-template-columns: repeat(3, 1fr); } }

.feature-item{
  background: var(--surface);
  padding: 30px 26px;
  position: relative;
}
.feature-item::before{
  content:"";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
}
.feature-item[data-accent="red"]::before{ background: var(--red); }
.feature-item[data-accent="yellow"]::before{ background: var(--yellow); }
.feature-item[data-accent="green"]::before{ background: var(--green); }
.feature-item[data-accent="blue"]::before{ background: var(--blue); }
.feature-item h3{ font-size: 1.05rem; margin: 0 0 10px; }
.feature-item p{ color: var(--text-muted); font-size: 0.92rem; margin: 0; }

/* =====================================================================
   DEMO
   ===================================================================== */
.demo{ padding: 96px 0; }
.video-frame{
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-line);
  padding: 10px;
  background: var(--bg-raised);
}
.video-placeholder, .video-frame iframe, .video-frame video{
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--radius-lg) - 6px);
  border: none;
  background: #000;
}
.video-placeholder{
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  cursor: pointer;
}
.play-btn{
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--yellow));
  display: flex; align-items: center; justify-content: center;
  color: #0a0a0b;
  transition: transform 0.2s ease;
}
.video-placeholder:hover .play-btn{ transform: scale(1.08); }
.video-placeholder span{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* =====================================================================
   WHO IT'S FOR
   ===================================================================== */
.who{ padding: 96px 0; }
.who-grid{
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px){ .who-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px){ .who-grid{ grid-template-columns: repeat(3, 1fr); } }

.who-card{
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-md);
  padding: 28px;
  background: linear-gradient(180deg, var(--surface), var(--bg-raised));
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.who-card:hover{ transform: translateY(-4px); }
.who-index{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.who-card h3{ font-size: 1.1rem; margin: 10px 0 8px; }
.who-card p{ color: var(--text-muted); font-size: 0.92rem; margin: 0; }

.who-card[data-accent="red"]:hover{ border-color: var(--red); }
.who-card[data-accent="yellow"]:hover{ border-color: var(--yellow); }
.who-card[data-accent="green"]:hover{ border-color: var(--green); }
.who-card[data-accent="blue"]:hover{ border-color: var(--blue); }

/* =====================================================================
   TESTIMONIALS
   ===================================================================== */
.testimonials{ padding: 96px 0; }
.testimonial-grid{
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px){ .testimonial-grid{ grid-template-columns: repeat(3, 1fr); } }

.testimonial-card{
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  border-top: 3px solid transparent;
}
.testimonial-card[data-accent="red"]{ border-top-color: var(--red); }
.testimonial-card[data-accent="blue"]{ border-top-color: var(--blue); }
.testimonial-card[data-accent="green"]{ border-top-color: var(--green); }
.quote{ font-size: 0.98rem; color: var(--text); margin: 0; }
.quote-fire{ font-size: 2rem; line-height: 1; }
.testimonial-footer{ display: flex; align-items: center; gap: 12px; }
.avatar{
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-raised);
  border: 1px solid var(--surface-line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}
.name{ margin: 0; font-size: 0.9rem; font-weight: 600; }
.role{ margin: 0; font-size: 0.8rem; color: var(--text-dim); }

.testimonial-media{ align-items: stretch; padding: 0; overflow: hidden; }
.screenshot-placeholder{
  flex: 1;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(135deg, var(--bg-raised) 0 10px, var(--surface) 10px 20px);
  text-align: center;
  padding: 20px;
}
.screenshot-placeholder span{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* =====================================================================
   SYSTEM REQUIREMENTS
   ===================================================================== */
.requirements{ padding: 96px 0; }
.req-grid{
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  margin-bottom: 32px;
}
@media (min-width: 760px){ .req-grid{ grid-template-columns: repeat(3, 1fr); } }

.req-card{
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  border-top: 3px solid transparent;
}
.req-card[data-accent="blue"]{ border-top-color: var(--blue); }
.req-card[data-accent="green"]{ border-top-color: var(--green); }
.req-card[data-accent="red"]{ border-top-color: var(--red); }
.req-card h3{ font-size: 1.05rem; margin: 0 0 16px; }
.req-list{ display: grid; gap: 10px; }
.req-list li{
  position: relative;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}
.req-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-dim);
}

.req-note{
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-md);
  background: var(--bg-raised);
  padding: 24px 28px;
}
.req-note p{
  margin: 0 0 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.req-note p:last-child{ margin-bottom: 0; }
.req-note strong{ color: var(--text); }

/* =====================================================================
   OFFER
   ===================================================================== */
.offer{ position: relative; padding: 110px 0; overflow: hidden; }
.offer-glow{
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255,59,48,0.14), transparent 60%);
  pointer-events: none;
}
.offer-inner{ position: relative; }
.offer-card{
  max-width: 460px;
  margin: 0 auto;
  background: var(--bg-raised);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 40px 90px -40px rgba(0,0,0,0.9);
}
.offer-list{
  display: grid;
  gap: 14px;
  margin-bottom: 32px;
  text-align: left;
}
.offer-list li{ display: flex; align-items: center; gap: 12px; font-size: 1rem; }
.check{ font-weight: 700; }
.check-red{ color: var(--red); }
.check-yellow{ color: var(--yellow); }
.check-green{ color: var(--green); }
.check-blue{ color: var(--blue); }
.offer-note{
  margin: 16px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}

/* =====================================================================
   FAQ
   ===================================================================== */
.faq{ padding: 96px 0 120px; }
.faq-list{ max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item{
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
}
.faq-question{
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
}
.faq-toggle{
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--text-muted);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.open .faq-toggle{ transform: rotate(45deg); color: var(--yellow); }
.faq-answer{
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer p{
  margin: 0;
  padding: 0 22px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer{
  border-top: 1px solid var(--surface-line);
  padding: 48px 0 24px;
}
.footer-inner{
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 28px;
}
.footer-tag{
  margin: 8px 0 0;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.footer-social{ display: flex; gap: 20px; }
.footer-social a{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.footer-social a:hover{ color: var(--text); }
.footer-bottom{
  border-top: 1px solid var(--surface-line);
  padding-top: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}

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

/* Keyboard focus visibility */
a:focus-visible, button:focus-visible{
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

/* =====================================================================
   BACK TO TOP
   ===================================================================== */
.back-to-top{
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,0.7);
}
.back-to-top.visible{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover{ transform: translateY(-3px); }
@media (max-width: 900px){
  .back-to-top{ right: 16px; bottom: 16px; width: 44px; height: 44px; }
}
