@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #bbeffc;
  --surface: #eef9fb;
  --card: #fcfefe;
  --ink: #080c0d;
  --body: #354447;
  --muted: #6f7374;
  --blue: #5778fb;
  --blue-dark: #4664ea;
  --pale-blue: #e2edff;
  --chip: #e8ebfc;
  --line: rgba(8,12,13,.12);
  --font: 'Inter', 'SF Pro Text', system-ui, Arial, sans-serif;

  --fs-title: clamp(2.25rem, 1.5rem + 2.4vw, 3.25rem);
  --fs-hero: clamp(2.6rem, 1.4rem + 4vw, 4.5rem);
  --gutter: 64px;
  --section: 256px;
  --radius: 24px;
}

/* Base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--bg); font: 16px/1.4 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, p, blockquote, ul { margin: 0; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; }
[hidden] { display: none !important; }
[data-animation] svg { display: block; width: 100%; height: 100%; }

/* Layout */
.wrap { width: min(1312px, calc(100% - 2 * var(--gutter))); margin: 0 auto; }
/* Every section after the opening hero + trusted-by block gets --section of padding above and below */
main > section:not(.hero, .trusted) { padding-block: var(--section); }
.heading { max-width: 800px; margin: 0 auto; text-align: center; }
.heading .lead { max-width: 460px; margin-inline: auto; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.panel { border: 1px solid rgba(255,255,255,.7); border-radius: var(--radius); background: var(--surface); }

/* Shared components */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 4px 16px; border-radius: 40px; color: #5878fb; background: #e7ebfb; box-shadow: inset 0 0 0 1px rgb(88 120 251 / .1); font-size: 14px; line-height: 23px; white-space: nowrap; }
.title { --title-gradient: linear-gradient(90deg, #080c0d 0%, #3e535b 100%); font-size: var(--fs-title); font-weight: 500; line-height: 1.2; letter-spacing: -.025em; background: var(--title-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
.title.teal { --title-gradient: linear-gradient(90deg, #070b0a 10%, #176977 90%); }
/* Headline reveal: script.js wraps each line in .title-line and moves the gradient onto it (a filtered child would
   break background-clip on the parent). Lines start blurred, faded and stretched, then snap sharp and tight in turn */
.title.is-split { background: none; }
/* Vertical padding (cancelled by negative margin) extends the painted gradient so descenders like g aren't clipped at tight line-heights */
.title-line { display: inline-block; padding-block: .12em; margin-block: -.12em; background: var(--title-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; transform-origin: left center; }
.heading .title-line, .hero .title-line, .cta-content .title-line { transform-origin: center; }
.js-reveal .title:not(.is-split) { visibility: hidden; animation: title-fallback 0s 3s forwards; }
@keyframes title-fallback { to { visibility: visible; } }
.title.is-split:not(.is-revealed) .title-line { opacity: 0; filter: blur(14px); transform: scaleX(1.35); }
.title.is-revealed .title-line { transition: opacity .5s ease-out, filter .8s cubic-bezier(.16, 1, .3, 1), transform .9s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--line, 0) * 90ms); }
/* Hero intro: after the headline starts resolving, the paragraph, button and badge fade up in turn, then the navbar
   drops in last. script.js adds .hero-revealed to <html>; keyframes (fill: backwards) avoid delaying later hovers */
.js-reveal:not(.hero-revealed) :is(.hero-copy .lead, .hero-copy .btn, .hero-copy .badge, .site-header .nav) { opacity: 0; animation: intro-fallback 0s 4s forwards; }
@keyframes intro-fallback { to { opacity: 1; } }
@keyframes intro-up { from { opacity: 0; transform: translateY(14px); } }
@keyframes intro-down { from { opacity: 0; transform: translateY(-140%); } }
.hero-revealed .hero-copy .lead { animation: intro-up .6s cubic-bezier(.16, 1, .3, 1) .35s backwards; }
.hero-revealed .hero-copy .btn { animation: intro-up .6s cubic-bezier(.16, 1, .3, 1) .45s backwards; }
.hero-revealed .hero-copy .badge { animation: intro-up .6s cubic-bezier(.16, 1, .3, 1) .55s backwards; }
.hero-revealed .site-header .nav { animation: intro-down .6s cubic-bezier(.16, 1, .3, 1) .7s backwards; }
/* Trusted-by strip comes last: script.js adds .intro-done to <html> once the navbar has landed */
@keyframes intro-rise { from { opacity: 0; transform: translateY(40px); } }
.js-reveal:not(.intro-done) .trusted { opacity: 0; animation: intro-fallback 0s 5s forwards; }
.intro-done .trusted { animation: intro-rise .8s cubic-bezier(.16, 1, .3, 1) .1s backwards; }
.heading .title, .hero .title, .cta-content .title { margin-inline: auto; }
.eyebrow + .title { margin-top: 16px; }
.title + .lead { margin-top: 20px; }
.lead { color: var(--body); font-size: 16px; line-height: 1.4; }
.btn { height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 16px; border-radius: 42px; color: #fff; background: var(--blue); font-size: 16px; white-space: nowrap; transition: background .2s; }
.btn:hover { background: var(--blue-dark); }
.btn img { flex: none; filter: brightness(0) invert(1); }
/* Arrow hover: the arrow slides out to the right of its clipped frame while a second copy slides in from the left */
.btn-arrow { width: 18px; height: 24px; position: relative; flex: none; overflow: hidden; }
.btn-arrow img { position: absolute; inset: 0; transition: transform .4s cubic-bezier(.65, 0, .25, 1); }
.btn-arrow img + img { transform: translateX(-100%); }
.btn:hover .btn-arrow img:first-child, .btn:focus-visible .btn-arrow img:first-child { transform: translateX(100%); }
.btn:hover .btn-arrow img + img, .btn:focus-visible .btn-arrow img + img { transform: translateX(0); transition-delay: .06s; }
.wordmark { display: inline-flex; align-items: center; gap: 8px; font: 400 26px/1 var(--font); letter-spacing: -.04em; }
/* Logo mark: a trace line between two nodes on a blue tile */
.logo-mark { width: 26px; height: 26px; flex: none; }
.accent { color: var(--blue); }

/* Header: floating pill */
.site-header { position: sticky; top: 0; z-index: 20; padding-top: 33px; pointer-events: none; }
.nav { width: min(950px, calc(100% - 32px)); height: 74px; position: relative; display: flex; align-items: center; justify-content: space-between; margin: 0 auto; padding: 0 16px; border-radius: 74px; background: rgba(238,249,251,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); pointer-events: auto; color: #0c1b22; }
.primary-nav { position: absolute; left: 50%; display: flex; gap: 32px; font-size: 16px; transform: translateX(-50%); }
/* Hover: a pale blue tint wipes in from the left (same move as the highlight in the use case cards), and wipes off to the right */
.primary-nav a { position: relative; isolation: isolate; }
.primary-nav a::before { content: ""; position: absolute; inset: -4px -10px; z-index: -1; border-radius: 8px; background: #dbe8fd; transform: scaleX(0); transform-origin: right center; transition: transform .2s cubic-bezier(.2,.8,.2,1); }
.primary-nav a:is(:hover, :focus-visible)::before { transform: scaleX(1); transform-origin: left center; }
.btn-sm { height: 42px; padding: 0 16px; }
.menu-toggle { display: none; }

/* Hero */
/* The animation stage shrinks with the viewport height (and the Lottie with it) so the hero text always fits on the first screen */
.hero { --stage-h: clamp(240px, calc(100svh - 500px), 520px); position: relative; margin-top: -107px; padding-top: 124px; text-align: center; }
.hero-stage { width: min(1300px, calc(100% - 32px)); height: var(--stage-h); position: relative; margin: 0 auto; text-align: left; clip-path: inset(-100px -100px 0 -100px); }
/* Hero Lottie (1468x885): its centre card sits 37px below the file's top edge, so shift it up to line the card up with the stage. */
.hero-animation { --hw: min(1468px, 102vw, var(--stage-h) * 1468 / 520); width: var(--hw); position: absolute; top: calc(var(--hw) * -37 / 1468); left: 50%; transform: translateX(-50%); pointer-events: none; }
/* Kept invisible (not just paused: its first frame still shows a glow) until the hero text intro ends, then fades in */
.hero-animation { transition: opacity .6s ease; }
.js-reveal .hero-animation[data-after-intro]:not(.is-playing) { opacity: 0; }
.hero-fade { position: absolute; z-index: 2; top: calc(var(--stage-h) - 116px); left: 0; right: 0; height: 242px; background: linear-gradient(180deg, rgba(187,239,252,0) 0%, rgba(187,239,252,.85) 55%, var(--bg) 100%); pointer-events: none; }
.hero-copy { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; margin-top: -44px; padding: 0 16px; }
.hero .title { margin-top: 32px; font-size: var(--fs-hero); line-height: 1.06; letter-spacing: -.03em; --title-gradient: linear-gradient(90deg, #080c0d 0%, #3a4e55 100%); }
.hero .lead { max-width: 450px; margin: 28px auto 24px; }
.badge { display: inline-flex; align-items: center; gap: 12px; height: 32px; padding: 0 16px 0 2px; border-radius: 32px; color: var(--blue); background: #e8ebfa; font-size: 14px; box-shadow: 0 4px 14px rgba(87,120,251,.12); }
.badge span { height: 28px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 28px; color: #fff; background: var(--blue); }

/* Trust strip */
.trusted { padding: 120px 0 0; text-align: center; }
.trusted-label { display: block; color: #344047; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.logo-window { width: min(1120px, calc(100% - 32px)); margin: 40px auto 0; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.logo-list { width: max-content; display: flex; animation: marquee 40s linear infinite; }
.logo { width: 200px; height: 48px; flex: none; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 19px; font-weight: 600; white-space: nowrap; }
.logo.regular { font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Feature tabs */
.segmented { width: fit-content; display: flex; gap: 8px; margin: 48px auto 24px; padding: 10px; border-radius: 68px; background: #e6f8fa; }
.seg-tab { height: 48px; padding: 0 16px; border: 0; border-radius: 48px; color: #3f4847; background: none; font-size: 16px; cursor: pointer; transition: background .2s, color .2s; }
.seg-tab:hover { color: var(--ink); }
.seg-tab[aria-selected="true"] { color: var(--ink); background: var(--bg); box-shadow: 0 2px 6px rgba(40,140,170,.1); }
.feature-panel { display: grid; grid-template-columns: minmax(0, 1fr) 685px; gap: 32px; padding: 32px 32px 32px 41px; }
.feature-copy { display: flex; flex-direction: column; align-items: flex-start; padding-top: 12px; }
.feature-copy h3 { font-size: 28px; font-weight: 500; letter-spacing: -.02em; }
.feature-copy p { max-width: 400px; margin-top: 18px; color: var(--body); line-height: 1.4; }
.checks { list-style: none; margin-top: 48px; padding: 48px 0 0; border-top: 1px solid var(--line); }
.checks li { position: relative; max-width: 420px; margin-bottom: 18px; padding-left: 52px; font-size: 16px; line-height: 1.4; }
.checks li::before { content: ''; position: absolute; left: 0; top: -1px; width: 28px; height: 28px; border-radius: 6px; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center no-repeat; }
.feature-copy .btn { margin-top: auto; }
.feature-art { position: relative; aspect-ratio: 685 / 506; overflow: hidden; border-radius: 16px; background: #0b1220; }
.art-pane { position: absolute; inset: 0; opacity: 0; transition: opacity .35s; }
.art-pane.active { opacity: 1; }
.art-pane:not(.active) { pointer-events: none; }
.art-pane > img { width: 100%; height: 100%; object-fit: cover; }
.art-pane > .art-fx { width: 100%; height: 100%; position: absolute; inset: 0; display: block; touch-action: pan-y; }
/* Feature Lotties are centred on the artwork (their content is centred within each composition); script.js removes
   Lottie's own clip, so anything animating outside the composition stays visible until the artwork's border clips it */
.card-anim { width: 108%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); mix-blend-mode: screen; pointer-events: none; }
.card-anim svg { overflow: visible; }

/* Use case loops: one 560x420 stage per step, fitted to the panel and scaled by script.js */
.uc-anim { width: min(100cqw, 100cqh * 560 / 420); aspect-ratio: 560 / 420; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-family: 'Zalando Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; color: #17202b; pointer-events: none; }
.uc-anim * { box-sizing: border-box; }
.uc-anim .uc-stage { position: absolute; left: 0; top: 0; width: 560px; height: 420px; transform-origin: 0 0; }
.uc-anim .fb { -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); }
.uc-anim .roll { overflow: hidden; }
.uc-anim .roll > div > div { white-space: nowrap; }

/* 1. Supplier changes */
#uc-supplier .head { position: absolute; left: 60px; top: 176px; width: 440px; height: 68px; padding: 0 14px 0 16px; border-radius: 16px; background: rgba(226,232,240,0.9); display: flex; align-items: center; gap: 14px; z-index: 2; }
#uc-supplier .udot { width: 34px; height: 34px; border-radius: 17px; background: #3b82f6; flex-shrink: 0; }
#uc-supplier .tt { flex-grow: 1; min-width: 0; }
#uc-supplier .t1 { height: 20px; font-size: 15px; line-height: 20px; font-weight: 500; }
#uc-supplier .t2 { height: 18px; margin-top: 2px; font-size: 13px; line-height: 18px; color: #4b5563; }
#uc-supplier .stag { align-self: flex-start; margin-top: 12px; height: 20px; border-radius: 8px; background: rgba(15,23,32,0.08); overflow: hidden; }
#uc-supplier .stag > div { display: flex; flex-direction: column; align-items: flex-start; }
#uc-supplier .stag > div > div { height: 20px; line-height: 20px; padding: 0 9px; font-size: 11px; font-weight: 500; white-space: nowrap; }
#uc-supplier .box { position: absolute; left: 60px; top: 166px; width: 440px; height: 0; overflow: hidden; border-radius: 16px; background: rgba(255,255,255,0.16); z-index: 1; }
#uc-supplier .box-in { padding: 14px 20px 8px; }
#uc-supplier .bl { font-size: 12px; font-weight: 500; color: #b9c5d4; margin-bottom: 4px; }
#uc-supplier .r { position: relative; display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 10px; margin: 0 -10px; border-radius: 10px; }
#uc-supplier .r + .r::before { content: ''; position: absolute; left: 10px; right: 10px; top: 0; height: 1px; background: rgba(255,255,255,0.1); }
#uc-supplier .r.c { height: 46px; }
#uc-supplier .r.c::before { display: none; }
#uc-supplier .k { width: 62px; font-size: 13px; font-weight: 500; color: #f1f5f9; flex-shrink: 0; }
#uc-supplier .v { flex-grow: 1; height: 18px; font-size: 13px; line-height: 18px; color: #d5deea; }
#uc-supplier .v > div > div { height: 18px; }
#uc-supplier .x { height: 22px; }
#uc-supplier .x > div > div { height: 22px; display: flex; align-items: center; justify-content: flex-end; gap: 6px; font-size: 12px; color: #b9c5d4; }
#uc-supplier .sk { width: 70px; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.2); }
#uc-supplier .ok { width: 7px; height: 7px; border-radius: 4px; background: #34c06e; }
#uc-supplier .amber { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 7px; background: #fdecc8; color: #7a4a00; }
#uc-supplier .old { text-decoration: line-through; color: #8a1c1c; }
#uc-supplier .new { font-weight: 600; color: #14532d; }

/* 2. Engineering changes */
#uc-changes .ev { position: absolute; overflow: hidden; }
#uc-changes .full { position: absolute; left: 0; right: 0; top: 0; height: 68px; padding: 0 14px 0 16px; display: flex; align-items: center; gap: 14px; }
#uc-changes .udot { width: 34px; height: 34px; border-radius: 17px; flex-shrink: 0; }
#uc-changes .tt { flex-grow: 1; min-width: 0; }
#uc-changes .t1 { font-size: 15px; font-weight: 500; white-space: nowrap; }
#uc-changes .t2 { font-size: 13px; color: #4b5563; margin-top: 2px; white-space: nowrap; }
#uc-changes .tag { align-self: flex-start; margin-top: 12px; font-size: 11px; font-weight: 500; padding: 3px 9px; border-radius: 8px; background: rgba(15,23,32,0.08); color: #3b4552; }
#uc-changes .mini { position: absolute; left: 0; right: 0; bottom: 0; height: 36px; padding: 0 14px 10px; display: flex; align-items: flex-end; gap: 10px; transform: translateY(40px); }
#uc-changes .mdot { width: 18px; height: 18px; border-radius: 9px; flex-shrink: 0; }
#uc-changes .mt { font-size: 13px; color: #d5deea; white-space: nowrap; }

/* 3. Test coverage */
#uc-verification .top { position: absolute; left: 60px; top: 132px; width: 440px; height: 68px; padding: 0 14px 0 16px; border-radius: 16px; background: rgba(226,232,240,0.88); display: flex; align-items: center; gap: 14px; }
#uc-verification .udot { width: 34px; height: 34px; border-radius: 17px; background: #3b82f6; flex-shrink: 0; }
#uc-verification .tt { flex-grow: 1; min-width: 0; }
#uc-verification .t1 { font-size: 15px; font-weight: 500; }
#uc-verification .t2 { height: 18px; margin-top: 2px; font-size: 13px; line-height: 18px; color: #4b5563; }
#uc-verification .cnt { align-self: flex-start; margin-top: 12px; height: 20px; font-size: 11px; line-height: 20px; font-weight: 500; padding: 0 9px; border-radius: 8px; background: rgba(15,23,32,0.08); color: #3b4552; }
#uc-verification .uchecks { position: absolute; left: 60px; top: 212px; width: 440px; padding: 18px 18px 16px; border-radius: 16px; background: rgba(255,255,255,0.16); display: flex; gap: 10px; }
#uc-verification .seg { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
#uc-verification .track { position: relative; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.22); overflow: hidden; }
#uc-verification .fill { position: absolute; inset: 0; border-radius: 3px; transform: scaleX(0); transform-origin: left center; }
#uc-verification .sl { height: 16px; font-size: 12px; line-height: 16px; color: #b9c5d4; }

/* 4. Audit preparation */
#uc-audit .head { position: absolute; left: 60px; top: 26px; width: 440px; height: 68px; padding: 0 14px 0 16px; border-radius: 16px; background: rgba(226,232,240,0.9); display: flex; align-items: center; gap: 14px; z-index: 2; transform: translateY(150px); }
#uc-audit .udot { width: 34px; height: 34px; border-radius: 17px; background: #3b82f6; flex-shrink: 0; }
#uc-audit .tt { flex-grow: 1; min-width: 0; }
#uc-audit .t1 { font-size: 15px; line-height: 20px; font-weight: 500; }
#uc-audit .t2 { height: 18px; margin-top: 2px; font-size: 13px; line-height: 18px; color: #4b5563; }
#uc-audit .stag { align-self: flex-start; margin-top: 12px; height: 20px; border-radius: 8px; background: rgba(15,23,32,0.08); overflow: hidden; }
#uc-audit .stag > div { display: flex; flex-direction: column; align-items: flex-start; }
#uc-audit .stag > div > div { height: 20px; line-height: 20px; padding: 0 9px; font-size: 11px; font-weight: 500; white-space: nowrap; }
#uc-audit .trail { position: absolute; left: 60px; top: 106px; width: 440px; height: 0; overflow: hidden; border-radius: 16px; background: rgba(255,255,255,0.16); z-index: 1; }
#uc-audit .trail-in { padding: 10px 20px; }
#uc-audit .link { position: relative; display: flex; gap: 14px; padding: 8px 0; }
#uc-audit .rail { position: relative; width: 10px; flex-shrink: 0; }
#uc-audit .ln { position: absolute; left: 4px; top: 22px; bottom: -14px; width: 1.5px; background: rgba(255,255,255,0.22); transform: scaleY(0); transform-origin: top center; }
#uc-audit .nd { position: absolute; left: 0; top: 6px; width: 10px; height: 10px; border-radius: 5px; background: #5b9bff; }
#uc-audit .lk { font-size: 10px; font-weight: 600; letter-spacing: 0.05em; color: #8fa3bb; }
#uc-audit .lt { font-size: 13px; font-weight: 500; color: #f1f5f9; margin-top: 2px; }
#uc-audit .readyw { position: absolute; left: 60px; top: 346px; width: 440px; height: 56px; overflow: hidden; border-radius: 14px; z-index: 1; }
#uc-audit .ready { height: 56px; padding: 0 10px 0 16px; border-radius: 14px; background: rgba(226,232,240,0.9); display: flex; align-items: center; gap: 12px; transform: translateY(60px); }
#uc-audit .rt { flex-grow: 1; }
#uc-audit .rt b { display: block; font-size: 14px; font-weight: 600; }
#uc-audit .rt span { font-size: 12px; color: #4b5563; }
#uc-audit .exp { font-size: 13px; font-weight: 600; padding: 9px 14px; border-radius: 10px; background: #17202b; color: #ffffff; }

/* Impact bento */
.impact .title + .lead { max-width: 350px; }
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto 95px 112px; gap: 8px; margin-top: 64px; }
.tile { position: relative; padding: 64px; border-radius: var(--radius); background: var(--surface); }
.stat-num { display: flex; align-items: baseline; gap: 14px; font-size: 104px; font-weight: 500; line-height: 1; letter-spacing: -.03em; }
.stat-num span { color: var(--blue); font-size: 44px; font-weight: 400; }
.tile h3 { margin-top: 32px; font-size: 26px; font-weight: 500; letter-spacing: -.025em; }
.tile-dark { grid-column: 1; grid-row: 1 / 3; color: #fff; background: #080c0d; }
.count { font-weight: inherit; font-variant-numeric: tabular-nums; }
/* 25 x 4 grid built by script.js; until then the background draws the same pattern */
/* Fixed 8px dots on whole pixels so every dot renders the same size; columns spread across the 306px row */
.dots { max-width: 306px; display: grid; grid-template-columns: repeat(25, 8px); justify-content: space-between; row-gap: 4px; margin-top: 26px; }
.dots:empty { height: 44px; background: radial-gradient(circle, var(--blue) 3.4px, transparent 3.8px) 0 0 / 12.24px 12.24px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #262b38; transition: background-color .25s; transition-delay: calc(var(--i) * 12ms); }
.dot.on { background: var(--blue); }
/* Scroll reveal: script.js adds .will-animate, then .in-view once the bento is on screen */
.bento.will-animate:not(.in-view) .dot.on { background: #262b38; }
.bento.will-animate:not(.in-view) .bar i { width: 0; }
.tile-dark p { max-width: 330px; margin-top: 36px; color: rgba(255,255,255,.82); line-height: 1.5; }
.tile-42 { grid-column: 2; grid-row: 1; }
.tile-speed { grid-column: 3; grid-row: 1 / 4; }
.bars { margin-top: 36px; }
.bar-label { display: flex; justify-content: space-between; margin-bottom: 8px; color: #2b3437; font-size: 14px; }
.bar { height: 16px; margin-bottom: 20px; overflow: hidden; border-radius: 16px; background: #e0e1e5; }
.bar:last-child { margin-bottom: 0; }
.bar i { display: block; height: 100%; border-radius: 16px; }
.bar .red { width: 47%; background: #ef4040; }
.bar .blue { width: 100%; background: var(--blue); }
.tile-speed p { max-width: 310px; margin-top: 24px; color: #2b3437; line-height: 1.5; }
/* Blue tile is an L: the row-3 bar plus a ::before tab that rises into column 2, row 2 */
/* The tab shares the bar's right edge so the bar's top-right corner is covered; ::after is the rounded inner corner where they meet */
.tile-blue { --tile-bg: var(--blue); grid-column: 1 / 3; grid-row: 3; display: flex; align-items: center; justify-content: space-between; color: #fff; background: var(--tile-bg); font-size: 40px; font-weight: 500; letter-spacing: -.02em; }
.tile-blue::before { content: ''; position: absolute; left: calc(50% + 4px); right: 0; bottom: 50%; height: calc(95px + 8px + 56px); border-radius: var(--radius) var(--radius) 0 0; background: var(--tile-bg); }
/* Inner corner where the tab meets the bar: radius = neighbouring tile radius + gap, so it follows that tile's corner at an even 8px */
.tile-blue::after { --fillet: calc(var(--radius) + 8px); content: ''; position: absolute; left: calc(50% + 4px - var(--fillet)); bottom: 100%; width: var(--fillet); height: var(--fillet); background: radial-gradient(circle at 0 0, transparent calc(var(--fillet) - .5px), var(--tile-bg) var(--fillet)); }
.bento .tile-blue { padding: 24px; }
.tile-blue > * { position: relative; }
.tile-blue:hover { --tile-bg: var(--blue-dark); }
.tile-arrow { width: 64px; height: 64px; position: relative; overflow: hidden; border-radius: 14px; color: var(--blue); background: #fff; }
/* Same hover as the button arrow: the arrow slides out to the right and a second one slides in from the left */
.tile-arrow > span { position: absolute; inset: 0; display: grid; place-items: center; transition: transform .4s cubic-bezier(.65, 0, .25, 1); }
.tile-arrow > span + span { transform: translateX(-100%); }
.tile-blue:is(:hover, :focus-visible) .tile-arrow > span:first-child { transform: translateX(100%); }
.tile-blue:is(:hover, :focus-visible) .tile-arrow > span + span { transform: translateX(0); transition-delay: .06s; }

/* Use cases / steps */
.usecase-panel { display: grid; grid-template-columns: 450px minmax(0, 1fr); gap: 48px; margin-top: 48px; padding: 32px; }
.usecase-list { display: flex; flex-direction: column; gap: 8px; }
.usecase-tab { display: grid; grid-template-columns: 32px 1fr; align-items: center; column-gap: 10px; padding: 12px 24px; border: 0; border-radius: 20px; color: #5d6466; background: none; text-align: left; cursor: pointer; transition: background .2s; }
.usecase-tab:hover { color: var(--ink); }
.step-num { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); background: #dee3e7; }
.step-title { font-size: 17px; }
.usecase-tab small { display: none; grid-column: 2; max-width: 330px; margin-top: 12px; color: #3e4547; font-size: 14px; line-height: 1.5; }
.usecase-tab[aria-selected="true"] { padding: 24px 24px 28px; color: var(--ink); background: #fff; box-shadow: 0 0 0 1px rgba(8,12,13,.04); }
.usecase-tab[aria-selected="true"] .step-num { color: #fff; background: var(--blue); }
.usecase-tab[aria-selected="true"] .step-title { font-size: 24px; font-weight: 500; letter-spacing: -.01em; }
.usecase-tab[aria-selected="true"] small { display: block; }
.usecase-content { position: relative; aspect-ratio: 750 / 506; overflow: hidden; border-radius: 16px; background: #15242c; container-type: size; }
.usecase-content > img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
/* Ring Echo WebGL background over the artwork; the <img> above stays as the fallback. pan-y keeps page scrolling on touch */
.usecase-content > .usecase-fx { width: 100%; height: 100%; position: absolute; inset: 0; display: block; touch-action: pan-y; cursor: crosshair; }
/* Only the loop for the selected step is shown (data-case on the panel matches data-case on the loop) */
.usecase-content[data-case="supplier"] .usecase-anim:not([data-case="supplier"]),
.usecase-content[data-case="engineering"] .usecase-anim:not([data-case="engineering"]),
.usecase-content[data-case="verification"] .usecase-anim:not([data-case="verification"]),
.usecase-content[data-case="audit"] .usecase-anim:not([data-case="audit"]) { display: none; }

/* Testimonial */
/* Title row with the prev/next arrows on the right */
.testimonial-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.quote-nav { display: flex; gap: 12px; }
.quote-arrow { width: 56px; height: 56px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; color: var(--ink); background: var(--surface); cursor: pointer; transition: color .2s, background .2s; }
.quote-arrow:is(:hover, :focus-visible) { color: #fff; background: var(--blue); }
/* Slides: native horizontal scroll with snapping, so touch and trackpad swipes work; script.js adds the arrows and mouse drag */
.quote-track { position: relative; display: flex; gap: 16px; margin-top: 52px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; cursor: grab; }
.quote-track::-webkit-scrollbar { display: none; }
.quote-track.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.quote-track img { -webkit-user-drag: none; }
.quote-panel { flex: 0 0 100%; display: grid; grid-template-columns: 457px minmax(0, 1fr); gap: 56px; padding: 32px 64px 32px 32px; scroll-snap-align: start; }
.person-media { position: relative; }
.person-photo { width: 100%; aspect-ratio: 457 / 506; display: block; object-fit: cover; object-position: center 20%; border-radius: 16px; }
.quote-body { display: flex; flex-direction: column; padding-top: 32px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
blockquote { margin-top: auto; padding-bottom: 32px; border-bottom: 1px solid var(--line); font-size: 32px; font-weight: 500; line-height: 1.15; letter-spacing: -.03em; }
.person-row { display: flex; justify-content: space-between; align-items: flex-start; padding: 34px 0 10px; }
.person-info { display: grid; gap: 8px; }
.person-info b { font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
.person-info span { color: var(--muted); }
.company { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }

/* Confidence principles */
.confidence .lead { color: var(--ink); }
.principle { padding: 32px; border-radius: var(--radius); background: var(--surface); }
.principle-icon { width: 96px; height: 96px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 20px; background: var(--chip); }
.principle-icon img { width: 96px; height: 96px; }
.principle h3 { margin-bottom: 16px; font-size: 28px; font-weight: 500; letter-spacing: -.015em; }
.principle p { max-width: 340px; color: var(--body); }

/* FAQ */
.faq-list { width: min(784px, 100%); display: grid; gap: 8px; margin: 48px auto 0; }
.faq details { border-radius: var(--radius); background: var(--surface); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 32px; font-size: 28px; font-weight: 500; letter-spacing: -.015em; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 32px; height: 32px; flex: none; border-radius: 50%; background: #dfe8eb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none' stroke='%230a0b0d' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='M3 10h14M10 3v14'/%3E%3C/svg%3E") center no-repeat; }
.faq details[open] summary { padding-bottom: 12px; }
.faq details[open] summary::after { background: #0a0b0d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='M4 10h12'/%3E%3C/svg%3E") center no-repeat; }
.faq details p { padding: 0 32px 32px; color: var(--body); line-height: 1.5; }

/* Closing call to action */
.cta-box { width: min(1312px, calc(100% - 2 * var(--gutter))); min-height: 581px; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; margin: 0 auto; border-radius: var(--radius); color: #fff; background: #0d1520; }
.cta-bg { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center 40%; }
/* Ring Echo canvas sits over the fallback image; the copy lets pointer events through so the whole card reacts to hover */
.cta-fx { width: 100%; height: 100%; position: absolute; inset: 0; display: block; touch-action: pan-y; }
.cta-content { width: min(560px, calc(100% - 40px)); position: relative; pointer-events: none; display: flex; flex-direction: column; align-items: center; padding: 64px 0; text-align: center; }
.cta-content .title { --title-gradient: none; color: #fff; background: none; }
.cta-content .title .title-line { color: #fff; }
.cta-content .btn { pointer-events: auto; }
.cta-content .lead { max-width: 396px; margin-bottom: 24px; color: rgba(255,255,255,.75); }

/* Footer */
.site-footer { position: relative; overflow: hidden; padding-bottom: 56px; font-family: 'Zalando Sans', system-ui, sans-serif; }
.site-footer .wordmark { font-family: inherit; }
/* Footer: brand + three link columns, a legal row, then the TRACE text echo sitting straight on the page */
.footer-main { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, 260px); gap: 40px 0; padding: 56px 0 100px; border-top: 1px solid var(--line); }
.footer-brand .wordmark { gap: 8px; font-size: 22px; }
.footer-brand .logo-mark { width: 22px; height: 22px; }
.footer-brand p { margin: 8px 0 14px; color: #3e4d52; font-size: 15px; }
.footer-label { display: block; color: #6b6150; font-size: 11px; font-weight: 500; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; }
.footer-social { width: 38px; height: 38px; display: grid; place-items: center; margin-top: 12px; border: 1px solid rgba(8,12,13,.18); border-radius: 50%; font-size: 14px; font-weight: 600; transition: color .2s, border-color .2s; }
.footer-social:hover { color: var(--blue); border-color: var(--blue); }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 16px; line-height: 20px; }
.footer-col .footer-label { margin-bottom: 8px; }
.footer-col a, .footer-bottom a { transition: color .2s; }
.footer-col a:hover, .footer-bottom a:hover { color: var(--blue); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 44px; padding-top: 24px; border-top: 1px solid var(--line); color: #3e4d52; font-size: 11px; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; }
/* The 16:9 echo canvas spans the box and is centred vertically in it; the canvas background matches the page, so the
   box has no visible edge and the word sits in the middle (it drifts back there when the pointer leaves) */
.footer-art-wrap { width: min(1312px, calc(100% - 2 * var(--gutter))); aspect-ratio: 1 / .3167; position: relative; margin: 32px auto 0; overflow: hidden; }
.footer-art { width: 100%; position: absolute; top: 0; left: 0; margin-top: -12.29%; }

/* Tablet */
@media (max-width: 1240px) {
  :root { --gutter: 32px; }
  .footer-main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .feature-panel { grid-template-columns: 1fr 1.2fr; }
  .usecase-panel { grid-template-columns: 380px minmax(0, 1fr); gap: 32px; }
  .quote-panel { grid-template-columns: 38% minmax(0, 1fr); gap: 40px; padding-right: 40px; }
  .tile { padding: 40px; }
  .stat-num { font-size: 84px; }
  .tile-blue { font-size: 32px; }
}

@media (max-width: 1000px) {
  .hero { --stage-h: clamp(220px, calc(100svh - 480px), 470px); }
  .hero-animation { --hw: min(1100px, var(--stage-h) * 1100 / 470); }
  .hero-stage { clip-path: inset(-100px 0 0 0); }
  .feature-panel, .usecase-panel, .quote-panel { grid-template-columns: 1fr; }
  .feature-copy .btn { margin-top: 32px; }
  .checks { margin-top: 32px; padding-top: 32px; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .tile-dark, .tile-42, .tile-speed, .tile-blue { grid-column: auto; grid-row: auto; }
  .tile-blue { grid-column: 1 / -1; min-height: 140px; }
  .tile-blue::before, .tile-blue::after { display: none; }
  .grid { grid-template-columns: 1fr; }
  .person-photo { max-height: 420px; }
}

/* Mobile */
@media (max-width: 640px) {
  :root { --gutter: 16px; --section: 128px; }
  html { scroll-padding-top: 90px; }
  .desktop-break { display: none; }
  .site-header { padding-top: 12px; }
  .nav { height: 60px; padding: 0 10px 0 20px; }
  .nav > .btn-sm { display: none; }
  .menu-toggle { width: 40px; height: 40px; display: grid; align-content: center; justify-items: center; gap: 5px; border: 0; border-radius: 50%; background: var(--bg); }
  .menu-toggle span { width: 14px; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .primary-nav { position: absolute; display: none; top: 68px; right: 0; left: 0; gap: 0; transform: none; padding: 8px 20px; border-radius: 20px; background: var(--surface); box-shadow: 0 14px 24px rgba(16,35,66,.1); }
  .menu-toggle[aria-expanded="true"] + .primary-nav { display: grid; }
  .primary-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .primary-nav a:last-child { border: 0; }

  .hero { margin-top: -72px; padding-top: 96px; }
  .hero { --stage-h: clamp(150px, calc(100svh - 520px), 380px); }
  .hero-animation { --hw: min(860px, var(--stage-h) * 860 / 380); }
  .hero-fade { top: calc(var(--stage-h) - 130px); height: 240px; }
  .badge { font-size: 12px; }

  .trusted { padding-top: 72px; }
  .logo { width: 160px; font-size: 16px; }
  .segmented { width: 100%; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .seg-tab { flex: none; height: 40px; font-size: 14px; }
  .feature-panel, .usecase-panel, .quote-panel { padding: 16px; }
  .feature-copy { padding: 8px; }
  .feature-copy h3 { font-size: 22px; }
  .bento { grid-template-columns: 1fr; }
  .tile { padding: 28px; }
  .stat-num { font-size: 72px; }
  .stat-num span { font-size: 32px; }
  .tile h3 { margin-top: 20px; font-size: 22px; }
  .tile-blue { font-size: 24px; }
  .tile-arrow { width: 52px; height: 52px; }
  .usecase-tab { padding: 10px 12px; }
  .usecase-tab[aria-selected="true"] { padding: 18px 16px; }
  .usecase-tab[aria-selected="true"] .step-title { font-size: 20px; }
  .quote-body { padding-top: 8px; }
  .quote-arrow { width: 48px; height: 48px; }
  blockquote { margin-top: 40px; font-size: 24px; }
  .principle h3, .faq summary { font-size: 20px; }
  .faq summary { padding: 22px; }
  .faq details p { padding: 0 22px 22px; }
  .cta-box { min-height: 480px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px 16px; padding: 40px 0 56px; }
  .footer-bottom { gap: 12px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .logo-list { animation: none; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
