/* The Aretane site. Colours and font families are the design system's
   (packages/design-system/src/tokens.css), copied here because the site has no build step: light
   is the default, dark follows prefers-color-scheme. The faces are named but not shipped, so a
   visitor who has them installed sees them and everyone else gets the system stack. */

:root {
  color-scheme: light dark;

  --background: #eef0f2;
  --foreground: #13233a;
  --card: #ffffff;
  --muted-foreground: #586477;
  --primary: #1f5e9e;
  --primary-foreground: #ffffff;
  --border: #d5dae1;
  --ring: #b07a3b;
  --logo-accent: #b07a3b;
  --link: #1f5e9e;
  --warning: #f8ecd6;
  --warning-foreground: #82540a;

  --font-sans: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-heading: 'Outfit', 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Marcellus', 'GFS Didot', Georgia, 'Times New Roman', serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0e1a2b;
    --foreground: #e9ecf0;
    --card: #14233a;
    --muted-foreground: #98a4b6;
    --primary: #7faee0;
    --primary-foreground: #0b1626;
    --border: #2e4263;
    --ring: #d9a05a;
    --logo-accent: #d19b58;
    --link: #9fc2e8;
    --warning: #3a2b10;
    --warning-foreground: #efc67a;
  }
}

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

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}

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

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

.page {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 3rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--foreground);
  font-family: var(--font-display);
  font-size: 1.125rem;
  letter-spacing: 0.14em;
  text-decoration: none;
}

.brand svg {
  height: 1.75rem;
  width: 1.75rem;
}

.mark-letter {
  fill: none;
  stroke: var(--foreground);
  stroke-width: 3.36;
  stroke-linejoin: miter;
}

.mark-bar {
  fill: none;
  stroke: var(--logo-accent);
  stroke-width: 2.52;
  stroke-linecap: round;
}

h1,
h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: 2.25rem;
}

h2 {
  margin-top: 2.5rem;
  font-size: 1.375rem;
}

p,
ul {
  margin: 0.75rem 0 0;
}

ul {
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.375rem;
}

.lede {
  font-size: 1.25rem;
}

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

.button {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.625rem 1.25rem;
  border-radius: 0.375rem;
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 600;
  text-decoration: none;
}

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

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

.features li {
  margin: 0;
  padding: 1rem 1.125rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--card);
}

.features strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
}

@media (min-width: 40rem) {
  .features {
    grid-template-columns: 1fr 1fr;
  }
}

.placeholder {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: var(--warning);
  color: var(--warning-foreground);
}

.site-footer {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--muted-foreground);
  font-size: 0.9375rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  margin-right: 1rem;
}
