/* little universe: Deep Navy #0C2649, Warm Cream #FCF7E8, Burnt Orange #DD7035 */
@font-face { font-family: "Nunito"; font-weight: 700; font-display: swap; src: url("nunito-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-display: swap; src: url("nunito-latin-800-normal.woff2") format("woff2"); }

:root {
  --bg: #fcf7e8;
  --surface: #fffdf7;
  --text: #0c2649;
  --muted: #4e5d74;
  --border: #e8dfc4;
  --soft: #efe8d3;
  --accent: #0c2649;
  --on-accent: #fcf7e8;
  --highlight: #dd7035;
  --link: #0c2649;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #081a33;
    --surface: #0c2649;
    --text: #fcf7e8;
    --muted: #aeb8c8;
    --border: #1e3a63;
    --soft: #16345e;
    --accent: #fcf7e8;
    --on-accent: #0c2649;
    --highlight: #f0a070;
    --link: #f0a070;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

a { color: var(--link); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--highlight); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, .wordmark { font-family: "Nunito", ui-rounded, ui-sans-serif, system-ui, sans-serif; font-weight: 800; }

.wrap { max-width: 880px; margin: 0 auto; padding: 0 16px; }

/* Hero */
.hero { padding: 72px 0 40px; text-align: center; }
.hero-mark { display: block; width: min(300px, 70vw); height: auto; margin: 0 auto 20px; }
.wordmark { margin: 0; font-size: clamp(2.6rem, 9vw, 4.2rem); line-height: 1; letter-spacing: -0.01em; }
.tagline { margin: 18px auto 0; max-width: 34ch; font-size: clamp(1.1rem, 3.4vw, 1.3rem); color: var(--muted); }

/* Tools */
.section-title { font-size: 1.05rem; text-transform: lowercase; letter-spacing: 0.02em; color: var(--muted); margin: 32px 0 14px; display: flex; align-items: center; gap: 10px; }
.section-title::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--highlight); }

.tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }

.tool {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.tool:hover { transform: translateY(-2px); border-color: var(--muted); box-shadow: 0 6px 20px rgb(12 38 73 / 0.08); }
.tool h3 { margin: 0; font-size: 1.35rem; line-height: 1.2; }
.tool h3 a { color: var(--text); text-decoration: none; }
.tool h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; } /* whole card clickable */
.tool p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.tag { font-size: 0.8rem; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: var(--soft); color: var(--text); }
.open { font-weight: 700; color: var(--text); }

.tool.soon { background: transparent; border-style: dashed; justify-content: center; }
.tool.soon:hover { transform: none; box-shadow: none; border-color: var(--border); }
.tool.soon h3 { color: var(--muted); }

/* Support */
.support { margin: 56px 0 0; padding: 28px 22px; text-align: center; border-top: 1px solid var(--border); }
.support p { margin: 0 0 14px; color: var(--muted); }
.button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 10px;
  background: var(--accent); color: var(--on-accent);
  font-weight: 700; text-decoration: none;
}
.button:hover { opacity: 0.92; }

footer { padding: 28px 0 48px; text-align: center; color: var(--muted); font-size: 0.9rem; }
footer p { margin: 4px 0; }

@media (prefers-reduced-motion: reduce) { .tool { transition: none; } }
