/* ================= Datar Consulting — fxcrossconnect.com ================= */
:root {
  --ink: #07131c;
  --ink-2: #0b1d29;
  --paper: #f0f1ea;
  --lime: #c7ff45;
  --aqua: #69e6dc;
  --coral: #ff7e67;
  --muted: #aeb9b8;
  --line: rgba(240, 241, 234, .18);
  --plum: #d66bbb; /* Mercury Ledger accent (mercuryledger.net dark theme, 2026-09-10) — product card only */
  /* Tiles (2026-09-11): every section sits on a rounded tile one step lighter than the ground, as on
     mercuryledger.net; cards nested inside a tile use --tile-2. Same radius / padding rhythm as Mercury. */
  --tile: #0d1c29; --tile-2: #132634; --tile-r: 20px;
  --tile-pad: clamp(28px, 4vw, 56px); --tile-gap: clamp(24px, 3.5vw, 44px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; } /* dark form controls + scrollbars (2026-09-10) */
body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: Manrope, Arial, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

.grid-glow {
  position: fixed; inset: 0; pointer-events: none; z-index: -1; opacity: .3;
  background:
    linear-gradient(rgba(105, 230, 220, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(105, 230, 220, .045) 1px, transparent 1px),
    radial-gradient(circle at 82% 5%, rgba(60, 157, 175, .34), transparent 32%),
    radial-gradient(circle at 8% 88%, rgba(122, 158, 63, .16), transparent 30%);
  background-size: 42px 42px, 42px 42px, auto, auto;
}

/* ---------- shell + header ---------- */
.site-header, .section-shell, footer { width: min(1220px, calc(100% - 64px)); margin: auto; }
/* tiles: main is a stack with one gap; every top-level section is a tile, the capability tape stays a band */
main { display: grid; gap: var(--tile-gap); padding: var(--tile-gap) 0; }
main > * { min-width: 0; }
main > .section-shell, .approach {
  background: var(--tile); border: 1px solid var(--line); border-radius: var(--tile-r); padding: var(--tile-pad);
}
.approach { width: min(1220px, calc(100% - 64px)); margin: auto; }
.approach > .section-shell { width: 100%; margin: 0; }
.site-header {
  height: 92px; display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 3; border-bottom: 1px solid var(--line);
}
.brand { display: flex; gap: 11px; align-items: center; font-weight: 800; font-size: 18px; letter-spacing: .17em; }
.brand-light { color: var(--lime); }
.brand-mark { display: flex; align-items: flex-end; }
nav { display: flex; align-items: center; gap: 29px; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
nav a:not(.nav-contact) { color: #bec6c4; }
nav a:hover { color: var(--lime); }
.nav-contact { border: 1px solid rgba(199, 255, 69, .65); padding: 12px 15px; color: var(--lime); transition: background .22s, color .22s; }
.nav-contact:hover { background: var(--lime); color: var(--ink); }
.nav-contact span { margin-left: 8px; }
.menu-button { display: none; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; position: relative;
}
.eyebrow, .section-kicker {
  font: 500 12px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .12em; color: var(--aqua);
}
.pulse {
  display: inline-block; width: 7px; height: 7px; margin: 0 8px 1px 0;
  background: var(--lime); border-radius: 50%; box-shadow: 0 0 0 5px rgba(199, 255, 69, .13);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(199, 255, 69, .16); }
  50% { box-shadow: 0 0 0 9px rgba(199, 255, 69, .05); }
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 30px 0 26px; font-size: clamp(50px, 5.6vw, 88px);
  line-height: .98; letter-spacing: -.055em; font-weight: 700;
}
h1 em {
  font-style: normal; font-weight: 400;
  background: linear-gradient(92deg, var(--lime) 20%, var(--aqua) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lede { max-width: 460px; color: #c3cdcb; font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 34px; margin-top: 38px; flex-wrap: wrap; }
.button-primary {
  display: inline-flex; align-items: center; gap: 12px; padding: 16px 22px;
  background: var(--lime); color: var(--ink); font-weight: 800; font-size: 13px;
  text-transform: uppercase; letter-spacing: .07em;
  box-shadow: 0 0 0 0 rgba(199, 255, 69, .35); transition: box-shadow .25s, transform .25s;
}
.button-primary:hover { box-shadow: 0 0 34px 0 rgba(199, 255, 69, .35); transform: translateY(-2px); }
.text-link {
  display: inline-flex; gap: 14px; color: var(--lime);
  text-transform: uppercase; font: 500 12px "DM Mono", monospace; letter-spacing: .08em;
}
.text-link span { font-size: 17px; margin-top: -4px; }

/* hero market panel */
.hero-panel { margin: 0; position: relative; }
.market-svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 24px 60px rgba(0, 0, 0, .45)); }
.panel-bg { fill: rgba(11, 29, 41, .92); stroke: rgba(105, 230, 220, .28); stroke-width: 1; }
.svg-mono { font-family: "DM Mono", monospace; }
.svg-label { font-size: 13px; letter-spacing: .12em; fill: #9fb3b8; }
.svg-live { font-size: 12px; letter-spacing: .14em; fill: var(--lime); }
.live-dot { animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.svg-grid line { stroke: rgba(240, 241, 234, .07); }
.svg-axis { font-size: 11px; fill: #6f8a92; letter-spacing: .04em; }
.svg-divider { stroke: rgba(240, 241, 234, .12); }
.candle line { stroke: rgba(240, 241, 234, .55); stroke-width: 1.6; }
.candle.up rect { fill: var(--lime); opacity: .88; }
.candle.dn rect { fill: var(--coral); opacity: .8; }
.candles .candle { animation: rise .5s ease-out backwards; }
.candles .candle:nth-child(1) { animation-delay: .05s; } .candles .candle:nth-child(2) { animation-delay: .13s; }
.candles .candle:nth-child(3) { animation-delay: .21s; } .candles .candle:nth-child(4) { animation-delay: .29s; }
.candles .candle:nth-child(5) { animation-delay: .37s; } .candles .candle:nth-child(6) { animation-delay: .45s; }
.candles .candle:nth-child(7) { animation-delay: .53s; } .candles .candle:nth-child(8) { animation-delay: .61s; }
.candles .candle:nth-child(9) { animation-delay: .69s; } .candles .candle:nth-child(10) { animation-delay: .77s; }
.candles .candle:nth-child(11) { animation-delay: .85s; } .candles .candle:nth-child(12) { animation-delay: .93s; }
.candles .candle:nth-child(13) { animation-delay: 1.01s; } .candles .candle:nth-child(14) { animation-delay: 1.09s; }
.candles .candle:nth-child(15) { animation-delay: 1.17s; } .candles .candle:nth-child(16) { animation-delay: 1.25s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.price-line {
  fill: none; stroke: url(#lineGrad); stroke-width: 2.6; stroke-linecap: round;
  stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.6s .35s ease-out forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.price-dot { fill: var(--lime); animation: dotpulse 2s 2.6s ease-in-out infinite, appear .3s 2.5s backwards; }
@keyframes dotpulse { 0%, 100% { r: 5; opacity: 1; } 50% { r: 7; opacity: .7; } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }
.price-tag { animation: appear .4s 2.7s backwards; }
.svg-tag { font-size: 13px; font-weight: 500; fill: var(--ink); }
.svg-bid-label { font-size: 10px; letter-spacing: .12em; fill: var(--lime); opacity: .85; }
.svg-ask-label { font-size: 10px; letter-spacing: .12em; fill: var(--aqua); opacity: .85; }
.depth-bid { fill: url(#bidGrad); stroke: rgba(199, 255, 69, .65); stroke-width: 1.4; }
.depth-ask { fill: url(#askGrad); stroke: rgba(105, 230, 220, .65); stroke-width: 1.4; }
.svg-mid { stroke: rgba(240, 241, 234, .3); stroke-dasharray: 3 5; }
.svg-fix { font-size: 9.5px; fill: #587681; letter-spacing: .03em; }

/* ---------- capability tape ---------- */
.ticker { background: var(--tile); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: tape 36s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; align-items: center; gap: 26px; padding: 17px 13px 17px 26px; }
.ticker-group span { font: 500 12px "DM Mono", monospace; letter-spacing: .1em; color: #b7c2c0; white-space: nowrap; }
.ticker-group span b { color: var(--lime); font-weight: 500; }
.ticker-group i { font-style: normal; font-size: 8px; color: var(--aqua); opacity: .7; }
@keyframes tape { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- statement ---------- */
.statement { display: grid; grid-template-columns: 1fr 2.1fr; }
h2 { font-size: clamp(37px, 5vw, 72px); line-height: 1.06; letter-spacing: -.055em; font-weight: 600; margin-bottom: 38px; }
.statement h2 { grid-column: 2; margin-bottom: 44px; }
.statement-copy {
  grid-column: 2; width: min(640px, 100%); color: var(--muted); font-size: 18px; line-height: 1.75;
  border-left: 2px solid rgba(199, 255, 69, .5); padding-left: 26px;
}

/* ---------- expertise ---------- */
.section-heading { display: flex; justify-content: space-between; align-items: start; margin-bottom: 50px; }
.section-heading > p:last-child { width: 340px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.service-list { border-top: 1px solid var(--line); }
.service-card {
  min-height: 180px; display: grid; grid-template-columns: 64px 96px 1fr 42px; gap: 24px;
  align-items: center; padding: 34px 0; border-bottom: 1px solid var(--line);
  transition: padding .25s, background .25s;
}
.service-card:hover { padding-left: 22px; background: rgba(105, 230, 220, .04); }
.card-number { align-self: start; margin-top: 5px; color: var(--aqua); font: 500 13px "DM Mono", monospace; }
.card-icon { width: 84px; height: 84px; display: grid; place-items: center; background: var(--tile-2); border: 1px solid var(--line); border-radius: 14px; transition: border-color .25s, transform .25s; }
.service-card:hover .card-icon { border-color: rgba(199, 255, 69, .5); transform: translateY(-3px); }
.card-icon svg { width: 52px; height: 52px; }
.i-stroke { stroke: rgba(240, 241, 234, .55); stroke-width: 2; }
.i-line { stroke: var(--paper); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.i-col { stroke: rgba(240, 241, 234, .7); stroke-width: 4; stroke-linecap: round; }
.i-lime { fill: var(--lime); }
.i-aqua { fill: none; stroke: var(--aqua); stroke-width: 2.2; }
.i-box { fill: none; stroke: rgba(240, 241, 234, .6); stroke-width: 2; }
.service-card h3 { margin: 0 0 12px; font-size: 30px; letter-spacing: -.04em; }
.service-card p { max-width: 625px; margin: 0; color: #b3bebd; font-size: 16px; line-height: 1.65; }
.card-arrow { color: var(--lime); font-size: 24px; transition: transform .25s; }
.service-card:hover .card-arrow { transform: translate(4px, -4px); }

/* ---------- approach ---------- */
/* One dark theme site-wide (admin 2026-09-10): the former sage band is gone. Since 2026-09-11 a tile like every section. */
.approach { color: var(--paper); }
.approach .section-kicker { color: var(--aqua); }
.approach-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 75px; }
.approach h2 { margin: 28px 0 0; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 72px 1fr; padding: 25px 0 30px; border-top: 1px solid var(--line); }
.steps span { color: var(--aqua); font: 500 13px "DM Mono", monospace; }
.steps h3 { margin: 0 0 9px; font-size: 22px; letter-spacing: -.04em; }
.steps p { margin: 0; max-width: 390px; color: #b3bebd; font-size: 15px; line-height: 1.65; }

/* architecture flow diagram */
.flow-figure { margin: 56px 0 0; scrollbar-width: thin; scrollbar-color: rgba(240, 241, 234, .35) transparent; }
.flow-svg { width: 100%; height: auto; display: block; }
.flow-lines line { stroke: rgba(240, 241, 234, .55); stroke-width: 1.6; marker-end: url(#arrow); }
.flow-arrow { fill: rgba(240, 241, 234, .8); }
.flow-node rect { fill: var(--tile-2); stroke: rgba(240, 241, 234, .45); stroke-width: 1.5; }
.flow-node text { font: 700 12.5px Manrope, sans-serif; letter-spacing: .08em; fill: var(--paper); }
.flow-node.accent rect { fill: rgba(199, 255, 69, .16); stroke: var(--lime); }
.flow-node.accent text { fill: var(--lime); }
.flow-node.sub rect { fill: rgba(11, 29, 41, .6); stroke: rgba(240, 241, 234, .35); stroke-dasharray: 5 4; }
.flow-node.sub text { font-size: 11.5px; fill: #9fb3b8; }
.flow-caption text { font: 500 11px "DM Mono", monospace; letter-spacing: .08em; fill: var(--aqua); text-transform: uppercase; }
.packet { fill: var(--lime); stroke: var(--ink); stroke-width: 1.4; }
.p1 { offset-path: path("M142,88 L186,88 L322,88 L366,88 L522,88 L566,88"); animation: travel 4.2s linear infinite; }
.p2 { offset-path: path("M447,116 L447,196"); animation: travel 2.6s .6s linear infinite; }
.p3 { offset-path: path("M634,116 L634,196"); animation: travel 2.6s 1.4s linear infinite; }
@keyframes travel { from { offset-distance: 0%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } to { offset-distance: 100%; opacity: 0; } }
@supports not (offset-path: path("M0,0 L1,1")) { .packet { display: none; } }
.flow-note { margin-top: 22px; font: 500 12px "DM Mono", monospace; letter-spacing: .08em; text-transform: uppercase; color: #93a2a0; }

/* ---------- experience ---------- */
.experience-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--tile-2); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.experience-grid article {
  min-height: 240px; padding: 33px 33px 24px; border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.experience-grid article:last-child { border: 0; }
.metric { margin: 0 0 14px; color: var(--lime); font: 500 clamp(35px, 4vw, 60px) "DM Mono", monospace; letter-spacing: -.08em; }
.metric span { color: var(--aqua); }
.experience-grid article > p:last-of-type { margin: 0 0 auto; color: #b3bebd; max-width: 240px; font-size: 15px; line-height: 1.6; }
.spark { width: min(220px, 100%); height: 40px; margin-top: 26px; opacity: .65; }
.spark path { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.spark-lime { stroke: var(--lime); }
.spark-aqua { stroke: var(--aqua); }

.engagements { margin-top: 56px; border-top: 1px solid var(--line); }
.engagement {
  display: grid; grid-template-columns: 1fr 250px; gap: 30px; align-items: center;
  padding: 30px 0; border-bottom: 1px solid var(--line);
}
.engagement h3 { margin: 0 0 10px; font-size: 23px; letter-spacing: -.035em; }
.engagement p { margin: 0; max-width: 700px; color: #a8b3b2; font-size: 15.5px; line-height: 1.65; }
.engagement-tag { justify-self: end; color: var(--aqua); font: 500 11px "DM Mono", monospace; letter-spacing: .1em; text-align: right; }
.orgs { margin: 46px 0 0; color: #93a2a0; font-size: 14.5px; line-height: 1.8; letter-spacing: .02em; }
.orgs-label { display: block; margin-bottom: 6px; font: 500 11px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .12em; color: var(--aqua); }

.technology { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 42px; }
.technology span {
  color: #b3bfbd; border: 1px solid var(--line); padding: 9px 13px;
  font: 500 12px "DM Mono", monospace; transition: border-color .2s, color .2s;
}
.technology span:hover { border-color: rgba(199, 255, 69, .55); color: var(--lime); }

/* ---------- contact ---------- */
.contact-panel { position: relative; }
.contact h2 { margin: 30px 0 35px; }
.email-link {
  color: var(--lime); font-size: clamp(24px, 4.2vw, 54px); font-weight: 500; letter-spacing: -.05em;
  border-bottom: 1px solid rgba(199, 255, 69, .6); transition: text-shadow .25s;
}
.email-link:hover { text-shadow: 0 0 28px rgba(199, 255, 69, .45); }
.email-link span { font-size: .65em; vertical-align: top; margin-left: 10px; }
.contact-note { color: #91a09e; margin: 60px 0 0; font: 500 12px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .06em; }

footer {
  min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  color: #899795; border-top: 1px solid var(--line);
  font: 500 11px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .08em;
}
footer a { color: var(--aqua); }
footer a:hover { color: var(--lime); }

/* ---------- reveal on scroll ---------- */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track, .pulse, .live-dot, .price-dot, .price-tag, .packet,
  .candles .candle, .price-line { animation: none; }
  .price-line { stroke-dashoffset: 0; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { flex-wrap: nowrap; }
}

/* ---------- mobile ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 40px; }
  .hero-panel { max-width: 640px; }
}
@media (max-width: 760px) {
  :root { --tile-pad: 22px; --tile-r: 16px; --tile-gap: 18px; }
  .site-header, .section-shell, footer, .approach { width: calc(100% - 40px); }
  .site-header { height: 74px; }
  .menu-button {
    display: block; background: none; border: 0; color: var(--lime);
    font: 500 12px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .1em;
  }
  nav {
    position: absolute; display: none; top: 73px; right: 0; left: 0; background: #10262d;
    border: 1px solid var(--line); padding: 20px; align-items: start; flex-direction: column; gap: 20px;
  }
  nav.open { display: flex; }
  h1 { margin: 34px 0 26px; font-size: clamp(46px, 13vw, 72px); }
  .hero-lede { font-size: 16px; }
  .statement { display: block; }
  .statement h2 { margin-top: 30px; }
  .statement-copy { font-size: 16px; padding-left: 20px; }
  .section-heading { display: block; }
  .section-heading > p:last-child { width: auto; margin-top: 22px; }
  .service-card { grid-template-columns: 42px 1fr; gap: 14px; }
  .card-icon { display: none; }
  .card-arrow { display: none; }
  .service-card h3 { font-size: 24px; }
  .service-card p { font-size: 15px; }
  .approach-grid { display: block; }
  .approach h2 { margin-bottom: 48px; }
  .flow-figure { margin-top: 60px; overflow-x: auto; }
  .flow-svg { min-width: 640px; }
  .experience-grid { grid-template-columns: 1fr; }
  .experience-grid article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .experience-grid article:last-child { border-bottom: 0; }
  .engagement { grid-template-columns: 1fr; gap: 14px; }
  .engagement-tag { justify-self: start; text-align: left; }
  .contact-note { line-height: 1.7; }
  footer { padding: 25px 0; min-height: 0; align-items: start; flex-direction: column; gap: 13px; }
}

/* ================= service subpages ================= */
.page-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.back-link { display: inline-flex; gap: 10px; color: var(--aqua); font: 500 12px "DM Mono", monospace; letter-spacing: .1em; text-transform: uppercase; }
.back-link:hover { color: var(--lime); }
.page-hero h1 { margin: 26px 0 26px; font-size: clamp(44px, 4.9vw, 78px); line-height: 1; letter-spacing: -.05em; font-weight: 700; }
.page-hero h1 em {
  font-style: normal; font-weight: 400;
  background: linear-gradient(92deg, var(--lime) 20%, var(--aqua) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.panel-figure { margin: 0; }
.panel-svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 24px 60px rgba(0, 0, 0, .45)); }
.blink { animation: blink 1.6s ease-in-out infinite; }

.cap-list { border-top: 1px solid var(--line); }
.cap-row { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); transition: padding .25s, background .25s; }
.cap-row:hover { padding-left: 16px; background: rgba(105, 230, 220, .04); }
.cap-num { color: var(--aqua); font: 500 13px "DM Mono", monospace; margin-top: 4px; }
.cap-row h3 { margin: 0 0 10px; font-size: 24px; letter-spacing: -.035em; }
.cap-row p { margin: 0; max-width: 780px; color: #b3bebd; font-size: 16px; line-height: 1.65; }

.more-services { display: flex; gap: 34px; flex-wrap: wrap; margin-top: 64px; }
.more-services a {
  color: var(--lime); font: 500 12px "DM Mono", monospace; letter-spacing: .1em; text-transform: uppercase;
  border-bottom: 1px solid rgba(199, 255, 69, .4); padding-bottom: 5px;
}
.more-services a:hover { border-color: var(--lime); }
.more-label { display: block; width: 100%; font: 500 11px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .12em; color: var(--aqua); margin-bottom: -14px; }

/* packet routes: FX page */
.fx-p1 { offset-path: path("M142,88 L554,88"); animation: travel 4.5s linear infinite; }
.fx-p2 { offset-path: path("M440,116 L440,196"); animation: travel 2.6s .7s linear infinite; }
.fx-p3 { offset-path: path("M628,116 L628,196"); animation: travel 2.6s 1.5s linear infinite; }
/* packet routes: banking page */
.bk-p1 { offset-path: path("M142,88 L564,88"); animation: travel 4.5s linear infinite; }
.bk-p2 { offset-path: path("M261,116 L261,196"); animation: travel 2.6s .7s linear infinite; }
.bk-p3 { offset-path: path("M450,116 L450,196"); animation: travel 2.6s 1.5s linear infinite; }
/* packet routes: modernization page */
.md-p1 { offset-path: path("M172,88 L564,88"); animation: travel 5s linear infinite; }
.md-p2 { offset-path: path("M276,116 L276,196"); animation: travel 3s 1s linear infinite; }
.md-p3 { offset-path: path("M460,116 L460,196"); animation: travel 3s 2s linear infinite; }
.mig-dot { fill: var(--lime); offset-path: path("M240,200 L370,200"); animation: travel 2.8s linear infinite; }

@media (prefers-reduced-motion: reduce) {
  .blink, .mig-dot, .fx-p1, .fx-p2, .fx-p3, .bk-p1, .bk-p2, .bk-p3, .md-p1, .md-p2, .md-p3 { animation: none; }
}
@media (max-width: 980px) {
  .page-hero { grid-template-columns: 1fr; gap: 40px; }
  .panel-figure { max-width: 640px; }
}
@media (max-width: 760px) {
  .cap-row { grid-template-columns: 42px 1fr; gap: 14px; }
  .cap-row h3 { font-size: 21px; }
  .cap-row p { font-size: 15px; }
}

/* ---- Hero terminal screenshot (2026-08-25) ---- */
.terminal-shot {
  width: 100%; height: auto; display: block; border-radius: 12px;
  border: 1px solid rgba(105, 230, 220, .28);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
}

/* ---- In-house product: Mercury Ledger (2026-08-25; dark card since 2026-09-10) ---- */
.product-panel {
  position: relative; display: grid; grid-template-columns: 1.15fr 1fr;
  gap: clamp(34px, 5vw, 80px); align-items: center;
  color: var(--paper); background: var(--tile-2); border: 1px solid var(--line); border-radius: 16px;
  padding: clamp(26px, 4vw, 48px);
}
.product-wordmark {
  display: flex; align-items: center; gap: 11px; margin: 0 0 26px;
  font: 500 13px "DM Mono", monospace; letter-spacing: .18em; color: var(--plum);
}
.product-wordmark .pw-ring { stroke: var(--plum); }
.product-wordmark .pw-check { stroke: var(--paper); }
.product-panel h3 { margin: 0 0 26px; font-size: clamp(34px, 3.6vw, 54px); line-height: 1.02; letter-spacing: -.045em; font-weight: 700; }
.product-lede { max-width: 540px; color: #b3bebd; font-size: 16.5px; line-height: 1.7; margin-bottom: 18px; }
.product-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 38px; }
.product-tags span {
  border: 1px solid var(--line); padding: 8px 13px;
  font: 500 11.5px "DM Mono", monospace; letter-spacing: .1em; color: #b7c2c0;
}
.product-link {
  display: inline-flex; align-items: center; gap: 12px; padding: 16px 22px;
  background: var(--lime); color: var(--ink); font-weight: 800; font-size: 13px;
  text-transform: uppercase; letter-spacing: .07em;
  box-shadow: 0 0 0 0 rgba(199, 255, 69, .35); transition: box-shadow .25s, transform .25s;
}
.product-link:hover { box-shadow: 0 0 34px 0 rgba(199, 255, 69, .35); transform: translateY(-2px); }
.product-figure { margin: 0; }
.ledger-svg { width: 100%; height: auto; display: block; }
.lg-sheet { fill: rgba(11, 29, 41, .92); stroke: rgba(240, 241, 234, .4); stroke-width: 1.5; }
.lg-head { font: 700 13.5px Manrope, sans-serif; letter-spacing: .1em; fill: var(--paper); }
.lg-mono { font: 500 12px "DM Mono", monospace; fill: #9fb3b8; letter-spacing: .06em; }
.lg-rule { stroke: rgba(240, 241, 234, .4); stroke-width: 1.5; }
.lg-row { stroke: rgba(240, 241, 234, .14); }
.lg-spark { fill: none; stroke: var(--aqua); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.lg-check { fill: none; stroke: var(--lime); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lg-live { fill: var(--plum); }
.lg-seal-ring { fill: rgba(214, 107, 187, .1); stroke: var(--plum); stroke-width: 2.5; }
.lg-seal-ring2 { fill: none; stroke: var(--plum); stroke-width: 1.5; stroke-dasharray: 4 5; }
.lg-seal-text { font: 700 17px "DM Mono", monospace; letter-spacing: .24em; fill: var(--plum); }
.lg-seal-small { font: 500 8.5px "DM Mono", monospace; letter-spacing: .14em; fill: var(--plum); }
@media (max-width: 980px) {
  .product-panel { grid-template-columns: 1fr; }
  .product-figure { max-width: 480px; }
}
@media (max-width: 760px) {
  .product-panel { padding: 24px 20px; }
  .product-panel h3 { font-size: 32px; }
  .product-lede { font-size: 15.5px; }
}
