:root {
  /* Logo palette */
  --brand-blue: #0137a4;
  --brand-blue-dark: #00287a;
  --brand-sky: #0070e8;
  --brand-red: #de0415;
  --brand-gold: #ffd703;
  --brand-green: #047e33;

  /* UI tokens */
  --bg: #f6f8fc;
  --surface: #ffffff;
  --text: #121b2e;
  --text-muted: #5e6a81;
  --border: #dfe6f2;
  --shadow-sm: 0 6px 24px rgba(1, 55, 164, 0.08);
  --shadow-focus: 0 0 0 3px rgba(1, 55, 164, 0.18);
  --radius: 10px;
}

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

html,
body {
  height: 100%;
  margin: 0;
}

body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 18% 12%, rgba(0, 112, 232, 0.06), transparent 42%),
    radial-gradient(circle at 84% 18%, rgba(255, 215, 3, 0.08), transparent 36%),
    radial-gradient(circle at 50% 88%, rgba(222, 4, 21, 0.04), transparent 45%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.top-tricolor-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--brand-sky) 0%,
    var(--brand-blue) 35%,
    var(--brand-gold) 65%,
    var(--brand-red) 100%
  );
  z-index: 20;
}

.page-shell {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 4px;
}

/* Header */
.site-header {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 26px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--brand-blue);
}

.brand-logo {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand-blue);
}

.brand-name-accent {
  color: var(--brand-red);
}

.social-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-link {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border-radius: 50%;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--brand-blue);
  background-color: rgba(1, 55, 164, 0.08);
  outline: none;
}

/* Hero */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px 48px;
}

.hero-content {
  width: 100%;
  max-width: 740px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 6px 14px;
  border-radius: 999px;
  background-color: rgba(4, 126, 51, 0.08);
  border: 1px solid rgba(4, 126, 51, 0.2);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--brand-green);
  letter-spacing: -0.01em;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--brand-green);
  display: inline-block;
  animation: pulse-dot 2.2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.65;
  }
}

.headline {
  margin: 0 0 34px;
  font-size: clamp(2rem, 4.4vw, 3.15rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.03em;
  color: var(--brand-blue);
}

.highlight {
  position: relative;
  display: inline-block;
  color: var(--brand-red);
}

.highlight::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-gold), var(--brand-red));
  transform-origin: left center;
}

.subtitle {
  margin: 0 0 18px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

/* Form */
.notify-form {
  max-width: 456px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.notify-form:focus-within {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-focus);
}

.notify-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 15px 18px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
}

.notify-form input::placeholder {
  color: #96a1b5;
}

.submit-btn {
  border: 0;
  background-color: var(--brand-blue);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0 24px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.18s ease;
}

.submit-btn:hover,
.submit-btn:focus-visible {
  background-color: var(--brand-blue-dark);
  outline: none;
}

.form-feedback {
  min-height: 22px;
  margin: 12px 0 0;
  font-size: 0.88rem;
  font-weight: 600;
}

.form-feedback.is-success {
  color: var(--brand-green);
}

.form-feedback.is-error {
  color: var(--brand-red);
}

.contact-line {
  margin: 18px 0 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.contact-line a {
  color: var(--brand-blue);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 215, 3, 0.85);
  padding-bottom: 1px;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.contact-line a:hover,
.contact-line a:focus-visible {
  color: var(--brand-red);
  border-bottom-color: var(--brand-red);
  outline: none;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background-color: #ffffff;
  padding: 18px 24px;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.footer-brand {
  color: var(--brand-blue);
  font-weight: 700;
}

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

  * {
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 20px 18px;
  }

  .brand-logo {
    height: 38px;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .desktop-break {
    display: none;
  }

  .notify-form {
    flex-direction: column;
    border-radius: var(--radius);
  }

  .notify-form input {
    padding: 14px 16px;
    text-align: center;
  }

  .submit-btn {
    padding: 13px 18px;
  }
}
