/*
 * The public face of an address that is not for the public.
 *
 * The same tokens the console is built from, written out rather than imported: this page ships with
 * the API and has no build step to resolve a package through, and three colours copied by hand are
 * cheaper than a bundler in front of one static file. Light only, like the console.
 */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/landing/fonts/poppins-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F,
    U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* The Czech of this page lives here: ě, š, č, ř, ž and ů are all latin-ext. */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/landing/fonts/poppins-latin-ext-400.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/landing/fonts/poppins-latin-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F,
    U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/landing/fonts/poppins-latin-ext-600.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --cream: #f5efeb;
  --navy: #224056;
  --navy-muted: #6b7d8a;
  --red: #ee3628;
  --white: #ffffff;
  --line: #d9d2cc;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 48px 20px;
  background: var(--cream);
  color: var(--navy);
  font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
}

main {
  width: 100%;
  max-width: 560px;
}

.eyebrow {
  margin: 0 0 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-muted);
}

h1 {
  margin: 0 0 20px;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-wrap: balance;
}

.lead {
  margin: 0 0 28px;
  /* Under 80 characters at every width the token scale allows. */
  max-width: 62ch;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 32px;
}

a {
  display: inline-block;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 120ms ease-out, border-color 120ms ease-out;
}

.primary {
  background: var(--red);
  color: var(--white);
}

.primary:hover {
  background: #d62d20;
}

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

.secondary:hover {
  border-color: var(--navy-muted);
}

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

.english {
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--navy-muted);
  max-width: 62ch;
}

footer {
  width: 100%;
  max-width: 560px;
  font-size: 0.8125rem;
  color: var(--navy-muted);
}

/* One column is already the layout; a phone only needs the type to stop shouting. */
@media (max-width: 420px) {
  h1 {
    font-size: 1.625rem;
  }

  .actions a {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  a {
    transition: none;
  }
}
