:root {
  --nav-height: 72px;
  --yellow: #ffe680;
  --gold: #f1d884;
  --red: #7a0500;
  --brown: #2b1a11;
  --black: #111;
  --hero-intro-duration: 3.4s;
  --bulb-warm: #fff6ce;
  --bulb-hot: #ffb347;
  --bulb-off: rgba(255, 118, 37, 0.35);
}

* {
  box-sizing: border-box;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html,
body {
  margin: 0;
  background: #fffdf5;
  color: var(--brown);
  overflow-x: hidden;
  max-width: 100vw;
  padding-top: var(--nav-height);
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  padding: 16px;
  justify-content: space-between;
  background: rgba(255, 253, 245, 0.95);
  border-bottom: 2px solid var(--black);
  z-index: 20;
  backdrop-filter: blur(10px);
  box-sizing: border-box;
  width: 100%;
  z-index: 30;
}

.site-nav .brand {
  font-family: 'Archivo Black', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--black);
  text-decoration: none;
}

.site-nav .nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  box-sizing: border-box;
}

/* Botão do menu mobile começa oculto no desktop */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
}

.site-nav .nav-links {
  display: flex;
  gap: 16px;
}

.site-nav .nav-links a,
.site-nav .nav-cta {
  text-decoration: none;
  font-weight: 600;
  color: var(--brown);
}

.site-nav .nav-cta {
  border: 2px solid var(--black);
  border-radius: 999px;
  padding: 6px 14px;
}

.language-switcher select {
  border: 2px solid var(--black);
  border-radius: 10px;
  padding: 6px 10px;
  background: #fff;
  font-weight: 600;
  color: var(--brown);
  min-width: 86px;
}

.language-switcher select:focus {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.sponsor-button iframe {
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 64px 8vw 56px;
  background: linear-gradient(120deg, var(--yellow), #fff3c4, #fffdf5);
  border-bottom: 4px solid var(--black);
  position: relative;
  overflow: visible;
  background-size: 140% auto;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.25), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(255, 219, 137, 0.4), transparent 45%);
  mix-blend-mode: screen;
  opacity: 0.9;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 24px;
  border: 1px dashed rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.hero,
.section {
  scroll-margin-top: calc(var(--nav-height) + 12px);
}

.hero-copy {
  max-width: min(520px, 100%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.hero-copy-shaken {
  transform: rotate(-1.8deg) translate(-4px, 6px);
  transform-origin: left top;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.hero-copy .hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.8rem;
  color: var(--red);
  font-weight: 800;
  margin: 0;
}

.hero-copy h1 {
  font-size: 2.6rem;
  margin: 0;
  color: var(--black);
  font-family: 'Archivo Black', sans-serif;
}

.hero-cta {
  display: flex;
  gap: 12px;
  max-width: min(520px, 100%);
}

.developer-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.developer-body {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 12px;
  font-weight: 600;
}

.developer-actions .ghost {
  border: 2px solid var(--black);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  color: var(--black);
  text-decoration: none;
}

.hero-cta a {
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 2px solid var(--black);
}

.primary {
  border: 2px solid var(--black);
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 800;
  background: var(--black);
  color: var(--yellow);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary:hover {
  transform: translateY(-2px) scale(1.01);
}

.primary:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.hero-cta .primary {
  background: var(--black);
  color: var(--yellow);
  animation: ctaPulse 3.2s ease-in-out infinite;
}

.hero-cta .ghost {
  color: var(--black);
}

.hero-cta a:hover {
  transform: translateY(-2px) scale(1.03);
}

.hero-cta a {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero.hero-has-crashed .hero-cta {
  gap: 18px;
  transform: rotate(-1.6deg) translate(-6px, 4px);
}

.hero.hero-has-crashed .hero-cta .primary {
  transform: rotate(-6deg) scale(1.18);
  box-shadow:
    0 16px 28px rgba(0, 0, 0, 0.35),
    0 0 0 4px rgba(0, 0, 0, 0.9);
}

.hero.hero-has-crashed .hero-cta .ghost {
  transform: rotate(2deg) translate(4px, 6px);
}

.hero.hero-has-crashed .hero-cta a:hover {
  transform: translate(-2px, -1px) rotate(-2deg) scale(1.02);
}

.feedback-link {
  border-color: rgba(0, 0, 0, 0.4);
  color: var(--brown);
  font-weight: 600;
}

.feedback-link:hover {
  color: var(--black);
  border-color: var(--black);
}

.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: clamp(280px, 32vw, 540px);
  min-height: clamp(400px, 44vw, 620px);
  overflow: visible;
  padding-bottom: 160px;
  --hero-glow-intensity: 1;
}

.hero-easter-egg {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(360px, 34vw, 600px);
  max-width: none;
  opacity: 1;
  pointer-events: none;
  filter:
    drop-shadow(0 18px 28px rgba(0, 0, 0, 0.42)) drop-shadow(0 48px 70px rgba(0, 0, 0, 0.38)) drop-shadow(0 72px 110px rgba(0, 0, 0, 0.32)) brightness(0.84) saturate(0.94);
  z-index: 1;
}

.hero-sign {
  position: absolute;
  top: 8%;
  left: 50%;
  width: clamp(360px, 34vw, 600px);
  height: clamp(400px, 42vw, 640px);
  transform: translate(-50%, 0) rotate(0deg);
  transform-origin: center top;
  pointer-events: none;
  z-index: 2;
}

.hero-sign-board {
  position: absolute;
  inset: clamp(44px, 4.0vw, 64px);
  border-radius: clamp(76px, 7.1vw, 144px);
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.85), rgba(255, 240, 180, 0.4) 38%, rgba(255, 210, 128, 0) 70%),
    linear-gradient(145deg, #fffcf0 0%, #ffe199 28%, #ffad42 60%, #ff6a18 100%);
  box-shadow:
    0 40px 58px rgba(0, 0, 0, 0.26),
    inset 0 0 70px rgba(255, 255, 255, 0.5),
    inset 0 0 16px rgba(255, 120, 0, 0.24);
  z-index: 3;
  filter: brightness(calc(0.7 + 0.3 * var(--hero-glow-intensity, 1)));
  transition: filter 0.3s ease;
}

.hero-sign-frame+.hero-sign-ring+.hero-sign-bulbs {
  z-index: 4;
}

.hero-sign-frame {
  position: absolute;
  inset: 0;
  border-radius: clamp(98px, 8.6vw, 188px);
  background:
    linear-gradient(128deg, rgba(255, 240, 220, 0.4), transparent 35%),
    linear-gradient(312deg, rgba(255, 180, 120, 0.35), transparent 50%),
    linear-gradient(180deg, #ff8a3d 0%, #ff4d1a 40%, #b51d06 90%);
  box-shadow:
    inset 0 0 26px rgba(50, 10, 0, 0.65),
    inset 0 0 60px rgba(255, 180, 120, 0.2),
    0 26px 45px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(255, 80, 0, 0.4);
  z-index: 0;
}

.hero-sign-ring {
  position: absolute;
  inset: clamp(18px, 1.7vw, 26px);
  border-radius: clamp(86px, 7.8vw, 172px);
  background: linear-gradient(180deg, rgba(255, 220, 150, 0.35), rgba(120, 30, 0, 0.55));
  box-shadow:
    inset 0 0 18px rgba(255, 200, 120, 0.45),
    inset 0 0 8px rgba(70, 20, 0, 0.7);
  z-index: 1;
}

.hero-sign-bulbs {
  position: absolute;
  inset: clamp(24px, 2.2vw, 36px);
  pointer-events: none;
  z-index: 2;
}

.hero-sign-bulbs .bulb {
  position: absolute;
  top: calc(var(--y) * 1%);
  left: calc(var(--x) * 1%);
  width: clamp(24px, 2.45vw, 34px);
  height: clamp(24px, 2.45vw, 34px);
  transform: translate(-50%, -50%) scale(1);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 48%, #fff9d4 0%, #ffd669 45%, #ff962a 78%, rgba(255, 90, 0, 0.45) 96%, rgba(255, 88, 0, 0));
  border: 3px solid rgba(120, 32, 0, 0.85);
  box-shadow:
    0 0 18px rgba(255, 160, 46, 0.65),
    0 0 32px rgba(255, 90, 0, 0.5),
    inset 0 -4px 10px rgba(70, 20, 0, 0.6);
  transition: opacity 0.35s ease, filter 0.35s ease, box-shadow 0.35s ease;
  animation: heroBulbPulse 1.2s ease-in-out infinite;
  animation-delay: var(--bulb-delay, 0s);
}

.hero-sign-bulbs .bulb::before {
  content: '';
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #fffef8 0%, rgba(255, 243, 193, 0.95) 45%, rgba(255, 190, 86, 0.7) 72%, rgba(255, 120, 26, 0.35) 100%);
  box-shadow:
    0 0 24px rgba(255, 217, 153, 0.95),
    0 0 36px rgba(255, 162, 54, 0.92);
}

.hero-sign-bulbs .bulb::after {
  content: '';
  position: absolute;
  inset: 20% 32% 45% 32%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  filter: blur(2px);
  opacity: 0.85;
}

.hero-sign-bulbs .bulb-dim {
  opacity: 0.75;
  filter: saturate(0.9) brightness(0.92);
}

.hero-sign-bulbs .bulb-dim::before {
  box-shadow:
    0 0 14px rgba(255, 210, 140, 0.7),
    0 0 26px rgba(255, 160, 60, 0.55);
}

.hero-sign-bulbs .bulb-dead {
  opacity: 0.45;
  filter: grayscale(0.75);
  border-color: rgba(60, 25, 8, 0.85);
}

.hero-sign-bulbs .bulb-dead::before {
  background: radial-gradient(circle, rgba(130, 70, 24, 0.85) 35%, rgba(35, 18, 6, 0.55) 72%);
  box-shadow:
    0 0 6px rgba(255, 194, 134, 0.4),
    0 0 12px rgba(255, 120, 52, 0.2);
}

.hero-sign-bulbs .bulb-dead::after {
  opacity: 0.35;
}

.hero-sign-bulbs .bulb-dim {
  opacity: 0.68;
  filter: saturate(0.85) brightness(0.88);
}

.hero-sign-bulbs .bulb-glitch {
  animation: heroBulbGlitch 0.35s steps(2, end) 2;
}

.hero-visual.is-lit .hero-sign-bulbs .bulb:not(.bulb-dead) {
  animation-name: heroBulbPulse;
}

.hero-visual.is-failing .hero-sign-bulbs .bulb:not(.bulb-dead) {
  animation-name: heroBulbFail;
}

.hero-visual.is-crashed .hero-sign-bulbs .bulb:not(.bulb-dead) {
  animation-name: heroBulbFail;
  opacity: 0.35;
}

.hero-sign-glow {
  position: absolute;
  inset: 6% 9% 13%;
  border-radius: clamp(70px, 7vw, 140px);
  background:
    radial-gradient(circle, rgba(255, 248, 218, 0.9) 0%, rgba(255, 214, 120, 0.85) 40%, rgba(255, 120, 20, 0.5) 68%, rgba(255, 80, 0, 0.15) 82%, rgba(255, 80, 0, 0));
  filter: blur(12px);
  opacity: calc(var(--hero-glow-intensity, 1) * 1.05);
  mix-blend-mode: screen;
  z-index: 2;
  transition: opacity 0.45s ease;
}

.hero-sign-cracks {
  position: absolute;
  inset: clamp(44px, 4vw, 64px);
  border-radius: clamp(70px, 6.6vw, 136px);
  background: url('assets/hero-sign-crack.svg') center/104% 104% no-repeat;
  mix-blend-mode: screen;
  opacity: 0;
  transform: translate(-2%, 4%) scale(0.98) rotate(-1deg);
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.26));
  pointer-events: none;
  z-index: 5;
}

.hero-visual.is-crashed .hero-sign-cracks {
  animation: heroGlassCrack 0.55s ease-out forwards;
}

.hero-visual.is-static .hero-sign-cracks {
  display: none;
}

.hero-visual.is-lit .hero-sign-glow {
  opacity: 0.9;
  animation: heroLightStable 0.9s steps(2, end) infinite;
}

.hero-visual.is-failing .hero-sign-glow {
  opacity: 0.6;
  animation: heroLightFail 1.4s steps(3, end) infinite;
}

.hero-visual.is-crashed .hero-sign-glow {
  opacity: 0.3;
  animation: heroLightDead 2.8s ease-in-out infinite;
}

.gauge-widget {
  margin-top: 12px;
  border: 2px solid var(--black);
  border-radius: 18px;
  padding: 12px 16px;
  background: #fff;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.1);
}

.gauge-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: var(--brown);
}

.gauge-value {
  font-size: 1.2rem;
  color: var(--red);
}

.gauge-bar {
  position: relative;
  border: 2px solid var(--black);
  border-radius: 999px;
  height: 10px;
  margin: 10px 0;
  background: #fff4c3;
  overflow: hidden;
}

.gauge-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: linear-gradient(90deg, #f7b733, #fc4a1a);
  border-radius: inherit;
  transition: width 0.8s ease, background 0.3s ease;
}

.hero-gauge[data-gauge-state='alert'] .gauge-fill {
  background: linear-gradient(90deg, #ff4545, #c70000);
}

.gauge-caption {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brown);
}


.hero-logo {
  position: absolute;
  left: 50%;
  top: 52%;
  width: clamp(360px, 32vw, 600px);
  max-width: none;
  transform: translate(-50%, -50%) rotate(0deg);
  transform-origin: center;
  filter: drop-shadow(0 45px 90px rgba(0, 0, 0, 0.4)) brightness(calc(0.6 + 0.4 * var(--hero-glow-intensity, 1))) saturate(calc(0.85 + 0.15 * var(--hero-glow-intensity, 1)));
  transition: filter 0.25s ease;
  z-index: 3;
}

.section.social-proof {
  padding-top: 150px;
}

.section {
  padding: 64px 8vw;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

[data-parallax] {
  --parallax-offset: 0px;
  background-image: linear-gradient(120deg, rgba(255, 230, 128, 0.15), rgba(255, 255, 255, 0));
  background-position: center calc(50% + var(--parallax-offset));
  background-repeat: no-repeat;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.hero-sign-shadow {
  position: absolute;
  width: clamp(260px, 32vw, 520px);
  height: clamp(110px, 12vw, 240px);
  left: 50%;
  bottom: -10px;
  transform: translate(-50%, 0) scale(0.55, 0.35);
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.4), transparent 70%);
  filter: blur(24px);
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .hero {
    flex-direction: column;
    gap: 28px;
    padding: 48px 6vw 36px;
    background-size: cover;
    text-align: center;
    overflow-x: hidden;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .hero-copy {
    max-width: 100%;
    text-align: center;
    align-items: center;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta a {
    width: 100%;
    text-align: center;
  }

  .hero-languages {
    text-align: center;
    max-width: min(520px, 100%);
    margin: 0 auto;
  }

  .hero-visual {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: auto;
    padding-bottom: 32px;
  }

  .hero-sign {
    display: flex;
    justify-content: center;
    align-items: center;
    width: min(70vw, 320px);
    height: auto;
    position: relative;
    margin: 0 auto;
    transform: none !important;
    background: none;
    border: none;
    box-shadow: none;
    left: auto;
    top: auto;
    transform-origin: center;
  }

  .hero-sign::before,
  .hero-sign::after,
  .hero-sign-board,
  .hero-sign-frame,
  .hero-sign-ring,
  .hero-sign-bulbs,
  .hero-sign-effects,
  .hero-sign-glow,
  .hero-sign-shadow,
  .hero-sign-wires,
  .hero-sign-effects-inner,
  .hero-sign-effects .spark,
  .hero-sign-effects .smoke,
  .hero-sign-wires .spark,
  .hero-easter-egg {
    display: none !important;
  }

  .hero-logo {
    position: relative;
    display: block;
    width: min(70vw, 320px);
    height: auto;
    margin: 0 auto;
    transform: none !important;
    filter: none;
    left: auto;
    top: auto;
  }

  .gauge-widget.hero-gauge {
    display: none;
  }

  [data-parallax] {
    background-image: none !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .section {
    padding: 48px 6vw;
  }

  .section-head {
    text-align: center;
  }

  .index-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-carousel {
    display: block;
  }

  .feature-nav {
    display: none;
  }

  .feature-track {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    overflow: visible;
    padding: 0;
  }

  [data-feature-card] {
    min-width: auto;
    width: 100%;
  }

  .feature-context {
    margin-left: auto;
    margin-right: auto;
    max-width: 340px;
    width: 100%;
  }

  .feature-hint-mobile {
    display: block;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(17, 17, 17, 0.6);
    margin: 18px auto 10px;
    position: relative;
    width: fit-content;
  }

  .feature-hint-mobile::after {
    content: '⇆';
    display: inline-block;
    margin-left: 8px;
    color: rgba(17, 17, 17, 0.45);
  }

  .demo-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .demo-card,
  .feature-card,
  .benefit-card,
  .trust-card {
    margin-left: auto;
    margin-right: auto;
    max-width: 340px;
  }
}

.hero-sign-effects {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  z-index: 6;
  overflow: visible;
}

.hero-sign-effects-inner {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 520px;
  transform: translate(-6%, 34px);
  transition: transform 0.45s ease;
}

.hero-visual.is-dropping .hero-sign-effects-inner {
  transform: translate(-16%, 62px) rotate(-4deg);
}

.hero-visual.is-crashed .hero-sign-effects-inner {
  transform: translate(-26%, 94px) rotate(-11deg);
}




.spark {
  position: absolute;
  top: 78%;
  width: 4px;
  height: 58px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 250, 224, 0.92) 0%, rgba(255, 190, 90, 0.75) 35%, rgba(255, 84, 24, 0.4) 70%, rgba(255, 84, 24, 0));
  box-shadow: 0 0 16px rgba(255, 150, 40, 0.65);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  filter: saturate(1.55);
  transform-origin: top center;
  transform: rotate(var(--spark-angle, 0deg));
  animation: heroSparkBeam 0.34s linear infinite;
}

.spark::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 250, 230, 0.95) 0%, rgba(255, 210, 110, 0.8) 42%, rgba(255, 96, 20, 0.55) 78%, transparent 100%);
  box-shadow:
    0 0 10px rgba(255, 226, 180, 0.65),
    0 0 30px rgba(255, 126, 20, 0.55);
  mix-blend-mode: screen;
  animation: heroSparkBurst 0.34s linear infinite;
}

.spark::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  width: 6px;
  height: 6px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 224, 170, 0.85);
  box-shadow:
    10px -6px 0 rgba(255, 142, 42, 0.5),
    -9px -4px 0 rgba(255, 120, 32, 0.4),
    4px 6px 0 rgba(255, 190, 96, 0.35),
    -6px 8px 0 rgba(255, 100, 18, 0.35);
  opacity: 0;
  animation: heroSparkEmbers 0.34s linear infinite;
  mix-blend-mode: screen;
}

.spark-5 {
  left: 80%;
  --spark-angle: 0deg;
  --spark-start-x: 0px;
  --spark-start-y: -4px;
  --spark-travel-x: 10px;
  --spark-travel-y: -90px;
}

.spark-6 {
  left: 84%;
  --spark-angle: 12deg;
  --spark-start-x: 2px;
  --spark-start-y: -4px;
  --spark-travel-x: 24px;
  --spark-travel-y: -96px;
}

.spark-7 {
  left: 88%;
  --spark-angle: 20deg;
  --spark-start-x: 2px;
  --spark-start-y: -4px;
  --spark-travel-x: 30px;
  --spark-travel-y: -96px;
}

.spark-8 {
  left: 70%;
  --spark-angle: -32deg;
  --spark-start-x: -3px;
  --spark-start-y: -5px;
  --spark-travel-x: -34px;
  --spark-travel-y: -108px;
}

.spark-9 {
  left: 78%;
  --spark-angle: -14deg;
  --spark-start-x: -2px;
  --spark-start-y: -4px;
  --spark-travel-x: -20px;
  --spark-travel-y: -94px;
}

.spark-1 {
  left: 64%;
  --spark-angle: -32deg;
  --spark-start-x: -3px;
  --spark-start-y: -5px;
  --spark-travel-x: -24px;
  --spark-travel-y: -94px;
}

.spark-2 {
  left: 68%;
  --spark-angle: -22deg;
  --spark-start-x: -3px;
  --spark-start-y: -4px;
  --spark-travel-x: -26px;
  --spark-travel-y: -100px;
}

.spark-3 {
  left: 72%;
  --spark-angle: -16deg;
  --spark-start-x: -2px;
  --spark-start-y: -4px;
  --spark-travel-x: -22px;
  --spark-travel-y: -94px;
}

.spark-4 {
  left: 76%;
  --spark-angle: -8deg;
  --spark-start-x: -1px;
  --spark-start-y: -4px;
  --spark-travel-x: -14px;
  --spark-travel-y: -90px;
}



.hero-visual.is-crashed .spark,
.hero-visual.is-dropping .spark {
  animation-name: heroSparkBeam;
  position: absolute;
}

.smoke {
  position: absolute;
  width: clamp(120px, 16vw, 200px);
  height: clamp(120px, 16vw, 200px);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 40%, rgba(30, 30, 30, 0.85), rgba(15, 15, 15, 0.75) 55%, rgba(15, 15, 15, 0.25) 78%, transparent);
  opacity: 0;
  mix-blend-mode: multiply;
  filter: blur(10px);
  pointer-events: none;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  transform-origin: center;
}

.smoke::after {
  content: '';
  position: absolute;
  inset: 10%;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(70, 70, 70, 0.4), transparent 70%);
  filter: blur(14px);
  opacity: 0.95;
}

.smoke-1 {
  left: 8%;
  bottom: 6%;
  --smoke-drift-x: -45px;
  --smoke-drift-y: -90vh;
  --smoke-scale: 3;
}

.smoke-2 {
  right: 8%;
  bottom: 16%;
  --smoke-drift-x: 40px;
  --smoke-drift-y: -85vh;
  --smoke-scale: 2.7;
}

.smoke-3 {
  left: 50%;
  top: 4%;
  width: clamp(100px, 15vw, 180px);
  height: clamp(100px, 15vw, 180px);
  --smoke-drift-x: -20px;
  --smoke-drift-y: -95vh;
  --smoke-scale: 3.2;
}

.smoke-4 {
  left: 26%;
  bottom: 4%;
  width: clamp(140px, 18vw, 220px);
  height: clamp(140px, 18vw, 220px);
  --smoke-drift-x: -10px;
  --smoke-drift-y: -80vh;
  --smoke-scale: 2.6;
}

.smoke-5 {
  right: 28%;
  bottom: 10%;
  width: clamp(120px, 16vw, 200px);
  height: clamp(120px, 16vw, 200px);
  --smoke-drift-x: 5px;
  --smoke-drift-y: -92vh;
  --smoke-scale: 2.9;
}

.hero-visual.is-crashed .hero-sign {
  transform: translate(-44%, 220px) rotate(-9deg);
}

.hero-visual.is-crashed .hero-logo {
  transform: translate(-50%, -50%) rotate(-4deg) scale(1.02);
}

.hero-visual.is-crashed .hero-sign-shadow {
  transform: translate(-48%, -30px) scale(1.35, 0.7);
  opacity: 0.85;
}

.hero-visual.is-crashed .hero-sign-effects {
  opacity: 1;
  mix-blend-mode: screen;
}

.hero-visual.is-crashed .spark {
  opacity: 1;
  mix-blend-mode: screen;
}

.hero-visual.is-crashed .spark {
  animation: heroSparkBeam 0.34s linear infinite;
}

.hero-visual.is-crashed .spark:nth-of-type(1) {
  animation-delay: 0s;
}

.hero-visual.is-crashed .spark:nth-of-type(2) {
  animation-delay: 0.04s;
}

.hero-visual.is-crashed .spark:nth-of-type(3) {
  animation-delay: 0.08s;
}

.hero-visual.is-crashed .spark:nth-of-type(4) {
  animation-delay: 0.12s;
}

.hero-visual.is-crashed .spark:nth-of-type(5) {
  animation-delay: 0.16s;
}

.hero-visual.is-crashed .spark:nth-of-type(6) {
  animation-delay: 0.2s;
}

.hero-visual.is-crashed .spark:nth-of-type(7) {
  animation-delay: 0.24s;
}

.hero-visual.is-crashed .spark:nth-of-type(8) {
  animation-delay: 0.28s;
}

.hero-visual.is-crashed .spark:nth-of-type(9) {
  animation-delay: 0.32s;
}

.hero-visual.is-crashed .spark:nth-of-type(10) {
  animation-delay: 0.36s;
}

.hero-visual.is-crashed .smoke {
  animation: heroSmoke 11s linear infinite;
}

.hero-visual.is-crashed .smoke-2 {
  animation-delay: 1.5s;
}

.hero-visual.is-crashed .smoke-3 {
  animation-delay: 2.8s;
}

.hero-visual.is-crashed .smoke-4 {
  animation-delay: 3.6s;
}

.hero-visual.is-crashed .smoke-5 {
  animation-delay: 4.4s;
}

.hero-visual.is-dropping .hero-sign {
  animation: heroSignDrop var(--hero-drop-duration, 1.8s) cubic-bezier(0.35, 0.74, 0.19, 1.07) forwards;
}

.hero-visual.is-dropping .hero-sign-shadow {
  animation: heroShadowDrop var(--hero-drop-duration, 1.8s) ease-out forwards;
}

.hero-visual.is-crashed .hero-sign-glow {
  mix-blend-mode: soft-light;
}

.hero-visual.is-static .hero-sign-effects,
.hero-visual.is-static .hero-sign-glow,
.hero-visual.is-static .hero-sign-bulbs {
  display: none;
}

.hero-visual.is-static .hero-sign,
.hero-visual.is-static .hero-sign-shadow {
  transition: none;
}

.feature-showcase {
  background: #fffef0;
}

.feature-context {
  border: 2px solid var(--black);
  border-radius: 20px;
  padding: 16px 22px;
  background: linear-gradient(135deg, #fff7d6, #ffe9a9);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.12);
  max-width: 720px;
  margin: 0 auto 24px;
  display: grid;
  gap: 8px;
}

.feature-context-label {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--black);
  color: var(--yellow);
  font-weight: 800;
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.feature-context p {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

@media (min-width: 769px) {
  .feature-hint-mobile {
    display: none;
  }
}

.index-explainer {
  background: linear-gradient(160deg, #fff7d6 0%, #fffdf5 40%, #fff7d6 100%);
}

.index-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  align-items: stretch;
  position: relative;
}

.index-callout {
  border: 2px solid var(--black);
  border-radius: 22px;
  padding: 22px 26px;
  background: #fff4d1;
  box-shadow:
    0 0 0 4px #111,
    10px 10px 0 rgba(0, 0, 0, 0.18);
  margin: 0 auto 38px;
  max-width: 760px;
  position: relative;
  transform: rotate(-1.6deg);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.index-callout::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.index-callout:hover {
  transform: rotate(-0.4deg) translateY(-4px);
  box-shadow:
    0 0 0 4px #111,
    12px 16px 0 rgba(0, 0, 0, 0.2);
}

.index-callout p {
  margin: 10px 0 2px;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--brown);
}

.callout-label {
  display: inline-block;
  padding: 6px 14px;
  border: 2px solid var(--black);
  border-radius: 999px;
  background: var(--black);
  color: var(--yellow);
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.index-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 2px solid var(--black);
  border-radius: 24px;
  padding: 28px;
  background: #fffef7;
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.12);
  position: relative;
}

.index-copy::after {
  content: 'Saul aprovou';
  position: absolute;
  top: -18px;
  right: 26px;
  background: var(--black);
  color: var(--yellow);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35);
  transform: rotate(-2deg);
}

.index-copy p {
  margin: 0;
  line-height: 1.6;
}

.index-copy .index-footnote {
  margin-top: auto;
}

.index-gauge {
  margin-top: 6px;
  border: 2px dashed rgba(0, 0, 0, 0.4);
  border-radius: 18px;
  padding: 16px 18px;
  background: rgba(255, 237, 184, 0.6);
}

.index-gauge .gauge-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.index-gauge .gauge-caption {
  font-weight: 600;
  margin: 10px 0 0;
}

.index-clues {
  border: 2px solid var(--black);
  border-radius: 20px;
  background: #fffdf0;
  padding: 18px 20px;
  box-shadow: inset 0 0 0 3px rgba(255, 222, 125, 0.5);
  display: grid;
  gap: 14px;
  position: relative;
}

.index-clues::before {
  content: '';
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  background: url('assets/logotipo_saul_goodman.png') center/contain no-repeat;
  filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, 0.3));
  opacity: 0.6;
}

.index-clues-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--black);
  color: var(--yellow);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.index-clues-label::before {
  content: '☑';
  font-size: 0.85rem;
}

.index-clues-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.index-clues-list li {
  display: grid;
  gap: 4px;
  padding-left: 24px;
  position: relative;
}

.index-clues-list li::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  border: 2px solid var(--black);
  background: linear-gradient(135deg, #ffeebb, #ffd06a);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.15);
}

.index-clues-list strong {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.index-clues-list span {
  font-size: 0.9rem;
  color: rgba(43, 26, 17, 0.85);
}

.index-memo {
  border: 2px dashed rgba(0, 0, 0, 0.6);
  border-radius: 18px;
  padding: 18px 20px;
  background: rgba(255, 240, 214, 0.65);
  display: grid;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.index-memo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
      -45deg,
      rgba(0, 0, 0, 0.05) 0,
      rgba(0, 0, 0, 0.05) 8px,
      transparent 8px,
      transparent 16px
    );
  opacity: 0.6;
  pointer-events: none;
}

.index-memo-heading {
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--black);
}

.index-memo p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

.index-memo-sign {
  font-size: 0.78rem;
  font-style: italic;
  color: rgba(43, 26, 17, 0.8);
}

.index-copy .index-footnote {
  margin-top: auto;
}

.index-footnote {
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(43, 26, 17, 0.85);
}

.index-scale {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
  position: relative;
  grid-auto-rows: minmax(140px, 1fr);
}

.index-scale::before {
  content: '';
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: -28px;
  width: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe79e 0%, #ff9f66 55%, #ff6262 100%);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  opacity: 0.9;
}

.index-card {
  border: 2px solid var(--black);
  border-radius: 22px;
  padding: 22px;
  background: #fff;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  min-height: 100%;
}

.index-card::before {
  content: '';
  position: absolute;
  top: 40px;
  left: -34px;
  width: 26px;
  height: 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.9);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.15);
}

.index-card:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: 12px 14px 0 rgba(0, 0, 0, 0.18);
}

.index-card .index-range {
  display: inline-block;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 2px solid var(--black);
  border-radius: 999px;
  background: var(--yellow);
  color: var(--black);
  margin-bottom: 12px;
}

.index-stamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 2px solid var(--black);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.05);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  margin-bottom: 12px;
  color: var(--black);
  position: relative;
}

.index-stamp::before {
  content: '★';
  font-size: 0.85rem;
}

.index-card h3 {
  margin: 8px 0 10px;
  font-size: 1.2rem;
}

.index-card p {
  margin: 0;
  line-height: 1.55;
  flex-grow: 1;
}

.index-card--overwork {
  background: linear-gradient(140deg, #fff 0%, #fcf4f2 45%, #ffe2db 100%);
}

.index-card--sweetspot {
  background: linear-gradient(140deg, #fff 0%, #f6ffe6 50%, #e1ffc2 100%);
  position: relative;
}

.index-card--wobble {
  background: linear-gradient(140deg, #fff 0%, #fff9dc 45%, #ffedab 100%);
}

.index-card--danger {
  background: linear-gradient(140deg, #fff 0%, #ffe6e0 45%, #ffb7a5 100%);
}

.index-card--sweetspot::before {
  background: #1f7f57;
  box-shadow: 0 4px 0 rgba(31, 127, 87, 0.35);
}

.index-card--wobble::before {
  background: #e4a300;
  box-shadow: 0 4px 0 rgba(228, 163, 0, 0.25);
}

.index-card--danger::before {
  background: #c5271a;
  box-shadow: 0 4px 0 rgba(197, 39, 26, 0.35);
}

@media (min-width: 960px) {
  .index-layout {
    grid-template-columns: minmax(320px, 420px) minmax(360px, 1fr);
    gap: 56px;
  }

  .index-layout::after {
    content: 'Linha de defesa do Saul';
    position: absolute;
    top: 60px;
    left: calc(420px + 18px);
    writing-mode: vertical-rl;
    transform: translateX(min(4vw, 18px));
    font-weight: 800;
    letter-spacing: 0.16em;
    font-size: 0.68rem;
    text-transform: uppercase;
    color: rgba(17, 17, 17, 0.34);
    pointer-events: none;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 32px 6vw;
  }

  .feature-context {
    margin-bottom: 18px;
  }

  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .footer-links a {
    display: inline-flex;
  }

  .index-callout {
    transform: rotate(0deg);
    padding: 20px 22px;
    margin-bottom: 28px;
  }

  .index-copy {
    padding: 22px;
    border-radius: 20px;
  }

  .index-copy::after {
    right: 18px;
    top: -16px;
  }

  .index-clues {
    padding: 16px;
  }

  .index-memo {
    padding: 16px;
  }

  .index-scale {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .index-card,
  .index-card:hover {
    transform: none;
    transition: none;
  }

  .index-copy::after {
    transition: none;
  }

  .index-callout,
  .index-callout:hover {
    transform: none;
    transition: none;
  }
}

@media (max-width: 959px) {
  .index-scale::before,
  .index-card::before,
  .index-layout::after {
    display: none;
  }

  .index-layout {
    gap: 28px;
  }
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature-card {
  border: 2px solid var(--black);
  border-radius: 18px;
  padding: 22px;
  background: #fff;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.08);
  display: grid;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 8px 12px 0 rgba(0, 0, 0, 0.12);
}

.feature-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.feature-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px;
  scroll-behavior: smooth;
}

.feature-track::-webkit-scrollbar {
  display: none;
}

[data-feature-card] {
  min-width: min(320px, calc(100vw - 16vw));
  scroll-snap-align: center;
}

.feature-nav {
  border: 2px solid var(--black);
  border-radius: 14px;
  width: 42px;
  height: 42px;
  background: #fff;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.feature-nav:hover {
  transform: scale(1.08);
}

.feature-card:hover .feature-icon {
  transform: rotate(-2deg) scale(1.05);
}

.feature-icon-gauge {
  background: linear-gradient(135deg, #ffece1, #fffdf7);
}

.mini-cta {
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 16px;
  border: 2px solid var(--black);
  border-radius: 999px;
  background: #fffdf5;
  color: var(--brown);
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mini-cta:hover {
  transform: translateY(-2px);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.15);
}

.mini-cta:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

.gauge-card .gauge-widget {
  margin-top: 0;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border: 2px solid var(--black);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.feature-icon-radar {
  background: radial-gradient(circle at 50% 50%, #fffb8b, #ffd75f);
  position: relative;
}

.feature-icon-radar::before,
.feature-icon-radar::after {
  content: '';
  position: absolute;
  border: 1px solid var(--brown);
  border-radius: 50%;
}

.feature-icon-radar::before {
  width: 38px;
  height: 38px;
  top: 8px;
  left: 8px;
}

.feature-icon-radar::after {
  width: 18px;
  height: 18px;
  top: 19px;
  left: 19px;
}

.feature-icon-lists {
  background: linear-gradient(135deg, #ffe680, #f1d884);
  position: relative;
}

.feature-icon-lists::before,
.feature-icon-lists::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--brown);
}

.feature-icon-lists::before {
  top: 18px;
}

.feature-icon-lists::after {
  bottom: 18px;
}

.feature-icon-quake {
  background: linear-gradient(135deg, #ffb347, #ff5f6d);
  position: relative;
}

.feature-icon-quake::before {
  content: '';
  position: absolute;
  width: 32px;
  height: 20px;
  border: 2px solid var(--black);
  border-radius: 4px;
  transform: skew(-10deg);
  background: #fff;
  top: 18px;
  left: 12px;
}

.feature-icon-lock {
  background: linear-gradient(135deg, #ffe3b0, #ffc46a);
  position: relative;
}

.feature-icon-lock::before {
  content: '';
  position: absolute;
  width: 28px;
  height: 22px;
  border: 3px solid var(--brown);
  border-radius: 6px;
  bottom: 12px;
  left: 12px;
  background: #fff8df;
}

.feature-icon-lock::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 3px solid var(--brown);
  border-radius: 999px 999px 4px 4px;
  top: 8px;
  left: 16px;
  border-bottom: none;
}

.feature-icon-report {
  background: linear-gradient(135deg, #fffdf5, #ffe2bd);
  position: relative;
}

.feature-icon-report::before {
  content: '';
  position: absolute;
  width: 30px;
  height: 34px;
  border: 2px solid var(--black);
  border-radius: 4px;
  background: #fff;
  box-shadow: inset 0 -10px 0 #ffe680;
  top: 10px;
  left: 12px;
}

.feature-icon-privacy {
  background: linear-gradient(135deg, #ffd27f, #f9c46b);
  position: relative;
}

.feature-icon-privacy::before {
  content: '';
  position: absolute;
  width: 24px;
  height: 26px;
  border: 2px solid var(--black);
  border-radius: 8px;
  top: 18px;
  left: 14px;
}

.feature-hint {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.benefit-card {
  border: 2px solid var(--black);
  border-radius: 16px;
  padding: 20px;
  background: #fff;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.08);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.manifesto-grid article {
  border: 2px solid var(--black);
  border-radius: 14px;
  padding: 20px;
  background: #fff;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.08);
}

.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.blog-preview-card {
  border: 2px solid var(--black);
  border-radius: 16px;
  padding: 20px;
  background: #fff;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.08);
  display: grid;
  gap: 12px;
}

.blog-preview-card img {
  width: 100%;
  max-width: 220px;
  justify-self: center;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.15));
}

.blog-preview-meta {
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.blog-preview-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--brown);
  text-decoration: none;
}

.blog-preview-link:hover {
  text-decoration: underline;
}

.blog-preview-state {
  border: 2px dashed rgba(0, 0, 0, 0.2);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  font-weight: 600;
  color: var(--brown);
  background: #fff;
}

.blog-preview-actions {
  justify-content: center;
  margin-top: 24px;
}

.section-head {
  text-align: center;
  margin-bottom: 32px;
}

.section-head .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--red);
  font-weight: 700;
}

.section-head h2 {
  margin: 12px auto 0;
  max-width: 560px;
}

.section-lead {
  max-width: 720px;
  margin: 12px auto 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.codecon-section {
  background: linear-gradient(135deg, #fff9e2, #ffe6b8, #fffdf5);
  border-top: 3px solid var(--black);
  border-bottom: 3px solid var(--black);
  box-shadow:
    inset 0 12px 0 rgba(0, 0, 0, 0.05),
    inset 0 -12px 0 rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.codecon-section::before,
.codecon-section::after {
  content: '';
  position: absolute;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 200, 120, 0.35), transparent 65%);
  pointer-events: none;
  filter: blur(6px);
}

.codecon-section::before {
  top: -40px;
  left: -20px;
}

.codecon-section::after {
  bottom: -40px;
  right: -10px;
}

.codecon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: center;
}

.codecon-video {
  border: 2px solid var(--black);
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.08);
}

.video-frame {
  position: relative;
  padding-top: 56.25%;
  background: #000;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.codecon-video-caption {
  margin: 0;
  padding: 12px 14px;
  background: #fff;
  font-weight: 700;
  color: var(--brown);
  border-top: 2px solid var(--black);
}

.codecon-story {
  position: relative;
  border: 2px solid var(--black);
  border-radius: 18px;
  padding: 22px 22px 20px;
  background: linear-gradient(180deg, #fffefb, #fff7e4);
  box-shadow:
    10px 10px 0 rgba(0, 0, 0, 0.08),
    0 24px 40px rgba(0, 0, 0, 0.06);
  display: grid;
  gap: 16px;
  overflow: hidden;
}

.codecon-story::before {
  content: '';
  position: absolute;
  inset: 12px 12px auto auto;
  width: 110px;
  height: 110px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 120, 20, 0.12), transparent 62%);
  pointer-events: none;
}

.codecon-story::after {
  content: '';
  position: absolute;
  inset: auto auto 0 0;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle at 20% 80%, rgba(255, 220, 150, 0.16), transparent 62%);
  pointer-events: none;
}

.codecon-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.codecon-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(145deg, #fff2c8, #ffe09a);
  border: 2px solid var(--black);
  font-weight: 800;
  color: var(--brown);
  box-shadow:
    3px 3px 0 rgba(0, 0, 0, 0.1),
    inset 0 -2px 0 rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.codecon-chip:hover {
  transform: translateY(-2px);
  box-shadow:
    5px 5px 0 rgba(0, 0, 0, 0.12),
    inset 0 -2px 0 rgba(0, 0, 0, 0.1);
}

.codecon-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--black);
  color: var(--yellow);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: fit-content;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.12);
}

.codecon-points {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  list-style: none;
}

.codecon-points li {
  position: relative;
  padding-left: 12px;
  font-weight: 750;
  color: var(--brown);
}

.codecon-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 4px;
  height: 4px;
  background: var(--red);
  border-radius: 999px;
  box-shadow: 0 0 0 6px rgba(255, 118, 0, 0.1);
}

.codecon-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.codecon-actions .ghost {
  font-weight: 800;
  text-decoration: none;
}

.codecon-actions .ghost:hover {
  text-decoration: underline;
}

.step-card {
  border: 2px solid var(--black);
  border-radius: 16px;
  padding: 20px;
  background: #fff;
  box-shadow: 6px 6px 0 var(--gold);
}

.step-card summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  gap: 12px;
  list-style: none;
}

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

.step-card[open] {
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.2);
}

.accordion-icon {
  width: 18px;
  height: 18px;
  border: 2px solid var(--black);
  border-radius: 50%;
  position: relative;
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background: var(--black);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.accordion-icon::before {
  width: 10px;
  height: 2px;
}

.accordion-icon::after {
  width: 2px;
  height: 10px;
  transition: opacity 0.2s ease;
}

details[open] .accordion-icon::after {
  opacity: 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.trust-card {
  padding: 20px;
  border: 2px solid var(--black);
  border-radius: 16px;
  background: #fff;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.08);
}

.transparency-links {
  margin-top: 32px;
  padding: 28px;
  border: 2px dashed var(--black);
  border-radius: 20px;
  background: #fffef4;
  text-align: center;
}

.transparency-links h3 {
  margin: 10px 0 8px;
  font-size: 1.7rem;
}

.transparency-links p {
  max-width: 640px;
  margin: 0 auto 16px;
  line-height: 1.5;
}

.transparency-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 2px solid var(--black);
  font-weight: 700;
  text-decoration: none;
  color: var(--brown);
  background: #fff;
  min-width: 220px;
}

.pill-link.primary {
  background: var(--yellow);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.08);
}

.testimonials-slider {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

.testimonials-track {
  position: relative;
  min-height: 180px;
}

.testimonial-card {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(10%);
  transition: opacity 0.5s ease, transform 0.5s ease;
  border-left: 4px solid var(--red);
  background: #fff;
  padding: 24px;
  border-radius: 14px;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.08);
}

.testimonial-card.is-active {
  opacity: 1;
  transform: translateX(0);
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.testimonial-nav {
  border: 2px solid var(--black);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  background: #fff;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.timeline {
  background: #fffef4;
}

.timeline-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 3px solid var(--black);
}

.timeline-list li {
  display: flex;
  gap: 16px;
  padding: 18px 0 18px 24px;
  position: relative;
}

.timeline-list li::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 28px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--black);
  background: var(--yellow);
}

.timeline-list .time {
  font-weight: 700;
  color: var(--red);
}

.faq {
  margin-top: 32px;
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 10px 14px;
  background: #fff;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

blockquote {
  border-left: 4px solid var(--red);
  background: #fff;
  padding: 18px;
  border-radius: 12px;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.08);
}

blockquote p {
  font-style: italic;
  margin: 0 0 8px;
}

.section.cta {
  text-align: center;
}

.section.cta h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.section.cta .hero-cta {
  justify-content: center;
  flex-wrap: wrap;
}

.site-footer {
  padding: 32px 8vw;
  background: var(--black);
  color: var(--yellow);
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
  align-items: center;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: var(--yellow);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer-links a:hover {
  border-color: var(--yellow);
}

.support .support-actions {
  display: grid;
  gap: 16px;
  justify-items: center;
}

.support iframe,
.support .repo-badge img {
  max-width: 100%;
}

.support .repo-badge img {
  display: block;
}

.quake-demo-actions {
  display: flex;
  justify-content: center;
}

.quake-demo .primary {
  background: var(--black);
  color: var(--yellow);
  border: 2px solid var(--black);
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 800;
  cursor: pointer;
}

.quake-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 220;
  padding: 20px;
}

.quake-overlay.active {
  display: flex;
}

.quake-card {
  background: #fffdf5;
  border: 3px solid var(--black);
  border-radius: 16px;
  padding: 18px;
  max-width: min(540px, 96vw);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4);
  text-align: center;
  animation: quake 0.6s linear infinite;
}

.quake-title {
  font-size: 1.2rem;
  color: var(--red);
  margin: 0 0 8px;
  font-weight: 800;
}

.quake-copy {
  margin: 0 0 14px;
  font-weight: 600;
}

.quake-close {
  border: 2px solid var(--black);
  background: var(--black);
  color: var(--yellow);
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 800;
  cursor: pointer;
}

.quake-active {
  animation: quake 0.6s linear infinite;
}

.reactions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.reaction-card {
  border: 2px solid var(--black);
  border-radius: 18px;
  background: #fff;
  padding: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.08);
  display: grid;
  gap: 10px;
  justify-items: center;
}

.reaction-badge {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: var(--red);
  font-size: 0.78rem;
}

.reaction-card img {
  width: 180px;
  max-width: 100%;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18));
  animation: float 4s ease-in-out infinite;
}

.reaction-card.hype img {
  animation-delay: 0.3s;
}

.reaction-card.block img {
  width: 200px;
  animation-delay: 0.15s;
}

.reaction-card.block .reaction-badge {
  color: var(--brown);
}

/* Barra fixa para CTA final sem atrapalhar conteúdo */
.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translate(-50%, 160%);
  transition: transform 0.4s ease, opacity 0.4s ease, background 0.4s ease;
  z-index: 50;
  background: #fff7d9;
  border: 2px solid var(--black);
  border-radius: 999px;
  padding: 10px 18px;
  box-shadow: 8px 10px 0 rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
}

.sticky-cta.is-visible {
  transform: translate(-50%, 0);
}

.sticky-cta.sticky-active {
  background: #ffe3a3;
  box-shadow: 8px 10px 0 rgba(0, 0, 0, 0.25);
}

.sticky-content {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--brown);
}

.sticky-content .feedback-link {
  padding: 8px 14px;
  font-size: 0.85rem;
}

.sticky-collapse {
  border: 2px solid var(--black);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
}

.sticky-cta.is-collapsed .sticky-content {
  display: none;
}

.sticky-cta.is-collapsed {
  border-radius: 50%;
  padding: 6px;
  width: auto;
  gap: 0;
}

@media (max-width: 640px) {
  .sticky-cta {
    width: calc(100% - 24px);
    padding: 8px 14px;
  }

  .sticky-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .sticky-cta.is-collapsed {
    width: auto;
  }
}

.reaction-bubble {
  background: var(--yellow);
  border: 2px solid var(--black);
  border-radius: 16px;
  padding: 10px 14px;
  font-weight: 700;
  text-align: center;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.12);
}

.reaction-hint {
  margin: 0;
  text-align: center;
  font-weight: 600;
  color: var(--brown);
  font-size: 0.95rem;
}

.reaction-card.block .reaction-bubble {
  background: #ffece6;
}

.reaction-card::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

@media (max-width: 768px) {

  /* Nav fixo com menu hambúrguer para liberar espaço */
  .site-nav {
    padding: 12px 6vw;
    position: fixed;
    width: 100%;
    background: rgba(255, 253, 245, 0.98);
    left: 0;
    right: 0;
    box-sizing: border-box;
  }

  .brand {
    font-size: 1rem;
    flex: 1;
  }

  /* Hambúrguer visível e clicável */
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--black);
    border-radius: 10px;
    background: #fff;
    padding: 4px 10px;
    margin-left: auto;
  }

  /* Menu mobile abre em coluna e ocupa largura total */
  .site-nav .nav-actions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
    max-height: 0;
    overflow: hidden;
    flex-direction: column;
    gap: 16px;
    background: #fffdf5;
    padding: 0 6vw;
    transform-origin: top;
    transition: max-height 0.3s ease;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    border-bottom: 2px solid var(--black);
  }

  .site-nav .nav-actions.is-open {
    max-height: 600px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .site-nav .nav-links {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .site-nav .nav-links a {
    display: block;
    padding: 12px 0;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .language-switcher,
  .sponsor-button,
  .nav-cta {
    align-self: stretch;
  }

  .nav-cta {
    text-align: center;
    width: 100%;
  }

  .sponsor-button {
    order: 5;
    text-align: center;
  }

  .document-page .site-nav {
    position: relative;
    padding: 16px 6vw;
    justify-content: space-between;
  }

  .document-page .site-nav .nav-actions {
    position: static;
    max-height: none;
    overflow: visible;
    flex-direction: row;
    gap: 12px;
    padding: 0;
    box-shadow: none;
    border-bottom: 0;
  }

  .document-page .nav-cta,
  .document-page .language-switcher {
    width: auto;
    align-self: center;
  }

  .document-page .language-switcher select {
    min-width: 120px;
  }

  /* Hero empilha elementos para leitura confortável */
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 140px 6vw 72px;
    gap: 32px;
  }

  .hero-copy h1 {
    font-size: 2rem;
  }

  .hero-copy p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta a {
    width: 100%;
    justify-content: center;
  }

  .hero-visual {
    width: 100%;
    min-height: auto;
    padding-bottom: 20px;
    justify-content: center;
  }

  .hero-sign {
    position: relative;
    width: min(75vw, 360px);
    height: min(90vw, 420px);
    margin: 0 auto;
    transform: none !important;
  }

  .hero-sign-board {
    border-radius: 40px;
  }

  .hero-sign-bulbs,
  .hero-sign-glow,
  .hero-sign-effects,
  .hero-sign-shadow {
    display: none;
  }

  .hero-logo {
    position: relative;
    width: min(70vw, 320px);
    height: auto;
    margin: 0 auto;
    transform: none !important;
    filter: drop-shadow(0 25px 45px rgba(0, 0, 0, 0.3));
  }

  .section.social-proof {
    padding-top: 80px;
  }

  .feature-track {
    padding: 6px 0;
  }

  .feature-nav {
    display: none;
  }

  /* Demais grids viram uma coluna para evitar zoom */
  .steps-grid,
  .why-grid,
  .demo-grid,
  .trust-grid,
  .blog-preview-grid {
    grid-template-columns: 1fr;
  }

  .transparency-links {
    text-align: left;
    padding: 24px;
  }

  .transparency-cta {
    flex-direction: column;
  }

  .pill-link {
    width: 100%;
  }

  .demo-card:hover,
  .benefit-card:hover,
  .trust-card:hover,
  .feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 6px 8px 0 rgba(0, 0, 0, 0.12);
  }

  .demo-card,
  .benefit-card,
  .trust-card,
  .feature-card {
    min-width: 100%;
  }

  .sticky-cta {
    bottom: 8px;
  }
}

@keyframes ctaPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.35);
  }

  100% {
    box-shadow: 0 0 0 12px rgba(0, 0, 0, 0);
  }
}

@keyframes quakeBars {
  0% {
    transform: scaleY(0.4);
  }

  50% {
    transform: scaleY(1);
  }

  100% {
    transform: scaleY(0.4);
  }
}

@keyframes quakeShiver {
  0% {
    transform: translate(0, 0);
  }

  25% {
    transform: translate(-6px, 2px);
  }

  50% {
    transform: translate(5px, -1px);
  }

  75% {
    transform: translate(-4px, 3px);
  }

  100% {
    transform: translate(0, 0);
  }
}

@keyframes glitchShift {
  0% {
    clip-path: inset(0 0 80% 0);
    transform: translate(-4px, 2px);
  }

  50% {
    clip-path: inset(40% 0 20% 0);
    transform: translate(4px, -2px);
  }

  100% {
    clip-path: inset(80% 0 0 0);
    transform: translate(-3px, 1px);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-6px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes quake {
  0% {
    transform: translate(0, 0);
  }

  20% {
    transform: translate(-6px, 2px);
  }

  40% {
    transform: translate(6px, -2px);
  }

  60% {
    transform: translate(-4px, 3px);
  }

  80% {
    transform: translate(4px, -3px);
  }

  100% {
    transform: translate(0, 0);
  }
}

@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;
  }

  .sticky-cta {
    transition: none;
  }
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.demo-card {
  border: 2px solid var(--black);
  border-radius: 18px;
  padding: 18px;
  background: #fff;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.08);
  display: grid;
  gap: 10px;
}

.demo-card img {
  width: 100%;
  border: 2px solid var(--black);
  border-radius: 14px;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.08);
}

.demo-card figcaption {
  display: grid;
  gap: 6px;
}

.demo-card figcaption strong {
  font-size: 1.1rem;
}

.demo-card figcaption p {
  margin: 0;
}

.demo-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.demo-actions .ghost {
  border: 2px solid var(--black);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  color: var(--black);
  text-decoration: none;
}

.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
}

.lightbox-backdrop.active {
  display: flex;
}

.lightbox-content {
  background: #fff;
  border-radius: 12px;
  max-width: min(960px, 95vw);
  max-height: 90vh;
  padding: 12px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.3);
  display: grid;
  gap: 8px;
}

.lightbox-content img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.lightbox-caption {
  font-weight: 600;
  color: var(--brown);
}

.lightbox-close {
  justify-self: end;
  border: 2px solid var(--black);
  background: #fff;
  color: var(--black);
  border-radius: 10px;
  padding: 6px 12px;
  font-weight: 700;
  cursor: pointer;
}

.quake-highlight {
  background: linear-gradient(135deg, #fffdf5, #fff1cf);
  position: relative;
  overflow: hidden;
}

.quake-highlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(120deg, rgba(0, 0, 0, 0.03) 0 8px, transparent 8px 16px);
  opacity: 0.4;
}

.quake-highlight>* {
  position: relative;
  z-index: 1;
}

.quake-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  align-items: center;
}

.quake-copy .quake-micro {
  font-weight: 800;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.quake-button {
  margin-top: 12px;
}

.quake-tip {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}

.quake-display {
  display: flex;
  justify-content: center;
}

.quake-display-screen {
  border: 2px solid var(--black);
  border-radius: 18px;
  padding: 20px;
  width: min(360px, 90vw);
  background: var(--black);
  color: var(--yellow);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 10px 12px 0 rgba(0, 0, 0, 0.2);
}

.quake-display-screen::before,
.quake-display-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  mix-blend-mode: screen;
  opacity: 0;
}

.quake-display-screen::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), transparent 40%);
}

.quake-display-screen::after {
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08) 2px, transparent 2px 4px);
}

.quake-alert {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  padding: 6px 18px;
  border-radius: 999px;
  border: 2px solid var(--yellow);
}

.quake-bars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0;
}

.quake-bars span {
  display: block;
  height: 60px;
  background: var(--yellow);
  border-radius: 10px;
  animation: quakeBars 1.4s ease-in-out infinite;
}

.quake-bars span:nth-child(2) {
  animation-delay: 0.2s;
}

.quake-bars span:nth-child(3) {
  animation-delay: 0.4s;
}

.quake-highlight.is-quaking .quake-display-screen {
  animation: quakeShiver 0.6s linear 2;
}

.quake-highlight.is-quaking .quake-display-screen::before,
.quake-highlight.is-quaking .quake-display-screen::after {
  opacity: 1;
  animation: glitchShift 0.3s steps(2, end) 2;
}

[data-quake-tilt].is-shaking {
  animation: quakeShiver 0.5s linear;
}

.hero-languages {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--brown);
  font-size: 0.9rem;
}

.social-proof {
  text-align: center;
  background: #fffef4;
}

.badge-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 10px 0;
}

.badge-row img {
  border: 2px solid var(--black);
  border-radius: 10px;
  background: #fff;
  padding: 4px 6px;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.08);
  max-width: 100%;
  height: auto;
}

.privacy-page .site-nav,
.changelog-page .site-nav {
  position: relative;
}

.privacy-content,
.changelog-content {
  padding: 96px 8vw 64px;
  min-height: 70vh;
  background: #fffdf5;
}

.privacy-hero,
.changelog-hero {
  text-align: center;
  margin-bottom: 32px;
}

.privacy-body,
.changelog-body {
  border: 2px solid var(--black);
  border-radius: 18px;
  padding: 32px;
  background: #fff;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.08);
}

.privacy-body h1,
.privacy-body h2,
.privacy-body h3,
.changelog-body h1,
.changelog-body h2,
.changelog-body h3 {
  color: var(--brown);
}

.privacy-body p,
.privacy-body li,
.changelog-body p,
.changelog-body li {
  line-height: 1.6;
}

.privacy-body a,
.changelog-body a {
  color: var(--red);
  text-decoration: underline;
}

@keyframes heroLightStable {

  0%,
  30% {
    opacity: 0.95;
    filter: drop-shadow(0 0 12px rgba(255, 226, 151, 0.8));
  }

  45% {
    opacity: 0.55;
    filter: drop-shadow(0 0 6px rgba(255, 226, 151, 0.4));
  }

  70%,
  100% {
    opacity: 0.9;
    filter: drop-shadow(0 0 12px rgba(255, 226, 151, 0.7));
  }
}

@keyframes heroLightFail {
  0% {
    opacity: 0.7;
  }

  20% {
    opacity: 0.2;
    filter: blur(6px);
  }

  38% {
    opacity: 0.8;
  }

  52% {
    opacity: 0.1;
  }

  70% {
    opacity: 0.6;
  }

  100% {
    opacity: 0.4;
  }
}

@keyframes heroLightDead {
  0% {
    opacity: 0.2;
  }

  35% {
    opacity: 0.45;
  }

  60% {
    opacity: 0.15;
  }

  100% {
    opacity: 0.3;
  }
}

@keyframes heroBulbPulse {

  0%,
  30% {
    opacity: 0.95;
    filter: drop-shadow(0 0 12px rgba(255, 226, 151, 0.8));
  }

  45% {
    opacity: 0.55;
    filter: drop-shadow(0 0 6px rgba(255, 226, 151, 0.4));
  }

  70%,
  100% {
    opacity: 0.9;
    filter: drop-shadow(0 0 12px rgba(255, 226, 151, 0.7));
  }
}

@keyframes heroBulbFail {
  0% {
    opacity: 0.7;
  }

  18% {
    opacity: 0.05;
  }

  42% {
    opacity: 0.65;
  }

  60% {
    opacity: 0.2;
    filter: blur(2px);
  }

  85% {
    opacity: 0.5;
  }

  100% {
    opacity: 0.3;
  }
}

@keyframes heroBulbDead {
  0% {
    opacity: 0.25;
  }

  40% {
    opacity: 0.12;
  }

  80% {
    opacity: 0.3;
  }

  100% {
    opacity: 0.2;
  }
}

@keyframes heroBulbGlitch {
  0% {
    opacity: 1;
    filter: drop-shadow(0 0 14px rgba(255, 226, 151, 0.8));
  }

  50% {
    opacity: 0.15;
    filter: blur(2px);
  }

  100% {
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(255, 189, 93, 0.7));
  }
}

@keyframes heroGlassCrack {
  0% {
    opacity: 0;
    transform: translate(-2%, 4%) scale(0.96) rotate(-1deg);
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.22));
  }

  45% {
    opacity: 0.78;
    transform: translate(-3%, 8%) scale(1.01) rotate(-3deg);
    filter: drop-shadow(0 26px 36px rgba(0, 0, 0, 0.32));
  }

  100% {
    opacity: 0.95;
    transform: translate(-2%, 10%) scale(1.02) rotate(-4deg);
    filter: drop-shadow(0 32px 44px rgba(0, 0, 0, 0.34));
  }
}

@keyframes heroSignDrop {
  0% {
    transform: translate(-50%, -46px) rotate(0deg);
  }

  25% {
    transform: translate(-53%, 50px) rotate(4deg);
  }

  55% {
    transform: translate(-48%, 190px) rotate(-16deg);
  }

  75% {
    transform: translate(-43%, 170px) rotate(-8deg);
  }

  100% {
    transform: translate(-42%, 220px) rotate(-12deg);
  }
}

@keyframes heroShadowDrop {
  0% {
    transform: translate(-50%, 0) scale(0.5, 0.35);
    opacity: 0.2;
  }

  40% {
    transform: translate(-52%, -5px) scale(0.85, 0.45);
    opacity: 0.5;
  }

  100% {
    transform: translate(-48%, -30px) scale(1.35, 0.7);
    opacity: 0.85;
  }
}

@keyframes heroSignSwing {
  0% {
    transform: translate(-44%, 235px) rotate(-12deg);
  }

  25% {
    transform: translate(-34%, 220px) rotate(-2deg);
  }

  50% {
    transform: translate(-44%, 232px) rotate(-10deg);
  }

  75% {
    transform: translate(-34%, 218px) rotate(-3deg);
  }

  100% {
    transform: translate(-44%, 235px) rotate(-12deg);
  }
}

@keyframes heroWireSwing {
  0% {
    transform: rotate(-3deg);
  }

  50% {
    transform: rotate(6deg);
  }

  100% {
    transform: rotate(-3deg);
  }
}

@keyframes heroWireSwingArm {
  0% {
    transform: rotate(-4deg);
  }

  50% {
    transform: rotate(8deg);
  }

  100% {
    transform: rotate(-4deg);
  }
}

@keyframes heroWireSpark {
  0% {
    opacity: 0;
    transform: translate(-50%, 0) rotate(-10deg) scale(0.8);
  }

  30% {
    opacity: 1;
    transform: translate(-50%, -6px) rotate(5deg) scale(1.1);
  }

  60% {
    opacity: 0.4;
    transform: translate(-50%, -10px) rotate(-4deg) scale(0.9);
  }

  80% {
    opacity: 1;
    transform: translate(-50%, -4px) rotate(8deg) scale(1.05);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -12px) rotate(-6deg) scale(0.75);
  }
}

@keyframes heroSparkBeam {
  0% {
    opacity: 0;
    transform: rotate(var(--spark-angle, 0deg)) scaleY(0.4);
  }

  18% {
    opacity: 1;
    transform: rotate(var(--spark-angle, 0deg)) scaleY(1.05);
  }

  60% {
    opacity: 0.6;
    transform: rotate(var(--spark-angle, 0deg)) scaleY(0.8);
  }

  100% {
    opacity: 0;
    transform: rotate(var(--spark-angle, 0deg)) scaleY(0.35);
  }
}

@keyframes heroSparkBurst {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.4);
  }

  25% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
  }

  70% {
    opacity: 0.45;
    transform: translate(-50%, -50%) scale(0.7);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.3);
  }
}

@keyframes heroSparkEmbers {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.4);
  }

  30% {
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(1.1) rotate(-6deg);
  }

  60% {
    opacity: 0.5;
    transform: translate(-50%, -40%) scale(0.9) rotate(8deg);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -35%) scale(0.5) rotate(-10deg);
  }
}

@keyframes heroSmoke {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.6);
  }

  25% {
    opacity: 0.6;
  }

  60% {
    opacity: 0.35;
    transform: translate(var(--smoke-drift-x, -30px), calc(var(--smoke-drift-y, -65vh) * 0.5)) scale(calc(var(--smoke-scale, 2.4) * 0.65));
  }

  100% {
    opacity: 0;
    transform: translate(var(--smoke-drift-x, -30px), var(--smoke-drift-y, -65vh)) scale(var(--smoke-scale, 2.4));
  }
}

.hero-sign-wires-top {
  position: absolute;
  top: -140px;
  left: 50%;
  width: calc(100% + 40px);
  transform: translateX(-50%);
  height: 140px;
  pointer-events: none;
  z-index: 4;
}

.hero-sign-wires-bottom {
  position: absolute;
  top: -20px;
  left: 50%;
  width: calc(100% - 10px);
  transform: translateX(-50%);
  height: 120px;
  pointer-events: none;
  z-index: 4;
}

.hero-wire {
  position: absolute;
  width: 6px;
  background: linear-gradient(180deg, #2f2f2f, #0a0a0a);
  border-radius: 999px;
  transform-origin: top center;
  filter: drop-shadow(0 8px 6px rgba(0, 0, 0, 0.3));
  transition: transform 0.45s ease;
}

.hero-wire.left {
  left: 22%;
}

.hero-wire.right {
  right: 22%;
}

.wire-top {
  top: 0;
  height: 140px;
  transform: rotate(0deg);
  transition: opacity 0.3s ease, height 0.45s ease, transform 0.45s ease;
}

.wire-top::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 50%;
  width: 22px;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(32, 32, 32, 0.8);
  filter: blur(3px);
}

.wire-top::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(60, 60, 60, 0.9);
}

.wire-bottom {
  top: -10px;
  height: 110px;
  background: linear-gradient(180deg, #1d1d1d, #060606);
  transform: rotate(0deg);
  transition: height 0.6s ease, opacity 0.6s ease, transform 0.6s ease;
}

.wire-tape {
  position: absolute;
  width: var(--tape-width, 32px);
  height: var(--tape-height, 26px);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(18, 18, 18, 0.85), rgba(9, 9, 9, 0.92) 55%, rgba(32, 32, 32, 0.8)) border-box;
  border: 2px solid rgba(0, 0, 0, 0.6);
  box-shadow:
    inset 0 0 6px rgba(0, 0, 0, 0.65),
    0 8px 16px rgba(0, 0, 0, 0.35);
  transform: translate(var(--tape-tx, -50%), var(--tape-ty, -60%)) rotate(var(--tape-tilt, -4deg));
  z-index: 5;
}

.wire-tape::before,
.wire-tape::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(28, 28, 28, 0.35), rgba(18, 18, 18, 0.8));
  opacity: 0.75;
}

.tape-left {
  left: 23%;
}

.tape-right {
  right: 23%;
  --tape-tx: 50%;
  --tape-tilt: 6deg;
}

.tape-bottom {
  top: -10px;
  --tape-height: 36px;
  --tape-ty: -42%;
}

.tape-bottom.tape-right {
  --tape-tilt: 14deg;
}

.tape-bottom.tape-left {
  --tape-tilt: -12deg;
}

.tape-top {
  top: auto;
  bottom: -12px;
  --tape-width: 32px;
  --tape-height: 28px;
  --tape-ty: -48%;
}

.tape-top.tape-right {
  --tape-tilt: 18deg;
}

.tape-top.tape-left {
  --tape-tilt: -18deg;
}

.wire-bottom::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.7), transparent 70%);
}

.wire-spark {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 230, 160, 0.95) 25%, rgba(255, 116, 36, 0.6) 55%, transparent 80%);
  box-shadow:
    0 0 22px rgba(255, 200, 120, 0.8),
    0 0 36px rgba(255, 120, 60, 0.55);
  opacity: 0;
  transform: translate(-50%, -50%);
  filter: saturate(1.2);
}

.spark-top-right {
  top: calc(100% - 12px);
  right: 23%;
}

.spark-bottom-right {
  top: 12%;
  right: 23%;
}

.hero-visual.is-dropping .spark-top-right,
.hero-visual.is-crashed .spark-top-right {
  opacity: 1;
  animation: heroWireShortCircuit 0.46s linear infinite;
}

.hero-visual.is-dropping .spark-bottom-right,
.hero-visual.is-crashed .spark-bottom-right {
  opacity: 1;
  animation: heroWireShortCircuit 0.5s linear infinite;
  animation-delay: 0.14s;
}

.hero-visual.is-dropping .wire-bottom.left {
  animation: heroWireStretch 1.2s ease forwards;
}

.hero-visual.is-dropping .wire-bottom.right {
  animation: heroWireSnapTail 0.35s ease forwards;
}

.hero-visual.is-dropping .wire-top.left {
  animation: heroWireTopTension 1.2s ease forwards;
}

.hero-visual.is-dropping .tape-top.tape-left {
  --tape-tilt: -20deg;
  --tape-ty: -36%;
}

.hero-visual.is-dropping .tape-top.tape-right {
  --tape-tilt: 22deg;
  --tape-ty: -36%;
}

.hero-visual.is-dropping .tape-bottom.tape-left {
  --tape-tilt: -18deg;
  --tape-ty: -52%;
}

.hero-visual.is-dropping .tape-bottom.tape-right {
  --tape-tilt: 22deg;
  --tape-ty: -52%;
}

.hero-visual.is-dropping .wire-top.right {
  animation: heroWireTopSnap 0.42s ease forwards;
}

.hero-visual.is-crashed .wire-top.right::after {
  width: 16px;
  height: 16px;
  background: radial-gradient(circle, rgba(255, 220, 160, 0.95), rgba(255, 90, 32, 0.7), transparent 75%);
  filter: drop-shadow(0 0 12px rgba(255, 180, 90, 0.8));
}

.hero-visual.is-crashed .wire-top.left {
  animation: none;
  height: 148px;
  transform: rotate(6deg);
  opacity: 1;
}

.hero-visual.is-crashed .wire-top.right {
  animation: none;
  height: 96px;
  transform: rotate(18deg);
  opacity: 1;
}


.hero-visual.is-crashed .tape-top.tape-left {
  --tape-tilt: -24deg;
  --tape-ty: -24%;
}

.hero-visual.is-crashed .tape-top.tape-right {
  --tape-tilt: 26deg;
  --tape-ty: -24%;
}

.hero-visual.is-crashed .hero-wire.left {
  transform: translateY(10px) rotate(-6deg);
}

.hero-visual.is-crashed .wire-bottom.left {
  height: 205px;
  transform: rotate(-8deg);
}

.hero-visual.is-crashed .wire-bottom.right {
  opacity: 1;
  height: 28px;
  transform: translateY(-12px) rotate(22deg);
}

.hero-visual.is-crashed .tape-bottom.tape-left {
  --tape-tilt: -24deg;
  --tape-ty: -34%;
}

.hero-visual.is-crashed .tape-bottom.tape-right {
  --tape-tilt: 28deg;
  --tape-ty: -34%;
}

.hero-sign-frame {
  position: absolute;
  inset: 0;
  border-radius: clamp(96px, 8.6vw, 186px);
  background:
    linear-gradient(128deg, rgba(255, 240, 220, 0.4), transparent 35%),
    linear-gradient(312deg, rgba(255, 180, 120, 0.35), transparent 50%),
    linear-gradient(180deg, #ff8a3d 0%, #ff4d1a 40%, #b51d06 90%);
  box-shadow:
    inset 0 0 34px rgba(255, 210, 170, 0.45),
    inset 0 0 12px rgba(70, 12, 0, 0.65),
    0 32px 48px rgba(0, 0, 0, 0.32),
    0 0 22px rgba(255, 86, 12, 0.55);
  z-index: 0;
}

@keyframes heroWireStretch {
  0% {
    height: 110px;
  }

  80% {
    height: 190px;
  }

  100% {
    height: 185px;
  }
}

@keyframes heroWireSnapTail {
  0% {
    height: 110px;
    opacity: 1;
  }

  50% {
    height: 150px;
    opacity: 1;
  }

  78% {
    height: 110px;
    opacity: 0.95;
  }

  92% {
    height: 38px;
    opacity: 0.8;
  }

  100% {
    height: 0px;
    opacity: 0;
  }
}

@keyframes heroWireTopTension {
  0% {
    height: 140px;
    transform: rotate(0deg);
  }

  60% {
    height: 172px;
    transform: rotate(-2deg);
  }

  100% {
    height: 158px;
    transform: rotate(-4deg);
  }
}

@keyframes heroWireTopSnap {
  0% {
    height: 140px;
    transform: rotate(0deg);
    opacity: 1;
  }

  65% {
    height: 182px;
    transform: rotate(8deg);
    opacity: 1;
  }

  82% {
    height: 96px;
    transform: rotate(14deg);
    opacity: 0.85;
  }

  100% {
    height: 54px;
    transform: rotate(20deg);
    opacity: 0.5;
  }
}

@keyframes heroWireShortCircuit {
  0% {
    opacity: 0;
    transform: translate(-50%, -6px) scale(0.6) rotate(-10deg);
  }

  40% {
    opacity: 1;
    transform: translate(-50%, -10px) scale(1) rotate(6deg);
  }

  70% {
    opacity: 0.65;
    transform: translate(-50%, -16px) scale(0.9) rotate(-4deg);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -22px) scale(0.5) rotate(12deg);
  }
}

@keyframes heroImpactTilt {
  0% {
    transform: skewX(0deg) translateX(0);
  }

  30% {
    transform: skewX(-2deg) translateX(-6px);
  }

  60% {
    transform: skewX(1.5deg) translateX(4px);
  }

  100% {
    transform: skewX(0deg) translateX(0);
  }
}

.hero-copy[data-impact-shake] {
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.hero-copy-impact {
  animation: heroImpactTilt 0.6s ease forwards;
}
