:root {
  --navy: #002364;
  --blue: #39a8e5;
  --blue-ink: #1577b8;
  --bg: #ffffff;
  --muted: #5b6b8a;
  --line: #e3e9f3;
  --gutter-x: 1.5rem;
  --radius: 16px;
  --shadow: 0 14px 34px -22px rgba(0, 35, 100, 0.45);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

[hidden] {
  display: none !important;
}

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

body::before {
  background:
    radial-gradient(70vw 55vh at 100% 0%, rgba(57, 168, 229, 0.15), transparent 70%),
    radial-gradient(60vw 50vh at 0% 100%, rgba(0, 35, 100, 0.06), transparent 70%);
}

body::after {
  background: radial-gradient(circle, rgba(0, 35, 100, 0.13) 1px, transparent 1.6px) 0 0 / 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at center, transparent 34%, #000 100%);
  mask-image: radial-gradient(ellipse at center, transparent 34%, #000 100%);
}

.container {
  width: 100%;
  padding-right: calc(var(--gutter-x) * 0.5);
  padding-left: calc(var(--gutter-x) * 0.5);
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

.page {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: clamp(24px, 5vw, 56px) 0 20px;
}

.hero {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo {
  width: clamp(190px, 44vw, 320px);
  height: auto;
  margin-bottom: 14px;
}

.tagline {
  margin: 0 0 clamp(28px, 5vw, 44px);
  font-size: clamp(0.95rem, 2.2vw, 1.125rem);
  font-weight: 600;
  color: var(--blue-ink);
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(1.85rem, 5.4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.lead {
  margin: 0 0 clamp(28px, 5vw, 40px);
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  color: #000;
}

.lead p {
  margin: 0;
  text-wrap: pretty;
}

.lead p + p {
  margin-top: 4px;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 2vw, 16px);
  width: 100%;
  max-width: 520px;
  margin-bottom: clamp(32px, 6vw, 48px);
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: clamp(14px, 3vw, 22px) 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow);
}

.countdown-value {
  font-size: clamp(1.75rem, 7vw, 3rem);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-ink);
}

.countdown-done {
  margin: 0 0 clamp(32px, 6vw, 48px);
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  font-weight: 600;
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.contact svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.contact-btn:hover {
  background: #0a3a8f;
  transform: translateY(-1px);
}

.social {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg);
  color: var(--navy);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social a:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
  transform: translateY(-1px);
}

a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.site-footer {
  margin-top: 40px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer p {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.site-footer .sep {
  display: none;
  color: #a9b6cc;
}

@media (min-width: 768px) {
  .site-footer p {
    flex-direction: row;
    justify-content: center;
    gap: 12px;
  }

  .site-footer .sep {
    display: inline;
  }
}

.site-footer strong {
  font-weight: 600;
  color: var(--navy);
}

@media (prefers-reduced-motion: reduce) {
  .contact-btn,
  .social a {
    transition: none;
  }

  .contact-btn:hover,
  .social a:hover {
    transform: none;
  }
}
