/* ImpulsIQ Labs — shared styles.
   The palette is lifted from the SchoolBro reels (night-sky indigo, amber,
   white) so the company site and its first product read as one family. */

:root {
  --night: #0d0a24;
  --night-2: #16113a;
  --indigo: #2a2170;
  --violet: #7b6cf6;
  --violet-soft: rgba(123, 108, 246, 0.16);
  --sky: #4aa3ff;
  --amber: #ffb547;
  --amber-deep: #ff8a3d;
  --text: #f4f2ff;
  --muted: #b3aed6;
  --dim: #8a84b3;
  --line: rgba(255, 255, 255, 0.1);
  --glass: rgba(255, 255, 255, 0.05);
  --glass-strong: rgba(255, 255, 255, 0.09);
  --radius: 22px;
  --gutter: clamp(16px, 4vw, 32px);
  --max: 1160px;
  --display: "Plus Jakarta Sans", ui-sans-serif, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: "Inter", ui-sans-serif, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(120% 80% at 50% -10%, var(--indigo) 0%, var(--night-2) 45%, var(--night) 100%) fixed;
  background-color: var(--night);
  color: var(--text);
  font: 17px/1.65 var(--body);
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--amber); color: var(--night); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--night); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Sky: starfield canvas + drifting glow orbs ---------- */
#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.orbs { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; animation: drift 26s ease-in-out infinite alternate; }
.orb.a { width: 42vmax; height: 42vmax; background: #5b3fd9; top: -12vmax; right: -10vmax; }
.orb.b { width: 34vmax; height: 34vmax; background: #135f7a; top: 30vh; left: -14vmax; animation-duration: 32s; opacity: 0.35; }
.orb.c { width: 26vmax; height: 26vmax; background: #8a2f78; bottom: -10vmax; right: 10vw; animation-duration: 38s; opacity: 0.3; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(4vw, 3vh, 0) scale(1.08); }
  100% { transform: translate3d(-3vw, -2vh, 0) scale(0.96); }
}

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(13, 10, 36, 0.55); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.site-head.scrolled { border-bottom-color: var(--line); background: rgba(13, 10, 36, 0.8); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 1.12rem; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand .labs { color: var(--amber); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 0.96rem; padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--text); background: var(--glass); }
.nav a[aria-current="page"] { color: var(--text); background: var(--glass-strong); }
.nav a.cta { background: var(--amber); color: var(--night); font-weight: 700; margin-left: 6px; }
.nav a.cta:hover { background: #ffc66b; }
.menu-btn { display: none; background: var(--glass-strong); border: 1px solid var(--line); color: var(--text); width: 44px; height: 44px; border-radius: 12px; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: currentColor; margin: 0 auto; position: relative; transition: transform .25s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav { position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px var(--gutter) 22px; background: rgba(13, 10, 36, 0.97); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
  .menu-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 12px 14px; font-size: 1.05rem; }
  .nav a.cta { margin: 8px 0 0; text-align: center; }
}

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.03em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(2.5rem, 7vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.08rem, 2vw, 1.28rem); color: var(--muted); max-width: 56ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.glow { background: linear-gradient(100deg, var(--amber) 0%, var(--amber-deep) 45%, #ff6fa8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cool { background: linear-gradient(100deg, #9d8fff 0%, var(--sky) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 1rem; border: 1px solid transparent; transition: transform .2s, box-shadow .2s, background .2s; cursor: pointer; font-family: inherit; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--amber); color: var(--night); box-shadow: 0 10px 30px -8px rgba(255, 181, 71, 0.55); }
.btn.primary:hover { box-shadow: 0 14px 38px -8px rgba(255, 181, 71, 0.75); }
.btn.ghost { background: var(--glass); border-color: var(--line); color: var(--text); }
.btn.ghost:hover { background: var(--glass-strong); }
.btn svg { width: 20px; height: 20px; }

/* ---------- Sections ---------- */
/* The orbit rings are wider than a phone screen; clip them to their section
   so the page never scrolls sideways. */
section { position: relative; overflow-x: clip; }
html { overflow-x: clip; }
.section { padding: clamp(72px, 11vw, 132px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 6vw, 60px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { margin-top: 18px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 8vw, 96px) 0 clamp(60px, 9vw, 110px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: clamp(32px, 6vw, 72px); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(110%); animation: rise 0.9s cubic-bezier(.2, .8, .2, 1) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
.hero .lede { margin: 26px 0 34px; opacity: 0; animation: fade .9s .45s forwards; }
.hero .btns { opacity: 0; animation: fade .9s .6s forwards; }
.hero .eyebrow { opacity: 0; animation: fade .8s forwards; }
@keyframes rise { to { transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero .btns, .hero .eyebrow { justify-content: center; }
}

/* ---------- Phone stage (reels) ---------- */
.stage { position: relative; display: grid; place-items: center; min-height: 560px; perspective: 1200px; }
.phone { position: relative; width: min(290px, 72vw); aspect-ratio: 9 / 19.2; border-radius: 44px; padding: 10px; background: linear-gradient(160deg, #3a3470, #15122f 60%); box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset, 0 40px 80px -20px rgba(0, 0, 0, .7), 0 0 120px -10px rgba(123, 108, 246, .45); transform-style: preserve-3d; transition: transform .25s ease-out; z-index: 2; }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 82px; height: 22px; margin-left: -41px; background: #07061a; border-radius: 20px; z-index: 3; }
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 34px; background: #120e2e; }
.sound { position: absolute; bottom: 22px; right: 22px; z-index: 4; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(13,10,36,.6); backdrop-filter: blur(6px); color: var(--text); cursor: pointer; display: grid; place-items: center; }
.sound svg { width: 20px; height: 20px; }
.ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .14); transform: translate(-50%, -50%); animation: spin 60s linear infinite; }
.ring.r1 { width: 440px; height: 440px; }
.ring.r2 { width: 600px; height: 600px; animation-duration: 90s; animation-direction: reverse; border-style: solid; border-color: rgba(123, 108, 246, .12); }
.ring .dot { position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 18px var(--amber); }
.ring.r2 .dot { background: var(--sky); box-shadow: 0 0 18px var(--sky); top: auto; bottom: -6px; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.badge-logo { position: absolute; width: 112px; height: 112px; top: 6%; left: 4%; z-index: 3; border-radius: 50%; filter: drop-shadow(0 16px 30px rgba(0,0,0,.5)); animation: bob 6s ease-in-out infinite; }
.chip { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 16px; background: rgba(28, 22, 70, .78); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: .9rem; font-weight: 600; white-space: nowrap; box-shadow: 0 16px 40px -14px rgba(0,0,0,.6); animation: bob 7s ease-in-out infinite; }
.chip i { font-style: normal; font-size: 1.15rem; }
.chip.c1 { top: 22%; right: -2%; animation-delay: -2s; }
.chip.c2 { bottom: 20%; left: -4%; animation-delay: -4s; }
.chip.c3 { bottom: 4%; right: 6%; animation-delay: -1s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@media (max-width: 900px) {
  .stage { min-height: 520px; }
  .ring.r1 { width: 360px; height: 360px; }
  .ring.r2 { width: 480px; height: 480px; }
  .badge-logo { width: 84px; height: 84px; left: 2%; }
  .chip.c1 { right: 0; }
  .chip.c2 { left: 0; }
}
@media (max-width: 480px) {
  .chip { font-size: .8rem; padding: 8px 12px; }
  .chip.c3 { display: none; }
}

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: rgba(255,255,255,.02); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: scroll 38s linear infinite; }
.marquee span { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--muted); white-space: nowrap; display: flex; align-items: center; gap: 48px; }
.marquee span::after { content: "✦"; color: var(--amber); font-size: .9rem; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 20px; }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { position: relative; background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; overflow: hidden; transition: transform .3s, border-color .3s, background .3s; }
.card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.2); background: var(--glass-strong); }
.card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 181, 71, .1), transparent 40%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover::after { opacity: 1; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; }
.icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px; font-size: 1.5rem; background: linear-gradient(140deg, rgba(123,108,246,.35), rgba(74,163,255,.15)); border: 1px solid var(--line); }
.icon.warm { background: linear-gradient(140deg, rgba(255,181,71,.35), rgba(255,138,61,.12)); }

/* ---------- Product spotlight ---------- */
.spotlight { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.spotlight.flip { grid-template-columns: 1.1fr 0.9fr; }
.spotlight.flip .stage { order: 2; }
.ticks { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
.ticks li::before { content: ""; flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d0a24' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat; }
.ticks strong { color: var(--text); }
@media (max-width: 900px) {
  .spotlight, .spotlight.flip { grid-template-columns: 1fr; }
  .spotlight.flip .stage { order: 0; }
}

.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--violet-soft); border: 1px solid rgba(123,108,246,.35); font-size: .85rem; font-weight: 600; color: #cfc8ff; }
.pill .live { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.step { counter-increment: step; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.01)); }
.step::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--display); font-weight: 800; font-size: 2.4rem; line-height: 1; margin-bottom: 18px; background: linear-gradient(100deg, var(--amber), #ff6fa8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step p { color: var(--muted); margin: 8px 0 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(40px, 7vw, 80px); text-align: center; background: linear-gradient(130deg, #3b2ca6 0%, #5b3fd9 45%, #c1477f 100%); }
.cta-band::before { content: ""; position: absolute; inset: -50%; background: conic-gradient(from 0deg, transparent, rgba(255,255,255,.18), transparent 30%); animation: spin-plain 12s linear infinite; }
.cta-band > * { position: relative; }
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 52ch; margin: 0 auto 30px; font-size: 1.12rem; }
.cta-band .btns { justify-content: center; }
.cta-band .btn.primary { background: #fff; color: var(--night); box-shadow: 0 10px 30px -8px rgba(0,0,0,.4); }
@keyframes spin-plain { to { transform: rotate(360deg); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(56px, 10vw, 120px) 0 clamp(36px, 6vw, 64px); }
.page-hero h1 { max-width: 16ch; }
.page-hero .lede { margin-top: 24px; }
.page-hero.center { text-align: center; }
.page-hero.center h1, .page-hero.center .lede { margin-left: auto; margin-right: auto; }
.page-hero.center .eyebrow { justify-content: center; }
.page-hero > .wrap > * { opacity: 0; animation: fade .8s forwards; }
.page-hero > .wrap > *:nth-child(2) { animation-delay: .1s; }
.page-hero > .wrap > *:nth-child(3) { animation-delay: .2s; }
.page-hero > .wrap > *:nth-child(4) { animation-delay: .3s; }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: 380px 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.portrait { position: relative; aspect-ratio: 4 / 5; border-radius: 30px; overflow: hidden; background: linear-gradient(160deg, #3b2ca6, #1a1450); border: 1px solid var(--line); display: grid; place-items: center; }
.portrait::before { content: ""; position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent, rgba(255,181,71,.35), transparent 25%, rgba(74,163,255,.3), transparent 55%); animation: spin-plain 14s linear infinite; }
.portrait::after { content: ""; position: absolute; inset: 3px; border-radius: 27px; background: linear-gradient(160deg, #2a2170, #120e2e); }
.portrait > * { position: relative; z-index: 1; }
.portrait img { position: absolute; inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px); object-fit: cover; border-radius: 27px; z-index: 2; }
.initials { font-family: var(--display); font-weight: 800; font-size: 6rem; letter-spacing: -0.04em; }
.portrait .note { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; font-size: .8rem; color: var(--dim); }
.founder-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 30px; }
.prose p { color: var(--muted); font-size: 1.08rem; }
.prose h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 44px 0 16px; }
.timeline { list-style: none; margin: 10px 0 0; padding: 0 0 0 26px; border-left: 2px solid var(--line); display: grid; gap: 26px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -33px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(255,181,71,.2); }
.timeline strong { display: block; font-family: var(--display); font-size: 1.08rem; }
.timeline span { color: var(--muted); }
blockquote.quote { margin: 40px 0 0; padding: 28px 30px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line); font-family: var(--display); font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; }
blockquote.quote::before { content: "“"; display: block; font-size: 3.4rem; line-height: .6; color: var(--amber); margin-bottom: 8px; }
@media (max-width: 900px) {
  .founder { grid-template-columns: 1fr; }
  .portrait { max-width: 380px; width: 100%; margin: 0 auto; }
}

/* ---------- Contact ---------- */
.contact-hero-mail { display: inline-flex; align-items: center; gap: 14px; margin-top: 34px; padding: 18px 28px; border-radius: 22px; text-decoration: none; background: var(--glass-strong); border: 1px solid var(--line); font-family: var(--display); font-weight: 700; font-size: clamp(1.1rem, 3.4vw, 1.6rem); transition: transform .2s, border-color .2s; word-break: break-all; }
.contact-hero-mail:hover { transform: translateY(-3px); border-color: var(--amber); }
.contact-hero-mail svg { width: 28px; height: 28px; flex: none; color: var(--amber); }
.card a.inline { color: var(--amber); font-weight: 600; text-decoration: none; word-break: break-all; }
.card a.inline:hover { text-decoration: underline; }
.card .meta { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
address { font-style: normal; color: var(--muted); line-height: 1.7; }

/* ---------- Legal ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.5rem; margin: 40px 0 14px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 6px; }
.agent { padding: 22px 26px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line); color: var(--muted); }
.agent strong { color: var(--text); }
.agent a { color: var(--amber); }

/* ---------- 404 ---------- */
.lost { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.lost .big { font-family: var(--display); font-weight: 800; font-size: clamp(6rem, 22vw, 12rem); line-height: 1; letter-spacing: -0.05em; }
.lost p { color: var(--muted); margin: 14px auto 30px; max-width: 40ch; }
.lost .btns { justify-content: center; }
.planet { display: inline-block; animation: bob 5s ease-in-out infinite; }

/* ---------- Footer ---------- */
.site-foot { border-top: 1px solid var(--line); margin-top: clamp(60px, 9vw, 110px); padding: 48px 0 40px; background: rgba(8, 6, 24, .5); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-grid h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--dim); margin: 0 0 14px; font-weight: 700; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.foot-grid a:hover { color: var(--text); }
.foot-grid .about { color: var(--muted); font-size: .95rem; max-width: 34ch; margin-top: 14px; }
.legal-line { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem; color: var(--dim); }
@media (max-width: 760px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* Motion is decoration here; when someone has asked for less, they get none. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero h1 .line > span { transform: none; }
}
