/* francesca landing — design tokens transcribed from app.css, elevated for marketing */

:root {
  --bg: #F2F5F9;
  --ink: #101E33;
  --sub: #5C6B81;
  --faint: #9AA7B9;
  --label: #74839B;
  --border: #E5EAF1;
  --accent: #1F55C4;
  --accent-deep: #17418F;
  --accent-bg: #E9F0FC;
  --warm-bg: #FAF0DA;
  --warm-tx: #8A5E10;
  --dark: #14161B;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink);
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: #CFDDF7; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.mono { font-family: 'IBM Plex Mono', monospace; }

/* ---------------- reveal on scroll ---------------- */
/* elements settle out of a slight blur; the filter clears to none so no
   stacking context or compositing cost outlives the entrance */
.reveal { opacity: 0; transform: translateY(26px) scale(0.99); filter: blur(7px); }
.reveal.in {
  opacity: 1; transform: none; filter: none;
  transition: opacity 0.95s var(--ease-out), transform 0.95s var(--ease-out), filter 0.7s ease;
  transition-delay: calc(var(--i, 0) * 90ms);
}

/* ---------------- nav ---------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.nav-in { height: 72px; display: flex; align-items: center; justify-content: space-between; transition: height 0.3s ease; }
.nav.scrolled { background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--border), 0 8px 30px rgba(13, 23, 41, 0.05); }
.nav.scrolled .nav-in { height: 60px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { width: 32px; height: 32px; border-radius: 8px; flex: none; }
.brand-txt { display: flex; flex-direction: column; gap: 1px; }
.brand-tag { font-family: 'IBM Plex Mono', monospace; font-size: 7.5px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
.brand-name { font-family: 'Hanken Grotesk', 'IBM Plex Sans', sans-serif; font-size: 18px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-link { font-size: 14px; font-weight: 500; color: #3D4C63; transition: color 0.15s ease; }
.nav-link:hover { color: var(--accent-deep); }
@media (max-width: 720px) { .nav-link { display: none; } }
/* the tagline is the first thing to go: below this the links and the two
   buttons stop fitting beside it, and it wraps down across the wordmark */
@media (max-width: 860px) { .brand-tag { display: none; } }
@media (max-width: 620px) { .nav-links { gap: 10px; } }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 22px;
  border-radius: 11px; font-size: 14.5px; font-weight: 600; font-family: inherit;
  cursor: pointer; border: none; transition: transform 0.18s var(--ease-out), box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn svg { transition: transform 0.18s var(--ease-out); }
.btn-primary {
  background: linear-gradient(180deg, #2B62D9 0%, #1F55C4 100%); color: #FFFFFF;
  box-shadow: 0 1px 2px rgba(13, 23, 41, 0.2), 0 8px 24px rgba(31, 85, 196, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary:hover { transform: translateY(-1.5px); box-shadow: 0 2px 4px rgba(13, 23, 41, 0.2), 0 14px 34px rgba(31, 85, 196, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-secondary { background: #FFFFFF; color: #33415C; border: 1px solid #D7DEE9; box-shadow: 0 1px 2px rgba(13, 23, 41, 0.05); }
.btn-secondary:hover { transform: translateY(-1.5px); border-color: #B9C6D8; box-shadow: 0 8px 22px rgba(13, 23, 41, 0.09); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13.5px; border-radius: 9px; }
.btn-white { background: #FFFFFF; color: var(--ink); }
.btn-white:hover { transform: translateY(-1.5px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35); }
.btn-ghost { background: transparent; color: #F2F5F9; border: 1px solid #363C49; }
.btn-ghost:hover { transform: translateY(-1.5px); border-color: #5A6376; }

/* ---------------- hero ---------------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 150px 0 0; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, #C9D4E3 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 75% 70% at 50% 42%, black 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 42%, black 20%, transparent 72%);
  opacity: 0.55;
}
/* the glows drift on their own (children animate transform); the scroll
   parallax lives on .hero-bg, so the two never fight over the same property */
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); will-change: transform; }
.hero-glow.g1 { width: 560px; height: 560px; left: -160px; top: -120px; background: rgba(31, 85, 196, 0.10); animation: drift-a 16s ease-in-out infinite alternate; }
.hero-glow.g2 { width: 640px; height: 640px; right: -200px; top: 30%; background: rgba(43, 98, 217, 0.09); animation: drift-b 19s ease-in-out infinite alternate; }
.hero-glow.g3 { width: 460px; height: 340px; left: 50%; margin-left: -230px; bottom: -160px; background: rgba(43, 98, 217, 0.08); animation: drift-c 13s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate3d(44px, 26px, 0); } }
@keyframes drift-b { to { transform: translate3d(-48px, -32px, 0); } }
@keyframes drift-c { to { transform: translate3d(28px, -20px, 0); } }

.hero-in { position: relative; z-index: 3; text-align: center; }
.hero h1 {
  margin: 0 auto 22px; max-width: 900px;
  font-size: clamp(42px, 6.6vw, 78px); font-weight: 700; line-height: 1.04; letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--accent); }
.hero-sub { margin: 0 auto 38px; max-width: 640px; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; color: var(--sub); text-wrap: balance; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* floating mess: shared styles live in mess.css */
/* phones keep the full-screen, centred hero — only the padding shrinks, so the
   mess above and below the copy has room */
@media (max-width: 780px) { .hero { padding: 118px 0 56px; } }

/* ---------------- sections ---------------- */
.section { padding: 130px 0; position: relative; scroll-margin-top: 64px; }
.section-white { background: #FFFFFF; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-deep);
}
.eyebrow::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: var(--accent); transform-origin: left center; }
/* the little line draws itself once the eyebrow has revealed */
.eyebrow.reveal::before { transform: scaleX(0); }
.eyebrow.reveal.in::before { transform: scaleX(1); transition: transform 0.8s var(--ease-out) calc(var(--i, 0) * 90ms + 250ms); }
.h2 { margin: 18px 0 12px; font-size: clamp(30px, 3.8vw, 46px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; text-wrap: balance; }
.section-sub { font-size: 17px; color: var(--sub); max-width: 640px; line-height: 1.6; }

/* ---------------- flow diagram ---------------- */
.flow { display: grid; grid-template-columns: 300px 90px minmax(300px, 380px) 90px 340px; justify-content: center; align-items: center; gap: 0; margin-top: 64px; }
.flow-sources { display: flex; flex-direction: column; gap: 16px; }
.node {
  display: flex; align-items: center; gap: 14px; background: #FFFFFF; border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px;
  box-shadow: 0 1px 2px rgba(13, 23, 41, 0.04), 0 10px 28px rgba(13, 23, 41, 0.05);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, border-color 0.25s ease;
}
.node:hover { transform: translateY(-2px); border-color: #B9CBEE; box-shadow: 0 2px 4px rgba(13, 23, 41, 0.05), 0 16px 38px rgba(31, 85, 196, 0.12); }
.node-ic { width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--accent-bg); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.node .t { font-size: 15px; font-weight: 600; line-height: 1.2; }
.node .s { font-family: 'IBM Plex Mono', monospace; font-size: 9px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-top: 3px; }

/* the accountant node: a drawn mini-sidebar of what she sees — every
   category, filled, in two columns */
.node.acc-node { flex-direction: column; align-items: stretch; }
.acc-head { display: flex; align-items: center; gap: 14px; }
.acc-rows { margin-top: 12px; padding-top: 3px; border-top: 1px solid #EEF1F6; display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
.acc-lbl { grid-column: 1 / -1; font-family: 'IBM Plex Mono', monospace; font-size: 8.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); padding: 7px 0 4px; }
.acc-row { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 11.5px; font-weight: 500; color: #33415C; white-space: nowrap; }
.acc-row svg { color: #7C8BA1; flex: none; }
.acc-row b { margin-left: auto; padding-left: 8px; font-weight: 500; font-size: 10.5px; color: var(--faint); font-variant-numeric: tabular-nums; }

.hub {
  position: relative; background: #FFFFFF; border: 1.5px solid var(--accent); border-radius: 18px; padding: 26px 26px 22px; text-align: left;
  box-shadow: 0 2px 4px rgba(31, 85, 196, 0.08), 0 24px 60px rgba(31, 85, 196, 0.20);
}
.hub::before {
  content: ''; position: absolute; inset: -22px; z-index: -1; border-radius: 30px;
  background: radial-gradient(ellipse at center, rgba(31, 85, 196, 0.13), transparent 70%);
}
.hub-head { display: flex; align-items: center; gap: 14px; }
.hub-logo { width: 44px; height: 44px; border-radius: 11px; flex: none; box-shadow: 0 6px 16px rgba(31, 85, 196, 0.35); }
.hub .t { font-family: 'Hanken Grotesk', 'IBM Plex Sans', sans-serif; font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.hub .s { font-family: 'IBM Plex Mono', monospace; font-size: 9.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-top: 3px; }
.hub-steps { margin-top: 18px; display: flex; flex-direction: column; gap: 9px; }
.hub-step { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #33415C; font-weight: 500; }
.hub-step svg { color: var(--accent); flex: none; }
.hub-note { margin-top: 16px; padding-top: 14px; border-top: 1px dashed #D7DEE9; font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--label); }

.connector { height: 200px; width: 100%; overflow: visible; }
.connector.single { height: 60px; }
.connector path { fill: none; stroke: #B9CBEE; stroke-width: 2; stroke-dasharray: 7 7; animation: dash 1.1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -14; } }

@media (max-width: 1080px) {
  .flow { grid-template-columns: 1fr; gap: 22px; max-width: 460px; margin-left: auto; margin-right: auto; }
  .connector { display: none; }
  .flow-arrow-m { display: flex !important; justify-content: center; color: var(--accent); }
}
.flow-arrow-m { display: none; }

/* ---------------- screenshot frames ---------------- */
.shot { margin: 84px auto 0; max-width: 1020px; position: relative; perspective: 1400px; }
.frame {
  background: #FFFFFF; border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(13, 23, 41, 0.06), 0 20px 45px rgba(13, 23, 41, 0.09), 0 45px 110px rgba(13, 23, 41, 0.12);
  transform: rotateX(3.5deg); transform-origin: 50% 0;
  transition: transform 0.7s var(--ease-out), box-shadow 0.7s ease;
}
.shot:hover .frame { transform: rotateX(0deg); box-shadow: 0 1px 2px rgba(13, 23, 41, 0.06), 0 26px 55px rgba(13, 23, 41, 0.12), 0 55px 130px rgba(13, 23, 41, 0.15); }
.frame-bar { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border-bottom: 1px solid #EEF1F6; position: relative; background: #FBFCFE; }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #E5EAF1; }
.frame-url {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 14px; border-radius: 6px; background: #F2F5F9;
  font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; color: var(--label);
}
.frame-url svg { color: #7C9F7E; }
.shot-caption { text-align: center; font-size: 13.5px; color: #8B98AB; margin-top: 20px; }

@media (max-width: 860px) { .frame { transform: none; } }

/* Below 780 the shot is a phone capture, so the desktop browser chrome around
   it stops making sense — and the frame narrows to roughly life size rather
   than stretching a 390px screen across the card. */
.shot-narrow { display: none; }
@media (max-width: 780px) {
  .shot { margin-top: 56px; }
  .frame { max-width: 330px; margin: 0 auto; border-radius: 22px; }
  .frame-bar { display: none; }
  .shot-wide { display: none; }
  .shot-narrow { display: inline; }
}

/* mantra */
.mantra { margin-top: 110px; text-align: center; }
.mantra .line { display: block; font-size: clamp(26px, 3.6vw, 42px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.22; }
.mantra .line.alt { color: var(--accent); }

/* ---------------- feature cards ---------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 58px; }
.card {
  position: relative; background: #FFFFFF; border: 1px solid var(--border); border-radius: 16px; padding: 28px 26px 30px; overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, border-color 0.3s ease;
}
.card::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, #2B62D9, #6D9BEF); opacity: 0; transition: opacity 0.3s ease;
}
.card:hover { transform: translateY(-4px); border-color: #C4D4F1; box-shadow: 0 18px 44px rgba(31, 85, 196, 0.12); }
.card:hover::after { opacity: 1; }
.card .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--accent-bg); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.card h3 { font-size: 17px; font-weight: 650; letter-spacing: -0.01em; margin-bottom: 9px; }
.card p { font-size: 14px; color: var(--sub); line-height: 1.62; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; } }

/* ---------------- pricing ---------------- */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 380px)); justify-content: center; gap: 22px; margin-top: 60px; }
.price {
  position: relative; background: #FFFFFF; border: 1px solid var(--border); border-radius: 18px; padding: 32px 32px 34px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}
.price:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(13, 23, 41, 0.08); }
.price.hot { border: 1.5px solid var(--accent); box-shadow: 0 2px 4px rgba(31, 85, 196, 0.06), 0 24px 60px rgba(31, 85, 196, 0.16); }
.price.hot:hover { box-shadow: 0 2px 4px rgba(31, 85, 196, 0.06), 0 30px 70px rgba(31, 85, 196, 0.22); }
.price-tag {
  position: absolute; top: -13px; right: 26px; background: linear-gradient(180deg, #2B62D9, #1F55C4); color: #FFFFFF;
  font-family: 'IBM Plex Mono', monospace; font-size: 9px; font-weight: 600; letter-spacing: 0.14em;
  padding: 6px 12px; border-radius: 999px; box-shadow: 0 6px 16px rgba(31, 85, 196, 0.35);
}
.price .plan { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--label); }
.price .amount { display: flex; align-items: baseline; gap: 9px; margin: 16px 0 4px; }
.price .chf { font-size: 46px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.price .per { font-size: 14px; color: var(--faint); font-weight: 500; }
.price .blurb { font-size: 14px; color: var(--sub); margin: 10px 0 20px; }
.price ul { list-style: none; display: flex; flex-direction: column; gap: 11px; padding-top: 20px; border-top: 1px solid #EEF1F6; }
.price li { display: flex; align-items: center; gap: 11px; font-size: 14px; color: #33415C; font-weight: 500; }
.price li svg { color: var(--accent); flex: none; }
/* the button the pricing section never had — the cards listed three plans and
   nothing on the page was clickable, so a reader who wanted to buy could only
   email us */
.price-cta { display: block; margin-top: 22px; text-align: center; }
.badge-warm { display: inline-block; margin-top: 18px; background: var(--warm-bg); color: var(--warm-tx); border-radius: 7px; padding: 7px 12px; font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 600; letter-spacing: 0.1em; }
.kicker { text-align: center; margin: 52px auto 0; max-width: 580px; font-size: 16px; color: var(--sub); line-height: 1.65; }
.kicker b { color: var(--ink); font-weight: 650; }
@media (max-width: 1000px) { .prices { grid-template-columns: minmax(0, 440px); } }

/* the double saving: filing time + accountant hours, tied to the price */
.save2 {
  display: grid; grid-template-columns: 1fr 64px 1fr; align-items: start;
  margin: 64px auto 0; max-width: 920px;
  background: #FFFFFF; border: 1px solid var(--border); border-radius: 18px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(13, 23, 41, 0.04), 0 14px 36px rgba(13, 23, 41, 0.06);
}
.save2-head {
  grid-column: 1 / -1; text-align: center; padding: 20px 24px 0;
  font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-deep);
}
.save2-col { padding: 20px 30px 26px; }
.save2-k {
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--label); margin-bottom: 12px;
}
.save2-was, .save2-now { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; line-height: 1.5; padding: 6px 0; }
.save2-was { color: var(--sub); }
.save2-was svg { flex: none; margin-top: 3px; color: var(--faint); }
.save2-was b { color: #3D4C63; font-weight: 650; }
.save2-now { color: #33415C; }
.save2-now svg { flex: none; margin-top: 3px; color: var(--accent); }
.save2-now b { color: var(--ink); font-weight: 650; }
.save2-plus {
  width: 44px; height: 44px; margin: 0 auto; align-self: center; border-radius: 50%;
  background: var(--accent-bg); color: var(--accent-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 650; line-height: 1;
}
.save2-sum {
  grid-column: 1 / -1; border-top: 1px solid var(--border); background: #FBFCFE;
  padding: 26px 34px 24px; text-align: center;
}
.save2-stats { display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; margin-bottom: 18px; }
.save2-stat .n { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.15; }
.save2-stat .l { margin-top: 3px; font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--label); }
.save2-sum b { display: block; font-size: 15.5px; font-weight: 650; letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
.save2-sum span { display: block; margin-top: 6px; font-size: 12px; color: var(--faint); }
@media (max-width: 900px) {
  .save2 { grid-template-columns: 1fr; }
  .save2-col { padding: 16px 26px 20px; }
  .save2-plus { margin: 0 auto; }
  .save2-stats { gap: 12px 32px; }
}

/* ---------------- final cta ---------------- */
.cta { position: relative; background: var(--dark); color: #F2F5F9; padding: 130px 0 0; overflow: hidden; }
.cta-glow { position: absolute; left: 50%; top: -260px; transform: translateX(-50%); width: 900px; height: 520px; border-radius: 50%; background: radial-gradient(ellipse, rgba(43, 98, 217, 0.28), transparent 65%); filter: blur(50px); pointer-events: none; }
.cta-in { position: relative; text-align: center; }
.cta h2 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 700; letter-spacing: -0.03em; }
.cta p { color: #A7B0BF; font-size: 17px; margin: 18px auto 40px; max-width: 520px; line-height: 1.6; }
.cta-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.foot { position: relative; margin-top: 110px; border-top: 1px solid #262B34; padding: 24px 0 30px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 0.15em; color: #78828F; text-transform: uppercase; }

/* ---------------- motion prefs ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .connector path { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; filter: none; }
  .eyebrow.reveal::before { transform: none; transition: none; }
  .hero-glow { animation: none; }
  .frame { transform: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- traction band ---------- */
/* the one place the page raises its voice: a deep-blue interlude between two
   grey sections, dot texture carried over from the hero */
.traction-band {
  position: relative; overflow: hidden; padding: 96px 0 100px;
  background:
    radial-gradient(ellipse 90% 140% at 12% -30%, rgba(58, 113, 226, 0.55), transparent 58%),
    radial-gradient(ellipse 80% 130% at 92% 125%, rgba(10, 28, 64, 0.6), transparent 62%),
    linear-gradient(160deg, #133673 0%, #17418F 55%, #1D50AE 100%);
}
.traction-band::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 85% 95% at 50% 0%, black 10%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 85% 95% at 50% 0%, black 10%, transparent 78%);
}
.traction-band .wrap { position: relative; }
.traction-band .eyebrow { color: #A9C5F4; }
.traction-band .eyebrow::before { background: #6D9BEF; }
.traction-band .h2 { color: #FFFFFF; }
/* separate cards rather than a hairline grid: a count that is not a multiple
   of four would otherwise leave the band's colour showing through as an
   empty cell */
.tr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
/* resting cells are translucent glass on the blue; under the cursor a card
   slowly turns solid white, ink and all, and fades back just as slowly */
.tr-cell { position: relative; display: flex; flex-direction: column; gap: 8px;
  padding: 24px 22px 22px; background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.13); border-radius: 16px;
  transition: background 0.9s ease, border-color 0.9s ease, box-shadow 0.9s ease,
    transform 0.22s var(--ease-out); }
.tr-cell:hover { background: #FFFFFF; border-color: #FFFFFF; transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(6, 18, 45, 0.2), 0 22px 52px rgba(6, 18, 45, 0.3); }
.tr-cell::before { content: ''; position: absolute; left: 22px; top: -1px; width: 26px; height: 3px;
  background: #8FB4F4; border-radius: 0 0 3px 3px; opacity: 0; transform: translateY(-3px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.9s ease; }
.tr-cell.in::before { opacity: 1; transform: translateY(0); }
.tr-cell:hover::before { background: #17418F; }
.tr-v { font-size: 38px; font-weight: 700; line-height: 1; letter-spacing: -0.025em;
  color: #FFFFFF; font-variant-numeric: tabular-nums; transform-origin: left center;
  transition: color 0.9s ease; }
.tr-cell:hover .tr-v { color: #101E33; }
/* a small pop each time a live counter ticks up */
.tr-v.tick { animation: tr-pop 0.45s var(--ease-out); }
@keyframes tr-pop { 30% { transform: scale(1.05); } }
.tr-k { font-size: 13px; line-height: 1.35; color: #B7CBEC; transition: color 0.9s ease; }
.tr-cell:hover .tr-k { color: #5C6B81; }
@media (max-width: 1000px) { .tr-grid { grid-template-columns: repeat(2, 1fr); } .tr-v { font-size: 32px; } }
@media (max-width: 520px) { .tr-grid { grid-template-columns: 1fr; } .tr-v { font-size: 30px; } }

