/*
 * Manithan, Inc. — corporate one-pager.
 *
 * Shares The Lookout's design DNA (DESIGN.md: Modern Editorial Calm —
 * Instrument Serif display, Geist body) but committed to the DARK palette
 * as the single look (founder decision 2026-07-10: "the design on black is
 * good"). Speaks in the COMPANY's register (elevator-pitch copy), not the
 * agent's. Static, zero-JS, fully crawlable. Served by the separate
 * manithan.ai static deployment (see README.md).
 */

:root {
  --bg: #17171A;
  --surface: #1F1F23;
  --border: #2E2E34;
  --ink: #F2EFE9;
  --ink-subtle: #C9C4BB;
  --muted: #8A867D;
  --signal-calm: #6B8CC2;
  --signal-opportunity: #5EA08D;
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

::selection { background: rgba(107, 140, 194, 0.35); }

a:focus-visible,
.button-primary:focus-visible {
  outline: 2px solid var(--signal-calm);
  outline-offset: 2px;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: var(--ink); }

/* ── Masthead ─────────────────────────────────────────── */

.masthead {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.masthead__link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}
.masthead__link:hover { color: var(--ink); }

/* ── Hero ─────────────────────────────────────────────── */

.hero { padding: 112px 0 72px; }

.eyebrow {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-subtle);
  margin-bottom: 16px;
}

.hero h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: 3rem;
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  text-wrap: balance;
}

/* The hero's supporting sentences — serif, one register below the headline
   (founder direction v15: big type carries only the first sentence). */
.hero__sub {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.5rem;
  line-height: 1.38;
  margin-bottom: 28px;
  max-width: 600px;
  text-wrap: pretty;
}

.hero__lede {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink-subtle);
  max-width: 620px;
}

/* ── Sections ─────────────────────────────────────────── */

.section { padding: 56px 0; border-top: 1px solid var(--border); }

.section__title {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-subtle);
  margin-bottom: 28px;
}

.section__body {
  color: var(--ink-subtle);
  font-size: 1.0625rem;
  line-height: 1.6;
  max-width: 620px;
}

.section__body + .section__body { margin-top: 18px; }
.section__body { text-wrap: pretty; }

.section__punch {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.625rem;
  line-height: 1.3;
  margin-top: 28px;
  text-wrap: balance;
}

/* ── Product card ─────────────────────────────────────── */

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px;
}

.product-card__name {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.product-card__wordmark {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.breathing-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: var(--signal-calm);
  animation: breathe 3s var(--ease-in-out) infinite;
}

@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.25); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .breathing-dot { animation: none; opacity: 0.8; }
}

.product-card__voice {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.5rem;
  line-height: 1.35;
  margin-bottom: 16px;
  max-width: 560px;
}

.product-card__body {
  color: var(--ink-subtle);
  margin-bottom: 24px;
  max-width: 560px;
}

/* Sample-edition excerpt — the one piece of evidence on the page */

.brief-excerpt {
  border-left: 3px solid var(--signal-opportunity);
  background: rgba(94, 160, 141, 0.08);
  border-radius: 0 6px 6px 0;
  padding: 16px 20px;
  margin-bottom: 24px;
  max-width: 560px;
}

.brief-excerpt__label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-subtle);
  margin-bottom: 12px;
}

.brief-excerpt__force {
  font-weight: 600;
  margin-bottom: 6px;
}

.brief-excerpt__tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-subtle);
  background: rgba(94, 160, 141, 0.16);
  border-radius: 9999px;
  padding: 2px 8px;
  margin-right: 8px;
  vertical-align: 2px;
}

.brief-excerpt__text {
  color: var(--ink-subtle);
  font-size: 0.875rem;
  line-height: 1.55;
}

.button-primary {
  display: inline-block;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 12px 20px;
  border-radius: 6px;
  transition: opacity 100ms;
}
.button-primary:hover { opacity: 0.88; }

/* Closing door — the reader who scrolled everything is the most convinced
   reader on the page; give them an exit that isn't scrolling back up. */
.section__cta {
  margin-top: 28px;
}
.section__cta a {
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: border-color 100ms;
}
.section__cta a:hover { border-color: var(--ink); }

/* ── Footer ───────────────────────────────────────────── */

.footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 72px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: var(--muted);
}

.footer__links { display: flex; gap: 16px; }
.footer__links a { color: var(--muted); text-decoration: none; }
.footer__links a:hover { color: var(--ink); }

/* ── Mobile ───────────────────────────────────────────── */

@media (max-width: 640px) {
  .hero { padding: 64px 0 48px; }
  .hero h1 { font-size: 2rem; }
  .hero__sub { font-size: 1.25rem; }
  .section { padding: 40px 0; }
  .section__punch { font-size: 1.375rem; }
  .product-card { padding: 24px 20px; }
  .footer { padding: 32px 24px 56px; }
}
