/* Click Prox — site styles (design from the Claude Design canvas, Home v2, nov-2026).
   Light and dark themes via html.dark. Every color comes from a token so both modes stay readable. */
@font-face { font-family: "Outfit"; src: url("/assets/fonts/outfit-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("/assets/fonts/outfit-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("/assets/fonts/outfit-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("/assets/fonts/outfit-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #F6F5FA;
  --surface: #FFFFFF;
  --ink: #17122A;
  --muted: #5B5670;
  --line: #E2DEEC;
  --soft: #EFEAF8;
  --lilac: #F1E8FD;            /* card hover: white → lilac */
  --lilac-line: #C9AEF2;
  --brand: #580DAE;
  --brand-hover: #470B8E;
  --brand-text: #580DAE;       /* links and accents on --bg / --surface */
  --btn: #580DAE;              /* primary button background */
  --btn-ink: #FFFFFF;
  --btn-hover: #470B8E;
  --signal: #E89B2C;
  --signal-ink: #2A1600;
  --ok: #1F8A4C;
  --bad: #C0392B;
  /* Feature panels (LATAM ↔ US, RevOps band, integration, console):
     light in light mode, deep violet in dark mode, like the live site. */
  --band: linear-gradient(180deg, #F3EDFC 0%, #EAE0FA 100%);
  --band-solid: #EFE7FB;
  --band-ink: #17122A;
  --band-h: #17122A;
  --band-muted: #4E4866;
  --band-line: #DCD0F1;
  --stage: #FBF9FF;
  --stage-border: #E2D8F3;
  --stage-glow: rgba(123,47,190,.16);
  --node-bg: #FFFFFF;
  --node-border: #E7E0F2;
  --node-ink: #2E2547;
  --node-label: #6B6585;
  --node-shadow: 0 10px 24px -14px rgba(88,13,174,.45);
  --hub-bg: #FFFFFF;
  --out-bg: #ECFBF4;
  --out-border: #8FDDB9;
  --out-ink: #1C8A59;
  --console: #FFFFFF;
  --console-border: #E2DEEC;
  --console-ink: #17122A;
  --console-muted: #5B5670;
  --kpi-bg: #F6F3FC;
  --ctab-border: #E2DEEC;
  --ctab-on-bg: #580DAE;
  --ctab-on-ink: #FFFFFF;
  --alert-bg: #FBFAFE;
  --alert-border: #E8E2F2;
  --alert-hover: #F3EEFC;
  --warm-bg: #FFF6E6;
  --warm-border: #EFC36E;
  --warm-k: #8F5300;
  --up: #1F8A4C; --down: #C0392B; --flat: #6B6585;
  --route-bg: linear-gradient(135deg, #FFFFFF 0%, #F4EDFD 55%, #EADDFB 100%);
  --route-border: #DCCDF4;
  --route-ink: #17122A;
  --route-muted: #5B5670;
  --route-node: #FFFFFF;
  --route-node-border: #E3D8F5;
  --route-rail: rgba(88,13,174,.28);
  --route-dot: #2E2547;
  --route-seg: rgba(88,13,174,.08);
  --route-seg-on: #580DAE;
  --route-seg-on-ink: #FFFFFF;
  --cta-bg: #580DAE;
  --cta-ink: #FFFFFF;
  --cta-muted: #E6DAFA;
  --focus: #7B2FBE;
  --radius: 10px;
  --radius-lg: 20px;
  --wrap: 1240px;
  --header-h: 72px;
  --head: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow-card: 0 18px 40px -24px rgba(88,13,174,.45);
  color-scheme: light;
}
html.dark {
  --bg: #0F0B19;
  --surface: #1A1430;
  --ink: #EEEAF7;
  --muted: #B3ACC8;
  --line: #322A4D;
  --soft: #251C3D;
  --lilac: #2C2050;
  --lilac-line: #7E5BC4;
  --brand: #7B2FBE;
  --brand-hover: #8E45D0;
  --brand-text: #C9ABFA;
  --btn: #B48CF4;              /* light violet CTA in dark mode */
  --btn-ink: #1A0838;
  --btn-hover: #C7A8F8;
  --signal: #F0B04A;
  --ok: #5FD08F;
  --bad: #FF8A7A;
  --band: linear-gradient(180deg, #1F0F42 0%, #2A1258 100%);
  --band-solid: #24124A;
  --band-ink: #F3EEFC;
  --band-h: #FFFFFF;
  --band-muted: #CBBEE6;
  --band-line: rgba(255,255,255,.16);
  --stage: #0B0716;
  --stage-border: rgba(201,171,250,.28);
  --stage-glow: rgba(123,47,190,.34);
  --node-bg: rgba(255,255,255,.08);
  --node-border: rgba(255,255,255,.2);
  --node-ink: rgba(255,255,255,.92);
  --node-label: rgba(255,255,255,.7);
  --node-shadow: none;
  --hub-bg: #141021;
  --out-bg: rgba(52,211,153,.1);
  --out-border: rgba(52,211,153,.4);
  --out-ink: #34D399;
  --console: #1A0F38;
  --console-border: rgba(201,171,250,.25);
  --console-ink: #FFFFFF;
  --console-muted: #CBBEE6;
  --kpi-bg: rgba(255,255,255,.06);
  --ctab-border: rgba(255,255,255,.18);
  --ctab-on-bg: #B48CF4;
  --ctab-on-ink: #160733;
  --alert-bg: rgba(255,255,255,.03);
  --alert-border: rgba(255,255,255,.12);
  --alert-hover: rgba(255,255,255,.07);
  --warm-bg: rgba(255,214,138,.08);
  --warm-border: rgba(255,214,138,.45);
  --warm-k: #FFD68A;
  --up: #7FE0A6; --down: #FF9C8A; --flat: #BBAEDB;
  --route-bg: linear-gradient(135deg, #2A1258 0%, #4A1D96 60%, #6B33C2 100%);
  --route-border: rgba(201,171,250,.3);
  --route-ink: #FFFFFF;
  --route-muted: #E3D7FA;
  --route-node: rgba(255,255,255,.1);
  --route-node-border: rgba(255,255,255,.2);
  --route-rail: rgba(255,255,255,.3);
  --route-dot: #FFFFFF;
  --route-seg: rgba(255,255,255,.12);
  --route-seg-on: #FFFFFF;
  --route-seg-on-ink: #3A0C78;
  --cta-bg: #4A1D96;
  --cta-ink: #FFFFFF;
  --cta-muted: #E6DAFA;
  --focus: #C9ABFA;
  --shadow-card: 0 18px 40px -24px rgba(0,0,0,.8);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-text); text-underline-offset: .18em; transition: color .15s; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -3rem; background: var(--btn); color: var(--btn-ink); padding: .6rem 1rem; border-radius: var(--radius); z-index: 60; }
.skip:focus { top: 1rem; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4, .h2, .h3, .h4 { font-family: var(--head); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; margin: 0 0 .6em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5vw, 4.3rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; }
h2, .h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.08; letter-spacing: -0.025em; }
h3, .h3 { font-size: 1.45rem; line-height: 1.2; }
h4, .h4 { font-size: 1.12rem; font-weight: 600; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.12rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 34em; }
.muted { color: var(--muted); }
.kicker { display: inline-block; color: var(--brand-text); font-weight: 600; font-size: .95rem; margin: 0 0 .7rem; }

.wrap { width: min(100% - 3rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 820px; }
.section { padding: clamp(4rem, 8vw, 6rem) 0; }
.section.tight { padding-top: 1.5rem; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 44em; margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); margin: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .8rem 1.35rem; border-radius: var(--radius); font: 600 1rem/1.1 var(--body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; text-align: center; transition: background-color .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s; }
.btn-primary { background: var(--btn); color: var(--btn-ink); }
.btn-primary:hover { background: var(--btn-hover); color: var(--btn-ink); transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(88,13,174,.6); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--brand-text); color: var(--brand-text); background: var(--lilac); }
.btn-light { background: #fff; color: #3A0C78; }
.btn-light:hover { background: #EDE0F8; color: #3A0C78; transform: translateY(-1px); }
.btn-outline-light { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }
.btn-sm { min-height: 40px; padding: .55rem 1rem; font-size: .95rem; }
.actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 2rem; }
.text-link { font-weight: 600; }
.arrow-link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.arrow-link::after { content: "→"; transition: transform .15s; }
.arrow-link:hover { text-decoration: underline; }
.arrow-link:hover::after { transform: translateX(3px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 1.75rem; height: var(--header-h); }
.brand { display: inline-flex; padding: .4rem 0; flex: none; }
.logo { width: 190px; height: auto; }
.footer-logo .logo { width: 200px; }
.logo-dark { display: none; }
html.dark .logo-light { display: none; }
html.dark .logo-dark { display: block; }
.main-nav { display: flex; align-items: center; gap: 1.75rem; margin-left: auto; }
.main-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .97rem; padding: .35rem 0; border-bottom: 2px solid transparent; transition: border-color .15s, color .15s; }
.main-nav a:not(.btn):hover { color: var(--brand-text); border-bottom-color: var(--brand-text); }
.main-nav a[aria-current="page"] { border-bottom-color: var(--brand-text); }
.header-tools { display: flex; align-items: center; gap: .5rem; }
.lang { font-weight: 600; font-size: .9rem; text-decoration: none; color: var(--ink); padding: .5rem .75rem; border: 1.5px solid var(--line); border-radius: var(--radius); transition: border-color .15s, color .15s, background-color .15s; }
.lang:hover { border-color: var(--brand-text); color: var(--brand-text); background: var(--lilac); }
.theme-toggle, .menu-toggle { width: 42px; height: 42px; display: inline-grid; place-items: center; border: 1.5px solid var(--line); background: transparent; color: var(--ink); border-radius: var(--radius); cursor: pointer; transition: border-color .15s, background-color .15s; }
.theme-toggle:hover, .menu-toggle:hover { border-color: var(--brand-text); background: var(--lilac); }
.theme-toggle svg, .menu-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.i-sun { display: none; }
html.dark .i-sun { display: block; }
html.dark .i-moon { display: none; }
.menu-toggle { display: none; }
.nav-cta-mobile { display: none; }

/* Hero */
.hero { padding: clamp(3rem, 7vw, 4.5rem) 0 clamp(3rem, 6vw, 4.5rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.hero h1 { margin-bottom: 1.4rem; }
.hero-art { position: relative; padding: 28px 28px 0 0; }
.hero-art::before { content: ""; position: absolute; top: 0; right: 0; width: 42%; height: 42%; border-radius: 28px; background: var(--soft); }
.hero-art::after { content: ""; position: absolute; bottom: -24px; left: -24px; width: 34%; height: 34%; border-radius: 50%; background: radial-gradient(circle, rgba(123,47,190,.35), transparent 70%); pointer-events: none; }
.hero-art img { position: relative; z-index: 1; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 50%; border-radius: 32px; border: 1px solid rgba(168,85,247,.35); box-shadow: 0 30px 80px -20px rgba(88,13,174,.55), 0 0 60px rgba(168,85,247,.18); }

/* Stage selector ("Where are you today?") */
.stages { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2rem); margin-top: clamp(2.5rem, 5vw, 3.5rem); box-shadow: var(--shadow-card); }
.stages > h2 { font-size: clamp(1.5rem, 2.4vw, 1.75rem); margin-bottom: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.chip { border-radius: 999px; padding: .65rem 1.05rem; font-size: .97rem; font-weight: 600; border: 1.5px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.chip:hover { border-color: var(--brand-text); background: var(--lilac); }
.chip[aria-selected="true"], .chip[aria-pressed="true"] { background: var(--btn); border-color: var(--btn); color: var(--btn-ink); }
.stiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; margin-bottom: 1.5rem; }
.stile { display: flex; align-items: center; gap: .65rem; padding: .8rem .9rem; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); font: 600 1rem/1.2 var(--body); text-align: left; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.stile:hover { border-color: var(--brand-text); background: var(--lilac); }
.stile-ico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--soft); color: var(--brand-text); }
.stile-ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.stile[aria-selected="true"] { background: var(--btn); border-color: var(--btn); color: var(--btn-ink); }
.stile[aria-selected="true"] .stile-ico { background: rgba(255,255,255,.18); color: var(--btn-ink); }
.stage-panel { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 2rem; align-items: start; }
.stage-panel h3 { font-size: 1.5rem; margin-bottom: .6rem; }
.stage-panel p { color: var(--muted); margin: 0; }
.stage-cta { display: flex; flex-direction: column; gap: .75rem; min-width: 230px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.ticks li { position: relative; padding-left: 1.85rem; }
.ticks li::before { content: ""; position: absolute; left: .15rem; top: .42em; width: 13px; height: 7px; border-left: 2.5px solid var(--brand-text); border-bottom: 2.5px solid var(--brand-text); transform: rotate(-45deg); }
.stages-foot { margin: 1.4rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .95rem; color: var(--muted); }

/* Channel strip: 4 × 2, centered */
.channels { background: var(--route-bg); border-top: 1px solid var(--route-border); border-bottom: 1px solid var(--route-border); padding: 1.6rem 0; display: grid; gap: .9rem; overflow: hidden; }
.mq { display: grid; gap: .55rem; }
.mq-label { justify-self: center; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--route-muted); }
.mq-view { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-track { list-style: none; margin: 0; padding: .2rem 0; display: flex; gap: .8rem; width: max-content; animation: mqLeft 38s linear infinite; }
.mq-right .mq-track { animation-name: mqRight; }
.mq:hover .mq-track { animation-play-state: paused; }
.mq-track li { display: inline-flex; align-items: center; gap: .6rem; padding: .7rem 1.3rem; border-radius: 999px; background: var(--route-node); border: 1px solid var(--route-node-border); box-shadow: 0 10px 24px -18px rgba(88,13,174,.6); font: 700 clamp(1.05rem, 1.8vw, 1.35rem)/1 var(--head); letter-spacing: -0.01em; white-space: nowrap; color: var(--route-ink); }
.mq-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.mq-dot.d0 { background: #7B2FBE; } .mq-dot.d1 { background: #E89B2C; } .mq-dot.d2 { background: #A876F0; } .mq-dot.d3 { background: #34C759; }
/* The track holds 6 copies of the list; moving it by half (3 copies) loops without a seam. */
@keyframes mqLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes mqRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
  .mq-track { animation: none !important; flex-wrap: wrap; justify-content: center; width: auto; }
  .mq-track li[aria-hidden] { display: none; }
}

/* LATAM ↔ US */
.route-grid { display: grid; grid-template-columns: .8fr 1.4fr; gap: 3rem; align-items: center; }
.route-card { background: var(--route-bg); color: var(--route-ink); border: 1px solid var(--route-border); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 1.75rem); box-shadow: 0 30px 60px -34px rgba(88,13,174,.55); }
.route-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: .75rem; }
.route-top p { margin: 0; font: 600 1.1rem/1.2 var(--head); color: var(--route-ink); }
.seg { display: flex; background: var(--route-seg); border-radius: 12px; padding: 4px; }
.seg button { border: 0; border-radius: 9px; padding: .55rem .9rem; font-weight: 600; font-size: .9rem; background: transparent; color: var(--route-ink); cursor: pointer; transition: background-color .15s, color .15s; }
.seg button:hover { background: var(--route-seg); }
.seg button[aria-pressed="true"] { background: var(--route-seg-on); color: var(--route-seg-on-ink); }
.route-map { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr); align-items: stretch; min-height: 360px; margin-top: 2.2rem; }
.route-card { max-width: 1040px; margin: 0 auto; }
.route-col { display: grid; grid-template-rows: repeat(3, 1fr); align-items: center; gap: .5rem; }
.route-col.to { text-align: right; }
.route-col { position: relative; }
.route-colh { position: absolute; top: -1.5rem; left: 0; right: 0; margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--route-muted); }
.route-node { display: flex; align-items: center; gap: .6rem; background: var(--route-node); border: 1px solid var(--route-node-border); border-radius: 14px; padding: .6rem .7rem; color: var(--route-ink); box-shadow: 0 10px 24px -18px rgba(88,13,174,.45); transition: transform .2s, border-color .2s; }
.route-node:hover { transform: translateY(-2px); border-color: var(--route-seg-on); }
.route-col.to .route-node { flex-direction: row-reverse; }
.rn-ico { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--route-seg); color: var(--route-ink); }
.rn-ico svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.route-col.to .rn-ico { background: rgba(232,155,44,.16); color: #C77A12; }
html.dark .route-col.to .rn-ico { color: #FFC56E; }
.rn-txt { min-width: 0; }
.rn-txt b { display: block; font-size: .9rem; line-height: 1.2; font-weight: 700; }
.route-node small { display: block; font-weight: 400; color: var(--route-muted); font-size: .78rem; line-height: 1.3; margin-top: 2px; }
.route-mid { position: relative; min-height: 100%; }
.route-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.route-svg .rail { fill: none; stroke: var(--route-rail); stroke-width: 2; vector-effect: non-scaling-stroke; }
.route-svg .dot-from { fill: var(--route-dot); }
.route-svg .dot-to { fill: #E89B2C; }
/* The hub sits above the rails, so parcels pass behind it. Three parcels, 5.2 s each, offset by a third:
   one reaches the hub every 1.733 s and the hub beats on each arrival. */
.route-hub { position: absolute; left: 50%; top: 50%; width: 112px; height: 112px; margin: -56px 0 0 -56px; display: grid; place-items: center; z-index: 2; }
.route-halo { position: absolute; inset: 0; border-radius: 50%; background: #A876F0; opacity: .16; animation: haloBeat 1.7333s ease-out infinite; animation-delay: -.8667s; }
.route-core { position: relative; width: 92px; height: 92px; border-radius: 50%; background: #FFFFFF; border: 2px solid #C9AEF2; display: grid; place-items: center; box-shadow: 0 8px 26px -10px rgba(88,13,174,.55); animation: hubBeat 1.7333s ease-out infinite; animation-delay: -.8667s; }
.route-core img { width: 64px; height: 62px; }
@keyframes hubBeat { 0% { transform: scale(1); } 9% { transform: scale(1.1); box-shadow: 0 0 34px 4px rgba(168,85,247,.55); } 24% { transform: scale(.98); } 36%, 100% { transform: scale(1); } }
@keyframes haloBeat { 0% { transform: scale(1); opacity: .16; } 10% { transform: scale(1.3); opacity: .45; } 45%, 100% { transform: scale(1); opacity: .16; } }
.route-cap { margin: .75rem 0 0; padding-top: .9rem; border-top: 1px solid var(--route-node-border); font-size: .93rem; color: var(--route-muted); }
.route-cap strong { color: var(--route-ink); }

/* Parcels follow the rails with SVG animateMotion (same coordinate system as the rails, also when the SVG stretches). */
.parcel { fill: var(--signal); }
@media (prefers-reduced-motion: reduce) { .parcel { display: none; } }

/* Listing anatomy */
.anatomy { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: start; }
.listing { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.75rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; }
.listing-img { aspect-ratio: 1; border-radius: 14px; background: var(--soft); display: grid; place-items: center; position: relative; }
.listing-img svg { width: 70%; }
.listing-info { display: flex; flex-direction: column; gap: .8rem; }
.lrow { position: relative; padding-right: 40px; }
.l-title { font-weight: 600; font-size: 1.05rem; line-height: 1.35; margin: 0; }
.l-stars { color: var(--signal); letter-spacing: 2px; }
.l-price { font: 700 1.9rem/1 var(--head); }
.l-stock { color: var(--ok); font-weight: 600; }
.l-cart { margin-top: .4rem; background: var(--signal); color: var(--signal-ink); font-weight: 600; text-align: center; border-radius: 999px; padding: .7rem; }
.l-note { font-size: .78rem; color: var(--muted); }
.hot { position: absolute; top: 0; right: 0; width: 30px; height: 30px; border-radius: 50%; border: 0; display: grid; place-items: center; font-weight: 700; font-size: 18px; line-height: 1; cursor: pointer; background: var(--btn); color: var(--btn-ink); transition: transform .15s, background-color .15s, box-shadow .15s; }
.listing-img .hot { top: 14px; right: 14px; }
.hot:hover { transform: scale(1.1); }
.hot[aria-pressed="true"] { background: var(--signal); color: var(--signal-ink); box-shadow: 0 0 0 6px rgba(232,155,44,.25); }
.spot-panel { border-left: 3px solid var(--brand-text); padding: .25rem 0 .25rem 1.75rem; }
.spot-panel h3 { font-size: 1.75rem; margin-bottom: .8rem; }
.spot-panel p { color: var(--muted); }
.spot-panel ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .45rem; }

/* Cards (services, blog, stages) — white → lilac on hover */
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; color: inherit; text-decoration: none; transition: background-color .2s, border-color .2s, transform .2s, box-shadow .2s; }
a.card:hover, .card.is-link:hover { background: var(--lilac); border-color: var(--lilac-line); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.card-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
a.card:hover .card-media img { transform: scale(1.03); }
.card-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.card-body h2, .card-body h3 { margin: 0; font-size: 1.3rem; }
.card-body p { margin: 0; color: var(--muted); font-size: .98rem; }
.card-body .more { margin-top: auto; padding-top: .5rem; color: var(--brand-text); font-weight: 600; font-size: .95rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.pchips { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.pchips li { font-size: .8rem; font-weight: 600; padding: .25rem .6rem; border-radius: 999px; background: var(--soft); color: var(--brand-text); border: 1px solid transparent; }
.pchips.lg li { font-size: .9rem; padding: .4rem .8rem; }

/* Services selector (home) */
.svc-sel { display: grid; grid-template-columns: minmax(260px, 1fr) 2.4fr; gap: 2rem; align-items: start; }
.svc-tabs { display: flex; flex-direction: column; gap: .5rem; }
.svc-tab { text-align: left; border-radius: 14px; padding: .95rem 1.1rem; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; display: flex; gap: .9rem; align-items: center; transition: background-color .15s, border-color .15s, color .15s; }
.svc-tab:hover { background: var(--lilac); border-color: var(--lilac-line); }
.svc-tab[aria-selected="true"] { background: var(--btn); border-color: var(--btn); color: var(--btn-ink); }
.svc-tab .ico { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--soft); color: var(--brand-text); }
.svc-tab[aria-selected="true"] .ico { background: rgba(255,255,255,.18); color: inherit; }
.svc-tab .ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc-tab b { display: block; font: 600 1.05rem/1.25 var(--head); }
.svc-tab small { display: block; font-size: .83rem; opacity: .8; }
.svc-panel { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.svc-panel-top { display: grid; grid-template-columns: 1fr 1fr; }
.svc-panel-top img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
.svc-panel-copy { padding: 1.75rem; display: flex; flex-direction: column; gap: .9rem; }
.svc-panel-copy h3 { margin: 0; font-size: 1.65rem; }
.svc-panel-copy p { margin: 0; color: var(--muted); }
.svc-panel-bottom { padding: 1.5rem 1.75rem 1.75rem; display: grid; gap: 1.25rem; }
.svc-panel-bottom .actions { margin-top: 0; }

/* Agents / people block */
.ap { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ap-box { border-radius: 14px; padding: 1.1rem 1.25rem; }
.ap-box h4 { display: flex; align-items: center; gap: .55rem; margin: 0 0 .6rem; font-size: 1rem; }
.ap-box h4 svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ap-box ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .45rem; font-size: .95rem; }
.ap-box li { position: relative; padding-left: 1.1rem; }
.ap-box li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .6; }
.ap-agents { background: var(--soft); border: 1.5px solid var(--lilac-line); }
.ap-agents h4 { color: var(--brand-text); }
.ap-people { background: var(--surface); border: 1.5px solid var(--line); }
.ap-people li { color: var(--muted); }
.ap-flow { grid-column: 1 / -1; display: flex; align-items: center; gap: .6rem; font-size: .85rem; color: var(--muted); }
.ap-flow::before, .ap-flow::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* RevOps band */
.band { background: var(--band); color: var(--band-ink); border-top: 1px solid var(--band-line); border-bottom: 1px solid var(--band-line); }
.band h2, .band h3 { color: var(--band-h); }
.band p { color: var(--band-muted); }
.band .kicker { color: var(--brand-text); }
.revops-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3rem; align-items: center; }
.integ { position: relative; min-height: 0; border-radius: 32px; background: var(--stage); border: 1px solid var(--stage-border); overflow: hidden; display: grid; place-items: center; box-shadow: 0 30px 60px -40px rgba(88,13,174,.6); }
.integ::before { content: ""; position: absolute; inset: -10%; background: radial-gradient(circle at center, var(--stage-glow) 0%, transparent 60%); }
.integ-stage { position: relative; width: 560px; height: 480px; flex: none; transform: scale(1.06); margin: 6px -40px; }
.integ-stage .hub { position: absolute; z-index: 3; left: 222px; top: 182px; width: 116px; height: 116px; border-radius: 26px; display: grid; place-items: center; background: var(--hub-bg); border: 1px solid var(--node-border); box-shadow: 0 0 22px rgba(168,85,247,.3); animation: hubFeed .6s ease-out infinite; }
.integ-stage .hub img { width: 84px; height: 84px; object-fit: contain; }
/* Seven signals, one every 0.6 s, slide in behind the hub; the hub beats as each one lands. */
@keyframes hubFeed { 0% { transform: scale(1); box-shadow: 0 0 22px rgba(168,85,247,.3); } 14% { transform: scale(1.06); box-shadow: 0 0 46px rgba(168,85,247,.7); } 55%, 100% { transform: scale(1); box-shadow: 0 0 22px rgba(168,85,247,.3); } }
.inode { position: absolute; width: 56px; display: flex; flex-direction: column; align-items: center; gap: 8px; animation: pop .9s cubic-bezier(.34,1.56,.64,1) both; }
.inode .box { position: relative; z-index: 2; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--node-bg); border: 1px solid var(--node-border); color: var(--node-ink); box-shadow: var(--node-shadow); }
.inode .box svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.inode span.lbl { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--node-label); white-space: nowrap; }
.inode.out { width: 80px; z-index: 2; }
.inode.out .box { width: 80px; height: 80px; border-radius: 18px; background: var(--out-bg); border: 2px solid var(--out-border); color: var(--out-ink); animation: dashGlow 1.2s ease-in-out infinite; animation-delay: .6s; }
.inode.out .box svg { width: 30px; height: 30px; }
.inode.out span.lbl { color: var(--out-ink); font-weight: 700; }
.pt { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #A855F7; box-shadow: 0 0 10px 2px rgba(168,85,247,.8); z-index: 1; animation: toCenter 4.2s cubic-bezier(.85,0,.15,1) infinite; }
.pt-out { width: 12px; height: 12px; margin: -6px 0 0 -6px; background: #34D399; box-shadow: 0 0 20px 6px rgba(52,211,153,.9); z-index: 1; animation: toOut 1.2s cubic-bezier(.85,0,.15,1) infinite; animation-delay: .6s; }
@keyframes toCenter { 0% { transform: translate(0,0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)); opacity: 0; } }
@keyframes toOut { 0% { transform: translate(0,0); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translate(0,150px); opacity: 0; } }
@keyframes hubGlow { 0%,100% { transform: scale(1); box-shadow: 0 0 20px rgba(168,85,247,.3); } 50% { transform: scale(1.05); box-shadow: 0 0 50px rgba(168,85,247,.6); } }
@keyframes dashGlow { 0%,55%,100% { box-shadow: 0 0 10px 2px rgba(52,211,153,.1); } 75% { box-shadow: 0 0 30px 8px rgba(52,211,153,.6); } }
@keyframes pop { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: scale(1); } }
@keyframes pulse { 0%,100% { opacity: .35; } 50% { opacity: 1; } }

.console { grid-column: 1 / -1; background: var(--console); color: var(--console-ink); border: 1px solid var(--console-border); border-radius: var(--radius-lg); padding: 1.4rem; box-shadow: 0 24px 50px -36px rgba(88,13,174,.55); }
.console-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 1.1rem; }
.ctabs { display: flex; flex-wrap: wrap; gap: 6px; }
.ctab { border-radius: 9px; padding: .5rem .8rem; font-size: .86rem; font-weight: 600; border: 1px solid var(--ctab-border); background: transparent; color: var(--console-ink); cursor: pointer; transition: background-color .15s, border-color .15s; }
.ctab:hover { border-color: var(--lilac-line); background: var(--alert-hover); }
.ctab[aria-selected="true"] { background: var(--ctab-on-bg); border-color: var(--ctab-on-bg); color: var(--ctab-on-ink); }
.live-tag { font-size: .8rem; color: var(--console-muted); display: flex; align-items: center; gap: 8px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #2FBF71; display: inline-block; animation: pulse 1.6s ease-in-out infinite; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 1.1rem; }
.kpi { background: var(--kpi-bg); border-radius: 12px; padding: .9rem; }
.kpi span { display: block; font-size: .8rem; color: var(--console-muted); }
.kpi b { display: block; font: 700 1.6rem/1.2 var(--head); color: var(--console-ink); white-space: nowrap; }
.kpi i { display: block; font-style: normal; font-size: .8rem; }
.t-up { color: var(--up); } .t-down { color: var(--down); } .t-flat { color: var(--flat); }
.console-body { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; }
.alerts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; align-content: start; }
.alert { width: 100%; display: flex; gap: 12px; align-items: flex-start; border-radius: 12px; padding: .75rem .9rem; border: 1px solid var(--alert-border); background: var(--alert-bg); cursor: pointer; text-align: left; transition: background-color .15s, border-color .15s; }
.alert:hover { background: var(--alert-hover); }
.alert[aria-pressed="true"] { border-color: var(--warm-border); background: var(--warm-bg); }
.alert .dot { width: 9px; height: 9px; border-radius: 50%; flex: none; margin-top: 7px; }
.alert small { display: block; font-size: .76rem; color: var(--console-muted); }
.alert span.txt { display: block; font-size: .92rem; color: var(--console-ink); }
.decision { align-self: start; background: var(--warm-bg); border: 1px solid var(--warm-border); border-radius: 14px; padding: 1.1rem; }
.decision .k { margin: 0 0 .4rem; font-size: .8rem; color: var(--warm-k); font-weight: 600; }
.band .decision h3, .decision h3 { margin: 0 0 .7rem; font-size: 1.25rem; line-height: 1.25; color: var(--console-ink); }
.band .decision p, .decision p { margin: 0; font-size: .92rem; color: var(--console-muted); }

/* Calculator */
.calc-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 3rem; align-items: start; }
.calc-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.calc-in label { display: grid; gap: .4rem; font-size: .9rem; font-weight: 500; }
.calc-in input { font: 500 1.05rem var(--body); padding: .75rem .85rem; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); width: 100%; }
.calc-in input:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 25%, transparent); }
.calc-out { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; }
.calc-be { margin: 0 0 .25rem; font: 800 clamp(4rem, 8vw, 5.5rem)/1 var(--head); letter-spacing: -0.04em; color: var(--brand-text); }
.calc-be.tight { color: var(--signal); }
.calc-be.loss { color: #D6453D; }
.calc-bar { display: flex; height: 18px; border-radius: 6px; overflow: hidden; background: var(--soft); margin-top: 1.4rem; }
.calc-bar i { display: block; height: 100%; transition: width .3s; }
.c-cost { background: #3A2E57; } .c-fee { background: #7B2FBE; } .c-ful { background: #A876F0; } .c-mar { background: var(--signal); }
html.dark .c-cost { background: #6D5E93; }
.calc-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1.2rem; margin-top: 1.1rem; font-size: .9rem; }
.calc-legend span { display: flex; gap: .5rem; align-items: center; }
.calc-legend i { width: 10px; height: 10px; border-radius: 2px; flex: none; }
.small { font-size: .85rem; color: var(--muted); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.75rem; counter-reset: step; }
.steps li { counter-increment: step; border-top: 3px solid var(--brand-text); padding-top: 1.1rem; }
.steps li::before { content: counter(step); display: block; font: 800 2.75rem/1 var(--head); color: var(--brand-text); margin-bottom: .75rem; }
.steps h3 { font-size: 1.3rem; margin-bottom: .35rem; }
.steps p { color: var(--muted); margin: 0; font-size: .98rem; }

/* GM */
.gm-grid { display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: 3rem; align-items: center; }
.gm-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: 0 24px 60px -24px rgba(88,13,174,.45); }
.gm-name { font: 800 clamp(1.5rem, 2.7vw, 2.35rem)/1.05 var(--head); letter-spacing: .01em; margin: 0 0 .5rem; white-space: nowrap; }
.gm-role { margin: 0 0 1.4rem; font: 600 1.25rem/1.2 var(--head); color: var(--brand-text); }
.gm-grid p { color: var(--muted); max-width: 36em; }
.gm-cred { font-size: .95rem; padding-top: 1rem; border-top: 1px solid var(--line); }

/* FAQ */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.2rem 2.5rem 1.2rem 0; font: 600 1.15rem/1.35 var(--head); position: relative; transition: color .15s; }
.faq summary:hover { color: var(--brand-text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .2rem; top: 50%; transform: translateY(-52%); font-size: 1.7rem; font-weight: 500; color: var(--brand-text); line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin: 0 0 1.25rem; max-width: 42em; }

/* CTA band */
.cta-band { background: var(--cta-bg); color: var(--cta-ink); padding: clamp(3.5rem, 6vw, 5rem) 0; }
.cta-row { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-row > div:first-child { flex: 1 1 520px; }
.cta-band h2 { color: #fff; margin-bottom: .5rem; font-size: clamp(1.8rem, 3.2vw, 2.75rem); }
.cta-band p { color: var(--cta-muted); margin: 0; max-width: 40em; }
.cta-band .actions { margin-top: 0; }
.cta-band a:not(.btn) { color: #fff; }

/* Page head */
.page-head { padding: clamp(2.75rem, 6vw, 4.5rem) 0 2rem; }
.page-head h1 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); max-width: 18em; }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0 0 1rem; padding: 0; font-size: .92rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }
.crumbs a { text-decoration: none; font-weight: 500; }
.crumbs a:hover { text-decoration: underline; }
.split-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.split-head img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-card); }

/* Service detail */
.svc-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding: .85rem 0 .85rem 2rem; border-bottom: 1px solid var(--line); }
.checklist li::before { content: ""; position: absolute; left: .2rem; top: 1.2rem; width: 12px; height: 7px; border-left: 2.5px solid var(--brand-text); border-bottom: 2.5px solid var(--brand-text); transform: rotate(-45deg); }
.aside-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; }
.aside-box h2 { font-size: 1.25rem; }
.aside-box ul { margin: 0; padding-left: 1.1rem; color: var(--muted); }
.aside-box li + li { margin-top: .6rem; }
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.tier { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; }
.tier h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.tier p { color: var(--muted); margin: .75rem 0 0; font-size: .97rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem 3.5rem; }
.two-col p { color: var(--muted); }

/* Entry pages */
.problems { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.problem { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; border-top: 4px solid var(--signal); }
.problem h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.problem p { color: var(--muted); margin: 0; font-size: .97rem; }
.stage-nav { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.stage-nav a { display: inline-block; padding: .55rem 1rem; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .93rem; transition: background-color .15s, border-color .15s, color .15s; }
.stage-nav a:hover { background: var(--lilac); border-color: var(--lilac-line); color: var(--brand-text); }
.stage-nav a[aria-current="page"] { background: var(--btn); border-color: var(--btn); color: var(--btn-ink); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.form { display: grid; gap: 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2rem); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: .4rem; font-weight: 500; font-size: .95rem; }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem/1.4 var(--body); color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 8px; padding: .75rem .85rem; }
.field select { appearance: auto; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 25%, transparent); }
.field.preset select { border-color: var(--lilac-line); background: var(--lilac); }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: .88rem; color: var(--muted); margin: 0; }
.form .btn { justify-self: start; }
.form-status { margin: 0; font-weight: 500; min-height: 1.4em; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--bad); }
.contact-aside h2 { margin-top: 1.8rem; font-size: 1.25rem; }
.contact-aside h2:first-child { margin-top: 0; }
.mini-steps { padding-left: 1.2rem; color: var(--muted); margin: 0; }
.mini-steps li + li { margin-top: .5rem; }

/* Blog */
.post-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--line); margin: 0 0 2rem; }
.meta { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; color: var(--muted); font-size: .92rem; margin: 0; }
.post .page-head h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
.post .meta { margin-top: 1rem; }
.prose { padding-bottom: 3rem; }
.prose h2 { font-size: 1.65rem; margin-top: 2.2rem; }
.prose h3 { font-size: 1.25rem; margin-top: 1.6rem; }
.prose p, .prose li { max-width: 68ch; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2rem; }
.prose li + li { margin-top: .4rem; }
.prose blockquote { margin: 1.5rem 0; padding: .3rem 0 .3rem 1.2rem; border-left: 3px solid var(--brand-text); color: var(--muted); }
.prose table { border-collapse: collapse; width: 100%; margin: 1.2rem 0 1.6rem; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: .6rem .6rem .6rem 0; text-align: left; vertical-align: top; }
.post-cta { margin-top: 3rem; padding: 1.8rem; border-radius: var(--radius-lg); background: var(--band); color: var(--band-ink); border: 1px solid var(--band-line); }
.post-cta h2 { color: var(--band-h); margin-top: 0; font-size: 1.45rem; }
.post-cta p { color: var(--band-muted); }

/* Legal */
.prose-legal h2 { font-size: 1.35rem; margin-top: 2rem; }

/* Footer */
.site-footer { padding: 3.5rem 0 1.5rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand p { color: var(--muted); max-width: 30em; margin-top: 1rem; }
.footer-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.25rem; }
.footer-h { font: 600 1rem/1.3 var(--head); margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: .45rem; }
.site-footer li a { color: var(--muted); text-decoration: none; }
.site-footer li a:hover { color: var(--brand-text); text-decoration: underline; }
.footer-base { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.footer-base p { margin: 0; }

/* Responsive */
@media (max-width: 1100px) {
  .integ-stage { transform: scale(.95); margin: -6px -30px; }
  .stage-panel { grid-template-columns: 1fr 1fr; }
  .stage-cta { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; min-width: 0; }
  .svc-panel-top { grid-template-columns: 1fr; }
  .svc-panel-top img { min-height: 0; aspect-ratio: 16 / 7; }
}
@media (max-width: 980px) {
  :root { --header-h: 64px; }
  .menu-toggle { display: inline-grid; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.5rem 1.5rem; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0,0,0,.25); }
  .site-header.open .main-nav { display: flex; }
  .main-nav a:not(.btn) { padding: .95rem 0; border-bottom: 1px solid var(--line); }
  .main-nav a[aria-current="page"] { color: var(--brand-text); border-bottom-color: var(--line); }
  .main-nav .btn { margin-top: 1rem; }
  .header-tools { margin-left: auto; }
  .hero-grid, .route-grid, .anatomy, .revops-grid, .calc-grid, .svc-grid, .contact-grid, .gm-grid, .split-head, .svc-sel { grid-template-columns: 1fr; }
  .hero-art { max-width: 560px; }
  .gm-grid { justify-items: start; }
  .gm-photo { max-width: 320px; }
  .grid-3, .grid-4, .problems { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .console-body { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  body { font-size: 1rem; }
  .wrap { width: min(100% - 2.5rem, var(--wrap)); }
  .gm-name { white-space: normal; }
  .stage-panel, .grid-2, .grid-3, .grid-4, .problems, .ap, .tiers, .two-col, .field-row, .calc-in, .listing, .svc-tabs { grid-template-columns: 1fr; }
  .integ { min-height: 340px; }
  .integ-stage { transform: scale(.72); margin: -70px -80px; }
  .logo { width: 156px; }
  .footer-logo .logo { width: 170px; }
  .lang { padding: .45rem .6rem; }
  .header-row { gap: 1rem; }
  .calc-legend { grid-template-columns: 1fr; }
  .stage-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.gm-grid .gm-role, .gm-grid .kicker { color: var(--brand-text); }
@media (max-width: 980px) {
  .stiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .stiles { gap: .45rem; }
  .stile { flex-direction: row; align-items: center; padding: .55rem .6rem; font-size: .84rem; line-height: 1.15; gap: .45rem; border-radius: 12px; min-height: 52px; }
  .stile-ico { width: 26px; height: 26px; border-radius: 8px; }
  .stile-ico svg { width: 15px; height: 15px; }
  .route-map { grid-template-columns: 1fr; min-height: 0; margin-top: .5rem; gap: .4rem; }
  .route-col { grid-template-rows: none; }
  .route-colh { position: static; margin: .4rem 0 .1rem; text-align: left; }
  .route-col.to { text-align: left; }
  .route-col.to .route-node { flex-direction: row; }
  .route-mid { min-height: 120px; }
  .route-svg { display: none; }
  .route-mid::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 2px dashed var(--route-rail); }
  .route-hub { width: 88px; height: 88px; margin: -44px 0 0 -44px; }
  .route-core { width: 72px; height: 72px; }
  .route-core img { width: 50px; height: 48px; }
}
@media (max-width: 700px) {
  .route-mid::after { content: ""; position: absolute; left: 50%; top: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 3px; background: var(--signal); z-index: 1; animation: dropThrough 1.7333s linear infinite; }
}
@keyframes dropThrough { 0% { top: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
/* 404 */
.nf { padding: clamp(3rem, 8vw, 6rem) 0; }
.nf-hero { text-align: center; max-width: 720px; margin: 0 auto; }
.nf-code { display: flex; justify-content: center; align-items: center; gap: clamp(.5rem, 2vw, 1rem); font: 800 clamp(5rem, 16vw, 9rem)/1 var(--head); color: var(--brand-text); margin-bottom: 1.5rem; }
.nf-hub { width: clamp(84px, 14vw, 128px); height: clamp(84px, 14vw, 128px); border-radius: 50%; background: #fff; border: 2px solid #C9AEF2; display: grid; place-items: center; box-shadow: 0 0 0 14px rgba(168,118,240,.16); animation: hubBeat 1.7333s ease-out infinite; }
.nf-hub img { width: 66%; height: auto; }
.nf h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.nf h1 span { display: block; color: var(--muted); font-size: .7em; margin-top: .35rem; }
.nf .actions { justify-content: center; }
.nf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; max-width: 820px; margin: clamp(2.5rem, 6vw, 4rem) auto 0; }
.nf-col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; }
.nf-col h2 { font-size: 1.15rem; margin: 0 0 .2rem; }
.nf-col p { margin: 0 0 .8rem; color: var(--muted); font-size: .92rem; }
.nf-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.nf-col a { color: var(--brand-text); font-weight: 600; text-decoration: none; }
.nf-col a:hover { text-decoration: underline; }
@media (max-width: 700px) { .nf-grid { grid-template-columns: 1fr; } }
/* Conversion focus block (service pages) */
.conv { background: var(--route-bg); border-top: 1px solid var(--route-border); border-bottom: 1px solid var(--route-border); color: var(--route-ink); }
.conv .kicker { color: var(--brand-text); }
html.dark .conv .kicker { color: #E3D7FA; }
.conv-head { max-width: 760px; }
.conv-head h2 { color: var(--route-ink); }
.conv-head .lead { color: var(--route-muted); }
.conv-levers { list-style: none; counter-reset: lv; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.conv-levers li { counter-increment: lv; position: relative; background: var(--route-node); border: 1px solid var(--route-node-border); border-radius: var(--radius-lg); padding: 1.4rem 1.3rem 1.3rem; box-shadow: 0 16px 34px -26px rgba(88,13,174,.5); }
.conv-levers li::before { content: counter(lv, decimal-leading-zero); display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 10px; margin-bottom: .8rem; font: 700 .9rem/1 var(--head); background: var(--route-seg-on); color: var(--route-seg-on-ink); }
.conv-levers h3 { font-size: 1.12rem; margin: 0 0 .4rem; color: var(--route-ink); }
.conv-levers p { margin: 0; color: var(--route-muted); font-size: .95rem; }
.conv-metrics { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--route-node-border); }
.conv-metrics > span { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--route-muted); }
.conv-metrics ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.conv-metrics li { font-size: .88rem; font-weight: 600; padding: .35rem .75rem; border-radius: 999px; background: var(--route-node); border: 1px solid var(--route-node-border); color: var(--route-ink); }
.conv-metrics li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #E89B2C; margin-right: .45rem; vertical-align: 1px; }
@media (max-width: 980px) { .conv-levers { grid-template-columns: 1fr; } }
/* Blog: quote from the General Manager */
.prose .post-quote { margin: 2.2rem 0; padding: 1.6rem 1.6rem 1.4rem 1.8rem; border-radius: var(--radius-lg); background: var(--route-bg); border: 1px solid var(--route-border); position: relative; }
.prose .post-quote::before { content: "“"; position: absolute; top: -.35rem; left: 1rem; font: 800 4.5rem/1 var(--head); color: var(--brand-text); opacity: .35; }
html.dark .prose .post-quote::before { color: #E3D7FA; }
.prose .post-quote blockquote { margin: 0; padding: 0; border: 0; color: var(--route-ink); }
.prose .post-quote blockquote p { margin: 0; font: 600 clamp(1.15rem, 2vw, 1.35rem)/1.45 var(--head); }
.prose .post-quote figcaption { margin-top: .9rem; font-size: .92rem; color: var(--route-muted); display: flex; flex-wrap: wrap; gap: .15rem .5rem; align-items: baseline; }
.prose .post-quote figcaption a { font-weight: 700; color: var(--route-ink); }

/* Cookie consent bar */
.cookie-bar { position: fixed; z-index: 80; left: 1rem; right: 1rem; bottom: 1rem; max-width: 40rem; margin-left: auto; background: var(--surface); color: var(--ink); border: 1px solid var(--lilac-line); border-radius: 16px; padding: 1rem 1.1rem; box-shadow: 0 24px 60px -24px rgba(30,10,60,.45); display: grid; gap: .7rem; font-size: .92rem; }
.cookie-bar p { margin: 0; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }
.cookie-cfg { display: grid; gap: .5rem; }
.cookie-cfg[hidden] { display: none; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.linklike:hover { text-decoration: underline; }
@media (max-width: 600px) { .cookie-bar { left: .6rem; right: .6rem; bottom: .6rem; } .cookie-actions .btn { flex: 1; } }

/* iOS-style switches (forms, HDE, cookie settings) */
.sw-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; cursor: pointer; font-weight: 500; -webkit-tap-highlight-color: transparent; }
.sw-row + .sw-row { border-top: 1px solid var(--line); }
.sw-row:hover { background: var(--lilac); }
.sw { appearance: none; -webkit-appearance: none; position: relative; flex: none; width: 51px; height: 31px; margin: 0; border-radius: 999px; background: #E5E5EA; cursor: pointer; transition: background-color .2s ease; }
html.dark .sw { background: #39393D; }
html.dark .sw:checked { background: #34C759; }
.sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0,0,0,.15), 0 1px 1px rgba(0,0,0,.16); transition: transform .22s cubic-bezier(.3,1.4,.6,1); }
.sw:checked { background: #34C759; }
.sw:checked::after { transform: translateX(20px); }
.sw:focus-visible { outline: 3px solid var(--brand-text); outline-offset: 2px; }
.sw-group { display: grid; gap: .45rem; }
.sw-group + .sw-group { margin-top: .6rem; }
.sw-group-h { margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-text); }
.sw-inline { padding: .55rem 0 0; font-size: .92rem; }
.sw-inline:hover { background: transparent; }
.field input.sw, .sw-inline input.sw { width: 51px; height: 31px; padding: 0; border: 0; min-height: 0; flex: none; }
.sw-inline { justify-content: flex-start; gap: .8rem; }
.field input.sw { background: #E5E5EA; border-radius: 999px; }
html.dark .field input.sw { background: #39393D; }
.field input.sw:checked, html.dark .field input.sw:checked { background: #34C759; }
.field input.sw:focus { box-shadow: none; }

.footer-line { display: flex; align-items: flex-start; gap: .6rem; }
.us-flag { flex: none; margin-top: .3em; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }

/* Listing v2: marketplace product page structure (generic design, fictitious brand) */
.anatomy { grid-template-columns: 1.55fr 1fr; }
#spot-panel { position: sticky; top: 96px; }
.listing2 { grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; padding: 1.5rem; }
.lg-gallery { display: grid; grid-template-columns: 52px 1fr; gap: .6rem; align-items: start; }
.lg-thumbs { display: grid; gap: .45rem; }
.lg-thumbs span { aspect-ratio: 1; border-radius: 8px; background: var(--soft); border: 1.5px solid var(--line); display: grid; place-items: center; overflow: hidden; color: var(--muted); font-size: .8rem; }
.lg-thumbs span.on { border-color: var(--signal); }
.lg-thumbs svg { width: 70%; }
.listing2 .listing-info { gap: .55rem; }
.l-brand { font-size: .82rem; color: var(--brand-text); font-weight: 600; }
.l-meta { font-size: .85rem; }
.l-badge { justify-self: start; align-self: flex-start; font-size: .75rem; font-weight: 700; padding: .2rem .55rem; border-radius: 6px; background: #E89B2C; color: #1B1530; }
.l-pricebox { padding-top: .5rem; border-top: 1px solid var(--line); }
.l-price-sm { font-size: 1.5rem; }
.l-sizes { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; font-size: .85rem; }
.l-size { padding: .25rem .6rem; border-radius: 8px; border: 1.5px solid var(--line); }
.l-size.on { border-color: var(--signal); font-weight: 600; }
.l-h { margin: 0 0 .35rem; font-weight: 700; font-size: .92rem; }
.l-about ul { margin: 0; padding-left: 1.1rem; font-size: .85rem; color: var(--muted); display: grid; gap: .2rem; }
.l-buybox { display: flex; flex-direction: column; gap: .5rem; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); font-size: .88rem; }
.l-qty { align-self: flex-start; padding: .3rem .7rem; border-radius: 8px; background: var(--soft); font-size: .82rem; }
.l-buybox .l-cart { margin-top: 0; padding: .55rem; font-size: .9rem; }
.l-buy { background: var(--btn) !important; color: var(--btn-ink) !important; }
.l-specs table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.l-specs th, .l-specs td { text-align: left; padding: .3rem .4rem; border-bottom: 1px solid var(--line); }
.l-specs th { color: var(--muted); font-weight: 500; width: 42%; }
.l-revs .l-bar { display: grid; grid-template-columns: 2.2rem 1fr 2.6rem; gap: .5rem; align-items: center; font-size: .8rem; color: var(--muted); margin-bottom: .25rem; }
.l-bar i { height: 8px; border-radius: 99px; background: var(--soft); overflow: hidden; }
.l-bar b { display: block; height: 100%; background: var(--signal); }
.l-qa p { margin: 0 0 .25rem; font-size: .86rem; }
.listing2 .l-note { grid-column: 1 / -1; }
@media (max-width: 900px) { #spot-panel { position: static; } }
@media (max-width: 640px) { .listing2 { grid-template-columns: 1fr; } }

/* FAQ band: full content width with a soft gradient, like the other sections */
section[aria-labelledby="faq-h"] { background: linear-gradient(180deg, var(--bg), var(--soft)); border-top: 1px solid var(--line); }
section[aria-labelledby="faq-h"] .faq { max-width: none; background: var(--surface); border: 1px solid var(--lilac-line); border-radius: var(--radius-lg); padding: .4rem 1.6rem; box-shadow: var(--shadow-card); }
section[aria-labelledby="faq-h"] .faq details:last-child { border-bottom: 0; }
section[aria-labelledby="faq-h"] .faq { border-top: 1px solid var(--lilac-line); }
.cwatch { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: .2rem 0 .9rem; }
.cwatch[hidden] { display: none; }
.cwatch-k { flex-basis: 100%; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.cwatch-i { font-size: .8rem; padding: .3rem .65rem; border-radius: 999px; border: 1px solid currentColor; opacity: .9; }
.cwatch-i::before { content: "●"; font-size: .55rem; margin-right: .4rem; vertical-align: middle; color: #34C759; }

/* Tap options (contact form) */
.pills-field { border: 0; padding: 0; margin: 0; min-width: 0; }
.pills-field legend { padding: 0; margin-bottom: .45rem; font-weight: 600; font-size: .95rem; }
.pills { display: flex; flex-wrap: wrap; gap: .45rem; }
.pill { position: relative; display: inline-block; cursor: pointer; }
.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill span { display: inline-block; padding: .5rem .85rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); font-size: .9rem; transition: background .15s, border-color .15s, color .15s; }
.pill:hover span { border-color: var(--lilac-line); }
.pill input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.pill input:focus-visible + span { outline: 2px solid var(--brand-text); outline-offset: 2px; }
.site-footer li .linklike { color: var(--muted); } .site-footer li .linklike:hover { color: var(--brand-text); }
