/* ============================================================================
   LogiTracker marketing site — main stylesheet (hand-written, token-driven).
   Premium system reused from the reference build, rebranded maritime + extended
   for a multi-page site (sub-page heroes, pricing, content rows).
   ============================================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: var(--t-body);
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.container--narrow { max-width: 920px; }
.skip-link { position: absolute; left: 1rem; top: -3rem; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 10px; z-index: 200; transition: top .2s; }
.skip-link:focus { top: 1rem; }
.eyebrow { font-family: var(--font-mono); font-size: var(--t-sm); letter-spacing: .02em; color: var(--teal-deep); }
.lead { font-size: var(--t-lead); color: var(--muted); }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: inherit; font-weight: 600; font-size: var(--t-sm); padding: .65rem 1.15rem; border-radius: var(--r-pill); border: 1px solid transparent; cursor: pointer; transition: transform var(--dur) var(--ease), background var(--dur), border-color var(--dur), box-shadow var(--dur); white-space: nowrap; }
.btn--lg { padding: .9rem 1.6rem; font-size: var(--t-body); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-deep); }
.btn--gold { background: var(--gold); color: var(--gold-ink); }
.btn--gold:hover { background: #d2922c; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: rgba(255,255,255,.94); color: var(--navy); box-shadow: var(--shadow-sm); }
.btn--light:hover { background: #fff; }
@media (hover: hover) { .btn--lg:hover { transform: translateY(-1px); } }

.pill-badge { display: inline-flex; align-items: center; gap: .5rem; font-size: var(--t-sm); color: var(--ink-2); background: rgba(255,255,255,.72); border: 1px solid var(--line); border-radius: var(--r-pill); padding: .35rem .85rem; backdrop-filter: blur(6px); }
.pill-badge__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(224,163,62,.3); }

.link-explore { display: inline-flex; align-items: center; gap: .4rem; font-size: var(--t-sm); font-weight: 600; color: var(--navy); border: 1px solid var(--line); border-radius: var(--r-pill); padding: .45rem .95rem; transition: border-color var(--dur), gap var(--dur); }
.link-explore:hover { border-color: var(--navy); gap: .65rem; }

/* ============================================================================ Nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background var(--dur), box-shadow var(--dur); }
.nav__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-block: .85rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; color: var(--ink); }
.logo img { width: 38px; height: auto; }
.logo--light { color: #fff; }
.nav__links { display: flex; gap: 1.4rem; justify-self: center; }
.nav__links a { font-size: var(--t-sm); font-weight: 500; color: var(--ink-2); padding: .3rem 0; position: relative; transition: color var(--dur); }
.nav__links a:hover { color: var(--navy); }
.nav__links a[aria-current="page"] { color: var(--navy); }
.nav__links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--gold); border-radius: 2px; }
.nav__cta { justify-self: end; display: flex; gap: .6rem; align-items: center; }
.nav[data-scrolled] { background: rgba(242,239,231,.85); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line-2); }
.nav__burger { display: none; }

/* ============================================================================ Home hero */
.hero { position: relative; text-align: center; isolation: isolate; }
.hero__art { position: absolute; inset: 0 0 auto 0; height: 820px; z-index: -1; overflow: hidden; }
.hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero__fade { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 46%, rgba(242,239,231,.5) 78%, var(--paper) 99%); }
.hero__inner { max-width: 920px; margin-inline: auto; padding-top: 240px; padding-bottom: clamp(3rem, 7vw, 6rem); display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.hero__title { font-size: var(--t-hero); letter-spacing: -0.035em; color: var(--ink); }
.hero__lede { font-size: var(--t-lead); color: var(--muted); max-width: 34rem; }
.hero__actions { display: flex; gap: .8rem; flex-wrap: wrap; justify-content: center; }
.hero__trust { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: center; margin-top: .4rem; font-size: var(--t-sm); color: var(--muted-2); }
.hero__trust span { display: inline-flex; align-items: center; gap: .45rem; }
.hero__trust span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* ============================================================================ Sub-page hero */
.page-hero { padding-top: 9rem; padding-bottom: 3rem; position: relative; isolation: isolate; }
.page-hero__inner { max-width: var(--prose); position: relative; }
.page-hero h1 { font-size: var(--t-h1); margin-top: .8rem; }
.page-hero p { margin-top: 1rem; font-size: var(--t-lead); color: var(--muted); }
/* painterly backdrop for sub-page heroes — keeps left side paper-solid for legible text */
.page-hero--art { padding-top: 10rem; padding-bottom: 4rem; }
.page-hero__art { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.page-hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 42%; }
.page-hero__art::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(100deg, var(--paper) 34%, rgba(242,239,231,.72) 55%, rgba(242,239,231,.28) 80%),
  linear-gradient(to bottom, rgba(242,239,231,.25), rgba(242,239,231,0) 30%, var(--paper) 94%); }

/* soft global grain for depth */
/* grain: NO mix-blend-mode — a fixed blended overlay over the animating hero forces per-frame repaints (esp. Firefox). Plain low-opacity overlay composites once. */
body::after { content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: .04;
  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.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* light halo so the home hero headline stays legible over any frame */
.hero__title, .hero__lede { text-shadow: 0 1px 16px rgba(242,239,231,.5); }

/* ============================================================================ Logo strip */
.logos { padding-block: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--line-2); overflow: hidden; }
.logos__kicker { text-align: center; font-size: var(--t-sm); color: var(--muted-2); margin-bottom: 1.4rem; }
.logos__row { list-style: none; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; }
.logos__row--center { justify-content: center; gap: 2.2rem; }
.logos__row li { font-family: var(--font-mono); font-size: 1rem; font-weight: 500; letter-spacing: -0.01em; color: var(--muted-2); opacity: .85; }

/* Carrier marquee — one continuous, GPU-friendly scroll; faded at both edges. */
.logos__viewport {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.logos__track {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; width: max-content;
  gap: clamp(2rem, 5vw, 4rem);
  animation: logos-marquee 42s linear infinite;
  will-change: transform;
}
.logos:hover .logos__track { animation-play-state: paused; }
.logos__track li {
  font-family: var(--font-mono); font-size: 1rem; font-weight: 500;
  letter-spacing: -0.01em; color: var(--muted-2); opacity: .85; white-space: nowrap;
}
@keyframes logos-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logos__track { animation: none; width: 100%; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .logos__viewport { -webkit-mask-image: none; mask-image: none; }
}

/* ============================================================================ Stats + props */
.stats { padding-block: clamp(4rem, 8vw, 7rem); }
.stats__head h2 { font-size: var(--t-h2); }
.stats__head p { margin-top: .8rem; color: var(--muted); max-width: 46ch; }
.stats__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 2.5rem; }
.stat__num { font-size: clamp(2.3rem, 1.5rem + 2.6vw, 3.2rem); font-weight: 600; letter-spacing: -0.04em; color: var(--navy); display: block; }
.stat__label { font-size: var(--t-sm); color: var(--muted); }
.props { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.prop { display: flex; flex-direction: column; gap: .55rem; }
.prop__icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: var(--r-chip); background: var(--surface); box-shadow: var(--hairline); color: var(--navy); }
.prop h3 { font-size: 1.15rem; }
.prop p { font-size: var(--t-sm); color: var(--muted); max-width: 34ch; }

/* ============================================================================ Cloud / sea band */
.band { position: relative; margin-block: clamp(3rem, 6vw, 5rem); overflow: hidden; isolation: isolate; }
.band__art { position: absolute; inset: 0; z-index: -1; }
.band__art img { width: 100%; height: 100%; object-fit: cover; }
.band__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,38,58,.42), rgba(12,38,58,.58)); }
.band__inner { text-align: center; color: #fff; padding-block: clamp(5rem, 12vw, 8.5rem); display: flex; flex-direction: column; align-items: center; gap: 1.1rem; text-shadow: 0 2px 24px rgba(8,24,38,.5); }
.band__eyebrow { font-family: var(--font-mono); font-size: var(--t-sm); color: var(--gold-soft); }
.band h2 { font-size: var(--t-h2); color: #fff; }
.band__lede { max-width: 42rem; font-size: var(--t-lead); color: rgba(255,255,255,.92); }

/* ============================================================================ Feature rows + mocks */
.feature { padding-block: clamp(3.5rem, 7vw, 6rem); }
.feature__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 2.6rem; }
.feature__cat { font-family: var(--font-mono); font-size: var(--t-sm); color: var(--muted-2); margin-bottom: .55rem; }
.feature__head h2 { font-size: var(--t-h3); }
.feature__body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.feature__points { list-style: none; padding: 0; display: flex; flex-direction: column; }
.feature__points li { display: flex; flex-direction: column; gap: .25rem; padding: 1.05rem 0; border-top: 1px solid var(--line); }
.feature__points li:first-child { border-top: none; }
.feature__k { font-weight: 600; font-size: 1.05rem; }
.feature__v { font-size: var(--t-sm); color: var(--muted); max-width: 42ch; }

.mock { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow), var(--hairline); padding: 1.1rem 1.25rem; }
.mock__bar { display: flex; align-items: center; gap: .5rem; padding-bottom: .85rem; margin-bottom: .4rem; border-bottom: 1px solid var(--line-2); }
.mock__pill { font-family: var(--font-mono); font-size: var(--t-sm); color: var(--teal-deep); background: rgba(63,126,140,.13); padding: .2rem .6rem; border-radius: var(--r-pill); }
.mock__list { list-style: none; padding: 0; }
.mock__list li { display: flex; align-items: center; gap: .7rem; padding: .65rem .1rem; font-size: var(--t-sm); border-bottom: 1px solid var(--line-2); }
.mock__list li:last-child { border-bottom: none; }
.mock__ico { width: 20px; height: 20px; flex: none; display: grid; place-items: center; border-radius: 50%; font-size: .7rem; color: var(--muted-2); background: var(--surface-2); box-shadow: var(--hairline); }
.mock__ico--ok { background: rgba(63,126,140,.2); color: var(--teal-deep); }
.mock__ico--gold { background: rgba(224,163,62,.28); color: #8a6011; }
.mock__ico--warn { background: rgba(201,90,40,.16); color: #9a4318; }
.mock__tag { margin-left: auto; font-size: .72rem; font-weight: 500; color: var(--muted); background: var(--surface-2); padding: .15rem .55rem; border-radius: var(--r-pill); box-shadow: var(--hairline); }
.mock__tag--ok { color: var(--teal-deep); background: rgba(63,126,140,.16); }
.mock__tag--gold { color: #8a6011; background: rgba(224,163,62,.2); }
.mock__tag--mut { color: var(--muted-2); }

/* shipment pipeline mock */
.pipeline { list-style: none; padding: .4rem 0; display: flex; flex-direction: column; gap: 0; }
.pipeline li { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: .7rem; padding: .55rem .1rem; font-size: var(--t-sm); position: relative; }
.pipeline li::before { content: ""; position: absolute; left: 10px; top: 1.7rem; bottom: -.3rem; width: 2px; background: var(--line); }
.pipeline li:last-child::before { display: none; }
.pipeline__node { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; background: var(--surface-2); box-shadow: var(--hairline); color: var(--muted-2); z-index: 1; }
.pipeline li.is-done .pipeline__node { background: var(--navy); color: #fff; box-shadow: none; }
.pipeline li.is-current .pipeline__node { background: var(--gold); color: var(--gold-ink); box-shadow: 0 0 0 4px rgba(224,163,62,.25); }
.pipeline__meta { margin-left: auto; font-family: var(--font-mono); font-size: .72rem; color: var(--muted-2); }

.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.partners span { display: grid; place-items: center; font-family: var(--font-mono); font-size: .78rem; color: var(--muted); background: var(--surface); border-radius: var(--r-sub); box-shadow: var(--hairline); padding: 1rem .5rem; text-align: center; }

/* ============================================================================ Content rows (sub-pages) */
.section { padding-block: clamp(3rem, 6vw, 5rem); }
.section--alt { background: var(--surface-2); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split__media img { border-radius: var(--r-card); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.prose h2 { font-size: var(--t-h3); }
.prose h2 + p { margin-top: 1rem; color: var(--muted); }
.checklist { list-style: none; padding: 0; margin-top: 1.4rem; display: grid; gap: .8rem; }
.checklist li { display: flex; gap: .7rem; font-size: var(--t-body); }
.checklist li::before { content: "✓"; flex: none; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: rgba(63,126,140,.18); color: var(--teal-deep); font-size: .72rem; margin-top: 1px; }
.cardgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 2.5rem; }
.card { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-card); padding: 1.6rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: .6rem; }
.card__icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-chip); background: var(--surface-2); color: var(--navy); box-shadow: var(--hairline); }
.card h3 { font-size: 1.15rem; }
.card p { font-size: var(--t-sm); color: var(--muted); }

/* ============================================================================ Pricing */
.pricing { padding-block: clamp(3rem, 6vw, 5rem); }
.pricing__live { display: inline-flex; align-items: center; gap: .5rem; font-size: var(--t-sm); color: var(--muted); margin-top: 1rem; }
.pricing__live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px rgba(63,126,140,.25); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: 2.5rem; align-items: start; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-xl); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 1rem; }
.plan--feature { border-color: var(--navy); box-shadow: var(--shadow); position: relative; }
.plan__flag { position: absolute; top: -.8rem; right: 1.6rem; background: var(--gold); color: var(--gold-ink); font-size: .72rem; font-weight: 600; padding: .25rem .7rem; border-radius: var(--r-pill); }
.plan__name { font-family: var(--font-mono); font-size: var(--t-sm); color: var(--teal-deep); }
.plan__price { display: flex; align-items: baseline; gap: .4rem; }
.plan__amt { font-size: clamp(2.4rem, 1.6rem + 2.6vw, 3.2rem); font-weight: 600; letter-spacing: -0.03em; }
.plan__per { font-size: var(--t-sm); color: var(--muted); }
.plan__sub { font-size: var(--t-sm); color: var(--muted); margin-top: -.4rem; }
.plan__list { list-style: none; padding: 0; display: grid; gap: .7rem; margin-top: .4rem; }
.plan__list li { display: flex; gap: .6rem; font-size: var(--t-sm); }
.plan__list li::before { content: "✓"; color: var(--teal-deep); font-weight: 700; }
.plan__list li b { font-weight: 600; }
.plan .btn { margin-top: auto; }
.pricing__note { margin-top: 1.6rem; font-size: var(--t-sm); color: var(--muted-2); text-align: center; }
.pricing__usage { margin-top: 2rem; background: var(--surface-2); border-radius: var(--r-card); padding: 1.6rem; display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: center; }
.pricing__usage strong { font-size: 1.4rem; color: var(--navy); }

/* ============================================================================ Secure + badges */
.secure__inner { background: var(--surface-2); border-radius: var(--r-xl); padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: center; }
.secure h2 { font-size: var(--t-h3); margin-bottom: .8rem; }
.secure p { color: var(--muted); max-width: 46ch; margin-bottom: 1.3rem; }
.badges { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.badges li { display: grid; place-items: center; font-family: var(--font-mono); font-size: var(--t-sm); color: var(--ink-2); background: var(--surface); border-radius: var(--r-sub); box-shadow: var(--hairline); padding: 1.3rem .5rem; text-align: center; }

/* ============================================================================ CTA strip */
.cta { padding-block: clamp(3rem, 6vw, 5rem); }
.cta__box { background: var(--navy-deep); color: #fff; border-radius: var(--r-xl); padding: clamp(2.4rem, 5vw, 4rem); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.2rem; position: relative; overflow: hidden; }
.cta__box h2 { font-size: var(--t-h2); color: #fff; max-width: 18ch; }
.cta__box p { color: rgba(255,255,255,.82); max-width: 44ch; }
.cta__box .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.cta__box .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* ============================================================================ Footer */
.footer { position: relative; margin-top: clamp(3rem, 6vw, 5rem); min-height: 440px; display: flex; align-items: flex-end; isolation: isolate; color: #fff; }
.footer__art { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.footer__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.footer__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10,30,48,.5), rgba(10,30,48,.35) 40%, rgba(10,30,48,.72)); }
.footer__inner { width: 100%; max-width: var(--container); margin-inline: auto; padding: clamp(3rem,6vw,5rem) var(--pad) 2rem; }
.footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 1.5rem; padding-bottom: 2.5rem; }
.footer__about { max-width: 32ch; }
.footer__about .logo { margin-bottom: .9rem; }
.footer__about p { font-size: var(--t-sm); color: rgba(255,255,255,.78); }
.footer__cols h4 { font-size: var(--t-sm); font-weight: 600; margin-bottom: .9rem; }
.footer__cols nav { display: flex; flex-direction: column; gap: .5rem; }
.footer__cols a { font-size: var(--t-sm); color: rgba(255,255,255,.8); width: fit-content; transition: color var(--dur); }
.footer__cols a:hover { color: #fff; }
.footer__base { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.2); font-size: var(--t-sm); color: rgba(255,255,255,.78); }

/* ============================================================================ Reveal + responsive */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 920px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: inline-flex; flex-direction: column; gap: 5px; justify-self: end; background: none; border: none; padding: .5rem; cursor: pointer; }
  .nav__burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }
  .nav__inner { grid-template-columns: 1fr auto; }
  .stats__row, .props, .cardgrid, .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .feature__body, .secure__inner, .split, .plans { grid-template-columns: 1fr; }
  .feature__body--rev .feature__points { order: 2; }
  .split--rev .split__media { order: -1; }
  .hero__inner { padding-top: 150px; } .hero__art { height: 560px; }
}
@media (max-width: 560px) {
  .stats__row, .props, .cardgrid, .footer__cols, .partners, .badges { grid-template-columns: 1fr; }
  .feature__head, .pricing__usage { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer__base { flex-direction: column; align-items: flex-start; }
}
.m-menu { position: fixed; inset: 0 0 auto 0; z-index: 90; background: var(--paper); padding: 5rem var(--pad) 2rem; display: flex; flex-direction: column; gap: .4rem; transform: translateY(-100%); transition: transform var(--dur) var(--ease); box-shadow: var(--shadow); }
.m-menu[data-open] { transform: none; }
.m-menu a { font-size: 1.3rem; padding: .6rem 0; border-bottom: 1px solid var(--line-2); }
.m-menu .btn { margin-top: 1rem; }

/* ============================================================================
   Motion pass — premium & restrained. Transform/opacity only. The hero IMAGE
   is the LCP element and never animates its paint, so the hero TEXT may fade in.
   ============================================================================ */
/* hero image: slow, gentle ken-burns (compositor transform; no paint delay) */
.hero__art img { animation: kenburns 20s var(--ease) forwards; transform-origin: 60% 50%; will-change: transform; backface-visibility: hidden; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }

/* hero text: immediate staggered entrance on load (not gated by JS/scroll) */
.hero__inner > * { animation: riseIn .7s var(--ease) both; will-change: transform, opacity; }
.hero__inner > *:nth-child(1) { animation-delay: .05s; }
.hero__inner > *:nth-child(2) { animation-delay: .13s; }
.hero__inner > *:nth-child(3) { animation-delay: .22s; }
.hero__inner > *:nth-child(4) { animation-delay: .32s; }
.hero__inner > *:nth-child(5) { animation-delay: .42s; }
@keyframes riseIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* staggered scroll reveals within rows/grids */
.stats__row .reveal:nth-child(2), .props .reveal:nth-child(2), .cardgrid .reveal:nth-child(2), .plans .reveal:nth-child(2), .badges .reveal:nth-child(2) { transition-delay: .08s; }
.stats__row .reveal:nth-child(3), .props .reveal:nth-child(3), .cardgrid .reveal:nth-child(3) { transition-delay: .16s; }

/* micro-interactions — hover lifts (hover-capable devices only) */
@media (hover: hover) {
  .card, .plan, .mock, .badges li, .partners span { transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
  .card:hover, .plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  .mock:hover { transform: translateY(-3px); box-shadow: var(--shadow), var(--hairline); }
  .badges li:hover, .partners span:hover { transform: translateY(-2px); }
  .prop__icon { transition: transform var(--dur) var(--ease), color var(--dur); }
  .prop:hover .prop__icon { transform: translateY(-3px); color: var(--gold); }
  .btn--primary:hover, .btn--gold:hover { box-shadow: var(--shadow); }
  .split__media img { transition: transform var(--dur) var(--ease); }
  .split:hover .split__media img { transform: scale(1.015); }
}

/* on-theme "live" pulses — tiny elements, negligible paint */
.pill-badge__dot { animation: dotPulse 2.6s var(--ease) infinite; }
@keyframes dotPulse { 0%,100% { box-shadow: 0 0 0 3px rgba(224,163,62,.32); } 50% { box-shadow: 0 0 0 7px rgba(224,163,62,0); } }
.pipeline li.is-current .pipeline__node { animation: nodePulse 2.6s var(--ease) infinite; }
@keyframes nodePulse { 0%,100% { box-shadow: 0 0 0 4px rgba(224,163,62,.28); } 50% { box-shadow: 0 0 0 9px rgba(224,163,62,0); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero__inner > * { animation: none !important; }
  .hero__art img { animation: none !important; transform: none !important; }
}
