/* The landing page at trevologic.com. Colours, font and radius are the web app's and the sign-in
   page's (apps/atlantis/frontend/src/index.css, platform/keycloak/themes/atlantis): keep the three in step. */

/* Outfit, bundled (OFL, see fonts/OFL.txt): no font host sees the visit. */
@font-face {
  font-family: 'Outfit Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('fonts/outfit-latin-ext-wght-normal.woff2') format('woff2-variations');
  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-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('fonts/outfit-latin-wght-normal.woff2') format('woff2-variations');
  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;
}

:root {
  color-scheme: light dark;
  --background: oklch(0.9383 0.0042 236.4993);
  --foreground: oklch(0.3211 0 0);
  --card: oklch(1 0 0);
  --primary: oklch(0.642 0.1691 38.5815);
  --muted: oklch(0.551 0.0234 264.3637);
  --border: oklch(0.8452 0 0);
  --ring: oklch(0.6397 0.172 36.4421);
  --radius: 0.5rem;
  --shadow: 0 1px 3px 0 hsl(0 0% 10% / 0.1), 0 8px 10px -1px hsl(0 0% 10% / 0.1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: oklch(0.2178 0 0);
    --foreground: oklch(0.9219 0 0);
    --card: oklch(0.2435 0 0);
    --muted: oklch(0.5999 0 0);
    --border: oklch(0.329 0 0);
    --shadow: 0 1px 3px 0 hsl(0 0% 0% / 0.4), 0 8px 16px -2px hsl(0 0% 0% / 0.4);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--foreground);
  font: 16px/1.6 'Outfit Variable', system-ui, sans-serif;
}

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

.bar {
  display: flex;
  align-items: center;
  height: 3.5rem;
  padding: 0 1rem;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius);
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

main {
  flex: 1;
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
  padding: 4rem 1rem;
}

h1 {
  margin: 0 0 0.25rem;
  font-size: 2.25rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.lede {
  margin: 0 0 2.5rem;
  color: var(--muted);
}

.apps {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.app {
  display: grid;
  gap: 0.25rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 2);
  background: var(--card);
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s;
}

.app:hover {
  border-color: var(--primary);
}

.name {
  font-size: 1.25rem;
  font-weight: 600;
}

.about {
  color: var(--muted);
}

.open {
  margin-top: 0.5rem;
  color: var(--primary);
  font-weight: 600;
}

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