/* Wevfront design system — based on "design template.jpg", themed with logo green #00A85A */
:root {
  --green: #00a85a;        /* logo green */
  --green-dark: #008548;
  --green-soft: #5fd39a;   /* hero blobs */
  --mint: #e4f8ed;         /* page tint */
  --mint-2: #c4efd7;
  --ink: #0b1a12;          /* text + dark buttons */
  --ink-2: #3b4a42;
  --line: #d5e6dc;
  --white: #fff;
  --radius: 28px;
  --radius-sm: 18px;
  --shadow: 0 10px 30px rgba(11, 26, 18, .08);
  --wrap: 1180px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.08; letter-spacing: -.03em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.3rem; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--ink-2); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--green-dark); margin-bottom: .8em; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 14px; padding: 8px 8px 8px 22px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; transition: transform .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn .arr { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.btn .arr svg { width: 18px; height: 18px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark .arr { background: var(--green); color: var(--ink); }
.btn-green { background: var(--green); color: var(--ink); }
.btn-green .arr { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light .arr { background: var(--green); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); padding: 14px 6px; text-decoration: underline; text-underline-offset: 4px; }
.btn-ghost:hover { box-shadow: none; }
.btn-sm { font-size: .9rem; padding: 6px 6px 6px 16px; gap: 10px; }
.btn-sm .arr { width: 28px; height: 28px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding: 14px 0; }
.nav { display: flex; align-items: center; gap: 18px; background: #fff; border-radius: 999px; padding: 10px 10px 10px 24px; box-shadow: var(--shadow); }
.nav .brand img { height: 20px; width: auto; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0 auto; padding: 0; }
.nav-links a { display: block; white-space: nowrap; padding: 8px 11px; border-radius: 999px; text-decoration: none; font-size: .92rem; font-weight: 600; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--mint); color: var(--green-dark); }
.nav .btn { font-size: .9rem; flex: none; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--mint); cursor: pointer; place-items: center; }
.nav-toggle svg { width: 22px; height: 22px; }
@media (max-width: 1200px) {
  .nav { border-radius: 28px; flex-wrap: wrap; }
  .nav-toggle { display: grid; }
  .nav .nav-cta { display: none; }
  .nav-links { display: none; flex-direction: column; width: 100%; margin: 6px 0 4px; }
  .nav.open .nav-links { display: flex; }
  .nav.open .nav-cta { display: inline-flex; margin: 0 0 8px; }
  .nav-links a { padding: 12px 14px; font-size: 1rem; }
}

/* ---------- Hero (green with organic blobs, like template) ---------- */
.hero { position: relative; background: var(--green); margin-top: -96px; padding: 140px 0 70px; /* slides under the sticky header */ overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; background: var(--green-soft); opacity: .55; pointer-events: none; }
.hero::before { width: 760px; height: 900px; left: -280px; top: -320px; transform: rotate(28deg); border-radius: 46% 54% 60% 40%; }
.hero::after { width: 680px; height: 520px; right: -200px; bottom: -300px; border-radius: 40% 60% 50% 50%; }
.hero > * { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero .lead { color: var(--ink); max-width: 560px; margin-bottom: 1.6em; }
.hero-sm { padding-bottom: 60px; }
.hero-sm h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 860px; }

/* Stats strip under hero */
.stats { background: var(--mint); padding: 40px 0; }
.stats .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { text-align: center; padding: 6px 16px; }
.stat + .stat { border-left: 1px solid var(--mint-2); }
.stat b { display: block; font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -.04em; line-height: 1.1; }
.stat span { color: var(--ink-2); font-size: .95rem; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-tint { background: var(--mint); }
.section-head { margin-bottom: 44px; }
.panel { border-radius: 36px; background: var(--green); padding: 70px 0; margin: 0 12px; position: relative; overflow: hidden; }
.panel::before { content: ""; position: absolute; width: 600px; height: 600px; right: -180px; top: -260px; border-radius: 50%; background: var(--green-soft); opacity: .5; }
.panel > * { position: relative; }
.panel .lead, .panel .muted { color: var(--ink); }

/* Cards */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: flex-start; }
.card p { color: var(--ink-2); }
.card .btn { margin-top: auto; }
.card-line { border: 1px solid var(--line); box-shadow: none; }
.card-link { text-decoration: none; transition: transform .15s; }
.card-link:hover { transform: translateY(-4px); }
.ico { width: 58px; height: 58px; border-radius: 50%; background: var(--mint-2); color: var(--ink); display: grid; place-items: center; margin-bottom: 18px; flex: none; }
.panel .ico, .section-tint .ico { background: var(--mint-2); }
.ico svg { width: 26px; height: 26px; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.4em; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: .5em; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1a12' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/11px no-repeat; }
.problem { font-size: 1.12rem; font-weight: 600; color: var(--ink); line-height: 1.4; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--mint); color: var(--green-dark); font-weight: 700; font-size: .78rem; padding: 4px 10px; border-radius: 999px; }

/* Steps */
.steps { counter-reset: s; display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.steps.six { grid-template-columns: repeat(3, 1fr); }
.step { counter-increment: s; background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.step::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--green); font-weight: 800; margin-bottom: 16px; }
.step p { color: var(--ink-2); margin: 0; }

/* Split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split + .split { margin-top: 90px; }
.split.rev > :first-child { order: 2; }

/* Timeline strip */
.strip { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius); overflow: hidden; }
.strip div { padding: 28px; background: #fff; }
.strip div + div { background: var(--ink); color: #fff; }
.strip b { display: block; font-size: 2rem; letter-spacing: -.03em; }

/* Before / After */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.ba div { border-radius: var(--radius-sm); padding: 18px 20px; font-size: .97rem; }
.ba .before { background: #f4f4f1; }
.ba .after { background: var(--mint); }
.ba strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
.ind { scroll-margin-top: 100px; }

/* Table-like list (industries) */
.rows { display: grid; gap: 14px; }
.row-link { display: grid; grid-template-columns: 1.1fr 1.4fr 1.3fr 44px; gap: 20px; align-items: center; background: #fff; border-radius: var(--radius-sm); padding: 20px 24px; text-decoration: none; box-shadow: var(--shadow); }
.row-link:hover { outline: 2px solid var(--green); }
.row-link .go { width: 40px; height: 40px; border-radius: 50%; background: var(--green); display: grid; place-items: center; }
.row-link .go svg { width: 18px; height: 18px; }
.row-link small { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--green-dark); font-weight: 700; }

/* FAQ */
details { background: #fff; border-radius: var(--radius-sm); padding: 0 24px; margin-bottom: 12px; box-shadow: var(--shadow); }
summary { cursor: pointer; font-weight: 700; padding: 20px 30px 20px 0; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; font-weight: 800; }
details[open] summary::after { content: "–"; background: var(--green); }
details p { color: var(--ink-2); padding-bottom: 20px; margin: 0; }

/* CTA band (template bottom) */
.cta { position: relative; overflow: hidden; text-align: center; padding: 100px 0; }
.cta::before, .cta::after { content: ""; position: absolute; width: 260px; height: 320px; background: var(--mint-2); border-radius: 60% 40% 50% 50%; bottom: -140px; }
.cta::before { left: -90px; transform: rotate(-20deg); }
.cta::after { right: -80px; transform: rotate(25deg); }
.cta > * { position: relative; }
.cta h2 { max-width: 760px; margin-left: auto; margin-right: auto; }
.cta .lead { margin: 0 auto 1.8em; }

/* ---------- Demo app mockups (demo data only) ---------- */
.mock-wrap { position: relative; }
.mock { background: #fff; border-radius: var(--radius); box-shadow: 0 30px 60px rgba(11, 26, 18, .18); overflow: hidden; font-size: .8rem; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--mint-2); }
.mock-bar span { margin-left: 10px; font-weight: 700; color: var(--ink-2); }
.mock-body { display: grid; grid-template-columns: 110px 1fr; min-height: 280px; }
.mock-side { background: var(--mint); padding: 14px 10px; display: flex; flex-direction: column; gap: 6px; }
.mock-side b { display: block; padding: 6px 10px; border-radius: 10px; font-weight: 600; color: var(--ink-2); }
.mock-side b.on { background: #fff; color: var(--ink); }
.mock-main { padding: 16px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.mock-kpis div { background: var(--mint); border-radius: 12px; padding: 10px; }
.mock-kpis b { display: block; font-size: 1.05rem; letter-spacing: -.02em; }
.mock-kpis span { color: var(--ink-2); font-size: .7rem; }
.hero-grid > *, .split > *, .grid > *, .mock-body > * { min-width: 0; } /* stop wide content stretching grid columns past the screen */
.mock-main { overflow-x: auto; }
.mock table { width: 100%; border-collapse: collapse; }
.mock td, .mock th { text-align: left; padding: 7px 4px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.mock th { color: var(--ink-2); font-weight: 600; font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; }
.st { padding: 2px 8px; border-radius: 999px; font-weight: 700; font-size: .7rem; }
.st.ok { background: var(--mint-2); color: var(--green-dark); }
.st.wait { background: #fff3cf; color: #7a5a00; }
.st.new { background: #e7ecff; color: #2b3f99; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 70px; margin-top: 10px; }
.bars i { flex: 1; background: var(--green); border-radius: 6px 6px 2px 2px; opacity: .85; }
.bars i:nth-child(odd) { background: var(--mint-2); }
.float { position: absolute; background: #fff; border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow); font-size: .85rem; display: flex; gap: 10px; align-items: center; z-index: 2; }
.float .ico { width: 36px; height: 36px; margin: 0; background: var(--mint-2); }
.float .ico svg { width: 18px; height: 18px; }
.float b { display: block; font-size: 1rem; }
.float.tl { top: -22px; left: -26px; }
.float.br { bottom: -22px; right: -18px; }
.mock-mini { padding: 18px; background: var(--mint); border-radius: var(--radius-sm); margin-bottom: 18px; width: 100%; font-size: .78rem; }
.mock-mini .r { display: flex; justify-content: space-between; gap: 10px; background: #fff; border-radius: 10px; padding: 8px 10px; margin-bottom: 6px; }
.mock-mini .r:last-child { margin-bottom: 0; }

/* Real screenshots (case studies) */
.shot { display: block; border-radius: var(--radius-sm); overflow: hidden; box-shadow: 0 20px 45px rgba(11, 26, 18, .16); border: 1px solid var(--line); background: #fff; transition: transform .15s; }
.shot:hover { transform: translateY(-3px); }
.shot img { width: 100%; height: auto; }
.shots { display: grid; gap: 16px; }
.shots .shot:nth-child(2) { width: 82%; margin: -60px 0 0 auto; position: relative; }

/* ---------- Forms ---------- */
.form { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label, legend { font-weight: 700; font-size: .9rem; }
input, select, textarea { font: inherit; font-size: 1rem; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: #fbfdfc; color: var(--ink); width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(0, 168, 90, .18); }
textarea { min-height: 90px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.checks label { font-weight: 600; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; }
.checks input { width: auto; accent-color: var(--green); }
.form-ok { display: none; background: var(--mint); border-radius: var(--radius-sm); padding: 20px; font-weight: 700; }
.form.sent .form-grid, .form.sent .form-submit { display: none; }
.form.sent .form-ok { display: block; }
.form-submit { margin-top: 22px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list .ico { margin: 0; width: 48px; height: 48px; }
.contact-list a { font-weight: 700; text-decoration: none; }

/* Prose (legal pages, case study) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose ul { color: var(--ink-2); }
.note { background: #fff8e1; border-radius: var(--radius-sm); padding: 14px 18px; font-size: .92rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c9d6cf; padding: 70px 0 30px; border-radius: 36px 36px 0 0; }
.site-footer a { text-decoration: none; color: #c9d6cf; }
.site-footer a:hover { color: var(--green-soft); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.foot-grid h4 { color: #fff; font-size: 1rem; margin-bottom: 1em; letter-spacing: 0; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .95rem; }
.foot-logo { height: 22px; width: auto; margin-bottom: 18px; }
.foot-bottom { border-top: 1px solid #23362b; margin-top: 50px; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: .85rem; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: #1b2c22; display: grid; place-items: center; }
.socials svg { width: 18px; height: 18px; }

/* WhatsApp floating button */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(0, 0, 0, .25); transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Responsive: tablet ---------- */
@media (max-width: 980px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 56px; }
  .split.rev > :first-child { order: 0; }
  .g3, .g4, .steps, .steps.six { grid-template-columns: repeat(2, 1fr); }
  .g2:has(.ba) { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .row-link { grid-template-columns: 1fr 1fr 40px; }
  .row-link > :nth-child(3) { display: none; }
  .section { padding: 70px 0; }
  .mock-wrap { max-width: 600px; margin: 0 auto; width: 100%; }
}
/* ---------- Responsive: mobile ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .g2, .g3, .g4, .steps, .steps.six, .form-grid, .ba, .strip, .foot-grid { grid-template-columns: 1fr; }
  .hero { padding: 120px 0 56px; }
  .stats .wrap { grid-template-columns: 1fr; gap: 18px; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--mint-2); padding-top: 18px; }
  .row-link { grid-template-columns: 1fr 40px; }
  .row-link > :nth-child(2) { display: none; }
  .panel { margin: 0 8px; padding: 56px 0; border-radius: 28px; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .float.tl { left: 6px; top: -26px; }
  .float.br { right: 6px; }
  .form { padding: 22px; }
  .btn { white-space: normal; }
  .cta { padding: 76px 0; }
}

/* ================= Motion ================= */
/* Hero entrance */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes slideIn { from { opacity: 0; transform: translateX(40px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { opacity: 0; transform: scale(.6); } 70% { transform: scale(1.06); } 100% { opacity: 1; transform: none; } }
.hero .wrap > div:first-child > *, .hero.hero-sm .wrap > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero .wrap > div:first-child > :nth-child(2), .hero.hero-sm .wrap > :nth-child(2) { animation-delay: .1s; }
.hero .wrap > div:first-child > :nth-child(3), .hero.hero-sm .wrap > :nth-child(3) { animation-delay: .2s; }
.hero .wrap > div:first-child > :nth-child(4), .hero.hero-sm .wrap > :nth-child(4) { animation-delay: .3s; }
.hero .mock-wrap { animation: slideIn 1s .25s cubic-bezier(.2, .7, .2, 1) both; }
.hero .float.tl { animation: pop .6s .9s both, bob 5s 1.5s ease-in-out infinite; }
.hero .float.br { animation: pop .6s 1.15s both, bob 5.5s 1.8s ease-in-out infinite reverse; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Organic blobs drift and morph, like the template's shapes */
@keyframes drift { 0%, 100% { transform: rotate(28deg) translate(0, 0); border-radius: 46% 54% 60% 40%; } 50% { transform: rotate(34deg) translate(30px, 20px); border-radius: 56% 44% 48% 52%; } }
@keyframes drift2 { 0%, 100% { transform: translate(0, 0); border-radius: 40% 60% 50% 50%; } 50% { transform: translate(-40px, -25px); border-radius: 55% 45% 60% 40%; } }
.hero::before { animation: drift 16s ease-in-out infinite; }
.hero::after, .panel::before { animation: drift2 18s ease-in-out infinite; }
.cta::before, .cta::after { animation: drift2 14s ease-in-out infinite; }

/* Dashboard bars grow, then breathe */
@keyframes grow { from { transform: scaleY(0); } }
@keyframes breathe { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.82); } }
.bars i { transform-origin: bottom; animation: grow .9s cubic-bezier(.2, .7, .2, 1) both, breathe 4s ease-in-out infinite; }
.bars i:nth-child(1) { animation-delay: .6s, 1.6s; } .bars i:nth-child(2) { animation-delay: .7s, 2.1s; }
.bars i:nth-child(3) { animation-delay: .8s, 1.8s; } .bars i:nth-child(4) { animation-delay: .9s, 2.4s; }
.bars i:nth-child(5) { animation-delay: 1s, 1.9s; } .bars i:nth-child(6) { animation-delay: 1.1s, 2.6s; }
.bars i:nth-child(7) { animation-delay: 1.2s, 2.2s; }

/* Live status pill flip (JS swaps the class) */
.st { transition: background-color .4s, color .4s; }
.st.flip { animation: pop .45s both; }

/* Scroll reveal (class added by JS, so content shows without JS) */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.shot.reveal { transform: translateY(50px) scale(.96); }
.shot.reveal.in { transform: none; }

/* Icons and buttons */
.card:hover .ico, .step:hover::before { transform: rotate(-8deg) scale(1.08); }
.ico, .step::before { transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.btn .arr svg { transition: transform .25s; }
.btn:hover .arr svg, .row-link:hover .go svg, .card-link:hover .arr svg { transform: translateX(3px); }
.wa-float { animation: pop .6s 1.5s both, ring 6s 3s ease-in-out infinite; }
@keyframes ring { 0%, 90%, 100% { box-shadow: 0 10px 25px rgba(0,0,0,.25), 0 0 0 0 rgba(37,211,102,.5); } 95% { box-shadow: 0 10px 25px rgba(0,0,0,.25), 0 0 0 14px rgba(37,211,102,0); } }

/* Moving band of the processes we turn into systems */
.marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; width: max-content; animation: scroll 38s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 40px; padding-right: 40px; font-weight: 700; font-size: 1.05rem; white-space: nowrap; }
.marquee span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Spreadsheet -> system morph visual (home "why" section) */
.morph { position: relative; height: 230px; margin-bottom: 18px; }
.morph .sheet, .morph .app { position: absolute; inset: 0; border-radius: var(--radius-sm); padding: 16px; animation: swap 8s ease-in-out infinite; }
.morph .sheet { background: #f4f4f1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; align-content: start; }
.morph .sheet i { height: 22px; background: #fff; border: 1px solid #e2e2dc; }
.morph .sheet i:nth-child(3n) { background: #ffe9e9; }
.morph .app { background: #fff; box-shadow: var(--shadow); animation-name: swap2; }
@keyframes swap { 0%, 40% { opacity: 1; transform: none; } 50%, 90% { opacity: 0; transform: scale(.92) rotate(-2deg); } 100% { opacity: 1; transform: none; } }
@keyframes swap2 { 0%, 40% { opacity: 0; transform: scale(1.05); } 50%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(1.05); } }
.morph-label { display: flex; justify-content: space-between; font-size: .8rem; font-weight: 700; color: var(--ink-2); }
.morph-label b { animation: swapTxt 8s ease-in-out infinite; }
.morph-label b + b { animation-name: swapTxt2; color: var(--green-dark); }
@keyframes swapTxt { 0%, 40%, 100% { opacity: 1; } 50%, 90% { opacity: .3; } }
@keyframes swapTxt2 { 0%, 40%, 100% { opacity: .3; } 50%, 90% { opacity: 1; } }

/* ---------- Glamour layer ---------- */
/* Headline words blur-rise in sequence (JS adds .words) */
@keyframes blurRise { from { opacity: 0; filter: blur(14px); transform: translateY(.45em) scale(.96); } }
.hero .wrap h1.words { animation: none; }
.hero h1.words .w { display: inline-block; animation: blurRise 1s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(var(--i) * 70ms + .05s); }

/* Reveals come into focus, not just up */
.reveal { filter: blur(8px); transition-property: opacity, transform, filter; }
.reveal.in { filter: none; }

/* Scroll progress + frosted header */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; background: linear-gradient(90deg, var(--green), var(--green-soft)); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.nav { transition: background-color .35s, box-shadow .35s; }
.site-header.scrolled .nav { background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6); box-shadow: 0 12px 34px rgba(11, 26, 18, .12), inset 0 0 0 1px rgba(255, 255, 255, .6); }

/* Buttons: magnetic pull (JS sets translate) + light sweep on hover */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: transform .15s, box-shadow .15s, translate .35s cubic-bezier(.2, .7, .2, 1); }
.btn:not(.btn-ghost)::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); }
.btn:not(.btn-ghost):hover::before { transition: transform .8s cubic-bezier(.2, .7, .2, 1); transform: translateX(120%); }
.btn-dark::before { background: linear-gradient(110deg, transparent 30%, rgba(95, 211, 154, .4) 50%, transparent 70%) !important; }
.btn-green:hover, .btn-dark:hover { box-shadow: 0 12px 30px rgba(0, 168, 90, .35); }

/* Card spotlight follows the cursor (JS sets --mx/--my) */
.card, .step { position: relative; transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s, border-color .3s; }
.card::after, .step::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 168, 90, .16), transparent 45%); }
.card:hover::after, .step:hover::after { opacity: 1; }
.card-line:hover { border-color: var(--mint-2); }
.step:hover, .card:not(.card-link):hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(11, 26, 18, .12); }
.card-link:hover { box-shadow: 0 22px 44px rgba(11, 26, 18, .14); }

/* Hero dashboard: 3D tilt + recurring light sweep; floats drift at different depths */
.mock { position: relative; transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.mock::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .55) 50%, transparent 62%); transform: translateX(-130%); animation: sheen 7s 1.6s cubic-bezier(.4, 0, .2, 1) infinite; }
@keyframes sheen { 0% { transform: translateX(-130%); } 22%, 100% { transform: translateX(130%); } }
.hero .float { transition: translate .6s cubic-bezier(.2, .7, .2, 1); }
.hero .float.tl { translate: calc(var(--fx, 0px) * 1.5) calc(var(--fy, 0px) * 1.5); }
.hero .float.br { translate: calc(var(--fx, 0px) * -1.1) calc(var(--fy, 0px) * -1.1); }

@media (prefers-reduced-motion: reduce) {
  .reveal { filter: none; }
  .mock::after, .btn::before { display: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .morph .app { opacity: 1; }
}
