/* assets/css/style.css */

/* ---- Design tokens ---- */
:root {
  --fs-title: clamp(1.25rem, 1.5vw + 0.9rem, 1.6rem);
  --fs-tag: clamp(1rem, 1.2vw + 0.6rem, 1.2rem);

  --page-padding: 24px;
  --maxw: 46rem;

  --bg: #f9f9f9;
  --text: #333333;
  --muted: #666666;
  --muted-2: #999999;
}

html { 
  height: 100%;
  color-scheme: light; /* force light mode */
}

body {
  margin: 0;
  height: 100svh; /* true full height */
  display: flex;
  flex-direction: column; /* stack container + footer */
  justify-content: space-between; /* pushes footer to bottom */
  font-family: 'Lato', sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ---- Layout ---- */
.container {
  flex: 1; /* take remaining vertical space */
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--page-padding);
  display: flex;
  flex-direction: column;
  justify-content: center; /* center vertically */
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

.logo {
  width: clamp(160px, 40vw, 260px);
  height: auto;
  margin: 0 auto 12px;
}

.tagline {
  font-size: var(--fs-tag);
  font-weight: 300;
  color: var(--muted);
  margin: 6px 0;
  max-width: 32rem;
}

footer {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--muted-2);
  text-align: center;
  padding: 12px;
}

/* Touch feedback */
* {
  -webkit-tap-highlight-color: rgba(0,0,0,0.05);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
