/* Macroblocs: clean, corporate, white. One typeface, restrained colour, quiet motion. */

@font-face { font-family: "Manrope"; src: url("/assets/fonts/v1/manrope-latin-wght.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --ink: #0f1424;
  --ink-soft: #343a4b;
  --muted: #5b6273;
  --faint: #8a90a0;
  --navy: #0f1b3d;
  --navy-hover: #182a5c;
  --line: #e7e9ef;
  --line-strong: #d6dae3;
  --bg: #ffffff;
  --surface: #f7f8fb;
  --brand: #196eec;
  --brand-soft: #eef4fe;
  --mint: #1f9d78;
  --sun: #d99a1e;
  --rose: #d4567f;
  --teal: #41afb8;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 20, 36, .05);
  --shadow: 0 1px 2px rgba(15, 20, 36, .04), 0 8px 24px -12px rgba(15, 20, 36, .12);
  --shadow-lg: 0 2px 4px rgba(15, 20, 36, .04), 0 24px 48px -20px rgba(15, 20, 36, .22);
  --wrap: 76rem;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --card: #ffffff;
  --surface-blue: #f5f8fe;
  --header-bg: rgba(255, 255, 255, .9);
  --glow: #f2f6fe;
  --selection: #d8e6fd;
  --accent-faint: #c9d8f5;
  --btn-bg: #0f1b3d;
  --btn-bg-hover: #182a5c;
  --btn-fg: #ffffff;
  --cta-bg: #0f1b3d;
  --ok-bg: #ecf8f3; --ok-line: #cdebdf;
  --warn-bg: #fdf1f3; --warn-line: #f5d5dc;
  /* Hero hexagons */
  --hex-fill: #f7faff; --hex-stroke: #bcd0f2; --hex-dash: #d5e0f3; --hex-ghost: #eef1f6;
  --hex-label: #3a4a6b; --hex-route: #d5e0f3; --hex-core: #ffffff;
  color-scheme: light;
}

/* Dark theme: used when the visitor picks it, or when they haven't picked and the OS is dark */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #eef1f7; --ink-soft: #c5cbd8; --muted: #9aa2b4; --faint: #737b8e;
    --line: #232a3b; --line-strong: #323b51;
    --bg: #0b0f19; --surface: #111726; --card: #121929; --surface-blue: #111a2e;
    --brand: #5b9bff; --brand-soft: #16233f;
    --header-bg: rgba(11, 15, 25, .85); --glow: #121c33; --selection: #1f3a6b; --accent-faint: #2c3f66;
    --btn-bg: #eef1f7; --btn-bg-hover: #ffffff; --btn-fg: #0b0f19; --cta-bg: #121c33;
    --ok-bg: #0f2a22; --ok-line: #1c4a3c; --warn-bg: #2d141c; --warn-line: #55202f;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 24px 48px -20px rgba(0, 0, 0, .7);
    --hex-fill: #131c30; --hex-stroke: #2e4673; --hex-dash: #263552; --hex-ghost: #182033;
    --hex-label: #b8c6e3; --hex-route: #2b3a5a; --hex-core: #0f1626;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #eef1f7; --ink-soft: #c5cbd8; --muted: #9aa2b4; --faint: #737b8e;
  --line: #232a3b; --line-strong: #323b51;
  --bg: #0b0f19; --surface: #111726; --card: #121929; --surface-blue: #111a2e;
  --brand: #5b9bff; --brand-soft: #16233f;
  --header-bg: rgba(11, 15, 25, .85); --glow: #121c33; --selection: #1f3a6b; --accent-faint: #2c3f66;
  --btn-bg: #eef1f7; --btn-bg-hover: #ffffff; --btn-fg: #0b0f19; --cta-bg: #121c33;
  --ok-bg: #0f2a22; --ok-line: #1c4a3c; --warn-bg: #2d141c; --warn-line: #55202f;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .6);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 24px 48px -20px rgba(0, 0, 0, .7);
  --hex-fill: #131c30; --hex-stroke: #2e4673; --hex-dash: #263552; --hex-ghost: #182033;
  --hex-label: #b8c6e3; --hex-route: #2b3a5a; --hex-core: #0f1626;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 { margin: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--selection); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -3rem; z-index: 100; background: var(--btn-bg); color: var(--btn-fg); padding: .6rem 1rem; border-radius: var(--radius-sm); text-decoration: none; }
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .wrap { padding: 0 1.5rem; } }

.muted { color: var(--muted); }
.small { font-size: .9rem; }
.muted a, .small a { color: var(--brand); }

/* ---------- Type ---------- */
.headline { font-weight: 700; letter-spacing: -0.035em; line-height: 1.06; color: var(--ink); }
.headline .accent { display: block; color: var(--brand); }
.headline-xl { font-size: clamp(2.4rem, 5.6vw, 4.2rem); }
.hero .headline-xl { font-size: clamp(2.5rem, 5vw, 4.3rem); }
.hero .headline .accent { white-space: nowrap; }
.headline-lg { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
.headline-md { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.headline + p { margin-top: 1.25rem; }

.lede { font-size: clamp(1.05rem, 1.5vw, 1.18rem); color: var(--muted); max-width: 36rem; margin-top: 1.5rem; }
.lede-sm { font-size: 1.08rem; color: var(--ink-soft); line-height: 1.75; }
.eyebrow { display: flex; align-items: center; gap: .5rem; margin: 0 0 1rem; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.eyebrow .dot { display: none; }
.dot { display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; flex: none; }
.dot-brand { background: var(--brand); }
.dot-mint { background: var(--mint); }
.dot-sun { background: var(--sun); }
.dot-rose { background: var(--rose); }
.center-label { text-align: center; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 1.4rem; }

/* ---------- Buttons ---------- */
.hex-svg { width: 100%; height: auto; }
.icon { width: 1.05em; height: 1.05em; flex: none; transition: transform .2s ease; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--sans); font-weight: 700; font-size: .98rem; line-height: 1;
  padding: .95rem 1.35rem; border-radius: var(--radius-sm); border: 1px solid transparent; cursor: pointer;
  text-decoration: none; transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
}
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--btn-bg-hover); box-shadow: var(--shadow); }
.btn-light { background: var(--card); color: var(--ink); border-color: var(--line-strong); }
.btn-light:hover { border-color: var(--ink); }
.btn-sm { padding: .7rem 1rem; font-size: .92rem; }
.btn-link { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .98rem; color: var(--ink); text-decoration: none; padding: .5rem 0; }
.btn-link:hover { color: var(--brand); }
.btn-link:hover .icon { transform: translateX(3px); }

/* ---------- Cards ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
/* Tints are deliberately faint: structure comes from borders, not colour */
.tint-sky, .tint-cream, .tint-mint, .tint-lilac, .tint-rose { background: var(--surface); border-color: var(--line); }
.tint-sky { background: var(--surface-blue); }

.pill { display: inline-flex; align-items: center; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .2rem .55rem; border-radius: 6px; }
.pill-live { background: var(--brand-soft); color: var(--brand); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.25rem 0 1.5rem; }
.chip { font-size: .78rem; font-weight: 700; padding: .32rem .65rem; border-radius: 6px; background: var(--card); border: 1px solid var(--line); color: var(--ink-soft); }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; padding: .18rem .5rem; border-radius: 6px; background: var(--brand-soft); color: var(--brand); margin-right: .35rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1.5rem; }
.brand { color: var(--ink); display: inline-flex; }
.logo { height: 28px; width: auto; color: var(--ink); }
.main-nav { display: flex; align-items: center; gap: 1.75rem; }
.main-nav ul { list-style: none; display: flex; gap: .25rem; }
.main-nav ul a { display: block; padding: .5rem .8rem; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-soft); transition: color .15s, background .15s; }
.main-nav ul a:hover { color: var(--ink); background: var(--surface); }
.main-nav ul a[aria-current="page"] { color: var(--brand); }
.theme-toggle { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--card); color: var(--ink-soft); cursor: pointer; transition: border-color .15s, color .15s; }
.theme-toggle:hover { border-color: var(--line-strong); color: var(--ink); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}
.header-actions { display: flex; align-items: center; gap: .6rem; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--card); cursor: pointer; align-items: center; justify-content: center; }
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s ease, background .2s ease; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px) {
  .menu-toggle { display: inline-flex; }
  .main-nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 1rem; padding: 1rem 1rem 1.5rem; background: var(--card); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s; }
  .main-nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; }
  .main-nav ul a { font-size: 1.1rem; padding: .8rem .9rem; }
  .nav-cta { align-self: flex-start; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(2.5rem, 6vw, 4.5rem); position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60rem 30rem at 85% 10%, var(--glow) 0%, transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 2.5rem; }
.hero-copy { position: relative; }
.hero-badge { display: inline-flex; align-items: center; gap: .65rem; padding: .4rem .8rem .4rem .45rem; margin-bottom: 1.75rem; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: .85rem; font-weight: 600; color: var(--ink-soft); text-decoration: none; transition: border-color .2s; }
.hero-badge:hover { border-color: var(--line-strong); color: var(--ink); }
.hero-badge .pill { border-radius: 999px; }
.hero-badge .icon { color: var(--faint); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }
.hero-visual { position: relative; }

.bloc-field { position: relative; }
.bloc-svg { width: 100%; height: auto; overflow: visible; }
.bf-label { font-family: var(--sans); font-weight: 700; font-size: 13px; letter-spacing: .02em; fill: var(--hex-label); }
.bf-route { fill: none; stroke: var(--hex-route); stroke-width: 1.4; stroke-dasharray: 2 6; stroke-linecap: round; animation: dash 20s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -160; } }
.bf-fill polygon { fill: var(--hex-fill); stroke: var(--hex-stroke); }
.bf-outline polygon { stroke: var(--hex-dash); }
.bf-ghost polygon { stroke: var(--hex-ghost); }
.bf-mark-hex { fill: var(--hex-core); stroke: var(--brand); filter: drop-shadow(0 10px 18px rgba(25, 110, 236, .18)); }
.bf-cell { opacity: 0; animation: fade-up .8s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--i) * 50ms + 100ms); }
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.bf-chip { position: absolute; display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .85rem; font-size: .8rem; font-weight: 700; color: var(--ink-soft); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); white-space: nowrap; opacity: 0; animation: fade-up .7s ease forwards; }
.bf-chip-a { top: 6%; right: 2%; animation-delay: 1s; }
.bf-chip-b { bottom: 18%; left: 0; animation-delay: 1.2s; }
.bf-chip-c { bottom: 2%; right: 10%; animation-delay: 1.4s; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 540px; margin: 0 auto; width: 100%; }
}
@media (max-width: 520px) {
  .bf-chip { font-size: .7rem; padding: .4rem .6rem; }
  .hero-badge { font-size: .78rem; }
}
@media (max-width: 480px) { .hero .headline .accent { white-space: normal; } }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-tight { padding: clamp(1.5rem, 4vw, 2.5rem) 0; }
.section-flush-top { padding-top: 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head-center { flex-direction: column; align-items: center; text-align: center; }
.section-head-center .eyebrow { justify-content: center; }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.split-body .btn { margin-top: .75rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 880px) { .split, .grid-2, .grid-3 { grid-template-columns: 1fr; } }
@media (min-width: 600px) and (max-width: 880px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

/* Mentions */
.mentions { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.mention { display: flex; flex-direction: column; gap: .45rem; height: 100%; padding: 1.15rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; position: relative; transition: border-color .2s, box-shadow .2s; }
.mention:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.mention-name { font-weight: 800; font-size: 1.02rem; letter-spacing: -0.01em; }
.mention-title { font-size: .85rem; color: var(--muted); line-height: 1.5; padding-right: 1rem; }
.mention .icon { position: absolute; top: 1.15rem; right: 1.15rem; color: var(--faint); }
@media (max-width: 960px) { .mentions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .mentions { grid-template-columns: 1fr; } }

/* Product */
.product-card { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding: clamp(1.75rem, 5vw, 3.5rem); overflow: hidden; background: linear-gradient(180deg, var(--card) 0%, var(--surface) 100%); }
.product-sub { font-size: 1.2rem; font-weight: 700; color: var(--ink); margin: 1.1rem 0 .75rem; letter-spacing: -0.01em; }
.product-copy p { color: var(--ink-soft); }
.product-visual { position: relative; display: flex; justify-content: center; }
.store-links { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.25rem; font-size: .9rem; font-weight: 600; }
.store-links a { display: inline-flex; align-items: center; gap: .3rem; color: var(--muted); text-decoration: none; }
.store-links a:hover { color: var(--brand); }
@media (max-width: 880px) { .product-card { grid-template-columns: 1fr; } }

/* Cash-in product panel (illustration, in Cash-in's own teal) */
/* Always light: it depicts the app screen. Re-scoping the tokens keeps text dark inside. */
.cashin-panel { margin: 0; width: 100%; max-width: 420px; --ink: #0f1424; --ink-soft: #343a4b; --muted: #5b6273; --line: #e7e9ef; color: var(--ink); }
.cashin-panel figcaption { --faint: #8a90a0; }
.cp-window { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.cp-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line); }
.cp-head img { height: 24px; width: auto; }
.cp-status { display: inline-flex; align-items: center; gap: .45rem; font-size: .75rem; font-weight: 700; color: #1a6b72; background: #e6f5f6; padding: .3rem .6rem; border-radius: 999px; }
.cp-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(65,175,184,.5); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(65,175,184,0); } 100% { box-shadow: 0 0 0 0 rgba(65,175,184,0); } }
.cp-steps { list-style: none; padding: .5rem 1.25rem; }
.cp-step { display: grid; grid-template-columns: auto 1fr auto; gap: .85rem; align-items: center; padding: .9rem 0; opacity: 0; animation: fade-up .6s ease forwards; animation-delay: calc(var(--d) * 350ms + 300ms); }
.cp-step + .cp-step { border-top: 1px dashed var(--line); }
.cp-check { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #e6f5f6; color: #1a6b72; }
.cp-check svg { width: 15px; height: 15px; }
.cp-text strong { display: block; font-size: .95rem; letter-spacing: -0.01em; }
.cp-text small { display: block; font-size: .8rem; color: var(--muted); }
.cp-time { font-size: .75rem; font-weight: 600; color: var(--faint); font-variant-numeric: tabular-nums; }
.cp-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid var(--line); background: #fafbfc; }
.cp-stats div { display: flex; flex-direction: column-reverse; padding: 1rem .75rem; text-align: center; }
.cp-stats div + div { border-left: 1px solid var(--line); }
.cp-stats dt { font-size: .7rem; font-weight: 600; color: var(--muted); }
.cp-stats dd { margin: 0 0 .15rem; font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; color: #133032; }
.cashin-panel figcaption { margin-top: .75rem; font-size: .75rem; color: var(--faint); text-align: center; }
.cashin-panel figcaption a { color: inherit; }

/* Video */
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #133032; }
.video-poster { all: unset; cursor: pointer; display: block; width: 100%; height: 100%; }
.video-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.video-poster:hover img { transform: scale(1.02); }
.video-poster:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 1.1rem 0; margin: clamp(1rem, 3vw, 2rem) 0; }
.marquee-track { display: flex; align-items: center; gap: 2.25rem; width: max-content; animation: marquee 50s linear infinite; }
.marquee-item { font-weight: 700; font-size: clamp(1.4rem, 3vw, 2.1rem); letter-spacing: -0.03em; white-space: nowrap; color: var(--ink); }
.marquee-item.outline { color: var(--accent-faint); }
.marquee-sep { width: 16px; color: var(--brand); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Feature cards */
.feature-card { display: flex; flex-direction: column; padding: 1.75rem; min-height: 260px; text-decoration: none; background: var(--card); transition: border-color .2s ease, box-shadow .2s ease; }
.feature-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.feature-num { font-size: .8rem; font-weight: 700; color: var(--brand); letter-spacing: .08em; margin-bottom: auto; }
.feature-card h3 { font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1.2; margin: 2.25rem 0 .55rem; }
.feature-card p { color: var(--muted); margin-bottom: 1.25rem; }
.feature-more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .92rem; color: var(--ink); }
.feature-card:hover .feature-more { color: var(--brand); }
.feature-card:hover .feature-more .icon { transform: translateX(3px); }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.steps-3 { grid-template-columns: repeat(3, 1fr); margin-bottom: 1.5rem; }
.step { padding: 1.75rem 1.5rem; background: var(--card); }
.step + .step { border-left: 1px solid var(--line); }
.step-num { display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 8px; background: var(--brand-soft); color: var(--brand); font-weight: 800; font-size: .9rem; margin-bottom: 1.25rem; }
.step h3 { font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; margin-bottom: .45rem; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step + .step { border-left: 0; }
  .step:nth-child(even) { border-left: 1px solid var(--line); }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps-3 { grid-template-columns: 1fr; }
  .steps-3 .step { border-left: 0; }
  .steps-3 .step + .step { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .step:nth-child(even) { border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
}

/* Quotes */
.quote-card { margin: 0; padding: clamp(1.6rem, 4vw, 2.25rem); display: flex; flex-direction: column; background: var(--card); }
.quote-mark { width: 30px; color: var(--accent-faint); margin-bottom: 1.1rem; }
.quote-card blockquote { margin: 0 0 1.5rem; }
.quote-card blockquote p { font-size: clamp(1.05rem, 1.7vw, 1.2rem); font-weight: 500; line-height: 1.6; color: var(--ink); }
.quote-card figcaption { margin-top: auto; display: flex; flex-direction: column; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.quote-card figcaption strong { font-size: .95rem; }
.quote-card figcaption span { color: var(--muted); font-size: .85rem; }

/* Posts */
.post-card { height: 100%; }
.post-card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); transition: border-color .2s ease, box-shadow .2s ease; }
.post-card-link:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.post-card-img { aspect-ratio: 16 / 9; background: var(--surface); overflow: hidden; border-bottom: 1px solid var(--line); }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post-card-link:hover .post-card-img img { transform: scale(1.03); }
.post-card-body { padding: 1.15rem 1.25rem 1.35rem; }
.post-card h3 { font-weight: 700; font-size: 1.08rem; letter-spacing: -0.01em; line-height: 1.4; }
.post-card-link:hover h3 { color: var(--brand); }
.post-card-summary { color: var(--muted); font-size: .9rem; margin: .55rem 0 0; }
.meta { font-size: .78rem; color: var(--faint); margin-bottom: .55rem; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }

.filters { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 2rem; }
.filter { padding: .5rem .9rem; border-radius: 8px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .86rem; color: var(--ink-soft); transition: all .15s; }
.filter:hover { border-color: var(--line-strong); color: var(--ink); }
.filter.is-active { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-fg); }
.featured-post { overflow: hidden; margin-bottom: 1.25rem; background: var(--card); }
.featured-link { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; text-decoration: none; }
.featured-img { background: var(--surface); aspect-ratio: 16 / 9; height: 100%; }
.featured-img img { width: 100%; height: 100%; object-fit: cover; }
.featured-body { padding: clamp(1.5rem, 4vw, 2.75rem); display: flex; flex-direction: column; justify-content: center; }
.featured-body h2 { font-weight: 700; font-size: clamp(1.45rem, 2.6vw, 2rem); letter-spacing: -0.025em; line-height: 1.2; margin-bottom: .85rem; }
.featured-body p { color: var(--muted); }
.featured-link:hover h2 { color: var(--brand); }
@media (max-width: 880px) { .featured-link { grid-template-columns: 1fr; } }
.pagination { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 3rem; color: var(--muted); font-weight: 600; }
.empty-state { padding: 3rem; text-align: center; }
.empty-state h2 { font-weight: 700; margin-bottom: .6rem; }
.empty-state a { color: var(--brand); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); }
.faq-list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; cursor: pointer; font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.faq summary:hover { color: var(--brand); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 1.15rem; height: 1.15rem; color: var(--faint); transition: transform .25s ease; }
.faq[open] summary .icon { transform: rotate(45deg); color: var(--brand); }
.faq p { padding: 0 2rem 1.35rem 0; margin: 0; color: var(--muted); }
@media (max-width: 880px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50rem 24rem at 90% 0%, var(--glow) 0%, transparent 70%); }
.page-hero .wrap { position: relative; }
.page-hero .headline { max-width: 52rem; }
.breadcrumbs { display: flex; gap: .5rem; font-size: .85rem; color: var(--faint); margin-bottom: 1.5rem; }
.breadcrumbs a { text-decoration: none; color: var(--muted); }
.breadcrumbs a:hover { color: var(--brand); }

.fact-card { padding: 1.75rem 2rem; }
.facts { margin: 0; display: grid; gap: 1.1rem; }
.facts div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.facts div:last-child { border: 0; padding: 0; }
.facts dt { color: var(--muted); font-weight: 600; font-size: .92rem; }
.facts dd { margin: 0; font-weight: 700; text-align: right; }
.facts a { color: var(--brand); text-decoration: none; }
.prose-lg p { font-size: 1.08rem; line-height: 1.8; color: var(--ink-soft); }

.vision-card { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); padding: clamp(1.75rem, 5vw, 3.25rem); }
.mission-list { list-style: none; display: flex; flex-direction: column; gap: .75rem; }
.mission-list li { display: flex; gap: 1rem; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1.05rem 1.15rem; }
.mission-list .step-num { margin: 0; flex: none; }
.mission-list p { margin: 0; color: var(--ink-soft); }
@media (max-width: 880px) { .vision-card { grid-template-columns: 1fr; } }

.value-card { padding: 1.6rem; background: var(--card); }
.value-hex { display: block; width: 28px; color: var(--brand); margin-bottom: 1.6rem; }
.value-card h3 { font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; margin-bottom: .5rem; }
.value-card p { color: var(--muted); font-size: .93rem; margin: 0; }

.service-list { display: flex; flex-direction: column; gap: 1.25rem; }
.service-card { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.25rem, 4vw, 3rem); padding: clamp(1.75rem, 5vw, 2.75rem); background: var(--card); }
.service-num { font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: .9; letter-spacing: -0.04em; color: var(--accent-faint); }
.service-card h2 { font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: -0.025em; margin-bottom: .7rem; }
.service-card p { color: var(--ink-soft); font-size: 1.04rem; line-height: 1.75; margin: 0; max-width: 46rem; }
@media (max-width: 560px) { .service-card { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.contact-form-card { padding: clamp(1.5rem, 4vw, 2.5rem); }
.form-title { font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; margin-bottom: 1.4rem; }
.form { display: flex; flex-direction: column; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.field-row { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.field-row .field { min-width: 200px; }
.field label { font-weight: 700; font-size: .86rem; }
.optional { font-weight: 500; color: var(--faint); }
.field input, .field textarea { font: inherit; color: var(--ink); background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: .8rem .95rem; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(25,110,236,.14); }
.field textarea { resize: vertical; min-height: 140px; }
.hp { position: absolute; left: -9999px; }
.form .btn { align-self: flex-start; margin-top: .5rem; }
.notice { padding: 1rem 1.2rem; border-radius: var(--radius-sm); margin-bottom: 1.5rem; font-size: .95rem; }
.notice-ok { background: var(--ok-bg); border: 1px solid var(--ok-line); }
.notice-warn { background: var(--warn-bg); border: 1px solid var(--warn-line); }
.notice a { color: var(--brand); }
.contact-info { display: flex; flex-direction: column; gap: .85rem; }
.contact-line { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; text-decoration: none; font-weight: 700; transition: border-color .2s; }
.contact-line:hover { border-color: var(--line-strong); }
.contact-line .icon { width: 1.4rem; height: 1.4rem; color: var(--brand); }
.contact-line small { display: block; font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

/* Article */
.article-head { max-width: 50rem; padding-top: clamp(2rem, 5vw, 3.5rem); }
.article-title { font-weight: 700; font-size: clamp(2rem, 4.5vw, 3.1rem); line-height: 1.1; letter-spacing: -0.035em; margin: .5rem 0 1rem; }
.article-lede { font-size: 1.12rem; color: var(--muted); }
.article-hero { max-width: 62rem; margin-top: 1.5rem; margin-bottom: 2.5rem; }
.article-hero img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); aspect-ratio: 16/9; object-fit: cover; }
.prose { max-width: 44rem; margin: 0 auto; font-size: 1.06rem; line-height: 1.8; color: var(--ink-soft); }
.prose h2 { font-weight: 700; font-size: 1.45rem; letter-spacing: -0.02em; line-height: 1.3; color: var(--ink); margin: 2.2rem 0 .8rem; }
.prose h3 { font-weight: 700; font-size: 1.2rem; color: var(--ink); margin: 1.8rem 0 .6rem; }
.prose p { margin: 0 0 1.15rem; }
.prose a { color: var(--brand); }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: .4rem; }
.prose img { border-radius: 12px; margin: 1.5rem 0; }
.prose blockquote { margin: 1.5rem 0; padding: 1rem 1.3rem; border-left: 3px solid var(--brand); background: var(--surface); border-radius: 0 10px 10px 0; }
.prose strong, .prose b { color: var(--ink); }
.legal { margin: 0; }
.source-note { max-width: 44rem; margin: 3rem auto 0; padding: 1.3rem 1.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.source-note p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.source-note a:not(.btn) { color: var(--brand); }

.error-hero { padding-bottom: 6rem; }
.error-stack { margin-top: 2rem; font-size: .75rem; white-space: pre-wrap; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(2rem, 5vw, 3rem) 0 2rem; }
.footer-cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 2rem; padding: clamp(2rem, 5vw, 3.25rem); margin-bottom: clamp(3rem, 6vw, 4.5rem); border-radius: var(--radius); background: var(--cta-bg); color: #fff; position: relative; overflow: hidden; }
.footer-cta::after { content: ""; position: absolute; right: -6rem; top: -8rem; width: 26rem; height: 26rem; border-radius: 50%; background: radial-gradient(circle, rgba(25,110,236,.45), rgba(25,110,236,0) 70%); pointer-events: none; }
.footer-cta > * { position: relative; z-index: 1; }
.footer-cta .eyebrow { color: #8fb6f7; }
.footer-cta .headline { color: #fff; }
.footer-cta .headline .accent { color: #8fb6f7; }
.footer-cta .btn-primary { background: #fff; color: #0f1b3d; }
.footer-cta .btn-primary:hover { background: #eef3fd; }
.footer-cta .btn-link { color: #c9d6f0; }
.footer-cta .btn-link:hover { color: #fff; }
.footer-cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.footer-brand p { color: var(--muted); max-width: 22rem; margin: 1rem 0 1.25rem; font-size: .93rem; }
.footer-col h3 { font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-col a { text-decoration: none; color: var(--ink-soft); font-size: .93rem; }
.footer-col a:hover { color: var(--brand); }
.socials { display: flex; gap: .5rem; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; border: 1px solid var(--line-strong); color: var(--ink-soft); transition: border-color .15s, color .15s; }
.socials a:hover { border-color: var(--ink); color: var(--ink); }
.socials .icon { width: 16px; height: 16px; }
.socials-lg { margin-top: .5rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.5rem; font-size: .83rem; color: var(--faint); }
.footer-bottom p { margin: 0; }
.footer-bottom ul { list-style: none; display: flex; gap: 1.25rem; }
.footer-bottom a { text-decoration: none; color: var(--faint); }
.footer-bottom a:hover { color: var(--ink); }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Scroll reveal (JS adds .reveal only when motion is OK) ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none; }
}

@media print {
  .site-header, .site-footer, .bloc-field, .marquee, .video-frame { display: none !important; }
}

/* ---------- Careers ---------- */
.careers-actions { margin-top: -1rem; }
.expect-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2rem; }
.expect-list li { display: flex; gap: .9rem; align-items: flex-start; }
.expect-check { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-top: .1rem; }
.expect-check svg { width: 15px; height: 15px; }
.expect-list h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: .3rem; }
.expect-list p { color: var(--muted); font-size: .93rem; margin: 0; }
@media (max-width: 640px) { .expect-list { grid-template-columns: 1fr; } }
.role-list { display: flex; flex-direction: column; gap: 1rem; }
.role-card { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; padding: 1.5rem 1.75rem; transition: border-color .2s, box-shadow .2s; }
.role-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.role-main { max-width: 46rem; }
.role-meta { display: flex; align-items: center; gap: .4rem; font-size: .8rem; color: var(--faint); margin-bottom: .5rem; }
.role-card h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: .4rem; }
.role-card p:last-child { color: var(--muted); margin: 0; }
.role-apply { flex: none; }
@media (max-width: 720px) { .role-card { flex-direction: column; align-items: flex-start; } }
.apply-card { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 2rem; padding: clamp(1.75rem, 5vw, 3rem); background: var(--surface-blue); }
.apply-steps { margin: 1.25rem 0 1rem; padding-left: 1.2rem; color: var(--ink-soft); }
.apply-steps li { margin-bottom: .45rem; }
