  header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 16px 0;
    background: rgba(8,8,8,.45); border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); }
  header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  nav { display: flex; align-items: center; gap: 32px; }
  nav a:not(.btn) { color: var(--text); text-decoration: none; font-size: 15px; }
  nav a:not(.btn):hover { color: var(--green-soft); }

  .hero { text-align: center; padding: 180px 0 128px; }
  .hero .label { margin-bottom: 28px; }
  .hero h1 { max-width: 960px; margin: 0 auto 32px; }
  .hero .lead { margin: 0 auto 44px; }

  .head { max-width: 720px; margin-bottom: 56px; }
  .head .label { margin-bottom: 20px; display: block; }

  .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
  .cell { background: var(--bg); padding: 36px 32px; }
  .cell h3 { margin: 14px 0 12px; }
  .cell p { color: var(--text-dim); font-size: 16px; }
  .num { font-family: var(--font-label); font-size: 13px; color: var(--green); letter-spacing: .1em; }

  .proof { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
  .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .stat-wide { grid-column: 1 / -1; }
  .stat b { display: block; font-weight: 300; font-size: 44px; line-height: 1; letter-spacing: -.02em; }
  .stat span { display: block; margin-top: 10px; font-size: 14px; color: var(--text-dim); }
  blockquote { border-left: 1px solid var(--green); padding-left: 28px; font-size: 22px; line-height: 1.45; color: var(--text); }
  blockquote footer { margin-top: 20px; font-size: 14px; color: var(--text-dim); }
  .tagrow { margin-bottom: 28px; }

  details { border-top: 1px solid var(--line); padding: 24px 0; }
  details:last-of-type { border-bottom: 1px solid var(--line); }
  summary { cursor: pointer; font-size: 20px; font-weight: 400; list-style: none; display: flex; justify-content: space-between; gap: 24px; }
  summary::-webkit-details-marker { display: none; }
  summary::after { content: "+"; color: var(--green); font-family: var(--font-label); }
  details[open] summary::after { content: "–"; }
  details p { margin-top: 16px; color: var(--text-dim); max-width: 760px; }

  /* "What else we do" cards */
  .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .card { display: flex; flex-direction: column; gap: 16px; padding: 36px 32px; border: 1px solid var(--line); border-radius: 8px;
    background: linear-gradient(135deg, #0a0c0c 0%, #101515 100%); transition: border-color .3s ease, transform .3s ease; }
  .card:hover { border-color: rgba(21,198,134,.45); transform: translateY(-4px); }
  .card svg { width: 44px; height: 44px; color: var(--green); }
  .card h3 { font-size: 24px; font-weight: 300; margin-top: 8px; }
  .card p { color: var(--text-dim); font-size: 16px; }
  .card .sample { align-self: flex-start; margin-top: auto; }

  .final { text-align: center; }
  .final h2 { max-width: 800px; margin: 0 auto 28px; }
  .final .lead { margin: 0 auto 40px; }
  footer { border-top: 1px solid var(--line); padding: 32px 0; }
  footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }


  /* Scroll reveal (no-JS safe: only hidden when JS has flagged the page) */
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; transition-delay: var(--d, 0s); }
  .js .reveal.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

  /* Logo strip: black & white */
  .logos-wrap { margin-top: 96px; }
  .logos-wrap .label { display: block; margin-bottom: 36px; color: var(--text); }
  .logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 56px; }
  .logos img { height: 40px; width: auto; filter: grayscale(1) brightness(0) invert(1); opacity: .85; }
  .logos img.l-livo { height: 34px; }
  .logos img.l-beeyoo { height: 72px; }
  .logos img.l-shyboy { height: 64px; }
  .logos .ph { color: #fff; opacity: .85; font-size: 26px; line-height: 1; white-space: nowrap; }
  .ph.a { font-weight: 500; letter-spacing: -0.04em; }
  .ph.b { font-weight: 500; text-transform: uppercase; letter-spacing: .12em; font-size: 20px; }
  .ph.c { font-weight: 300; letter-spacing: .02em; font-style: italic; }
  .ph.d { font-family: var(--font-label); font-size: 20px; letter-spacing: .04em; }
  .ph.e { font-weight: 500; letter-spacing: -0.01em; }
  .logos-wrap .tagrow { margin: 32px 0 0; }


  /* Scroll-driven text sequence: the text column glides with the scroll, the current line is always centred */
  .seq-text { position: relative; padding: 0; }
  .seq-stage { padding: 96px 0; }
  .seq-line { font-weight: 300; font-size: clamp(24px, 3.4vw, 42px); line-height: 1.25; letter-spacing: -0.01em; max-width: 820px; margin: 0 auto 40px; padding: 0 var(--gutter); text-align: center; }
  .js .seq-text { height: calc((var(--n) - 1) * 55vh + 100vh); }
  .js .seq-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; padding: 0;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%);
            mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%); }
  .js .seq-track { position: absolute; left: 0; right: 0; top: 50%; will-change: transform; }
  .js .seq-line { margin: 0 auto 44px; will-change: opacity, filter; }
  .js .seq-line:last-child { margin-bottom: 0; }
  @media (prefers-reduced-motion: reduce) {
    .js .seq-text { height: auto; }
    .js .seq-stage { position: static; height: auto; overflow: visible; padding: 96px 0; -webkit-mask-image: none; mask-image: none; }
    .js .seq-track { position: static; transform: none !important; }
    .js .seq-line { opacity: 1 !important; filter: none !important; margin: 0 auto 40px; }
  }

  /* Three stacked step cards (cards slide over each other while scrolling) */
  .steps-head { text-align: center; margin-bottom: 72px; }
  .rule { display: flex; align-items: center; gap: 16px; max-width: 720px; margin: 0 auto 40px; }
  .rule::before, .rule::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(21,198,134,.55)); }
  .rule::after { background: linear-gradient(270deg, transparent, rgba(21,198,134,.55)); }
  .rule i { width: 9px; height: 9px; background: var(--green); transform: rotate(45deg); }
  .steps { padding-bottom: 8vh; }
  .step { position: sticky; top: calc(96px + var(--i) * 18px); display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 0; margin-bottom: 32px; }
  .step-num { font-style: italic; font-weight: 200; font-size: clamp(96px, 12vw, 160px); line-height: 1; text-align: right; padding-right: 40px; color: #1f6a49; user-select: none; }
  .step-card { display: grid; grid-template-columns: 200px 1fr; align-items: center; gap: 40px; padding: 48px 56px; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(135deg, #0a0c0c 0%, #101515 100%); box-shadow: 0 -20px 40px -10px rgba(0,0,0,.6); }
  .step-icon { width: 160px; height: 160px; color: var(--text); justify-self: center; }
  .step-card h3 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 300; margin-bottom: 18px; letter-spacing: -0.02em; }
  .step-card p { font-size: 20px; color: var(--text); max-width: 520px; }

  @media (max-width: 860px) {
    nav a:not(.btn) { display: none; }
    .grid3, .proof { grid-template-columns: 1fr; }
    .step { grid-template-columns: 1fr; top: calc(72px + var(--i) * 14px); }
    .step-num { text-align: left; padding: 0 0 8px 4px; font-size: 72px; }
    .step-card { grid-template-columns: 1fr; padding: 32px 28px; gap: 24px; }
    .step-icon { width: 96px; height: 96px; justify-self: start; }
    .step-card p { font-size: 17px; }

    .hero { padding: 128px 0 88px; }
    .cards { grid-template-columns: 1fr; }
  }

  /* Polish after local verification */
  #proof .stats { grid-template-columns: repeat(3, 1fr); gap: 32px 40px; }
  @media (max-width: 860px) {
    #proof .stats { grid-template-columns: 1fr; }
  }
  @media (max-width: 640px) {
    header .btn { white-space: nowrap; padding: 10px 14px; font-size: 12px; }
    header .logo img { height: 26px; }
  }


  /* "How" section: three cards, each with a short looping animation */
  .hw-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .hw-card { display: flex; flex-direction: column; min-width: 0; }
  .hw-card .num { margin-top: 24px; }
  .hw-card h3 { font-size: 24px; font-weight: 300; margin: 8px 0 12px; letter-spacing: -0.01em; }
  .hw-card p { color: var(--text-dim); font-size: 16px; }
  .hw-note { margin-top: 40px; text-align: center; font-family: var(--font-label); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); }

  .hw-stage { height: 330px; border: 1px solid var(--line); border-radius: 8px; background: #101212; position: relative; overflow: hidden; padding: 18px; }
  .hw-inner { height: 100%; transition: opacity .6s; }
  .hw-stage.fade .hw-inner { opacity: 0; }
  .hw-bar { height: 34px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.03); display: flex; align-items: center; gap: 10px; padding: 0 12px; margin-bottom: 16px; }
  .hw-bar .d { width: 7px; height: 7px; border-radius: 50%; background: rgba(237,236,228,.1); }
  .hw-bar .l { height: 6px; border-radius: 3px; background: rgba(237,236,228,.1); flex: 1; max-width: 120px; }
  .hw-bar .mono { margin-left: auto; font-family: var(--font-label); font-weight: 500; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); }
  .hw-stage .mono { font-family: var(--font-label); font-weight: 500; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); }

  /* animated pieces: hidden only when JS runs the loop; always readable without it */
  .js .hw-stage .a { opacity: 0; transform: translateY(8px); }
  .js .hw-stage.on .a { animation: hw-rise .6s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: var(--d); }
  @keyframes hw-rise { to { opacity: 1; transform: none; } }

  .hw-msgs { display: flex; flex-direction: column; gap: 10px; }
  .hw-m { max-width: 78%; padding: 10px 13px; border-radius: 8px; font-size: 13px; line-height: 1.4; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
  .hw-m.r { align-self: flex-end; background: rgba(255,255,255,.1); }
  .hw-m.l { align-self: flex-start; }
  .hw-pill { align-self: flex-end; margin-top: 6px; padding: 8px 14px; border-radius: 999px; font-size: 12.5px; color: #06140d; background: var(--green); font-weight: 400; }

  .hw-steps { display: flex; flex-direction: column; gap: 6px; }
  .hw-st { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255,255,255,.03); font-size: 13px; }
  .hw-st i { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--text-dim); flex: none; }
  .js .hw-stage.on .hw-st.a { animation: hw-rise .6s cubic-bezier(.2,.8,.2,1) forwards, hw-past .6s ease forwards; animation-delay: var(--d), var(--p); }
  .js .hw-stage.on .hw-st.a i { animation: hw-dot .4s ease forwards; animation-delay: var(--d); }
  @keyframes hw-past { to { opacity: .38; } }
  @keyframes hw-dot { to { background: var(--green); border-color: var(--green); } }

  .hw-sk { display: flex; flex-direction: column; gap: 12px; height: 92px; overflow: hidden; margin-bottom: 12px;
    -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%); mask-image: linear-gradient(180deg, #000 30%, transparent 100%); }
  .hw-sk > div { display: flex; align-items: center; gap: 12px; }
  .hw-sk .c { width: 26px; height: 26px; border-radius: 50%; background: rgba(237,236,228,.1); }
  .hw-sk .b1 { height: 7px; border-radius: 4px; background: rgba(237,236,228,.1); width: 110px; }
  .hw-sk .b2 { height: 7px; border-radius: 4px; background: rgba(237,236,228,.06); width: 46px; }
  .hw-sk .pl { margin-left: auto; width: 64px; height: 20px; border-radius: 999px; border: 1px solid var(--line); }
  .hw-lab { margin-bottom: 12px; }
  .hw-hu { display: flex; flex-direction: column; gap: 6px; }
  .hw-hu > div { display: flex; align-items: baseline; gap: 12px; padding: 8px 2px; border-bottom: 1px solid var(--line); }
  .hw-hu > div:last-child { border-bottom: 0; }
  .hw-hu b { font-weight: 400; font-size: 16px; color: var(--text); flex: none; min-width: 120px; }
  .hw-hu span { font-size: 12.5px; color: var(--text-dim); }

  @media (max-width: 960px) { .hw-row { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
  @media (prefers-reduced-motion: reduce) {
    .js .hw-stage .a { opacity: 1; transform: none; animation: none !important; }
    .hw-stage.fade .hw-inner { opacity: 1; }
  }
  .how .steps-head h2 { text-wrap: balance; }

  /* Before / after scenarios */
  .scn .head { margin-bottom: 72px; }
  .scn-block { margin-bottom: 72px; }
  .scn-block:last-of-type { margin-bottom: 0; }
  .scn-block h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 300; letter-spacing: -0.02em; margin: 8px 0 6px; }
  .scn-sub { color: var(--text-dim); font-size: 17px; margin-bottom: 28px; }
  .scn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .scn-col { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(135deg, #0a0c0c 0%, #101515 100%); }
  .scn-col.with { border-color: rgba(21,198,134,.4); }
  .scn-tag { font-family: var(--font-label); font-weight: 500; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 8px; }
  .scn-col.with .scn-tag { color: var(--green); }
  .scn-ev { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.45; }
  .scn-ev .t { flex: 0 0 84px; font-family: var(--font-label); font-weight: 500; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); padding-top: 4px; }
  .scn-col.without .scn-ev { color: var(--text-dim); }
  .scn-col.with .scn-ev .t { color: var(--green); }
  .scn-out { margin-top: auto; padding-top: 18px; font-size: 16px; color: var(--text-dim); }
  .scn-col.with .scn-out { color: var(--text); }

  /* line up the rows of the two columns where the browser supports subgrid */
  @supports (grid-template-rows: subgrid) {
    .scn-grid { grid-template-rows: repeat(5, auto); }
    .scn-col { display: grid; grid-row: span 5; grid-template-rows: subgrid; }
    .scn-out { margin-top: 0; }
  }

  @media (max-width: 860px) {
    .scn-grid { grid-template-columns: 1fr; grid-template-rows: none; }
    .scn-col { display: flex; grid-row: auto; }
    .scn-out { margin-top: 12px; }
    .scn-ev .t { flex-basis: 76px; }
  }
