/* INFRA-003A-W2 — elitecars Launch Gateway
   Typography-only branding · CSS background · no JS */

:root {
  --brand-primary: #0b4ea2;
  --brand-primary-dark: #083d82;
  --brand-navy: #123a66;
  --brand-white: #ffffff;
  --brand-bg: #f6f9fc;
  --color-text: #123a66;
  --color-text-muted: #4a627a;
  --color-border: rgba(18, 58, 102, 0.12);
  --color-surface: #ffffff;
  --shadow-soft: 0 24px 64px rgba(11, 78, 162, 0.1);
  --shadow-card: 0 8px 28px rgba(11, 78, 162, 0.08);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --content-max: 52rem;
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--brand-bg);
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--brand-navy);
}

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

.page {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  isolation: isolate;
  overflow-x: clip;
}

.page__bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 60% at 10% 0%, rgba(11, 78, 162, 0.09), transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 15%, rgba(18, 58, 102, 0.07), transparent 50%),
    linear-gradient(165deg, #eef4fb 0%, var(--brand-bg) 38%, #ffffff 100%);
}

.page__bg::before,
.page__bg::after {
  content: "";
  position: absolute;
  inset: 0;
}

.page__bg::before {
  background:
    radial-gradient(circle at 20% 78%, rgba(11, 78, 162, 0.06) 0 2px, transparent 2px 100%),
    radial-gradient(circle at 40% 88%, rgba(11, 78, 162, 0.05) 0 1.5px, transparent 1.5px 100%),
    radial-gradient(circle at 72% 72%, rgba(18, 58, 102, 0.05) 0 2px, transparent 2px 100%);
  background-size: 48px 48px, 36px 36px, 52px 52px;
  opacity: 0.55;
}

.page__bg::after {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath fill='%230B4EA2' fill-opacity='0.04' d='M0,192L48,181.3C96,171,192,149,288,154.7C384,160,480,192,576,197.3C672,203,768,181,864,165.3C960,149,1056,139,1152,149.3C1248,160,1344,192,1392,208L1440,224L1440,320L0,320Z'/%3E%3C/svg%3E")
      bottom center / 100% 42% no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 280' preserveAspectRatio='none'%3E%3Cpath fill='%23123A66' fill-opacity='0.035' d='M0,96L60,112C120,128,240,160,360,165.3C480,171,600,149,720,138.7C840,128,960,128,1080,144C1200,160,1320,192,1380,208L1440,224L1440,280L0,280Z'/%3E%3C/svg%3E")
      bottom center / 100% 34% no-repeat;
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100%;
  z-index: 100;
  padding: var(--space-2) var(--space-4);
  background: var(--brand-navy);
  color: var(--brand-white);
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: var(--space-4);
}

.header {
  background: linear-gradient(180deg, var(--brand-navy) 0%, #0f3258 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header__inner {
  max-width: calc(var(--content-max) + var(--space-8));
  margin: 0 auto;
  padding: 0.875rem clamp(1.25rem, 4vw, 2rem);
  display: flex;
  align-items: center;
  min-height: 3.25rem;
}

.header__brand {
  margin: 0;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--brand-white);
  text-transform: lowercase;
}

.main {
  flex: 1;
  width: 100%;
  max-width: calc(var(--content-max) + var(--space-8));
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 4vw, 2rem) clamp(2rem, 5vw, 3rem);
}

.hero {
  text-align: center;
}

.hero__card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.75rem, 5vw, 2.75rem) clamp(1.25rem, 4vw, 2.25rem);
}

.hero__title {
  margin: 0 0 var(--space-3);
  font-size: clamp(1.625rem, 5vw, 2.125rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--brand-primary);
  text-transform: lowercase;
}

.hero__tagline {
  margin: 0 0 var(--space-5);
  font-size: clamp(0.9375rem, 2.8vw, 1.125rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--brand-navy);
}

.hero__status-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin: 0 0 var(--space-6);
}

.hero__status-line {
  flex: 1 1 3rem;
  max-width: 5.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(11, 78, 162, 0.45), transparent);
}

.hero__status {
  margin: 0;
  font-size: clamp(1rem, 3vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--brand-primary);
  white-space: nowrap;
}

.hero__message {
  margin: 0 auto var(--space-8);
  max-width: 36rem;
  font-size: clamp(0.9875rem, 2.5vw, 1.0625rem);
  line-height: 1.65;
  color: var(--color-text-muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin-bottom: var(--space-2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0 1.125rem;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}

.btn__icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  color: var(--brand-white);
  background: linear-gradient(180deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
  box-shadow: var(--shadow-card);
}

.btn--primary:hover {
  color: var(--brand-white);
  background: linear-gradient(180deg, #0c56b4 0%, var(--brand-navy) 100%);
}

.btn--secondary {
  color: var(--brand-navy);
  background: var(--brand-white);
  border-color: var(--color-border);
}

.btn--secondary:hover {
  border-color: rgba(11, 78, 162, 0.28);
  background: #f0f6fc;
}

.btn--ghost {
  color: var(--color-text-muted);
  background: transparent;
  border-color: rgba(74, 98, 122, 0.22);
  cursor: not-allowed;
  opacity: 0.78;
}

.btn--ghost:disabled {
  pointer-events: none;
}

.features {
  margin-top: clamp(1.5rem, 4vw, 2.25rem);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-4);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 18px rgba(11, 78, 162, 0.05);
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  color: var(--brand-primary);
  background: color-mix(in srgb, var(--brand-primary) 10%, white);
}

.feature__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.feature__title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--brand-navy);
}

.feature__text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.footer {
  padding: var(--space-6) clamp(1rem, 4vw, 2rem) var(--space-8);
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.76);
}

.footer p {
  margin: 0;
}

@media (min-width: 640px) {
  .features__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .actions {
    gap: var(--space-4);
  }
}

@media (min-width: 960px) {
  .features__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand-bg: #0a1420;
    --color-text: #e2e8f0;
    --color-text-muted: #94a3b8;
    --color-border: rgba(148, 163, 184, 0.16);
    --color-surface: #101c28;
  }

  .page__bg {
    background:
      radial-gradient(ellipse 90% 60% at 10% 0%, rgba(11, 78, 162, 0.16), transparent 55%),
      linear-gradient(165deg, #0a1420 0%, #0f1a28 100%);
  }

  .feature {
    background: rgba(16, 28, 40, 0.88);
  }

  .footer {
    background: rgba(10, 20, 32, 0.88);
  }

  .btn--secondary {
    background: var(--color-surface);
  }
}
