:root {
  /* Nginx green + Brazil flag colors */
  --green: #009639;
  --green-light: #2fc76a;
  --yellow: #ffdf00;
  --blue: #002776;
  --white: #ffffff;

  /* Neutrals derived from the Brazil blue */
  --bg: #0b1530;
  --surface: #12204a;
  --border: #22336a;
  --text: #f4f6fb;
  --muted: #a9b4cc;
  --ink: #0b1530;

  --max-width: 1080px;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

main {
  flex: 1;
  display: flex;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* ---------- Notice banner ---------- */
.notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 16px;
  background: repeating-linear-gradient(
      135deg,
      transparent 0 18px,
      rgba(11, 21, 48, 0.06) 18px 36px
    ),
    var(--yellow);
  color: var(--ink);
  text-align: center;
  font-size: 0.95rem;
}

.notice__icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.notice__text {
  margin: 0;
}

.notice__text strong {
  margin-right: 6px;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 21, 48, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  min-width: 0;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--green);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: inset 0 -3px 0 var(--yellow);
  flex-shrink: 0;
}

.brand__name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lang {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  flex-shrink: 0;
}

.lang__btn {
  border: 0;
  border-radius: 999px;
  padding: 6px 12px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lang__btn:hover {
  color: var(--text);
}

.lang__btn[aria-pressed="true"] {
  background: var(--green);
  color: var(--white);
}

.lang__btn:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

/* ---------- Hero ---------- */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 96px 0 88px;
  background: radial-gradient(
      ellipse 60% 50% at 80% 10%,
      rgba(0, 150, 57, 0.28),
      transparent 70%
    ),
    linear-gradient(160deg, var(--blue) 0%, var(--bg) 75%);
}

.hero__inner {
  max-width: 640px;
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid rgba(255, 223, 0, 0.45);
  border-radius: 999px;
  background: rgba(255, 223, 0, 0.1);
  color: var(--yellow);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero__title {
  margin: 20px 0 12px;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero__text {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.1rem);
}

.progress {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}

.progress__bar {
  position: absolute;
  inset: 0;
  width: 72%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--green-light), var(--yellow));
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

.hero__status {
  margin: 12px 0 0;
  color: var(--yellow);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@keyframes shimmer {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .progress__bar {
    animation: none;
  }
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
}

/* ---------- Small screens ---------- */
@media (max-width: 520px) {
  .notice {
    font-size: 0.85rem;
    gap: 8px;
  }
  .notice__text strong {
    display: block;
    margin-right: 0;
  }
  .hero {
    padding: 64px 0 56px;
  }
  .lang__btn {
    padding: 6px 9px;
  }
}
