/* Figtree (Erik Kennedy, SIL Open Font License 1.1, from Google Fonts): one variable file per script range, served
   from this site itself. Nothing is loaded from Google: no request to a third party, so no visitor data leaves. */
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/figtree-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/figtree-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* The waiting page of tadoma.studio. Light paper, so the real logo (a gradient from deep purple over pink to orange)
   reads in full: on a dark page its first letters disappear. Everything is centred. The button carries the same
   run of colours as the logo. */
:root {
  --bg: #fbfaf6;
  --fg: #1a1320;
  --fg-dim: #4d4458;          /* on --bg: 8.6:1 */
  --purple: #3915a7;
  --violet: #880ca0;
  --pink: #d20384;
  --orange: #fb923c;
  --font: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { height: 100%; }
body {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  color: var(--fg);
  font: 18px/1.55 var(--font);
  text-align: center;
  background:
    radial-gradient(ellipse 70% 50% at 15% -5%, rgba(57, 21, 167, 0.10), transparent 70%),
    radial-gradient(ellipse 70% 50% at 85% 105%, rgba(251, 146, 60, 0.14), transparent 70%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(46rem, 100%);
  margin: 0 auto;
  padding: 48px 24px;
}
h1 { margin: 0 0 32px; }
.wordmark { display: block; width: 340px; max-width: 80%; height: auto; margin: 0 auto; }
p { margin: 0 0 18px; color: var(--fg-dim); }
.beta { margin-top: 30px; }
.tagline { font-size: 1.5rem; line-height: 1.3; font-weight: 650; color: var(--fg); margin: 0 auto 30px; max-width: 30rem; }
/* The four strengths, each in a block of its own: two by two, one column on a narrow screen. */
.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.cards li {
  padding: 22px 22px 20px;
  border: 1px solid rgba(26, 19, 32, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}
.cards h2 { margin: 0 0 6px; font-size: 1.1rem; line-height: 1.3; color: var(--fg); }
.cards p { margin: 0; font-size: 0.98rem; line-height: 1.5; }
.tm { font-size: 0.7em; font-weight: 500; vertical-align: 0.45em; margin-left: 1px; color: var(--fg-dim); }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }
.button {
  display: inline-block;
  margin-top: 12px;
  padding: 14px 28px;
  border-radius: 999px;
  /* the logo's own run of colours, purple over pink to orange; the end is a deeper orange than the logo's, so the
     white text keeps at least 3.2:1 everywhere (large bold text needs 3:1) */
  background: linear-gradient(90deg, #3915a7 0%, #880ca0 28%, #d20384 52%, #fa076a 74%, #e8590c 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.button:hover { filter: brightness(1.1); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }
footer {
  width: min(36rem, 100%);
  margin: 0 auto;
  padding: 0 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
}
footer p { margin: 0; }
footer button {
  font: inherit;
  color: var(--fg);
  background: none;
  border: 1px solid rgba(26, 19, 32, 0.4);
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
}
footer button:hover { border-color: var(--fg); }
/* One language at a time. Without JavaScript data-lang stays "en". */
html[data-lang="en"] main [lang="nl"], html[data-lang="nl"] main [lang="en"] { display: none; }
@media (max-width: 420px) { body { font-size: 17px; } }
@media (forced-colors: active) { .button { border: 2px solid ButtonText; } }
