/* Plain-CSS port of the Tailwind classes used in the .tsx routes; tokens from the original styles.css */
/* One family, two cuts: weights <=500 render Light, >=600 render Black (ranges stop the browser faking bold) */
@font-face {
  font-family: "MikroSuper";
  src: url(fonts/MikroSuper-Light.woff2) format("woff2"), url(fonts/MikroSuper-Light.woff) format("woff");
  font-weight: 100 500;
  font-display: swap;
}
@font-face {
  font-family: "MikroSuper";
  src: url(fonts/MikroSuper-Black.woff2) format("woff2"), url(fonts/MikroSuper-Black.woff) format("woff");
  font-weight: 600 900;
  font-display: swap;
}

:root {
  --background: oklch(0.183 0.004 106);
  --foreground: oklch(1 0 0);
  --primary: oklch(0.866 0.295 142.5);
  --muted-foreground: oklch(0.78 0 0);
  --font: "MikroSuper", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; } /* reserve scrollbar space so the logo never shifts between short and long pages */
body { background: var(--background); color: var(--foreground); font-family: var(--font); line-height: 1.5; letter-spacing: 0.02em; }
body.home { letter-spacing: 0.07em; }
body.home .hero h1 { letter-spacing: 0.03em; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }

main { display: flex; flex-direction: column; min-height: 100vh; padding: 2.5rem 1.5rem; }
.logo { display: block; height: 2.25rem; width: auto; }
.logo-link, .home .logo { align-self: flex-start; }

/* index */
.hero { display: flex; flex: 1; flex-direction: column; justify-content: center; padding: 3rem 0; }
.hero h1 { font-size: calc((100vw - 3rem) / 5.2); font-weight: 800; line-height: 1; } /* mobile: 3 rows, sized so "the Future" fills the width */ /* no -0.05em tracking: MikroSuper glyphs collide */
.tagline { margin-top: 2rem; font-size: 1.5rem; line-height: 2rem; font-weight: 600; }
.contact { margin-top: 2.5rem; font-size: 1.25rem; line-height: 1.625; font-weight: 600; }

/* imprint + privacy */
main.page { padding-bottom: 3rem; } /* same top padding as index so the logo stays put */
.content { flex: 1; padding: 4rem 0; }
.content > div { max-width: 48rem; }
.content h1 { font-size: 2.25rem; line-height: 2.5rem; font-weight: 800; letter-spacing: 0.03em; }
.details { margin-top: 3rem; display: grid; gap: 2rem; line-height: 1.75rem; color: var(--muted-foreground); }
.details address { font-style: normal; }
.details b, .prose strong { font-weight: 600; letter-spacing: 0.06em; color: var(--foreground); }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }

.prose { margin-top: 2rem; }
.prose h2 { margin-top: 3.5rem; font-size: 1.5rem; line-height: 2rem; font-weight: 700; letter-spacing: 0.03em; }
.prose h3 { margin-top: 2.5rem; font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; letter-spacing: 0.03em; }
.prose h4 { margin-top: 2rem; font-size: 1.125rem; line-height: 1.75rem; font-weight: 600; }
.prose p { margin-top: 1rem; line-height: 1.75rem; color: var(--muted-foreground); }
.prose ul, .prose ol { margin-top: 1rem; padding-left: 1.5rem; color: var(--muted-foreground); }
.prose li { padding-left: 0.25rem; margin-top: 0.5rem; line-height: 1.75rem; }
.prose li::marker { color: var(--primary); }
.prose a { overflow-wrap: break-word; font-weight: 500; color: var(--foreground); text-decoration: underline var(--primary); text-underline-offset: 4px; transition: color .15s; }
.prose a:hover { color: var(--primary); }

footer { font-size: 1.125rem; line-height: 1.75rem; font-weight: 300; letter-spacing: 0.02em; color: var(--muted-foreground); }
footer nav { display: flex; gap: 3rem; margin-top: 1.5rem; color: var(--foreground); }
footer nav a { text-decoration: underline; text-underline-offset: 4px; }

@media (min-width: 640px)  { .hero h1 { font-size: 3.5rem; } .mobile-only { display: none; } }
@media (min-width: 768px) {
  main { padding-left: 4rem; padding-right: 4rem; }
  .logo { height: 3rem; }
  .hero h1 { font-size: 4.75rem; }
  .tagline { font-size: 2.25rem; line-height: 2.5rem; }
  .contact { font-size: 1.875rem; }
  .content { padding: 6rem 0; }
  .content h1 { font-size: 3.75rem; line-height: 1; }
  .details { font-size: 1.125rem; line-height: 2rem; }
  .prose { font-size: 1.125rem; }
  .prose h2 { font-size: 1.875rem; line-height: 2.25rem; }
  .prose h3 { font-size: 1.5rem; line-height: 2rem; }
  footer { font-size: 1.25rem; }
}
@media (min-width: 1024px) { .hero h1 { font-size: 6.5rem; } }
@media (min-width: 1280px) { .hero h1 { font-size: 8.5rem; } }
@media (min-width: 1536px) { .hero h1 { font-size: 10rem; } }
