/* ==========================================================================
   Landing page (index.html) — styles for this page only.
   Brand values match version01/style.css and assets/logos/logo-color.svg.
   ========================================================================== */

/* Variables
   ========================================================================== */
:root {
  --logo-blue: #1A479E;       /* fill used in logo-color.svg */
  --navy: #0E2350;
  --ink: #1A1D24;
  --ink-2: #3A404C;
  --ink-3: #4A5160;
  --white: #FFFFFF;

  --font-display: 'Archivo', sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
}

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

html,
body { margin: 0; padding: 0; }

html { overflow-x: clip; }

body {
  min-height: 100vh;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

/* Layout
   ========================================================================== */
.landing {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--white);
}

.landing__inner {
  flex: 1;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(56px, 10vh, 120px) var(--gutter) 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Content
   ========================================================================== */
.landing__logo {
  width: auto;
  height: clamp(48px, 7vw, 72px);
  margin-bottom: clamp(40px, 6vw, 64px);
}

.landing__title {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 82%;
  font-weight: 800;
  font-size: clamp(40px, 7vw, 76px);
  line-height: .98;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--navy);
}

.landing__lead {
  margin: 22px 0 0;
  max-width: 520px;
  color: var(--ink-2);
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.65;
  text-wrap: pretty;
}

/* Version buttons
   ========================================================================== */
.versions {
  margin: clamp(36px, 5vw, 52px) 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.version-btn {
  min-width: 220px;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 24px;
  border-radius: 2px;
  background: var(--logo-blue);
  color: var(--white);
  font-family: var(--font-display);
  font-stretch: 88%;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 24px 40px -24px rgba(14, 35, 80, .55);
  transition: background-color .2s ease, transform .2s ease;
}
.version-btn:hover {
  background: var(--navy);
  transform: translateY(-2px);
}
.version-btn:focus-visible {
  outline: 3px solid var(--logo-blue);
  outline-offset: 3px;
}
.version-btn__arrow {
  font-family: var(--font-body);
  font-weight: 700;
  transition: transform .2s ease;
}
.version-btn:hover .version-btn__arrow { transform: translateX(4px); }

/* Footer
   ========================================================================== */
.landing__footer {
  padding: 24px var(--gutter) 28px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-3);
}

/* Responsive
   ========================================================================== */
@media (max-width: 480px) {
  .versions { width: 100%; flex-direction: column; }
  .version-btn { width: 100%; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .version-btn,
  .version-btn__arrow { transition: none; }
  .version-btn:hover,
  .version-btn:hover .version-btn__arrow { transform: none; }
}
