/* ============================================================
   IRA COMMERCE — production styles
   Base system + Floating Orbs theme (concept 10)
   ============================================================ */
:root {
  --navy-deep: #080c22;
  --navy: #0d1326;
  --navy-soft: #1a1e34;
  --ink-soft: #54607a;
  --line: #e1e6ef;
  --blue: #0d66c2;
  --blue-light: #4a9eed;
  --teal: #1f9aa6;
  --amber: #c2760e;
  --green: #1f8a4c;
  --paper: #f9fbfd;      /* paper tinted toward the blue anchor — no pure white surfaces */
  --paper-alt: #f0f4f9;

  /* theme hooks — Floating Orbs */
  --bg: var(--paper);
  --bg-alt: var(--paper-alt);
  --text: var(--navy);
  --muted: var(--ink-soft);
  --heading: var(--navy);
  --card-bg: #fcfdff;   /* card surface, faint blue cast */
  --card-border: var(--line);
  --accent: var(--blue);
  --accent-2: var(--teal);
  --btn-bg: var(--blue);
  --btn-text: #f6f9fc;  /* near-white, tinted toward paper */
  --radius: 18px;
  --font-display: "Sora", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  /* semantic tokens (audit: no mid-render improvisation) */
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.75);
  --shadow-card: 0 20px 50px -34px rgba(13, 19, 38, 0.5);
  --shadow-card-hover: 0 30px 60px -30px rgba(13, 19, 38, 0.45);
  --shadow-panel: 0 24px 60px -42px rgba(13, 19, 38, 0.5);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-short: 220ms;
  --ink-inverse: #f6f9fc;         /* light ink on navy surfaces */
  --header-bg: rgba(249, 251, 253, 0.85);
  /* wave/tint composites — pre-blended paper+anchor values shared by svg fills and band gradients */
  --wave-blue-in: #f0f6fb;
  --wave-blue-out: #fafcfe;
  --wave-teal-in: #eff8f9;
  --wave-teal-out: #fbfdfd;
}
html { overflow-x: clip; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  background:
    radial-gradient(1200px 600px at 80% 10%, rgba(13,102,194,0.10), transparent 60%),
    radial-gradient(900px 500px at 10% 60%, rgba(31,154,166,0.12), transparent 60%),
    var(--paper);
  background-attachment: fixed;
}
h1, h2, h3 { font-family: var(--font-display); color: var(--heading); line-height: 1.15; }
img { max-width: 100%; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- header ---------- */
/* floating utility-pill navigation (replaces the standard sticky-bar fingerprint) */
.site-header {
  position: sticky; top: 12px; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  width: min(1360px, 94vw); margin: 12px auto 0;
  padding: 10px 14px 10px 22px;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  box-shadow: var(--shadow-panel);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 44px; width: auto; display: block; }
.site-footer .brand img { height: 30px; margin: 0 0 12px; }
.site-nav { display: flex; gap: 24px; margin-left: auto; }
.site-nav a { text-decoration: none; font-size: 0.92rem; color: var(--muted); transition: color 0.2s var(--ease-out); }
.site-nav a:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.login-link { text-decoration: none; font-size: 0.92rem; color: var(--muted); }
.login-link:hover { color: var(--accent); }
.menu-toggle { display: none; }

/* nav dropdowns */
.nav-item { position: relative; }
.nav-item > a { display: inline-block; padding: 6px 0; }
.nav-dropdown {
  position: absolute; top: 100%; left: -16px; min-width: 230px;
  background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 12px;
  padding: 10px; box-shadow: 0 24px 50px -30px rgba(13,19,38,0.45);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out), visibility 0.2s;
}
.nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown a {
  display: block; padding: 8px 12px; border-radius: 8px;
  font-size: 0.88rem; color: var(--muted); text-decoration: none;
}
.nav-dropdown a:hover { background: var(--bg-alt); color: var(--accent); }

/* ---------- buttons ---------- */
.button {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-text);
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.25s var(--ease-out);
}
.button:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -18px rgba(13,102,194,0.7); }
.button-small { padding: 9px 20px; font-size: 0.88rem; white-space: nowrap; }
.button { white-space: nowrap; }
.button-ghost { background: transparent; color: var(--text); border-color: var(--card-border); }
.button-ghost:hover { box-shadow: none; border-color: var(--accent); color: var(--accent); }
.button-light { background: var(--card-bg); color: var(--navy); }

/* ---------- layout primitives ---------- */
.section { padding: 96px 4vw; max-width: 1360px; margin: 0 auto; }
.section-heading { max-width: 640px; margin-bottom: 48px; }
.section-heading h2, .decision-copy h2, .data-copy h2, .company-section h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 12px 0 14px; }
.section-heading p:not(.eyebrow) { color: var(--muted); }
.eyebrow {
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent);
}

/* reveal on scroll — glass: arrive from blur */
[data-reveal], [data-reveal-group] > * { opacity: 0; transform: translateY(20px); filter: blur(7px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out), filter 0.7s var(--ease-out); }
[data-reveal].is-visible, [data-reveal-group].is-visible > * { opacity: 1; transform: translateY(0); filter: none; }
[data-reveal-group].is-visible > *:nth-child(2) { transition-delay: 0.1s; }
[data-reveal-group].is-visible > *:nth-child(3) { transition-delay: 0.2s; }
[data-reveal-group].is-visible > *:nth-child(4) { transition-delay: 0.3s; }
[data-reveal-group].is-visible > *:nth-child(5) { transition-delay: 0.4s; }
[data-reveal-group].is-visible > *:nth-child(6) { transition-delay: 0.5s; }
[data-reveal-group].is-visible > *:nth-child(7) { transition-delay: 0.6s; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center;
  padding: 60px 4vw 52px; max-width: 1360px; margin: 0 auto; /* audit: hero must fit 1280x800 */
  position: relative; perspective: 1200px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); margin: 14px 0 0; }
.hero h1 .hl { color: var(--blue); }
.hero h1 .hl2 { color: var(--teal); }
.hero h1 .hl3 { color: var(--green); }
.hero-lede { font-size: 1.05rem; font-weight: 600; margin: 18px 0 10px; max-width: 48ch; }
.hero-support { font-size: 0.95rem; color: var(--muted); max-width: 48ch; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- flow visual (floating orbs, tilted 3D card) ---------- */
.flow {
  display: flex; flex-direction: column; position: relative;
  background: var(--card-bg); border: 1px solid var(--line); border-radius: 18px; padding: 26px;
  box-shadow: 0 30px 70px -40px rgba(13,19,38,0.45);
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.4s var(--ease-out);
}
.flow:hover { transform: rotateY(0deg) rotateX(0deg); }
.flow .step { display: flex; gap: 14px; align-items: flex-start; opacity: 0; transform: translateY(16px); animation: stepIn 0.6s var(--ease-out) forwards; position: relative; z-index: 1; }
.flow .step + .step { margin-top: 26px; }
.flow.linked .step:nth-child(1) { animation-delay: 0.15s; }
.flow.linked .step:nth-child(2) { animation-delay: 0.35s; }
.flow.linked .step:nth-child(3) { animation-delay: 0.55s; }
.flow.linked .step:nth-child(4) { animation-delay: 0.75s; }
@keyframes stepIn { to { opacity: 1; transform: translateY(0); } }
.flow .n {
  flex: none; width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 600; font-size: 0.85rem;
  background: var(--bg-alt); color: var(--accent);
  position: relative;
  animation: iconPop 0.5s var(--ease-out) both; /* audit: no bounce/overshoot easing */
}
.flow .step:nth-child(1) .n { animation-delay: 0.25s; }
.flow .step:nth-child(2) .n { animation-delay: 0.45s; background: rgba(31,154,166,0.1); color: var(--teal); }
.flow .step:nth-child(3) .n { animation-delay: 0.65s; background: rgba(194,118,14,0.1); color: var(--amber); }
.flow .step:nth-child(4) .n { animation-delay: 0.85s; background: rgba(31,138,76,0.1); color: var(--green); }
@keyframes iconPop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.flow strong { display: block; margin-bottom: 4px; font-size: 0.98rem; font-family: var(--font-display); color: var(--heading); }
.flow p { margin: 0; font-size: 0.85rem; color: var(--muted); }

/* connectors — real measured elements, badge boundary to badge boundary (built by script.js) */
.flow { position: relative; }
.conn { position: absolute; width: 1.5px; background: var(--line); }
.conn-orb {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  opacity: 0; animation: connDrop 2.4s var(--ease-in-out) infinite; animation-delay: var(--cd, 0s);
}
.conn-orb.co1 { background: radial-gradient(circle at 35% 35%, var(--blue-light), var(--blue)); box-shadow: 0 3px 8px rgba(13,102,194,0.45); }
.conn-orb.co2 { background: radial-gradient(circle at 35% 35%, #63d0da, var(--teal)); box-shadow: 0 3px 8px rgba(31,154,166,0.45); }
.conn-orb.co3 { background: radial-gradient(circle at 35% 35%, #f2c877, var(--amber)); box-shadow: 0 3px 8px rgba(194,118,14,0.45); }
@keyframes connDrop {
  0%   { opacity: 0; transform: translateY(0) scale(0.55); }
  12%  { opacity: 1; transform: translateY(calc(var(--travel) * 0.12)) scale(1); }
  88%  { opacity: 1; transform: translateY(calc(var(--travel) * 0.88)) scale(0.95); }
  100% { opacity: 0; transform: translateY(var(--travel)) scale(0.6); }
}

/* ---------- metrics strip ---------- */
.metrics-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding: 40px 5vw; max-width: 1240px; margin: 0 auto; text-align: center;
}
.metrics-strip strong {
  display: block; font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--blue); /* audit: solid ink instead of gradient text masking */
}
.metrics-strip span { font-size: 0.85rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.metrics-strip.in-section { padding: 0 0 40px; }

/* Track What Matters row + stats band */
.track-title { font-size: 1.05rem; margin: 10px 0 20px; }
.track-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 20px 12px; margin-bottom: 44px;
}
.track-item {
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  font-size: 0.82rem; font-weight: 600; color: var(--muted); text-align: center;
}
.track-icon {
  width: 46px; height: 46px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: var(--card-bg); border: 1px solid var(--card-border); color: var(--accent);
  box-shadow: 0 14px 30px -24px rgba(13,19,38,0.55);
  transition: transform 0.25s var(--ease-out);
}
.track-item:hover .track-icon { transform: translateY(-4px); }
.track-icon svg { width: 21px; height: 21px; }
.track-item:nth-child(4n+2) .track-icon { color: var(--teal); }
.track-item:nth-child(4n+3) .track-icon { color: var(--amber); }
.track-item:nth-child(4n) .track-icon { color: var(--green); }
.stats-band {
  display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; text-align: center;
  background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 18px;
  padding: 26px 8px; box-shadow: 0 24px 60px -42px rgba(13,19,38,0.5);
}
.stats-band > div + div { border-left: 1px solid var(--line); }
.stats-band strong {
  display: block; font-family: var(--font-display); font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  color: var(--blue); /* audit: solid ink instead of gradient text masking */
}
.stats-band span { font-size: 0.78rem; color: var(--muted); }

/* ---------- cards / grids ---------- */
.platform-section, .solutions-section, .resources-section { perspective: 1200px; }
/* legacy .platform-grid removed (audit: equal-card 3-col tell; no longer referenced) */
.platform-card {
  background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 28px; transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
  box-shadow: 0 20px 50px -34px rgba(13,19,38,0.5);
}
.platform-card:hover { transform: rotateY(-4deg) rotateX(3deg) translateY(-6px); box-shadow: 0 30px 60px -30px rgba(13,19,38,0.45); }
.platform-card h3 { margin: 14px 0 8px; font-size: 1.15rem; }
.platform-card p { color: var(--muted); font-size: 0.92rem; }
.platform-card ul { margin: 14px 0 0 18px; color: var(--muted); font-size: 0.88rem; display: grid; gap: 6px; }
.card-icon {
  width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 600; background: var(--bg-alt); color: var(--accent);
}
.card-link { display: inline-block; margin-top: 16px; font-weight: 600; font-size: 0.9rem; color: var(--accent); text-decoration: none; }
.card-link:hover { text-decoration: underline; }

/* ---------- rolling showcase (One Platform. Three Layers) ---------- */
.showcase-tabs { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.showcase-tabs button {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 10px; border-radius: 999px; cursor: pointer;
  background: var(--card-bg); border: 1px solid var(--card-border);
  font-family: var(--font-body); font-weight: 600; font-size: 0.9rem; color: var(--muted);
  transition: border-color 0.25s var(--ease-out), color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.showcase-tabs button .card-icon { width: 30px; height: 30px; border-radius: 50%; font-size: 0.72rem; }
.showcase-tabs button.is-active { border-color: var(--accent); color: var(--heading); box-shadow: 0 12px 26px -18px rgba(13,102,194,0.7); }
.showcase-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.showcase-tabs button:active { transform: translateY(1px); }
.showcase-panel {
  display: none; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: center;
  background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 22px;
  padding: 40px; box-shadow: 0 24px 60px -42px rgba(13,19,38,0.5);
}
.showcase-panel.is-active { display: grid; animation: showcaseIn 0.45s var(--ease-out); }
@keyframes showcaseIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.showcase-copy h3 { font-size: 1.4rem; margin-bottom: 6px; }
.showcase-copy .tag { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.check-list { list-style: none; display: grid; gap: 10px; margin: 0 0 18px; }
.check-list li { position: relative; padding-left: 30px; font-weight: 600; font-size: 0.94rem; color: var(--heading); }
.check-list li::before {
  content: "\2713"; position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--accent);
  color: var(--accent); font-size: 0.7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.showcase-shot {
  min-height: 300px; border-radius: 16px; overflow: hidden;
  border: 1.5px dashed var(--card-border);
  background: linear-gradient(135deg, #eaf2fc, #e6f5f6);
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.showcase-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot-note { font-size: 0.85rem; color: var(--muted); line-height: 1.9; }
.showcase-shot.has-media { border: 1px solid var(--card-border); background: var(--navy); padding: 0; }
.showcase-shot.has-media img { width: 100%; height: auto; display: block; border-radius: inherit; }
.shot-note code { font-family: var(--font-mono); font-size: 0.78rem; color: var(--accent); }

/* ---------- rolling ticker (Built for Decisions) ---------- */
/* audit: vary section density — lighter sections break the uniform 96px rhythm */
.decision-section { padding-top: 72px; padding-bottom: 72px; }
.trust-section { padding-top: 72px; }
.section-heading.centered { margin: 0 auto 44px; text-align: center; max-width: 760px; }
.ticker {
  overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: tickerScroll 45s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.tick-item {
  flex: none; width: 330px; display: flex; gap: 14px; align-items: flex-start;
  padding: 6px 26px; border-right: 1px solid var(--line);
}
.tick-icon {
  flex: none; width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-alt); color: var(--accent);
}
.tick-icon svg { width: 22px; height: 22px; }
.tick-item strong { display: block; font-family: var(--font-display); font-size: 0.92rem; color: var(--heading); margin-bottom: 5px; }
.tick-item p { margin: 0; font-size: 0.82rem; color: var(--muted); line-height: 1.5; }
@keyframes tickerScroll { to { transform: translateX(-50%); } }
/* note: the old prefers-reduced-motion fallback was removed here per the documented
   motion-always-on business decision (it made the ticker a wrapped static grid). */

/* legacy .solution-grid removed (audit: equal-card 3-col tell; no longer referenced) */
.solution-grid-unused article {
  background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 24px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
  box-shadow: 0 20px 50px -34px rgba(13,19,38,0.5);
}
.solution-grid article:hover { transform: rotateY(-4deg) rotateX(3deg) translateY(-6px); box-shadow: 0 30px 60px -30px rgba(13,19,38,0.45); }
.solution-grid h3 { font-size: 1.02rem; margin-bottom: 8px; }
.solution-grid p { font-size: 0.88rem; color: var(--muted); }

.marketplaces { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.marketplaces span {
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--card-border);
  font-family: var(--font-mono); font-size: 0.82rem; color: var(--muted); background: var(--card-bg);
}

/* marketplace logo row */
.logo-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 14px; margin-bottom: 40px;
}
.logo-card {
  display: flex; align-items: center; justify-content: center;
  height: 68px; padding: 12px 16px; border-radius: 14px; min-width: 0;
  background: var(--card-bg); border: 1px solid var(--card-border);
  box-shadow: 0 18px 40px -32px rgba(13,19,38,0.5);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.logo-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -28px rgba(13,19,38,0.45); }
.logo-card img { max-height: 32px; max-width: 108px; width: auto; height: auto; display: block; }
.logo-card img.logo-stacked { max-height: 48px; }
.logo-more { font-family: var(--font-mono); font-size: 0.85rem; color: var(--muted); }
.data-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.data-metrics article { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 18px; }
.data-metrics strong { display: block; font-family: var(--font-display); font-size: 0.98rem; color: var(--heading); margin-bottom: 4px; }
.data-metrics span { font-size: 0.82rem; color: var(--muted); }

/* client testimonials — one at a time, crossfading (verbatim excerpts from the client flyer) */
.testi-rotator { display: grid; max-width: 860px; margin-bottom: 20px; }
.testi-rotator .testi { grid-area: 1 / 1; opacity: 0; transform: translateY(8px); transition: opacity 0.6s var(--ease-in-out), transform 0.6s var(--ease-in-out); pointer-events: none; }
.testi-rotator .testi.on { opacity: 1; transform: none; pointer-events: auto; }
.testi-dots { grid-area: 2 / 1; display: flex; gap: 8px; margin-top: 18px; }
.testi-dots button { width: 10px; height: 10px; border-radius: 50%; border: none; background: var(--line); cursor: pointer; padding: 0; transition: background 0.3s var(--ease-out); }
.testi-dots button.on { background: var(--accent); }
.testi-dots button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.testi {
  background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 26px 28px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 18px;
}
.testi blockquote { font-size: 0.95rem; color: var(--text); border-left: 3px solid var(--accent); padding-left: 18px; }
.testi figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: auto; }
.testi figcaption strong { font-family: var(--font-display); font-size: 0.95rem; color: var(--heading); }
.testi figcaption span { font-size: 0.82rem; color: var(--muted); }
.testi .testi-co-logo { margin-left: auto; display: flex; align-items: center; }
.testi .testi-co-logo ~ .testi-co-logo { margin-left: 12px; } /* second logo sits beside the first, not spread apart */
.testi .testi-co-logo img { max-height: 26px; max-width: 110px; width: auto; height: auto; display: block; }
.testi .testi-co {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); background: var(--paper-alt); border-radius: 999px; padding: 3px 12px;
}
.brand-note { font-size: 0.78rem; color: var(--muted); margin-top: 12px; }

/* client brands — continuous marquee */
.brand-ticker {
  overflow: hidden; margin-top: 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.brand-track { display: flex; align-items: center; gap: 56px; width: max-content; animation: tickerScroll 40s linear infinite; padding: 10px 0; }
.brand-ticker:hover .brand-track { animation-play-state: paused; }
/* borderless: logos float directly on the page so no card frame distorts their relative size */
.brand-track span, .brand-track .brand-logo {
  flex: none; display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 0.9rem; color: var(--muted); white-space: nowrap;
}
.brand-track img { max-height: 32px; max-width: 140px; width: auto; height: auto; display: block; }
.brand-track .brand-tall img { max-height: 46px; } /* square/stacked marks need more height to match wordmark weight */

.brand-wall { display: flex; flex-wrap: wrap; gap: 12px; }
.brand-wall span { padding: 10px 24px; border-radius: 10px; background: var(--card-bg); border: 1px solid var(--card-border); font-weight: 600; font-size: 0.9rem; color: var(--muted); }
.trust-section blockquote {
  font-family: var(--font-display); font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 600;
  color: var(--heading); max-width: 760px; border-left: 3px solid var(--accent); padding-left: 24px;
}

.resource-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.resource-grid article {
  background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 22px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  box-shadow: 0 20px 50px -34px rgba(13,19,38,0.5);
}
.resource-grid article:hover { transform: rotateY(-4deg) rotateX(3deg) translateY(-6px); box-shadow: 0 30px 60px -30px rgba(13,19,38,0.45); }
.resource-grid span { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-2); }
.resource-grid h3 { font-size: 1rem; margin: 10px 0 8px; }
.resource-grid p { font-size: 0.85rem; color: var(--muted); }

.company-section { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.company-copy p { color: var(--muted); }
.company-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 20px; }
.company-links a { color: var(--accent); font-weight: 600; font-size: 0.92rem; text-decoration: none; }
.company-links a:hover { text-decoration: underline; }

/* ---------- demo section + video ---------- */
.demo-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.demo-form { max-width: 560px; display: grid; gap: 18px; }
.demo-form .button { justify-self: start; padding-left: 34px; padding-right: 34px; }
.form-row { display: grid; gap: 6px; }
.form-row label { font-size: 0.88rem; font-weight: 600; color: var(--heading); }
.form-row input, .form-row textarea {
  padding: 12px 14px; border-radius: 10px; border: 1px solid var(--card-border);
  background: var(--card-bg); color: var(--text); font-family: var(--font-body); font-size: 0.95rem;
}
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.form-hint { font-size: 0.78rem; color: var(--muted); }
.form-row.has-error input { border-color: #c0392b; }
.form-status { font-size: 0.9rem; min-height: 1.4em; }
.form-status.error { color: #c0392b; }
.form-status.success { color: var(--green); }

.demo-video { position: sticky; top: 96px; }
.demo-video .eyebrow { display: block; margin-bottom: 12px; }
.demo-video h3 { font-size: 1.2rem; margin-bottom: 6px; }
.demo-video p { color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; }
.video-embed {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--navy);
  box-shadow: 0 30px 70px -40px rgba(13,19,38,0.55);
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- solutions page (4 solution areas) ---------- */
.sol-kicker {
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.sol-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.sol-side { display: grid; gap: 30px; }
.sol-side h3 { font-size: 1rem; margin-bottom: 14px; }
.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; font-weight: 600; font-size: 0.94rem; color: var(--heading); }
.check-list li::before {
  content: "\2713"; position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--accent);
  color: var(--accent); font-size: 0.7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.q-list { list-style: none; display: grid; gap: 10px; }
.q-list li { position: relative; padding-left: 30px; font-size: 0.94rem; color: var(--muted); font-weight: 500; }
.q-list li::before {
  content: "?"; position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--accent-2);
  color: var(--accent-2); font-size: 0.72rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
/* content-driven asymmetry: demo media (or the lead capability) spans full width */
.sol-caps { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sol-caps article:first-child { grid-column: 1 / -1; }
.sol-caps article:last-child:nth-child(even) { grid-column: 1 / -1; }
/* reveal slider — capabilities beneath, demo wipes in from the right (built with script.js) */
.sol-reveal {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--card-border); aspect-ratio: 960 / 620;
  background: var(--card-bg); box-shadow: var(--shadow-panel);
}
.sol-reveal:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.sol-reveal .under { position: absolute; inset: 0; padding: 18px; overflow: hidden; }
.sol-reveal .cmp-caps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sol-reveal .cmp-caps article {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 12px; padding: 13px 16px;
}
.sol-reveal .cmp-caps strong { display: block; font-family: var(--font-display); font-size: 0.88rem; color: var(--heading); margin-bottom: 4px; }
.sol-reveal .cmp-caps p {
  font-size: 0.78rem; color: var(--muted); line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.sol-reveal .over { position: absolute; top: 0; bottom: 0; right: 0; overflow: hidden; }
/* demo pinned at full panel size behind the wipe — the divider unmasks it, never crops it */
.sol-reveal .over .demo { position: absolute; top: 0; right: 0; height: 100%; background: var(--navy); }
.sol-reveal .over .demo img { height: 100%; width: auto; max-width: none; display: block; } /* escape the global img max-width so the wipe unmasks instead of squeezing */
.sol-reveal .handle { position: absolute; top: 0; bottom: 0; width: 3px; background: var(--accent); z-index: 4; pointer-events: none; }
.sol-reveal .handle::after {
  content: "\2194"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--ink-inverse);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  box-shadow: 0 6px 18px -6px rgba(13, 102, 194, 0.6);
}
.sol-reveal input[type="range"] {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: ew-resize; z-index: 5; margin: 0;
}
.sol-caps article {
  background: var(--card-bg);
  border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow-card);
  transition: transform var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out);
}
.sol-caps article:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }
.sol-caps strong { display: block; font-family: var(--font-display); font-size: 0.98rem; color: var(--heading); margin-bottom: 6px; }
.sol-caps p { font-size: 0.88rem; color: var(--muted); }

/* ---------- wave dividers + tinted bands (concept 11) ---------- */
.wave { display: block; width: 100%; height: 70px; margin: -1px 0; }
.wave path { fill: var(--wave-blue-in); }
.wave.w-bo path { fill: var(--wave-blue-out); }
.wave.w-ti path { fill: var(--wave-teal-in); }
.wave.w-to path { fill: var(--wave-teal-out); }
/* opaque tints — prevents the 1px double-composite hairline at wave/band junctions */
.tint-b { background: linear-gradient(180deg, var(--wave-blue-in), var(--wave-blue-out)); }
.tint-t { background: linear-gradient(180deg, var(--wave-teal-in), var(--wave-teal-out)); }

/* ---------- CTA band ---------- */
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: 64px 5vw; max-width: 1240px; margin: 0 auto;
  border-radius: 24px; background: linear-gradient(120deg, var(--navy), #14224a); color: var(--ink-inverse);
}
.cta-band h2 { color: var(--ink-inverse); font-size: clamp(1.3rem, 2.4vw, 1.8rem); max-width: 640px; margin-top: 10px; }

/* ============================================================
   INNER PAGES
   ============================================================ */
.page-hero { max-width: 1360px; margin: 0 auto; padding: 72px 4vw 40px; position: relative; }
.breadcrumb { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 18px; text-transform: uppercase; }
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 12px 0 16px; max-width: 20ch; }
.page-hero .lede { font-size: 1.08rem; color: var(--muted); max-width: 62ch; }
.page-hero .hero-actions { margin-top: 28px; }

/* alternating feature rows (Ira360) */
.feature-rows { display: grid; gap: 28px; }
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center;
  background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 22px;
  padding: 40px; box-shadow: 0 24px 60px -42px rgba(13,19,38,0.5);
  perspective: 1200px;
}
.feature-row:nth-child(even) .feature-visual { order: -1; }
.feature-copy .eyebrow { display: block; margin-bottom: 10px; }
.feature-copy h3 { font-size: 1.4rem; margin-bottom: 6px; }
.feature-copy .tag { font-style: italic; color: var(--accent); font-size: 0.95rem; margin-bottom: 12px; }
.feature-copy p { color: var(--muted); font-size: 0.95rem; margin-bottom: 14px; }
.feature-copy ul { list-style: none; display: grid; gap: 10px; }
.feature-copy li { position: relative; padding-left: 26px; color: var(--text); font-size: 0.92rem; }
.feature-copy li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--blue-light), var(--blue));
  box-shadow: 0 3px 8px rgba(13,102,194,0.45);
}
/* decorative floating-orb panel used in place of screenshots */
.feature-visual {
  position: relative; min-height: 260px; border-radius: 18px; overflow: hidden;
  background: linear-gradient(135deg, #eaf2fc, #e6f5f6);
  border: 1px solid var(--line);
}
.feature-visual .orb { position: absolute; border-radius: 50%; filter: blur(2px); opacity: 0.9; animation: drift 9s var(--ease-in-out) infinite; }
.feature-visual .orb.a { width: 130px; height: 130px; top: 18%; left: 14%; background: radial-gradient(circle at 35% 35%, var(--blue-light), var(--blue)); }
.feature-visual .orb.b { width: 90px; height: 90px; bottom: 16%; right: 20%; background: radial-gradient(circle at 35% 35%, #63d0da, var(--teal)); animation-delay: 1.4s; }
.feature-visual .orb.c { width: 56px; height: 56px; top: 55%; left: 45%; background: radial-gradient(circle at 35% 35%, #f2c877, var(--amber)); animation-delay: 2.6s; }
.feature-visual .glyph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 600; letter-spacing: 0.12em; font-size: 0.8rem;
  text-transform: uppercase; color: rgba(13,19,38,0.35);
}
@keyframes drift { 0%,100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(-16px) translateX(10px); } }

/* team grid (About) */
/* content-driven asymmetry: founder card leads wide, the hiring card closes full-width */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.team-grid .team-card:first-child { grid-column: span 2; }
.team-grid .team-card:last-child { grid-column: 1 / -1; display: flex; flex-direction: column; }
.team-card {
  background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 26px; box-shadow: 0 20px 50px -34px rgba(13,19,38,0.5);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.team-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(13,19,38,0.45); }
.avatar {
  width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--ink-inverse); margin-bottom: 16px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: 0 10px 24px -12px rgba(13,102,194,0.7);
}
.team-card:nth-child(3n+2) .avatar { background: linear-gradient(135deg, var(--teal), var(--green)); }
.team-card:nth-child(3n) .avatar { background: linear-gradient(135deg, var(--amber), var(--blue)); }
.team-card h3 { font-size: 1.08rem; margin-bottom: 4px; }
.team-card .role { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.team-card p { color: var(--muted); font-size: 0.88rem; }

/* careers roles */
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.role-card {
  background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 28px; box-shadow: 0 20px 50px -34px rgba(13,19,38,0.5);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out); display: flex; flex-direction: column;
}
.role-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(13,19,38,0.45); }
.role-card h3 { font-size: 1.15rem; margin: 10px 0 8px; }
.role-card .meta { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-2); }
.role-card p { color: var(--muted); font-size: 0.9rem; margin-bottom: 12px; }
.role-card h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--heading); margin: 6px 0; }
.role-card ul { margin: 0 0 4px 18px; color: var(--muted); font-size: 0.86rem; display: grid; gap: 5px; }

.contact-band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 20px; padding: 32px 36px;
  box-shadow: 0 24px 60px -42px rgba(13,19,38,0.5);
}
.contact-band p { color: var(--muted); font-size: 0.95rem; max-width: 52ch; }
.contact-band h2 { font-size: 1.3rem; margin-bottom: 6px; }

/* careers — index/list-led open roles */
.role-list { display: grid; max-width: 980px; }
.role-item {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 32px;
  padding: 30px 0; border-top: 1px solid var(--line); align-items: start;
}
.role-item:first-child { border-top: none; padding-top: 8px; }
.role-item h3 { font-size: 1.2rem; margin-bottom: 6px; }
.role-item .meta { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-2); white-space: nowrap; text-align: right; }
.role-item p { color: var(--muted); font-size: 0.93rem; max-width: 68ch; }
.role-item .skills { font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-soft); margin-top: 10px; }
.role-item .skills strong { color: var(--heading); font-weight: 600; }
.role-item .apply { grid-column: 2; text-align: right; }
@media (max-width: 620px) {
  .role-item { grid-template-columns: 1fr; }
  .role-item .meta, .role-item .apply { text-align: left; grid-column: 1; }
}

/* ============================================================
   GLASS LAYERS (concept a2) — frosted depth across the site
   ============================================================ */
/* audit: glass reserved for the two depth moments (hero card + showcase); other surfaces opaque */
.flow, .showcase-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--glass-border);
}
.logo-card, .stats-band, .track-icon,
.feature-row, .solution-grid article, .data-metrics article,
.team-card, .role-card, .contact-band {
  background: var(--card-bg);
}

/* stacked glass sheets behind the hero flow card */
.hero { perspective: 1400px; }
.hero-visual { position: relative; transform-style: preserve-3d; }
.hero-visual::before, .hero-visual::after {
  content: ""; position: absolute; border-radius: 22px; z-index: -1;
  inset: 12px -14px -14px 14px;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transform: translateZ(-50px);
}
.hero-visual::after {
  inset: 26px -30px -30px 30px;
  transform: translateZ(-100px);
  background: rgba(234, 242, 252, 0.4);
}

/* glass hover lift replaces the isometric tilt */
.flow { transform: none; transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out); }
.flow:hover { transform: translateY(-6px); box-shadow: 0 40px 80px -44px rgba(13, 19, 38, 0.5); } /* 2D lift keeps text crisp */

/* showcase panels slide in like glass plates */
.showcase { perspective: 1400px; }
.showcase-panel { transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out); }
.showcase-panel.is-active { animation: glassIn 0.5s var(--ease-out); }
.showcase-panel.is-active:hover { transform: translateY(-4px); } /* 2D lift keeps text crisp */
@keyframes glassIn { from { opacity: 0; transform: translateX(46px) rotateY(-9deg); } to { opacity: 1; transform: none; } }

/* ---------- footer — compact colophon ---------- */
.site-footer {
  margin: 72px auto 0; padding: 32px 4vw 40px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px;
  max-width: 1360px;
}
.site-footer .brand img { height: 28px; margin: 0; }
.site-footer p { color: var(--muted); font-size: 0.88rem; margin: 0; }
.site-footer .foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-left: auto; }
.site-footer a { text-decoration: none; color: var(--muted); font-size: 0.88rem; }
.site-footer a:hover { color: var(--accent); }
.site-footer .copyright { flex-basis: 100%; font-size: 0.78rem; margin-top: 4px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero, .decision-section, .company-section, .demo-layout, .feature-row, .showcase-panel.is-active, .sol-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-row:nth-child(even) .feature-visual { order: 0; }
  .platform-grid, .solution-grid, .team-grid, .role-grid { grid-template-columns: 1fr 1fr; }
  .data-metrics, .resource-grid { grid-template-columns: 1fr 1fr; }
  .demo-video { position: static; }
  .flow { transform: none; }
  /* audit: contain hero glass sheets on mobile (negative insets caused 41px overflow at 320px) */
  .hero-visual::before, .hero-visual::after { display: none; }
  .site-nav { display: none; position: absolute; top: calc(100% + 8px); left: 8px; right: 8px; background: var(--card-bg); flex-direction: column; padding: 20px 24px; border: 1px solid var(--card-border); border-radius: 20px; box-shadow: var(--shadow-panel); }
  .site-nav.is-open { display: flex; }
  .nav-dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    border: none; box-shadow: none; padding: 0 0 8px 14px; min-width: 0;
  }
  .menu-toggle { display: flex; flex-direction: column; gap: 4px; margin-left: auto; background: none; border: none; cursor: pointer; padding: 8px; }
  .menu-toggle span:not(.sr-only) { width: 22px; height: 2px; background: var(--text); }
  .header-actions .login-link { display: none; }
}
@media (max-width: 620px) {
  .site-header { gap: 14px; padding: 10px 12px 10px 18px; }
  .hero { padding: 40px 5vw 36px; gap: 32px; }
  .team-grid .team-card:first-child, .team-grid .team-card:last-child { grid-column: auto; }
  .sol-caps article:first-child, .sol-caps article:last-child:nth-child(even) { grid-column: auto; }
  .header-actions .button-small { padding: 8px 14px; font-size: 0.82rem; }
  .brand img { height: 36px; }
  .platform-grid, .solution-grid, .decision-list, .data-metrics, .resource-grid, .team-grid, .role-grid, .sol-caps, .testi-grid { grid-template-columns: 1fr; }
  .metrics-strip { grid-template-columns: 1fr 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; gap: 20px 0; }
  .stats-band > div + div { border-left: none; }
  .stats-band > div:nth-child(even) { border-left: 1px solid var(--line); }
  .feature-row { padding: 28px; }
}
