/* =====================================================================
   Forge TMS — shared design system
   One source of truth for every page. Loaded by all *.html.
   ===================================================================== */

:root {
  --c-primary: #2E4A63;       /* steel blue — primary */
  --c-primary-hover: #1F3446;
  --c-primary-soft: #E5EBF1;
  --c-accent: #C89327;        /* gold — accent/CTAs */
  --c-accent-hover: #A67912;
  --c-accent-soft: #F8EFD6;
  --c-bg: #FFFFFF;
  --c-surface: #F5F7FA;       /* cool off-white */
  --c-text: #111A22;
  --c-text-muted: #5C6874;
  --c-prose: #2C3946;         /* long-form reading color */
  --c-border: #E4E8ED;
  --c-green: #1F8A5B;
  --c-primary-rgb: 46, 74, 99;
  --c-accent-rgb: 200, 147, 39;
  --c-spoke: #B9C6D2;

  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;

  --maxw: 1200px;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(28,5,8,.04);
  --shadow-md: 0 6px 22px rgba(28,5,8,.06);
  --shadow-lg: 0 18px 50px rgba(28,5,8,.10);
  --nav-h: 70px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.5;
  color: var(--c-text);
  background: var(--c-bg) linear-gradient(180deg, rgba(var(--c-primary-rgb), 0) 0%, rgba(var(--c-primary-rgb), .035) 18%, rgba(var(--c-primary-rgb), .10) 48%, rgba(var(--c-primary-rgb), .20) 78%, rgba(var(--c-primary-rgb), .28) 100%) no-repeat;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--c-primary); text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; border-radius: 4px; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 880px; }
.section { padding: var(--sec-pad, 108px) 0; }
/* ---------- Page-wide light-to-dark ramp (one continuous gradient = seamless) ---------- */
.section--tint { position: relative; background: transparent; }
.section--tint .card, .section--tint .app-tile, .section--tint .price-card, .section--tint .review, .section--tint .tmnl__card, .section--tint .post, .section--tint .intg__band { background: #fff; }

/* ---------- Section stepper (right rail) ---------- */
.stepper { position: fixed; right: 18px; top: 72%; transform: translateY(-50%); z-index: 70; display: flex; flex-direction: column; gap: 2px; padding: 14px 10px; border-radius: 18px; border: 1px solid transparent; background: transparent; transition: background .28s ease, border-color .28s ease, box-shadow .28s ease, padding-right .28s ease; }
.stepper::before { content: ""; position: absolute; right: 23px; top: 20px; bottom: 20px; width: 2px; border-radius: 2px; background: rgba(var(--c-primary-rgb), .14); }
.stepper::after { content: ""; position: absolute; right: 23px; top: 20px; width: 2px; border-radius: 2px; height: calc((100% - 40px) * var(--prog, 0)); background: linear-gradient(180deg, var(--c-accent), var(--c-primary)); transition: height .18s linear; }
.stepper:hover { background: rgba(255,255,255,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: var(--c-border); box-shadow: 0 18px 44px rgba(var(--c-primary-rgb), .16); }
.stepper button { position: relative; z-index: 1; display: flex; align-items: center; justify-content: flex-end; gap: 12px; background: none; border: 0; padding: 5px 0; cursor: pointer; font-family: var(--font-body); color: var(--c-text-muted); }
.stepper__lbl { font-size: 12.5px; font-weight: 600; opacity: 0; transform: translateX(8px) scale(.96); transition: opacity .26s ease, transform .26s cubic-bezier(.34,1.4,.64,1), color .2s ease; white-space: nowrap; }
.stepper__dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(var(--c-primary-rgb), .26); flex: none; transition: background .22s ease, transform .26s cubic-bezier(.34,1.6,.64,1), box-shadow .22s ease; }
.stepper:hover .stepper__lbl { opacity: 1; transform: none; }
.stepper:hover .stepper__dot { background: rgba(var(--c-primary-rgb), .4); }
.stepper button:nth-child(1) .stepper__lbl { transition-delay: .01s } .stepper button:nth-child(2) .stepper__lbl { transition-delay: .03s } .stepper button:nth-child(3) .stepper__lbl { transition-delay: .05s } .stepper button:nth-child(4) .stepper__lbl { transition-delay: .07s } .stepper button:nth-child(5) .stepper__lbl { transition-delay: .09s } .stepper button:nth-child(6) .stepper__lbl { transition-delay: .11s } .stepper button:nth-child(7) .stepper__lbl { transition-delay: .13s } .stepper button:nth-child(8) .stepper__lbl { transition-delay: .15s } .stepper button:nth-child(9) .stepper__lbl { transition-delay: .17s } .stepper button:nth-child(10) .stepper__lbl { transition-delay: .19s } .stepper button:nth-child(11) .stepper__lbl { transition-delay: .21s } .stepper button:nth-child(12) .stepper__lbl { transition-delay: .23s } .stepper button:nth-child(13) .stepper__lbl { transition-delay: .25s } .stepper button:nth-child(14) .stepper__lbl { transition-delay: .27s } .stepper button:nth-child(15) .stepper__lbl { transition-delay: .29s } .stepper button:nth-child(16) .stepper__lbl { transition-delay: .31s }
.stepper button:hover .stepper__dot, .stepper button:focus-visible .stepper__dot { background: var(--c-accent); transform: scale(1.5); }
.stepper button:hover .stepper__lbl { color: var(--c-primary); }
.stepper button.is-current .stepper__dot { background: var(--c-primary); transform: scale(1.6); box-shadow: 0 0 0 5px rgba(var(--c-primary-rgb), .14); }
.stepper button.is-current .stepper__lbl { opacity: 1; transform: none; color: var(--c-primary); font-weight: 700; }
@media (max-width: 1100px) { .stepper { display: none; } }
@media (prefers-reduced-motion: reduce) { .stepper, .stepper__lbl, .stepper__dot, .stepper::after { transition: none !important; } }
.section--tight { padding: calc(var(--sec-pad, 108px) * .67) 0; }
.center { text-align: center; }
.section-head.center, .center .section-head { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 13px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--c-primary); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--c-accent); border-radius: 2px; }

.section-head { max-width: 760px; margin-bottom: var(--sec-head-gap, 56px); }
.section-head h2 { font-size: clamp(30px, 4.2vw, 46px); }
.section-head p { margin-top: 18px; font-size: clamp(17px, 2vw, 19px); color: var(--c-text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 16px;
  padding: 13px 22px; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap; text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-hover); box-shadow: var(--shadow-md); }
.btn--accent { background: var(--c-accent); color: #fff; }
.btn--accent:hover { background: var(--c-accent-hover); box-shadow: var(--shadow-md); }
.btn--outline { background: transparent; color: var(--c-primary); border-color: var(--c-primary); }
.btn--outline:hover { background: var(--c-primary-soft); }
.btn--ghost { background: #fff; color: var(--c-text); border-color: var(--c-border); }
.btn--ghost:hover { border-color: var(--c-primary); color: var(--c-primary); }
.btn--lg { padding: 16px 30px; font-size: 17px; }
.btn--sm { padding: 9px 16px; font-size: 14px; }

/* ---------- Nav (injected by forge.js) ---------- */
.nav {
  /* fixed, not sticky: sticky keeps the pill in flow, which pushed the page
     down by --nav-h and left a white band above the hero. */
  position: fixed; top: 14px; z-index: 80; height: var(--nav-h);
  margin: 0 auto; max-width: 1240px; width: calc(100% - 32px); left: 0; right: 0;
  border-radius: 999px; border: 1px solid var(--c-border);
  background: rgba(255,255,255,.86); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 8px 30px rgba(28,5,8,.08);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.nav.is-scrolled { box-shadow: 0 12px 34px rgba(28,5,8,.13); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 8px 0 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--c-primary); letter-spacing: -.02em; }
.logo__mark { width: 34px; height: 30px; object-fit: contain; flex: none; display: block; }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__signin { color: var(--c-text-muted); font-weight: 600; font-size: 14.5px; padding: 9px 14px; border-radius: 999px; }
.nav__signin:hover { color: var(--c-primary); background: var(--c-surface); }
.navlink { display: inline-flex; align-items: center; gap: 6px; color: var(--c-text); font-family: var(--font-body); font-weight: 500; font-size: 15px; padding: 9px 13px; border-radius: 999px; background: none; border: none; cursor: pointer; transition: background .15s, color .15s; }
.navlink:hover, .navlink.is-current { background: var(--c-surface); color: var(--c-primary); }
.navlink--menu .caret { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-1px,-1px); transition: transform .2s ease; opacity: .7; }
.nav__item { position: relative; }
.nav__item.is-open .navlink--menu .caret { transform: rotate(225deg) translate(-2px,-2px); }
.nav__cta { margin-left: 6px; display: flex; align-items: center; gap: 6px; }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 280px; background: #fff;
  border: 1px solid var(--c-border); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .18s ease, transform .18s ease, visibility .18s; z-index: 90;
}
.nav__item:hover:not(.is-closed) .dropdown, .nav__item:focus-within:not(.is-closed) .dropdown, .nav__item.is-open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--c-text); }
.dropdown__ico { width: 34px; height: 34px; border-radius: 9px; background: var(--c-primary-soft); color: var(--c-primary); display: grid; place-items: center; flex: none; }
.dropdown__ico .ico { width: 18px; height: 18px; }
.dropdown__txt { display: block; }
.dropdown a:hover { background: var(--c-accent-soft); }
.dropdown a b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 14.5px; color: var(--c-text); }
.dropdown a:hover b { color: var(--c-accent-hover); }
.dropdown a span { font-size: 12.5px; color: var(--c-text-muted); }
.dropdown__sep { height: 1px; background: var(--c-border); margin: 6px 8px; }
.dropdown--mega { min-width: 0; width: min(820px, calc(100vw - 32px)); max-width: calc(100vw - 32px); max-height: calc(100vh - var(--nav-h) - 40px); overflow-y: auto; overscroll-behavior: contain; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 4px 28px; padding: 22px; position: fixed; top: calc(14px + var(--nav-h) + 10px); left: 50%; transform: translateX(-50%) translateY(-8px); }
.nav__item:hover:not(.is-closed) .dropdown--mega, .nav__item:focus-within:not(.is-closed) .dropdown--mega, .nav__item.is-open .dropdown--mega { transform: translateX(-50%) translateY(0); }
.dropdown--mega .dropdown__col h5 { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--c-text-muted); font-weight: 700; margin: 4px 12px 8px; }
.dropdown--mega .dropdown__col:not(:last-child) { border-right: 1px solid var(--c-border); padding-right: 20px; }
@media (max-width: 1000px) { .dropdown--mega { min-width: 0; grid-template-columns: 1fr; gap: 0; padding: 0; } .dropdown--mega .dropdown__col:not(:last-child) { border-right: none; padding-right: 0; } }
.dropdown--mega2 { width: min(620px, calc(100vw - 32px)); grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (max-width: 1000px) { .dropdown--mega2 { grid-template-columns: 1fr; } }
.dropdown--mega3 { width: min(980px, calc(100vw - 32px)); grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2px 24px; padding: 18px 20px; }
.dropdown--mega3 .dropdown a { padding: 7px 10px; }
.dropdown--mega3 .dropdown__plat { margin-top: 4px; padding-top: 12px; }
.dropdown__plat { grid-column: 1 / -1; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--c-border); }
.dropdown__plat--top, .dropdown--mega3 .dropdown__plat--top { margin-top: 0; padding-top: 2px; border-top: 0; }
.dropdown__plat h5 { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--c-text-muted); font-weight: 700; margin: 0 12px 10px; }
.dropdown__platrow { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2px 12px; }
.dropdown__platrow a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--c-text); }
.dropdown a:hover .dropdown__ico { background: rgba(var(--c-accent-rgb), .22); color: var(--c-accent-hover); }
.dropdown__platrow a:hover { background: var(--c-accent-soft); }
.dropdown__platrow a:hover b { color: var(--c-accent-hover); }
.dropdown__platrow b { font-family: var(--font-display); font-weight: 600; font-size: 14px; display: block; }
.dropdown__platrow .dropdown__txt span { font-size: 12.5px; color: var(--c-text-muted); }
.dropdown__platrow .dropdown__ico { width: 30px; height: 30px; border-radius: 8px; }
.dropdown__platrow .dropdown__ico .ico { width: 16px; height: 16px; }
@media (max-width: 1240px) { .dropdown--mega3 { grid-template-columns: repeat(2, minmax(0,1fr)); width: min(720px, calc(100vw - 32px)); } .dropdown--mega3 .dropdown__platrow { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 1000px) { .dropdown--mega3 { width: auto; grid-template-columns: 1fr; } .dropdown__plat { padding: 14px 0 0; margin-top: 4px; } .dropdown__plat--top, .dropdown--mega3 .dropdown__plat--top { padding-top: 0; margin-top: 0; } .dropdown__platrow, .dropdown--mega3 .dropdown__platrow { grid-template-columns: 1fr; } }

.nav__toggle { display: none; background: none; border: 1px solid var(--c-border); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after { content: ""; display: block; width: 20px; height: 2px; background: var(--c-text); border-radius: 2px; position: relative; transition: transform .2s ease, opacity .2s ease; }
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after { position: absolute; top: 6px; }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__toggle span::after { transform: translateY(-6px) rotate(-45deg); }
/* Just above the mobile breakpoint the desktop row is tight enough that the
   logo and Log in wrap — tighten the link padding instead. */
@media (min-width: 1001px) and (max-width: 1100px) { .nav__links { gap: 0; } .navlink { padding: 9px 9px; } }

@media (max-width: 1000px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: fixed; top: calc(14px + var(--nav-h)); left: 16px; right: 16px; bottom: auto; flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; padding: 14px 24px 24px; border-bottom: 1px solid var(--c-border); box-shadow: var(--shadow-md); border-radius: 20px; border: 1px solid var(--c-border);
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none; transition: transform .2s ease, opacity .2s ease, visibility .2s;
  }
  .nav.is-open .nav__links { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .navlink { padding: 13px 14px; font-size: 16px; border-radius: 10px; justify-content: space-between; }
  .navlink--menu { width: 100%; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none;
    padding: 0 0 6px 12px; min-width: 0; max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .nav__item.is-open .dropdown { max-height: 600px; }
  /* the desktop mega panel is centered with left:50% + translateX(-50%); once it
     goes position:static in the drawer that shift pushes it off-screen. */
  .dropdown--mega, .nav__item.is-open .dropdown--mega,
  .nav__item:hover:not(.is-closed) .dropdown--mega,
  .nav__item:focus-within:not(.is-closed) .dropdown--mega {
    left: auto; transform: none; width: auto; max-width: none;
    grid-template-columns: none; gap: 0;
  }
  /* max-height animation is unreliable for this panel in the drawer — switch the
     mega panels to a plain display toggle; the drawer itself scrolls. */
  .dropdown--mega { display: none; max-height: none; overflow-y: visible; transition: none; }
  .nav__item.is-open .dropdown--mega { display: block; max-height: none; }
  .dropdown--mega .dropdown__col:not(:last-child) { border-right: none; padding-right: 0; }
  .nav__cta { margin: 10px 0 0; }
  .nav__cta .btn { width: 100%; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--c-surface) 0%, var(--c-bg) 100%); border-bottom: none; padding: 108px 0 68px; }
.page-hero::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--c-border) 22%, var(--c-border) 78%, transparent); pointer-events: none; }
.page-hero::before { content: ""; position: absolute; top: -260px; right: -160px; width: 680px; height: 680px; background: radial-gradient(circle, rgba(var(--c-primary-rgb), .13), transparent 62%); pointer-events: none; }
.page-hero__inner { position: relative; max-width: 760px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); }
.page-hero__sub { margin-top: 20px; font-size: clamp(17px, 2.1vw, 20px); color: var(--c-text-muted); line-height: 1.55; max-width: 640px; }
.page-hero__cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--c-text-muted); margin-bottom: 22px; }
.breadcrumb a { color: var(--c-text-muted); } .breadcrumb a:hover { color: var(--c-primary); }
.breadcrumb .sep { opacity: .45; }

/* ---------- Generic split (alternating media/text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split--media-left > :first-child { order: -1; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 40px; } .split--media-left > :first-child { order: 0; } }

/* ---------- Checklist ---------- */
.checklist { display: grid; gap: 14px; margin-top: 26px; }
.checklist li { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.5; color: var(--c-text); }
.checklist li::before { content: ""; width: 24px; height: 24px; flex: none; background-color: var(--c-primary); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Crect width='24' height='24' rx='7' fill='%23000' opacity='.16'/%3E%3Cpath d='M6.5 12.4l3.3 3.3 7.7-8' stroke='%23000' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/24px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Crect width='24' height='24' rx='7' fill='%23000' opacity='.16'/%3E%3Cpath d='M6.5 12.4l3.3 3.3 7.7-8' stroke='%23000' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/24px no-repeat; }

/* ---------- Card grids ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--c-primary-soft); }
.section--surface .card { background: #fff; }
.card__ic { width: 44px; height: 44px; border-radius: 11px; background: var(--c-primary-soft); color: var(--c-primary); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 15px; margin-bottom: 16px; }
/* Explicit color: cards are white even inside .section--dark (which sets color:#fff),
   so an inherited heading color would render white-on-white. */
.card h3 { font-size: 18px; color: var(--c-text); } .card p { margin-top: 8px; color: var(--c-text-muted); font-size: 14.5px; line-height: 1.55; }
@media (max-width: 900px) { .cards, .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards, .cards--2, .cards--4 { grid-template-columns: 1fr; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: center; }
.stat b { font-family: var(--font-display); font-size: clamp(34px, 5vw, 48px); color: var(--c-primary); display: block; line-height: 1; }
.stat span { color: var(--c-text-muted); font-size: 15px; display: block; margin-top: 10px; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--c-surface) 0%, var(--c-bg) 78%); }
.hero::before { content: ""; position: absolute; top: -240px; right: -160px; width: 720px; height: 720px; background: radial-gradient(circle at center, rgba(var(--c-primary-rgb), .16), rgba(var(--c-primary-rgb), 0) 62%); pointer-events: none; }
.hero::after { content: ""; position: absolute; bottom: -160px; left: -180px; width: 520px; height: 520px; background: radial-gradient(circle at center, rgba(var(--c-accent-rgb), .12), rgba(var(--c-accent-rgb), 0) 64%); pointer-events: none; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.04fr 1fr; gap: 56px; align-items: center; padding: 108px 0 92px; }
.hero__copy { max-width: 580px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 60px); }
.hero__sub { margin-top: 22px; font-size: clamp(17px, 2.1vw, 20px); color: var(--c-text-muted); line-height: 1.55; }
.hero__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
/* Hero rating chips. Proportions taken from vektortms.com's hero: pill,
   7x12 padding, 9px inner gap, 10px between chips, small gold stars, bold
   score, hairline divider, muted platform name. Their hero is dark, so the
   translucent-white values map to our light surface/border tokens. */
/* Gap/padding are 2px under Vektor's 10/12 — our hero column is narrower than
   theirs, and at their exact values the three chips miss one line by a pixel. */
.hero__ratings { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.rate { display: flex; align-items: center; gap: 9px; padding: 7px 11px; border-radius: 999px; border: 1px solid var(--c-border); background: var(--c-surface); transition: border-color .18s ease, box-shadow .18s ease; }
.rate:hover { border-color: rgba(var(--c-primary-rgb), .3); box-shadow: var(--shadow-sm); }
.rate__stars { font-size: 11px; line-height: 1; letter-spacing: 1.1px; color: #E0A32E; }
.rate__score { font-size: 12.5px; font-weight: 700; color: var(--c-text); }
.rate__divider { width: 1px; height: 11px; background: var(--c-border); flex: none; }
.rate__name { font-size: 11.5px; font-weight: 500; color: var(--c-text-muted); }

.hero__trust { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; color: var(--c-text-muted); font-size: 14px; }
.hero__trust .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent); flex: none; }
.pill-badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--c-border); padding: 7px 8px 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--c-text); box-shadow: var(--shadow-sm); margin-bottom: 24px; }
.pill-badge b { background: var(--c-accent-soft); color: var(--c-accent-hover); padding: 3px 9px; border-radius: 999px; font-size: 12px; letter-spacing: .03em; }
@media (max-width: 920px) { .hero__inner { grid-template-columns: 1fr; gap: 40px; padding: 56px 0 64px; } .hero__copy { max-width: 640px; } }

/* ---------- Hero: cinematic background ---------- */
.hero--cine{background:#0B0508;min-height:640px;display:flex;align-items:center}
.hero--cine::before,.hero--cine::after{display:none}
.hero--cine .hero__inner--cine{grid-template-columns:1fr;padding:96px 0 110px}
.hero--cine .hero__copy{max-width:600px;position:relative;z-index:2}
.hero--cine .pill-badge{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.14);color:#F3E9E9}
.hero--cine h1{color:#fff}
.hero--cine .hero__sub{color:#C9B3B4}
.hero--cine .hero__trust{color:#B99093}
.cine-bg{position:absolute;inset:0;overflow:hidden;z-index:0}
.cine-bg::before{content:"";position:absolute;inset:0;background:radial-gradient(1100px 780px at 78% 38%,rgba(var(--c-primary-rgb), .5),transparent 60%),radial-gradient(900px 700px at 58% 85%,rgba(var(--c-accent-rgb), .16),transparent 65%);}
.cine-scene{position:absolute;inset:0;opacity:0;animation:cineFade 22s ease-in-out infinite}
.cine-scene.cs1{animation-delay:0s}.cine-scene.cs2{animation-delay:5.5s}.cine-scene.cs3{animation-delay:11s}.cine-scene.cs4{animation-delay:16.5s}
@keyframes cineFade{0%{opacity:0}3%{opacity:1}20%{opacity:1}26%{opacity:0}100%{opacity:0}}
.cine-plane-wrap{position:absolute;right:-6%;top:50%;width:62%;height:80%;transform:translateY(-50%) perspective(1700px)}
.cine-plane{position:relative;width:100%;height:100%;transform:rotateX(7deg) rotateY(-13deg) rotateZ(2deg)}
.cine-doc{background:linear-gradient(165deg,#4A1C29,#241019);border:1px solid rgba(255,255,255,.22);border-radius:18px;padding:34px;height:70%}
.cine-doc__h{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:#FFD3D8;margin-bottom:18px}
.cine-doc__l{height:9px;border-radius:4px;background:rgba(255,255,255,.28);margin-bottom:14px}
.cine-beam{position:absolute;left:0;right:0;height:3px;top:0;background:linear-gradient(90deg,transparent,#FFB27A,transparent);box-shadow:0 0 24px 4px rgba(255,178,122,.7);animation:cineSweep 4.5s ease-in-out infinite}
@keyframes cineSweep{0%{top:8%;opacity:0}10%{opacity:1}90%{top:88%;opacity:1}100%{opacity:0}}
.cine-chip{position:absolute;background:rgba(31,138,91,.42);border:1px solid rgba(63,203,132,.9);color:#D6FCE7;font-size:13px;font-weight:700;padding:8px 14px;border-radius:10px;box-shadow:0 10px 24px rgba(0,0,0,.5)}
.cine-tickets{display:flex;flex-direction:column;gap:16px;justify-content:center;height:100%}
.cine-ticket{display:flex;align-items:center;gap:10px;background:rgba(20,10,12,.78);border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:14px 18px;font-size:15px;color:#EFE1E1;box-shadow:0 20px 40px rgba(0,0,0,.5);width:78%}
.cine-ticket b{margin-left:auto;color:#fff;font-weight:700}
.cine-ticket .dot{width:9px;height:9px;border-radius:50%;flex:none}
.dot--g{background:#3FCB84}.dot--o{background:#F97316}.dot--b{background:#5B8CFF}
.cine-ticket.t1{align-self:flex-start;margin-left:2%}.cine-ticket.t2{align-self:center}.cine-ticket.t3{align-self:flex-end;margin-right:4%}.cine-ticket.t4{align-self:center;margin-left:8%}
.cine-dash{background:linear-gradient(165deg,#241019,#12060A);border:1px solid rgba(255,255,255,.1);border-radius:18px;padding:30px;height:60%;display:flex;flex-direction:column;gap:18px;justify-content:center}
.cine-dash__row{display:flex;align-items:center;gap:16px;color:#EFE1E1;font-size:15px}
.cine-dash__row b{margin-left:auto;color:#fff;font-size:22px;font-weight:700}
.cine-dash__bar{height:10px;border-radius:6px;display:flex;overflow:hidden}
.cine-dash__bar .seg{flex:1}.seg--g{background:#3FCB84}.seg--r{background:#E5484D}
.cine-token{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:0}
.cine-token__badge{background:linear-gradient(150deg,#8B1538,#5A0E23);border-radius:14px;padding:16px 22px;color:#fff;font-weight:700;font-size:15px;display:flex;align-items:center;gap:10px;box-shadow:0 24px 50px rgba(0,0,0,.55);z-index:2}
.cine-token__badge span{width:20px;height:20px;background:rgba(255,255,255,.18);border-radius:6px}
.cine-token__rod{width:8px;height:120px;background:linear-gradient(180deg,#8B1538,#3FCB84);border-radius:4px;box-shadow:0 0 20px rgba(63,203,132,.4)}
.cine-token__ring{width:60px;height:60px;border:8px solid #3FCB84;border-radius:50%;box-shadow:0 0 30px rgba(63,203,132,.5)}
@media (max-width:920px){.hero--cine{min-height:560px}.cine-plane-wrap{width:90%;right:2%;opacity:.5}}
@media (prefers-reduced-motion:reduce){.cine-scene,.cine-plane-wrap,.cine-beam{animation:none!important}.cine-scene{opacity:0}.cine-scene.cs1{opacity:1}}

/* ---------- Tweaks panel ---------- */

/* ---------- Testimonials ---------- */
.tmnl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tmnl__card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 18px; }
.tmnl__card blockquote { margin: 0; font-size: 16px; line-height: 1.65; color: var(--c-prose); }
.tmnl__roi { align-self: flex-start; font-size: 12.5px; font-weight: 700; letter-spacing: .03em; color: var(--c-accent-hover); background: var(--c-accent-soft); border-radius: 999px; padding: 7px 14px; }
.tmnl__cite { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 4px; }
.tmnl__cite .ava { width: 40px; height: 40px; border-radius: 50%; background: var(--c-primary-soft); border: 1px solid var(--c-border); flex: none; }
.tmnl__cite .who { display: block; }
.tmnl__cite .who b { display: block; font-family: var(--font-display); font-size: 14.5px; color: var(--c-text); }
.tmnl__cite .who span { font-size: 13px; color: var(--c-text-muted); }
@media (max-width: 900px) { .tmnl { grid-template-columns: 1fr; } }

/* ---------- Marquee (shared: testimonials, integration logos) ----------
   The track holds its items twice; translating -50% lands exactly on the
   duplicate, so the loop is seamless. Item spacing is margin-right rather than
   gap — with gap, half the track is 2.5 gaps and the loop drifts.
   Tune per use with --marquee-dur / --marquee-gap / --marquee-dir. */
.marquee { position: relative; overflow: hidden; margin-inline: calc(50% - 50vw); --marquee-dur: 60s; --marquee-gap: 22px; --marquee-dir: normal; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; align-items: stretch; width: max-content; animation: marquee-scroll var(--marquee-dur) linear infinite; animation-direction: var(--marquee-dir); }
.marquee__track > * { flex: none; margin-right: var(--marquee-gap); }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; }
}

/* Testimonial cards in a marquee */
.marquee--cards .tmnl__card { width: 380px; }
@media (max-width: 600px) { .marquee--cards .tmnl__card { width: 300px; } }

/* Integration logos in a marquee */
.marquee--logos { --marquee-gap: 16px; --marquee-dur: 46s; }
.marquee--logos + .marquee--logos { margin-top: 16px; }
.marquee--logos .logo-ph { height: 62px; min-width: 168px; font-size: 13px; }

/* ---------- Reviews & badges ---------- */
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 38px; }
.badge { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--c-border); border-radius: 999px; padding: 10px 18px; box-shadow: var(--shadow-sm); color: var(--c-text); }
.badge:hover { border-color: var(--c-primary); }
.badge__stars { color: var(--c-accent); font-size: 14px; letter-spacing: 1px; }
.badge b { font-family: var(--font-display); font-size: 16px; }
.badge__src { font-size: 13px; color: var(--c-text-muted); border-left: 1px solid var(--c-border); padding-left: 10px; }
.reviews { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { background: #fff; border: 1px solid var(--c-border); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-sm); }
.review__top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.review__stars { color: var(--c-accent); font-size: 13px; letter-spacing: 1px; }
.review__src { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--c-text-muted); }
.review h4 { font-family: var(--font-display); font-size: 17px; margin-bottom: 8px; }
.review p { font-size: 14.5px; color: var(--c-prose); line-height: 1.6; }
.review__who { margin-top: 16px; font-size: 13px; color: var(--c-text-muted); }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- Integrations bands ---------- */
.intg { display: grid; gap: 16px; }
.intg__band { display: grid; grid-template-columns: 190px 1fr; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 20px 24px; }
.intg__band h4 { font-family: var(--font-display); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--c-text-muted); }
.intg__row { display: flex; flex-wrap: wrap; gap: 12px; }
.intg__cats { margin: 22px 0 0; text-align: center; font-size: 13.5px; letter-spacing: .02em; color: var(--c-text-muted); }
.intg__note { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; background: var(--c-primary-soft); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 26px 30px; }
.intg__note > div b { display: block; font-family: var(--font-display); font-size: 16px; color: var(--c-primary); margin-bottom: 4px; }
.intg__note > div span { font-size: 14.5px; color: var(--c-prose); }
.intg__note p { grid-column: 1 / -1; margin: 0; font-size: 14px; font-weight: 700; color: var(--c-text); }
@media (max-width: 780px) { .intg__band { grid-template-columns: 1fr; gap: 12px; } .intg__note { grid-template-columns: 1fr; } }

/* ---------- All-in-one orbit chart ---------- */
.orbit { position: relative; width: 560px; height: 560px; margin: 68px auto 0; }
.orbit__glow { position: absolute; inset: -60px; background: radial-gradient(circle at center, rgba(var(--c-primary-rgb), .09), rgba(var(--c-primary-rgb), 0) 66%); border-radius: 50%; }
.orbit__spokes { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .9s ease .1s; }
.orbit.is-revealed .orbit__spokes { opacity: 1; }
.orbit__spokes line { stroke: var(--c-spoke); stroke-width: 1.6; stroke-dasharray: 3 5; }
/* Dashes march toward the hub: every spoke starts at the center, so shifting
   the dash pattern toward the path start reads as data flowing in. */
.orbit.is-revealed .orbit__base line { animation: spokeMarch 1.5s linear infinite; }
@keyframes spokeMarch { to { stroke-dashoffset: 8; } }
/* Pulse overlay: same 8 lines, but each shows one short bright segment
   (dash 10, gap 230 — longer than the ~211px spoke, so only one is visible)
   sliding node → hub. Staggered so pulses arrive around the clock face. */
.orbit__pulses line { stroke: var(--c-accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 10 230; stroke-dashoffset: -212; opacity: 0; }
.orbit__pulses line:nth-child(even) { stroke: var(--c-primary); }
.orbit.is-revealed .orbit__pulses line { animation: spokePulse 3.2s ease-in infinite; }
.orbit__pulses line:nth-child(1) { animation-delay: 0s; } .orbit__pulses line:nth-child(2) { animation-delay: .4s; }
.orbit__pulses line:nth-child(3) { animation-delay: .8s; } .orbit__pulses line:nth-child(4) { animation-delay: 1.2s; }
.orbit__pulses line:nth-child(5) { animation-delay: 1.6s; } .orbit__pulses line:nth-child(6) { animation-delay: 2s; }
.orbit__pulses line:nth-child(7) { animation-delay: 2.4s; } .orbit__pulses line:nth-child(8) { animation-delay: 2.8s; }
@keyframes spokePulse {
  0% { stroke-dashoffset: -212; opacity: 0; }
  8% { opacity: .95; }
  38% { stroke-dashoffset: 6; opacity: .95; }
  46%, 100% { stroke-dashoffset: 10; opacity: 0; }
}
/* The hub answers the arriving pulses: a quick swell + a gold-leaning flush,
   peaking at 40% of the cycle — right as the first pulse lands (pulses reach
   the hub at ~38% of their own 3.2s timing). */
.orbit.is-revealed .orbit__hub { animation: hubBeat 3.2s ease-in-out 1s infinite; }
@keyframes hubBeat {
  0%, 100% { transform: translate(-50%,-50%) scale(1); box-shadow: 0 20px 44px rgba(var(--c-primary-rgb), .32), 0 0 0 10px rgba(var(--c-primary-rgb), .07); }
  40% { transform: translate(-50%,-50%) scale(1.05); box-shadow: 0 20px 44px rgba(var(--c-primary-rgb), .36), 0 0 0 14px rgba(var(--c-accent-rgb), .16); }
  62% { transform: translate(-50%,-50%) scale(1); box-shadow: 0 20px 44px rgba(var(--c-primary-rgb), .32), 0 0 0 10px rgba(var(--c-primary-rgb), .07); }
}
/* Gold flush overlay — a soft accent wash over the hub gradient at the beat. */
.orbit__hub::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 50% 42%, rgba(var(--c-accent-rgb), .55), rgba(var(--c-accent-rgb), .12) 70%); opacity: 0; pointer-events: none; }
.orbit.is-revealed .orbit__hub::after { animation: hubFlush 3.2s ease-in-out 1s infinite; }
@keyframes hubFlush { 0%, 100% { opacity: 0; } 40% { opacity: .32; } 62% { opacity: 0; } }
.orbit__ring { position: absolute; inset: 46px; border: 1px dashed var(--c-border); border-radius: 50%; opacity: .7; animation: ringTurn 90s linear infinite; }
@keyframes ringTurn { to { transform: rotate(360deg); } }
.orbit__hub { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(.7); opacity: 0; width: 142px; height: 142px; border-radius: 50%; background: linear-gradient(150deg, var(--c-primary), var(--c-primary-hover)); color: #fff; display: grid; place-items: center; align-content: center; row-gap: 4px; text-align: center; box-shadow: 0 20px 44px rgba(var(--c-primary-rgb), .32), 0 0 0 10px rgba(var(--c-primary-rgb), .07); z-index: 2; transition: transform .6s cubic-bezier(.34,1.56,.64,1), opacity .4s ease; }
.orbit.is-revealed .orbit__hub { transform: translate(-50%,-50%) scale(1); opacity: 1; }
.orbit__hubico { width: 24px; height: 24px; margin-bottom: 4px; opacity: .9; }
.orbit__hubico .ico { width: 100%; height: 100%; }
.orbit__hub b { display: block; font-family: var(--font-display); font-size: 19px; }
.orbit__hub span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .82; }
.orbit__node { position: absolute; top: 50%; left: 50%; width: 128px; margin: -64px 0 0 -64px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; transform: rotate(var(--a)) translate(0, -238px) rotate(calc(-1 * var(--a))); background: #fff; border: 1px solid var(--c-border); border-radius: 14px; padding: 12px 8px; box-shadow: var(--shadow-md); opacity: 0; transition: opacity .5s ease; }
.orbit.is-revealed .orbit__node { opacity: 1; }
.orbit__node:nth-of-type(1){transition-delay:.15s}.orbit__node:nth-of-type(2){transition-delay:.25s}.orbit__node:nth-of-type(3){transition-delay:.35s}.orbit__node:nth-of-type(4){transition-delay:.45s}.orbit__node:nth-of-type(5){transition-delay:.55s}.orbit__node:nth-of-type(6){transition-delay:.65s}.orbit__node:nth-of-type(7){transition-delay:.75s}.orbit__node:nth-of-type(8){transition-delay:.85s}
.orbit__ic { width: 46px; height: 46px; border-radius: 13px; background: var(--c-primary-soft); border: 1px solid var(--c-border); display: grid; place-items: center; color: var(--c-primary); flex: none; transform: scale(.5); transition: transform .5s cubic-bezier(.34,1.56,.64,1); }
.orbit.is-revealed .orbit__ic { transform: scale(1); }
.orbit__node:nth-of-type(1) .orbit__ic{transition-delay:.2s}.orbit__node:nth-of-type(2) .orbit__ic{transition-delay:.3s}.orbit__node:nth-of-type(3) .orbit__ic{transition-delay:.4s}.orbit__node:nth-of-type(4) .orbit__ic{transition-delay:.5s}.orbit__node:nth-of-type(5) .orbit__ic{transition-delay:.6s}.orbit__node:nth-of-type(6) .orbit__ic{transition-delay:.7s}.orbit__node:nth-of-type(7) .orbit__ic{transition-delay:.8s}.orbit__node:nth-of-type(8) .orbit__ic{transition-delay:.9s}
.orbit__node--accent .orbit__ic { background: var(--c-accent-soft); color: var(--c-accent-hover); }
.orbit__ic .ico { width: 21px; height: 21px; }
.orbit__lbl { font-size: 13.5px; font-weight: 700; color: var(--c-text); line-height: 1.2; }
.orbit__cap { font-size: 11px; color: var(--c-text-muted); line-height: 1.2; }
.orbit-fallback { display: none; }
.orbit__stats { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 760px; margin-left: auto; margin-right: auto; text-align: center; }
.orbit__stats b { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--c-primary); }
.orbit__stats b .countup { font-weight: 700; font-size: inherit; color: inherit; }
.orbit__stats span { font-size: 14px; color: var(--c-text-muted); }
@media (prefers-reduced-motion: reduce) { .orbit__node, .orbit__ic, .orbit__hub, .orbit__spokes { opacity: 1 !important; transition: none !important; } .orbit__hub { transform: translate(-50%,-50%) !important; } .orbit__ic { transform: none !important; } .orbit__base line, .orbit__pulses line, .orbit__hub, .orbit__hub::after, .orbit__ring { animation: none !important; } .orbit__pulses { display: none; } }
@media (max-width: 720px) {
  .orbit { display: none; }
  .orbit-fallback { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 480px; margin: 40px auto 0; }
  .orbit-fallback__row { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--c-border); border-radius: 12px; padding: 12px 14px; font-size: 14px; font-weight: 600; color: var(--c-text); }
  .orbit-fallback__row .orbit__ic { width: 34px; height: 34px; }
}

/* ---------- Hero animation ---------- */
.hero::before { animation: heroGlowA 16s ease-in-out infinite alternate; }
.hero::after { animation: heroGlowB 20s ease-in-out infinite alternate; }
@keyframes heroGlowA { from { transform: translate3d(0,0,0) scale(1); opacity: .85; } to { transform: translate3d(-42px,32px,0) scale(1.1); opacity: 1; } }
@keyframes heroGlowB { from { transform: translate3d(0,0,0) scale(1); opacity: .8; } to { transform: translate3d(38px,-28px,0) scale(1.12); opacity: 1; } }
.hero__copy > *, .hero__media { animation: heroUp .85s cubic-bezier(.22,.75,.28,1) both; }
.hero__copy > *:nth-child(1) { animation-delay: .05s; }
.hero__copy > *:nth-child(2) { animation-delay: .16s; }
.hero__copy > *:nth-child(3) { animation-delay: .27s; }
.hero__copy > *:nth-child(4) { animation-delay: .38s; }
.hero__copy > *:nth-child(5) { animation-delay: .49s; }
.hero__media { animation-delay: .3s; animation-duration: 1s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero__media .stage { animation: heroFloat 11s ease-in-out 1.6s infinite; }
@keyframes heroFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Hero stage: looping product film ---------- */
.stage { position: relative; background: #fff; border: 1px solid var(--c-border); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; }
.stage__viewport { position: relative; aspect-ratio: 4 / 3.2; min-height: 410px; overflow: hidden; background: linear-gradient(170deg, var(--c-surface), #fff 62%); }
/* rows must keep their content height — a compressed row clips the scene's own cards */
.scene:not([data-scene="2"]) { grid-auto-rows: min-content; }
.scene { position: absolute; inset: 0; padding: 20px; display: grid; align-content: safe center; gap: 12px; opacity: 0; visibility: hidden; transform: scale(.985); transition: opacity .55s ease, transform .7s cubic-bezier(.22,.75,.28,1); }
.scene[data-scene="3"] { align-content: stretch; grid-auto-rows: minmax(0, 1fr); }
.scene.is-active { opacity: 1; visibility: visible; transform: none; }
.stage__bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--c-border); background: var(--c-surface); }
.stage__cap { font-family: var(--font-display); font-weight: 600; font-size: 12.5px; color: var(--c-text); display: flex; align-items: center; gap: 8px; min-width: 0; }
.stage__cap b { color: var(--c-primary); font-size: 11px; letter-spacing: .04em; }
.stage__cap span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stage__ticks { margin-left: auto; display: flex; gap: 5px; flex: none; }
.stage__ticks button { width: 26px; height: 4px; border-radius: 999px; border: 0; padding: 0; background: var(--c-border); cursor: pointer; position: relative; overflow: hidden; }
.stage__ticks button:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 3px; }
.stage__ticks button[aria-current="true"]::after { content: ""; position: absolute; inset: 0; background: var(--c-primary); transform-origin: left; animation: tickFill var(--scene-ms, 4800ms) linear both; }
@keyframes tickFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* scene 1 — scanning */
.sc-doc { background: #fff; border: 1px solid var(--c-border); border-radius: 14px; box-shadow: var(--shadow-md); padding: 16px; position: relative; overflow: hidden; }
.sc-doc__h { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--c-primary); }
.sc-doc__l { height: 7px; border-radius: 4px; background: var(--c-border); margin-top: 9px; }
.sc-beam { position: absolute; left: 0; right: 0; height: 3px; background: var(--c-accent); box-shadow: 0 0 16px 3px rgba(var(--c-accent-rgb), .55); }
.scene.is-active .sc-beam { animation: beam 2.1s cubic-bezier(.5,0,.5,1) .25s both; }
@keyframes beam { 0% { top: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.sc-grab { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sc-grab div { background: #fff; border: 1px solid var(--c-border); border-radius: 10px; padding: 9px 11px; opacity: 0; }
.scene.is-active .sc-grab div { animation: popIn .5s cubic-bezier(.22,.75,.28,1) both; }
.scene.is-active .sc-grab div:nth-child(1) { animation-delay: 1.5s; }
.scene.is-active .sc-grab div:nth-child(2) { animation-delay: 1.7s; }
.scene.is-active .sc-grab div:nth-child(3) { animation-delay: 1.9s; }
.scene.is-active .sc-grab div:nth-child(4) { animation-delay: 2.1s; }
@keyframes popIn { from { opacity: 0; transform: translateY(9px) scale(.96); } to { opacity: 1; transform: none; } }
.sc-grab .k { font-size: 10px; text-transform: uppercase; letter-spacing: .05em; color: var(--c-text-muted); font-weight: 700; }
.sc-grab .v { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--c-text); margin-top: 2px; }
.sc-note { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; color: var(--c-primary); opacity: 0; }
.scene.is-active .sc-note { animation: popIn .5s ease 2.4s both; }
.sc-note .ico { width: 15px; height: 15px; }

/* scene 2 — board rows */
.scene .board { box-shadow: none; border-radius: 14px; }
.scene.is-active .board__row { animation: rowIn .55s cubic-bezier(.22,.75,.28,1) both; }
.scene.is-active .board__row:nth-of-type(1) { animation-delay: .2s; }
.scene.is-active .board__row:nth-of-type(2) { animation-delay: .34s; }
.scene.is-active .board__row:nth-of-type(3) { animation-delay: .48s; }
.scene.is-active .board__row:nth-of-type(4) { animation-delay: .62s; }
.scene.is-active .board__row--fresh { animation: rowFresh .8s cubic-bezier(.22,.75,.28,1) 1.1s both; }
@keyframes rowFresh { 0% { opacity: 0; transform: translateY(-12px); background: var(--c-accent-soft); } 65% { background: var(--c-accent-soft); } 100% { opacity: 1; transform: none; background: transparent; } }

/* scene 3 — route */
.sc-map { position: relative; height: 100%; border-radius: 14px; border: 1px solid var(--c-border); background: #fff; overflow: hidden; }
.sc-map__grid { position: absolute; inset: 0; background-image: linear-gradient(var(--c-border) 1px, transparent 1px), linear-gradient(90deg, var(--c-border) 1px, transparent 1px); background-size: 34px 34px; opacity: .5; }
.sc-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sc-map .rt-base { fill: none; stroke: var(--c-border); stroke-width: 3; stroke-linecap: round; }
.sc-map .rt-live { fill: none; stroke: var(--c-primary); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1000; stroke-dashoffset: 1000; }
.scene.is-active .sc-map .rt-live { animation: draw 3.4s cubic-bezier(.4,0,.5,1) .3s both; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.sc-map .truck { fill: var(--c-accent); stroke: #fff; stroke-width: 3; offset-path: path('M64 232 C 140 196, 168 132, 246 108 S 320 84, 344 66'); offset-rotate: 0deg; offset-distance: 0%; }
.scene.is-active .sc-map .truck { animation: truckGo 3.4s cubic-bezier(.4,0,.5,1) .3s both; }
@keyframes truckGo { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.sc-map .city { fill: var(--c-primary); stroke: #fff; stroke-width: 2.5; }
.sc-map .city--b { fill: var(--c-accent); }
.sc-map text { font-family: var(--font-display); font-weight: 700; font-size: 13px; fill: var(--c-text); }
.sc-eta { position: absolute; left: 12px; top: 12px; background: #fff; border: 1px solid var(--c-border); border-radius: 10px; box-shadow: var(--shadow-sm); padding: 8px 11px; font-size: 11px; }
.sc-eta b { font-family: var(--font-display); display: block; font-size: 14px; color: var(--c-primary); }

/* scene 4 — invoice */
.sc-inv { background: #fff; border: 1px solid var(--c-border); border-radius: 14px; box-shadow: var(--shadow-md); padding: 16px 16px 22px; position: relative; }
.sc-inv__h { display: flex; align-items: baseline; gap: 8px; }
.sc-inv__h b { font-family: var(--font-display); font-size: 15px; color: var(--c-primary); }
.sc-inv__h span { font-size: 11px; color: var(--c-text-muted); margin-left: auto; }
.sc-li { display: flex; justify-content: space-between; font-size: 12px; padding: 9px 0; border-bottom: 1px dashed var(--c-border); opacity: 0; }
.scene.is-active .sc-li { animation: popIn .45s ease both; }
.scene.is-active .sc-li:nth-of-type(1) { animation-delay: .35s; }
.scene.is-active .sc-li:nth-of-type(2) { animation-delay: .5s; }
.scene.is-active .sc-li:nth-of-type(3) { animation-delay: .65s; }
.scene.is-active .sc-li:nth-of-type(4) { animation-delay: .8s; }

/* Factoring scene — deliberately not the dispatch board: a submit-to-factor
   card with selected invoices, the advance figure, and an action button that
   "presses" before the confirmation lands. */
.sc-fac { background: #fff; border: 1px solid var(--c-border); border-radius: 14px; box-shadow: var(--shadow-md); padding: 16px; }
.sc-fac__list { margin: 14px 0 4px; }
.sc-fac__row { display: grid; grid-template-columns: 18px 76px 1fr auto; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--c-border); font-size: 12px; opacity: 0; }
.sc-fac__row b { font-family: var(--font-display); font-weight: 700; color: var(--c-primary); }
.sc-fac__row span:not(.sc-fac__tick) { color: var(--c-text-muted); }
.sc-fac__row em { font-family: var(--font-display); font-style: normal; font-weight: 700; color: var(--c-text); }
.sc-fac__tick { width: 18px; height: 18px; border-radius: 50%; background: #E3F3EA; color: var(--c-green); display: grid; place-items: center; }
.sc-fac__tick .ico { width: 11px; height: 11px; }
.scene.is-active .sc-fac__row { animation: popIn .45s ease both; }
.scene.is-active .sc-fac__row:nth-child(1) { animation-delay: .3s; }
.scene.is-active .sc-fac__row:nth-child(2) { animation-delay: .45s; }
.scene.is-active .sc-fac__row:nth-child(3) { animation-delay: .6s; }
.sc-fac__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-top: 14px; }
.sc-fac__adv span { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--c-text-muted); font-weight: 700; }
.sc-fac__adv b { font-family: var(--font-display); font-size: 24px; color: var(--c-text); }
.sc-fac__btn { pointer-events: none; opacity: 0; }
.scene.is-active .sc-fac__btn { animation: popIn .4s ease .85s both, btnPress .45s cubic-bezier(.3,1.4,.5,1) 1.6s both; }
.sc-fac__sent { display: flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 11.5px; font-weight: 700; color: var(--c-green); opacity: 0; }
.sc-fac__sent .ico { width: 14px; height: 14px; }
.scene.is-active .sc-fac__sent { animation: popIn .45s ease 3.5s both; }
@keyframes btnPress { 0% { transform: scale(1); } 45% { transform: scale(.94); box-shadow: none; } 100% { transform: scale(1); } }

/* ---------- Hero scene: paperwork / EDI send ---------- */
.sc-edi { background: #fff; border: 1px solid var(--c-border); border-radius: 14px; box-shadow: var(--shadow-md); padding: 16px; position: relative; }
.sc-edi__mail { margin-top: 12px; }
.sc-edi__field { display: flex; gap: 10px; align-items: baseline; padding: 8px 0; border-bottom: 1px dashed var(--c-border); font-size: 12px; opacity: 0; }
.sc-edi__field span { color: var(--c-text-muted); width: 48px; flex: none; }
.sc-edi__field b { font-weight: 600; color: var(--c-text); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-edi__atts { display: flex; gap: 8px; flex-wrap: wrap; padding: 12px 0 2px; }
.sc-edi__att { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--c-border); border-radius: 999px; background: var(--c-surface); font-size: 11px; font-weight: 600; color: var(--c-prose); opacity: 0; }
.sc-edi__att .ico { width: 12px; height: 12px; color: var(--c-primary); }
.sc-edi__toast { position: absolute; left: 16px; right: 16px; bottom: -14px; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--c-border); border-left: 3px solid var(--c-green); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 10px 14px; opacity: 0; }
.sc-edi__toast b { display: block; font-family: var(--font-display); font-size: 12.5px; color: var(--c-text); }
.sc-edi__toast div span { font-size: 11px; color: var(--c-text-muted); }
.scene.is-active .sc-edi__field { animation: popIn .45s ease both; }
.scene.is-active .sc-edi__field:nth-child(1) { animation-delay: .25s; }
.scene.is-active .sc-edi__field:nth-child(2) { animation-delay: .45s; }
.scene.is-active .sc-edi__att { animation: popIn .4s ease both; }
.scene.is-active .sc-edi__att:nth-child(1) { animation-delay: .7s; }
.scene.is-active .sc-edi__att:nth-child(2) { animation-delay: .85s; }
.scene.is-active .sc-edi__att:nth-child(3) { animation-delay: 1s; }
.scene.is-active .sc-edi__toast { animation: toastUp .5s cubic-bezier(.2,.9,.3,1.2) 1.7s both; }
@keyframes toastUp { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .sc-edi__field, .sc-edi__att, .sc-edi__toast { opacity: 1; animation: none !important; }
}

/* Static reuse of the hero-scene cards on module pages: outside a .scene
   nothing drives the entrance animations, so un-hide the animated bits. */
.sc-static .sc-li, .sc-static .sc-note, .sc-static .sc-fac__row, .sc-static .sc-fac__btn, .sc-static .sc-fac__sent { opacity: 1; }
.sc-static .sc-map { height: 340px; }
.sc-static .sc-edi__field, .sc-static .sc-edi__att, .sc-static .sc-edi__toast { opacity: 1; }
.sc-static { max-width: 500px; margin-inline: auto; }

/* Reports scene — same card frame as .sc-inv, with a small margin-by-lane chart. */
.sc-rep { background: #fff; border: 1px solid var(--c-border); border-radius: 14px; box-shadow: var(--shadow-md); padding: 16px; }
.sc-rep__bars { display: flex; align-items: flex-end; gap: 10px; height: 116px; margin: 18px 0 6px; }
.sc-rep__bars span { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 7px; height: 100%; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; color: var(--c-text-muted); }
.sc-rep__bars i { display: block; width: 100%; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--c-primary), rgba(var(--c-primary-rgb), .55)); transform-origin: bottom; }
.sc-rep__bars span:nth-child(even) i { background: linear-gradient(180deg, var(--c-accent), rgba(var(--c-accent-rgb), .55)); }
.scene.is-active .sc-rep__bars i { animation: barUp .6s cubic-bezier(.22,.75,.28,1) both; }
.scene.is-active .sc-rep__bars span:nth-child(1) i { animation-delay: .25s; }
.scene.is-active .sc-rep__bars span:nth-child(2) i { animation-delay: .35s; }
.scene.is-active .sc-rep__bars span:nth-child(3) i { animation-delay: .45s; }
.scene.is-active .sc-rep__bars span:nth-child(4) i { animation-delay: .55s; }
.scene.is-active .sc-rep__bars span:nth-child(5) i { animation-delay: .65s; }
.scene.is-active .sc-rep__bars span:nth-child(6) i { animation-delay: .75s; }
@keyframes barUp { from { transform: scaleY(0); opacity: .4; } to { transform: scaleY(1); opacity: 1; } }
.sc-li span:last-child { font-family: var(--font-display); font-weight: 700; }
.sc-tot { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; }
.sc-tot span { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--c-text-muted); font-weight: 700; }
.sc-tot b { font-family: var(--font-display); font-size: 24px; color: var(--c-text); }
.sc-stamp { position: absolute; left: 16px; bottom: -14px; background: #fff; border: 2px solid var(--c-green); color: var(--c-green); border-radius: 8px; padding: 5px 11px; font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .06em; transform: rotate(-7deg); opacity: 0; }
.scene.is-active .sc-stamp { animation: stamp .55s cubic-bezier(.3,1.5,.5,1) 1.5s both; }
@keyframes stamp { from { opacity: 0; transform: rotate(-7deg) scale(1.7); } to { opacity: 1; transform: rotate(-7deg) scale(1); } }

@media (prefers-reduced-motion: reduce) {
  .hero__media .stage, .scene, .scene *, .stage__ticks button::after { animation: none !important; transition: none !important; }
  .scene { opacity: 0; }
  .scene.is-active, .scene.is-active * { opacity: 1 !important; visibility: visible !important; transform: none !important; }
  .sc-map .rt-live { stroke-dashoffset: 0 !important; }
  .sc-map .truck { offset-distance: 100% !important; }
}
.hero__media .board.is-entering .board__row { animation: rowIn .6s cubic-bezier(.22,.75,.28,1) both; }
.hero__media .board.is-entering .board__row:nth-of-type(1) { animation-delay: .62s; }
.hero__media .board.is-entering .board__row:nth-of-type(2) { animation-delay: .74s; }
.hero__media .board.is-entering .board__row:nth-of-type(3) { animation-delay: .86s; }
.hero__media .board.is-entering .board__row:nth-of-type(4) { animation-delay: .98s; }
@keyframes rowIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.hero__media .board__bar { position: relative; overflow: hidden; }
.hero__media .board__bar::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 34%; background: linear-gradient(90deg, transparent, var(--c-accent), transparent); animation: barSweep 4.5s ease-in-out 1.6s infinite; }
@keyframes barSweep { 0% { transform: translateX(-110%); } 55%,100% { transform: translateX(330%); } }
.board__row.is-new { animation: rowNew .7s cubic-bezier(.22,.75,.28,1) both; animation-delay: 0s; }
@keyframes rowNew { from { opacity: 0; transform: translateY(-14px); background: var(--c-accent-soft); } 60% { background: var(--c-accent-soft); } to { opacity: 1; transform: none; background: transparent; } }
.board__row.is-out { animation: rowOut .45s ease forwards; animation-delay: 0s; }
@keyframes rowOut { to { opacity: 0; transform: translateY(10px); } }
.chip.is-flip { animation: chipFlip .5s ease; }
@keyframes chipFlip { 0% { transform: translateY(-6px) scale(.92); opacity: 0; } 100% { transform: none; opacity: 1; } }
.board__foot .scan { transition: opacity .35s ease, transform .35s ease; }
.board__foot .scan.is-hot i { background: var(--c-accent); animation: scanPop .6s ease; }
@keyframes scanPop { 0%,100% { transform: scale(1); } 45% { transform: scale(1.28); } }
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after, .hero__copy > *, .hero__media, .hero__media .board, .hero__media .board.is-entering .board__row, .hero__media .board__bar::after, .board__row.is-new, .chip.is-flip { animation: none !important; }
  .hero__copy > *, .hero__media, .hero__media .board__row { opacity: 1 !important; transform: none !important; }
}

/* ---------- Faux dispatch board ---------- */
.board { background: #fff; border: 1px solid var(--c-border); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.board__bar { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--c-border); background: var(--c-surface); }
.board__dots { display: flex; gap: 6px; }
.board__dots i { width: 11px; height: 11px; border-radius: 50%; display: block; background: var(--c-border); }
.board__dots i:first-child { background: var(--c-accent); }
.board__title { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--c-text); margin-left: 6px; }
.board__live { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--c-green); display: inline-flex; align-items: center; gap: 6px; }
.board__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c-green); box-shadow: 0 0 0 0 rgba(31,138,91,.5); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31,138,91,.5);} 70%{ box-shadow: 0 0 0 7px rgba(31,138,91,0);} 100%{box-shadow:0 0 0 0 rgba(31,138,91,0);} }
.board__cols, .board__row { display: grid; grid-template-columns: 90px 1fr 1fr 96px; gap: 0; }
.board__cols { padding: 10px 16px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--c-text-muted); border-bottom: 1px solid var(--c-border); }
.board__row { align-items: center; padding: 13px 16px; border-bottom: 1px solid var(--c-border); font-size: 13px; }
.board__row:last-child { border-bottom: none; }
.board__load { font-family: var(--font-display); font-weight: 700; color: var(--c-primary); }
.board__driver { display: flex; align-items: center; gap: 8px; color: var(--c-text); }
.board__ava { width: 24px; height: 24px; border-radius: 50%; background: var(--c-primary-soft); color: var(--c-primary); display: grid; place-items: center; font-size: 11px; font-weight: 700; flex: none; }
.board__route { color: var(--c-text-muted); }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.chip--moving { background: var(--c-accent-soft); color: var(--c-accent-hover); }
.chip--delivered { background: #E3F3EA; color: var(--c-green); }
.chip--load { background: var(--c-primary-soft); color: var(--c-primary); }
.chip--dwell { background: #FEF3C7; color: #92681A; }
.board__foot { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--c-surface); border-top: 1px solid var(--c-border); font-size: 12px; color: var(--c-text-muted); }
.board__foot .scan { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; color: var(--c-primary); font-weight: 700; }
.board__foot .scan i { width: 16px; height: 16px; border: 2px solid var(--c-accent); border-radius: 4px; display: block; }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 30px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--c-primary-soft); }
.pillar__tag { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--c-accent); }
.pillar h3 { font-size: 23px; margin: 12px 0 8px; }
.pillar p { color: var(--c-text-muted); font-size: 15.5px; }
@media (max-width: 820px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Workflow diagram ---------- */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 960px; margin: 0 auto; position: relative; }
.flow__node { background: #fff; border: 1.5px solid var(--c-border); border-radius: var(--radius); padding: 22px 20px; cursor: default; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease; position: relative; text-align: left; font-family: inherit; }
.flow__node:hover, .flow__node.is-active { border-color: var(--c-primary); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.flow__node[data-core="1"] { background: var(--c-primary); border-color: var(--c-primary); color: #fff; grid-column: 2; }
.flow__node[data-core="1"] h4 { color: #fff; }
.flow__node[data-core="1"] p { color: rgba(255,255,255,.78); }
.flow__icon { width: 38px; height: 38px; border-radius: 10px; background: var(--c-primary-soft); display: grid; place-items: center; margin-bottom: 14px; font-family: var(--font-display); font-weight: 700; color: var(--c-primary); font-size: 15px; }
.flow__node[data-core="1"] .flow__icon { background: rgba(255,255,255,.16); color: #fff; }
.flow__node h4 { font-size: 18px; }
.flow__node p { font-size: 13px; color: var(--c-text-muted); margin-top: 5px; line-height: 1.45; }
.flow__hint { text-align: center; margin-top: 28px; color: var(--c-text-muted); font-size: 14px; }
.flow__node.is-linked { border-color: var(--c-accent); background: var(--c-accent-soft); }
@media (max-width: 760px) { .flow { grid-template-columns: repeat(2, 1fr); } .flow__node[data-core="1"] { grid-column: 1 / -1; } }
@media (max-width: 460px) { .flow { grid-template-columns: 1fr; } }

/* ---------- AppStore ---------- */
.apps__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.apps__filters { display: flex; flex-wrap: wrap; gap: 6px; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 999px; padding: 5px; }
.filter { font-family: var(--font-body); font-weight: 600; font-size: 13.5px; padding: 8px 16px; border-radius: 999px; border: 0; background: transparent; color: var(--c-text-muted); cursor: pointer; transition: background .16s ease, color .16s ease; }
.filter:hover { color: var(--c-primary); }
.filter.is-active { background: #fff; color: var(--c-primary); box-shadow: 0 1px 3px rgba(var(--c-primary-rgb), .14); }
.apps__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* --row: one horizontal line instead of a grid (landing page only — the full
   AppStore directory keeps the grid). Fixed tile width so the row always
   overflows and reads as scrollable. The mask fades whichever end has more
   content behind it; forge.js sets --fade-l/--fade-r as you scroll, so the
   fog disappears once you actually reach an end. */
.apps__grid--row { display: flex; --fade-l: 0px; --fade-r: 90px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; padding: 4px 0 14px; margin-top: -4px; scrollbar-width: thin; scrollbar-color: rgba(var(--c-primary-rgb), .35) transparent; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%); transition: -webkit-mask-image .2s linear, mask-image .2s linear; }
.apps__grid--row::-webkit-scrollbar { height: 8px; }
.apps__grid--row::-webkit-scrollbar-track { background: var(--c-surface); border-radius: 999px; }
.apps__grid--row::-webkit-scrollbar-thumb { background: rgba(var(--c-primary-rgb), .3); border-radius: 999px; }
.apps__grid--row::-webkit-scrollbar-thumb:hover { background: rgba(var(--c-primary-rgb), .5); }
.apps__grid--row .app-tile { flex: 0 0 264px; scroll-snap-align: start; }
.app-tile { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 10px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.app-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(var(--c-primary-rgb), .28); }
.app-tile__top { display: flex; align-items: center; justify-content: flex-start; gap: 12px; }
.app-logo { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .02em; flex: none; }
.app-logo i { font-size: 16px; line-height: 1; }
.app-logo--t1 { background: var(--c-primary-soft); color: var(--c-primary); }
.app-logo--t2 { background: var(--c-accent-soft); color: var(--c-accent-hover); }
.app-logo--t3 { background: #E3F3EA; color: var(--c-green); }
.app-logo--t4 { background: var(--c-surface); color: var(--c-text-muted); box-shadow: inset 0 0 0 1px var(--c-border); }
.app-tile__name { font-family: var(--font-display); font-weight: 600; font-size: 15.5px; line-height: 1.25; }
.app-tile__cat { font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--c-text-muted); }
.app-tile__desc { font-size: 13px; line-height: 1.5; color: var(--c-text-muted); flex: 1; }
.app-tile__foot { margin-top: auto; padding-top: 6px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.app-tile__tags { display: flex; flex-wrap: wrap; gap: 5px; }
.app-tile__tag { font-size: 10px; font-weight: 600; letter-spacing: .03em; padding: 3px 8px; border-radius: 999px; background: var(--c-surface); border: 1px solid var(--c-border); color: var(--c-text-muted); white-space: nowrap; }
.app-check { width: 18px; height: 18px; flex: none; border-radius: 5px; background: var(--c-green); color: #fff; display: grid; place-items: center; font-size: 10px; }
.apps__more { text-align: center; margin-top: 36px; }
@media (max-width: 900px) { .apps__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .apps__grid { grid-template-columns: repeat(2, 1fr); } .apps__grid--row .app-tile { flex-basis: 232px; } }

/* ---------- Media placeholder ---------- */
.media-ph { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-border); background: repeating-linear-gradient(135deg, rgba(var(--c-primary-rgb), .05) 0 14px, rgba(var(--c-primary-rgb), 0) 14px 28px), var(--c-surface); display: grid; place-items: center; text-align: center; }
.media-ph__inner { padding: 28px; }
.media-ph__play { width: 76px; height: 76px; border-radius: 50%; background: var(--c-primary); display: grid; place-items: center; margin: 0 auto 18px; box-shadow: var(--shadow-md); transition: transform .2s ease; cursor: pointer; }
.media-ph__play::before { content: ""; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent #fff; margin-left: 5px; }
.media-ph:hover .media-ph__play { transform: scale(1.06); }
.media-ph__label { font-family: 'Space Grotesk', monospace; font-weight: 600; color: var(--c-primary); font-size: 15px; }
.media-ph__sub { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 12.5px; color: var(--c-text-muted); margin-top: 6px; letter-spacing: .02em; }
.ratio-16-9 { aspect-ratio: 16 / 9; }

/* Product videos sit in the same frame the placeholders used. */
.media-vid { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--c-border); box-shadow: var(--shadow-md); background: var(--c-surface); }
.media-vid__cap { margin-top: 12px; font-size: 13.5px; color: var(--c-text-muted); text-align: center; }
.ratio-4-3 { aspect-ratio: 4 / 3; }
.ratio-1-1 { aspect-ratio: 1 / 1; }

/* ---------- Extensibility ---------- */
.ext__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.ext h2 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.08; }
.ext h2 .now { color: var(--c-accent); }
.ext__sub { margin-top: 22px; color: var(--c-text-muted); font-size: 18px; line-height: 1.55; }
.ext__steps { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.ext__steps span { font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: var(--c-primary-soft); color: var(--c-primary); }
@media (max-width: 880px) { .ext__inner { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Mobile app ---------- */
.mapp__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.mapp__list { margin-top: 28px; display: grid; gap: 18px; }
.feat { display: flex; gap: 14px; }
.feat__mark { width: 30px; height: 30px; border-radius: 8px; background: var(--c-accent-soft); color: var(--c-accent-hover); display: grid; place-items: center; flex: none; font-weight: 700; }
.feat h4 { font-size: 17px; }
.feat p { color: var(--c-text-muted); font-size: 14.5px; margin-top: 3px; }
.phone-wrap { display: flex; justify-content: center; }
.phone { width: 290px; background: #1C0508; border-radius: 40px; padding: 11px; box-shadow: var(--shadow-lg); }
.phone__screen { background: var(--c-surface); border-radius: 30px; overflow: hidden; position: relative; aspect-ratio: 9 / 19; }
.phone__notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 130px; height: 26px; background: #1C0508; border-radius: 0 0 16px 16px; z-index: 3; }
.phone__top { padding: 38px 18px 14px; background: var(--c-primary); color: #fff; }
.phone__top .greet { font-size: 12px; opacity: .8; }
.phone__top .name { font-family: var(--font-display); font-weight: 700; font-size: 19px; margin-top: 2px; }
.phone__card { margin: 14px; background: #fff; border-radius: 14px; padding: 14px; box-shadow: var(--shadow-sm); }
.phone__card .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--c-text-muted); font-weight: 700; }
.phone__card .load { font-family: var(--font-display); font-weight: 700; color: var(--c-primary); font-size: 17px; margin: 4px 0 2px; }
.phone__card .rt { font-size: 13px; color: var(--c-text-muted); }
.phone__scan { margin: 0 14px; background: var(--c-accent); color: #fff; border-radius: 14px; padding: 16px; display: flex; align-items: center; gap: 12px; }
.phone__scan .ic { width: 36px; height: 36px; border: 2.5px solid #fff; border-radius: 8px; flex: none; position: relative; }
.phone__scan .ic::before { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 2px; background: #fff; }
.phone__scan b { font-family: var(--font-display); font-size: 15px; display: block; }
.phone__scan span { font-size: 12px; opacity: .9; }
.phone__nav { position: absolute; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--c-border); display: flex; justify-content: space-around; padding: 8px 0 14px; z-index: 4; }
.phone__tab { background: none; border: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 10px; font-family: var(--font-body); font-size: 9.5px; font-weight: 600; color: var(--c-text-muted); line-height: 1; }
.phone__tab .ico { width: 20px; height: 20px; }
.phone__tab:hover { color: var(--c-primary); }
.phone__tab[aria-selected="true"] { color: var(--c-primary); }
.phone__tab:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.phone__views { position: absolute; inset: 0 0 66px; overflow: hidden; }
.phone__view { position: absolute; inset: 0; overflow: hidden; opacity: 0; visibility: hidden; transform: translateX(12px); transition: opacity .28s ease, transform .32s cubic-bezier(.22,.75,.28,1); }
.phone__view[data-active="true"] { opacity: 1; visibility: visible; transform: none; }
.phone__head { padding: 38px 18px 14px; background: var(--c-primary); color: #fff; }
.phone__head .greet { font-size: 12px; opacity: .8; }
.phone__head .name { font-family: var(--font-display); font-weight: 700; font-size: 19px; margin-top: 2px; }
.phone__body { padding: 14px; display: grid; gap: 10px; }
.phone__row { background: #fff; border-radius: 12px; padding: 11px 12px; box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 10px; }
.phone__row .st { width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--c-border); }
.phone__row .st--done { background: var(--c-green); }
.phone__row .st--now { background: var(--c-accent); box-shadow: 0 0 0 3px var(--c-accent-soft); }
.phone__row b { font-family: var(--font-display); font-size: 13.5px; display: block; }
.phone__row em { font-style: normal; font-size: 11.5px; color: var(--c-text-muted); }
.phone__row .rt { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--c-text-muted); flex: none; }
.phone__frame { margin: 14px; aspect-ratio: 4/3; border-radius: 14px; background: #1C0508; position: relative; overflow: hidden; }
.phone__frame::before { content: ""; position: absolute; inset: 14px; border: 2px solid rgba(255,255,255,.5); border-radius: 8px; }
.phone__frame::after { content: ""; position: absolute; left: 14px; right: 14px; height: 2px; background: var(--c-accent); box-shadow: 0 0 12px var(--c-accent); animation: phScan 2.6s ease-in-out infinite; }
@keyframes phScan { 0%,100% { top: 18px; } 50% { top: calc(100% - 20px); } }
.phone__grab { margin: 0 14px; background: #fff; border-radius: 12px; padding: 12px; box-shadow: var(--shadow-sm); display: grid; gap: 7px; }
.phone__grab div { display: flex; justify-content: space-between; font-size: 11.5px; }
.phone__grab span:first-child { color: var(--c-text-muted); }
.phone__grab span:last-child { font-family: var(--font-display); font-weight: 700; color: var(--c-primary); }
.phone__doc { background: #fff; border-radius: 12px; padding: 10px 12px; box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 10px; }
.phone__doc .dt { width: 30px; height: 30px; border-radius: 8px; background: var(--c-primary-soft); color: var(--c-primary); display: grid; place-items: center; flex: none; font-size: 9px; font-weight: 700; }
.phone__doc b { font-family: var(--font-display); font-size: 13px; display: block; }
.phone__doc em { font-style: normal; font-size: 11px; color: var(--c-text-muted); }
.phone__doc .ok { margin-left: auto; font-size: 10.5px; font-weight: 700; color: var(--c-green); flex: none; }
@media (prefers-reduced-motion: reduce) { .phone__frame::after { animation: none; top: 50%; } .phone__view { transition: none; } }
@media (max-width: 880px) { .mapp__inner { grid-template-columns: 1fr; gap: 44px; } .mapp .phone-wrap { order: -1; } }

/* ---------- Doc scanning ---------- */
.scan__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.scan__flow { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-md); }
.scan__doc { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px dashed var(--c-border); border-radius: 12px; margin-bottom: 14px; }
.scan__doc .pg { width: 40px; height: 50px; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 6px; flex: none; position: relative; }
.scan__doc .pg::before, .scan__doc .pg::after { content: ""; position: absolute; left: 7px; right: 7px; height: 3px; background: var(--c-border); border-radius: 2px; }
.scan__doc .pg::before { top: 12px; } .scan__doc .pg::after { top: 22px; }
.scan__doc b { font-family: var(--font-display); font-size: 14px; } .scan__doc span { font-size: 12.5px; color: var(--c-text-muted); }
.scan__arrow { text-align: center; color: var(--c-accent); font-weight: 700; margin: 6px 0 14px; }
.scan__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.scan__field { background: var(--c-surface); border-radius: 8px; padding: 10px 12px; }
.scan__field .k { font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--c-text-muted); font-weight: 700; }
.scan__field .v { font-family: var(--font-display); font-weight: 600; font-size: 14px; margin-top: 2px; color: var(--c-primary); }
.scan__save { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; background: var(--c-primary-soft); border-radius: 999px; padding: 12px 22px; }
.scan__save b { font-family: var(--font-display); font-size: 20px; color: var(--c-primary); }
.scan__save span { font-size: 14px; color: var(--c-text); }
@media (max-width: 880px) { .scan__inner { grid-template-columns: 1fr; gap: 40px; } .scan .scan__flow { order: 2; } }

/* ---------- Modules grid (home) ---------- */
.modules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.module { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 30px; transition: transform .2s ease, box-shadow .2s ease; display: block; color: inherit; }
.module:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.module__num { width: 44px; height: 44px; border-radius: 50%; background: var(--c-primary); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 18px; margin-bottom: 18px; }
.module h3 { font-size: 22px; display: inline-flex; align-items: center; gap: 8px; } .module p { margin-top: 10px; color: var(--c-text-muted); font-size: 15px; line-height: 1.55; }
.module .more { margin-top: 16px; font-weight: 600; font-size: 14px; color: var(--c-primary); display: inline-flex; gap: 6px; }
.module .more::after { content: "→"; transition: transform .15s ease; } .module:hover .more::after { transform: translateX(3px); }
@media (max-width: 720px) { .modules { grid-template-columns: 1fr; } }

/* ---------- Partners ---------- */
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.partner { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.partner__tag { font-family: var(--font-display); font-weight: 700; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--c-accent); }
.partner h3 { font-size: 20px; margin: 10px 0 8px; }
.partner p { color: var(--c-text-muted); font-size: 14.5px; flex: 1; }
.partner a { font-weight: 600; font-size: 14.5px; margin-top: 18px; display: inline-flex; align-items: center; gap: 6px; }
.partner a::after { content: "→"; transition: transform .15s ease; } .partner a:hover::after { transform: translateX(3px); }
.logostrip { margin-top: 48px; }
.logostrip__label { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--c-text-muted); margin-bottom: 22px; }
.logostrip__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.logo-ph { height: 46px; min-width: 120px; flex: 0 0 auto; border: 1px dashed var(--c-border); border-radius: 10px; display: grid; place-items: center; font-family: ui-monospace, monospace; font-size: 12px; color: var(--c-text-muted); padding: 0 18px; background: var(--c-surface); }
@media (max-width: 820px) { .partners { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card { background: #fff; border: 1.5px solid var(--c-border); border-radius: 18px; padding: 32px; position: relative; transition: transform .2s ease, box-shadow .2s ease; }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card.is-featured { background: var(--c-primary-soft); border-color: var(--c-primary); box-shadow: var(--shadow-lg); }
.price-card__badge { position: absolute; top: -13px; right: 24px; background: var(--c-accent); color: #fff; font-weight: 700; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.price-card__name { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--c-primary); }
.price-card__pos { font-size: 14px; color: var(--c-text-muted); margin-top: 6px; min-height: 42px; }
.price-card__price { margin: 20px 0 4px; font-family: var(--font-display); font-weight: 700; font-size: 34px; color: var(--c-text); }
.price-card__price small { font-size: 15px; font-weight: 500; color: var(--c-text-muted); }
.price-card__list { margin: 22px 0 26px; display: grid; gap: 12px; }
.price-card__list li { display: flex; gap: 10px; font-size: 14.5px; color: var(--c-text); }
.price-card__list li::before { content: ""; width: 18px; height: 18px; flex: none; margin-top: 1px; background-color: var(--c-primary); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='9' fill='%23000' opacity='.16'/%3E%3Cpath d='M4.5 9.2l2.6 2.6 6-6.2' stroke='%23000' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='9' fill='%23000' opacity='.16'/%3E%3Cpath d='M4.5 9.2l2.6 2.6 6-6.2' stroke='%23000' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.price-card .btn { width: 100%; }
@media (max-width: 880px) { .pricing { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* ---------- Comparison table ---------- */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--c-border); border-radius: var(--radius); background: #fff; }
.cmp { width: 100%; border-collapse: collapse; min-width: 640px; }
.cmp th, .cmp td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--c-border); font-size: 15px; vertical-align: middle; }
.cmp tr:last-child td { border-bottom: none; }
.cmp thead th { font-family: var(--font-display); font-size: 15px; background: var(--c-surface); }
.cmp thead .col-forge { color: var(--c-primary); }
.cmp td:first-child, .cmp th:first-child { font-weight: 600; color: var(--c-text); width: 36%; }
.cmp .col-forge { background: var(--c-primary-soft); text-align: center; }
.cmp .col-other { text-align: center; color: var(--c-text-muted); }
.cmp thead .col-forge, .cmp thead .col-other { text-align: center; }
.cmp .yes { color: var(--c-green); font-weight: 700; font-size: 18px; }
.cmp .no { color: var(--c-text-muted); font-size: 18px; }
.cmp__note { font-size: 13px; color: var(--c-text-muted); margin-top: 14px; text-align: center; }

/* ---------- Changelog / timeline ---------- */
.timeline { max-width: 800px; margin: 0 auto; }
.release { display: grid; grid-template-columns: 160px 1fr; gap: 32px; padding: 34px 0; border-top: 1px solid var(--c-border); }
.release:first-child { border-top: none; padding-top: 0; }
.release__meta .date { font-size: 13px; color: var(--c-text-muted); }
.release__meta .ver { display: inline-block; margin-top: 8px; font-family: var(--font-display); font-weight: 700; background: var(--c-primary-soft); color: var(--c-primary); padding: 4px 12px; border-radius: 999px; font-size: 13px; }
.release__body h3 { font-size: 21px; margin-bottom: 14px; }
.release__body ul { display: grid; gap: 10px; }
.release__body li { position: relative; padding-left: 4px; color: var(--c-text-muted); line-height: 1.5; font-size: 15px; }
.tag { display: inline-block; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 3px 8px; border-radius: 6px; margin-right: 10px; vertical-align: middle; }
.tag--new { background: #E3F3EA; color: var(--c-green); }
.tag--improved { background: var(--c-accent-soft); color: var(--c-accent-hover); }
.tag--fixed { background: var(--c-primary-soft); color: var(--c-primary); }
@media (max-width: 680px) { .release { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.member__photo { aspect-ratio: 1; border-radius: var(--radius); background: repeating-linear-gradient(135deg, rgba(var(--c-primary-rgb), .05) 0 14px, rgba(var(--c-primary-rgb), 0) 14px 28px), var(--c-surface); border: 1px solid var(--c-border); display: grid; place-items: center; font-family: ui-monospace, monospace; font-size: 11px; color: var(--c-text-muted); }
.member h4 { margin-top: 16px; font-size: 17px; }
.member span { font-size: 13.5px; color: var(--c-text-muted); display: block; margin-top: 2px; }
@media (max-width: 820px) { .team { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { display: flex; flex-direction: column; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; background: #fff; transition: transform .2s ease, box-shadow .2s ease; color: inherit; }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post__img { aspect-ratio: 16 / 10; border: none; border-radius: 0; border-bottom: 1px solid var(--c-border); }
.post__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post__cat { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--c-accent); }
.post h3 { font-size: 19px; margin: 10px 0 10px; line-height: 1.25; }
.post p { color: var(--c-text-muted); font-size: 14.5px; line-height: 1.55; flex: 1; }
.post__meta { margin-top: 18px; font-size: 13px; color: var(--c-text-muted); display: flex; gap: 10px; align-items: center; }
.post__meta .sep { opacity: .45; }
.post--feature { grid-column: 1 / -1; flex-direction: row; }
.post--feature .post__img { aspect-ratio: auto; width: 48%; border-bottom: none; border-right: 1px solid var(--c-border); }
.post--feature .post__body { padding: 40px; justify-content: center; }
.post--feature h3 { font-size: clamp(24px, 3vw, 32px); }
.post--feature p { font-size: 16px; flex: none; }
@media (max-width: 900px) { .posts { grid-template-columns: repeat(2, 1fr); } .post--feature { flex-direction: column; } .post--feature .post__img { width: 100%; border-right: none; border-bottom: 1px solid var(--c-border); aspect-ratio: 16/9; } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }
.posts--three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .posts--three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .posts--three { grid-template-columns: 1fr; } }

/* ---------- Prose (legal + articles) ---------- */
.prose { max-width: 760px; }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-size: 26px; margin-top: 44px; }
.prose h3 { font-size: 19px; margin-top: 30px; }
.prose p, .prose li { color: var(--c-prose); font-size: 16.5px; line-height: 1.75; }
.prose ul { display: grid; gap: 10px; margin-top: 14px; }
.prose li { position: relative; padding-left: 22px; }
.prose li::before { content: ""; position: absolute; left: 0; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--c-accent); }
.prose a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 2px; }
.prose blockquote { border-left: 3px solid var(--c-accent); padding: 6px 0 6px 22px; margin: 24px 0; font-family: var(--font-display); font-size: 20px; font-weight: 500; color: var(--c-text); }
.prose strong { color: var(--c-text); }
.prose__lead { font-size: 19px !important; color: var(--c-text-muted) !important; line-height: 1.6 !important; }

/* ---------- Social proof ---------- */
.proof { text-align: center; }
.proof__quote { max-width: 860px; margin: 0 auto; }
.proof__quote blockquote { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 3.6vw, 38px); line-height: 1.25; color: var(--c-text); margin: 0; letter-spacing: -.02em; }
.proof__quote blockquote::before { content: "\201C"; color: var(--c-accent); }
.proof__quote blockquote::after { content: "\201D"; color: var(--c-accent); }
.proof__cite { margin-top: 26px; display: flex; align-items: center; justify-content: center; gap: 14px; }
.proof__cite .ava { width: 50px; height: 50px; border-radius: 50%; background: var(--c-primary-soft); border: 1px dashed var(--c-border); }
.proof__cite .who { text-align: left; }
.proof__cite .who b { font-family: var(--font-display); display: block; font-size: 15px; }
.proof__cite .who span { font-size: 13px; color: var(--c-text-muted); }
.proof__logos { margin-top: 50px; }
.proof__note { margin-top: 14px; font-family: ui-monospace, monospace; font-size: 12px; color: var(--c-text-muted); }

/* ---------- About split ---------- */
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about p { font-size: 17px; color: var(--c-text-muted); line-height: 1.65; }
.about p + p { margin-top: 18px; }
.about .media-ph { aspect-ratio: 4 / 3; }
@media (max-width: 820px) { .about__inner { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--c-border); }
.faq__q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--c-text); }
.faq__q:hover { color: var(--c-primary); }
.faq__icon { width: 26px; height: 26px; flex: none; position: relative; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--c-primary); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.faq__icon::before { left: 4px; right: 4px; top: 12px; height: 2px; }
.faq__icon::after { top: 4px; bottom: 4px; left: 12px; width: 2px; }
.faq__item.is-open .faq__icon::after { transform: scaleY(0); opacity: 0; }
.faq__a { overflow: hidden; max-height: 0; transition: max-height .28s ease; }
.faq__a p { color: var(--c-text-muted); font-size: 15.5px; line-height: 1.6; padding: 0 50px 24px 0; }

/* ---------- Final CTA band ---------- */
.final { background: var(--c-primary); color: #fff; text-align: center; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; top: -180px; right: -120px; width: 460px; height: 460px; background: radial-gradient(circle, rgba(var(--c-accent-rgb), .32), transparent 62%); }
.final::after { content: ""; position: absolute; bottom: -200px; left: -140px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(255,255,255,.1), transparent 64%); }
.final__inner { position: relative; }
.final h2 { font-size: clamp(32px, 5vw, 54px); color: #fff; }
.final p { margin: 20px auto 0; max-width: 560px; font-size: 18px; color: rgba(255,255,255,.85); }
.final__cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.final .btn--accent:hover { background: #fff; color: var(--c-primary); }
.final .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.final .btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ---------- Dark band ----------
   forge.js adds .predark to every .section--dark at load, then removes it the
   first time the band enters the viewport, so it fades from the page bg to
   dark as the visitor scrolls. The gradient stops are registered custom
   properties so they can transition; browsers without @property (and no-JS /
   reduced-motion visitors) just get the band dark from the start. */
@property --dk-a { syntax: '<color>'; inherits: false; initial-value: #1B2C3C; }
@property --dk-b { syntax: '<color>'; inherits: false; initial-value: #172533; }
.section--dark { position: relative; overflow: hidden; color: #fff; --dk-a: #1B2C3C; --dk-b: #172533; background: linear-gradient(180deg, var(--dk-a, #1B2C3C) 0%, var(--dk-b, #172533) 100%); transition: --dk-a 1.1s ease, --dk-b 1.1s ease; }
.section--dark::before { content: ""; position: absolute; top: -220px; left: -160px; width: 560px; height: 560px; background: radial-gradient(circle, rgba(var(--c-accent-rgb), .26), transparent 62%); pointer-events: none; transition: opacity 1.1s ease; }
.section--dark::after { content: ""; position: absolute; bottom: -240px; right: -140px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(var(--c-primary-rgb), .9), transparent 64%); pointer-events: none; opacity: .55; transition: opacity 1.1s ease; }
.section--dark.predark { --dk-a: rgba(27,44,60,0); --dk-b: rgba(23,37,51,0); }
.section--dark.predark::before, .section--dark.predark::after { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .section--dark, .section--dark::before, .section--dark::after { transition: none; } }
.section--dark .wrap { position: relative; z-index: 1; }
.section--dark .eyebrow { color: #E5C777; }
.section--dark .switch .section-head { margin-bottom: 0; }
.section--dark .section-head h2 { color: #fff; }
.section--dark .section-head p { color: rgba(255,255,255,.78); }
.section--dark .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.section--dark .btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.section--dark .cmp__note { color: rgba(255,255,255,.62); }
.section--dark .cmp__note a { color: #fff; text-decoration: underline; }
.section--dark .checklist li { color: rgba(255,255,255,.9); }
.section--dark .checklist li::before { background-color: #E5C777; }
.section--dark .ext__steps span { background: rgba(255,255,255,.14); color: #fff; }
.section--dark .media-vid__cap { color: rgba(255,255,255,.62); }

.switch { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.switch__points { display: grid; gap: 12px; margin-top: 28px; }
.switch__points li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; color: rgba(255,255,255,.9); }
.switch__points li::before { content: ""; width: 22px; height: 22px; flex: none; margin-top: 1px; border-radius: 7px; background: rgba(var(--c-accent-rgb), .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23E5C777' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.switch__points b { color: #fff; }
.switch__only { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); font-family: var(--font-display); font-weight: 700; font-size: 19px; color: #fff; }
.switch__only em { font-style: normal; color: #E5C777; }
.switch__cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Before/after mock: the old layout, recreated in TMS Forge with the spreadsheets folded in */
.switch__demo { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; }
.switch__pane { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 12px; position: relative; }
.switch__pane--new { background: rgba(255,255,255,.1); border-color: rgba(var(--c-accent-rgb), .55); box-shadow: 0 18px 50px rgba(0,0,0,.28); }
.switch__pane-lbl { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.62); margin-bottom: 10px; }
.switch__pane--new .switch__pane-lbl { color: #fff; }
.switch__badge { font-size: 10px; letter-spacing: .04em; padding: 3px 8px; border-radius: 999px; background: var(--c-accent); color: #fff; }
.switch__ui { display: grid; grid-template-columns: 26px 1fr; gap: 6px; }
.switch__ui i { display: block; border-radius: 4px; background: rgba(255,255,255,.14); }
.switch__ui .top { grid-column: 1 / -1; height: 10px; }
.switch__ui .side { grid-row: 2 / span 4; height: auto; }
.switch__ui .row { height: 12px; }
.switch__pane--new .switch__ui i { background: rgba(255,255,255,.22); }
.switch__pane--new .switch__ui .top { background: rgba(var(--c-accent-rgb), .7); }
.switch__sheets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.switch__sheet { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; padding: 4px 8px; border-radius: 7px; background: rgba(31,138,91,.22); color: #9ADFBC; border: 1px solid rgba(31,138,91,.5); }
.switch__sheet::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: #1F8A5B; }
.switch__pane--new .switch__sheet { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.22); }
.switch__pane--new .switch__sheet::before { background: var(--c-accent); }
.switch__arrow { width: 30px; height: 30px; border-radius: 50%; background: var(--c-accent); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 16px; box-shadow: 0 8px 22px rgba(var(--c-accent-rgb), .4); }
.switch__caption { margin-top: 16px; text-align: center; font-size: 13px; color: rgba(255,255,255,.62); }
@media (max-width: 980px) { .switch { grid-template-columns: 1fr; gap: 44px; } .switch__demo { max-width: 560px; margin: 0 auto; } }
@media (max-width: 480px) { .switch__demo { grid-template-columns: 1fr; } .switch__arrow { margin: 0 auto; transform: rotate(90deg); } }

/* ---------- Footer (injected by forge.js) ---------- */
.footer { background: var(--c-text); color: rgba(255,255,255,.7); padding: 64px 0 32px; }
.footer__top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
/* footer link columns are generated from the nav data, so the count varies */
/* The generated footer always emits exactly four link columns (Product, Platform,
   Resources, Company) — pin the track count so they sit on one row beside the brand. */
.footer__top--gen { grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: 32px 28px; }
@media (max-width: 1080px) { .footer__top--gen { grid-template-columns: 1.4fr repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .footer__top--gen { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__top--gen { grid-template-columns: 1fr; } }
.footer__top--gen .footer__col a { font-size: 13.5px; padding: 5px 0; }
.footer .logo { color: #fff; }
.footer__about { margin-top: 16px; font-size: 14px; max-width: 280px; line-height: 1.6; }
.footer__social { margin-top: 20px; display: flex; gap: 10px; }
.footer__social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 700; transition: background .15s, border-color .15s; }
.footer__social a:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); }
.footer__col h4 { color: #fff; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.footer__col a { display: block; color: rgba(255,255,255,.7); font-size: 14.5px; padding: 6px 0; }
.footer__col a:hover { color: #fff; }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
@media (max-width: 820px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Modal (injected by forge.js) ---------- */
.modal { position: fixed; inset: 0; z-index: 120; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.is-open { display: flex; }
.modal__overlay { position: absolute; inset: 0; background: rgba(28,5,8,.55); backdrop-filter: blur(3px); }
.modal__box { position: relative; background: #fff; border-radius: 18px; max-width: 460px; width: 100%; padding: 36px; box-shadow: var(--shadow-lg); animation: pop .2s ease; }
/* The Google booking grid is a two-column calendar; 460px starves it. */
.modal__box--booking { max-width: 820px; padding: 20px; }
.modal__box--booking iframe { display: block; width: 100%; height: min(640px, 76vh); border: 0; border-radius: 10px; }
@keyframes pop { from { transform: scale(.96) translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal__close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--c-border); background: #fff; cursor: pointer; font-size: 18px; color: var(--c-text-muted); }
.modal__close:hover { color: var(--c-primary); border-color: var(--c-primary); }
.modal h3 { font-size: 24px; color: var(--c-primary); }
.modal p { color: var(--c-text-muted); margin-top: 8px; font-size: 14.5px; }
.modal form { margin-top: 22px; display: grid; gap: 12px; }
.modal label { font-size: 13px; font-weight: 600; }
.modal input, .modal select { width: 100%; padding: 12px 14px; border: 1.5px solid var(--c-border); border-radius: 10px; font-family: var(--font-body); font-size: 15px; margin-top: 5px; }
.modal input:focus, .modal select:focus { border-color: var(--c-primary); outline: none; }
.modal .field-err { color: var(--c-accent-hover); font-size: 12.5px; margin-top: 4px; display: none; }
.modal .field.invalid input, .modal .field.invalid select { border-color: var(--c-accent-hover); }
.modal .field.invalid .field-err { display: block; }
.modal__success { text-align: center; padding: 20px 0; }
.modal__success .ok { width: 64px; height: 64px; border-radius: 50%; background: #E3F3EA; display: grid; place-items: center; margin: 0 auto 18px; }
.modal__success .ok::before { content: ""; width: 22px; height: 12px; border-left: 3px solid var(--c-green); border-bottom: 3px solid var(--c-green); transform: rotate(-45deg) translate(1px,-3px); }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1 !important; transform: none !important; } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ---------- Inline icons ---------- */
.ico { width: 22px; height: 22px; display: block; }
.card__ic .ico { width: 22px; height: 22px; }
.feat__mark .ico { width: 17px; height: 17px; }
.flow__icon .ico { width: 20px; height: 20px; }
.footer__social a .ico { width: 18px; height: 18px; }

/* ---------- Palette explorer (design tool — remove for production) ---------- */

body[data-page="home"] { --sec-pad: 64px; --sec-head-gap: 34px; }


/* Hero stage refresh — driver-app handoff scene, factoring upload, auto-update
   card on the tracking map, and a slightly softer card treatment throughout. */
.stage__viewport { background: linear-gradient(160deg, #F7F9FC, #EAEFF6); }
.scene .sc-doc, .scene .sc-inv, .scene .sc-edi, .scene .sc-fac, .scene .sc-rep, .scene .sc-drv, .scene .board { border-radius: 18px; }
.scene .sc-inv__h b, .scene .sc-doc__h { letter-spacing: .12em; }

.sc-drv { background: #fff; border: 1px solid var(--c-border); border-radius: 18px; box-shadow: var(--shadow-md); padding: 16px; }
.sc-drv__push { display: flex; align-items: center; gap: 11px; margin-top: 14px; padding: 11px 13px; border-radius: 14px; background: var(--c-surface); border: 1px solid var(--c-border); opacity: 0; }
.scene.is-active .sc-drv__push { animation: pushIn .55s cubic-bezier(.2,.9,.3,1.2) .3s both; }
@keyframes pushIn { from { opacity: 0; transform: translateY(-16px) scale(.97); } to { opacity: 1; transform: none; } }
.sc-drv__ic { width: 30px; height: 30px; border-radius: 9px; background: var(--c-primary); color: #fff; display: grid; place-items: center; flex: none; }
.sc-drv__ic .ico { width: 16px; height: 16px; }
.sc-drv__push b { display: block; font-family: var(--font-display); font-size: 13px; color: var(--c-text); }
.sc-drv__push span { font-size: 11px; color: var(--c-text-muted); }
.sc-drv__ack { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 11.5px; font-weight: 700; color: var(--c-green); opacity: 0; }
.scene.is-active .sc-drv__ack { animation: popIn .45s ease 1.1s both; }
.sc-drv__docs { display: flex; gap: 9px; margin-top: 14px; }
.sc-drv__doc { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: 12px; border: 1px dashed var(--c-border); background: var(--c-surface); font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--c-text-muted); opacity: 0; }
.sc-drv__doc .ico { width: 17px; height: 17px; color: var(--c-primary); }
.scene.is-active .sc-drv__doc { animation: docUp .55s cubic-bezier(.22,.75,.28,1) both; }
.scene.is-active .sc-drv__doc:nth-child(1) { animation-delay: 1.7s; }
.scene.is-active .sc-drv__doc:nth-child(2) { animation-delay: 1.95s; }
.scene.is-active .sc-drv__doc:nth-child(3) { animation-delay: 2.2s; }
@keyframes docUp { from { opacity: 0; transform: translateY(18px) scale(.94); } to { opacity: 1; transform: none; } }

.sc-auto { position: absolute; right: 12px; top: 12px; max-width: 58%; background: var(--c-primary); color: #fff; border-radius: 12px; box-shadow: var(--shadow-md); padding: 9px 12px; font-size: 10.5px; opacity: 0; }
.sc-auto b { display: block; font-family: var(--font-display); font-size: 12.5px; }
.scene.is-active .sc-auto { animation: toastUp .5s cubic-bezier(.2,.9,.3,1.2) 3.3s both; }

.sc-fac__up { margin-top: 13px; opacity: 0; }
.sc-fac__up span { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--c-text-muted); margin-bottom: 6px; }
.sc-fac__up i { display: block; height: 6px; border-radius: 4px; background: var(--c-border); position: relative; overflow: hidden; }
.sc-fac__up i::after { content: ""; position: absolute; inset: 0 100% 0 0; background: var(--c-primary); border-radius: 4px; }
.scene.is-active .sc-fac__up { animation: popIn .4s ease 1.75s both; }
.scene.is-active .sc-fac__up i::after { animation: upFill 1.5s cubic-bezier(.4,0,.3,1) 1.9s both; }
@keyframes upFill { to { inset: 0 0 0 0; } }
.sc-static .sc-drv__push, .sc-static .sc-drv__ack, .sc-static .sc-drv__doc, .sc-static .sc-fac__up, .sc-static .sc-auto { opacity: 1; }
