/* ===== Zimorta design system v2 =====
   Light-first, alternating charcoal sections, vibrant green accent,
   bold modern sans headings. Class names unchanged from v1. */
:root {
  --ink: #101613;          /* near-black charcoal (dark sections, header text) */
  --ink-2: #1a221e;
  --ink-3: #26302a;
  --saffron: #12b76a;      /* primary accent — vibrant green (legacy token name) */
  --saffron-dark: #0e9655; /* hover / links on light */
  --green-soft: #e7f7ef;
  --teal: #12b5a5;
  --paper: #f7f8f6;        /* off-white page background */
  --card: #ffffff;
  --text: #1c211e;
  --muted: #5f6a64;
  --line: #e4e8e4;
  --ok: #0e9655;
  --err: #c23838;
  --radius: 12px;
  --shadow: 0 8px 28px rgba(16, 22, 19, .08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Inter", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif; color: var(--text); background: var(--paper); line-height: 1.6; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: inherit; font-weight: 700; line-height: 1.12; letter-spacing: -.022em; color: inherit; }

/* ===== Buttons ===== */
.btn { display: inline-block; padding: 11px 22px; border-radius: 10px; font-weight: 650; font-size: 15px; border: 2px solid transparent; cursor: pointer; transition: .15s; font-family: inherit; }
.btn-primary { background: var(--saffron); color: #fff; }
.btn-primary:hover { background: var(--saffron-dark); }
.btn-outline { border-color: currentColor; color: inherit; background: transparent; }
.btn-outline:hover { opacity: .75; }
.btn-ghost { color: inherit; }
.btn-ghost:hover { opacity: .7; }
.btn-lg { padding: 15px 30px; font-size: 16.5px; }
.btn-sm { padding: 5px 13px; font-size: 13px; border-radius: 8px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-danger { background: #fceaea; color: var(--err); }

/* ===== Header (light) ===== */
.site-header { background: rgba(255,255,255,.92); backdrop-filter: blur(8px); color: var(--ink); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { font-weight: 800; font-size: 24px; letter-spacing: -.03em; color: var(--ink); }
.brand-dot { color: var(--saffron); }
.main-nav { display: flex; gap: 24px; flex: 1; }
.nav-item { color: #3c4540; font-size: 15px; font-weight: 550; position: relative; padding: 23px 0; }
.nav-item:hover { color: var(--ink); }
.has-menu .dropdown { display: none; position: absolute; top: 100%; left: -14px; background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; min-width: 200px; }
.has-menu:hover .dropdown { display: block; }
.dropdown a { display: block; padding: 9px 14px; border-radius: 8px; font-size: 14.5px; }
.dropdown a:hover { background: var(--green-soft); color: var(--saffron-dark); }
.nav-cta { display: flex; gap: 10px; align-items: center; color: var(--ink); }
.nav-burger { display: none; background: none; border: 0; color: var(--ink); font-size: 24px; cursor: pointer; }

/* ===== Flash ===== */
.flash { padding: 12px 0; font-weight: 600; font-size: 14.5px; }
.flash-success { background: var(--green-soft); color: var(--ok); }
.flash-error { background: #fdecec; color: var(--err); }
.flash-app { border-radius: 10px; padding: 12px 18px; margin-bottom: 18px; }

/* ===== Hero (light, type-led) ===== */
.hero { background: linear-gradient(180deg, #ffffff 0%, var(--paper) 100%); color: var(--ink); padding: 96px 0 88px; }
.hero .container { max-width: 920px; text-align: center; }
.hero h1 { font-size: clamp(40px, 6.2vw, 68px); margin-bottom: 22px; font-weight: 800; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 660px; margin: 0 auto 34px; }
.hero .accent { color: var(--saffron); }
.eyebrow { display: inline-block; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 750; color: var(--saffron-dark); background: var(--green-soft); border-radius: 999px; padding: 6px 16px; margin-bottom: 22px; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Hero product mockup */
.hero-mock { margin: 56px auto 0; max-width: 860px; display: block; filter: drop-shadow(0 24px 48px rgba(16,22,19,.16)); }

/* ===== Sections ===== */
.section { padding: 84px 0; }
.section-dark { background: var(--ink); color: #fff; }
.section-dark .sub { color: #aeb8b1; }
.section h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.section .sub { font-size: 17.5px; color: var(--muted); max-width: 640px; margin-bottom: 44px; }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }

/* ===== Cards & grids ===== */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: .18s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }
.card .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--green-soft); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.card-link { display: inline-block; margin-top: 14px; color: var(--saffron-dark); font-weight: 650; font-size: 14.5px; }
.card-link:hover { text-decoration: underline; }
.card-dark { background: var(--ink-2); border-color: var(--ink-3); color: #fff; }
.card-dark p { color: #aeb8b1; }

/* ===== Stats ===== */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: center; }
.stat-big { font-weight: 800; font-size: clamp(36px, 5vw, 56px); color: var(--saffron); letter-spacing: -.03em; }
.stat-label { color: #aeb8b1; font-size: 15px; }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px 12px; text-align: center; }
.step-n { width: 32px; height: 32px; border-radius: 50%; background: var(--saffron); color: #fff; font-weight: 750; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; font-size: 14px; }
.step b { display: block; font-size: 14.5px; }
.step span { font-size: 12.5px; color: var(--muted); }

/* ===== FAQ ===== */
details.faq { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; }
details.faq summary { font-weight: 650; cursor: pointer; font-size: 16.5px; }
details.faq summary::marker { color: var(--saffron); }
details.faq p { margin-top: 10px; color: var(--muted); }

/* ===== Forms ===== */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 36px; box-shadow: var(--shadow); max-width: 560px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13.5px; font-weight: 650; margin-bottom: 5px; }
.field input, .field select, .field textarea { width: 100%; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 15px; font-family: inherit; background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--saffron); box-shadow: 0 0 0 3px rgba(18,183,106,.15); }
.field-hint { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

/* ===== CTA band & footer ===== */
.cta-band { background: var(--ink); color: #fff; padding: 78px 0; text-align: center; }
.cta-band h2 { font-size: clamp(26px, 4vw, 40px); margin-bottom: 12px; }
.cta-band p { margin-bottom: 28px; color: #aeb8b1; }
.cta-band .btn-primary { background: var(--saffron); }
.cta-band .btn-outline { color: #fff; }
.site-footer { background: #0c110e; color: #97a29b; padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 30px; }
.footer-grid h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer-grid a { display: block; font-size: 14.5px; padding: 4px 0; }
.footer-grid a:hover { color: var(--saffron); }
.brand-footer { font-size: 24px; color: #fff; font-weight: 800; }
.footer-tag { font-size: 14px; margin-top: 10px; }
.footer-bottom { border-top: 1px solid #1d2620; margin-top: 44px; padding-top: 22px; font-size: 13.5px; }
.wa-float { position: fixed; right: 22px; bottom: 22px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; font-size: 26px; box-shadow: var(--shadow); z-index: 60; }

/* ===== Blog ===== */
.post-card { display: flex; flex-direction: column; }
.post-tag { font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--saffron-dark); margin-bottom: 8px; }
.post-body { max-width: 720px; margin: 0 auto; font-size: 17.5px; }
.post-body h3 { margin: 30px 0 12px; }
.post-body p { margin-bottom: 18px; }
.post-body a { color: var(--saffron-dark); }

/* ===== App shell ===== */
.app-body { background: #f1f3f1; }
.app-layout { display: flex; min-height: 100vh; }
.sidebar { width: 240px; background: var(--ink); color: #fff; padding: 24px 16px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.brand-sm { font-size: 21px; padding: 0 10px 22px; display: block; color: #fff; font-weight: 800; }
.side-nav { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.side-link { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px; color: #aeb8b1; font-size: 14.5px; font-weight: 550; }
.side-link:hover { background: var(--ink-2); color: #fff; }
.side-link.active { background: var(--saffron); color: #fff; }
.side-ico { width: 20px; text-align: center; }
.side-user { border-top: 1px solid var(--ink-3); padding: 14px 10px 4px; font-size: 13px; }
.side-user-name { font-weight: 700; color: #fff; }
.side-user-role { color: #7d877f; text-transform: capitalize; margin-bottom: 8px; }
.side-logout { color: var(--saffron); font-weight: 650; }
.app-main { flex: 1; padding: 34px 38px; max-width: 1180px; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.page-head h1 { font-size: 28px; letter-spacing: -.02em; }
.page-head .sub { color: var(--muted); font-size: 15px; margin-top: 4px; }

/* ===== App widgets ===== */
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin-bottom: 26px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.stat-card .v { font-weight: 800; font-size: 26px; color: var(--ink); letter-spacing: -.02em; }
.stat-card .k { font-size: 12.5px; color: var(--muted); font-weight: 650; text-transform: uppercase; letter-spacing: .05em; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 22px; }
.panel h2 { font-size: 18px; margin-bottom: 14px; }
table.data { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.data th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 8px 10px; border-bottom: 2px solid var(--line); }
table.data td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data tr:last-child td { border-bottom: 0; }
.pill { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; text-transform: capitalize; }
.pill-pending, .pill-new, .pill-ask { background: #fff4e3; color: #a36a00; }
.pill-approved, .pill-allow, .pill-clear, .pill-settled, .pill-captured, .pill-resolved, .pill-published, .pill-verified, .pill-qualified { background: var(--green-soft); color: var(--ok); }
.pill-rejected, .pill-deny, .pill-flagged, .pill-failed, .pill-deepfake, .pill-impersonation { background: #fdecec; color: var(--err); }
.pill-licensed, .pill-paid, .pill-contacted, .pill-registered { background: #e6f0fb; color: #2563ae; }
.pill-reviewing, .pill-takedown_sent, .pill-voice_clone, .pill-unauthorized_use, .pill-draft, .pill-dismissed { background: #eef1f4; color: #52607a; }
.inline-form { display: inline; }
.seg { display: flex; gap: 6px; }
.seg label { flex: 1; }
.seg input { display: none; }
.seg span { display: block; text-align: center; padding: 8px 4px; border: 1.5px solid var(--line); border-radius: 9px; font-size: 13px; font-weight: 650; cursor: pointer; }
.seg input:checked + span { border-color: var(--saffron); background: var(--green-soft); color: var(--saffron-dark); }
.quote-box { background: var(--ink); color: #fff; border-radius: 12px; padding: 22px; text-align: center; }
.quote-box .q-price { font-weight: 800; font-size: 38px; color: var(--saffron); letter-spacing: -.02em; }
.demo-note { background: #fff8ec; border: 1px dashed #e8c580; color: #8a6a1f; border-radius: 10px; padding: 12px 16px; font-size: 13.5px; margin-bottom: 18px; }
.timeline { list-style: none; }
.timeline li { padding: 10px 0 10px 22px; border-left: 2px solid var(--line); position: relative; margin-left: 8px; font-size: 14.5px; }
.timeline li::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--saffron); position: absolute; left: -6px; top: 16px; }
.timeline .t-meta { color: var(--muted); font-size: 12.5px; }

/* ===== Login/signup ===== */
.auth-wrap { min-height: calc(100vh - 70px); display: flex; align-items: center; justify-content: center; padding: 50px 20px; background: var(--paper); }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 40px; width: 100%; max-width: 460px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 26px; margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; }
.auth-card a { color: var(--saffron-dark); }
.demo-creds { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; font-size: 13px; color: var(--muted); margin-top: 18px; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sidebar { width: 200px; }
}
@media (max-width: 700px) {
  .main-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; padding: 10px 24px 20px; gap: 4px; }
  .main-nav.open { display: flex; }
  .nav-item { padding: 10px 0; }
  .has-menu .dropdown { display: block; position: static; background: transparent; box-shadow: none; border: 0; padding: 0 0 0 16px; }
  .dropdown a { color: var(--muted); }
  .nav-burger { display: block; }
  .nav-cta .btn-ghost { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .app-layout { flex-direction: column; }
  .sidebar { width: 100%; height: auto; position: static; }
  .side-nav { flex-direction: row; flex-wrap: wrap; }
  .app-main { padding: 22px 18px; }
}

/* ===== Visual asset system (v3) ===== */
@keyframes sweep { to { transform: rotate(360deg); } }
@keyframes blipPulse { 0%,100% { opacity: .15; } 50% { opacity: 1; } }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.art { width: 100%; height: auto; display: block; }
.art-frame { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.art-frame-dark { background: #101613; border: 1px solid #26302a; padding: 20px; }
.radar-sweep { transform-origin: 0 0; animation: sweep 5.5s linear infinite; }
.radar-blip { animation: blipPulse 2.4s ease-in-out infinite; }
.trend-line { stroke-dasharray: 620; stroke-dashoffset: 620; animation: drawLine 2.4s .3s ease-out forwards; }
.hero-mock { animation: floaty 7s ease-in-out infinite; }

/* Logo strip */
.logo-strip { display: flex; gap: 12px 44px; justify-content: center; align-items: center; flex-wrap: wrap; }
.logo-strip span { font-weight: 800; letter-spacing: .12em; font-size: 14px; color: #9aa59e; text-transform: uppercase; }
.logo-strip-label { text-align: center; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; margin-bottom: 22px; }

/* Video placeholder */
.video-ph { position: relative; display: block; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 56px rgba(16,22,19,.22); transition: .2s; }
.video-ph:hover { transform: translateY(-3px); }
.video-ph:hover .play-btn circle:first-child { fill: var(--saffron-dark); }
.video-cap { text-align: center; color: var(--muted); font-size: 14px; margin-top: 18px; }

/* Testimonials */
.testimonial { display: flex; flex-direction: column; gap: 18px; }
.testimonial blockquote { font-size: 16px; line-height: 1.65; color: var(--text); }
.t-person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; font-size: 15px; letter-spacing: .02em; flex-shrink: 0; }
.t-person b { display: block; font-size: 14.5px; }
.t-person span { font-size: 13px; color: var(--muted); }
.stars { color: #e0a022; font-size: 14px; letter-spacing: 2px; }

/* CSS bar charts (dashboards) */
.bar-chart { display: flex; flex-direction: column; gap: 12px; }
.bar-row { display: grid; grid-template-columns: 130px 1fr 90px; align-items: center; gap: 12px; font-size: 13.5px; }
.bar-row .bar-label { color: var(--muted); font-weight: 650; text-transform: capitalize; }
.bar-track { background: #eef1ee; border-radius: 999px; height: 14px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; background: var(--saffron); min-width: 4px; }
.bar-fill.b-amber { background: #e0a022; }
.bar-fill.b-blue { background: #2563ae; }
.bar-fill.b-red { background: #e05252; }
.bar-val { font-weight: 750; text-align: right; }

/* ===== Motion system (v4) ===== */
html { scroll-behavior: smooth; }

/* Scroll reveals — added by /js/reveal.js */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s cubic-bezier(.16,1,.3,1), transform .75s cubic-bezier(.16,1,.3,1); transition-delay: var(--d, 0ms); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.art-frame.reveal { transform: translateY(26px) scale(.96); }
.video-ph.reveal { transform: translateY(30px) scale(.97); }
.card.reveal { transform: translateY(30px); }

/* Hero load choreography */
@keyframes riseIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes headerDrop { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: translateY(0); } }
.site-header { animation: headerDrop .6s cubic-bezier(.16,1,.3,1) both; }
.hero .eyebrow { animation: riseIn .7s cubic-bezier(.16,1,.3,1) .08s both; }
.hero h1 { animation: riseIn .8s cubic-bezier(.16,1,.3,1) .18s both; }
.hero p.lead { animation: riseIn .8s cubic-bezier(.16,1,.3,1) .32s both; }
.hero .cta-row { animation: riseIn .8s cubic-bezier(.16,1,.3,1) .46s both; }
.hero .hero-mock { animation: riseIn 1s cubic-bezier(.16,1,.3,1) .62s both, floaty 7s ease-in-out 2s infinite; }

/* Micro-interactions */
.btn { transition: transform .18s cubic-bezier(.16,1,.3,1), background .18s, box-shadow .18s, opacity .18s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary:hover { box-shadow: 0 10px 24px rgba(18,183,106,.35); }
.btn-dark:hover { box-shadow: 0 10px 24px rgba(16,22,19,.28); }
.card { transition: box-shadow .28s cubic-bezier(.16,1,.3,1), transform .28s cubic-bezier(.16,1,.3,1), opacity .75s cubic-bezier(.16,1,.3,1); }
.card.reveal { transition: box-shadow .28s cubic-bezier(.16,1,.3,1), opacity .75s cubic-bezier(.16,1,.3,1), transform .75s cubic-bezier(.16,1,.3,1); transition-delay: 0s, var(--d, 0ms), var(--d, 0ms); }
.card.reveal.in:hover { transform: translateY(-4px); transition-delay: 0s; }
.card-link { position: relative; }
.card-link::after { content: ''; position: absolute; left: 0; bottom: -3px; width: 100%; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s cubic-bezier(.16,1,.3,1); }
.card:hover .card-link::after, .card-link:hover::after { transform: scaleX(1); }
.card-link:hover { text-decoration: none; }
.side-link, .dropdown a, .pill { transition: background .16s, color .16s; }
.step { transition: transform .22s cubic-bezier(.16,1,.3,1), box-shadow .22s; }
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
details.faq { transition: border-color .2s, box-shadow .2s; }
details.faq[open] { border-color: var(--saffron); box-shadow: var(--shadow); }

/* App shell: quick load fade for panels & stat cards */
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.app-main .page-head { animation: panelIn .45s cubic-bezier(.16,1,.3,1) both; }
.app-main .stat-card { animation: panelIn .5s cubic-bezier(.16,1,.3,1) both; }
.app-main .stat-card:nth-child(2) { animation-delay: .06s; }
.app-main .stat-card:nth-child(3) { animation-delay: .12s; }
.app-main .stat-card:nth-child(4) { animation-delay: .18s; }
.app-main .stat-card:nth-child(5) { animation-delay: .24s; }
.app-main .panel { animation: panelIn .55s cubic-bezier(.16,1,.3,1) both; }
.app-main .panel:nth-of-type(2) { animation-delay: .08s; }
.app-main .panel:nth-of-type(3) { animation-delay: .16s; }
.bar-fill { transform-origin: left; animation: barGrow .9s cubic-bezier(.16,1,.3,1) .25s both; }
@keyframes barGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Respect reduced motion everywhere */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== FX layer: pixel canvas, tech grids, parallax (v5) ===== */
.hero { position: relative; overflow: hidden; }
.fx-canvas { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero .container { position: relative; z-index: 1; }

/* Animated pixel grid on dark sections */
.section-dark, .cta-band { position: relative; overflow: hidden; }
.section-dark::before, .cta-band::before {
  content: ''; position: absolute; inset: -64px; pointer-events: none;
  background-image:
    linear-gradient(rgba(18,183,106,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18,183,106,.07) 1px, transparent 1px);
  background-size: 34px 34px;
  animation: gridDrift 24s linear infinite;
  -webkit-mask-image: radial-gradient(70% 90% at 50% 45%, #000 30%, transparent 100%);
          mask-image: radial-gradient(70% 90% at 50% 45%, #000 30%, transparent 100%);
}
.section-dark::after, .cta-band::after {
  content: ''; position: absolute; pointer-events: none;
  width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(18,183,106,.14), transparent 65%);
  top: -260px; right: -180px;
  animation: glowPulse 9s ease-in-out infinite;
}
.section-dark > .container, .cta-band > .container { position: relative; z-index: 1; }
@keyframes gridDrift { from { background-position: 0 0, 0 0; } to { background-position: 34px 68px, 68px 34px; } }
@keyframes glowPulse { 0%,100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.12); } }

/* Parallax wrapper (injected by /js/fx.js) */
.plx { will-change: transform; }

/* ===== Brand logo (v6) ===== */
.brand { display: inline-flex; align-items: center; }
.brand .logo-mark { height: 17px; width: auto; display: block; }
.brand-footer .logo-mark { height: 19px; }
.brand-sm .logo-mark { height: 14px; }
.logo-z { height: 22px; width: auto; display: block; }

/* ===== Search-engineer review fixes (v7) ===== */
/* Keyboard-accessible dropdown menus */
.has-menu:focus-within .dropdown { display: block; }
/* Skip-to-content link: hidden until keyboard focus */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0; font-weight: 650; }
.skip-link:focus { left: 0; }
