@font-face {
  font-family: 'Inter';
  src: url('/assets/inter-latin-cs-var.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('/assets/barlow-condensed-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --navy: #110e96;
  --red: #d3001b;
  --red-dark: #a80016;
  --gray: #e5e5e5;
  --text: #0b0b12;
  --muted: #4a4a5a;
  color-scheme: light;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

/* Navy band on top, echoes the header of the future site */
body::before {
  content: '';
  display: block;
  height: 6px;
  background: var(--navy);
}

.lang {
  display: flex;
  justify-content: flex-end;
  gap: 0.25rem;
  padding: 0.75rem 1rem 0;
  margin: 0;
  list-style: none;
}

.lang a {
  display: inline-block;
  padding: 0.375rem 0.625rem;
  border-radius: 999px;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.lang a:hover {
  background: var(--gray);
}

.lang a[aria-current='page'] {
  background: var(--navy);
  color: #fff;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem 1rem 3rem;
}

.logo {
  display: block;
  width: min(78vw, 360px);
  height: auto;
}

.route {
  display: block;
  width: min(70vw, 300px);
  height: auto;
  margin: 1.25rem 0 0.5rem;
}

.route .path {
  fill: none;
  stroke: var(--navy);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 6 7;
}

.route .pin-us {
  fill: var(--navy);
}

.route .pin-cz {
  fill: var(--red);
}

.route .pin-dot {
  fill: #fff;
}

.route .label {
  fill: var(--muted);
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
}

/* The dashes slowly travel from USA to CZ */
@media (prefers-reduced-motion: no-preference) {
  .route .path {
    animation: travel 1.6s linear infinite;
  }
}

@keyframes travel {
  to {
    stroke-dashoffset: -13;
  }
}

.eyebrow {
  margin: 0.75rem 0 0;
  color: var(--red);
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0.25rem 0 0;
  color: var(--navy);
  font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 9vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.lead {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: var(--muted);
  text-wrap: pretty;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.5rem;
  background: var(--red);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s;
}

.cta:hover {
  background: var(--red-dark);
}

.cta svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.email {
  margin: 0.875rem 0 0;
  font-size: 0.9375rem;
}

.email a {
  color: var(--navy);
  font-weight: 600;
}

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

.cta:focus-visible {
  outline-color: var(--red);
}

footer {
  padding: 1.25rem 1rem;
  background: var(--gray);
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
}

footer p {
  margin: 0;
}

.notfound h1 {
  font-size: clamp(2rem, 7vw, 3rem);
}
