/* MightyMouse landing V2 — "Small mouse. Great power."
   Self-contained. Palette mirrors THEME_TOKENS (warm neuro) but tuned a touch
   lighter/airier than the V1 page. No build step, one stylesheet. */

:root {
  --bg: rgb(250, 249, 247);
  --bg-2: rgb(252, 251, 249);
  --surface: rgb(255, 255, 255);
  --ink: rgb(32, 30, 28);
  --ink-soft: rgb(64, 60, 56);
  --muted: rgb(128, 122, 115);
  --muted-light: rgb(166, 160, 153);
  --accent: rgb(242, 170, 98);
  --accent-deep: rgb(231, 146, 70);
  --accent-soft: rgb(253, 238, 222);
  --border: rgba(32, 30, 28, 0.08);
  --border-soft: rgba(32, 30, 28, 0.05);
  --radius: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(26, 24, 22, 0.05);
  --shadow-md: 0 14px 40px rgba(26, 24, 22, 0.10);
  --shadow-cta: 0 12px 30px rgba(228, 142, 64, 0.30);
  --maxw: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1000px 560px at 80% 30%, var(--accent-soft) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  background-attachment: fixed;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}
/* The hero (with its highlight line) fills the first screen, so the footer —
   and even the highlight line — sit below the fold and appear on scroll, on
   both mobile and desktop. Header is ~84px; 100svh handles mobile browser bars. */
main { display: flex; flex-direction: column; }
main > .hero { min-height: calc(100svh - 84px); }
.foot { flex-shrink: 0; }
/* Animated mouse replaces the native cursor across the page. */
body.has-cursor-companion,
body.has-cursor-companion a,
body.has-cursor-companion button,
body.has-cursor-companion input { cursor: none; }

a { color: inherit; text-decoration: none; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: inherit; font-weight: 600; font-size: 15px; line-height: 1;
  border: 1px solid transparent; border-radius: var(--radius);
  padding: 15px 26px; cursor: pointer; white-space: nowrap;
  transition: transform .1s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  color: #2a1c0c; box-shadow: var(--shadow-cta);
}
.btn-primary:hover { box-shadow: 0 16px 38px rgba(228, 142, 64, 0.40); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.7); color: var(--ink);
  border-color: var(--border); box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { background: #fff; }

/* ── Header ── */
.head {
  position: relative; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; padding: 26px 40px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
  display: block; border-radius: 9px; padding: 4px;
  background: var(--surface); border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
}
.brand-name { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.brand-tag {
  font-size: 12px; font-weight: 600; color: var(--muted-light);
  padding-left: 9px; margin-left: 2px; border-left: 1px solid var(--border);
}
.head-cta { padding: 11px 20px; font-size: 14px; }

/* ── Hero ── */
/* Hero = a 2-column grid (.hero-grid) plus a full-width centered highlight line. */
.hero {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: center; gap: 40px;
  max-width: var(--maxw); margin: 0 auto; padding: 32px 40px 36px;
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center; gap: clamp(56px, 7vw, 104px);
}
.hero-copy { max-width: 560px; }

h1 {
  font-size: clamp(46px, 6vw, 78px); line-height: 1.0; letter-spacing: -0.03em;
  font-weight: 680; margin-bottom: 22px;
}
h1 .line-1, h1 .line-2 { display: block; }
h1 .line-2 { color: var(--accent-deep); }

.lead {
  font-size: clamp(18px, 1.7vw, 21px); color: var(--muted);
  max-width: 30ch; margin-bottom: 34px;
}

/* feature triplet — one row */
.features { list-style: none; display: flex; gap: clamp(18px, 2.4vw, 34px); flex-wrap: nowrap; margin-bottom: 38px; }
.features li { display: flex; align-items: flex-start; gap: 10px; }
.feat-ic {
  flex-shrink: 0; display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--surface); border: 1px solid var(--border-soft);
  color: var(--accent-deep); box-shadow: var(--shadow-sm);
}
.feat-text { display: flex; flex-direction: column; gap: 1px; }
.feat-text strong { font-size: 14.5px; font-weight: 650; color: var(--ink); }
.feat-text em { font-size: 13px; font-style: normal; color: var(--muted-light); }

/* ── Get Early Access ── */
.access { max-width: 480px; }
.access-row { display: flex; gap: 10px; }
.access-email {
  flex: 1; min-width: 0; font: inherit; font-size: 15px;
  padding: 15px 18px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  color: var(--ink); box-shadow: var(--shadow-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.access-email::placeholder { color: var(--muted-light); }
.access-email:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(240, 165, 92, 0.18);
}
.access-row .btn-primary { flex-shrink: 0; }

.access-plats { display: flex; gap: 8px; margin-top: 12px; }
.plat {
  display: inline-flex; align-items: center; gap: 6px;
  font: inherit; font-size: 13px; font-weight: 600; color: var(--muted);
  padding: 8px 14px; border-radius: var(--radius-pill);
  background: transparent; border: 1px solid var(--border); cursor: pointer;
  transition: all .15s ease;
}
.plat.is-on {
  color: var(--accent-deep); background: var(--accent-soft);
  border-color: transparent;
}
.plat:hover { border-color: var(--accent); }

.access-note { font-size: 13px; color: var(--muted-light); margin-top: 14px; line-height: 1.5; }
.access-note.is-ok { color: var(--accent-deep); font-weight: 600; }
.access-note.is-err { color: rgb(200, 80, 60); font-weight: 600; }

/* ── Hero visual ── */
.hero-visual {
  position: relative; min-height: 540px;
  display: grid; place-items: center;
}
.hero-img {
  position: relative; z-index: 2;
  width: min(108%, 660px); aspect-ratio: 1 / 1;
  display: grid; place-items: center;
}
.hero-img img {
  width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 26px 44px rgba(32,30,28,0.12));
  animation: hero-bob 7s ease-in-out infinite;
}
.hero-img-fallback { display: none; font-size: 120px; }
/* When the real image is missing, show a soft placeholder + the fallback mouse. */
.hero-img.is-placeholder {
  background: radial-gradient(closest-side, rgba(242,170,98,0.16), transparent 70%);
  border: 1px dashed var(--border); border-radius: var(--radius-lg);
}
.hero-img.is-placeholder .hero-img-fallback {
  display: block; filter: drop-shadow(0 14px 22px rgba(231,146,70,0.35));
}

@keyframes hero-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* ── Highlight line — centered, middot-separated, spans the full hero width.
   Each item keeps its trailing dot attached (.hl is nowrap) so dots never
   orphan at a line break on mobile. ── */
.highlight-line {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 6px 12px;
  font-size: 14px; font-weight: 500; color: var(--muted);
}
.highlight-line .hl { white-space: nowrap; }
.highlight-line .dot { color: var(--muted-light); margin-left: 8px; }
.highlight-line .works {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--muted); font-weight: 500;
}
.highlight-line .works svg { color: var(--muted); margin-left: 2px; }

/* ── Footer ── */
.foot {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.4);
}
.foot-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  max-width: var(--maxw); margin: 0 auto; padding: 24px 40px; flex-wrap: wrap;
}
.foot-brand { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink); }
.foot-brand img { border-radius: 5px; }
.foot-brand b { font-weight: 700; }
.foot-links { display: flex; gap: 22px; font-size: 14px; }
.foot-links a { color: var(--muted); transition: color .15s ease; }
.foot-links a:hover { color: var(--ink); }
.foot-copy { font-size: 13px; color: var(--muted-light); }

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

/* ── Responsive ── */
@media (max-width: 940px) {
  .hero { padding: 24px 28px; text-align: center; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-copy { max-width: none; margin: 0 auto; }
  .lead { max-width: none; }
  .features { justify-content: center; }
  .access { margin: 0 auto; }
  .access-plats { justify-content: center; }
  .hero-visual { min-height: 420px; order: -1; }
}
@media (max-width: 560px) {
  .head { padding: 20px; }
  .head-cta { display: none; }
  .access-row { flex-direction: column; }
  .access-row .btn-primary { width: 100%; }
  .features { flex-wrap: wrap; }
  .foot-inner { flex-direction: column; gap: 14px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-img img { animation: none; }
  .btn:hover { transform: none; }
}
