/* σειρά design system (docs/design-system). Every colour is a token of
   frontend/src/helpers/designTokens.js. */

@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito-latin.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC;
}

@font-face {
  font-family: "Zen Maru Gothic";
  src: url("/fonts/zen-maru-gothic-greek-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0370-03FF;
}

@font-face {
  font-family: "Zen Maru Gothic";
  src: url("/fonts/zen-maru-gothic-greek-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0370-03FF;
}

:root {
  --color-navy: #111820;
  --color-teal-700: #007a67;
  --color-teal-900: #004d42;
  --color-mint: #B7EDE3;
  --color-cream: #F5F7F2;
  --color-white: #ffffff;
  --color-grey-100: #DDE2E7;
  --color-grey-600: #5c6f7d;
}

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

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: var(--color-cream);
  color: var(--color-navy);
  font-family: "Nunito", "Zen Maru Gothic", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

h1,
p {
  margin: 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

a {
  color: var(--color-teal-700);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--color-teal-900);
}

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

header {
  display: flex;
  justify-content: flex-end;
  padding: 16px;
}

.language {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--color-grey-100);
  border-radius: 9999px;
  background: var(--color-white);
  color: var(--color-navy);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.language:hover {
  border-color: var(--color-teal-700);
  color: var(--color-teal-700);
}

main {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 16px clamp(24px, 10vh, 80px);
  text-align: center;
}

/* Clear space: at least the height of four of its dots (38px at full size). */
.logo {
  width: clamp(112px, 35vw, 176px);
  height: auto;
  margin-bottom: 40px;
}

/* The navy logo would vanish on a dark forced background. */
@media (forced-colors: active) {
  .logo {
    box-sizing: content-box;
    padding: 24px;
    background: var(--color-cream);
    forced-color-adjust: none;
  }
}

.label {
  margin-bottom: 20px;
  padding: 4px 12px;
  border-radius: 9999px;
  background: var(--color-mint);
  color: var(--color-teal-900);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 14em;
  font-size: clamp(2rem, 1.4rem + 3vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.lead {
  max-width: 30em;
  margin-top: 16px;
  color: var(--color-grey-600);
  font-size: 1.25rem;
  line-height: 1.5;
}

.status,
.contact {
  margin-top: 24px;
}

.home {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 24px;
  font-weight: 600;
}
