/* LaunchFly marketing site (/about/). Static, no build step; the app's CSP allows inline styles but no inline scripts,
   fonts only from the site (self-hosted below), images only from the site (data: URIs are fine, used for the noise). */
/* Self-hosted variable fonts, latin subset, SIL Open Font License (licenses in fonts/OFL-*.txt) */
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('fonts/space-grotesk-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('fonts/inter-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 100 800; font-display: swap; src: url('fonts/jetbrains-mono-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --bg: #090c13;
  --bg2: #10172a;
  --bg3: #16203a;
  --line: rgba(255, 255, 255, 0.08);
  --line2: rgba(255, 255, 255, 0.16);
  --fg: #eef0f4;
  --dim: #a3aab7;
  --mute: #6b7280;
  --green: #66b82e;
  --lime: #97c82b;
  --green2: #2cb742;
  --yel: #facc15;
  --grad: linear-gradient(120deg, #c4ef52 0%, #97c82b 35%, #66b82e 70%, #2cb742 100%);
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --display: 'Space Grotesk', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --max: 1140px;
  --r: 18px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 var(--sans); overflow-x: hidden; font-feature-settings: 'cv11', 'ss01', 'calt'; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lime); }
a:hover { color: #c4ef52; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; position: relative; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yel); color: #000; padding: 8px 12px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }
.mute { color: var(--mute); }
.tiny { font-size: 13px; color: var(--dim); }
.mono { font-family: var(--mono); }
.center { text-align: center; justify-content: center; }

/* film grain over everything (data URI is allowed by img-src) */
.noise { position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: 0.045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* nav */
.nav { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); background: rgba(9, 12, 19, 0.72); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.nav .brand img { height: 34px; width: auto; }
.menu { display: flex; align-items: center; gap: 2px; }
.menu a { color: var(--dim); text-decoration: none; padding: 8px 13px; border-radius: 9px; font-size: 14.5px; font-weight: 500; font-family: var(--display); transition: color 0.15s, background 0.15s; }
.menu a:hover { color: var(--fg); background: rgba(255, 255, 255, 0.05); }
.menu a[aria-current='page'] { color: var(--fg); background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px var(--line); }
.menu .btn { margin-left: 10px; }
.burger { display: none; background: none; border: 1px solid var(--line2); border-radius: 10px; width: 42px; height: 38px; padding: 7px 9px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: var(--fg); border-radius: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 12px; font-family: var(--display); font-weight: 600; text-decoration: none; font-size: 15px; border: 1px solid transparent; transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s, border-color 0.2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn .arr { font-style: normal; transition: transform 0.2s var(--ease); }
.btn:hover .arr { transform: translate(2px, -2px); }
.btn.primary { background: var(--yel); color: #0b0f17 !important; box-shadow: 0 8px 24px -8px rgba(250, 204, 21, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn.primary:hover { background: #ffd83d; transform: translateY(-1px); box-shadow: 0 14px 32px -8px rgba(250, 204, 21, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn.ghost { border-color: var(--line2); color: var(--fg); background: rgba(255, 255, 255, 0.03); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.28); color: #fff; transform: translateY(-1px); }
.btn.small { padding: 8px 14px; font-size: 13.5px; border-radius: 10px; }
.btn.big { padding: 15px 26px; font-size: 16px; border-radius: 14px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 26px 0 16px; }

/* type */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime); margin: 0 0 16px; }
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--grad); border-radius: 2px; }
.eyebrow.center::before { display: none; }
h1 { font-family: var(--display); font-size: clamp(38px, 5.9vw, 68px); line-height: 1.02; letter-spacing: -0.03em; font-weight: 700; margin: 0 0 22px; text-wrap: balance; }
h2 { font-family: var(--display); font-size: clamp(28px, 4vw, 44px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 700; margin: 0 0 16px; text-wrap: balance; }
h3 { font-family: var(--display); font-size: 19.5px; font-weight: 600; margin: 0 0 8px; letter-spacing: -0.015em; }
.hl { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18.5px; line-height: 1.6; color: var(--dim); max-width: 62ch; margin: 0 0 8px; }
.sec-head { max-width: 760px; margin-bottom: 40px; }
section { padding: 96px 0; position: relative; }
section.tight { padding: 56px 0; }
section.s2 { background: var(--bg2); }

/* shape dividers */
.divider { line-height: 0; position: relative; z-index: 1; }
.divider svg { display: block; width: 100%; height: clamp(44px, 7vw, 100px); }

/* hero */
.hero { padding: 84px 0 56px; overflow: hidden; }
.grid-bg { position: absolute; inset: 0; pointer-events: none; opacity: 0.35;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; opacity: 0.55; animation: drift 14s ease-in-out infinite alternate; }
.orb.o1 { width: 620px; height: 620px; left: -200px; top: -240px; background: radial-gradient(circle, rgba(151, 200, 43, 0.55), rgba(44, 183, 66, 0.15) 55%, transparent 70%); }
.orb.o2 { width: 520px; height: 520px; right: -160px; top: 120px; background: radial-gradient(circle, rgba(250, 204, 21, 0.35), transparent 65%); animation-delay: -7s; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(40px, 30px, 0) scale(1.08); } }
.grid2 { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.pills { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.pills li { font-size: 13.5px; color: var(--dim); display: inline-flex; align-items: center; gap: 8px; }
.pills li i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px rgba(151, 200, 43, 0.9); }
.frame { margin: 0; border: 1px solid var(--line2); border-radius: 14px; overflow: hidden; background: var(--bg3); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7); }
.frame img { width: 100%; }
.frame .bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)); border-bottom: 1px solid var(--line); }
.frame .bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.frame .bar i:nth-child(1) { background: #ff5f57; } .frame .bar i:nth-child(2) { background: #febc2e; } .frame .bar i:nth-child(3) { background: #28c840; }
.frame .bar span { margin-left: 8px; font: 11px var(--mono); color: var(--mute); }
.hero-shot { position: relative; transform: perspective(1600px) rotateY(-9deg) rotateX(4deg) translateZ(0); transition: transform 0.7s var(--ease), box-shadow 0.7s; box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(151, 200, 43, 0.18), 0 0 120px -20px rgba(102, 184, 46, 0.45); }
.hero-shot:hover { transform: perspective(1600px) rotateY(0) rotateX(0); }
.hero-shot::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, 0.08), transparent 40%); }

/* hero mascot + character cut-outs */
.hero-visual { position: relative; }
.mascot { position: absolute; left: -70px; bottom: -48px; width: 228px; pointer-events: none; z-index: 2; filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.65)); animation: bob 6s ease-in-out infinite; }
.mascot img { width: 100%; height: auto; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* office life tiles (square videos) */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.tile { margin: 0; position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line2); aspect-ratio: 1; background: var(--bg3); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.tile video, .tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 44px 20px 18px; background: linear-gradient(180deg, transparent, rgba(6, 9, 14, 0.9)); font-size: 13.5px; color: var(--dim); }
.tile figcaption b { display: block; color: #fff; font: 600 16px var(--display); margin-bottom: 2px; }

/* team cards */
.team { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.member { position: relative; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)); transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s; }
.member:hover { transform: translateY(-4px); border-color: rgba(151, 200, 43, 0.4); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.8); }
.member .pic { height: 300px; display: flex; align-items: flex-end; justify-content: center; padding: 22px 22px 0; background: radial-gradient(60% 45% at 50% 100%, rgba(151, 200, 43, 0.28), transparent 70%), linear-gradient(180deg, var(--bg3), rgba(20, 27, 39, 0)); }
.member .pic img { max-height: 278px; width: auto; max-width: 100%; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.6)); transition: transform 0.5s var(--ease); }
.member:hover .pic img { transform: translateY(-4px) scale(1.02); }
.member .pic.scene { padding: 0; background: none; }
.member .pic.scene img { width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: 50% 30%; filter: none; }
.member .pic.scene::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 300px; background: linear-gradient(180deg, transparent 60%, var(--bg2)); pointer-events: none; }
.member .txt { padding: 18px 22px 22px; position: relative; }
.member .txt b { display: block; font: 600 17px var(--display); letter-spacing: -0.01em; }
.member .txt i { display: block; font: 600 11px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime); font-style: normal; margin: 4px 0 10px; }
.member .txt p { margin: 0; color: var(--dim); font-size: 14.5px; line-height: 1.5; }

/* page-head mascots */
.pagehead .mascot-head { position: absolute; right: 5%; bottom: 0; height: 86%; max-height: 460px; z-index: 1; pointer-events: none; filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.65)); }
.pagehead .mascot-head img { height: 100%; width: auto; }
.pagehead.has-mascot .wrap { padding-right: 34%; }

/* marquee */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee .track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { padding: 14px 0; margin-right: 44px; font: 600 13px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); white-space: nowrap; display: inline-flex; align-items: center; gap: 44px; }
.marquee span::after { content: '✦'; color: var(--lime); font-size: 10px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* stats */
.stats { padding: 40px 0 56px; }
.stats .wrap { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.stats .wrap > div { position: relative; padding-left: 18px; }
.stats .wrap > div::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; background: var(--grad); border-radius: 2px; opacity: 0.8; }
.stats b { display: block; font: 700 40px/1 var(--display); letter-spacing: -0.04em; margin-bottom: 8px; background: linear-gradient(180deg, #fff, #c9cfda); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { font-size: 13.5px; color: var(--dim); line-height: 1.45; display: block; }

/* cards */
.grid { display: grid; gap: 18px; }
.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { position: relative; background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s; overflow: hidden; }
.card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgba(151, 200, 43, 0.7), transparent 45%, transparent 60%, rgba(250, 204, 21, 0.35)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.35s; pointer-events: none; }
.card::after { content: ''; position: absolute; width: 220px; height: 220px; right: -90px; top: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(151, 200, 43, 0.18), transparent 65%); opacity: 0; transition: opacity 0.35s; pointer-events: none; }
.card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.8); }
.card:hover::before, .card:hover::after { opacity: 1; }
.card p { color: var(--dim); margin: 0; font-size: 15px; }
.card .ic { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 9px; border-radius: 12px; background: linear-gradient(180deg, rgba(151, 200, 43, 0.22), rgba(151, 200, 43, 0.08)); color: #d6f27a; font: 700 16px var(--mono); margin-bottom: 16px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 0 1px rgba(151, 200, 43, 0.22); }

/* timeline (home) */
.tl { list-style: none; margin: 8px 0 0; padding: 0; position: relative; }
.tl::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); background: linear-gradient(180deg, transparent, rgba(151, 200, 43, 0.6) 12%, rgba(151, 200, 43, 0.6) 88%, transparent); }
.tl li { position: relative; width: 50%; padding: 0 56px 40px 0; }
.tl li:nth-child(even) { margin-left: 50%; padding: 0 0 40px 56px; }
.tl .dot { position: absolute; top: 26px; right: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 3px solid var(--lime); box-shadow: 0 0 0 5px rgba(151, 200, 43, 0.14), 0 0 22px rgba(151, 200, 43, 0.6); z-index: 1; }
.tl li:nth-child(even) .dot { right: auto; left: -9px; }
.tcard { background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 26px; }
.tcard b { display: block; font: 700 12px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime); margin-bottom: 8px; }
.tcard p { margin: 0; color: var(--dim); font-size: 15px; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.gallery figure { margin: 0; position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line2); background: var(--bg3); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.gallery img { width: 100%; transition: transform 0.8s var(--ease); }
.gallery figure:hover img { transform: scale(1.035); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(180deg, transparent, rgba(6, 9, 14, 0.92)); font-size: 13.5px; color: var(--dim); }
.gallery figcaption b { display: block; color: #fff; font-size: 15px; margin-bottom: 2px; }

/* quotes */
.quotes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
blockquote { margin: 0; position: relative; background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 24px 22px; display: flex; flex-direction: column; justify-content: space-between; }
blockquote::before { content: '“'; position: absolute; left: 20px; top: 6px; font: 800 64px/1 Georgia, serif; color: var(--lime); opacity: 0.35; }
blockquote p { margin: 14px 0 22px; font: 500 17px/1.45 var(--display); letter-spacing: -0.01em; }
blockquote footer { display: flex; align-items: center; gap: 12px; }
blockquote footer i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: #0b0f17; font: 800 12px var(--mono); font-style: normal; flex: none; }
blockquote footer span { display: flex; flex-direction: column; font: 12px var(--mono); color: var(--mute); }
blockquote footer b { font: 700 14px var(--sans); color: var(--fg); }

/* cta + footer */
.cta { padding: 120px 0 130px; text-align: center; overflow: hidden; background: var(--bg2) radial-gradient(800px 380px at 50% 110%, rgba(250, 204, 21, 0.14), transparent 70%); }
.cta .lead { margin: 0 auto; }
.watermark { position: absolute; right: -120px; bottom: -160px; width: 520px; opacity: 0.06; pointer-events: none; filter: grayscale(1) brightness(2); }
.foot { border-top: 1px solid var(--line); padding: 56px 0 44px; background: var(--bg); }
.foot .grid3 { display: grid; grid-template-columns: 1.4fr 0.7fr 1.2fr; gap: 40px; }
.foot h4 { margin: 0 0 12px; font: 700 12px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.foot a { display: block; color: var(--dim); text-decoration: none; font-size: 14px; padding: 4px 0; }
.foot p a { display: inline; color: var(--lime); padding: 0; }
.foot a:hover { color: var(--fg); }

/* sub pages */
.pagehead { padding: 88px 0 64px; overflow: hidden; background: var(--bg2); }
.pagehead .watermark { right: -140px; top: -120px; bottom: auto; width: 620px; opacity: 0.05; }
.pagehead h1 { max-width: 22ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chips a { text-decoration: none; color: var(--dim); font-size: 13.5px; font-weight: 600; padding: 8px 14px; border: 1px solid var(--line2); border-radius: 999px; background: rgba(255, 255, 255, 0.03); transition: all 0.2s; }
.chips a:hover { color: #fff; border-color: rgba(151, 200, 43, 0.6); background: rgba(151, 200, 43, 0.1); }
.prose > * { max-width: 820px; }
.prose h2 { font-size: 30px; margin-top: 44px; }
.prose h3 { font-weight: 600; }
.prose .sec-head h2 { margin-top: 0; }
.prose .sec-head + div > h2:first-child, .prose > div > h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 34px; font-size: 21px; display: flex; align-items: center; gap: 12px; }
.prose h3 .num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(180deg, rgba(151, 200, 43, 0.25), rgba(151, 200, 43, 0.08)); color: #d6f27a; font: 700 13px var(--mono); box-shadow: 0 0 0 1px rgba(151, 200, 43, 0.25); flex: none; }
.prose p, .prose li { color: #cdd3dc; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 7px 0; }
.prose ul.checks { list-style: none; padding: 0; }
.prose ul.checks li { padding-left: 30px; position: relative; }
.prose ul.checks li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; background: rgba(151, 200, 43, 0.15); color: var(--lime); font: 700 12px var(--mono); }
.prose code { font: 13.5px var(--mono); background: rgba(255, 255, 255, 0.07); padding: 2px 6px; border-radius: 6px; }
.tablewrap { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 24px 0; background: rgba(255, 255, 255, 0.02); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 13px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.prose thead th { color: var(--mute); font: 700 11.5px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; border-top: 0; background: rgba(255, 255, 255, 0.03); }
.prose td:first-child { font-weight: 700; white-space: nowrap; color: #fff; }
.prose tbody tr:hover td { background: rgba(255, 255, 255, 0.025); }
.prose .frame { margin: 26px 0 8px; }
.callout, .warn { position: relative; padding: 18px 20px 18px 24px; border-radius: 14px; margin: 24px 0; background: rgba(102, 184, 46, 0.08); border: 1px solid rgba(102, 184, 46, 0.25); color: #d7dde6; }
.callout::before, .warn::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--grad); }
.warn { background: rgba(250, 204, 21, 0.07); border-color: rgba(250, 204, 21, 0.28); }
.warn::before { background: var(--yel); }
.callout.mono { font: 14px/1.6 var(--mono); }

/* guide steps */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps > li { counter-increment: step; position: relative; padding: 0 0 44px 76px; }
.steps > li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(180deg, rgba(151, 200, 43, 0.28), rgba(151, 200, 43, 0.08)); color: #d6f27a; font: 800 15px var(--mono); box-shadow: 0 0 0 1px rgba(151, 200, 43, 0.3), 0 0 30px -6px rgba(151, 200, 43, 0.5); }
.steps > li::after { content: ''; position: absolute; left: 24px; top: 58px; bottom: 8px; width: 2px; background: linear-gradient(180deg, rgba(151, 200, 43, 0.5), rgba(151, 200, 43, 0.08)); }
.steps > li:last-child::after { display: none; }
.steps h3 { margin-top: 10px; }

/* treasury flow */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.flow > div { position: relative; background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px; }
.flow > div i { position: absolute; right: 16px; top: 12px; font: 800 44px/1 var(--mono); font-style: normal; color: rgba(255, 255, 255, 0.05); }
.flow > div b { display: block; font: 600 21px/1.2 var(--display); margin-bottom: 8px; color: #fff; letter-spacing: -0.015em; }
.flow > div span { color: var(--dim); font-size: 14.5px; }
.flow > div + div::before { content: '→'; position: absolute; left: -19px; top: 22px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--bg2); color: var(--lime); font-weight: 700; font-size: 14px; z-index: 1; }

/* faq */
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; margin: 10px 0; background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)); transition: border-color 0.25s; }
.faq details[open] { border-color: rgba(151, 200, 43, 0.4); }
.faq summary { cursor: pointer; list-style: none; font-family: var(--display); font-weight: 600; font-size: 17.5px; padding: 16px 44px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 11px; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(151, 200, 43, 0.12); color: var(--lime); font: 400 22px/1 var(--mono); transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { content: '−'; transform: rotate(180deg); }
.faq details p { margin: 0 0 20px; }

/* scroll reveal (only when site.js is running) */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .hero-shot.reveal { transform: perspective(1600px) rotateY(-9deg) rotateX(4deg) translateY(22px); }
html.js .hero-shot.reveal.in { transform: perspective(1600px) rotateY(-9deg) rotateX(4deg); }
html.js .hero-shot.reveal.in:hover { transform: perspective(1600px) rotateY(0) rotateX(0); }

/* responsive */
@media (max-width: 960px) {
  .grid2 { grid-template-columns: 1fr; gap: 36px; }
  .mascot { width: 180px; left: -20px; bottom: -30px; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pagehead .mascot-head { display: none; }
  .pagehead.has-mascot .wrap { padding-right: 24px; }
  .hero-shot, html.js .hero-shot.reveal.in { transform: none; }
  .stats .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow > div + div::before { display: none; }
  .foot .grid3 { grid-template-columns: 1fr 1fr; }
  .tl::before { left: 9px; }
  .tl li, .tl li:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 28px 40px; }
  .tl .dot, .tl li:nth-child(even) .dot { left: 0; right: auto; }
}
@media (max-width: 720px) {
  section { padding: 64px 0; }
  section.tight { padding: 40px 0; }
  .hero { padding: 48px 0 32px; }
  .pagehead { padding: 56px 0 44px; }
  .burger { display: flex; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; background: rgba(9, 12, 19, 0.98); border-bottom: 1px solid var(--line); padding: 10px 16px 18px; }
  .nav.open .menu { display: flex; }
  .menu a { padding: 13px 12px; font-size: 16px; }
  .menu .btn { margin: 10px 0 0; justify-content: center; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .cards, .quotes, .gallery, .flow, .tiles, .team { grid-template-columns: 1fr; }
  .mascot { width: 140px; left: -12px; bottom: -24px; }
  .foot .grid3 { grid-template-columns: 1fr; gap: 26px; }
  .steps > li { padding-left: 62px; }
  .steps > li::before { width: 44px; height: 44px; }
  .steps > li::after { left: 21px; }
  .prose td:first-child { white-space: normal; }
  .watermark { display: none; }
  .btn.big { padding: 13px 20px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, .gallery img, .hero-shot { transition: none; }
  .orb, .marquee .track, .mascot { animation: none; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}
