/* muntjac.io styles. Every rule here was an inline style or a style-block rule in
   handover/design/Main.dc.html, with the design's own values, except the styling decisions
   recorded in docs/SPEC.md section 2. Keyframe names are the design's, so the probe can test
   each animation by name. No inline styles exist anywhere on the site. */

@font-face {
  font-family: Manrope;
  src: url(/fonts/manrope-wght.woff2) format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

body {
  margin: 0;
  background: #080E16;
  color: #FFFFFF;
  font-family: Manrope, system-ui, sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.6;
}
section[id] { scroll-margin-top: 84px; }
a { color: #FF8A2B; }
a:hover { color: #FFFFFF; }

/* Shared type */
.h2 { margin: 0; font-weight: 800; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.06; letter-spacing: -0.025em; text-wrap: balance; color: #FFFFFF; }
.mw900 { max-width: 900px; }
.mw860 { max-width: 860px; }
.mw640 { max-width: 640px; }
.accent { color: #F36A02; }
.accent-light { color: #FF8A2B; }
.accent-line { display: block; }
.nowrap { white-space: nowrap; }
.muted { margin: 0; color: #C5CEDC; }
.card-title { margin: 0; font-weight: 800; font-size: 23px; line-height: 1.25; color: #FFFFFF; }
.text-link { font-weight: 800; font-size: 18px; padding: 12px 0; align-self: flex-start; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(8,14,22,0.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(243,106,2,0.35); }
.header-inner { max-width: 1120px; margin: 0 auto; padding: 10px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 32px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { height: 46px; width: auto; }
.brand-word { height: 28px; width: auto; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 32px; font-size: 16px; font-weight: 600; }
.main-nav a { text-decoration: none; padding: 12px 0; color: #FFFFFF; }

/* Hero */
.hero { position: relative; overflow: hidden; background: #080E16; color: #FFFFFF; }
.hero-video { position: absolute; top: 0; right: 0; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #080E16 0%, #080E16 26%, rgba(8,14,22,0.82) 44%, rgba(8,14,22,0.30) 68%, rgba(8,14,22,0.10) 100%); }
.hero-inner { position: relative; max-width: 1120px; margin: 0 auto; padding: 128px 32px 136px; min-height: 360px; display: flex; flex-direction: column; justify-content: center; gap: 26px; }
.hero-title { margin: 0; font-weight: 800; font-size: clamp(34px, 4.4vw, 58px); line-height: 1.08; letter-spacing: -0.03em; text-shadow: 0 2px 24px rgba(8,14,22,0.9); }
.hero-title span { display: block; }
.hero-lead { margin: 0; font-size: 20px; line-height: 1.55; color: #E3E8F0; max-width: 540px; text-shadow: 0 1px 16px rgba(8,14,22,0.9); }

/* Scrolling strip */
.strip { background: #080E16; border-top: 1px solid rgba(243,106,2,0.55); border-bottom: 1px solid rgba(243,106,2,0.55); overflow: hidden; padding: 22px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.strip-track { display: flex; width: max-content; white-space: nowrap; font-weight: 600; font-size: 14px; letter-spacing: 0.22em; text-transform: uppercase; color: #C5CEDC; }
.strip-item { display: flex; align-items: center; gap: 44px; padding-right: 44px; }
.strip-item svg { flex: none; }

/* How an AI answer gets made */
.sec-ai { position: relative; overflow: hidden; background: #080E16; }
.ai-glow { position: absolute; right: -10%; top: -20%; width: 60%; height: 140%; background: radial-gradient(closest-side, rgba(243,106,2,0.16), rgba(243,106,2,0)); pointer-events: none; }
.ai-inner { position: relative; max-width: 1120px; margin: 0 auto; padding: 120px 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.ai-text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.ai-lead { margin: 0; color: #C5CEDC; font-size: 20px; }
.ai-strong { margin: 0; font-weight: 800; font-size: 22px; color: #FFFFFF; }
.ai-figure { flex: 1 1 440px; min-width: 0; max-width: 600px; border-radius: 28px; border: 1px solid #27416C; box-shadow: 0 0 90px rgba(243,106,2,0.22); }
.diagram { width: 100%; height: auto; display: block; font-family: Manrope, sans-serif; }

/* A real article */
.sec-article { background: #080E16; }
.article-wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px 120px; }
.article-card { position: relative; overflow: hidden; background: #0F1B2E; border: 1px solid #27416C; border-radius: 24px; padding: 44px; display: flex; flex-wrap: wrap; gap: 44px; align-items: stretch; }
.run-35, .run-40 { position: absolute; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, rgba(243,106,2,0), #F36A02, rgba(243,106,2,0)); }
.run-35 { width: 35%; }
.run-40 { width: 40%; }
.article-body { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 22px; justify-content: space-between; }
.article-top { display: flex; flex-direction: column; gap: 22px; }
.logo-chip { align-self: flex-start; background: #FFFFFF; border-radius: 12px; padding: 10px 16px; display: flex; }
.logo-chip img { height: 40px; width: auto; }
.eyebrow { margin: 0; font-size: 15px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #F36A02; }
.article-title { margin: 0; font-weight: 800; font-size: clamp(26px, 3vw, 38px); line-height: 1.12; letter-spacing: -0.02em; color: #FFFFFF; }

/* What you get */
.sec-what { background: #0C1524; }
.what-inner { max-width: 1120px; margin: 0 auto; padding: 120px 32px; display: flex; flex-direction: column; gap: 56px; }
.cards { display: flex; flex-wrap: wrap; gap: 24px; }
.feature { position: relative; overflow: hidden; flex: 1 1 260px; min-width: 0; background: #0F1B2E; border: 1px solid #223B63; border-radius: 22px; padding: 34px; display: flex; flex-direction: column; gap: 16px; }
.icon-box { height: 72px; display: flex; align-items: center; }
.svg-font { font-family: Manrope, sans-serif; }
.orange-block { position: relative; overflow: hidden; background: linear-gradient(120deg, #F36A02, #FF8A2B); color: #080E16; border-radius: 28px; padding: 56px 52px; box-shadow: 0 30px 90px rgba(243,106,2,0.35); }
.shine { position: absolute; top: 0; bottom: 0; left: 0; width: 28%; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.45), rgba(255,255,255,0)); }
.orange-text { position: relative; margin: 0; font-weight: 800; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.18; letter-spacing: -0.015em; max-width: 900px; text-wrap: balance; }

/* Every article is built for AI answers and for search */
.sec-every { background: #080E16; }
.every-inner { max-width: 1120px; margin: 0 auto; padding: 120px 32px; display: flex; flex-direction: column; gap: 48px; }
.every-head { display: flex; flex-direction: column; gap: 20px; }
.every-lead { margin: 0; font-size: 21px; line-height: 1.6; color: #D8DEE9; max-width: 760px; }
.every-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.every-item { background: #0F1B2E; border: 1px solid #223B63; border-radius: 18px; padding: 26px 28px; display: flex; gap: 18px; align-items: flex-start; }
.every-item svg { flex: none; margin-top: 2px; }
.every-body { display: flex; flex-direction: column; gap: 6px; }
.every-title { margin: 0; font-weight: 800; font-size: 20px; line-height: 1.3; color: #FFFFFF; }
.every-text { margin: 0; font-size: 16px; color: #C5CEDC; }
.every-close { margin: 0; font-size: 24px; line-height: 1.4; font-weight: 800; color: #FFFFFF; max-width: 760px; }

/* AI drafts. A person decides. */
.sec-people { background: #0C1524; }
.people-inner { max-width: 1120px; margin: 0 auto; padding: 120px 32px; display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.people-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.people-lead { margin: 0; font-size: 21px; line-height: 1.6; color: #D8DEE9; max-width: 560px; }
.people-strong { margin: 0; font-size: 24px; line-height: 1.4; font-weight: 800; color: #FFFFFF; max-width: 560px; }
.people-cards { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.people-software { position: relative; overflow: hidden; background: #0F1B2E; border: 1px solid #223B63; border-radius: 22px; padding: 30px 34px; display: flex; flex-direction: column; gap: 14px; }
.people-person { background: #0F1B2E; border: 1px solid #F36A02; border-radius: 22px; padding: 30px 34px; display: flex; flex-direction: column; gap: 14px; }
.people-title { margin: 0; font-weight: 800; font-size: 21px; line-height: 1.25; color: #FFFFFF; }
.people-title-person { margin: 0; display: flex; align-items: center; gap: 14px; font-weight: 800; font-size: 21px; line-height: 1.25; color: #F36A02; }
.people-dot { flex: none; width: 14px; height: 14px; border-radius: 50%; background: #F36A02; }
.people-list { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 10px; color: #C5CEDC; font-size: 17px; }

/* How it works */
.sec-how { background: #080E16; }
.how-inner { max-width: 1120px; margin: 0 auto; padding: 120px 32px; display: flex; flex-direction: column; gap: 60px; }
.how-row { display: flex; flex-wrap: wrap; gap: 64px; }
.timeline { position: relative; flex: 999 1 520px; min-width: 0; }
.timeline-line { position: absolute; left: 31px; top: 32px; bottom: 32px; width: 2px; background: #223B63; }
.timeline-dot { position: absolute; left: -5px; top: 0; width: 12px; height: 12px; border-radius: 50%; background: #F36A02; box-shadow: 0 0 18px 4px rgba(243,106,2,0.7); }
.steps { position: relative; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 48px; }
.step { position: relative; display: flex; gap: 28px; align-items: flex-start; padding-left: 0; }
.step-num { flex: none; width: 64px; height: 64px; border-radius: 50%; background: #080E16; border: 3px solid #F36A02; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 22px; color: #F36A02; }
.step-body { display: flex; flex-direction: column; gap: 8px; padding-top: 6px; }
.need { flex: 1 1 320px; min-width: 0; align-self: flex-start; background: #0F1B2E; border: 1px solid #F36A02; border-radius: 22px; padding: 34px; display: flex; flex-direction: column; gap: 18px; }
.need-title { margin: 0; font-weight: 800; font-size: 21px; line-height: 1.25; color: #F36A02; }
.need-list { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 12px; color: #C5CEDC; font-size: 17px; }

/* Articles are one part */
.sec-parts { position: relative; overflow: hidden; background: #192F50; color: #FFFFFF; }
.rings { position: absolute; right: -260px; top: -200px; width: 800px; height: 800px; opacity: 0.5; }
.parts-inner { position: relative; max-width: 1120px; margin: 0 auto; padding: 120px 32px; display: flex; flex-direction: column; gap: 36px; }
.parts-lead { margin: 0; font-size: 21px; line-height: 1.6; color: #D8DEE9; max-width: 760px; }
.pills { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.pill-main { background: #F36A02; color: #080E16; border-radius: 999px; padding: 14px 26px; font-weight: 800; font-size: 20px; }
.pill { border: 2px solid #4A6695; border-radius: 999px; padding: 12px 22px; font-weight: 600; color: #FFFFFF; }
.parts-close { margin: 0; font-size: 24px; line-height: 1.4; font-weight: 800; max-width: 760px; }

/* Example */
.sec-example { background: #080E16; }
.example-inner { max-width: 1120px; margin: 0 auto; padding: 120px 32px; display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.example-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.logo-tile { align-self: flex-start; background: #FFFFFF; border-radius: 20px; padding: 26px 30px; display: flex; box-shadow: 0 24px 70px rgba(243,106,2,0.25); }
.logo-tile img { width: 240px; max-width: 100%; height: auto; }
.count { margin: 0; display: flex; align-items: baseline; gap: 14px; }
.count-num { font-weight: 800; font-size: 96px; line-height: 1; letter-spacing: -0.04em; color: #F36A02; }
.count-label { font-weight: 800; font-size: 22px; color: #FFFFFF; }
.example-main { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }

/* FAQ */
.sec-faq { background: #0C1524; }
.faq-inner { max-width: 860px; margin: 0 auto; padding: 120px 32px; display: flex; flex-direction: column; gap: 36px; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { display: flex; gap: 20px; align-items: flex-start; padding: 28px 0; border-top: 1px solid #223B63; }
.faq-item svg { flex: none; margin-top: 5px; }
.faq-body { display: flex; flex-direction: column; gap: 8px; }
.faq-q { margin: 0; font-weight: 800; font-size: 22px; line-height: 1.3; color: #FFFFFF; }
.closing { margin: 0; display: flex; align-items: center; gap: 16px; font-weight: 800; font-size: 20px; color: #FFFFFF; }
.closing-dot { flex: none; width: 14px; height: 14px; border-radius: 50%; background: #F36A02; }

/* Footer */
.site-footer { background: #080E16; border-top: 3px solid #F36A02; }
.footer-inner { max-width: 1120px; margin: 0 auto; padding: 56px 32px 64px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px 64px; }
.footer-about { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-mark { height: 48px; width: auto; }
.footer-word { height: 30px; width: auto; }
.footer-def { margin: 0; font-size: 16px; color: #C5CEDC; max-width: 520px; }
.footer-links { display: flex; flex-direction: column; gap: 4px; font-size: 16px; }
.footer-links a { text-decoration: none; padding: 10px 0; color: #FFFFFF; }
.footer-copy { margin: 0; flex: 1 1 100%; font-size: 15px; color: #C5CEDC; }

/* Privacy and 404 pages (not in the design; built from the design's own type and colours) */
.page-inner { max-width: 860px; margin: 0 auto; padding: 120px 32px; display: flex; flex-direction: column; gap: 24px; }
.page-title { margin: 0; font-weight: 800; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.06; letter-spacing: -0.025em; color: #FFFFFF; }
.page-h2 { margin: 24px 0 0; font-weight: 800; font-size: 23px; line-height: 1.25; color: #FFFFFF; }

/* ===== Motion (the design's rules, unchanged in substance) ===== */

/* The diagram: every child animates over 10 s. */
.mj-a * { animation-duration: 10s; animation-iteration-count: infinite; animation-timing-function: ease-in-out; }
.mj-q { animation-name: mjq; }
.mj-pq { animation-name: mjpq; animation-timing-function: linear; }
.mj-ps { animation-name: mjps; animation-timing-function: linear; }
.mj-pa { animation-name: mjpa; animation-timing-function: linear; }
.mj-ring { animation-name: mjring; transform-box: fill-box; transform-origin: center; }
.mj-spin { animation-name: mjspin; animation-duration: 24s; animation-timing-function: linear; transform-box: fill-box; transform-origin: center; }
.mj-ans { animation-name: mjans; }
.mj-l1 { animation-name: mjl1; transform-box: fill-box; transform-origin: left center; }
.mj-l2 { animation-name: mjl2; transform-box: fill-box; transform-origin: left center; }
.mj-l3 { animation-name: mjl3; transform-box: fill-box; transform-origin: left center; }
.mj-cite { animation-name: mjcite; transform-box: fill-box; transform-origin: left center; }
.mj-you { animation-name: mjyou; }
@keyframes mjq { 0% { opacity: 0 } 6%, 94% { opacity: 1 } 100% { opacity: 0 } }
@keyframes mjpq { 0%, 8% { stroke-dashoffset: 10; opacity: 1 } 20% { stroke-dashoffset: -100; opacity: 1 } 21%, 100% { stroke-dashoffset: -100; opacity: 0 } }
@keyframes mjps { 0%, 20% { stroke-dashoffset: 10; opacity: 1 } 44% { stroke-dashoffset: -100; opacity: 1 } 45%, 100% { stroke-dashoffset: -100; opacity: 0 } }
@keyframes mjpa { 0%, 50% { stroke-dashoffset: 10; opacity: 1 } 60% { stroke-dashoffset: -100; opacity: 1 } 61%, 100% { stroke-dashoffset: -100; opacity: 0 } }
@keyframes mjring { 0%, 42% { transform: scale(1); opacity: 0 } 44% { transform: scale(1); opacity: .7 } 60% { transform: scale(2); opacity: 0 } 100% { transform: scale(2); opacity: 0 } }
@keyframes mjspin { to { transform: rotate(360deg) } }
@keyframes mjans { 0%, 54% { opacity: 0 } 58%, 94% { opacity: 1 } 100% { opacity: 0 } }
@keyframes mjl1 { 0%, 58% { transform: scaleX(0) } 64%, 100% { transform: scaleX(1) } }
@keyframes mjl2 { 0%, 62% { transform: scaleX(0) } 68%, 100% { transform: scaleX(1) } }
@keyframes mjl3 { 0%, 66% { transform: scaleX(0) } 72%, 100% { transform: scaleX(1) } }
@keyframes mjcite { 0%, 74% { opacity: 0; transform: scale(.7) } 80%, 94% { opacity: 1; transform: scale(1) } 100% { opacity: 0; transform: scale(1) } }
@keyframes mjyou { 0%, 74% { opacity: 0 } 80%, 94% { opacity: 1 } 100% { opacity: 0 } }

.mj-hv { width: 74%; }
@media (max-width: 760px) { .mj-hv { width: 100%; opacity: .4; } }

/* The strip: the track holds k = 4 identical sets and moves by one set (100/k = 25 per cent) per
   cycle, at the design's speed (the design moved two sets in 70 s). k and its measurement are in
   docs/SPEC.md: (k - 1) sets must cover a 3,840-pixel screen. */
.mj-m { animation: mjm 35s linear infinite; }
@keyframes mjm { to { transform: translateX(-25%) } }

/* Cards lift, glow and turn their border orange on hover (Lee, 2026-11-17). */
.mj-card { transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.mj-card:hover { transform: translateY(-8px); border-color: #F36A02; box-shadow: 0 24px 70px rgba(243,106,2,.28); }
.mj-run { animation: mjrun 4.5s linear infinite; }
.mj-shine { animation: mjshine 5s ease-in-out infinite; }
.mj-ty { animation: mjty 3.6s ease-in-out infinite; transform-box: fill-box; transform-origin: left center; }
.mj-blink { animation: mjblink 1s steps(1) infinite; }
.mj-pulse { animation: mjpulse 2.6s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.mj-float { animation: mjfloat 5s ease-in-out infinite; }
.mj-down { animation: mjdown 5s linear infinite; }
.mj-glow { animation: mjglow 2.8s ease-in-out infinite; }
.mj-rot { animation: mjspin 60s linear infinite; transform-box: fill-box; transform-origin: center; }
.mj-drift { animation: mjdrift 16s ease-in-out infinite alternate; }
@keyframes mjrun { from { transform: translateX(-120%) } to { transform: translateX(320%) } }
@keyframes mjshine { 0%, 55% { transform: translateX(-140%) skewX(-20deg) } 100% { transform: translateX(420%) skewX(-20deg) } }
@keyframes mjty { 0% { transform: scaleX(0) } 40%, 85% { transform: scaleX(1) } 100% { transform: scaleX(0) } }
@keyframes mjblink { 0%, 49% { opacity: 1 } 50%, 100% { opacity: 0 } }
@keyframes mjpulse { 0% { transform: scale(.4); opacity: .9 } 100% { transform: scale(1.6); opacity: 0 } }
@keyframes mjfloat { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-10px) } }
@keyframes mjdown { 0% { top: 0; opacity: 0 } 8% { opacity: 1 } 92% { opacity: 1 } 100% { top: 100%; opacity: 0 } }
@keyframes mjglow { 0%, 100% { box-shadow: 0 0 0 0 rgba(243,106,2,.55) } 50% { box-shadow: 0 0 0 18px rgba(243,106,2,0) } }
@keyframes mjdrift { from { transform: translate(-6%, -4%) } to { transform: translate(6%, 5%) } }
@keyframes mjrv { from { opacity: 0; transform: translateY(48px) } to { opacity: 1; transform: none } }
@supports (animation-timeline: view()) {
  .mj-rv { animation: mjrv linear both; animation-timeline: view(); animation-range: entry 0% entry 25%; }
}

/* Animation delays (were inline style attributes in the design), in tenths of a second.
   They come after every animation shorthand above, so the shorthand cannot reset them. */
.mj-d0 { animation-delay: 0s; }
.mj-d3 { animation-delay: .3s; }
.mj-d4 { animation-delay: .4s; }
.mj-d6 { animation-delay: .6s; }
.mj-d7 { animation-delay: .7s; }
.mj-d8 { animation-delay: .8s; }
.mj-d9 { animation-delay: .9s; }
.mj-d13 { animation-delay: 1.3s; }
.mj-d14 { animation-delay: 1.4s; }
.mj-d15 { animation-delay: 1.5s; }
.mj-d18 { animation-delay: 1.8s; }
.mj-d21 { animation-delay: 2.1s; }
.mj-d28 { animation-delay: 2.8s; }
.mj-d30 { animation-delay: 3s; }

/* Reduced motion: the design's two rules, then one that stops everything. */
@media (prefers-reduced-motion: reduce) {
  .mj-a * { animation: none !important; }
  .mj-pq, .mj-ps, .mj-pa, .mj-ring { opacity: 0; }
  [class*="mj-"] { animation: none !important; transition: none !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
