/* MigrateX public site. Builds on app.css tokens; the route motif is the signature throughout. */
.site { background: var(--paper); color: var(--text); }
.site__wrap { width: min(1180px, 100% - 48px); margin: 0 auto; }
.site__wrap--narrow { width: min(820px, 100% - 48px); }

/* Header */
.site__header { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--paper) 82%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.site__header.is-stuck { border-bottom-color: var(--line); background: color-mix(in srgb, var(--paper) 92%, transparent); }
.site__bar { display: flex; align-items: center; gap: 28px; height: 68px; }
.site__brand { padding: 0; }
.site__nav { display: flex; align-items: center; gap: 22px; margin-left: 12px; }
.site__nav a { font-size: 14px; font-weight: 600; line-height: 1.2; color: var(--muted); text-decoration: none; }
.site__nav a:hover { color: var(--text); }
.site__cta { display: flex; gap: 8px; margin-left: auto; }
.site__menu { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border-color: var(--line-strong); color: var(--text); box-shadow: 0 1px 2px rgba(13, 18, 48, .06); }
.site__menu:hover, .site__menu[aria-expanded="true"] { border-color: var(--text); }
.site__menu .site__menu-open, .site__menu[aria-expanded="true"] .site__menu-close { display: grid; place-items: center; }
.site__menu .site__menu-close, .site__menu[aria-expanded="true"] .site__menu-open { display: none; }
.site__menu .icon { stroke-width: 2.25; }
.site__sheet { display: grid; gap: 6px; padding: 12px 24px 18px; border-bottom: 1px solid var(--line); background: var(--surface); max-height: calc(100vh - 68px); max-height: calc(100dvh - 68px); overflow-y: auto; overscroll-behavior: contain; }
.site__sheet a { padding: 10px 4px; font-weight: 600; text-decoration: none; }
.site__sheet a:not(.btn) { color: var(--text); }
.site__sheet .btn { justify-content: center; margin-top: 6px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 56px; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 70%; background: radial-gradient(60% 60% at 30% 30%, rgba(26, 86, 255, .12), transparent 70%), radial-gradient(50% 50% at 80% 20%, rgba(34, 211, 238, .12), transparent 70%); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); }
.hero__title { margin-top: 20px; font-size: clamp(38px, 5vw, 62px); font-weight: 800; line-height: 1.02; letter-spacing: -.04em; }
.hero__title em { font-style: normal; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { margin-top: 20px; max-width: 54ch; font-size: 17px; line-height: 1.6; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn--lg { padding: 13px 20px; font-size: 15px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 22px 0 0; padding: 0; font-size: 13.5px; color: var(--muted); }
.hero__proof li { display: inline-flex; align-items: center; gap: 7px; }
.hero__proof .icon { color: var(--target-ink); }

/* The board: a live route with product marks on both ends */
.board { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: 0 30px 80px -30px rgba(13, 18, 48, .35); overflow: hidden; }
.board__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.board__toggle { display: flex; gap: 4px; padding: 3px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); }
.board__toggle label { position: relative; cursor: pointer; }
.board__toggle input { position: absolute; inset: 0; opacity: 0; }
.board__toggle span { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 34px; height: 34px; padding: 0 8px; border-radius: 99px; font-size: 12.5px; font-weight: 700; color: var(--muted); transition: background .15s, color .15s; }
.board__toggle span b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; font-weight: inherit; }
.board__toggle input:checked + span { padding: 0 13px 0 10px; }
.board__toggle input:checked + span b { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
.board__swap { font-style: normal; font-size: 14px; line-height: 1; }
.board__toggle input:checked + span { background: var(--text); color: var(--surface); }
.board__toggle input:checked + span .plogo { filter: brightness(1.4); }
.board__toggle input:focus-visible + span { box-shadow: var(--focus); }
.board__live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--target-ink); }
.board__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--target); animation: pulse-dot 1.4s ease-in-out infinite; }
/* The conveyor: tiles ride from source to target and are verified at the gate */
.belt { position: relative; height: 200px; margin: 14px; border-radius: 16px; overflow: hidden; background: linear-gradient(90deg, var(--source-soft) 0%, var(--surface-2) 42%, var(--surface-2) 58%, var(--target-soft) 100%); }
.belt__end { position: absolute; top: 14px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.belt__end small { font-weight: 500; color: var(--muted); }
.belt__end--source { left: 16px; }
.belt__end--target { right: 16px; }
.belt__track { position: absolute; left: 0; right: 0; top: 116px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 16px); animation: belt-run 1s linear infinite; }
.belt__set[hidden] { display: none; }
.belt__tile { position: absolute; top: 88px; left: -64px; width: 56px; height: 56px; border-radius: 16px; background: var(--surface); border: 2px solid var(--source); box-shadow: 0 12px 24px -14px rgba(13, 18, 48, .45); animation: belt-ride 8s linear infinite, belt-turn 8s linear infinite; }
.belt__tile::after { content: "✓"; position: absolute; right: -7px; top: -7px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--target); color: #fff; font-size: 11px; font-weight: 800; opacity: 0; transform: scale(.4); animation: belt-tick 8s linear infinite; }
.belt__from, .belt__to { position: absolute; inset: 0; display: grid; place-items: center; animation: belt-out 8s linear infinite; }
.belt__to { opacity: 0; animation-name: belt-in; }
.belt__tile:nth-child(2), .belt__tile:nth-child(2)::after, .belt__tile:nth-child(2) > span { animation-delay: -2s; }
.belt__tile:nth-child(3), .belt__tile:nth-child(3)::after, .belt__tile:nth-child(3) > span { animation-delay: -4s; }
.belt__tile:nth-child(4), .belt__tile:nth-child(4)::after, .belt__tile:nth-child(4) > span { animation-delay: -6s; }
.belt__gate { position: absolute; left: 50%; top: 58px; width: 92px; height: 118px; transform: translateX(-50%); border-radius: 46px 46px 14px 14px; border: 2px solid var(--target); border-bottom: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--target) 16%, transparent), transparent); pointer-events: none; }
.belt__gate span { position: absolute; left: 50%; top: -11px; transform: translateX(-50%); padding: 3px 10px; border-radius: 99px; background: var(--target); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; white-space: nowrap; }
@keyframes belt-run { to { background-position: 16px 0; } }
@keyframes belt-ride { from { left: -64px; } to { left: calc(100% + 8px); } }
@keyframes belt-turn { 0%, 47% { border-color: var(--source); } 53%, 100% { border-color: var(--target); } }
@keyframes belt-tick { 0%, 49% { opacity: 0; transform: scale(.4); } 55%, 100% { opacity: 1; transform: scale(1); } }
@keyframes belt-out { 0%, 47% { opacity: 1; } 53%, 100% { opacity: 0; } }
@keyframes belt-in { 0%, 47% { opacity: 0; } 53%, 100% { opacity: 1; } }
.board__tally { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); background: var(--surface-2); }
.board__tally > div { display: grid; gap: 2px; padding: 12px 16px; border-right: 1px solid var(--line); }
.board__tally > div.is-good b { color: var(--target-ink); }
.board__tally > div:last-child { border-right: 0; }
.board__tally b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.board__tally span { font-size: 12px; color: var(--muted); white-space: nowrap; }

/* Works with */
.works { padding: 8px 0 40px; }
.works__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; }
.works__label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.works__item { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); }

/* Sections */
.section { padding: 88px 0; }
.section--tint { background: var(--surface-2); }
.section--dark { background: #0d1230; color: #e6e8f7; }
.section__head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section__head--left { margin: 0; text-align: left; }
.section__head h2 { margin-top: 12px; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
.section__head p { margin-top: 14px; font-size: 16.5px; line-height: 1.6; color: var(--muted); }
.section--dark .section__head p { color: #aeb4d6; }
.section--dark .eyebrow { color: #8a8cff; }

.routes { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.route-card { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: transform .2s, border-color .2s; }
.route-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.route-card__pair { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.route-card h3 { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.route-card p { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--muted); }

.cargo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cargo__card { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.cargo__card:nth-child(4), .cargo__card:nth-child(5) { grid-column: span 1; }
.cargo__marks { display: flex; gap: 8px; margin-bottom: 16px; }
.cargo__card h3 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.cargo__card p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--muted); }

.steps { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; counter-reset: s; }
/* Each step draws its own connector: from the edge of its circle to the next circle, across the grid gap. */
.step { position: relative; display: grid; gap: 10px; align-content: start; }
.step:not(:last-child)::before, .step:not(:last-child)::after { content: ""; position: absolute; top: 17px; left: 40px; right: -14px; height: 2px; border-radius: 2px; }
.step:not(:last-child)::before { background: var(--line); }
.step:not(:last-child)::after { background: var(--brand-grad); transform: scaleX(0); transform-origin: left center; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.steps.is-in .step::after { transform: scaleX(1); }
.step:nth-child(2)::after { transition-delay: .3s; }
.step:nth-child(3)::after { transition-delay: .6s; }
.step:nth-child(4)::after { transition-delay: .9s; }
.step:nth-child(5)::after { transition-delay: 1.2s; }
.step__num { position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--surface); font-size: 13px; font-weight: 800; color: var(--muted); transition: border-color .3s, background .3s, color .3s; }
.steps.is-in .step__num { border-color: var(--source); background: var(--source); color: #fff; }
.steps.is-in .step:nth-child(2) .step__num { transition-delay: .3s; }
.steps.is-in .step:nth-child(3) .step__num { transition-delay: .6s; }
.steps.is-in .step:nth-child(4) .step__num { transition-delay: .9s; }
.steps.is-in .step:nth-child(5) .step__num { transition-delay: 1.2s; }
.steps.is-in .step:nth-child(6) .step__num { transition-delay: 1.5s; }
.step h3 { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.step p { font-size: 13.5px; line-height: 1.55; color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.feature { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.feature__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--source-soft); color: var(--source-ink); margin-bottom: 14px; }
.feature h3 { font-size: 15px; font-weight: 700; }
.feature p { margin-top: 6px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }

.security { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.assure--site { margin-top: 26px; }
.consent { display: grid; gap: 0; padding: 22px; border: 1px solid #232a55; border-radius: 18px; background: rgba(255, 255, 255, .03); }
.consent__row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid #232a55; border-radius: 14px; background: #10163a; }
.consent__row--mx { border-color: #2c3568; }
.consent__row .brand__mark { width: 30px; height: 28px; }
.consent__row b { display: block; font-weight: 700; color: #fff; }
.consent__row span:not(.chip) { font-size: 13px; color: #aeb4d6; }
.consent__rail { position: relative; width: 4px; height: 34px; margin: 0 auto; background: #232a55; border-radius: 4px; overflow: hidden; }
.consent__rail span { position: absolute; inset: 0; background: linear-gradient(180deg, #1a56ff, #22d3ee); -webkit-mask: repeating-linear-gradient(180deg, #000 0 8px, transparent 8px 14px); mask: repeating-linear-gradient(180deg, #000 0 8px, transparent 8px 14px); animation: consent-flow 1s linear infinite; }
@keyframes consent-flow { to { -webkit-mask-position: 0 14px; mask-position: 0 14px; } }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan-card { position: relative; display: grid; gap: 6px; align-content: start; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.plan-card.is-featured { border-color: var(--source); box-shadow: 0 20px 60px -30px rgba(75, 77, 237, .5); }
.plan-card__flag { position: absolute; top: -12px; left: 22px; padding: 4px 10px; border-radius: 99px; background: var(--source); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.plan-card h3 { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.plan-card__tag { font-size: 14px; color: var(--muted); min-height: 2.6em; }
.plan-card__price { margin-top: 10px; font-size: 42px; font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-card__price span { font-size: 20px; vertical-align: top; margin-right: 2px; }
.plan-card__per { font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }
.plans__note { margin-top: 18px; text-align: center; }
.plan-card__price--text { font-size: 30px; }
.plan-card--sales { background: var(--surface-2); }
.calc__cost { margin-top: 8px; font-weight: 600; color: var(--source-ink); }

.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; align-items: start; }
.faq__item { min-width: 0; }
.faq__item { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.faq__item > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; font-weight: 600; cursor: pointer; list-style: none; }
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary .icon { color: var(--muted); transition: transform .15s; }
.faq__item[open] > summary .icon { transform: rotate(90deg); }
.faq__item p { padding: 0 20px 18px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }

.finale { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 40px; border-radius: 22px; background: #0d1230; color: #fff; }
.finale h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.03em; }
.finale p { margin-top: 8px; max-width: 52ch; color: #aeb4d6; }
.finale__actions { display: flex; gap: 10px; flex: none; }
.finale .btn--ghost { background: transparent; border-color: #2c3568; color: #fff; }


/* Reveal on scroll */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-group] > [data-reveal]:nth-child(2) { transition-delay: .06s; }
[data-reveal-group] > [data-reveal]:nth-child(3) { transition-delay: .12s; }
[data-reveal-group] > [data-reveal]:nth-child(4) { transition-delay: .18s; }
[data-reveal-group] > [data-reveal]:nth-child(5) { transition-delay: .24s; }
[data-reveal-group] > [data-reveal]:nth-child(6) { transition-delay: .30s; }
[data-reveal-group] > [data-reveal]:nth-child(7) { transition-delay: .36s; }
[data-reveal-group] > [data-reveal]:nth-child(8) { transition-delay: .42s; }

@media (max-width: 1080px) {
  .routes, .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cargo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .step::before, .step::after { display: none; }
}
@media (max-width: 900px) {
  .faq { grid-template-columns: minmax(0, 1fr); }
  .site__nav, .site__cta { display: none; }
  .site__menu { display: inline-grid; }
  .hero { padding: 40px 0 32px; }
  .hero__grid, .security { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .section { padding: 60px 0; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .finale { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .site__wrap, .site__wrap--narrow { width: calc(100% - 32px); }
  .routes, .features, .cargo { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .board__live, .belt__end small { display: none; }
  .board__head { justify-content: center; }
  .belt { height: 180px; }
  .belt__tile { top: 78px; }
  .belt__track { top: 106px; }
  .belt__gate { top: 48px; }
  .site__foot { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .step::after, .step__num { transition: none; }
  .consent__rail span, .board__live i, .belt__track, .belt__tile, .belt__tile::after, .belt__from, .belt__to { animation: none; }
  /* No motion: the tiles stand along the track, already through the gate. */
  .belt__tile { border-color: var(--target); }
  .belt__tile:nth-child(1) { left: 8%; } .belt__tile:nth-child(2) { left: 26%; } .belt__tile:nth-child(3) { left: 62%; } .belt__tile:nth-child(4) { left: 80%; }
  .belt__tile::after, .belt__to { opacity: 1; transform: none; }
  .belt__from { opacity: 0; }
}

/* ── Inner pages ─────────────────────────────────────────────────────────────── */
.site__nav a.is-on, .site__drop > summary.is-on { color: var(--text); }
.site__drop { position: relative; display: flex; align-items: center; }
.site__drop > summary { display: inline-flex; align-items: center; gap: 4px; padding: 6px 8px; margin: -6px -8px; border-radius: 8px; list-style: none; cursor: pointer; font-size: 14px; font-weight: 600; line-height: 1.2; color: var(--muted); }
.site__drop > summary .icon { transition: transform .15s; }
.site__drop[open] > summary .icon { transform: rotate(90deg); }
.site__drop > summary:focus-visible { outline: 2px solid var(--source); outline-offset: 0; }
.site__drop > summary::-webkit-details-marker { display: none; }
.site__drop > summary:hover { color: var(--text); }
.site__drop-panel { position: absolute; left: -12px; top: calc(100% + 10px); z-index: 40; display: grid; gap: 2px; width: max-content; min-width: 320px; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 20px 50px -20px rgba(13, 18, 48, .35), 0 0 0 1px var(--line); }
.site__drop-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.site__drop-panel a { display: flex; align-items: center; gap: 8px; padding: 10px 10px; border-radius: 9px; font-size: 13.5px; font-weight: 600; color: var(--text); text-decoration: none; white-space: nowrap; }
.site__drop-panel a span { margin-left: 4px; }
.site__drop-panel a:hover { background: var(--surface-2); }
.site__drop-panel .matrix__arrow { width: 16px; }
.site__talk { align-self: center; margin-right: 6px; font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; }
.site__talk:hover { color: var(--text); }
.site__sheet-sub { padding-left: 18px !important; font-weight: 500 !important; color: var(--muted) !important; }
.site__foot-cols { display: grid; grid-template-columns: repeat(3, auto); gap: 24px 40px; }
.site__foot-cols div { display: grid; gap: 6px; align-content: start; font-size: 14px; }
.site__foot-cols b { margin-bottom: 4px; }
.site__foot-cols a { color: var(--muted); text-decoration: none; }
.site__foot-cols a:hover { color: var(--text); }

.page-hero { position: relative; overflow: hidden; padding: 64px 0 48px; }
.page-hero::before { content: ""; position: absolute; inset: -30% -10% auto; height: 80%; background: radial-gradient(50% 60% at 25% 30%, rgba(26, 86, 255, .10), transparent 70%), radial-gradient(40% 50% at 85% 10%, rgba(34, 211, 238, .10), transparent 70%); pointer-events: none; }
.page-hero > .site__wrap { position: relative; }
.page-hero h1 { margin-top: 14px; font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; line-height: 1.04; letter-spacing: -.04em; }
.page-hero__lead { margin-top: 18px; max-width: 58ch; font-size: 17px; line-height: 1.6; color: var(--muted); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.page-hero--center { text-align: center; }
.page-hero--center h1 { margin-left: auto; margin-right: auto; max-width: 20ch; }
.page-hero__lead--center { margin-left: auto; margin-right: auto; }
.page-hero--dark { background: #0d1230; color: #e6e8f7; }
.page-hero--dark::before { display: none; }
.page-hero--dark .page-hero__lead { color: #aeb4d6; }
.page-hero--dark .eyebrow { color: #8a8cff; }
.page-hero--dark .btn--ghost { background: transparent; border-color: #2c3568; color: #fff; }

.outcomes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.outcomes li { display: grid; gap: 6px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); font-size: 13.5px; color: var(--muted); }
.outcomes b { font-size: 15px; color: var(--text); }
.outcomes .feature__icon { margin-bottom: 6px; }

.detail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.detail__card { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.detail__card--tight { padding: 20px; }
.detail__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.detail__head h3 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.detail__head p { font-size: 13.5px; }
.detail__text { font-size: 14px; line-height: 1.6; color: var(--muted); }
.ticks { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: 14px; line-height: 1.55; }
.ticks li { position: relative; display: block; padding-left: 25px; }
.ticks .icon { position: absolute; left: 0; top: 4px; color: var(--target-ink); }
.ticks--loose { gap: 12px; margin-top: 22px; font-size: 15px; }
.ticks--small { gap: 6px; margin: 4px 0 16px; font-size: 13.5px; }
.section__lead { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.split h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin-top: 10px; }
.honest { margin-top: 24px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-2); }
.honest h3 { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; }
.honest ul { margin: 12px 0 0; padding-left: 18px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.honest li + li { margin-top: 6px; }
.honest .btn { margin-top: 16px; }
.scenarios { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.scenario { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.scenario h3 { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.scenario p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.route-card { color: inherit; text-decoration: none; display: grid; align-content: start; }
.route-card__more { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--source-ink); }

.route-hero { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: 0 30px 80px -30px rgba(13, 18, 48, .35); }
.route-hero__ends { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; }
.route-hero__ends > span:not(.voyage__rail) { display: grid; justify-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--muted); }
.voyage__rail--wide { display: block; margin: 0; }
.route-hero__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; list-style: none; margin: 20px 0 0; padding: 0; }
.route-hero__list li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; font-weight: 600; }

.stagebar--light .stagebar__step::before { background: var(--line); }
.stagebar--light .stagebar__step.is-done::before { background: var(--target); }
.stagebar--light .stagebar__step.is-current::before { background: linear-gradient(90deg, var(--target) 50%, var(--line) 50%); }
.stagebar--light .stagebar__step { color: var(--muted); }
.stagebar--light .stagebar__step i { border-color: var(--line-strong); background: var(--surface); }
.stagebar--light .stagebar__step.is-done i { border-color: var(--target); background: var(--target); }
.stagebar--light .stagebar__step.is-current i { border-color: var(--source); background: var(--source); box-shadow: 0 0 0 5px var(--source-soft); }
.stagebar--light .stagebar__step.is-done span, .stagebar--light .stagebar__step.is-current span { color: var(--text); }
.stagebar--big .stagebar__step { font-size: 13px; }
.stagebar--big .stagebar__step i { width: 22px; height: 22px; }
.stagebar--big .stagebar__step::before { top: 10px; }
.stagebar--hero { max-width: 760px; margin: 36px auto 0; }

.mock { padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: 0 30px 80px -30px rgba(13, 18, 48, .35); }
.mock__bar { display: flex; gap: 6px; margin-bottom: 14px; }
.mock__bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.mock .stagebar { margin-bottom: 16px; }
.mock__rows { display: grid; gap: 6px; }
.mock__row { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; }
.mock__row b { display: block; font-weight: 600; }
.mock__row small { color: var(--muted); }

.walk { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.walk__step { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 24px; padding: 32px 0; border-top: 1px solid var(--line); }
.walk__step:first-child { border-top: 0; padding-top: 0; }
.walk__num { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--text); color: var(--surface); font-size: 18px; font-weight: 800; }
.walk__body h2 { font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.walk__tag { margin-top: 4px; font-size: 16px; color: var(--muted); }
.walk__body .cargo__marks { margin-top: 12px; }
.walk__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 18px; }
.walk__cols .eyebrow { display: block; margin-bottom: 10px; }
.walk__cols .ticks .icon { color: var(--source-ink); }
.walk__cols > div:last-child .ticks .icon { color: var(--target-ink); }
.timing { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

.calc { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: 0 30px 80px -30px rgba(13, 18, 48, .25); }
.calc h3 { font-size: 17px; font-weight: 700; margin-bottom: 14px; }
.calc .field + .field { margin-top: 12px; }
.calc__out { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 10px; padding: 14px 16px; border-radius: 12px; background: var(--source-soft); color: var(--source-ink); }
.calc__out b { font-size: 34px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }

.compare__table th, .compare__table td { vertical-align: top; font-size: 13.5px; }
.compare__table thead th { font-size: 13px; }
.compare__table th[scope="row"] { font-weight: 600; white-space: normal; min-width: 180px; }
.compare__mx { background: var(--source-soft); }
.compare__table thead .compare__mx { color: var(--source-ink); }
.compare__cell { position: relative; padding-left: 34px !important; }
.compare__mark { position: absolute; left: 14px; top: 16px; width: 10px; height: 10px; border-radius: 50%; }
.compare__cell--ok .compare__mark { background: var(--target); }
.compare__cell--warn .compare__mark { background: var(--amber); }
.compare__cell--bad .compare__mark { background: var(--red); }

.contact { padding: 26px; }
.contact .field + .field, .contact .field-row + .field, .contact .field + .field-row { margin-top: 14px; }
.contact .field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.contact textarea.field__input { resize: vertical; min-height: 120px; }
.contact__hp { position: absolute; left: -9999px; }
.contact .form-actions { align-items: center; }
.contact__done { display: grid; gap: 8px; text-align: center; padding: 20px 0; }
.contact__done .icon { margin: 0 auto 6px; color: var(--target-ink); }
.contact__done h2 { font-size: 22px; font-weight: 800; }

@media (max-width: 1080px) { .scenarios, .timing { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .page-hero__grid, .split, .split--even { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .detail, .outcomes { grid-template-columns: minmax(0, 1fr); }
  .walk__cols { grid-template-columns: minmax(0, 1fr); }
  .site__foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .scenarios, .timing, .route-hero__list { grid-template-columns: minmax(0, 1fr); }
  .walk__step { grid-template-columns: 36px minmax(0, 1fr); gap: 14px; }
  .walk__num { width: 36px; height: 36px; font-size: 15px; }
  .contact .field-row { grid-template-columns: minmax(0, 1fr); }
  .site__foot-cols { grid-template-columns: minmax(0, 1fr); }
}

/* ── Figures: product-shaped illustrations ───────────────────────────────────── */
.fig { margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: 0 30px 80px -40px rgba(13, 18, 48, .35); font-size: 13px; }
.fig figcaption { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.fig .avatar--sm { width: 26px; height: 26px; font-size: 10.5px; }
.fig .avatar--target { background: var(--target-soft); color: var(--target-ink); }
.fig__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.fig__fill { display: block; height: 100%; width: var(--w, 0%); border-radius: 99px; background: linear-gradient(90deg, var(--source), var(--target)); transition: width .8s cubic-bezier(.2, .7, .2, 1); }
/* labels */
.fig__cols { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); gap: 10px; align-items: start; }
.fig__colhead { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-weight: 700; }
.fig__tree { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.fig__tree li { padding: 6px 10px; border-radius: 8px; background: var(--surface-2); font-weight: 600; }
.fig__tree li.is-sub { margin-left: 14px; } .fig__tree li.is-sub2 { margin-left: 28px; }
.fig__tree li small { display: block; font-weight: 500; color: var(--muted); }
.fig__tree li.is-muted { color: var(--muted); border: 1px dashed var(--line-strong); background: transparent; }
.fig__tree--site li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 8px; align-items: start; }
.fig__tree--site li small { grid-column: 2; }
.fig__labels { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.fig__labels li { justify-self: start; padding: 5px 10px; border-radius: 99px; background: #e8f0fe; color: #1967d2; font-weight: 600; }
.fig__labels li.l-inbox { background: #fce8e6; color: #c5221f; } .fig__labels li.l-sent { background: #e6f4ea; color: #137333; }
.fig__mid { display: grid; align-content: center; height: 100%; min-height: 180px; }
.fig__mid .fig__arrow + .fig__arrow { display: none; }
.fig__arrow { position: relative; display: block; height: 2px; background: linear-gradient(90deg, var(--source), var(--target)); border-radius: 2px; }
.fig__arrow::after { content: ""; position: absolute; right: -1px; top: 50%; width: 6px; height: 6px; border-top: 2px solid var(--target); border-right: 2px solid var(--target); transform: translateY(-50%) rotate(45deg); }
/* sharing */
.fig__file { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.fig__file b { font-weight: 700; } .fig__file > span { margin-left: auto; color: var(--muted); }
.fig__file--target { border-color: color-mix(in srgb, var(--target) 40%, var(--line)); }
.fig__people { display: grid; gap: 6px; margin: 10px 0; }
.fig__person { display: grid; grid-template-columns: 26px minmax(0, 1fr) 40px 26px; gap: 10px; align-items: center; padding: 4px 12px; }
.fig__person > span:nth-child(2) { display: flex; gap: 6px; align-items: baseline; font-weight: 600; } .fig__person small { color: var(--muted); font-weight: 500; }
.fig__link { position: relative; display: block; height: 2px; background: linear-gradient(90deg, var(--source), var(--target)); }
/* shared */
.fig__mailbox { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.fig__mailbox b { display: block; font-weight: 700; } .fig__mailbox span:not(.chip) { color: var(--muted); }
.fig__mailbox .chip { margin-left: auto; }
.fig__mailbox--target { border-color: color-mix(in srgb, var(--target) 40%, var(--line)); }
.fig__rights { display: grid; gap: 6px; padding: 10px 12px; }
.fig__rights > div { display: flex; align-items: center; gap: 6px; }
.fig__rail-v { width: 4px; height: 26px; margin: 0 auto; border-radius: 4px; background: var(--line); overflow: hidden; }
.fig__rail-v span { display: block; height: 100%; background: linear-gradient(180deg, var(--source), var(--target)); -webkit-mask: repeating-linear-gradient(180deg, #000 0 6px, transparent 6px 10px); mask: repeating-linear-gradient(180deg, #000 0 6px, transparent 6px 10px); animation: consent-flow 1s linear infinite; }
/* history */
.fig__chat { display: grid; gap: 8px; }
.fig__chathead { display: flex; align-items: center; gap: 8px; font-weight: 700; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.fig__msg { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; }
.fig__msg b { font-weight: 700; } .fig__msg time { margin-left: 8px; font-size: 11.5px; color: var(--muted); } .fig__msg p { margin-top: 2px; color: var(--text); }
.fig__chatfoot { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 8px; border-top: 1px solid var(--line); }
/* verify */
.fig__ledger { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fig__ledger li { display: grid; grid-template-columns: 84px minmax(0, 1fr) 62px auto; gap: 10px; align-items: center; font-weight: 600; }
.fig__bar { display: block; height: 7px; border-radius: 99px; background: var(--line); overflow: hidden; }
.fig__nums { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 500; text-align: right; }
/* delta */
.fig__timeline { display: grid; gap: 8px; }
.fig__tl-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.fig__tl-label { font-weight: 600; } .fig__tl-note { font-size: 12px; color: var(--muted); white-space: nowrap; }
.fig__tl-bar { display: block; height: 10px; width: var(--w, 0%); border-radius: 99px; background: linear-gradient(90deg, var(--source), var(--target)); transition: width .8s cubic-bezier(.2, .7, .2, 1); }
.fig__tl-bar--big { height: 18px; }
.fig__tl-flag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; background: var(--target-soft); color: var(--target-ink); font-weight: 600; }
.fig__tl-row--cut { grid-template-columns: 96px auto; }
/* throttle */
.fig__workers { display: grid; gap: 8px; }
.fig__worker { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; align-items: center; font-weight: 600; }
.fig__lanebar { position: relative; display: block; height: 12px; border-radius: 99px; background: var(--line); overflow: hidden; }
.fig__pause { position: absolute; top: 0; bottom: 0; left: var(--l, 0%); width: var(--w, 0%); display: grid; place-items: center; background: repeating-linear-gradient(135deg, var(--amber-soft) 0 4px, #fff 4px 8px); color: var(--amber); font-size: 9px; font-style: normal; font-weight: 700; }
/* sites */
.fig__site { display: grid; gap: 10px; }
.fig__sitehead { display: flex; align-items: center; gap: 8px; font-weight: 700; } .fig__sitehead .chip { margin-left: auto; }
.fig__roles { display: flex; gap: 8px; }
.fig__roles span { padding: 5px 10px; border-radius: 8px; background: var(--surface-2); color: var(--muted); font-weight: 600; } .fig__roles b { color: var(--text); margin-left: 4px; }
/* report */
.fig__page { padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.fig__pagehead { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); } .fig__pagehead .brand__mark { width: 22px; height: 20px; } .fig__pagehead .small { margin-left: auto; }
.fig__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 12px 0; }
.fig__facts div { display: grid; gap: 2px; padding: 8px 10px; border-radius: 8px; background: var(--surface-2); } .fig__facts b { font-size: 16px; font-weight: 800; } .fig__facts span { font-size: 11.5px; color: var(--muted); }
.fig__lines { display: grid; gap: 6px; } .fig__lines span { display: block; height: 6px; width: var(--w, 0%); border-radius: 99px; background: var(--line-strong); }
/* pairs */
.fig__pairs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fig__pairs li { display: grid; grid-template-columns: 26px minmax(0, 1fr) 22px minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.fig__addr { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fig__addr.is-input { padding: 5px 8px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--faint); font-weight: 500; }
.fig__pairarrow { position: relative; display: block; height: 2px; background: linear-gradient(90deg, var(--source), var(--target)); }
.fig__pairs li.is-warn .fig__pairarrow { background: repeating-linear-gradient(90deg, var(--amber) 0 3px, transparent 3px 6px); }
/* verdict */
.fig__verdict { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; }
.fig__verdict .verdict__ring { width: 96px; height: 96px; } .fig__verdict .verdict__score { font-size: 26px; color: var(--amber); } .fig__verdict .verdict__ring-fill { stroke: var(--amber); }
.fig__verdict b { font-size: 15px; } .fig__verdict p { margin-top: 4px; color: var(--muted); } .fig__verdict .verdict__counts { margin-top: 8px; }
/* cutover */
.fig__checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.fig__checklist li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: center; padding: 6px 8px; border-radius: 8px; font-weight: 600; color: var(--muted); }
.fig__checklist li i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-strong); color: #fff; }
.fig__checklist li.is-done { color: var(--text); } .fig__checklist li.is-done i { border-color: var(--target); background: var(--target); }
/* licenses */
.fig__coins { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fig__coin { display: grid; justify-items: center; gap: 6px; padding: 14px 10px; border: 1px solid var(--line); border-radius: 14px; text-align: center; }
.fig__coinface { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--source); color: #fff; }
.fig__coin--half .fig__coinface { background: linear-gradient(90deg, var(--source) 50%, var(--source-soft) 50%); color: var(--source-ink); }
.fig__coin--free .fig__coinface { background: var(--target-soft); color: var(--target-ink); }
.fig__coin b { font-size: 14px; } .fig__coin span:last-child { font-size: 12px; color: var(--muted); }
/* through */
.fig__through { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: 10px; align-items: stretch; }
.fig__node, .fig__pipe { display: grid; justify-items: center; gap: 4px; padding: 14px 10px; border: 1px solid var(--line); border-radius: 12px; text-align: center; }
.fig__node b, .fig__pipe b { font-size: 13px; } .fig__node span, .fig__pipe span:not(.fig__pipeflow) { font-size: 11.5px; color: var(--muted); }
.fig__pipe { position: relative; border-style: dashed; }
.fig__pipeflow { display: block; width: 100%; height: 6px; margin-bottom: 4px; border-radius: 99px; background: linear-gradient(90deg, var(--source), var(--target)); -webkit-mask: repeating-linear-gradient(90deg, #000 0 10px, transparent 10px 16px); mask: repeating-linear-gradient(90deg, #000 0 10px, transparent 10px 16px); animation: voyage 1.1s linear infinite; }
.fig__nodisk { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 12px; border-radius: 10px; background: var(--red-soft); color: var(--red); font-weight: 600; }
.fig__nodisk i { width: 22px; height: 2px; background: var(--red); transform: rotate(-30deg); }
/* weekend */
.fig__weekend { display: grid; gap: 10px; }
.fig__wk { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 10px; align-items: center; }
.fig__wklabel { font-weight: 700; }
.fig__wkbar { display: block; width: var(--w, 0%); min-width: 40%; padding: 6px 10px; border-radius: 8px; font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: width .8s cubic-bezier(.2, .7, .2, 1); }
.fig__wkbar--bad { background: var(--red-soft); color: var(--red); } .fig__wkbar--warn { background: var(--amber-soft); color: var(--amber); } .fig__wkbar--ok { background: var(--target-soft); color: var(--target-ink); min-width: 0; width: max(var(--w, 0%), 46%); }
/* fidelity */
.fig:has(.fig__fidelity) { display: flex; flex-direction: column; }
.fig__fidelity { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.fig__fidelity-group { display: grid; gap: 8px; }
.fig__fidelity-title { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--target-ink); }
.fig__fidelity-group--listed .fig__fidelity-title { color: var(--amber); }
.fig__fidelity-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fig__fidelity-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 99px; background: var(--target-soft); color: var(--target-ink); font-weight: 600; font-size: 13px; }
.fig__fidelity-group--listed .fig__fidelity-chips span { background: var(--amber-soft); color: var(--amber); }
@media (max-width: 640px) {
  .fig__cols { grid-template-columns: minmax(0, 1fr); } .fig__mid { display: none; }
  .fig__through { grid-template-columns: minmax(0, 1fr); }
  .fig__coins { grid-template-columns: minmax(0, 1fr); }
  .fig__ledger li { grid-template-columns: 70px minmax(0, 1fr) auto; } .fig__ledger .chip { display: none; }
  .fig__pairs li { grid-template-columns: 26px minmax(0, 1fr); } .fig__pairs .fig__pairarrow, .fig__pairs .chip { display: none; }
  .fig__tl-note { display: none; }
}

/* How it works: wide steps with a figure beside each */
.walk--wide { gap: 0; }
.walk__step--wide { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 56px 0; }
.walk__step--wide.is-flipped .walk__body { order: 2; }
.walk__step--wide.is-flipped .walk__fig { order: 1; }
.walk__title { display: flex; align-items: flex-start; gap: 16px; }
.walk__title .walk__num { flex: none; }
.walk__aside { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 10px; align-items: start; margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.walk__aside .icon { margin-top: 3px; color: var(--source-ink); }
.walk__flow { counter-reset: f; }
.walk__flow b { color: #fff; }
.section--dark .walk__flow { color: #aeb4d6; }
.section--dark .walk__flow .icon { color: #2ed3ae; }
.section--dark .split h2 { color: #fff; }
.section--dark .section__lead { color: #aeb4d6; }
.section--dark .fig { background: #10163a; border-color: #232a55; color: #e6e8f7; box-shadow: none; }
.section--dark .fig figcaption { border-color: #232a55; color: #aeb4d6; }
.section--dark .fig__tl-note, .section--dark .fig__tl-label { color: #aeb4d6; }
.section--dark .fig__tl-flag { background: rgba(46, 211, 174, .15); color: #2ed3ae; }
@media (max-width: 900px) {
  .walk__step--wide { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 40px 0; }
  .walk__step--wide.is-flipped .walk__body { order: 1; }
  .walk__step--wide.is-flipped .walk__fig { order: 2; }
}

/* Areas as alternating text + figure rows */
.areas-list { display: grid; gap: 20px; }
.area-row { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.area-row.is-flipped .area-row__text { order: 2; } .area-row.is-flipped .area-row__fig { order: 1; }
.area-row .fig { box-shadow: none; background: var(--surface-2); }
.engine-figs { margin-bottom: 28px; align-items: stretch; }
.engine-figs > div { display: grid; }
.engine-figs .fig { display: flex; flex-direction: column; height: 100%; }
.engine-figs .fig figcaption { margin-top: auto; padding-top: 12px; }
.engine-figs .fig > :not(figcaption):last-of-type { margin-bottom: 12px; }
.fig__col.is-first { order: -1; } .fig__col.is-second { order: 1; }
.fig-center { margin: 0 auto 32px; }
.calc--below { margin-top: 16px; }
@media (max-width: 900px) {
  .area-row { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 20px; }
  .area-row.is-flipped .area-row__text { order: 1; } .area-row.is-flipped .area-row__fig { order: 2; }
}

/* ── Footer ──────────────────────────────────────────────────────────────────── */
.site__footer { position: relative; padding: 56px 0 28px; border-top: 1px solid var(--line); background: var(--surface); }
.site__footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: var(--brand-grad); }
.foot__top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px 64px; align-items: start; }
.foot__brand p { margin-top: 12px; max-width: 34ch; font-size: 14px; line-height: 1.6; color: var(--muted); }
.foot__marks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.foot__marks .plogo { opacity: .85; }
.foot__cols { display: grid; grid-template-columns: repeat(4, auto); gap: 24px 36px; }
.foot__cols > div { display: grid; gap: 8px; align-content: start; font-size: 14px; }
.foot__cols b { margin-bottom: 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.foot__cols a { color: var(--muted); text-decoration: none; }
.foot__cols a:hover { color: var(--text); }
.foot__route { white-space: nowrap; }
.foot__bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--faint); }
.foot__bottom > span:first-child { font-weight: 600; color: var(--muted); white-space: nowrap; }
.foot__legal { max-width: 96ch; line-height: 1.5; }
.captcha-note { margin-top: 10px; }
.captcha-note a { color: inherit; }
@media (max-width: 1080px) { .foot__top { grid-template-columns: minmax(0, 1fr); } .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .foot__top { grid-template-columns: minmax(0, 1fr); } .foot__cols { grid-template-columns: minmax(0, 1fr); } }

/* ── Docs ────────────────────────────────────────────────────────────────────── */
.docs { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; padding: 40px 0 72px; align-items: start; }
.docs__side { position: sticky; top: 88px; display: grid; gap: 22px; font-size: 14px; }
.docs__home { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text); text-decoration: none; }
.docs__group { display: grid; gap: 4px; }
.docs__group .eyebrow { margin-bottom: 4px; }
.docs__group a { padding: 6px 10px; margin-left: -10px; border-radius: 8px; color: var(--muted); text-decoration: none; line-height: 1.35; }
.docs__group a:hover { color: var(--text); background: var(--surface-2); }
.docs__group a.is-on, .docs__home.is-on { color: var(--source-ink); background: var(--source-soft); font-weight: 600; }
.docs__help { display: grid; gap: 4px; padding: 14px; border-radius: 12px; background: var(--surface-2); font-size: 13.5px; }
.docs__help a { color: var(--source-ink); font-weight: 600; text-decoration: none; }
.docs__main { min-width: 0; max-width: 760px; }
.docs__crumbs { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.docs__crumbs a { color: var(--muted); text-decoration: none; } .docs__crumbs strong { color: var(--text); }
.docs__head { margin: 14px 0 28px; }
.docs__head h1 { font-size: clamp(30px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; }
.docs__head--index { margin-top: 0; }
.docs__summary { margin-top: 10px; font-size: 17px; line-height: 1.55; color: var(--muted); }
.docs__meta { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 12.5px; font-weight: 600; color: var(--faint); }
.docs__start { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 40px; }
.docs__start-card { display: grid; gap: 4px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: inherit; text-decoration: none; font-size: 13.5px; transition: border-color .15s, transform .15s; }
.docs__start-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.docs__start-card .feature__icon { margin-bottom: 8px; } .docs__start-card b { font-size: 15px; } .docs__start-card span:last-child { color: var(--muted); }
.docs__section { margin-top: 32px; }
.docs__section h2 { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.docs__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.docs__list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: inherit; text-decoration: none; }
.docs__list a:hover { border-color: var(--line-strong); }
.docs__list b { grid-column: 1; font-size: 15px; } .docs__list span { grid-column: 1; font-size: 13.5px; color: var(--muted); } .docs__list small { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--faint); font-size: 12.5px; white-space: nowrap; }
.docs__pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.docs__pager-link { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; color: inherit; text-decoration: none; }
.docs__pager-link:hover { border-color: var(--line-strong); }
.docs__pager-link span { font-size: 12.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.docs__pager-link span .icon { transform: rotate(180deg); }
.docs__pager-link--next { text-align: right; } .docs__pager-link--next span { justify-content: flex-end; } .docs__pager-link--next span .icon { transform: none; }
.docs__pager-link b { font-size: 15px; }
@media (max-width: 900px) {
  .docs { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .docs__side { position: static; }
  .docs__group { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .docs__group .eyebrow { grid-column: 1 / -1; }
  .docs__start { grid-template-columns: minmax(0, 1fr); }
  .docs__pager { grid-template-columns: minmax(0, 1fr); }
}

/* Status page */
.status-hero { display: inline-flex; align-items: center; gap: 14px; }
.status-hero h1 { margin: 0; }
.status-hero__dot { width: 18px; height: 18px; border-radius: 50%; background: var(--target); box-shadow: 0 0 0 6px var(--target-soft); }
.status-hero--degraded .status-hero__dot { background: var(--amber); box-shadow: 0 0 0 6px var(--amber-soft); }
.status-hero--down .status-hero__dot { background: var(--red); box-shadow: 0 0 0 6px var(--red-soft); }
.status-hero--unknown .status-hero__dot { background: var(--faint); box-shadow: 0 0 0 6px var(--surface-2); }
.status-list { display: grid; gap: 14px; }
.status-row { padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.status-row__head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 12px; }
.status-row__name { font-size: 16px; font-weight: 700; margin: 0; }
.status-row__about { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); }
.status-row__now { text-align: right; display: grid; gap: 4px; justify-items: end; flex: none; }
.status-row__uptime { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 700; }
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-pill--ok { background: var(--target-soft); color: var(--target-ink); }
.status-pill--degraded { background: var(--amber-soft); color: var(--amber); }
.status-pill--down { background: var(--red-soft); color: var(--red); }
.status-pill--unknown { background: var(--surface-2); color: var(--muted); }
.uptime { display: grid; grid-template-columns: repeat(90, minmax(0, 1fr)); gap: 2px; height: 34px; }
.uptime__day { display: block; border-radius: 2px; background: var(--target); min-width: 0; }
.uptime__day--degraded { background: var(--amber); }
.uptime__day--down { background: var(--red); }
.uptime__day--none { background: var(--line); }
.uptime__axis { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11.5px; color: var(--faint); }
.status-legend { margin-top: 16px; display: flex; align-items: center; gap: 8px 6px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.status-legend .uptime__day { width: 12px; height: 12px; margin-left: 10px; }
.incident { padding: 20px 22px; border: 1px solid var(--line); border-left-width: 4px; border-radius: 14px; background: var(--surface); }
.incident + .incident { margin-top: 12px; }
.incident--major { border-left-color: var(--red); }
.incident--minor { border-left-color: var(--amber); }
.incident--maintenance, .incident--resolved { border-left-color: var(--line-strong); }
.incident__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.incident__head h2, .incident__head h3 { margin: 0; font-size: 17px; }
.incident__updates { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.incident__updates li { display: grid; grid-template-columns: 110px 1fr; gap: 2px 12px; font-size: 14px; }
.incident__updates li p { grid-column: 1 / -1; margin: 0; color: var(--muted); }
@media (max-width: 640px) { .status-row__head { flex-direction: column; } .status-row__now { justify-items: start; text-align: left; } .uptime { height: 26px; } }

/* Partner program */
.partner-hero { display: flex; justify-content: center; }
.partner-hero__card { width: 100%; max-width: 380px; padding: 26px; border-radius: 20px; background: var(--surface); color: var(--text); border: 1px solid var(--line); box-shadow: 0 30px 80px -30px rgba(13, 18, 48, .5); display: grid; gap: 12px; }
.partner-hero__price { font-size: 46px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.partner-hero__price span { display: block; margin-top: 6px; font-size: 13.5px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.partner-hero__rows { display: grid; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.partner-hero__rows div { display: flex; justify-content: space-between; font-size: 14px; }
.partner-hero__rows span { font-variant-numeric: tabular-nums; font-weight: 700; }
.partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.partner-card { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: inherit; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, border-color .18s; }
.partner-card:hover { transform: translateY(-2px); border-color: var(--source); box-shadow: 0 16px 40px -24px rgba(13, 18, 48, .45); }
.partner-card__mark { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 14px; background: var(--brand-grad); color: #fff; font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.partner-card__mark--lg { width: 84px; height: 84px; border-radius: 22px; font-size: 30px; }
.partner-card__body { display: grid; gap: 4px; min-width: 0; }
.partner-card__body b { font-size: 16px; }
.partner-card__where { font-size: 12.5px; color: var(--muted); }
.partner-card__body p { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.partner-card__tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.partner-profile { display: flex; gap: 24px; align-items: flex-start; }
.partner-profile h1 { margin: 10px 0 8px; }
.dir-filter { display: grid; grid-template-columns: minmax(0, 1fr) 200px 260px auto; gap: 10px; align-items: center; }
.apply__h { font-size: 15px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 6px 0 -6px; }
.apply__checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
@media (max-width: 900px) { .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dir-filter { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .partner-grid, .apply__checks { grid-template-columns: minmax(0, 1fr); } .partner-profile { flex-direction: column; } }

/* Pricing page: partner band */
.partner-band { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; align-items: center; margin-top: 22px; padding: 24px 26px; border-radius: 18px; background: linear-gradient(135deg, #0d1230, #1a2a6c); color: #fff; }
.partner-band__mark { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(255, 255, 255, .12); color: #7dd3fc; }
.partner-band__text h3 { margin: 10px 0 6px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.partner-band__text p { margin: 0; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .78); max-width: 62ch; }
.partner-band__price { display: grid; gap: 8px; justify-items: center; text-align: center; padding-left: 26px; border-left: 1px solid rgba(255, 255, 255, .15); }
.partner-band__price b { font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.partner-band__price > span { font-size: 12.5px; color: rgba(255, 255, 255, .7); }
.partner-band__price a.small { color: rgba(255, 255, 255, .75); }
@media (max-width: 900px) { .partner-band { grid-template-columns: minmax(0, 1fr); } .partner-band__mark { display: none; } .partner-band__price { padding-left: 0; border-left: 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .15); } }

.partner-hero__card--wide { max-width: 460px; }
.tier-table table { width: 100%; border-collapse: collapse; font-size: 14.5px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.tier-table th, .tier-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tier-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--surface-2); }
.tier-table tr:last-child td { border-bottom: 0; }
.tier-table s { margin-left: 4px; }
@media (max-width: 760px) { .tier-table { overflow-x: auto; } .tier-table table { min-width: 640px; } }
.partner-hero__card > .chip { justify-self: start; }

.partner-band--tiers { grid-template-columns: minmax(0, 1fr) auto; }
.partner-band__tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ptier { display: grid; gap: 4px; justify-items: start; min-width: 150px; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.ptier b { font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin-top: 4px; }
.ptier__price { font-size: 13px; color: rgba(255, 255, 255, .85); }
.ptier__price s { color: rgba(255, 255, 255, .5); margin-left: 2px; }
.ptier__earn { font-size: 12px; color: rgba(255, 255, 255, .6); }
.ptier--diamond { background: rgba(34, 211, 238, .12); border-color: rgba(34, 211, 238, .35); }
.partner-band .hero__actions { margin-top: 14px; }
@media (max-width: 1080px) { .partner-band--tiers { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .partner-band__tiers { grid-template-columns: minmax(0, 1fr); } }

/* Partner hero: the growth route climbing three tiers */
.page-hero__grid--tight { align-items: center; }
.hero__marks { display: flex; gap: 12px; margin-top: 26px; opacity: .8; }
.climb { position: relative; }
.climb__svg { width: 100%; height: auto; display: block; overflow: visible; }
.climb__tier { font: 700 14px var(--font); fill: rgba(255, 255, 255, .85); }
.climb__pct { font: 800 24px var(--font); fill: #fff; letter-spacing: -.02em; }
.climb__price { font: 600 13px var(--font); fill: rgba(255, 255, 255, .9); }
.climb__earn { font: 500 12px var(--font); fill: rgba(255, 255, 255, .75); }
.climb__label { font: 600 11.5px var(--font); fill: rgba(255, 255, 255, .7); letter-spacing: .02em; }
.climb__route { stroke-dasharray: 900; stroke-dashoffset: 900; animation: climb-draw 1.6s cubic-bezier(.2, .7, .2, 1) .3s forwards; }
.climb__node { opacity: 0; animation: climb-pop .4s ease-out forwards; }
.climb__node:nth-of-type(1) { animation-delay: .7s; }
.climb__node:nth-of-type(2) { animation-delay: 1.2s; }
.climb__node:nth-of-type(3) { animation-delay: 1.7s; }
.climb__step { opacity: 0; transform: translateY(14px); animation: climb-rise .6s cubic-bezier(.2, .8, .3, 1) forwards; }
.climb__step--1 { animation-delay: .1s; } .climb__step--2 { animation-delay: .3s; } .climb__step--3 { animation-delay: .5s; }
.climb__packet { filter: drop-shadow(0 0 6px #fff); }
.climb__caption { margin-top: 12px; text-align: center; font-size: 12.5px; color: rgba(255, 255, 255, .6); }
@keyframes climb-draw { to { stroke-dashoffset: 0; } }
@keyframes climb-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes climb-rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .climb__route, .climb__node, .climb__step { animation: none; opacity: 1; transform: none; stroke-dashoffset: 0; } .climb__packet { display: none; } }

/* Migration time calculator */
.tcalc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: 0 30px 80px -30px rgba(13, 18, 48, .25); }
.tcalc__routes { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 8px; margin: 0 0 18px; padding: 0; border: 0; }
.tcalc__routes legend { margin-bottom: 8px; }
.tcalc__route input { position: absolute; opacity: 0; pointer-events: none; }
.tcalc__route span { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 12px; font-size: 13.5px; cursor: pointer; transition: border-color .15s, background .15s; }
.tcalc__route span b { font-weight: 600; }
.tcalc__route input:checked + span { border-color: var(--source); background: var(--source-soft); color: var(--source-ink); }
.tcalc__route input:focus-visible + span { outline: 2px solid var(--source); outline-offset: 2px; }
.tcalc__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.tcalc__workers { margin-top: 18px; }
.tcalc__workers .field__label b { display: inline-grid; place-items: center; min-width: 28px; height: 24px; margin-left: 8px; padding: 0 8px; border-radius: 999px; background: var(--source-soft); color: var(--source-ink); font-variant-numeric: tabular-nums; }
.tcalc__workers input[type="range"] { width: 100%; accent-color: var(--source); }
.tcalc__result { display: grid; align-content: start; gap: 16px; padding: 24px; border-radius: 18px; background: var(--surface-2); }
.tcalc__headline { display: grid; gap: 4px; }
.tcalc__kicker { font-size: 13px; font-weight: 600; color: var(--muted); }
.tcalc__headline > b { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.tcalc__sub { font-size: 14px; color: var(--muted); }
.tcalc__bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; background: var(--line); }
.tcalc__seg { display: block; width: var(--w, 0%); min-width: 0; transition: width .35s ease; }
.tcalc__seg--mail, .tcalc__dot--mail { background: var(--source); }
.tcalc__seg--files, .tcalc__dot--files { background: #1a56ff; }
.tcalc__seg--sites, .tcalc__dot--sites { background: var(--target); }
.tcalc__seg--teams, .tcalc__dot--teams { background: #22d3ee; }
.tcalc__legend { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.tcalc__legend li { display: flex; align-items: center; gap: 8px; }
.tcalc__legend li[hidden] { display: none; }
.tcalc__legend b { margin-left: auto; font-variant-numeric: tabular-nums; }
.tcalc__dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.tcalc__after { display: grid; gap: 8px; margin: 0; padding-top: 14px; border-top: 1px solid var(--line); }
.tcalc__after > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.tcalc__after dt { color: var(--muted); }
.tcalc__after dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.tcalc__rates { width: 100%; }
.tcalc__rates .num { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .tcalc { grid-template-columns: minmax(0, 1fr); padding: 20px; } }
@media (max-width: 560px) { .tcalc__grid { grid-template-columns: minmax(0, 1fr); } }

/* Route rows: one row per source; its routes fill the row edge to edge */
.rrows { display: grid; gap: 12px; }
.rrow { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 12px; align-items: stretch; }
.rrow__from { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 18px; border-radius: 16px; background: var(--surface-2); }
.rrow__from b { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.rrow__from span { font-size: 12.5px; color: var(--muted); }
.rrow__cells { display: flex; gap: 12px; }
.rrow__cell { flex: 1 1 0; display: grid; align-content: start; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: inherit; text-decoration: none; transition: transform .2s, border-color .2s, box-shadow .2s; }
.rrow__cell:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: 0 18px 40px -24px rgba(13, 18, 48, .35); }
.rrow__to { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.rrow__to::before { content: "→"; color: var(--target-ink); font-weight: 700; }
.rrow__cell b { font-size: 16px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.rrow__cell small { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.rrow__more { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--source-ink); }
@media (max-width: 900px) {
  .rrow { grid-template-columns: minmax(0, 1fr); }
  .rrow__from { flex-direction: row; align-items: center; padding: 12px 16px; }
  .rrow__from span { margin-left: auto; }
  .rrow__cells { flex-direction: column; }
}

/* Directory sync page: the pairings */
.dsync-pairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dsync-pair { display: grid; grid-template-columns: auto auto auto; justify-content: start; align-items: center; gap: 6px 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.dsync-pair b { font-size: 15.5px; font-weight: 700; }
.dsync-pair span { grid-column: 1 / -1; font-size: 13.5px; color: var(--muted); }
.dsync-pair:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 720px) { .dsync-pairs { grid-template-columns: minmax(0, 1fr); } .dsync-pair b { font-size: 14.5px; } }
.site__drop-panel .site__drop-extra { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); border-radius: 0 0 9px 9px; color: var(--source-ink, var(--text)); }
.site__drop-panel .site__drop-extra svg { flex: none; }
.dsync-pairs--stack { grid-template-columns: minmax(0, 1fr); align-content: center; }
a.dsync-pair { text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s; }
a.dsync-pair:hover { border-color: var(--line-strong, var(--line)); transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { a.dsync-pair { transition: none; } a.dsync-pair:hover { transform: none; } }
