/* MightyMouse landing — Warm Neuro palette, mirrors THEME_TOKENS in src/shared/config.ts.
   No build step. One stylesheet shared across every page. */

:root {
  --bg: rgb(245, 244, 242);
  --surface: rgb(250, 249, 248);
  --surface-2: rgb(240, 238, 236);
  --ink: rgb(28, 26, 24);
  --muted: rgb(100, 96, 90);
  --muted-light: rgb(140, 136, 130);
  --accent: rgb(255, 160, 80);
  --accent-deep: rgb(230, 148, 68);
  --accent-bg: rgb(255, 236, 210);
  --green: rgb(77, 187, 122);
  --border: rgba(28, 26, 24, 0.10);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow: 0 12px 40px rgba(28, 26, 24, 0.10);
  --maxw: 880px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  /* Full-height column so the footer sits at the bottom on short pages. */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
/* main fills the leftover height and centers the hero in it. */
main { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center; }
.site-foot { flex-shrink: 0; }

/* Our animated mouse replaces the system cursor across the page. */
body.has-cursor-companion,
body.has-cursor-companion a,
body.has-cursor-companion button { cursor: none; }

a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ── Header ── */
.site-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 32px; max-width: var(--maxw); margin: 0 auto; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 9px; }
.brand:hover { text-decoration: none; }
.brand .logo-mark { display: block; flex-shrink: 0; border-radius: 6px; }
.brand .wordmark { font-size: 19px; letter-spacing: -0.01em; color: var(--ink); font-weight: 500; }
.brand .wordmark b { font-weight: 700; }
.nav { display: flex; gap: 26px; font-size: 14px; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--ink); text-decoration: none; }

/* ── Hero ── */
.hero { text-align: center; padding: 32px 24px 48px; }

.hero h1 {
  font-size: clamp(40px, 6.4vw, 58px); line-height: 1.06; letter-spacing: -0.03em;
  font-weight: 760; max-width: 15ch; margin: 0 auto 22px;
}
.hero .accent { color: var(--accent-deep); }
.hero p.sub {
  font-size: clamp(16px, 2.4vw, 20px); color: var(--muted);
  max-width: 44ch; margin: 0 auto 34px;
}
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .fineprint { font-size: 13.5px; color: var(--muted-light); margin-top: 20px; line-height: 1.55; }
.hero .fineprint strong { color: var(--muted); font-weight: 600; }

/* Decorative app-icon row: faint tiles flanking the mouse. */
.hero-apps {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(12px, 2.4vw, 22px); margin-top: 72px; flex-wrap: nowrap;
}
.app-tile {
  display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: var(--radius-md); background: var(--surface);
  border: 1px solid var(--border); color: var(--muted-light);
  box-shadow: 0 4px 14px rgba(28,26,24,0.04);
}
.app-tile:nth-child(1), .app-tile:nth-child(7) { opacity: 0.45; }
.app-tile:nth-child(2), .app-tile:nth-child(6) { opacity: 0.7; }
.app-mouse {
  font-size: 30px; margin: 0 6px; line-height: 1;
  filter: drop-shadow(0 4px 10px rgba(230,148,68,0.35));
}
@media (max-width: 560px) {
  .app-tile:nth-child(1), .app-tile:nth-child(7) { display: none; }
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--radius-md); font-size: 15px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: transform .08s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--ink); box-shadow: var(--shadow); }
.btn-primary:hover { box-shadow: 0 16px 48px rgba(230,148,68,.32); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--border); }
.btn[data-pending] { opacity: 0.92; }

/* ── Cursor companion overlay ── */
#cursor-trail {
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none;
}

/* ── Legal / doc pages ── */
.doc { padding: 56px 24px 80px; max-width: 740px; margin: 0 auto; }
.doc h1 { font-size: 34px; letter-spacing: -0.01em; margin-bottom: 6px; }
.doc .meta { color: var(--muted-light); font-size: 13px; margin-bottom: 36px; }
.doc h2 { font-size: 19px; margin: 32px 0 10px; }
.doc p, .doc li { font-size: 15px; color: rgb(60, 56, 52); margin-bottom: 12px; }
.doc ul { padding-left: 22px; }
.doc a { font-weight: 550; }

/* ── Footer ── */
.site-foot {
  border-top: 1px solid var(--border); margin-top: 40px;
  padding: 28px 24px; color: var(--muted-light); font-size: 13px;
}
.site-foot .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.site-foot .links { display: flex; gap: 18px; }
.site-foot a { color: var(--muted); }

@media (max-width: 560px) {
  .nav { display: none; }
  .hero { padding-top: 52px; }
}
