/* FoodFlow website prototype B (Fresh Margin): shared styles.
   Page markup keeps the design's inline styles; this file adds interaction states and the responsive layer. */

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #FAFAF7; color: #132A3B; }
a { color: #1B7B54; }
a:hover { color: #0D706D; }
img, svg { max-width: 100%; }
input, select, button, textarea { font-family: inherit; }
:focus-visible { outline: 3px solid #0D706D; outline-offset: 2px; }
section[id], div[id="top"] { scroll-margin-top: 84px; }

details summary { list-style: none; cursor: pointer; }
details summary::-webkit-details-marker { display: none; }
details[open] .ff-chev { transform: rotate(180deg); }
input[type=range] { accent-color: #1B7B54; width: 100%; height: 28px; margin: 0; }
.ff-mobile input[type=range] { height: 32px; }

@keyframes ffWeightA { 0%, 42% { opacity: 1 } 50%, 92% { opacity: 0 } 100% { opacity: 1 } }
@keyframes ffWeightB { 0%, 42% { opacity: 0 } 50%, 92% { opacity: 1 } 100% { opacity: 0 } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---- interactive states (the design drew these as inline style holes) ---- */
[data-if][hidden], [data-step][hidden] { display: none !important; }
.ff-seg { transition: background .15s, box-shadow .15s, border-color .15s; }
.ff-seg:hover { border-color: #9FB0AA !important; }
.ff-seg[aria-pressed="true"] { background: #FFFFFF !important; border-color: #0D706D !important; box-shadow: 0 14px 28px -16px rgba(19,42,59,0.35) !important; }
.ff-chip { transition: background .12s, color .12s; }
.ff-chip:hover { border-color: #132A3B !important; }
.ff-chip[aria-pressed="true"] { background: #132A3B !important; color: #FFFFFF !important; border-color: #132A3B !important; }
.ff-day:not(:disabled):hover { background: #D3ECE9 !important; }
.ff-day[aria-pressed="true"] { background: #132A3B !important; color: #FFFFFF !important; }
.ff-time:hover { background: #E9F5F4 !important; }
.ff-time[aria-pressed="true"] { background: #132A3B !important; color: #FFFFFF !important; border-color: #132A3B !important; }
button[data-confirm]:not(:disabled) { background: #28BF60 !important; color: #132A3B !important; }
button[data-confirm]:disabled { cursor: not-allowed !important; }
a[style*="background: #28BF60"], button[style*="background: #28BF60"] { transition: filter .15s, transform .15s; }
a[style*="background: #28BF60"]:hover, button[style*="background: #28BF60"]:hover { filter: brightness(0.95); color: #132A3B; }
a[style*="background: #28BF60"]:active { transform: translateY(1px); }
button { color: inherit; }
input:focus-visible, select:focus-visible { outline: 3px solid #0D706D; outline-offset: 2px; }
.ff-field-error { border-color: #B42318 !important; }

/* ---- header: hamburger + drawer ---- */
.ff-burger {
  display: none; width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px; border: 1px solid #D5DCD8;
  background: #FFFFFF; color: #132A3B; align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.ff-drawer { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 60; background: #FAFAF7;
  border-bottom: 1px solid #E3E7E2; box-shadow: 0 28px 40px -24px rgba(19,42,59,0.4); padding: 4px 20px 20px; }
.ff-drawer.is-open { display: block; }
.ff-drawer nav { display: flex; flex-direction: column; }
.ff-drawer nav a { display: flex; align-items: center; min-height: 52px; color: #132A3B; text-decoration: none; font-weight: 600; font-size: 17px; border-bottom: 1px solid #E3E7E2; }
.ff-drawer nav a[aria-current="page"] { color: #0D706D; }
.ff-drawer .ff-drawer-cta { display: flex; align-items: center; justify-content: center; height: 52px; margin-top: 16px; border-radius: 12px; background: #28BF60; color: #132A3B; font-weight: 600; text-decoration: none; }
.ff-drawer .ff-drawer-login { display: flex; align-items: center; justify-content: center; height: 48px; margin-top: 8px; color: #132A3B; font-weight: 500; text-decoration: none; }
.ff-mobile header { position: relative; z-index: 40; }

/* ---- sticky mobile CTA ---- */
.ff-sticky-cta { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; align-items: center; gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,0.97);
  border-top: 1px solid #E3E7E2; box-shadow: 0 -12px 28px -12px rgba(19,42,59,0.3);
  transform: translateY(110%); transition: transform .25s ease; }
.ff-sticky-cta.is-visible { transform: none; }

/* ---- home page: desktop layout vs the designed mobile layout ---- */
.ff-mobile { display: none; }
@media (max-width: 760px) {
  .ff-desktop { display: none; }
  .ff-mobile { display: block; }
  .ff-sticky-cta { display: flex; }
}
@media (min-width: 761px) { .ff-sticky-cta { display: none !important; } }

/* ---- tablet and below (desktop-designed pages) ---- */
@media (max-width: 1023px) {
  .ff-burger { display: inline-flex; }
  header nav[aria-label="Primary"], .ff-login { display: none !important; }
  header > div { justify-content: space-between !important; gap: 16px !important; }
}

@media (max-width: 820px) {
  [style*="padding: 0 32px"] { padding-left: 20px !important; padding-right: 20px !important; }
  [style*="padding: 10px 32px"] { padding-left: 20px !important; padding-right: 20px !important; }
  [style*="padding: 24px 32px"] { padding-left: 20px !important; padding-right: 20px !important; }
  section[style*="padding: 1"] { padding-top: 64px !important; padding-bottom: 64px !important; }
  section[style*="padding: 8"] { padding-top: 56px !important; padding-bottom: 56px !important; }
  section[style*="padding: 9"] { padding-top: 64px !important; padding-bottom: 64px !important; }
  section[style*="padding: 7"] { padding-top: 56px !important; padding-bottom: 56px !important; }
  [style*="padding: 56px"] { padding: 28px 20px !important; }
  [style*="padding: 48px"] { padding: 28px 20px !important; }
  [style*="padding: 40px"] { padding: 24px 20px !important; }
  [style*="padding: 36px"] { padding: 24px 20px !important; }
  [style*="gap: 48px"] { gap: 28px !important; }
  [style*="gap: 56px"] { gap: 32px !important; }
  [style*="min-height: 542px"] { min-height: 0 !important; }
  [style*="border-radius: 32px"] { border-radius: 24px !important; }
  [style*="border-radius: 24px"] { border-radius: 20px !important; }
  h1[style*="font-size: clamp"] { font-size: clamp(34px, 9vw, 48px) !important; }
  /* hero mock cards: let them stack and breathe */
  [style*="margin-top: 96px"], [style*="margin-top: 40px"][style*="max-width: 320px"] { margin-top: 0 !important; }
  [style*="max-width: 320px"][style*="flex: 1 1 280px"], [style*="max-width: 280px"][style*="flex: 1 1 240px"] { max-width: none !important; flex-basis: 100% !important; }
  [style*="flex: 2.2 1 520px"], [style*="flex: 1.7 1 520px"], [style*="flex: 1.3 1 560px"] { flex-basis: 100% !important; }
  [style*="flex: 1 1 380px"], [style*="flex: 1 1 340px"] { flex-basis: 100% !important; max-width: none !important; }
}

/* app-style tables in mock UI: keep columns readable, let the card scroll sideways */
.ff-scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }

@media (max-width: 820px) {
  #ff-flow { order: -1; }
  [style*="flex: "] { min-width: 0 !important; }
}

@media (max-width: 560px) {
  header > div > div[style*="flex-shrink: 0"] { gap: 8px !important; }
  header a[href="book-a-call.html"][style*="height: 44px"] { padding: 0 14px !important; font-size: 14px !important; white-space: nowrap; }
  header a[href="index.html"] img { height: 26px !important; }
  .ff-simple-header > div > div > span { display: none !important; }
  #ff-flow form, #ff-flow > div > div[style*="border-radius: 20px"] { padding: 22px 18px !important; }
  [style*="grid-template-columns: repeat(4, minmax(0, 1fr))"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 560px) {
  h1[style*="font-size: clamp"] { font-size: clamp(30px, 8.4vw, 44px) !important; }
  h1 span[style*="white-space: nowrap"] { white-space: normal !important; }
  /* day-in-the-life timeline: time sits above the content instead of in a 112px column */
  li[style*="112px 28px"] { grid-template-columns: 22px minmax(0, 1fr) !important; gap: 0 12px !important; }
  li[style*="112px 28px"] > span:first-child { grid-column: 2; grid-row: 1; text-align: left !important; padding-top: 14px !important; font-size: 18px !important; }
  li[style*="112px 28px"] > span:nth-child(2) { grid-column: 1; grid-row: 1 / span 2; }
  li[style*="112px 28px"] > span:nth-child(2) > span:first-child { margin-top: 20px !important; }
  li[style*="112px 28px"] > div { grid-column: 2; grid-row: 2; padding-top: 4px !important; }
  [style*="overflow: hidden"][style*="border-radius: 18px"] , [style*="background: #FFFFFF"][style*="font-size: 13px"] { overflow-wrap: anywhere; }
}

/* ---- style tile page ---- */
.page-style p[style*="font-size: 60px"] { font-size: clamp(36px, 9vw, 60px) !important; }
.page-style [style*="padding-top: 6px; border-top: 1px solid #EEF1ED"] { flex-wrap: wrap; }
.page-style [style*="padding: 28px 30px"] { padding: 22px 18px !important; }
.page-style [style*="padding: 36px 40px"] { padding: 24px 20px !important; }
.page-style [style*="grid-template-columns: repeat(auto-fit"] { align-items: start; }

/* ---- print: keep it simple ---- */
@media print { .ff-sticky-cta, .ff-burger, .ff-drawer { display: none !important; } }


/* =====================================================================
   v2 additions: attention + interaction layer, shared section components
   ===================================================================== */
:root { --navy:#132A3B; --teal:#0D706D; --green:#1B7B54; --cta:#28BF60; --orange:#F0981A; --tint:#E9F5F4; --paper:#FAFAF7; --line:#E3E7E2; --muted:#46586A; }

/* scroll progress */
#ff-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 80; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #0D706D, #28BF60 70%, #F0981A); pointer-events: none; }

/* scroll reveal (class added by JS, so no-JS still shows everything) */
.ff-js .x-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.ff-js .x-reveal.is-in { opacity: 1; transform: none; }
.ff-js .x-stagger > * { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.ff-js .x-stagger.is-in > * { opacity: 1; transform: none; }
.ff-js .x-stagger.is-in > *:nth-child(2) { transition-delay: .08s; }
.ff-js .x-stagger.is-in > *:nth-child(3) { transition-delay: .16s; }
.ff-js .x-stagger.is-in > *:nth-child(4) { transition-delay: .24s; }
.ff-js .x-stagger.is-in > *:nth-child(5) { transition-delay: .32s; }

/* shared layout atoms */
.x-wrap { max-width: 1304px; margin: 0 auto; padding: 0 32px; box-sizing: border-box; }
.x-sec { padding: 104px 0; font-family: Montserrat, 'Segoe UI', system-ui, sans-serif; }
.x-white { background: #FFFFFF; border-top: 1px solid #ECEFEA; border-bottom: 1px solid #ECEFEA; }
.x-tint { background: var(--tint); }
.x-navy { background: var(--navy); color: #FFFFFF; position: relative; overflow: hidden; }
.x-eyebrow { margin: 0 0 16px; font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--teal); }
.x-navy .x-eyebrow { color: #7EDCA0; }
.x-h2 { margin: 0; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.1; font-weight: 500; letter-spacing: -.02em; text-wrap: balance; }
.x-lead { margin: 20px 0 0; font-size: 18px; line-height: 1.6; color: #2E4150; max-width: 760px; text-wrap: pretty; }
.x-card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.x-hl { box-shadow: inset 0 -.32em 0 rgba(240,152,26,.45); font-weight: 600; }
.x-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: #F1F4F2; border: 1px solid #C9D2CE; color: #3D4E5B; font-size: 12px; font-weight: 600; }

/* buttons */
.x-btn { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 12px; background: var(--cta); color: var(--navy); font-weight: 600; font-size: 16px; text-decoration: none; box-shadow: 0 8px 18px -8px rgba(27,123,84,.55); transition: transform .15s, filter .15s, box-shadow .15s; white-space: nowrap; }
.x-btn:hover { color: var(--navy); filter: brightness(.96); transform: translateY(-1px); box-shadow: 0 12px 22px -8px rgba(27,123,84,.6); }
.x-btn svg { transition: transform .15s; }
.x-btn:hover svg { transform: translateX(3px); }
.x-btn-ghost { background: #FFFFFF; border: 1.5px solid var(--navy); box-shadow: none; }
.x-btn-ghost:hover { background: #F1F4F2; box-shadow: none; }
.x-pulse { position: relative; }
.x-pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 15px; border: 2px solid var(--cta); opacity: 0; animation: xPulse 2.4s ease-out infinite; pointer-events: none; }
@keyframes xPulse { 0% { opacity: .75; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.09); } }
.x-nudge { animation: xNudge .6s ease; }
@keyframes xNudge { 0%, 100% { transform: none; } 25% { transform: translateY(-3px) scale(1.02); } 55% { transform: translateY(0) scale(1.0); } }
a[data-header-cta].x-pulse::after { inset: -3px; border-radius: 14px; }

/* hover lift on cards */
.x-lift { transition: transform .2s, box-shadow .2s, border-color .2s; }
.x-lift:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -20px rgba(19,42,59,.4); border-color: #B9C8C2; }
#pain-h ~ div > div, #m-pain ~ div { transition: transform .2s, box-shadow .2s; }
#pain-h ~ div > div:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -20px rgba(19,42,59,.4); }

/* CTA band */
.x-bandwrap { padding: 0 0 8px; font-family: Montserrat, 'Segoe UI', system-ui, sans-serif; }
.x-band { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; background: var(--navy); color: #FFFFFF; border-radius: 24px; padding: 34px 40px; margin: 8px 0; }
.x-band::before { content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; background: url(foodflow-mark.svg) center/contain no-repeat; opacity: .07; }
.x-band::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(var(--cta), var(--orange)); }
.x-band-t { margin: 0; font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; letter-spacing: -.015em; line-height: 1.2; position: relative; }
.x-band-s { margin: 8px 0 0; font-size: 16px; color: #C9D6DE; position: relative; max-width: 620px; }
.x-band .x-btn { position: relative; }

/* why now */
.x-why-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.x-why-card { display: flex; flex-direction: column; gap: 14px; padding: 30px; background: var(--paper); }
.x-why-card p { margin: 0; font-size: 16px; line-height: 1.65; color: #2E4150; }
.x-why-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--teal); text-transform: uppercase; }
.x-why-tag i { width: 26px; height: 26px; border-radius: 8px; background: var(--tint); display: inline-flex; align-items: center; justify-content: center; font-style: normal; color: var(--teal); }
.x-why-call { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; background: var(--tint); border: 1px solid #BFE1DE; border-radius: 20px; padding: 30px 36px; }
.x-why-call p { margin: 0; font-size: clamp(19px, 1.8vw, 24px); font-weight: 500; line-height: 1.4; letter-spacing: -.01em; max-width: 780px; }

/* it fits bars */
.x-fit { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.x-fitbars { display: flex; flex-direction: column; gap: 22px; padding: 30px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 48px -28px rgba(19,42,59,.35); }
.x-fitrow > span { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.x-fitrow > span em { font-style: normal; color: var(--muted); font-weight: 500; }
.x-bar { display: flex; height: 38px; border-radius: 10px; overflow: hidden; background: #EEF1ED; }
.x-bar b { display: flex; align-items: center; padding: 0 12px; font-size: 12px; font-weight: 700; white-space: nowrap; width: 0; transition: width 1.1s cubic-bezier(.2,.7,.2,1); }
.x-bar .a { background: #9FB0AA; color: #FFFFFF; }
.x-bar .b { background: repeating-linear-gradient(135deg, #F7C26B 0 8px, #F0981A 8px 16px); color: #3F2400; }
.x-bar .c { background: linear-gradient(90deg, #0D706D, #1B7B54); color: #FFFFFF; }
.x-fitbars.is-in .a { width: 80%; } .x-fitbars.is-in .b { width: 20%; } .x-fitbars.is-in .c { width: 100%; }
html:not(.ff-js) .x-bar .a { width: 80%; } html:not(.ff-js) .x-bar .b { width: 20%; } html:not(.ff-js) .x-bar .c { width: 100%; }
.x-fitnote { margin: 0; font-size: 12px; color: var(--muted); }
.x-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.x-tags span { padding: 7px 14px; border-radius: 999px; background: #FFFFFF; border: 1px solid #C9D2CE; font-size: 14px; font-weight: 600; }

/* it keeps fitting */
.x-keep-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.x-keep-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.x-keep-vs .x-card { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.x-keep-vs h3 { margin: 0; font-size: 17px; font-weight: 600; }
.x-keep-vs ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.x-keep-vs li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.x-keep-vs li svg { flex-shrink: 0; margin-top: 2px; }
.x-keep-old { background: #F3F4EF; }
.x-keep-old li { color: var(--muted); }
.x-keep-new { border: 2px solid var(--teal); }

/* steps */
.x-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
.x-steps li { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px 20px; }
.x-steps .n { align-self: flex-start; font-size: 30px; font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; box-shadow: inset 0 -.28em 0 rgba(240,152,26,.45); }
.x-steps .t { font-size: 19px; font-weight: 600; }
.x-steps .d { font-size: 14px; line-height: 1.55; color: var(--muted); }
.x-steps li:not(:last-child)::after { content: ""; position: absolute; top: 44px; right: -15px; width: 16px; height: 2px; background: #BFCAC5; }
.x-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; margin-bottom: 44px; }
.x-head .x-lead { margin-top: 16px; }

/* integrations */
.x-int { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; max-width: 760px; }
.x-int .x-card { display: flex; flex-direction: column; gap: 6px; padding: 24px; }
.x-int .x-card b { font-size: 20px; font-weight: 600; }
.x-int .x-card span { font-size: 14px; color: var(--muted); }

/* coming next */
.x-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.x-fchip { font-family: inherit; cursor: pointer; height: 42px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--navy); background: #FFFFFF; color: var(--navy); font-size: 14px; font-weight: 600; transition: background .12s, color .12s; }
.x-fchip:hover { background: #F1F4F2; }
.x-fchip[aria-pressed="true"] { background: var(--navy); color: #FFFFFF; }
.x-next-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.x-next-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 14px; transition: transform .2s, box-shadow .2s; }
.x-next-card:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -20px rgba(19,42,59,.35); }
.x-next-card[hidden] { display: none; }
.x-next-card h3 { margin: 0; font-size: 18px; font-weight: 600; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.x-next-card h3 small { font-size: 12px; font-weight: 600; color: var(--muted); padding: 2px 9px; border-radius: 999px; background: #FFFFFF; border: 1px solid #C9D2CE; }
.x-next-card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: 15px; }
.x-next-card li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.x-next-card li::before { content: ""; flex-shrink: 0; width: 9px; height: 9px; margin-top: 6px; border-radius: 50%; border: 1.6px dashed #6F8A82; }
.x-next-note { margin: 28px 0 0; font-size: 14px; color: var(--muted); display: flex; gap: 10px; align-items: center; }
.x-acc { display: none; }
.x-acc details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 0 16px; }
.x-acc summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; font-weight: 600; font-size: 16px; }
.x-acc ul { margin: 0 0 16px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.x-acc li { display: flex; gap: 10px; line-height: 1.4; } .x-acc li::before { content: ""; flex-shrink: 0; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; border: 1.6px dashed #6F8A82; }

/* security */
.x-sec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; position: relative; }
.x-sec-card { background: #1B3A4A; border: 1px solid #315267; border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.x-sec-card b { font-size: 20px; font-weight: 600; }
.x-sec-card span { font-size: 15px; line-height: 1.55; color: #C9D6DE; }
.x-navy .x-link { color: #FFFFFF; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }

/* pricing teaser + pricing page */
.x-price-tease { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; background: #FFFFFF; border: 1px solid var(--line); border-radius: 24px; padding: 44px 48px; }
.x-trio { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.x-trio span { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--tint); font-size: 14px; font-weight: 600; color: #0B5E5B; }
.x-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.x-two .x-card { display: flex; flex-direction: column; gap: 12px; padding: 34px; }
.x-two h3 { margin: 0; font-size: 24px; font-weight: 500; letter-spacing: -.01em; }
.x-two p { margin: 0; font-size: 16px; line-height: 1.65; color: #2E4150; }
.x-incl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 12px; }
.x-incl li { display: flex; gap: 12px; align-items: center; background: #FFFFFF; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; font-weight: 600; font-size: 15px; }
.x-incl li span { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--tint); color: var(--teal); display: inline-flex; align-items: center; justify-content: center; }
.x-covers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.x-covers li { display: flex; flex-direction: column; gap: 8px; padding: 26px; }
.x-covers b { font-size: 18px; font-weight: 600; } .x-covers span { font-size: 15px; color: var(--muted); line-height: 1.55; }
.x-dots { display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); gap: 6px; }
.x-dots span { aspect-ratio: 1; border-radius: 50%; background: #C9D2CE; }
.x-dots.on span { background: var(--teal); }
.x-dots.on span.x-new { background: var(--cta); outline: 2px solid var(--cta); outline-offset: 2px; }
.x-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.x-vs .x-card { padding: 32px; display: flex; flex-direction: column; gap: 20px; border-radius: 20px; }
.x-vs .big { margin: 0; font-size: 20px; font-weight: 500; }
.x-vs .small { margin: 0; font-size: 14px; color: var(--muted); }

/* FAQ */
.x-faq { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.x-faq-l { flex: 1 1 300px; max-width: 400px; }
.x-faq-r { flex: 2 1 560px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.x-faq details { background: #FFFFFF; border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; transition: box-shadow .2s, border-color .2s; }
.x-faq details[open] { border-color: #9FCFCB; box-shadow: 0 14px 28px -20px rgba(19,42,59,.35); }
.x-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: 17px; font-weight: 600; }
.x-faq details p { margin: 0 0 22px; font-size: 16px; color: var(--muted); line-height: 1.65; }
.x-faq a { color: var(--green); font-weight: 600; }

/* final CTA */
.x-final { position: relative; overflow: hidden; background: var(--tint); border-radius: 32px; padding: 88px 48px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.x-final h2 { position: relative; margin: 0; max-width: 860px; font-size: clamp(36px, 4.4vw, 64px); line-height: 1.06; font-weight: 500; letter-spacing: -.025em; text-wrap: balance; }
.x-final p { position: relative; margin: 8px 0 0; max-width: 640px; font-size: 19px; color: #2E4150; }
.x-final-row { position: relative; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.x-micro { position: relative; font-size: 13px; font-weight: 600; color: #2E4150; display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; }
.x-micro i { width: 4px; height: 4px; border-radius: 50%; background: #2E4150; display: inline-block; }

/* hero microcopy */
.x-hero-micro { margin: 14px 0 0; font-size: 14px; font-weight: 600; color: #0B5E5B; display: flex; gap: 8px; justify-content: center; align-items: center; }
.x-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cta); box-shadow: 0 0 0 0 rgba(40,191,96,.6); animation: xDot 1.8s infinite; display: inline-block; }
@keyframes xDot { 0% { box-shadow: 0 0 0 0 rgba(40,191,96,.55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(40,191,96,0); } }

/* ---- Ask your business demo ---- */
.x-ask { background: #FFFFFF; border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(19,42,59,.4); overflow: hidden; margin-top: 40px; font-family: Montserrat, 'Segoe UI', system-ui, sans-serif; border: 1px solid #CFE6E3; }
.x-ask-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; padding: 26px 30px 0; }
.x-ask-head h3 { margin: 0; font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; letter-spacing: -.015em; }
.x-ask-head p { margin: 8px 0 0; font-size: 16px; color: #2E4150; max-width: 620px; }
.x-live { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: #E6F7EC; color: #0B5E3B; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.x-ask-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0; margin-top: 22px; border-top: 1px solid var(--line); }
.x-ask-q { padding: 22px 30px 26px; display: flex; flex-direction: column; gap: 10px; background: #FAFAF7; border-right: 1px solid var(--line); }
.x-ask-q small { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--muted); }
.x-ask-opt { text-align: left; font-family: inherit; cursor: pointer; border: 1.5px solid #D5DCD8; background: #FFFFFF; border-radius: 12px; padding: 12px 14px; font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--navy); transition: border-color .15s, background .15s, transform .15s; position: relative; overflow: hidden; }
.x-ask-opt:hover { border-color: var(--teal); transform: translateX(2px); }
.x-ask-opt[aria-pressed="true"] { border-color: var(--teal); background: var(--tint); font-weight: 600; }
.x-ask-opt[aria-pressed="true"]::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; background: var(--teal); width: 0; animation: xProg var(--dur, 8s) linear forwards; }
.x-ask[data-paused] .x-ask-opt[aria-pressed="true"]::after { animation: none; width: 100%; }
@keyframes xProg { to { width: 100%; } }
.x-ask-form { display: flex; gap: 8px; margin-top: 6px; }
.x-ask-form input { flex: 1; min-width: 0; height: 46px; border-radius: 12px; border: 1.5px solid #B9C4BF; padding: 0 14px; font-size: 15px; background: #FFFFFF; color: var(--navy); }
.x-ask-form button { height: 46px; padding: 0 18px; border-radius: 12px; border: 0; background: var(--navy); color: #FFFFFF; font-weight: 600; font-size: 14px; cursor: pointer; }
.x-ask-form button:hover { background: #1E3E54; }
.x-ask-a { padding: 22px 30px 26px; min-height: 360px; display: flex; flex-direction: column; gap: 14px; }
.x-ask-bubble { align-self: flex-end; max-width: 92%; background: var(--navy); color: #FFFFFF; padding: 12px 16px; border-radius: 16px 16px 4px 16px; font-size: 15px; font-weight: 500; min-height: 22px; }
.x-ask-bubble .caret { display: inline-block; width: 2px; height: 1em; background: #7EDCA0; vertical-align: -2px; margin-left: 2px; animation: xBlink 1s steps(1) infinite; }
@keyframes xBlink { 50% { opacity: 0; } }
.x-ask-ans { background: #FFFFFF; border: 1px solid var(--line); border-radius: 4px 16px 16px 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.x-ask-ans.is-in { opacity: 1; transform: none; }
.x-ask-ans .who { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--teal); letter-spacing: .06em; }
.x-ask-ans p { margin: 0; font-size: 15px; line-height: 1.55; }
.x-tbl { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.x-tbl th { text-align: left; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--muted); padding: 0 8px 8px 0; border-bottom: 1px solid var(--line); text-transform: uppercase; }
.x-tbl td { padding: 9px 8px 9px 0; border-bottom: 1px solid #EEF1ED; vertical-align: middle; }
.x-tbl tr:last-child td { border-bottom: 0; }
.x-tbl .flag { color: #A4510A; font-weight: 700; }
.x-tbl .ok { color: #0B5E3B; font-weight: 600; }
.x-meter { display: inline-block; vertical-align: middle; width: 70px; height: 8px; border-radius: 4px; background: #EEF1ED; overflow: hidden; margin-right: 8px; }
.x-meter i { display: block; height: 100%; background: var(--teal); }
.x-meter i.low { background: var(--orange); }
.x-ask-foot { font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: auto; }
.x-ask-fallback { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.x-ask-fallback .x-btn { height: 48px; }

/* ---- benefit rail ---- */
.x-rail { position: fixed; right: 14px; top: 50%; transform: translateY(-50%) translateX(30px); z-index: 45; display: none; flex-direction: column; gap: 6px; align-items: flex-end; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; }
.x-rail.is-on { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
.x-rail a { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-size: 13px; font-weight: 600; padding: 4px 4px 4px 12px; border-radius: 999px; }
.x-rail a span { background: var(--navy); color: #FFFFFF; padding: 6px 12px; border-radius: 999px; opacity: 0; transform: translateX(8px); transition: opacity .2s, transform .2s; white-space: nowrap; pointer-events: none; }
.x-rail a i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--navy); background: #FFFFFF; transition: background .2s, transform .2s; flex-shrink: 0; }
.x-rail a:hover span, .x-rail a.is-active span, .x-rail a:focus-visible span { opacity: 1; transform: none; }
.x-rail a.is-active i { background: var(--cta); border-color: var(--cta); transform: scale(1.25); }
.x-rail .x-rail-cta { margin-top: 8px; background: var(--cta); color: var(--navy); padding: 9px 16px; box-shadow: 0 8px 18px -8px rgba(27,123,84,.55); }
.x-rail .x-rail-cta:hover { filter: brightness(.96); color: var(--navy); }
@media (min-width: 1240px) { .x-rail { display: flex; } }
@media (min-width: 761px) and (max-width: 1239px) { .x-rail { display: none; } }

/* ---- floating CTA pill ---- */
.x-float { position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 140%); z-index: 55; display: none; align-items: center; gap: 14px; padding: 8px 8px 8px 22px; border-radius: 999px; background: var(--navy); color: #FFFFFF; box-shadow: 0 18px 40px -12px rgba(19,42,59,.6); transition: transform .35s cubic-bezier(.2,.8,.2,1); font-family: Montserrat, 'Segoe UI', system-ui, sans-serif; }
.x-float.is-on { transform: translate(-50%, 0); }
.x-float span { font-size: 15px; font-weight: 600; }
.x-float .x-btn { height: 44px; padding: 0 20px; font-size: 15px; }
.x-float button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #FFFFFF; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.x-float button:hover { background: rgba(255,255,255,.22); }
@media (min-width: 761px) { .x-float { display: flex; } }

/* ---- platform page ---- */
.x-jobs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; counter-reset: j; }
.x-jobs li { display: flex; align-items: center; gap: 14px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; font-size: 15px; font-weight: 500; line-height: 1.4; }
.x-jobs li .ck { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--tint); color: var(--teal); display: inline-flex; align-items: center; justify-content: center; }
.x-jobs li .ax { margin-left: auto; flex-shrink: 0; padding: 2px 9px; border-radius: 999px; background: var(--navy); color: #FFFFFF; font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.x-jobs li .up { margin-left: auto; flex-shrink: 0; }
.x-jobs li.is-up { border-style: dashed; background: transparent; }

/* ---- responsive for the new components ---- */
@media (max-width: 1023px) {
  .x-fit, .x-keep-grid { grid-template-columns: 1fr; gap: 36px; }
  .x-why-grid { grid-template-columns: 1fr; }
  .x-steps { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
  .x-steps li:not(:last-child)::after { display: none; }
  .x-ask-body { grid-template-columns: 1fr; }
  .x-ask-q { border-right: 0; border-bottom: 1px solid var(--line); }
  .x-two, .x-vs { grid-template-columns: 1fr; }
  .x-jobs { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .x-wrap { padding: 0 20px; }
  .x-sec { padding: 64px 0; }
  .x-band { padding: 28px 24px 28px 28px; }
  .x-price-tease { padding: 28px 22px; }
  .x-final { padding: 56px 22px; border-radius: 24px; }
}
@media (max-width: 760px) {
  .x-sec { padding: 56px 0; }
  .x-wrap { padding: 0 20px; }
  .x-eyebrow { font-size: 11px; margin-bottom: 12px; }
  .x-h2 { font-size: 28px; line-height: 1.14; }
  .x-lead { font-size: 15px; margin-top: 14px; }
  .x-card { padding: 20px; border-radius: 16px; }
  .x-why-card { padding: 22px; } .x-why-grid { margin-top: 28px; gap: 12px; }
  .x-why-call { padding: 22px; }
  .x-keep-vs { grid-template-columns: 1fr; }
  .x-band { flex-direction: column; align-items: stretch; text-align: left; gap: 18px; border-radius: 20px; }
  .x-band .x-btn, .x-why-call .x-btn { width: 100%; }
  .x-ask { margin-top: 28px; border-radius: 18px; }
  .x-ask-head { padding: 20px 18px 0; } .x-ask-q { padding: 16px 18px 20px; } .x-ask-a { padding: 16px 18px 20px; min-height: 0; }
  .x-ask-form button { padding: 0 14px; }
  .x-next-wide { display: none; } .x-acc { display: flex; flex-direction: column; gap: 8px; }
  .x-faq { gap: 24px; } .x-faq details { padding: 0 18px; } .x-faq summary { font-size: 16px; padding: 18px 0; }
  .x-final h2 { font-size: 32px; } .x-final p { font-size: 16px; } .x-final-row { flex-direction: column; width: 100%; } .x-final-row .x-btn { width: 100%; }
  .x-price-tease .x-btn { width: 100%; }
  .x-sec-card { padding: 18px; } .x-sec-card b { font-size: 17px; } .x-sec-card span { font-size: 14px; }
  .x-steps { gap: 10px; } .x-steps li { padding: 16px 18px; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; } .x-steps .n { font-size: 20px; } .x-steps .t { font-size: 17px; } .x-steps .d { flex-basis: 100%; }
  .x-head { margin-bottom: 24px; }
  .x-dots { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 5px; }
  .x-two .x-card, .x-vs .x-card { padding: 22px; }
  .x-float { display: none !important; }
  .x-btn { font-size: 15px; }
  #ff-sticky-cta.is-hidden { transform: translateY(110%); }
}
@media (prefers-reduced-motion: reduce) {
  .ff-js .x-reveal, .ff-js .x-stagger > * { opacity: 1 !important; transform: none !important; }
  .x-bar b { transition: none; }
  .x-pulse::after, .x-live-dot { animation: none; }
}

@media (max-width: 560px) {
  .x-final h2 span[style*="nowrap"] { white-space: normal !important; }
  .x-final h2 span[style*="nowrap"] svg { display: none; }
  .x-fitrow > span { flex-wrap: wrap; }
}

/* ===== v3 (Launch Brief 9 Oct 2026): single responsive homepage ===== */
body.page-v3 { font-family: Montserrat, 'Segoe UI', system-ui, sans-serif; }
.x3-header { position: sticky; top: 0; z-index: 40; background: rgba(250,250,247,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.x3-header.is-stuck { box-shadow: 0 10px 24px -18px rgba(19,42,59,.5); }
.x3-header > .x-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.x3-logo img { height: 32px; width: auto; display: block; }
.x3-nav { display: flex; gap: 6px; align-items: center; }
.x3-nav a { position: relative; text-decoration: none; color: var(--navy); font-weight: 600; font-size: 15px; padding: 10px 12px; border-radius: 10px; }
.x3-nav a:hover { background: #F1F4F2; color: var(--navy); }
.x3-nav a.is-active { color: var(--teal); }
.x3-nav a.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--cta); }
.x3-hright { display: flex; align-items: center; gap: 10px; }
.x3-hright .x-btn { height: 44px; padding: 0 20px; font-size: 15px; }
.x3-hero { padding: 72px 0 88px; overflow: hidden; }
.x3-hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.x3-hero h1 { margin: 0; font-size: clamp(38px, 4.3vw, 62px); line-height: 1.04; font-weight: 500; letter-spacing: -.025em; text-wrap: balance; }
.x3-hero h1 .u { position: relative; white-space: nowrap; display: inline-block; }
.x3-hero h1 .u svg { position: absolute; left: 0; bottom: -10px; width: 100%; height: 16px; }
.x3-hero .lead { margin: 24px 0 0; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: #2E4150; max-width: 600px; }
.x3-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.x3-support { margin: 22px 0 0; font-size: 14px; font-weight: 600; color: #0B5E5B; display: flex; align-items: center; gap: 10px; }
.x3-visual { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 28px; border-radius: 28px; background: linear-gradient(160deg, #E9F5F4, #F6FAF8); border: 1px solid #D3E8E5; }
.x3-visual > img { position: absolute; right: -50px; top: -60px; width: 220px; opacity: .08; pointer-events: none; }
.x3-mock { background: #FFFFFF; border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: 0 18px 36px -24px rgba(19,42,59,.4); position: relative; min-width: 0; }
.x3-mock.wide { grid-column: 1 / -1; }
.x3-mock h4 { margin: 0 0 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.x3-mock h4 small { font-size: 11px; font-weight: 600; color: var(--muted); }
.x3-mock .x-tbl { font-size: 13px; }
.x3-stock { display: flex; flex-direction: column; gap: 11px; font-size: 13px; }
.x3-stock div { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; align-items: center; font-weight: 600; }
.x3-stock div em { font-style: normal; color: var(--muted); font-weight: 500; }
.x3-stock .bar { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: #EEF1ED; overflow: hidden; }
.x3-stock .bar i { display: block; height: 100%; width: 0; background: var(--teal); border-radius: 4px; transition: width 1.1s cubic-bezier(.2,.7,.2,1); }
.x3-stock .bar i.low { background: var(--orange); }
.x3-visual.is-in .x3-stock .bar i { width: var(--w); }
html:not(.ff-js) .x3-stock .bar i { width: var(--w); }
.x3-track { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 13px; font-weight: 600; }
.x3-track li { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.x3-track li i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #C9D2CE; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; }
.x3-track li.done { color: var(--navy); } .x3-track li.done i { background: var(--teal); border-color: var(--teal); }
.x3-track li.now { color: var(--navy); } .x3-track li.now i { border-color: var(--cta); box-shadow: 0 0 0 0 rgba(40,191,96,.5); animation: xDot 1.8s infinite; }
.x3-chip-ok { display: inline-block; padding: 2px 9px; border-radius: 999px; background: #E6F7EC; color: #0B5E3B; font-size: 11px; font-weight: 700; }
.x3-chip-wait { display: inline-block; padding: 2px 9px; border-radius: 999px; background: #FFF3DC; color: #8A4B00; font-size: 11px; font-weight: 700; }
.x3-float-a { animation: x3Bob 6s ease-in-out infinite; }
@keyframes x3Bob { 50% { transform: translateY(-5px); } }

.x3-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.x3-card { display: flex; flex-direction: column; gap: 12px; padding: 28px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 18px; }
.x3-card .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--tint); color: var(--teal); display: inline-flex; align-items: center; justify-content: center; transition: background .2s, color .2s, transform .2s; }
.x3-card:hover .ic { background: var(--teal); color: #FFFFFF; transform: rotate(-4deg) scale(1.05); }
.x3-card h3 { margin: 6px 0 0; font-size: 19px; font-weight: 600; letter-spacing: -.005em; }
.x3-card p { margin: 0; font-size: 15px; line-height: 1.6; color: #2E4150; }
.x3-note { margin: 28px 0 0; font-size: 14px; color: var(--muted); max-width: 760px; }
.x3-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.x3-diff { display: flex; gap: 20px; padding: 30px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 18px; }
.x3-diff .n { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #FFFFFF; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.x3-diff h3 { margin: 0 0 8px; font-size: 20px; font-weight: 600; }
.x3-diff p { margin: 0; font-size: 15.5px; line-height: 1.65; color: #2E4150; }
.x3-ai { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.x3-ai .x-ask { margin-top: 0; }
.x3-ind { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.x3-ind > a { grid-column: span 2; text-decoration: none; color: var(--navy); background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; gap: 10px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.x3-ind > a:nth-child(4), .x3-ind > a:nth-child(5) { grid-column: span 3; }
.x3-ind > a:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -20px rgba(19,42,59,.4); border-color: #B9C8C2; border-top-color: var(--cta); color: var(--navy); }
.x3-ind b { font-size: 19px; font-weight: 600; }
.x3-ind span { font-size: 15px; line-height: 1.55; color: #2E4150; }
.x3-ind em { margin-top: auto; padding-top: 6px; font-style: normal; font-size: 14px; font-weight: 600; color: var(--green); display: inline-flex; gap: 6px; align-items: center; }
.x3-ind > a:hover em svg { transform: translateX(3px); } .x3-ind em svg { transition: transform .15s; }
.x3-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.x3-commercial { margin: 32px 0 0; padding: 18px 22px; border-left: 4px solid var(--cta); background: #FFFFFF; border-radius: 0 12px 12px 0; font-size: 17px; font-weight: 500; max-width: 820px; }
.x3-int { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.x3-flow { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; background: #FFFFFF; border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.x3-flow .box { border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.x3-flow .box b { font-size: 17px; font-weight: 600; }
.x3-flow .box ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.x3-flow .ff { background: var(--navy); color: #FFFFFF; } .x3-flow .ff ul { color: #C9D6DE; }
.x3-flow .ex { background: #F3F4EF; border: 1.5px dashed #9FB0AA; } .x3-flow .ex ul { color: #2E4150; }
.x3-flow .link { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--teal); }
.x3-flow .link i { display: block; width: 46px; height: 4px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--cta) 0 8px, transparent 8px 14px); background-size: 14px 4px; animation: x3Flow 1.2s linear infinite; }
@keyframes x3Flow { to { background-position: 14px 0; } }
.x3-about { display: flex; gap: 48px; align-items: center; flex-wrap: wrap; }
.x3-about > div { flex: 1 1 380px; min-width: 0; }
.x3-about .x-lead { max-width: 680px; }
.x3-foot { background: #F3F4EF; border-top: 1px solid var(--line); padding: 44px 0 40px; font-size: 14px; }
.x3-foot .x-wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 28px; }
.x3-foot img { height: 30px; }
.x3-foot p { margin: 10px 0 0; color: var(--muted); }
.x3-foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: flex-start; }
.x3-foot nav a { color: var(--navy); font-weight: 600; text-decoration: none; padding: 6px 0; }
.x3-foot nav a:hover { color: var(--teal); }
/* demo page */
.x3-demo { padding: 64px 0 96px; }
.x3-demo-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
.x3-form { background: #FFFFFF; border: 1px solid var(--line); border-radius: 22px; padding: 34px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 24px 50px -34px rgba(19,42,59,.4); }
.x3-form label { display: flex; flex-direction: column; gap: 7px; font-size: 14px; font-weight: 600; }
.x3-form input, .x3-form select, .x3-form textarea { font: inherit; font-size: 16px; font-weight: 400; color: var(--navy); height: 48px; border-radius: 12px; border: 1.5px solid #B9C4BF; padding: 0 14px; background: #FFFFFF; box-sizing: border-box; width: 100%; }
.x3-form textarea { height: 110px; padding: 12px 14px; resize: vertical; }
.x3-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.x3-form .opt { font-weight: 500; color: var(--muted); }
.x3-form .x-btn { width: 100%; border: 0; cursor: pointer; font-family: inherit; }
.x3-form .small { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.x3-sent { display: none; padding: 18px 20px; border-radius: 14px; background: #E6F7EC; border: 1px solid #9ED8B3; font-size: 15px; line-height: 1.55; }
.x3-sent.is-on { display: block; }
.x3-next { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.x3-next li { display: flex; gap: 16px; align-items: flex-start; font-size: 16px; line-height: 1.55; }
.x3-next li b { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.x3-mailbox { margin-top: 28px; padding: 20px 22px; border-radius: 16px; background: var(--tint); font-size: 15px; }
.x3-mailbox a { font-weight: 700; color: var(--green); overflow-wrap: anywhere; }
.x-btn.is-ghost-dark { background: transparent; border: 1.5px solid var(--navy); box-shadow: none; }

@media (max-width: 1023px) {
  .x3-nav { display: none; }
  .x3-hero-grid, .x3-ai, .x3-int, .x3-demo-grid { grid-template-columns: 1fr; gap: 40px; }
  .x3-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .x3-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .x3-ind { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .x3-ind > a, .x3-ind > a:nth-child(4), .x3-ind > a:nth-child(5) { grid-column: auto; }
}
@media (max-width: 760px) {
  .x3-header > .x-wrap { height: 64px; gap: 12px; }
  .x3-logo img { height: 26px; }
  .x3-hright .x-btn { height: 40px; padding: 0 14px; font-size: 14px; white-space: nowrap; }
  .x3-hero { padding: 36px 0 56px; }
  .x3-cta-row .x-btn { width: 100%; }
  .x3-visual { padding: 16px; gap: 12px; border-radius: 20px; grid-template-columns: 1fr; }
  .x3-grid3, .x3-grid2, .x3-steps, .x3-ind { grid-template-columns: 1fr; }
  .x3-grid2 { margin-top: 28px; gap: 12px; }
  .x3-diff { padding: 22px; gap: 16px; flex-direction: column; }
  .x3-card { padding: 22px; }
  .x3-flow { grid-template-columns: 1fr; padding: 18px; }
  .x3-flow .link { flex-direction: row; justify-content: center; }
  .x3-flow .link i { width: 4px; height: 36px; background: repeating-linear-gradient(180deg, var(--cta) 0 8px, transparent 8px 14px); background-size: 4px 14px; animation-name: x3FlowV; }
  @keyframes x3FlowV { to { background-position: 0 14px; } }
  .x3-form { padding: 22px 18px; } .x3-form .row2 { grid-template-columns: 1fr; }
  .x3-demo { padding: 36px 0 64px; }
  .x3-commercial { font-size: 15.5px; }
  .x3-foot { padding-bottom: 96px; }
}
@media (max-width: 560px) { .x3-hero h1 .u { white-space: normal; } .x3-hero h1 .u svg { display: none; } }
@media (prefers-reduced-motion: reduce) { .x3-float-a, .x3-track li.now i, .x3-flow .link i { animation: none; } .x3-stock .bar i { transition: none; } }

.x3-hero h1 .x-hl { box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.x3-hero-grid > * { min-width: 0; }
.x-ask-ans p { margin-bottom: 4px; }
.x-tbl td:first-child { white-space: nowrap; }
.x3-foot a[href^="mailto"] { text-decoration: none; }
.x3-mock .x-tbl td { white-space: nowrap; }

/* ===== v4: orange swoosh underline (Prototype B v1 style) replaces the highlighter box ===== */
.x-hl { box-shadow: none !important; font-weight: 600 !important; padding-bottom: .2em; box-decoration-break: clone; -webkit-box-decoration-break: clone;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 22' preserveAspectRatio='none'%3E%3Cpath d='M4 15 C 64 5, 168 3, 296 10' fill='none' stroke='%23F0981A' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left bottom / 100% .3em; }
.x3-support { flex-wrap: wrap; gap: 6px 12px; }
.x3-support i { width: 4px; height: 4px; border-radius: 50%; background: #0B5E5B; display: inline-block; }
.x3-hear { margin: 44px 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--muted); }
.x3-grid2.x3-quotes { margin-top: 0; margin-bottom: 20px; }
.x3-quote { margin: 0; padding: 28px 30px; background: var(--navy); color: #FFFFFF; border-radius: 18px; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.45; font-weight: 500; letter-spacing: -.005em; position: relative; overflow: hidden; }
.x3-quote::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(var(--cta), var(--orange)); }
.x3-incl { margin-top: 28px !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.x3-incl li { align-items: flex-start !important; font-size: 14px; line-height: 1.5; padding: 18px !important; }
.x3-incl li b { font-size: 15px; display: inline-block; margin-bottom: 4px; }
.x3-founder { margin: 0; padding: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; }
.x3-founder blockquote { margin: 0; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; font-weight: 500; }
.x3-founder figcaption { margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--teal); }
.x3-commercial { font-size: 17px; line-height: 1.6; max-width: 900px; font-weight: 400; }
.x3-commercial b { font-weight: 600; }
@media (max-width: 1023px) { .x3-incl { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 760px) { .x3-incl { grid-template-columns: 1fr !important; } .x3-quote { padding: 22px 22px 22px 26px; } .x3-founder { padding: 22px; } }
@media (max-width: 760px) { .x3-mock .x-tbl td { white-space: normal; } .x3-mock .x-tbl td:nth-child(2) { white-space: nowrap; } .x3-mock .x-tbl { font-size: 12.5px; } }

/* ===== v6: primary button = brand green with white text ===== */
.x-btn { background: #1B7B54 !important; color: #FFFFFF !important; box-shadow: 0 8px 18px -8px rgba(27,123,84,.55); }
.x-btn:hover { background: #166545 !important; color: #FFFFFF !important; filter: none; box-shadow: 0 12px 22px -8px rgba(27,123,84,.65); }
.x-btn-ghost, .x-btn.is-ghost-dark { background: #FFFFFF !important; color: #132A3B !important; box-shadow: none; }
.x-btn-ghost:hover { background: #F1F4F2 !important; color: #132A3B !important; }
.x-btn svg { stroke: currentColor; }
.x-pulse::after { border-color: #1B7B54; }
.ff-drawer .ff-drawer-cta { background: #1B7B54 !important; color: #FFFFFF !important; }
.x-float .x-btn { background: #1B7B54 !important; color: #FFFFFF !important; }
.x-band .x-btn, .x-why-call .x-btn { color: #FFFFFF !important; }

.x3-ill { grid-column: 1 / -1; display: inline-flex; align-self: start; justify-self: start; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: #0B5E5B; background: #FFFFFF; border: 1px solid #BFDCD8; border-radius: 999px; padding: 4px 12px; white-space: nowrap; }

.x3-powered { display: block; margin-top: 2px; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; color: var(--teal); text-transform: uppercase; }
.x3-logo { display: flex; flex-direction: column; align-items: flex-start; }
.x3-diff:last-child:nth-child(odd) { grid-column: 1 / -1; }
.x3-form label > span { display: flex; gap: 10px; align-items: flex-start; }
.qn { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }

.x3-logo, .x3-logo:hover { text-decoration: none; }

/* ===== v8 (final, go-live): restructured homepage, enquiry form, thank-you page ===== */
.x8-cta-long { display: inline; }
.x3-hright .x-btn { white-space: nowrap; }

/* supplier -> customer rail */
.x8-rail { display: flex; align-items: center; gap: 14px; margin: 34px 0 16px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.x8-rail i { flex: 1; height: 4px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--cta) 0 10px, transparent 10px 18px); background-size: 18px 4px; animation: x8Flow18 1.2s linear infinite; }
.x8-rail span { padding: 6px 12px; border-radius: 999px; background: var(--tint); border: 1px solid #BFDCD8; }
.x3-card .ic { transition: background .2s, color .2s; }
.x3-card:hover .ic { transform: none; }

/* AXIS: emailed-order journey */
.x8-jr-t { margin: 30px 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--muted); }
.x8-jr { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; position: relative; }
.x8-jr li { display: flex; gap: 16px; align-items: flex-start; padding: 0 0 20px; position: relative; }
.x8-jr li:last-child { padding-bottom: 0; }
.x8-jr li:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 46px; bottom: 2px; width: 2px; background: repeating-linear-gradient(180deg, #9FD3C9 0 5px, transparent 5px 9px); }
.x8-jr .ic { flex-shrink: 0; width: 44px; height: 44px; border-radius: 14px; background: var(--tint); color: var(--teal); display: inline-flex; align-items: center; justify-content: center; }
.x8-jr li:nth-child(2) .ic { background: var(--teal); color: #fff; }
.x8-jr b { display: block; font-size: 16px; font-weight: 600; }
.x8-jr div span { display: block; margin-top: 2px; font-size: 14.5px; line-height: 1.5; color: #2E4150; }
.x-live { text-align: left; line-height: 1.3; }

/* realities */
.x8-real-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.x8-real { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 18px; min-width: 0; }
.x8-real .h { display: flex; align-items: center; gap: 12px; }
.x8-real .ic { flex-shrink: 0; width: 44px; height: 44px; border-radius: 13px; background: var(--tint); color: var(--teal); display: inline-flex; align-items: center; justify-content: center; transition: background .2s, color .2s; }
.x8-real:hover .ic { background: var(--teal); color: #fff; }
.x8-real h3 { margin: 0; font-size: 18px; font-weight: 600; }
.x8-real > p { margin: 0; font-size: 14.5px; line-height: 1.55; color: #2E4150; }
.x8-vis { margin-top: auto; min-height: 124px; justify-content: center; padding: 14px; border-radius: 12px; background: #F6F8F5; border: 1px solid var(--line); font-size: 12.5px; display: flex; flex-direction: column; gap: 8px; }
.x8-vis .r { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; font-weight: 600; }
.x8-vis .r em { font-style: normal; font-weight: 500; color: var(--muted); }
.x8-vis .r b { font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.x8-bars > div { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; font-weight: 600; }
.x8-bars em { font-style: normal; color: var(--muted); font-weight: 500; }
.x8-bars .bar { grid-column: 1 / -1; height: 7px; border-radius: 4px; background: #E6EAE5; overflow: hidden; display: block; }
.x8-bars .bar b { display: block; height: 100%; width: var(--w); background: var(--teal); border-radius: 4px; transform-origin: left; }
.x8-bars .bar b.low { background: var(--orange); }
.is-in .x8-bars .bar b { animation: x8Grow 1.1s cubic-bezier(.2,.7,.2,1) both; }
@keyframes x8Grow { from { transform: scaleX(0); } }
.x8-trace { gap: 6px; font-weight: 600; }
.x8-trace span { padding: 5px 10px; border-radius: 8px; background: #fff; border: 1px solid #CFD8D3; align-self: flex-start; }
.x8-trace span:nth-of-type(2) { border-color: var(--teal); color: var(--teal); }
.x8-trace i { width: 2px; height: 10px; margin-left: 14px; background: var(--cta); display: block; }

/* industries */
.x8-ind > a .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--tint); color: var(--teal); display: inline-flex; align-items: center; justify-content: center; font-size: 0; transition: background .2s, color .2s; }
.x8-ind > a:hover .ic { background: var(--teal); color: #fff; }
.x8-ind > a .d { font-size: 15px; line-height: 1.55; color: #2E4150; }

/* form */
.x8-form .opt { font-weight: 500; color: var(--muted); }
.x8-form [aria-invalid="true"] { border-color: #C2410C; background: #FFF8F3; }
.x8-form .fe { color: #B03A06; font-size: 13px; font-weight: 600; margin-top: -2px; }
.x8-chip { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--tint); border: 1px solid #BFDCD8; font-size: 14px; }
.x8-chip[hidden] { display: none; }
.x8-chip .ic { color: var(--teal); display: inline-flex; }
.x8-next { border: 0; margin: 0; padding: 0; min-width: 0; }
.x8-next legend { font-size: 14px; font-weight: 600; padding: 0; margin-bottom: 8px; }
.x8-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.x3-form .x8-radio { flex-direction: row; gap: 12px; align-items: flex-start; padding: 14px; border: 1.5px solid #B9C4BF; border-radius: 14px; cursor: pointer; background: #fff; font-weight: 400; }
.x3-form .x8-radio input { width: 18px; height: 18px; margin: 2px 0 0; flex-shrink: 0; accent-color: #1B7B54; }
.x8-radio span { display: flex; flex-direction: column; gap: 2px; }
.x8-radio b { font-weight: 600; font-size: 14.5px; }
.x8-radio small { color: var(--muted); font-size: 13px; }
.x8-radio:has(input:checked) { border-color: #1B7B54; background: #F1FAF5; box-shadow: 0 0 0 3px rgba(27,123,84,.12); }
.x8-radio:has(input:focus-visible) { outline: 3px solid #0D706D; outline-offset: 2px; }
.x8-more { border: 1px solid var(--line); border-radius: 14px; background: #FBFCFA; }
.x8-more summary { cursor: pointer; padding: 14px 16px; font-size: 14px; font-weight: 600; list-style: none; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.x8-more summary::-webkit-details-marker { display: none; }
.x8-more summary::before { content: "+"; display: inline-flex; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: #fff; align-items: center; justify-content: center; font-size: 16px; line-height: 1; margin-right: 4px; }
.x8-more[open] summary::before { content: "\2212"; }
.x8-more-in { padding: 0 16px 16px; display: flex; flex-direction: column; gap: 16px; }
.x8-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.x8-err { background: #FFF3EA; border-color: #F2B98F; color: #7A2E05; }
.x3-form .small a { color: var(--green); font-weight: 600; }
.x-btn[disabled] { opacity: .7; cursor: progress; }

/* thank-you */
.x8-ty { position: relative; overflow: hidden; }
.x8-ty-hero { padding: 72px 0 40px; text-align: center; background: radial-gradient(ellipse at 50% -10%, #DDF1EC 0%, rgba(250,250,247,0) 70%); }
.x8-ty-hero .x-wrap { display: flex; flex-direction: column; align-items: center; }
.x8-tick { width: 120px; height: 120px; margin-bottom: 18px; border-radius: 50%; background: #fff; box-shadow: 0 24px 50px -22px rgba(27,123,84,.55), 0 0 0 10px rgba(40,191,96,.10); }
.x8-tick .ring { stroke-dasharray: 340; stroke-dashoffset: 340; animation: x8Draw .9s .1s cubic-bezier(.6,.1,.2,1) forwards; transform: rotate(-90deg); transform-origin: 60px 60px; }
.x8-tick .chk { stroke-dasharray: 90; stroke-dashoffset: 90; animation: x8Draw .5s .85s ease-out forwards; }
@keyframes x8Draw { to { stroke-dashoffset: 0; } }
.x8-tick { animation: x8Pop .6s .05s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes x8Pop { from { transform: scale(.6); opacity: 0; } }
.x8-ty-hero h1 { margin: 6px 0 0; max-width: 900px; font-size: clamp(36px, 5vw, 64px); line-height: 1.06; font-weight: 500; letter-spacing: -.025em; text-wrap: balance; outline: none; }
.x8-ty-hero .lead { margin: 22px auto 0; max-width: 640px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: #2E4150; }
.x8-ty-sum { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.x8-ty-sum[hidden] { display: none; }
.x8-ty-sum li { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid #BFDCD8; font-size: 13.5px; font-weight: 600; color: #0B5E5B; }
.x8-ty-sum li small { color: var(--muted); font-weight: 600; margin-right: 6px; }
.x8-ty-steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: s; position: relative; }
.x8-ty-steps li { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.x8-ty-steps .ic, .x8-ty-more .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--tint); color: var(--teal); display: inline-flex; align-items: center; justify-content: center; }
.x8-ty-steps li::after { counter-increment: s; content: counter(s); position: absolute; right: 22px; top: 20px; font-size: 40px; font-weight: 600; color: #E3EDE9; line-height: 1; }
.x8-ty-steps b { font-size: 18px; font-weight: 600; margin-top: 6px; }
.x8-ty-steps li > span:last-child { font-size: 15px; line-height: 1.6; color: #2E4150; }
.x8-ty-more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.x8-ty-more a { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px; text-decoration: none; color: var(--navy); background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: 16px; transition: transform .18s, box-shadow .18s; }
.x8-ty-more a:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -20px rgba(19,42,59,.4); border-top-color: var(--cta); }
.x8-ty-more b { font-size: 17px; font-weight: 600; }
.x8-ty-more a > span:not(.ic) { font-size: 14.5px; line-height: 1.5; color: #2E4150; }
.x8-ty-more em { margin-top: auto; color: var(--green); display: inline-flex; transition: transform .15s; }
.x8-ty-more a:hover em { transform: translateX(4px); }
.x8-ty-note { margin: 30px 0 0; text-align: center; font-size: 15px; color: #2E4150; }
.x8-ty-note a { color: var(--green); font-weight: 700; overflow-wrap: anywhere; }
.x8-conf { position: absolute; inset: 0 0 auto 0; height: 520px; pointer-events: none; overflow: hidden; z-index: 1; }
.x8-conf i { position: absolute; top: -20px; left: var(--x); width: 9px; height: 14px; border-radius: 3px; background: var(--c); opacity: 0; transform: rotate(var(--r)); animation: x8Fall 2.8s var(--d) ease-out 1 forwards; }
@keyframes x8Fall { 0% { opacity: 0; transform: translateY(0) rotate(var(--r)); } 12% { opacity: 1; } 100% { opacity: 0; transform: translateY(440px) rotate(calc(var(--r) + 300deg)); } }

@media (max-width: 1100px) { .x8-real-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .x8-ty-steps, .x8-ty-more { grid-template-columns: 1fr; } .x8-opts { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .x8-real-grid { grid-template-columns: 1fr; margin-top: 28px; }
  .x8-ty-hero { padding: 44px 0 24px; }
  .x8-tick { width: 96px; height: 96px; } .x8-tick svg { width: 96px; height: 96px; }
  .x8-ty-steps li, .x8-ty-more a { padding: 22px; }
}
@media (max-width: 560px) { .x8-cta-long { display: none; } .x8-rail { margin-top: 24px; } }
@media (prefers-reduced-motion: reduce) {
  .x8-rail i, .x8-rail ol .arr, .x8-conf i { animation: none; } .x8-conf { display: none; }
  .x8-tick, .x8-tick .ring, .x8-tick .chk { animation: none; stroke-dashoffset: 0; }
  .is-in .x8-bars .bar b { animation: none; }
}

.x8-ty-hero h1 [data-ty-name] { display: block; }

.x3-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #132A3B; color: #fff; padding: 10px 16px; border-radius: 8px; }
.x3-skip:focus { left: 8px; }
.x-link-g { color: var(--green); font-weight: 700; }

/* supplier -> customer rail: process steps */
.x8-rail ol { display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; flex: 0 1 auto; }
.x8-rail ol > li:not(.arr) { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; letter-spacing: .08em; color: var(--navy); }
.x8-rail ol .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--tint); color: var(--teal); display: inline-flex; align-items: center; justify-content: center; border: 1px solid #BFDCD8; }
.x8-rail ol .arr { width: 22px; height: 4px; margin: 0 6px 20px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--cta) 0 6px, transparent 6px 10px); background-size: 10px 4px; animation: x8Flow10 .7s linear infinite; }
.x8-rail ol .arr i { display: none; }
.x8-rail .end { align-self: flex-start; margin-top: 7px; }
.x8-rail > i { margin-bottom: 20px; }
@media (max-width: 1100px) { .x8-rail > i, .x8-rail ol .arr { display: none; } .x8-rail { flex-wrap: wrap; justify-content: center; } .x8-rail ol { flex-wrap: wrap; justify-content: center; gap: 14px; } .x8-rail .end { align-self: center; margin-top: 0; } }

@keyframes x8Flow18 { to { background-position-x: 18px; } }
@keyframes x8Flow10 { to { background-position-x: 10px; } }

/* legal pages */
.x8-legal { padding: 64px 0 80px; }
.x8-legal article { max-width: 760px; margin: 0 auto; }
.x8-legal h1 { margin: 6px 0 8px; font-size: clamp(34px, 4.5vw, 52px); line-height: 1.08; font-weight: 500; letter-spacing: -.02em; color: var(--navy); }
.x8-legal .eff { margin: 0 0 36px; color: var(--muted); font-size: 15px; }
.x8-legal h2 { margin: 36px 0 10px; font-size: 20px; font-weight: 600; color: var(--navy); }
.x8-legal p, .x8-legal li { font-size: 16px; line-height: 1.7; color: #2E4150; }
.x8-legal p { margin: 0 0 12px; }
.x8-legal ul { margin: 0 0 12px; padding-left: 22px; }
.x8-legal li { margin-bottom: 6px; }
.x8-legal a { color: var(--teal); }
