:root {
  --ink: #0b0b0f;
  --panel: #15151d;
  --paper: #fff7dc;
  --rage: #ff263b;
  --acid: #f7ff2f;
  --hot: #ff7a18;
  --muted: #b8b1a2;
  --line: rgba(255, 255, 255, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background:
    linear-gradient(135deg, rgba(255, 38, 59, 0.38), transparent 32%),
    radial-gradient(circle at 78% 18%, rgba(247, 255, 47, 0.2), transparent 26%),
    linear-gradient(160deg, #07070a 0%, #15151d 48%, #28090d 100%);
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.page-shell {
  display: grid;
  min-height: 100vh;
  padding: 28px;
  gap: 42px;
  place-items: center;
}

.manifesto {
  width: min(1080px, 100%);
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  border-left: 8px solid var(--rage);
  border-radius: 8px;
  background: rgba(11, 11, 15, 0.82);
  box-shadow: 12px 12px 0 rgba(255, 38, 59, 0.25);
}

.alert-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
  margin: 0 0 14px;
}

.alert-label {
  width: fit-content;
  margin: 0;
  padding: 8px 10px;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
  background: var(--rage);
}

.translation-hint {
  margin: 0;
  color: #f1e7c8;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
}

.manifesto h1 {
  margin: 0 0 24px;
  max-width: 960px;
  color: var(--paper);
  font-size: clamp(2.4rem, 7vw, 6.4rem);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.manifesto h2 {
  margin: 32px 0 12px;
  color: var(--acid);
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
}

.manifesto p,
.risk-list {
  color: #f1e7c8;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.7;
}

.manifesto p {
  margin: 0 0 16px;
}

.risk-list {
  display: grid;
  gap: 16px;
  margin: 18px 0 0;
  padding-left: 24px;
}

.risk-list li::marker {
  color: var(--rage);
  font-weight: 950;
}

.risk-list strong {
  display: block;
  margin-bottom: 4px;
  color: #ffffff;
  text-transform: uppercase;
}

.hero {
  width: min(1080px, 100%);
  display: grid;
  grid-template-columns: minmax(220px, 340px) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 54px);
  align-items: center;
  justify-content: center;
  padding-block: 24px 14px;
  text-align: left;
}

.brand-logo-link {
  display: block;
  border-radius: 8px;
}

.brand-logo-link:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 8px;
}

.brand-logo {
  width: min(340px, 72vw);
  aspect-ratio: 1;
  display: block;
  object-fit: cover;
  border: 2px solid rgba(255, 38, 59, 0.75);
  border-radius: 8px;
  box-shadow: 14px 14px 0 rgba(0, 0, 0, 0.38);
  transform: rotate(-3deg);
}

.hero-copy {
  padding-block: 8px;
  display: grid;
  justify-items: start;
}

.hero h2 {
  margin: 0;
  max-width: 740px;
  font-size: clamp(4.2rem, 12vw, 8.6rem);
  font-weight: 950;
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: uppercase;
}

.subtitle {
  max-width: 680px;
  margin: 26px 0 0;
  color: #eee2bf;
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  line-height: 1.45;
}

.browser-button {
  min-height: 52px;
  width: 100%;
  border: 2px solid var(--acid);
  border-radius: 6px;
  color: var(--acid);
  cursor: pointer;
  font: inherit;
  font-weight: 950;
  text-transform: uppercase;
  background: rgba(255, 38, 59, 0.08);
  box-shadow: 6px 6px 0 rgba(255, 38, 59, 0.7);
  transition:
    transform 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.browser-button:hover {
  color: #ffffff;
  background: rgba(255, 38, 59, 0.42);
  box-shadow: 3px 3px 0 rgba(247, 255, 47, 0.86);
  transform: translate(3px, 3px);
}

.browser-status {
  min-height: 1.4em;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
}

.browser-action {
  width: 100%;
  max-width: 430px;
}

.inline-browser-action {
  margin-top: 4px;
}

.browser-help {
  margin: 28px 0 0;
  color: #f1e7c8;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
}

.inline-translation {
  display: block;
  margin-top: 10px;
  color: var(--acid);
}

.eyebrow {
  width: fit-content;
  margin: 0 0 14px;
  padding: 8px 10px;
  border: 1px solid rgba(247, 255, 47, 0.45);
  color: var(--acid);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(11, 11, 15, 0.62);
}

.manifesto-action {
  display: grid;
  grid-template-columns: minmax(210px, 320px) minmax(260px, 430px);
  gap: clamp(28px, 5vw, 42px);
  align-items: center;
  justify-content: center;
  margin-top: 28px;
}

.share-preview {
  width: 100%;
  display: block;
  border: 1px solid rgba(247, 255, 47, 0.45);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 10px 10px 0 rgba(255, 38, 59, 0.28);
}

.share-copy {
  width: 100%;
  display: grid;
  gap: 22px;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.share-button {
  min-height: 54px;
  width: 100%;
  border: 2px solid #ffffff;
  border-radius: 6px;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ff263b 0%, #b90016 100%);
  box-shadow:
    7px 7px 0 var(--acid),
    0 0 28px rgba(255, 38, 59, 0.58);
  animation: buttonPulse 1.8s ease-in-out infinite;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.share-button::after {
  content: "  >";
}

.share-button:hover {
  background: linear-gradient(135deg, #ff4152 0%, #df001d 100%);
  box-shadow:
    4px 4px 0 var(--acid),
    0 0 36px rgba(255, 38, 59, 0.72);
  transform: translate(3px, 3px);
}

.share-button:focus-visible {
  outline: 3px solid var(--paper);
  outline-offset: 4px;
}

.share-note {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.translated {
  position: relative;
}

.translated::after {
  position: absolute;
  z-index: 20;
  left: 0;
  bottom: calc(100% + 10px);
  width: min(520px, 84vw);
  padding: 12px 14px;
  border: 1px solid rgba(247, 255, 47, 0.5);
  border-radius: 6px;
  color: var(--paper);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
  text-transform: none;
  pointer-events: none;
  content: attr(data-pt);
  opacity: 0;
  background: rgba(11, 11, 15, 0.96);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  transform: translateY(6px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.translated:hover::after,
.translated:focus-visible::after,
.translated.show-translation::after {
  opacity: 1;
  transform: translateY(0);
}

.manifesto h1.translated::after,
.manifesto h2.translated::after,
.hero h2.translated::after {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

@keyframes buttonPulse {
  0%,
  100% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.18);
  }
}

@media (max-width: 760px) {
  .page-shell {
    padding: 20px;
    place-items: start center;
  }

  .hero {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .manifesto-action {
    grid-template-columns: 1fr;
  }

  .share-preview {
    max-width: 360px;
  }

  .brand-logo {
    width: min(300px, 74vw);
  }

  .hero-copy {
    justify-items: center;
  }

  .subtitle {
    margin-inline: auto;
  }
}
