/* ============================================================
   Offline navbar — self-contained reproduction
   All values transcribed from the live stylesheet. No external
   network references: fonts, logo and player are bundled locally.
   ============================================================ */

/* ---------- Fonts (bundled in assets/fonts) ---------- */
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Suisse Intl";
  src: url("assets/fonts/SuisseIntl-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens — matched to Flashi product UI ---------- */
:root {
  --gray-1:  #0a0a0a;   /* base / bar  (uf-dialog-bg) */
  --gray-2:  #121212;   /* card surface (uf-card) */
  --gray-3:  #141414;   /* dropdown panel surface */
  --gray-10: #9a9a9a;   /* muted text (uf-muted) */
  --gray-11: #b0b0b0;   /* nav labels */
  --gray-12: #f4f4f4;   /* titles (near-white) */
  --alpha-2:  #ffffff0a;
  --alpha-3:  #ffffff12;
  --alpha-6:  #ffffff2b;
  --alpha-10: #ffffff70;
  --alpha-11: #ffffffad;
  --alpha-12: #ffffff;
  --white: #ffffff;
  --icon: #d6d6d6;                      /* uf-icon */
  --card-hover: #1c1c1c;                /* uf-card-hover */
  --tile: #1a1a1a;                      /* uf-muted-btn */
  --border: rgba(255, 255, 255, 0.09);  /* uf-border */
  --border-strong: rgba(255, 255, 255, 0.2);
  --accent: #ffffff;                    /* uf-accent (white) */
  --accent-fg: #000000;                 /* uf-accent-fg */
  --ease: cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--alpha-12);
  background-color: var(--gray-1);
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav_wrapper {
  z-index: 9999;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
}

.nav_component {
  position: relative;
  width: 100%;
  padding: 1rem 2.5rem;
  background-color: rgba(10, 10, 10, 0.92);   /* Flashi base @ ~92% */
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.nav_container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Brand / logo ---------- */
.nav_brand {
  display: flex;
  flex: none;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
}
.nav_logo-mark {
  display: flex;
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--white);
  transition: transform 0.3s var(--ease);
}
.nav_logo-mark svg { width: 100%; height: 100%; display: block; overflow: visible; }
.nav_logo-mark .spark { transform-box: view-box; transform-origin: 12px 12px; }
.nav_logo-word {
  /* Brand wordmark = "Open Sauce One" — the same typeface the product widgets
     use for "Flashi" (.uf-flashi-word). The @font-face is already loaded via
     hero/_shared/widget.css, so this just adopts it; Inter stays as fallback. */
  font-family: "Open Sauce One", "Inter", Arial, sans-serif;
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.035em;
  color: var(--white);
}

/* ---------- Right cluster ---------- */
.nav_menu-main {
  display: flex;
  flex: 1;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
}
.nav_menu { display: flex; align-items: center; }
.nav_menu-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

/* ---------- Dropdown trigger ---------- */
.nav-dropdown {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}
.dropdown-toggle {
  display: flex;
  align-items: center;
  padding: 0;
  border-radius: 999px;
  color: var(--gray-11);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.45;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: color 0.45s var(--ease), background-color 0.45s var(--ease);
}
.nav-dropdown_label {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  color: var(--gray-11);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.45;
  white-space: nowrap;
  transition: color 0.45s var(--ease);
}
.nav-dropdown:hover .nav-dropdown_label,
.nav-dropdown.is-open .nav-dropdown_label { color: var(--alpha-12); }
/* Contact sits brighter than the other labels (desktop) */
.nav-dropdown_label.is-bright { color: var(--white); }

.nav-dropdown_arrow {            /* hidden on desktop, shown on mobile */
  display: none;
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s var(--ease);
}
.nav-dropdown_arrow svg { width: 100%; height: 100%; display: block; }

/* ---------- Dropdown panel (mega menu) ---------- */
.dropdown-list {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 42.375rem;
  padding-top: 0.625rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.dropdown-list.is-about { width: 20rem; }
.nav-dropdown:hover > .dropdown-list,
.nav-dropdown.is-open > .dropdown-list {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown_wrapper {
  display: flex;
  width: 100%;
  border-radius: 1rem;
  background-color: var(--gray-3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 0 0 1px var(--border),
    0 28px 80px -26px rgba(0, 0, 0, 0.85),
    0 8px 22px -14px rgba(0, 0, 0, 0.55);
}
.nav-dropdown_wrapper.is-about { max-width: 20rem; }

.nav-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem;
}

/* ---------- Dropdown row ---------- */
.nav-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: 0.75rem;
  color: var(--gray-12);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-row:hover { background-color: var(--alpha-2); color: var(--alpha-12); }
.nav-row.is-text { padding-left: 0.75rem; padding-right: 0.75rem; }

.nav-row_icon-wrapper {
  flex: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background-color: var(--tile);
  box-shadow: inset 0 0 0 1px var(--border);
  color: var(--icon);
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease), color 0.3s var(--ease);
}
.nav-row:hover .nav-row_icon-wrapper { background-color: var(--card-hover); color: var(--white); }

.icon-xsmall {
  display: flex;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 1.25rem;
  height: 1.25rem;
}
.icon-xsmall svg { width: 100%; height: 100%; display: block; }

.nav-row_title {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.49;
}
.nav-row_desc {
  color: var(--gray-10);
  font-size: 0.875rem;
  line-height: 1.49;
}

/* ---------- Company social row ---------- */
.nav-divider {
  height: 1px;
  margin: 0.5rem 0.75rem;
  background-color: var(--border);
}
.nav-social_label {
  padding: 0.25rem 0.75rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--gray-10);
}
.nav-social {
  display: flex;
  gap: 0.5rem;
  padding: 0 0.75rem 0.25rem;
}
.nav-social_btn {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.625rem;
  background-color: var(--tile);
  box-shadow: inset 0 0 0 1px var(--border);
  color: var(--icon);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.nav-social_btn:hover {
  background-color: var(--card-hover);
  color: var(--white);
  transform: translateY(-2px);
}
.nav-social_btn svg { width: 1.05rem; height: 1.05rem; display: block; }

/* ---------- Contact CTA ---------- */
.nav_menu-link {
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  color: var(--alpha-11);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.45;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav_menu-link:hover { background-color: var(--alpha-3); color: var(--alpha-12); }
.nav_menu-link.is-cta {
  background-color: var(--accent);
  color: var(--accent-fg);
  padding: 0.4375rem 0.9375rem;
  font-size: 0.875rem;
  font-weight: 600;
}
.nav_menu-link.is-cta:hover { background-color: #e6e6e6; color: var(--accent-fg); }

/* ---------- Hero "Connect with us" email capture (UI only) ---------- */
.cta-connect {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  width: 100%;
  max-width: 30rem;
  margin-top: 2.25rem;
  padding: 0.3125rem 0.3125rem 0.3125rem 1rem;
  background-color: var(--gray-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.cta-connect:focus-within {
  border-color: var(--border-strong);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.06);
}
.cta-connect_icon {
  flex: none;
  display: flex;
  width: 1.125rem;
  height: 1.125rem;
  color: var(--gray-10);
}
.cta-connect_icon svg { width: 100%; height: 100%; display: block; }
.cta-connect_input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--white);
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.4;
}
.cta-connect_input::placeholder { color: var(--gray-10); }
.cta-connect_btn {
  flex: none;
  padding: 0.5625rem 1.125rem;
  border: 0;
  border-radius: 999px;
  background-color: var(--accent);
  color: var(--accent-fg);
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), transform 0.1s var(--ease);
}
.cta-connect_btn:hover { background-color: #e6e6e6; }
.cta-connect_btn:active { transform: translateY(1px); }
.cta-connect_note {
  margin: 0.875rem 0 0;
  font-size: 0.8125rem;
  color: var(--gray-10);
}

/* ---- Email-capture success (replaces .cta-connect in place) ---- */
.cta-connect-success {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 30rem;
  margin-top: 2.25rem;
  padding: 0.875rem 1.25rem;
  background-color: var(--gray-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--gray-12);
  font-size: 0.9375rem;
}

/* ---- Honeypot spam trap: visually hidden, kept out of the a11y tree ---- */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ---- Inline form error (shared by contact + email forms) ---- */
.form-error {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  color: #ff8f8f;
}
@media (max-width: 540px) {
  .cta-connect {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    border-radius: 1rem;
    padding: 0.75rem;
  }
  .cta-connect_icon { display: none; }
  .cta-connect_input { width: 100%; padding: 0.375rem 0.5rem; }
  .cta-connect_btn { width: 100%; }
}

/* ---------- Hamburger ---------- */
.nav_button {
  display: none;                 /* desktop: hidden */
  flex: none;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  padding: 2px;
  cursor: pointer;
  background: transparent;
  border: 0;
}
.nav_button-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}
.menu_top-line,
.menu_bottom-line {
  width: 20px;
  height: 2px;
  background-color: var(--white);
  border-radius: 99px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.menu_top-line { margin-bottom: 3px; }
.menu_bottom-line { margin-top: 3px; }
/* open -> X */
.nav_component.nav-open .menu_top-line { transform: translateY(2.5px) rotate(45deg); }
.nav_component.nav-open .menu_bottom-line { transform: translateY(-2.5px) rotate(-45deg); }

/* ============================================================
   RESPONSIVE  (Webflow "medium" collapse: <= 991px)
   ============================================================ */
@media screen and (max-width: 991px) {
  .nav_component { padding-left: 1.25rem; padding-right: 1.25rem; }
  .nav_container { justify-content: space-between; }

  .nav_button { display: flex; }

  /* menu becomes a full-height overlay panel below the bar.
     Kept in place (left/right 0) and faded — never translated off
     screen, so it can't create horizontal overflow. */
  .nav_menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    height: calc(100vh - 4rem);
    padding: 1.875rem 1.5rem;
    background-color: var(--gray-1);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }
  .nav_component.nav-open .nav_menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav_menu-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    width: 100%;
  }

  .nav-dropdown { width: 100%; align-items: stretch; }

  .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.375rem 0.75rem;
    color: var(--alpha-12);
    font-size: 1.25rem;
    font-weight: 400;
  }
  .nav-dropdown_label {
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    color: var(--alpha-12);
    font-size: 1.25rem;
    font-weight: 400;
  }
  .nav-dropdown_arrow { display: flex; }
  .nav-dropdown.is-open .nav-dropdown_arrow { transform: rotate(180deg); }

  /* accordion: panel flows inline instead of floating. The collapse
     animates max-height to the panel's REAL height — script.js measures
     it into --dd-h at tap time. A fixed 30rem overshoot spent most of the
     transition above the true content height, so opening finished in
     ~90ms and closing stalled ~60ms then crunched (instant-looking).
     All spacing lives INSIDE the clip so nothing snaps when the class
     flips. */
  .dropdown-list {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-height: 0;
    padding-top: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
  }
  .dropdown-list.is-about { width: 100%; }
  /* desktop hover must NOT open (or re-centre) the panel on mobile */
  .nav-dropdown:hover > .dropdown-list { max-height: 0; transform: none; }
  .nav-dropdown.is-open > .dropdown-list {
    max-height: var(--dd-h, 30rem);
    transform: none;
  }

  .nav-dropdown_wrapper {
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
  }
  .nav-dropdown_wrapper.is-about { max-width: 100%; }
  .nav-items { padding: 0.5rem 0.75rem 1rem; }   /* inside the clip — was the list/wrapper padding */

  .nav-row { width: 100%; padding-left: 0; padding-right: 0; }
  .nav-row:hover { background-color: transparent; }
  .nav-row.is-text { padding-left: 0; padding-right: 0; }
  .nav-row_icon-wrapper { border-radius: 999px; }
}

@media screen and (max-width: 767px) {
  .nav_menu { gap: 1.25rem; }
}

/* ============================================================
   Stats — a baseline system, not a card grid. Three figures stand
   on ONE continuous rule (type set on a line); each unit is a small
   muted satellite; a quiet label sits above. No boxes, no dividers,
   no numbering — the scale and the shared baseline carry it.
   ============================================================ */
.stats {
  background-color: var(--gray-1);
  padding: 6.05rem 2.5rem;       /* symmetric — equal air above and below */
}
.stats-statement {               /* the claim — the proof metrics below back it up */
  max-width: 64rem;              /* same container width as the stats-row it leads */
  margin: 0 auto 4.5rem;         /* clear air before the figures (echoes products-head) */
  font-family: "Suisse Intl", Georgia, sans-serif;
  font-size: clamp(2.5rem, 4.8vw, 3.75rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--gray-12);         /* one colour — same as every other title */
  text-wrap: balance;
}
.stats-statement_line { display: block; white-space: nowrap; }   /* each line is deliberate — never rewraps */
.stats-statement_gradient {                 /* resend.com "this weekend" — magenta → sky → mint clipped to the glyphs */
  background-image: linear-gradient(to bottom right, #e131f3 0%, #59b2ea 50%, #a7fc8f 100%);
  background-image: linear-gradient(to bottom right in oklab, #e131f3 0%, #59b2ea 50%, #a7fc8f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.stats-row {
  max-width: 64rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3.5vw, 3rem);   /* eases as the three-up narrows toward the 640px stack */
  align-items: end;
  border-bottom: 1px solid var(--border);   /* the line the figures stand on */
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;           /* centre each stat in its column → evenly distributed */
  text-align: center;
  gap: 0.5rem;                   /* label hugs its figure — one tight unit */
  padding-bottom: 1.5rem;        /* …then the unit sits clearly above the rule */
}
.stat-label {
  font-size: 0.9375rem;
  color: var(--gray-10);
}
.stat-figure {
  font-family: "Suisse Intl", Georgia, sans-serif;
  font-size: clamp(3rem, 5.5vw, 4.5rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.035em;
  color: var(--gray-12);
  font-variant-numeric: tabular-nums;
}
.stat-unit {                       /* a small, muted satellite of the figure */
  margin-left: 0.04em;
  font-size: 0.5em;
  color: var(--gray-10);
}
@media (max-width: 720px) {
  .stats { padding-left: 1.5rem; padding-right: 1.5rem; }   /* match the sections below */
}
@media (max-width: 640px) {
  .stats { padding: 6.05rem 1.5rem 4.5rem; }
  .stats-statement {
    margin-bottom: 3rem;         /* tighter gap on stacked layout */
    /* keep "Start moving money." (the wider line, measured 8.734em) on ONE
       line: scale the type to the space inside the 1.5rem side paddings,
       with a little slack in the divisor for rendering variance */
    font-size: min(2.5rem, calc((100vw - 3rem) / 8.95));
  }
  .stats-row { grid-template-columns: 1fr; gap: 0; border-bottom: 0; }
  .stat { padding: 1.5rem 0; border-top: 1px solid var(--border); }
  .stat:last-child { border-bottom: 1px solid var(--border); }
}

/* ============================================================
   Products — the FLOW RAIL. The four products hang off one
   continuous vertical rail (Flashi's signature: value on rails),
   zig-zagging side to side, each marked by a lit node. No cards —
   open on the page, so it reads as Flashi, not a generic feature grid.
   ============================================================ */
.products {
  background-color: var(--gray-1);
  padding: 0 2.5rem 7rem;
}
.products-inner {
  max-width: 64rem;
  margin: 0 auto;
}
.products-head {
  margin-bottom: 5rem;
}
.products-title {
  margin: 0;
  max-width: 18ch;
  font-family: "Suisse Intl", Georgia, sans-serif;
  font-size: clamp(2.25rem, 4.6vw, 3.5rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--gray-12);
  text-wrap: balance;          /* break cleanly at the two sentences */
}
.products-sub {
  margin: 1.5rem 0 0;
  max-width: 40rem;
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  line-height: 1.5;
  color: var(--gray-10);
}

/* ---- the rail ---- */
.flow { position: relative; }
.flow::before {                 /* the continuous central rail */
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: var(--border-strong);
  transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(transparent, #000 6%, #000 94%, transparent);
}
.flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 5.5rem;
  align-items: center;
  padding: 2.25rem 0;
}
.flow-step:nth-child(even) .flow-text { order: 2; }    /* zig-zag the text side */

/* the rail stays as one clean continuous line — no node markers */
.flow-node { display: none; }

/* ---- the text side ---- */
.flow-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.125rem;
}
.flow-name {
  margin: 0;
  font-family: "Suisse Intl", Georgia, sans-serif;
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--gray-12);
}
.flow-desc {
  margin: 0;
  max-width: 27rem;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--gray-10);
}
.flow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
}
.flow-link svg { transition: transform 0.2s var(--ease); }
.flow-link:hover svg { transform: translateX(3px); }

/* ---- the reserved graphic slot ---- */
.flow-media {                /* a SHORT slot — drives a compact row; the widget overflows it */
  position: relative;
  width: 100%;
  height: 21rem;
}
.flow-frame {                /* base: fills its container (used by the orchestration feature) */
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  color-scheme: dark;
  pointer-events: none;      /* purely decorative — don't trap clicks/scroll */
}
video.flow-frame {           /* pre-rendered scene loop: object-fit reproduces the Stage's
                                "contain" fit; the opaque base paints the whole slot the same
                                #0a0a0a the scene page's body painted when it was an iframe */
  object-fit: contain;
  background: var(--gray-1);
}
.flow-media .flow-frame {    /* zig-zag widget: taller than its slot, so it "flies over" the gap */
  inset: auto 0;             /* span the column width; release top/bottom */
  top: 50%;
  height: 33rem;
  transform: translateY(-50%);
}
/* deposit is the tallest widget — lift it so its overflow clears the Withdraw heading below */
.flow-step:first-child .flow-media .flow-frame {
  transform: translateY(calc(-50% - 2.5rem));
}

/* ---- Orchestration: a full-width finale — breaks the zig-zag, the routing
   pipeline plays the full length of the grid ---- */
.flow-feature {
  margin-top: 2.5rem;        /* sits close to the products above, like another step */
}
.feature-text {                /* same stack rhythm as .flow-text in the steps above */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.125rem;
  margin-bottom: 1.75rem;    /* tighter heading → pipeline */
}
.feature-text .flow-desc {
  max-width: 42rem;
}
.feature-media {
  position: relative;
  width: 100%;
  aspect-ratio: 23 / 10;     /* matches the orchestration canvas (920×400) */
}

/* Mid widths — the desktop fly-over slots are FIXED height (21rem slot,
   33rem frame), so as the two columns narrow the contain-fit scenes keep
   shrinking inside them: growing dead bands above/below every widget and
   an uneven, gappy rhythm. Below the full desktop grid, size each slot to
   its scene's exact canvas ratio instead (w/h from each scene's FL.Stage
   call): the widget fills its column at every width, and the fly-over
   overflow — including the first row's lift over the header — is released. */
@media (max-width: 991px) {
  .products-head { margin-bottom: 3.5rem; }   /* no fly-over reaching up any more */
  .flow-step { column-gap: 3.5rem; }
  .flow-media { height: auto; aspect-ratio: 440 / 560; }             /* deposit canvas */
  .flow-step:nth-child(2) .flow-media { aspect-ratio: 420 / 540; }   /* withdraw canvas */
  .flow-step:nth-child(3) .flow-media { aspect-ratio: 400 / 380; }   /* checkout canvas */
  .flow-media .flow-frame,
  .flow-step:first-child .flow-media .flow-frame {
    inset: 0;                     /* fill the slot exactly */
    height: 100%;
    transform: none;              /* release the desktop lift/overflow */
  }
}

@media (max-width: 720px) {
  .products { padding: 0 1.5rem 5rem; }
  .flow-feature { margin-top: 3.5rem; }
  .flow::before, .flow-node { display: none; }   /* rail collapses on mobile */
  .flow-step {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 1.5rem;
    padding: 2.25rem 0;
    border-top: 1px solid var(--border);
  }
  .flow-step:first-child { border-top: 0; }
  .flow-step:nth-child(even) .flow-text { order: 0; }   /* text first on mobile */

  /* single column: the ratio-true slots (≤991px rules above) just get
     capped and centred so the widgets read at phone size */
  .flow-media { max-width: 20rem; margin: 0 auto; }
}

/* ============================================================
   Solutions — one rail, four fast-money verticals. The links ARE
   the graphic: a single track leaves the spark and switches into
   four destinations (the solutions pages). Hovering a chip lights
   its branch — same node-and-wire language as the orchestration
   scene above it.
   ============================================================ */
.arenas {
  background-color: var(--gray-1);
  padding: 0 2.5rem 7rem;
}
.arenas-inner {
  max-width: 64rem;
  margin: 0 auto;
}
.arenas-head { margin-bottom: 3.5rem; }
.arenas-title,
.builtin-title {
  margin: 0;
  max-width: 20ch;
  font-family: "Suisse Intl", Georgia, sans-serif;
  font-size: clamp(2.25rem, 4.6vw, 3.5rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--gray-12);
  text-wrap: balance;
}
.arenas-sub,
.builtin-sub {
  margin: 1.5rem 0 0;
  max-width: 40rem;
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  line-height: 1.5;
  color: var(--gray-10);
}

/* ---- the map: spark · switching tracks · destination chips ---- */
.railmap {
  display: grid;
  grid-template-columns: 2.375rem minmax(5rem, 1fr) minmax(0, 36rem);
  align-items: center;
}
.railmap-spark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.375rem;
  height: 2.375rem;
  border-radius: 0.75rem;
  background-color: var(--gray-1);
  border: 1px solid var(--border-strong);
  color: var(--white);
  transition: border-color 0.3s var(--ease);
}
.railmap-spark svg { width: 1.125rem; height: 1.125rem; display: block; }
.railmap-tracks {
  width: 100%;
  height: 100%;
  display: block;
}
.railmap-track {
  fill: none;
  stroke: var(--border-strong);
  stroke-width: 1;
  transition: stroke 0.3s var(--ease);
}
/* hovering a chip lights its branch (and the spark) */
.railmap:has(.railmap-chip:hover) .railmap-spark { border-color: var(--alpha-10); }
.railmap:has(.railmap-chip:nth-child(1):hover) .rt-1,
.railmap:has(.railmap-chip:nth-child(2):hover) .rt-2,
.railmap:has(.railmap-chip:nth-child(3):hover) .rt-3,
.railmap:has(.railmap-chip:nth-child(4):hover) .rt-4 { stroke: var(--alpha-11); }

.railmap-chips {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.railmap-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.125rem 1.5rem;
  background-color: var(--gray-2);
  border: 1px solid var(--border);
  border-radius: 1rem;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.railmap-chip:hover {
  border-color: var(--border-strong);
  background-color: var(--card-hover);
}
.railmap-chip_text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
.railmap-chip_name {
  font-family: "Suisse Intl", Georgia, sans-serif;
  font-size: 1.1875rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--gray-12);
}
.railmap-chip_line {
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--gray-10);
}
.railmap-chip_arrow {
  display: flex;
  flex: none;
  color: var(--gray-10);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}
.railmap-chip:hover .railmap-chip_arrow {
  transform: translateX(3px);
  color: var(--gray-12);
}

@media (max-width: 880px) {
  .railmap { grid-template-columns: 1fr; }
  .railmap-spark,
  .railmap-tracks { display: none; }   /* the chips carry the section alone */
}
@media (max-width: 720px) {
  .arenas { padding: 0 1.5rem 5rem; }
}

/* ============================================================
   Built in — everything a transfer needs, as a bento. One hero
   tile carries the section's single diagram (routing: many ways
   in, the best way through); a wide tile shows breadth (token
   strip); four quiet text tiles do the rest. Boxes are allowed
   here because the tiles are the inventory — six things the rail
   already contains.
   ============================================================ */
.builtin {
  background-color: var(--gray-1);
  padding: 0 2.5rem 7rem;
}
.builtin-inner {
  max-width: 64rem;
  margin: 0 auto;
}
.builtin-head { margin-bottom: 3rem; }

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.bento-tile {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  background-color: var(--gray-2);
  border: 1px solid var(--border);
  border-radius: 1rem;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.bento-tile:hover {
  border-color: var(--border-strong);
  background-color: var(--card-hover);
}
.bento-tile--wide { grid-column: span 2; }
.bento-term {
  margin: 0;
  margin-top: auto;               /* term+copy sit low; viz/tokens float above */
  font-family: "Suisse Intl", Georgia, sans-serif;
  font-size: 1.1875rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--gray-12);
}
.bento-copy {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--gray-10);
}

/* the routing diagram in the hero tile */
.bento-viz { margin: 0 0 1.25rem; }
.bento-viz svg { width: 100%; height: auto; display: block; }
.bviz-dot  { fill: var(--alpha-10); }
.bviz-dot--hot { fill: var(--white); }
.bviz-path { stroke: var(--border-strong); stroke-width: 1; }
.bviz-path--hot { stroke: var(--alpha-11); stroke-width: 1.25; }
.bviz-node { fill: var(--gray-1); stroke: var(--border-strong); }
.bviz-dest { fill: var(--alpha-6); }
.bviz-dest--hot { fill: var(--white); }

/* the gas tile — the figure IS the graphic (echoes the stats figures) */
.bento-gas { margin: 0 0 1.25rem; }
.bento-gas_figure {
  font-family: "Suisse Intl", Georgia, sans-serif;
  font-size: clamp(2rem, 2.6vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--gray-12);
  font-variant-numeric: tabular-nums;
}
.bento-gas_caption {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.625rem;
  font-size: 0.8125rem;
  color: var(--gray-10);
}
.bento-gas_caption svg { flex: none; display: block; color: var(--icon); }

/* the event log in the webhooks tile — pushes as they happen */
.bento-events {
  margin: 0 0 1.25rem;
  font-size: 0.75rem;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}
.bento-events_row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0;
}
.bento-events_row + .bento-events_row { border-top: 1px solid var(--border); }
.bento-events_dot {
  flex: none;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background-color: var(--alpha-10);
}
.bento-events_dot--live {
  background-color: var(--white);
  box-shadow: 0 0 0 3px var(--alpha-3);
}
.bento-events_name {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--gray-11);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bento-events_time {
  margin-left: auto;
  flex: none;
  color: var(--gray-10);
}

/* the token strip in the any-token tile */
.bento-tokens {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.bento-tokens img {
  width: 1.625rem;
  height: 1.625rem;
  display: block;
  border-radius: 50%;
}
.bento-tokens_more {
  margin-left: 0.25rem;
  font-size: 0.8125rem;
  color: var(--gray-10);
  white-space: nowrap;
}

@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .builtin { padding: 0 1.5rem 5rem; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .bento-tile--wide { grid-column: auto; }
}
