
@layer site {
  :root {
    --site-dur-line: 900ms;
    --site-dur-rise: 700ms;
    --site-dur-panel: 1100ms;
    --site-ease-reveal: cubic-bezier(0.16, 1, 0.3, 1);
    --site-tilt: 14deg;
    --site-rise-far: 3rem;
    --site-rise-near: 1rem;
  }

  html[data-motion="reduce"] {
    --site-dur-line: 0ms;
    --site-dur-rise: 0ms;
    --site-dur-panel: 0ms;
    --site-tilt: 0deg;
    --site-rise-far: 0rem;
    --site-rise-near: 0rem;
  }

  @keyframes site-line-in {
    from { translate: 0 100%; clip-path: inset(0 0 100% 0); }
    to { translate: 0 0; clip-path: inset(-0.3em -0.2em -0.3em -0.2em); }
  }

  @keyframes site-fade-up {
    from { opacity: 0; translate: 0 var(--site-rise-near); }
    to { opacity: 1; translate: 0 0; }
  }

  @keyframes site-panel-in {
    from { opacity: 0.6; transform: perspective(1600px) translateY(var(--site-rise-far)) rotateX(var(--site-tilt)) scale(0.94); }
    to { opacity: 1; transform: none; }
  }

  @keyframes site-drop-in {
    from { opacity: 0.6; transform: translateY(calc(var(--site-rise-near) * -1)) scale(0.92); }
    to { opacity: 1; transform: none; }
  }

  @keyframes site-light-in {
    from { opacity: 0; }
  }

  @keyframes site-hero-exit {
    to { opacity: 0.25; transform: translateY(-6vh) scale(0.97); }
  }

  @keyframes site-panel-drift {
    to { transform: translateY(-5rem); }
  }

  @media (prefers-reduced-motion: no-preference) {
    
    html:not([data-motion="reduce"]) .hero-title > .l1,
    html:not([data-motion="reduce"]) .hero-title > .l2 {
      animation: site-line-in var(--site-dur-line) var(--site-ease-reveal) backwards;
    }

    html:not([data-motion="reduce"]) .hero-title > .l1 { animation-delay: 80ms; }
    html:not([data-motion="reduce"]) .hero-title > .l2 { animation-delay: 200ms; }

    html:not([data-motion="reduce"]) .hero-copy > .lead {
      animation: site-fade-up var(--site-dur-rise) var(--site-ease-reveal) 420ms backwards;
    }

    html:not([data-motion="reduce"]) .hero-copy > .hero-ctas {
      animation: site-fade-up var(--site-dur-rise) var(--site-ease-reveal) 520ms backwards;
    }

    html:not([data-motion="reduce"]) .hero-drop {
      animation: site-flame-in 1500ms var(--site-ease-reveal) 120ms backwards;
    }

    html:not([data-motion="reduce"]) .hero-band {
      transform-box: fill-box;
      animation: site-band-in 1400ms var(--site-ease-reveal) backwards;
    }

    html:not([data-motion="reduce"]) .hero-band[data-band="2"] { animation-delay: 160ms; }
    html:not([data-motion="reduce"]) .hero-band[data-band="1"] { animation-delay: 320ms; }

    html:not([data-motion="reduce"]) .built-row {
      animation: site-fade-up var(--site-dur-rise) var(--site-ease-reveal) 760ms backwards;
    }

    html:not([data-motion="reduce"]) .built-logos > li {
      animation: site-fade-up var(--site-dur-rise) var(--site-ease-reveal) backwards;
    }

    html:not([data-motion="reduce"]) .built-logos > li:nth-child(1) { animation-delay: 840ms; }
    html:not([data-motion="reduce"]) .built-logos > li:nth-child(2) { animation-delay: 900ms; }
    html:not([data-motion="reduce"]) .built-logos > li:nth-child(3) { animation-delay: 960ms; }
    html:not([data-motion="reduce"]) .built-logos > li:nth-child(4) { animation-delay: 1020ms; }

    html:not([data-motion="reduce"]) .hero :is([data-enter], [data-enter-rise]) { animation-name: none; }
    html:not([data-motion="reduce"]) .hero .hero-copy > .lead,
    html:not([data-motion="reduce"]) .hero .hero-copy > .hero-ctas { animation-name: site-fade-up; }
    html:not([data-motion="reduce"]) .hero .built-row { animation-name: site-fade-up; }
  }

  @keyframes site-flame-in {
    from { opacity: 0; transform: translate(6vw, 22vh) rotate(-24deg) scale(0.7); filter: blur(20px); }
  }

  @keyframes site-sway {
    from { rotate: -2.5deg; translate: 0 0; }
    to { rotate: 2deg; translate: 0 -1.5%; }
  }

  @keyframes site-flicker {
    0%, 100% { scale: 1 1; }
    18% { scale: 0.985 1.035; }
    34% { scale: 1.01 0.99; }
    52% { scale: 0.98 1.05; }
    70% { scale: 1.005 1.01; }
  }

  @keyframes site-glow {
    from { opacity: 0.55; }
    to { opacity: 1; }
  }

  @keyframes site-spark {
    0% { opacity: 0; translate: 0 0; scale: 1; }
    12% { opacity: 1; }
    100% { opacity: 0; translate: var(--sx, 1rem) -24vh; scale: 0.3; }
  }

  @keyframes site-band-in {
    from { opacity: 0; transform: translate(-40%, 30%); }
  }

  .hero-float {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }

  .float-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    min-height: var(--size-control-md);
    padding-inline: var(--space-1-5) var(--space-4);
    border: var(--border-width) solid var(--line-card-outlined);
    border-radius: var(--radius-pill);
    background-color: var(--surface-card-outlined);
    box-shadow: var(--finish-panel-depth);
    color: var(--text);
    font-size: var(--type-sm);
    line-height: var(--leading-sm);
    font-weight: var(--weight-semibold);
    white-space: nowrap;
    rotate: var(--fr, 0deg);
  }

  .float-chip > img,
  .float-stock,
  .float-mark {
    flex: none;
    width: var(--size-avatar-sm);
    height: var(--size-avatar-sm);
    border-radius: var(--radius-full);
  }

  .float-stock {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--surface-2);
    color: var(--text);
    font-size: var(--type-xs);
    font-weight: var(--weight-semibold);
  }

  .float-mark {
    padding: var(--space-1);
    background-color: color-mix(in srgb, var(--accent) 16%, var(--surface-2));
    fill: var(--accent);
  }

  .float-note {
    color: var(--text-muted);
    font-weight: var(--weight-medium);
  }

  .float-up {
    color: var(--positive);
    font-variant-numeric: tabular-nums;
    font-weight: var(--weight-medium);
  }

  .hero-float[data-depth="far"] { z-index: 0; }
  .hero-float[data-depth="near"] { z-index: 2; }

  .float-chip[data-float^="far"] { opacity: 0.5; filter: blur(2px); scale: 0.86; }

  .float-chip[data-float="far-1"] { inset-block-start: 12%; inset-inline-end: 30%; --fx: 50vw; --fy: -70vh; --fr: 4deg; }
  .float-chip[data-float="far-2"] { inset-block-start: 38%; inset-inline-start: 22%; --fx: -40vw; --fy: -40vh; --fr: -3deg; }
  .float-chip[data-float="far-3"] { inset-block-start: 6%; inset-inline-end: 4%; --fx: 60vw; --fy: -60vh; --fr: 5deg; }
  .float-chip[data-float="far-4"] { inset-block-start: 52%; inset-inline-end: 6%; --fx: 70vw; --fy: 20vh; --fr: -5deg; }
  .float-chip[data-float="near-1"] { inset-block-start: 26%; inset-inline-start: 2%; --fx: -70vw; --fy: -50vh; --fr: -4deg; }
  .float-chip[data-float="near-2"] { inset-block-start: 60%; inset-inline-start: 8%; --fx: -60vw; --fy: 70vh; --fr: 3deg; }
  .float-chip[data-float="near-3"] { inset-block-start: 82%; inset-inline-end: 24%; --fx: 40vw; --fy: 80vh; --fr: -2deg; }
  .float-chip[data-float="near-4"] { inset-block-start: 10%; inset-inline-start: 30%; --fx: -20vw; --fy: -80vh; --fr: 3deg; }
  .float-chip[data-float="near-5"] { inset-block-start: 40%; inset-inline-end: 1%; --fx: 80vw; --fy: -10vh; --fr: 4deg; }
  .float-chip[data-float="near-6"] { inset-block-start: 70%; inset-inline-end: 2%; --fx: 80vw; --fy: 50vh; --fr: -4deg; }
  .float-chip[data-float="near-7"] { inset-block-start: 86%; inset-inline-start: 22%; --fx: -50vw; --fy: 90vh; --fr: 2deg; }
  .float-chip[data-float="near-8"] { inset-block-start: 22%; inset-inline-end: 12%; --fx: 70vw; --fy: -60vh; --fr: -3deg; }

  @media (max-width: 63.99rem) {
    .hero-float { display: none; }
  }

  @keyframes site-fly-in {
    from { opacity: 0; transform: translate(var(--fx, 0), var(--fy, 0)) scale(3.2) rotate(calc(var(--fr, 0deg) * -8)); filter: blur(18px); }
    60% { opacity: 1; filter: blur(0); }
  }

  @keyframes site-float {
    0% { translate: 0 0; rotate: var(--fr, 0deg); }
    50% { translate: calc(var(--space-2) * -1) calc(var(--space-4) * -1); rotate: calc(var(--fr, 0deg) * -0.6); }
    100% { translate: var(--space-2) calc(var(--space-2) * -1); rotate: calc(var(--fr, 0deg) * 1.4); }
  }

  @keyframes site-chip-rise-far {
    to { transform: translateY(-12vh); }
  }

  @keyframes site-chip-rise-near {
    to { transform: translateY(-30vh); }
  }

  @keyframes site-flame-out {
    to { transform: translateY(14vh) scale(1.12) rotate(-6deg); opacity: 0.4; }
  }

  @media (prefers-reduced-motion: no-preference) {
    html:not([data-motion="reduce"]) .float-chip {
      animation:
        site-fly-in 1300ms var(--site-ease-reveal) backwards,
        site-float 6s var(--ease-in-out) 1800ms infinite alternate;
    }

    html:not([data-motion="reduce"]) .float-chip[data-float="near-1"] { animation-delay: 420ms, 1800ms; }
    html:not([data-motion="reduce"]) .float-chip[data-float="near-4"] { animation-delay: 480ms, 2300ms; }
    html:not([data-motion="reduce"]) .float-chip[data-float="far-1"] { animation-delay: 540ms, 2400ms; }
    html:not([data-motion="reduce"]) .float-chip[data-float="near-8"] { animation-delay: 600ms, 2000ms; }
    html:not([data-motion="reduce"]) .float-chip[data-float="far-2"] { animation-delay: 660ms, 2700ms; }
    html:not([data-motion="reduce"]) .float-chip[data-float="near-2"] { animation-delay: 720ms, 2100ms; }
    html:not([data-motion="reduce"]) .float-chip[data-float="near-5"] { animation-delay: 780ms, 2500ms; }
    html:not([data-motion="reduce"]) .float-chip[data-float="far-3"] { animation-delay: 840ms, 2900ms; }
    html:not([data-motion="reduce"]) .float-chip[data-float="near-6"] { animation-delay: 900ms, 2200ms; }
    html:not([data-motion="reduce"]) .float-chip[data-float="far-4"] { animation-delay: 960ms, 3100ms; }
    html:not([data-motion="reduce"]) .float-chip[data-float="near-3"] { animation-delay: 1020ms, 2600ms; }
    html:not([data-motion="reduce"]) .float-chip[data-float="near-7"] { animation-delay: 1080ms, 2800ms; }

    html:not([data-motion="reduce"]) .hero-flame {
      transform-origin: 50% 92%;
      animation:
        site-sway 7s var(--ease-in-out) 1700ms infinite alternate;
    }

    html:not([data-motion="reduce"]) .hero-glow { animation: site-glow 3.2s var(--ease-in-out) 1500ms infinite alternate backwards; }
    html:not([data-motion="reduce"]) .hero-spark { animation: site-spark 3.4s var(--ease-out) infinite backwards; }
    html:not([data-motion="reduce"]) .hero-spark:nth-child(1) { animation-delay: 1500ms; animation-duration: 3.4s; }
    html:not([data-motion="reduce"]) .hero-spark:nth-child(2) { animation-delay: 1800ms; animation-duration: 4.1s; }
    html:not([data-motion="reduce"]) .hero-spark:nth-child(3) { animation-delay: 2300ms; animation-duration: 3.0s; }
    html:not([data-motion="reduce"]) .hero-spark:nth-child(4) { animation-delay: 2800ms; animation-duration: 4.6s; }
    html:not([data-motion="reduce"]) .hero-spark:nth-child(5) { animation-delay: 3200ms; animation-duration: 3.7s; }
    html:not([data-motion="reduce"]) .hero-spark:nth-child(6) { animation-delay: 3700ms; animation-duration: 4.3s; }
    html:not([data-motion="reduce"]) .hero-spark:nth-child(7) { animation-delay: 4100ms; animation-duration: 3.2s; }
    html:not([data-motion="reduce"]) .hero-spark:nth-child(8) { animation-delay: 4600ms; animation-duration: 4.8s; }
    html:not([data-motion="reduce"]) .hero-spark:nth-child(9) { animation-delay: 5000ms; animation-duration: 3.9s; }
  }

  @supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
      
      html:not([data-motion="reduce"]) .hero-grid {
        animation: site-hero-exit linear both;
        animation-timeline: view();
        animation-range: exit 0% exit 100%;
      }

      html:not([data-motion="reduce"]) .hero-art {
        animation: site-flame-out linear both;
        animation-timeline: view();
        animation-range: exit 0% exit 100%;
      }

      html:not([data-motion="reduce"]) .hero-float[data-depth="far"] {
        animation: site-chip-rise-far linear both;
        animation-timeline: view();
        animation-range: exit 0% exit 100%;
      }

      html:not([data-motion="reduce"]) .hero-float[data-depth="near"] {
        animation: site-chip-rise-near linear both;
        animation-timeline: view();
        animation-range: exit 0% exit 100%;
      }

      html:not([data-motion="reduce"]) :is(.section-title, .start-title) > :is(.l1, .l2) {
        animation: site-line-in linear both;
        animation-timeline: view();
        animation-timing-function: var(--site-ease-reveal);
      }

      html:not([data-motion="reduce"]) :is(.section-title, .start-title) > .l1 { animation-range: entry 10% entry 80%; }
      html:not([data-motion="reduce"]) :is(.section-title, .start-title) > .l2 { animation-range: entry 25% entry 95%; }

      html:not([data-motion="reduce"]) .section-head > :is(.lead, .chip-row, .body-copy, ol, ul, p),
      html:not([data-motion="reduce"]) .start-inner > :is(.lead, .btn, .start-meter, .start-note) {
        animation: site-fade-up linear both;
        animation-timeline: view();
        animation-range: entry 20% cover 30%;
        animation-timing-function: var(--site-ease-reveal);
      }

      html:not([data-motion="reduce"]) .section .panel-figure {
        animation: site-panel-in linear both;
        animation-timeline: view();
        animation-range: entry 0% cover 40%;
        animation-timing-function: var(--site-ease-reveal);
      }

      html:not([data-motion="reduce"]) :where(body[data-page="home"]) :is(.wall-grid, .faq-list, .hub-cards) > *,
      html:not([data-motion="reduce"]) :where(body[data-page="home"]) [data-stagger] > * {
        animation: site-fade-up linear both;
        animation-timeline: view();
        animation-timing-function: var(--site-ease-reveal);
        animation-range: entry 10% cover 30%;
      }

      html:not([data-motion="reduce"]) :is(.wall-grid, .faq-list, .hub-cards, [data-stagger]) > :nth-child(2) { animation-range: entry 15% cover 33%; }
      html:not([data-motion="reduce"]) :is(.wall-grid, .faq-list, .hub-cards, [data-stagger]) > :nth-child(3) { animation-range: entry 20% cover 36%; }
      html:not([data-motion="reduce"]) :is(.wall-grid, .faq-list, .hub-cards, [data-stagger]) > :nth-child(4) { animation-range: entry 25% cover 39%; }
      html:not([data-motion="reduce"]) :is(.wall-grid, .faq-list, .hub-cards, [data-stagger]) > :nth-child(5) { animation-range: entry 30% cover 42%; }
      html:not([data-motion="reduce"]) :is(.wall-grid, .faq-list, .hub-cards, [data-stagger]) > :nth-child(6) { animation-range: entry 35% cover 45%; }
      html:not([data-motion="reduce"]) :is(.wall-grid, .faq-list, .hub-cards, [data-stagger]) > :nth-child(7) { animation-range: entry 40% cover 48%; }
      html:not([data-motion="reduce"]) :is(.wall-grid, .faq-list, .hub-cards, [data-stagger]) > :nth-child(n + 8) { animation-range: entry 45% cover 50%; }
    }
  }

  [data-pending] {
    opacity: 0;
    translate: 0 var(--site-rise-near);
  }

  .panel-figure[data-pending] {
    opacity: 0.6;
    transform: perspective(1600px) translateY(var(--site-rise-far)) rotateX(var(--site-tilt)) scale(0.94);
  }

  [data-reveal] {
    transition:
      opacity var(--site-dur-rise) var(--site-ease-reveal),
      translate var(--site-dur-rise) var(--site-ease-reveal),
      transform var(--site-dur-panel) var(--site-ease-reveal);
  }

  [data-ignite][data-armed] .ember-cell:is([data-cell="lit"], [data-cell="lead"]) {
    background-color: var(--line-strong);
    box-shadow: none;
  }

  [data-ignite][data-armed] .soc-strip-cell { background-color: var(--line-strong); }

  [data-ignite] :is(.ember-cell, .soc-strip-cell) {
    transition: background-color var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
  }

  [data-wipe="armed"] { clip-path: inset(0 100% 0 0); }

  .hub-item:nth-child(n + 5) .hub-wire[data-wipe="armed"] { clip-path: inset(0 0 0 100%); }

  [data-wipe] {
    transition: clip-path var(--duration-draw-chart) var(--ease-emphasized);
  }

  .hub-wire[data-wipe] { transition-duration: var(--duration-slow); }
  .hub-item:nth-child(4n + 1) .hub-wire[data-wipe] { transition-delay: 120ms; }
  .hub-item:nth-child(4n + 2) .hub-wire[data-wipe] { transition-delay: 200ms; }
  .hub-item:nth-child(4n + 3) .hub-wire[data-wipe] { transition-delay: 280ms; }
  .hub-item:nth-child(4n + 4) .hub-wire[data-wipe] { transition-delay: 360ms; }

  [data-typing]::after {
    content: "";
    display: inline-block;
    width: var(--border-width);
    height: 1em;
    margin-inline-start: var(--space-0-5);
    background-color: var(--accent);
    vertical-align: -0.1em;
  }

  @keyframes site-crawl {
    to { transform: translateX(-100%); }
  }

  @keyframes site-breathe {
    from { opacity: 0.5; scale: 1; }
    to { opacity: 0; scale: 2.6; }
  }

  [data-breathe] .live-dot { position: relative; }

  [data-breathe] .live-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-color: inherit;
    opacity: 0;
  }

  @media (prefers-reduced-motion: no-preference) {
    html:not([data-motion="reduce"]) [data-crawl] > * {
      animation: site-crawl var(--duration-ambient-ticker) linear infinite;
    }

    html:not([data-motion="reduce"]) [data-breathe] .live-dot::after {
      animation: site-breathe var(--duration-ambient-pulse) var(--ease-out) infinite;
    }
  }

  .tick-band:hover [data-crawl] > *,
  [data-paused] :is([data-crawl] > *, .float-chip, .hero-flame, .hero-glow, .hero-spark, .hf-aura),
  [data-paused] .live-dot::after {
    animation-play-state: paused !important;
  }

  [data-flash="up"] { color: var(--positive); }
  [data-flash="down"] { color: var(--negative); }

  [data-live-price] { transition: color var(--duration-tick) var(--ease-out); }
  [data-live-price][data-flash] { transition: none; }

  @media (prefers-reduced-motion: reduce) {
    [data-pending],
    .panel-figure[data-pending] { opacity: 1; translate: none; transform: none; }
    [data-reveal],
    [data-ignite] :is(.ember-cell, .soc-strip-cell),
    [data-wipe],
    [data-live-price] { transition: none; }
  }
}

@layer site {
  @keyframes hf-aura-in { from { opacity: 0; } }
  @keyframes hf-aura-breathe {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.75; }
  }
  @media (prefers-reduced-motion: no-preference) {
    html:not([data-motion="reduce"]) .hf-aura { filter: url(#hf-burn) drop-shadow(0 0 0.35px var(--accent)); animation: hf-aura-breathe 2.2s var(--ease-in-out) infinite, hf-aura-in 900ms var(--ease-out) 1300ms backwards; }
  }
}
