/* Fonts (SIL Open Font License), self-hosted so visitors' IPs are not sent to a font CDN */
@font-face { font-family: 'Inter'; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/inter.woff2) format('woff2'); }
@font-face { font-family: 'Inter Tight'; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/inter-tight.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 100 800; font-display: swap; src: url(/assets/fonts/jetbrains-mono.woff2) format('woff2'); }
@font-face { font-family: 'Oswald'; font-weight: 200 700; font-display: swap; src: url(/assets/fonts/oswald.woff2) format('woff2'); }
@font-face { font-family: 'Damion'; font-weight: 400; font-display: swap; src: url(/assets/fonts/damion.woff2) format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 200 800; font-display: swap; src: url(/assets/fonts/plus-jakarta-sans.woff2) format('woff2'); }

:root {
  --canvas: #FAFAF8;
  --white: #FFFFFF;
  --ink: #2E303D;
  --body: #4A4C59;
  --quiet: #6E707C;
  --muted-head: #9A9CA8;
  --hairline: #E5E6EA;
  --accent: #DD5041;
  --display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --text: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --gutter: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--text); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, dl, dd, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[id] { scroll-margin-top: 88px; }

.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.accent { color: var(--accent); }
.meta-label, dt { font-family: var(--mono); font-size: 12px; line-height: 16px; letter-spacing: 0.08em; color: var(--quiet); }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(250, 250, 248, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--hairline); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.lockup { display: flex; align-items: center; gap: 12px; }
.lockup-bulb { width: 28px; height: 33px; fill: none; stroke: var(--ink); stroke-width: 64; stroke-linejoin: round; }
.wordmark { font-family: 'Oswald', sans-serif; font-weight: 500; font-size: 19px; line-height: 24px; letter-spacing: 0.22em; color: #000; white-space: nowrap; }
.nav { display: flex; gap: 40px; }
.nav a { font-size: 15px; font-weight: 500; color: var(--ink); transition: color 0.15s; }
.nav a:hover { color: var(--accent); }

/* Hero */
.hero { padding: 112px 0 96px; }
.eyebrow { display: flex; align-items: center; gap: 16px; font-family: var(--mono); font-size: 13px; line-height: 16px; letter-spacing: 0.08em; }
.rule { width: 32px; height: 2px; background: var(--accent); flex-shrink: 0; }
.hero-headline-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 64px; margin-top: 72px; }
h1 { font-family: var(--display); font-weight: 600; font-size: clamp(48px, 7.2vw, 104px); line-height: 0.96; letter-spacing: -0.04em; max-width: 1000px; }
h1 .muted { color: var(--muted-head); }
.hero-bulb { width: 220px; height: 258px; flex-shrink: 0; fill: none; stroke: var(--accent); stroke-width: 7; stroke-linejoin: round; }
.hero-footer { display: flex; justify-content: space-between; align-items: flex-start; gap: 64px; margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--hairline); }
.hero-copy { display: flex; flex-direction: column; gap: 32px; max-width: 560px; }
.lede { font-size: 20px; line-height: 30px; color: var(--body); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 8px; font-size: 15px; font-weight: 600; line-height: 20px; border: 1px solid var(--ink); transition: background 0.15s, border-color 0.15s, color 0.15s; }
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); }
.btn-secondary { color: var(--ink); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.meta { display: flex; gap: 56px; }
.meta > div { display: flex; flex-direction: column; gap: 8px; }
.meta dd { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; line-height: 22px; }

/* Sections */
.section { padding: 128px 0; border-top: 1px solid var(--hairline); }
.section-white { background: var(--white); }
.section-intro { display: flex; gap: 64px; }
.section-label { width: 376px; flex-shrink: 0; height: 36px; display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 13px; line-height: 16px; letter-spacing: 0.08em; }
.section-intro-body { display: flex; flex-direction: column; gap: 24px; max-width: 840px; }
h2 { font-family: var(--display); font-weight: 600; font-size: clamp(34px, 3.8vw, 52px); line-height: 1.12; letter-spacing: -0.03em; }
.section-lede { font-size: 18px; line-height: 28px; color: var(--body); max-width: 700px; }

.pillars { display: flex; gap: 40px; margin-top: 80px; }
.pillar { flex: 1; display: flex; flex-direction: column; gap: 20px; padding-top: 28px; border-top: 1px solid var(--ink); }
.pillar-num { font-family: var(--mono); font-size: 13px; line-height: 16px; letter-spacing: 0.08em; color: var(--accent); }
.pillar h3 { font-family: var(--display); font-weight: 600; font-size: 26px; line-height: 32px; letter-spacing: -0.02em; }
.pillar p:last-child { font-size: 16px; line-height: 26px; color: var(--body); }

/* Portfolio spotlight */
.spotlight { display: flex; margin-top: 64px; background: var(--white); border: 1px solid var(--hairline); border-radius: 20px; overflow: hidden; box-shadow: 0 2px 8px rgba(31, 29, 43, 0.04), 0 24px 60px rgba(31, 29, 43, 0.06); }
.spotlight-info { width: 520px; flex-shrink: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: 56px; border-right: 1px solid var(--hairline); }
.spotlight-top { display: flex; flex-direction: column; gap: 28px; }
.spotlight-tags { display: flex; align-items: center; justify-content: space-between; }
.tag { font-family: var(--mono); font-size: 12px; line-height: 16px; letter-spacing: 0.08em; padding: 6px 10px; border: 1px solid var(--hairline); }
.status { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; line-height: 16px; letter-spacing: 0.08em; }
.spotlight-title { display: flex; align-items: center; gap: 20px; }
.orb { width: 80px; height: 80px; flex-shrink: 0; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.14)); }
.spotlight-title h3 { font-family: var(--display); font-weight: 700; font-size: 64px; line-height: 64px; letter-spacing: -0.04em; }
.spotlight-summary { font-size: 19px; line-height: 29px; font-weight: 500; }
.spotlight-body { font-size: 16px; line-height: 26px; color: var(--body); }
.spec > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--hairline); }
.spec > div:last-child { border-bottom: 1px solid var(--hairline); }
.spec dd { font-size: 14px; line-height: 18px; text-align: right; }
.visit { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-size: 16px; font-weight: 600; line-height: 20px; color: var(--accent); }
.visit:hover { text-decoration: underline; text-underline-offset: 4px; }
.spotlight-visual { flex: 1; display: flex; align-items: center; justify-content: center; padding: 64px 56px; background: radial-gradient(circle at 50% 45%, rgba(62, 197, 188, 0.16) 0%, rgba(62, 197, 188, 0) 55%), #F3F3F0; }

.lab-note { display: flex; align-items: center; gap: 16px; margin-top: 64px; font-size: 15px; line-height: 22px; color: var(--body); }
.lab-label { font-family: var(--mono); font-size: 12px; line-height: 16px; letter-spacing: 0.08em; color: var(--accent); flex-shrink: 0; }
.lab-rule { width: 24px; height: 1px; background: #C9CAD1; flex-shrink: 0; }

/* Mumpa phone: a still of the real app, using Mumpa's own tokens */
.phone { width: 360px; flex-shrink: 0; padding: 10px; background: #1F1D2B; border-radius: 54px; box-shadow: 0 40px 80px rgba(31, 29, 43, 0.22), 0 8px 24px rgba(31, 29, 43, 0.10); font-family: 'Plus Jakarta Sans', system-ui, sans-serif; color: #1F1D2B; }
.screen { background: #F6F3ED; border-radius: 44px; overflow: hidden; }
.screen p { margin: 0; }
.status-bar { display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 16px 28px 6px; }
.time { font-size: 15px; font-weight: 700; line-height: 18px; }
.island { width: 96px; height: 28px; border-radius: 999px; background: #1F1D2B; }
.status-icons { display: flex; align-items: center; gap: 5px; }
.battery { display: flex; width: 24px; height: 11px; padding: 1px; border: 1.5px solid #1F1D2B; border-radius: 3px; }
.battery span { flex: 1; background: #1F1D2B; border-radius: 1px; }
.app-header { display: flex; align-items: flex-end; justify-content: space-between; padding: 14px 22px 16px; }
.app-date { font-size: 12px; font-weight: 600; line-height: 16px; color: #8A8898; }
.app-title { font-size: 26px; font-weight: 800; line-height: 32px; letter-spacing: -0.02em; }
.app-buttons { display: flex; gap: 8px; }
.round-btn { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.round-btn-plain { background: #EBE6DC; }
.round-btn-teal { background: #3EC5BC; }
.mumpa-says { display: flex; align-items: center; gap: 14px; margin: 0 22px; padding: 20px 16px 20px 18px; border-radius: 24px; background: linear-gradient(135deg, #E9C46A 0%, #D9A548 55%, #C98F3A 100%); box-shadow: 0 8px 24px rgba(31, 29, 43, 0.08); }
.mumpa-says-orb { width: 60px; height: 60px; flex-shrink: 0; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.14)); }
.mumpa-says-text { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.mumpa-says-label { display: flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 700; line-height: 12px; letter-spacing: 0.08em; }
.mumpa-says-greeting { font-size: 19px; font-weight: 800; line-height: 23px; letter-spacing: -0.01em; }
.mumpa-says-body { font-size: 12px; font-weight: 500; line-height: 17px; color: rgba(31, 29, 43, 0.78); }
.chevron { flex-shrink: 0; }
.tiles { display: flex; gap: 8px; padding: 14px 22px 0; }
.tile { flex: 1; display: flex; flex-direction: column; gap: 2px; padding: 12px; background: #FFFFFF; border-radius: 20px; box-shadow: 0 2px 8px rgba(31, 29, 43, 0.06); }
.tile-num { font-size: 22px; font-weight: 800; line-height: 26px; }
.tile-label { font-size: 11px; font-weight: 600; line-height: 14px; color: #8A8898; }
.today { display: flex; flex-direction: column; gap: 8px; padding: 18px 22px; }
.today-label { font-size: 11px; font-weight: 700; line-height: 14px; letter-spacing: 0.08em; color: #8A8898; }
.today-list { padding: 4px 0; background: #FFFFFF; border-radius: 20px; box-shadow: 0 2px 8px rgba(31, 29, 43, 0.06); }
.today-row { display: flex; align-items: center; gap: 12px; margin: 0 14px; padding: 10px 0; }
.today-row + .today-row { border-top: 1px solid #F0EBE1; }
.chip { width: 38px; height: 38px; flex-shrink: 0; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.chip-jobs { background: #FDE3E4; }
.chip-meals { background: #FFEBD2; }
.chip-events { background: #DDF1FF; }
.row-title { display: block; font-size: 14px; font-weight: 700; line-height: 18px; }
.row-sub { display: block; font-size: 11px; font-weight: 500; line-height: 14px; color: #8A8898; }
.bottom-nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px 26px; background: rgba(255, 255, 255, 0.86); border-top: 1px solid #EBE6DC; }
.pinwheel-btn { filter: drop-shadow(0 6px 12px rgba(62, 197, 188, 0.35)); }
.nav-active { width: 40px; height: 40px; border-radius: 50%; background: #D7F2EE; display: flex; align-items: center; justify-content: center; }

/* Company and contact */
.company-statement { font-family: var(--display); font-weight: 500; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.32; letter-spacing: -0.02em; }
.contact-row { display: flex; gap: 64px; align-items: flex-end; margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--ink); }
.contact-label { width: 376px; flex-shrink: 0; display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 24px; color: var(--body); }
.contact-email { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-family: var(--display); font-weight: 600; font-size: clamp(28px, 4.4vw, 64px); line-height: 1.06; letter-spacing: -0.035em; overflow-wrap: anywhere; }
.contact-arrow { width: 72px; height: 72px; flex-shrink: 0; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; transition: transform 0.2s; }
.contact-email:hover .contact-arrow { transform: rotate(45deg); }

/* Footer */
.site-footer { padding: 72px 0 40px; border-top: 1px solid var(--hairline); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.full-lockup { position: relative; width: 320px; height: 162px; flex-shrink: 0; }
.full-lockup-bulb { position: absolute; left: 0; top: 0; width: 137px; height: 160px; fill: none; stroke: var(--ink); stroke-width: 56; stroke-linejoin: round; }
.full-lockup-tagline { position: absolute; left: 52px; top: 106px; font-family: 'Damion', cursive; font-size: 25px; line-height: 26px; color: var(--accent); white-space: nowrap; }
.full-lockup-wordmark { position: absolute; left: 55px; top: 136px; font-family: 'Oswald', sans-serif; font-weight: 500; font-size: 25px; line-height: 26px; letter-spacing: 0.26em; color: #000; white-space: nowrap; }
.footer-cols { display: flex; gap: 72px; }
.footer-cols > div { display: flex; flex-direction: column; gap: 12px; }
.footer-cols li { font-size: 14px; line-height: 22px; }
.footer-cols a:hover, .legal a:hover { color: var(--accent); }
.legal { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--hairline); font-size: 13px; line-height: 16px; color: var(--body); }
.legal p { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--quiet); }
.legal-links { display: flex; gap: 32px; }

/* Tablet */
@media (max-width: 1180px) {
  :root { --gutter: 48px; }
  .section-label, .contact-label { width: 220px; }
  .hero-footer { flex-direction: column; gap: 48px; }
  .spotlight { flex-direction: column; }
  .spotlight-info { width: auto; border-right: 0; border-bottom: 1px solid var(--hairline); }
  .hero-bulb { width: 160px; height: 188px; }
}

/* Phone */
@media (max-width: 760px) {
  :root { --gutter: 20px; }
  .header-inner { height: 68px; }
  [id] { scroll-margin-top: 68px; }
  .lockup { gap: 10px; }
  .lockup-bulb { width: 24px; height: 28px; }
  .wordmark { font-size: 15px; letter-spacing: 0.16em; }
  .nav { gap: 16px; }
  .nav a { font-size: 14px; }
  .hero { padding: 64px 0 64px; }
  .hero-headline-row, .hero-footer { margin-top: 40px; }
  .hero-bulb { display: none; }
  .lede { font-size: 18px; line-height: 28px; }
  .meta { flex-direction: column; gap: 20px; }
  .section { padding: 80px 0; }
  .section-intro, .contact-row { flex-direction: column; gap: 20px; }
  .section-label, .contact-label { width: auto; height: auto; }
  .pillars { flex-direction: column; gap: 40px; margin-top: 48px; }
  .spotlight { margin-top: 40px; }
  .spotlight-info { padding: 32px 24px; }
  .spotlight-title h3 { font-size: 48px; line-height: 48px; }
  .orb { width: 64px; height: 64px; }
  .spotlight-visual { padding: 40px 16px; }
  .phone { width: 100%; max-width: 360px; }
  .lab-note { flex-wrap: wrap; gap: 10px 16px; margin-top: 40px; }
  .contact-row { align-items: stretch; margin-top: 48px; padding-top: 32px; }
  .contact-arrow { width: 52px; height: 52px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .legal { flex-direction: column; align-items: flex-start; }
  .legal-links { flex-wrap: wrap; gap: 12px 24px; }
}

/* Too narrow for three links beside the wordmark: Approach is the next section down anyway */
@media (max-width: 480px) {
  .nav a:first-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Simple document pages (privacy, 404) */
.doc { padding: 96px 0 128px; }
.doc .section-label { width: auto; }
.doc-title { margin-top: 32px; font-size: clamp(40px, 5vw, 72px); }
.doc-lede { margin-top: 24px; max-width: 720px; font-size: 19px; line-height: 30px; color: var(--body); }
.doc .btn { margin-top: 40px; }
.doc-body { max-width: 720px; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--hairline); }
.doc-body h2 { margin-top: 40px; font-size: 24px; line-height: 32px; letter-spacing: -0.02em; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body p { margin-top: 12px; font-size: 16px; line-height: 27px; color: var(--body); }
.doc-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.site-footer-slim { padding: 0 0 40px; border-top: 0; }
.site-footer-slim .legal { margin-top: 0; }

@media (max-width: 360px) {
  .wordmark { font-size: 14px; letter-spacing: 0.1em; }
  .nav { gap: 12px; }
}
