/* SPDX-License-Identifier: AGPL-3.0-only
   thermals.cloud holding page — rooks brand canon (cmo/brand/rooks/): ink on
   bone, gold glint accent, Space Grotesk + Space Mono, all lowercase. thermals
   is type-led — no standalone mark; the wordmark carries the identity, with the
   gold glint on the period as the rooks family sun-nod. */

@font-face {
  font-family: 'Space Grotesk';
  src: url('/fonts/space-grotesk.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Mono';
  src: url('/fonts/space-mono.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink:   #15171C;
  --slate: #2B313B;
  --glint: #F0B43C;
  --bone:  #ECEAE4;
  --chalk: #F6F5F2;
  --muted: #9AA0AB;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 6vh, 3.5rem);
  padding: clamp(2rem, 6vw, 4rem) 1.5rem;
  background: var(--ink);
  color: var(--bone);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 36rem;
  width: 100%;
}

.eyebrow {
  margin: 0 0 clamp(1.5rem, 4vh, 2.25rem);
  font-family: 'Space Mono', ui-monospace, monospace;
  font-size: 0.8125rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--glint);
}

.wordmark {
  margin: 0;
  font-weight: 700;
  font-size: clamp(2.5rem, 11vw, 5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--chalk);
}
.wordmark .dot { color: var(--glint); }

.lede {
  margin: clamp(1.5rem, 4vh, 2.25rem) 0 0;
  font-weight: 400;
  font-size: clamp(1.05rem, 3.6vw, 1.4rem);
  line-height: 1.4;
  color: var(--bone);
}

.links {
  margin: clamp(2.25rem, 6vh, 3.25rem) 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2rem;
}

.links a {
  font-weight: 500;
  font-size: 1.0625rem;
  color: var(--bone);
  text-decoration: none;
  border-bottom: 1px solid var(--slate);
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.links a:hover,
.links a:focus-visible {
  color: var(--glint);
  border-color: var(--glint);
}
.links a .arr { color: var(--muted); font-size: 0.9em; }
.links a:hover .arr,
.links a:focus-visible .arr { color: var(--glint); }

footer {
  font-family: 'Space Mono', ui-monospace, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}
footer a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
footer a:hover,
footer a:focus-visible {
  color: var(--bone);
  border-color: var(--slate);
}

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

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
