/* ICEMAN marketing site. Brand colors mirror lib/core/theme/app_colors.dart. */
:root {
  --navy: #0F4C81;
  --navy-dark: #083A5E;
  --ink: #06182B;
  --ice: #64B5F6;
  --ice-light: #90CAF9;
  --ice-soft: #E3F2FD;
  --orange: #FF6F00;
  --orange-light: #FF9A3D;
  --orange-dark: #E06200;
  --text: #13202D;
  --muted: #5A6878;
  --line: #E3E9F0;
  --bg: #FFFFFF;
  --bg-alt: #F4F7FB;
  --success: #12A574;
  --violet: #8B7CF6;
  --teal: #2CC5B8;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 1px 2px rgba(6, 24, 43, .05), 0 10px 30px rgba(6, 24, 43, .08);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, .35);
  --container: 1200px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); overflow-x: hidden; }
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -48px; background: var(--orange); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }
.narrow { max-width: 860px; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 20px; border-radius: 12px;
  font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 16px; border-radius: 14px; }
.btn-accent { background: linear-gradient(135deg, var(--orange-light), var(--orange)); color: #fff; box-shadow: 0 10px 30px rgba(255, 111, 0, .35); }
.btn-accent:hover { box-shadow: 0 14px 40px rgba(255, 111, 0, .5); transform: translateY(-1px); }
.btn-ghost { color: inherit; }
.btn-ghost:hover { background: rgba(127, 160, 200, .14); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-glass { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .5); }

/* ── Header (transparent over the hero, solid once scrolled) ────────────── */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: background .3s, color .3s, box-shadow .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled, .site-header.menu-open { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(170%) blur(14px); color: var(--text); border-color: var(--line); box-shadow: 0 4px 20px rgba(6, 24, 43, .06); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: .05em; text-decoration: none; }
/* Temporary mascot artwork on a white tile (readable on the dark hero too). */
.brand-mark { width: 34px; height: 34px; flex: none; padding: 2px; border-radius: 9px; background: #fff; object-fit: contain; box-shadow: 0 0 0 1px rgba(16, 24, 40, .08); }
.nav { display: none; gap: 2px; margin-left: 16px; }
.nav a { padding: 8px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 14.5px; opacity: .82; transition: opacity .2s, background .2s; }
.nav a:hover { opacity: 1; background: rgba(127, 160, 200, .14); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lang-switch { font-weight: 700; font-size: 12.5px; text-decoration: none; padding: 6px 9px; border: 1px solid currentColor; border-radius: 9px; opacity: .7; }
.lang-switch:hover { opacity: 1; }
.header-actions .btn-ghost, .header-actions .btn-accent { display: none; }
.header-actions .btn-accent { box-shadow: none; min-height: 40px; }
.menu-toggle { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid currentColor; border-radius: 12px; background: transparent; color: inherit; cursor: pointer; opacity: .85; }
.menu-toggle svg { width: 22px; height: 22px; }
.mobile-nav { background: #fff; color: var(--text); padding: 8px 20px 20px; display: grid; gap: 2px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(6, 24, 43, .12); }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { padding: 12px 8px; text-decoration: none; font-weight: 600; border-radius: 10px; }
.mobile-nav a:hover { background: var(--bg-alt); }
.mobile-nav .btn { margin-top: 8px; }
@media (min-width: 640px) { .header-actions .btn-accent { display: inline-flex; } }
@media (min-width: 1080px) {
  .nav { display: flex; }
  .header-actions .btn-ghost { display: inline-flex; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero { position: relative; color: #fff; background: var(--ink); isolation: isolate; overflow: hidden; }
.hero-sky { position: absolute; inset: 0; z-index: -1; overflow: hidden;
  background: radial-gradient(120% 90% at 70% 0%, #0E3A66 0%, #071D35 45%, var(--ink) 75%); }
.net { position: absolute; inset: 0; width: 100%; height: 100%; }
.aurora { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; pointer-events: none; }
.aurora-a { width: 640px; height: 640px; background: radial-gradient(circle, rgba(100, 181, 246, .55), transparent 65%); top: -220px; right: -120px; animation: drift-a 22s ease-in-out infinite alternate; }
.aurora-b { width: 520px; height: 520px; background: radial-gradient(circle, rgba(255, 111, 0, .32), transparent 65%); bottom: -220px; left: 20%; animation: drift-b 26s ease-in-out infinite alternate; }
.aurora-c { width: 460px; height: 460px; background: radial-gradient(circle, rgba(139, 124, 246, .35), transparent 65%); top: 30%; left: -160px; animation: drift-c 30s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(-140px, 120px) scale(1.15); } }
@keyframes drift-b { to { transform: translate(180px, -90px) scale(1.2); } }
@keyframes drift-c { to { transform: translate(120px, -60px) scale(.9); } }
.grain { position: absolute; inset: -50%; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } }

.hero-inner { position: relative; display: grid; gap: 64px; align-items: center; padding-top: 128px; padding-bottom: 104px; min-height: min(100svh, 940px); }
@media (min-width: 1080px) { .hero-inner { grid-template-columns: 1.12fr .88fr; padding-top: 140px; padding-bottom: 120px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-dark); margin-bottom: 18px; }
.hero .eyebrow { color: var(--ice-light); padding: 7px 14px; border-radius: 999px; background: rgba(100, 181, 246, .1); border: 1px solid rgba(100, 181, 246, .25); }
.eyebrow-light { color: var(--ice-light); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(255, 111, 0, .7); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 10px rgba(255, 111, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 111, 0, 0); } }
.hero h1 { font-size: clamp(34px, 4.6vw, 58px); font-weight: 800; letter-spacing: -0.035em; }
.rotator {
  /* Own line with a fixed height so changing words never reflow the hero. */
  display: block; white-space: nowrap; min-height: 1.15em;
  background: linear-gradient(100deg, var(--ice-light) 0%, #ffffff 45%, var(--orange-light) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: opacity .35s var(--ease), transform .35s var(--ease), filter .35s;
}
.rotator.is-out { opacity: 0; transform: translateY(-14px); filter: blur(6px); }
.rotator.is-in { opacity: 0; transform: translateY(14px); filter: blur(6px); transition: none; }
.h1-tail { display: block; color: rgba(255, 255, 255, .94); }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: rgba(255, 255, 255, .76); margin-top: 22px; max-width: 58ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: 14px; color: rgba(255, 255, 255, .82); font-weight: 600; }
.hero-badges li { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges svg { width: 18px; height: 18px; color: var(--ice); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 40px; max-width: 560px; }
.stats[hidden] { display: none; }
.stats div { display: flex; flex-direction: column-reverse; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(10px); }
.stats dt { font-size: 12.5px; color: rgba(255, 255, 255, .65); }
.stats dd { font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; font-variant-numeric: tabular-nums; }

/* Hero visual: example bid comparison with partner cards around it */
.hero-visual { position: relative; justify-self: center; width: 100%; max-width: 470px; perspective: 1200px; }
.mock {
  position: relative; background: rgba(255, 255, 255, .97); color: var(--text);
  border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-lg);
  transition: transform .25s var(--ease);
}
.mock::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(100, 181, 246, .8), rgba(255, 111, 0, .6)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.mock-tag { position: absolute; top: -12px; right: 20px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
.mock-head { display: grid; gap: 3px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.mock-head strong { font-size: 17px; }
.mock-head span { font-size: 13px; color: var(--muted); }
.mock-bids { display: grid; gap: 8px; margin-top: 14px; }
.mock-bids li { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name amt" "name dur"; gap: 0 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; }
.mock-bids li.is-best { border-color: var(--success); background: linear-gradient(120deg, #ECF9F3, #F6FCF9); }
.mock-name { grid-area: name; align-self: center; font-weight: 700; font-size: 14px; }
.mock-name em { display: block; font-style: normal; font-weight: 600; font-size: 12px; color: var(--success); }
.mock-amt { grid-area: amt; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.mock-dur { grid-area: dur; font-size: 12px; color: var(--muted); text-align: right; }
.mock-foot { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--navy); font-weight: 700; }
.mock-foot svg { width: 18px; height: 18px; flex: none; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  background: rgba(10, 34, 60, .82); border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px;
  backdrop-filter: blur(14px); color: #fff; box-shadow: 0 20px 40px rgba(0, 0, 0, .35); font-size: 13px;
}
.float-card strong { display: block; font-size: 13.5px; }
.float-card span { color: rgba(255, 255, 255, .7); }
.float-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; flex: none; }
.float-icon svg { width: 20px; height: 20px; }
.float-icon-bank { background: rgba(44, 197, 184, .2); color: var(--teal); }
.float-icon-legal { background: rgba(139, 124, 246, .22); color: #B3A9FF; }
.float-1 { left: -36px; bottom: -78px; animation: float 6s ease-in-out infinite; }
.float-2 { right: -22px; top: -42px; animation: float 7s ease-in-out -2s infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (max-width: 560px) {
  /* Long phrases shrink to fit one line instead of wrapping. */
  .rotator { font-size: min(1em, 7.2vw); }
  .float-1 { left: -4px; bottom: -84px; }
  .float-2 { right: -4px; top: -50px; }
}

/* ── Industry ribbons ───────────────────────────────────────────────────── */
.ribbons { background: var(--ink); padding: 28px 0 32px; display: grid; gap: 12px; overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .06); }
.ribbon { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ribbon-track { display: flex; gap: 12px; width: max-content; animation: marquee 70s linear infinite; will-change: transform; }
.ribbon-reverse .ribbon-track { animation-direction: reverse; animation-duration: 85s; }
.ribbons:hover .ribbon-track { animation-play-state: paused; }
.ribbon-track li { flex: none; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: rgba(255, 255, 255, .84); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.ribbon-track li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 10px; vertical-align: middle; border-radius: 50%; background: var(--ice); }
.ribbon-reverse .ribbon-track li::before { background: var(--orange); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Sections ───────────────────────────────────────────────────────────── */
.section { position: relative; padding: 88px 0; }
@media (min-width: 768px) { .section { padding: 120px 0; } }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 740px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; }
.section-head p:not(.eyebrow) { margin-top: 14px; color: var(--muted); font-size: 18px; }
.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.section-head-row > div { max-width: 700px; }

/* Scroll reveal (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Example tenders */
.examples { display: grid; gap: 16px; }
@media (min-width: 640px) { .examples { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .examples { grid-template-columns: repeat(3, 1fr); } }
.example {
  position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px; min-height: 200px;
  border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.example::after { content: ""; position: absolute; right: -80px; bottom: -110px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(100, 181, 246, .2), transparent 70%); transition: transform .5s var(--ease); pointer-events: none; }
.example:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #C9DCF0; }
.example:hover::after { transform: scale(1.4); }
.ex-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--ice-soft); color: var(--navy); margin-bottom: 8px; }
.ex-icon svg { width: 24px; height: 24px; }
.ex-industry { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--orange-dark); }
.example h3 { font-size: 19px; font-weight: 700; }
.ex-tag { margin-top: auto; align-self: flex-start; font-size: 12px; font-weight: 600; color: var(--muted); padding: 3px 10px; border-radius: 999px; background: var(--bg-alt); }

/* ── Ecosystem ──────────────────────────────────────────────────────────── */
.section-ink { background: radial-gradient(100% 80% at 80% 50%, #0C2F55 0%, var(--ink) 70%); color: #fff; overflow: hidden; }
.section-ink .grain { opacity: .05; }
.eco { position: relative; display: grid; gap: 64px; align-items: center; }
@media (min-width: 1080px) { .eco { grid-template-columns: 1fr 1fr; } }
.eco h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; }
.eco-lead { margin-top: 16px; color: rgba(255, 255, 255, .74); font-size: 17.5px; }
.eco-list { display: grid; gap: 6px; margin-top: 32px; }
.eco-list li { display: flex; gap: 14px; padding: 12px 14px; border-radius: 14px; transition: background .3s; }
.eco-list li.is-active, .eco-list li:hover { background: rgba(255, 255, 255, .07); }
.eco-list h3 { font-size: 16px; }
.eco-list p { font-size: 14.5px; color: rgba(255, 255, 255, .68); margin-top: 2px; }
.eco-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; margin-top: 6px; box-shadow: 0 0 0 4px rgba(255, 255, 255, .06); }
.dot-owner { background: var(--orange); } .dot-owner-bg { --c: var(--orange); }
.dot-vendor { background: var(--ice); } .dot-vendor-bg { --c: var(--ice); }
.dot-bank { background: var(--teal); } .dot-bank-bg { --c: var(--teal); }
.dot-insurance { background: var(--success); } .dot-insurance-bg { --c: #3DD6A0; }
.dot-legal { background: var(--violet); } .dot-legal-bg { --c: #A99CFF; }
.dot-iceman { background: #fff; } .dot-iceman-bg { --c: #ffffff; }

.orbit-wrap { position: relative; width: min(100%, 520px); aspect-ratio: 1; justify-self: center; }
.orbit-glow { position: absolute; inset: 24%; border-radius: 50%; background: radial-gradient(circle, rgba(100, 181, 246, .38), transparent 70%); filter: blur(20px); animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.12); opacity: .7; } }
.orbit-ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(144, 202, 249, .28); }
.ring-outer { inset: 10%; animation: spin 140s linear infinite reverse; }
.ring-inner { inset: 30%; border-style: solid; border-color: rgba(144, 202, 249, .14); }
.orbit { position: absolute; inset: 0; animation: spin 90s linear infinite; }
.orbit-spokes { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit-spokes line { stroke: rgba(144, 202, 249, .4); stroke-width: 1.4; stroke-dasharray: 3 9; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -24; } }
/* Each node arm is rotated to its angle; the badge sits at the top of the arm
   and counter-rotates (static angle + the orbit spin) to stay upright. */
.orbit-node { position: absolute; inset: 0; transform: rotate(var(--a)); pointer-events: none; }
.node-inner {
  position: absolute; left: 50%; top: 10%; translate: -50% -50%; rotate: calc(-1 * var(--a));
  display: grid; justify-items: center; gap: 4px; width: clamp(68px, 17%, 88px); padding: 12px 4px 9px;
  border-radius: 20px; background: rgba(8, 28, 50, .88); border: 1px solid color-mix(in srgb, var(--c) 55%, transparent);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--c) 10%, transparent), 0 12px 30px rgba(0, 0, 0, .35);
  color: var(--c); backdrop-filter: blur(8px); pointer-events: auto;
  animation: counter 90s linear infinite; transition: box-shadow .3s, scale .3s var(--ease);
}
.node-inner svg { width: 26px; height: 26px; }
.node-inner b { font-size: 12px; font-weight: 700; color: #fff; }
.node-inner.is-active { scale: 1.14; box-shadow: 0 0 0 10px color-mix(in srgb, var(--c) 20%, transparent), 0 0 40px color-mix(in srgb, var(--c) 45%, transparent); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes counter { to { transform: rotate(-360deg); } }
.orbit-center {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 30%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; text-align: center; font-weight: 800; font-size: clamp(13px, 2vw, 18px);
  background: radial-gradient(circle at 30% 30%, #1B6AB0, var(--navy-dark)); border: 1px solid rgba(144, 202, 249, .45);
  box-shadow: 0 0 60px rgba(100, 181, 246, .45), inset 0 0 30px rgba(255, 255, 255, .08);
}
.orbit-center::before, .orbit-center::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(144, 202, 249, .5); animation: ripple 3.6s ease-out infinite; }
.orbit-center::after { animation-delay: 1.8s; }
@keyframes ripple { from { transform: scale(1); opacity: .8; } to { transform: scale(2.1); opacity: 0; } }
.orbit-center span { padding: 0 10px; }

/* ── Trust journey ──────────────────────────────────────────────────────── */
.journey { position: relative; display: grid; gap: 16px; }
@media (min-width: 720px) { .journey { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .journey { grid-template-columns: repeat(3, 1fr); } }
.journey li { position: relative; padding: 28px 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.journey li::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--ice), var(--orange)); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease) .25s; }
.journey li.is-visible::before { transform: scaleX(1); }
.journey li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.j-num { position: absolute; right: 22px; top: 16px; font-size: 46px; font-weight: 800; color: #EEF3F8; letter-spacing: -0.04em; }
.j-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: linear-gradient(140deg, var(--navy), #1B6AB0); color: #fff; margin-bottom: 18px; box-shadow: 0 10px 24px rgba(15, 76, 129, .3); }
.j-icon svg { width: 25px; height: 25px; }
.journey h3 { font-size: 19px; margin-bottom: 8px; position: relative; }
.journey p { color: var(--muted); font-size: 15px; position: relative; }
.vault-note { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding: 16px 20px; border-radius: 16px; background: var(--ice-soft); color: var(--navy); font-weight: 600; font-size: 15px; }
.vault-note svg { width: 26px; height: 26px; flex: none; }

/* ── Live tenders ───────────────────────────────────────────────────────── */
.tender-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .tender-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .tender-grid { grid-template-columns: repeat(3, 1fr); } }
.tender-card { position: relative; min-width: 0; display: flex; flex-direction: column; gap: 10px; min-height: 250px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; background: #fff; transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
a.tender-card:hover { border-color: var(--navy); box-shadow: var(--shadow); transform: translateY(-3px); }
.tender-card.is-skeleton { background: linear-gradient(90deg, #EEF2F6 0%, #E4EAF0 50%, #EEF2F6 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-color: transparent; }
@keyframes shimmer { to { background-position: -200% 0; } }
.tender-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; }
.tender-company { min-width: 0; font-weight: 700; color: var(--navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tender-badge { flex: none; font-size: 11.5px; font-weight: 700; color: var(--success); background: #E9F8F1; padding: 3px 9px; border-radius: 999px; }
.tender-deadline { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--orange-dark); background: #FFF1E6; padding: 4px 10px; border-radius: 999px; }
.tender-deadline[hidden] { display: none; }
.tender-deadline svg { width: 14px; height: 14px; }
.tender-title { font-size: 19px; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tender-location { font-size: 14px; color: var(--muted); }
.tender-location:empty { display: none; }
.tender-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tender-tags span { font-size: 12px; font-weight: 600; color: var(--navy); background: var(--ice-soft); padding: 3px 10px; border-radius: 999px; }
.tender-bottom { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.tender-label { display: block; font-size: 12px; color: var(--muted); }
.tender-budget { font-size: 17px; font-variant-numeric: tabular-nums; }
.tender-ago { font-size: 12.5px; color: var(--muted); }
.tender-link { font-size: 14px; font-weight: 700; color: var(--orange-dark); }
.tender-message { grid-column: 1 / -1; padding: 40px; text-align: center; color: var(--muted); border: 1px dashed #CBD6E2; border-radius: var(--radius-lg); background: #fff; }

/* ── How it works ───────────────────────────────────────────────────────── */
.tabs { display: inline-flex; gap: 4px; padding: 5px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 32px; flex-wrap: wrap; }
.tabs button { font: inherit; font-weight: 700; font-size: 15px; border: 0; background: transparent; color: var(--muted); padding: 11px 20px; border-radius: 10px; cursor: pointer; transition: background .2s, color .2s; }
.tabs button[aria-selected="true"] { background: var(--navy); color: #fff; box-shadow: 0 6px 16px rgba(15, 76, 129, .3); }
.steps { display: grid; gap: 16px; }
.steps[hidden] { display: none; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; animation: stepIn .6s var(--ease) both; }
.steps li:nth-child(2) { animation-delay: .08s; } .steps li:nth-child(3) { animation-delay: .16s; } .steps li:nth-child(4) { animation-delay: .24s; }
@keyframes stepIn { from { opacity: 0; transform: translateY(14px); } }
.step-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--orange-light), var(--orange)); color: #fff; font-weight: 800; margin-bottom: 18px; box-shadow: 0 8px 20px rgba(255, 111, 0, .3); }
.steps h3 { font-size: 18px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; }

/* ── Pillars, industries, tools ─────────────────────────────────────────── */
.pillars { display: grid; gap: 16px; }
@media (min-width: 720px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .pillars { grid-template-columns: repeat(4, 1fr); } }
.pillars li { padding: 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.p-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--ice-soft); color: var(--navy); margin-bottom: 16px; }
.p-icon svg { width: 24px; height: 24px; }
.pillars h3 { font-size: 18px; margin-bottom: 6px; }
.pillars p { color: var(--muted); font-size: 15px; }
.industries { display: grid; gap: 24px; margin-top: 56px; padding: 32px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
@media (min-width: 960px) { .industries { grid-template-columns: 280px 1fr; align-items: start; } }
.industries h3 { font-size: 24px; }
.industries p { color: var(--muted); margin-top: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); font-weight: 600; font-size: 14px; transition: background .2s, color .2s, border-color .2s; }
.chips li:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 16px; padding: 26px 32px; border-radius: var(--radius-lg); background: linear-gradient(120deg, #fff 0%, var(--ice-soft) 100%); border: 1px solid var(--line); }
.tools h3 { font-size: 20px; }
.tools p { color: var(--muted); margin-top: 4px; }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #C6D8EA; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 17px; padding: 20px 36px 20px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--muted); padding-bottom: 22px; }

/* ── CTA band ───────────────────────────────────────────────────────────── */
.cta-band { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: 112px 0; background: radial-gradient(90% 120% at 50% 0%, #0E3A66, var(--ink) 70%); text-align: center; }
.cta-band .aurora { z-index: -1; }
.cta-band .grain { z-index: -1; opacity: .06; }
.cta-inner h2 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 800; max-width: 18ch; margin: 0 auto; }
.cta-inner p { margin: 16px auto 0; color: rgba(255, 255, 255, .76); font-size: 18px; max-width: 56ch; }
.cta-inner .hero-ctas { justify-content: center; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding: 64px 0 28px; font-size: 15px; }
.footer-inner { display: grid; gap: 36px; }
@media (min-width: 720px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-inner { grid-template-columns: 2fr repeat(4, 1fr); } }
.footer-brand p { margin-top: 14px; max-width: 34ch; }
.site-footer h2 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 9px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }

/* ── Legal pages ─────────────────────────────────────────────────────────── */
.legal .site-header { position: sticky; }
.legal-main { background: var(--bg-alt); padding-bottom: 96px; }
.legal-hero { padding-top: 56px; padding-bottom: 40px; max-width: var(--container); }
.legal-crumb { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.legal-crumb a { text-decoration: none; color: var(--navy); }
.legal-hero h1 { margin-top: 14px; font-size: clamp(34px, 5vw, 52px); font-weight: 800; color: var(--ink); }
.legal-lead { margin-top: 14px; max-width: 64ch; font-size: 18px; color: var(--muted); }
.legal-meta { margin-top: 18px; display: inline-block; font-size: 13px; font-weight: 700; color: var(--navy); background: var(--ice-soft); padding: 6px 12px; border-radius: 999px; }
.legal-layout { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1024px) { .legal-layout { grid-template-columns: 270px 1fr; gap: 40px; } }
.legal-toc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; font-size: 14px; }
@media (min-width: 1024px) { .legal-aside { position: sticky; top: 96px; } .legal-toc { max-height: calc(100vh - 120px); overflow: auto; } }
.legal-toc summary { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; color: var(--muted); cursor: pointer; list-style-position: outside; }
.legal-toc[open] summary { margin-bottom: 10px; }
@media (min-width: 1024px) { .legal-toc summary { pointer-events: none; list-style: none; } .legal-toc summary::-webkit-details-marker { display: none; } }
.legal-toc ol { display: grid; gap: 2px; counter-reset: toc; }
.legal-toc li { counter-increment: toc; }
.legal-toc a { display: flex; gap: 10px; padding: 6px 8px; border-radius: 8px; text-decoration: none; color: var(--text); line-height: 1.35; }
.legal-toc a::before { content: counter(toc); min-width: 1.4em; color: var(--muted); font-weight: 700; font-variant-numeric: tabular-nums; }
.legal-toc a:hover { background: var(--ice-soft); color: var(--navy); }
.prose { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 22px; min-width: 0; counter-reset: sec; overflow-wrap: break-word; }
@media (min-width: 768px) { .prose { padding: 48px 56px; } }
.prose h2 { counter-increment: sec; font-size: 22px; font-weight: 800; color: var(--ink); margin: 44px 0 14px; scroll-margin-top: 96px; }
.prose h2::before { content: counter(sec) ". "; color: var(--orange); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 17px; font-weight: 700; margin: 24px 0 8px; }
.prose p, .prose li { color: #2B3A4A; }
.prose p + p { margin-top: 12px; }
.prose ul, .prose ol { margin: 12px 0; padding-left: 22px; display: grid; gap: 8px; }
.prose ul { list-style: disc; }
.prose ol { list-style: lower-alpha; }
.prose a { color: var(--navy); font-weight: 600; }
.prose strong { color: var(--ink); }
.prose .callout { margin: 18px 0; padding: 16px 18px; border-radius: 12px; background: var(--ice-soft); border-left: 4px solid var(--navy); }
.prose table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14.5px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { background: var(--bg-alt); font-weight: 700; color: var(--ink); }
@media (max-width: 640px) {
  .prose table, .prose tbody, .prose tr, .prose td { display: block; }
  .prose thead { display: none; }
  .prose tr { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }
  .prose td { border: 0; padding: 2px 0; }
  .prose td:first-child { font-weight: 700; color: var(--ink); }
  .prose td:nth-child(3) { font-size: 13px; color: var(--muted); margin-top: 4px; }
}

/* ── Tender pages (functions/src/tenderPage.ts) ──────────────────────────── */
.tp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tp-chip { font-size: 12.5px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--muted); }
.tp-chip-open { background: #E8F7F1; border-color: #BCE8D7; color: var(--success); }
.tender-page .legal-hero h1 { font-size: clamp(28px, 4.2vw, 44px); max-width: 26ch; }
.tp-company { margin-top: 12px; font-size: 16px; font-weight: 600; color: var(--text); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tp-badge { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--muted); }
.tp-badge.is-verified { background: #E8F7F1; border-color: #BCE8D7; color: var(--success); }
.tp-badge.is-verified::before { content: "✓ "; }
@media (min-width: 1024px) { .tp-layout { grid-template-columns: 1fr 340px; } .tp-layout .legal-aside { order: 2; } }
.tp-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow); }
.tp-facts { display: grid; gap: 14px; margin: 0 0 20px; }
.tp-facts div { display: grid; gap: 2px; }
.tp-facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: var(--muted); }
.tp-facts dd { margin: 0; font-size: 16px; font-weight: 700; color: var(--ink); }
.tp-cta { width: 100%; }
.tp-hint { margin-top: 10px; font-size: 13px; color: var(--muted); text-align: center; }
.tp-sealed { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.tp-sealed::before { content: "🔒 "; }
.tender-page .prose h2::before { content: none; }
.tp-missing { padding-bottom: 120px; }
.tp-missing .btn { margin-top: 24px; }

/* Sections scrolled out of view pause their effects (site.js). */
.is-offscreen, .is-offscreen *, .is-offscreen *::before, .is-offscreen *::after { animation-play-state: paused !important; }

/* ── Reduced motion ─────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ribbon-track { flex-wrap: wrap; width: auto; justify-content: center; }
  .ribbon-track li[aria-hidden="true"] { display: none; }
}
