/*
 * ITS Customs Brokers — modern design system.
 * Brand colours are unchanged (navy #194560, orange #f38b00); everything else is new.
 */
:root {
    --navy-950: #071520;
    --navy-900: #0b1f2e;
    --navy-800: #10304a;
    --navy: #194560;
    --navy-600: #2a5d7c;
    --navy-100: #dde8f0;
    --navy-50: #eef4f8;
    --orange: #f38b00;
    --orange-600: #d97a00;
    --orange-700: #b36400;
    --orange-50: #fff4e5;
    --ink: #0f1d2a;
    --body: #3d4b58;
    --muted: #6b7785;
    --line: #e3e8ee;
    --surface: #f6f8fb;
    --white: #ffffff;
    --ok: #16794a;
    --ok-50: #e8f6ef;
    --warn-50: #fff4e5;
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(15, 29, 42, .06), 0 1px 3px rgba(15, 29, 42, .06);
    --shadow: 0 10px 30px -12px rgba(15, 29, 42, .18), 0 2px 6px rgba(15, 29, 42, .05);
    --shadow-lg: 0 30px 60px -20px rgba(11, 31, 46, .35);
    --max: 1200px;
    --header-h: 76px;
    --font-head: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
    --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--body); background: var(--white); -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--orange-700); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy); }
p { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-left: 1.2em; }
address { font-style: normal; }
code { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .9em; background: var(--surface); border: 1px solid var(--line); padding: .1em .4em; border-radius: 6px; color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; font-weight: 700; line-height: 1.3; }
h4 { font-size: 1.05rem; font-weight: 700; line-height: 1.35; letter-spacing: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--orange); color: var(--white); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 800px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; color: #fff; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-600); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--orange); }
.lead { font-size: 1.2rem; line-height: 1.6; color: var(--body); }
.muted { color: var(--muted); }
.icon { flex: none; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px;
    border-radius: 999px; border: 2px solid transparent; font-family: var(--font-head); font-weight: 700; font-size: 1rem;
    line-height: 1; cursor: pointer; text-decoration: none; white-space: nowrap;
    transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon--arrow-right { transform: translateX(3px); }
.btn--primary { background: var(--orange); color: var(--navy-950); box-shadow: 0 8px 20px -8px rgba(243, 139, 0, .7); }
.btn--primary:hover { background: #ff9d1f; color: var(--navy-950); transform: translateY(-1px); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-800); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy-100); }
.btn--outline:hover { border-color: var(--navy); color: var(--navy); background: var(--navy-50); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--orange-600); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.utility { background: var(--navy-950); color: rgba(255, 255, 255, .72); font-size: .85rem; }
.utility__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; }
.utility a { color: #fff; display: inline-flex; align-items: center; gap: 6px; }
.utility a:hover { color: var(--orange); }
.utility__left, .utility__right { display: flex; align-items: center; gap: 22px; }
.utility__badge { display: inline-flex; align-items: center; gap: 8px; }
.utility__dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .5); } 70% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
@media (prefers-reduced-motion: reduce) { .utility__dot { animation: none; } }

.header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -16px rgba(15, 29, 42, .25); }
.header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.header__logo img { width: 112px; height: auto; }
.nav { margin-left: auto; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav li { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: .98rem; color: var(--ink); transition: background .2s, color .2s; }
.nav__link:hover, .nav li:hover > .nav__link { background: var(--navy-50); color: var(--navy); }
.nav__link.active { color: var(--navy); background: var(--navy-50); }
.nav__link .icon { transition: transform .2s; }
.nav li:hover > .nav__link .icon--chevron-down { transform: rotate(180deg); }
.dropdown {
    position: absolute; top: calc(100% + 10px); left: 50%; width: 330px; padding: 10px; list-style: none; margin: 0;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav li:hover > .dropdown, .nav li:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 10px; color: var(--ink); }
.dropdown a:hover { background: var(--surface); color: var(--ink); }
.dropdown__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--navy-50); color: var(--navy); flex: none; }
.dropdown strong { display: block; font-family: var(--font-head); font-size: .95rem; }
.dropdown span { display: block; font-size: .85rem; color: var(--muted); line-height: 1.4; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.header__track { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; color: var(--navy); padding: 10px 12px; border-radius: 999px; }
.header__track:hover { background: var(--navy-50); color: var(--navy); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.mobile-nav { display: none; }

@media (max-width: 1080px) {
    .nav, .header__track { display: none; }
    .menu-btn { display: inline-flex; margin-left: auto; }
    .header__actions .btn { display: none; }
    .mobile-nav { display: block; position: fixed; inset: calc(var(--header-h) + 40px) 0 0 0; z-index: 90; background: #fff; padding: 20px 24px 40px; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
    .mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
    .mobile-nav ul { list-style: none; margin: 0 0 24px; padding: 0; }
    .mobile-nav li a { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line); font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
    .mobile-nav li.sub a { padding-left: 20px; font-size: 1rem; font-weight: 600; color: var(--body); }
    .mobile-nav .btn { width: 100%; margin-bottom: 10px; }
    body.nav-open { overflow: hidden; }
}
@media (max-width: 640px) {
    .utility__left .hide-sm { display: none; }
    .utility__right { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--navy-950); overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
    radial-gradient(1200px 500px at 85% 110%, rgba(243, 139, 0, .22), transparent 60%),
    linear-gradient(100deg, rgba(7, 21, 32, .94) 0%, rgba(11, 31, 46, .82) 42%, rgba(16, 48, 74, .35) 75%, rgba(16, 48, 74, .2) 100%); }
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; min-height: 640px; padding: 96px 0 110px; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero__lead { font-size: 1.2rem; color: rgba(255, 255, 255, .82); max-width: 620px; margin-bottom: 32px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 26px; color: rgba(255, 255, 255, .75); font-size: .95rem; list-style: none; padding: 0; margin: 0; }
.hero__proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof .icon { color: var(--orange); }
@media (max-width: 960px) { .hero__inner { grid-template-columns: 1fr; min-height: 0; padding: 72px 0 80px; gap: 40px; } }

/* Tracker card (hero + tracker page) */
.track-card { background: rgba(255, 255, 255, .97); color: var(--body); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .6); }
.track-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.track-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--orange-50); color: var(--orange-600); }
.track-card h2 { font-size: 1.35rem; margin: 0; }
.track-card p { margin: 2px 0 0; font-size: .92rem; color: var(--muted); }
.track-field { position: relative; margin-bottom: 12px; }
.track-field .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.track-field input { width: 100%; height: 56px; padding: 0 16px 0 48px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); font: inherit; font-size: 1.05rem; color: var(--ink); letter-spacing: .04em; text-transform: uppercase; transition: border-color .2s, background .2s, box-shadow .2s; }
.track-field input::placeholder { text-transform: none; letter-spacing: 0; color: #9aa5b1; }
.track-field input:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(25, 69, 96, .12); }
.track-card__foot { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .85rem; color: var(--muted); }
.track-card__foot .icon { color: var(--ok); }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section--tight { padding: 72px 0; }
.section--surface { background: var(--surface); }
.section--dark { background: var(--navy-900); color: rgba(255, 255, 255, .78); position: relative; overflow: hidden; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark .lead { color: rgba(255, 255, 255, .8); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.15rem; }
@media (max-width: 760px) { .section { padding: 72px 0; } .section-head { margin-bottom: 40px; } }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split--wide-left { grid-template-columns: 1.2fr .8fr; }
@media (max-width: 960px) { .split, .split--wide-left { grid-template-columns: 1fr; gap: 40px; } }

/* Stats */
.stats { position: relative; z-index: 2; margin-top: -64px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.stat { padding: 30px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__value { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 3.4vw, 2.8rem); color: var(--navy); letter-spacing: -.03em; line-height: 1; margin-bottom: 8px; }
.stat__value sup { font-size: .5em; top: -.9em; }
.stat__value span { color: var(--orange); }
.stat__label { font-size: .95rem; color: var(--muted); line-height: 1.4; }
@media (max-width: 860px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.stats--inline { margin-top: 0; }

/* Cards */
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; color: var(--body); }
a.card:hover, .card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--body); }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--navy-50); color: var(--navy); margin-bottom: 22px; transition: background .25s, color .25s; }
a.card:hover .card__icon, .card--hover:hover .card__icon { background: var(--orange); color: #fff; }
.card__more { margin-top: auto; padding-top: 18px; }
.card--dark { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .75); }
.card--dark .card__icon { background: rgba(243, 139, 0, .14); color: var(--orange); }
.card--dark:hover { background: rgba(255, 255, 255, .07); }

/* Check list */
.checks { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .icon { color: var(--ok); margin-top: 3px; }
.section--dark .checks .icon { color: var(--orange); }
.checks--cols { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .checks--cols { grid-template-columns: 1fr; } }

/* Media frame */
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-badge { position: absolute; left: 20px; bottom: 20px; display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow); color: var(--ink); font-size: .9rem; }
.media-badge strong { display: block; font-family: var(--font-head); font-size: 1.05rem; }
.media-badge .icon { color: var(--orange-600); }

/* Product (Xport) panel */
.product { position: relative; background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); border-radius: var(--radius-lg); padding: 40px; color: rgba(255, 255, 255, .8); border: 1px solid rgba(255, 255, 255, .08); box-shadow: var(--shadow-lg); overflow: hidden; }
.product::after { content: ""; position: absolute; width: 380px; height: 380px; right: -140px; top: -160px; background: radial-gradient(circle, rgba(243, 139, 0, .35), transparent 65%); }
.product__window { position: relative; z-index: 1; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: 18px; }
.product__bar { display: flex; gap: 6px; margin-bottom: 16px; }
.product__bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.product__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, .05); margin-bottom: 8px; font-size: .92rem; color: #fff; }
.product__row small { display: block; color: rgba(255, 255, 255, .55); font-size: .78rem; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; font-family: var(--font-head); letter-spacing: .02em; white-space: nowrap; }
.pill--ok { background: rgba(61, 220, 132, .15); color: #6ee7a8; }
.pill--wait { background: rgba(243, 139, 0, .18); color: #ffb34d; }
.pill--info { background: rgba(120, 180, 230, .16); color: #9fd0f5; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; padding: 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--orange); margin-bottom: 18px; letter-spacing: -.04em; }
.section--dark .step { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Industries tiles */
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 360px; border-radius: var(--radius); overflow: hidden; color: #fff; isolation: isolate; padding: 26px; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 21, 32, 0) 25%, rgba(7, 21, 32, .9) 100%); }
.tile:hover img { transform: scale(1.06); }
.tile h3 { color: #fff; margin-bottom: 6px; }
.tile p { margin: 0; font-size: .95rem; color: rgba(255, 255, 255, .82); }
.tile:hover { color: #fff; }

/* Logos */
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 56px; list-style: none; padding: 0; margin: 0; }
.logos img { max-height: 64px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .25s, opacity .25s; mix-blend-mode: multiply; }
.logos a:hover img { filter: none; opacity: 1; }

/* CTA band */
.cta { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--navy) 0%, var(--navy-800) 55%, var(--navy-950) 100%); padding: 64px; color: rgba(255, 255, 255, .82); display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; }
.cta::after { content: ""; position: absolute; right: -120px; bottom: -200px; width: 460px; height: 460px; background: radial-gradient(circle, rgba(243, 139, 0, .4), transparent 65%); }
.cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 10px; }
.cta p { margin: 0; font-size: 1.1rem; }
.cta__actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; padding: 40px 28px; } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; isolation: isolate; background: var(--navy-900); color: rgba(255, 255, 255, .82); padding: 72px 0 84px; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
    radial-gradient(900px 400px at 100% 0%, rgba(243, 139, 0, .18), transparent 60%),
    linear-gradient(90deg, rgba(7, 21, 32, .96) 0%, rgba(11, 31, 46, .88) 55%, rgba(11, 31, 46, .6) 100%); }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.5rem); max-width: 860px; }
.page-hero .lead { color: rgba(255, 255, 255, .82); max-width: 720px; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; padding: 0; margin: 0 0 26px; font-size: .88rem; color: rgba(255, 255, 255, .6); }
.crumbs a { color: rgba(255, 255, 255, .8); }
.crumbs a:hover { color: var(--orange); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: rgba(255, 255, 255, .35); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- Prose ---------- */
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.6em; }
.prose > :first-child { margin-top: 0; }
.prose ul li { margin-bottom: .4em; }
.prose a { text-decoration: underline; text-decoration-color: rgba(179, 100, 0, .35); text-underline-offset: 3px; }

.aside-card { position: sticky; top: calc(var(--header-h) + 24px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.aside-card h3 { font-size: 1.15rem; }
.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
@media (max-width: 960px) { .layout-aside { grid-template-columns: 1fr; gap: 40px; } .aside-card { position: static; } }

/* Feature rows (industries, services detail) */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature-row + .feature-row { margin-top: 96px; }
.feature-row:nth-child(even) .feature-row__media { order: 2; }
.feature-row__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 10; }
.feature-row__media img { width: 100%; height: 100%; object-fit: cover; }
.metric { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; padding: 10px 16px; background: var(--orange-50); color: var(--orange-700); border-radius: 12px; font-weight: 600; font-size: .95rem; }
@media (max-width: 860px) { .feature-row { grid-template-columns: 1fr; gap: 28px; } .feature-row:nth-child(even) .feature-row__media { order: 0; } .feature-row + .feature-row { margin-top: 64px; } }

/* Tabs */
.tabs { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 10px; box-shadow: var(--shadow-sm); }
.tabs > input { position: absolute; opacity: 0; pointer-events: none; }
.tabs__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: var(--surface); border-radius: 14px; padding: 6px; }
.tabs__list label { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: 10px; cursor: pointer; font-family: var(--font-head); font-weight: 700; color: var(--muted); transition: background .2s, color .2s, box-shadow .2s; }
.tabs__list label:hover { color: var(--ink); }
.tabs__panel { display: none; padding: 32px 26px 20px; }
#tab-1:checked ~ .tabs__list label[for=tab-1], #tab-2:checked ~ .tabs__list label[for=tab-2], #tab-3:checked ~ .tabs__list label[for=tab-3] { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
#tab-1:checked ~ .tabs__panel--1, #tab-2:checked ~ .tabs__panel--2, #tab-3:checked ~ .tabs__panel--3 { display: block; animation: fade-up .35s var(--ease); }
.tabs > input:focus-visible ~ .tabs__list { outline: 3px solid var(--orange); outline-offset: 2px; }
@media (max-width: 640px) { .tabs__list { grid-template-columns: 1fr; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* People */
.person { display: flex; gap: 18px; align-items: flex-start; }
.avatar { flex: none; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: linear-gradient(135deg, var(--navy), var(--navy-800)); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; letter-spacing: .02em; }
.badge--spacer { visibility: hidden; }
.person h3 { margin-bottom: 2px; font-size: 1.15rem; }
.person__role { font-size: .92rem; font-weight: 600; color: var(--orange-700); margin-bottom: 10px; }
.badge { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; padding: 3px 10px; border-radius: 999px; background: var(--navy-50); color: var(--navy); font-size: .76rem; font-weight: 700; font-family: var(--font-head); }

/* ---------- Tracker results ---------- */
.result { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.result__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 26px 30px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), #fff); }
.result__head h2 { font-size: 1.4rem; margin: 0; word-break: break-all; }
.result__kind { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.result__body { display: grid; grid-template-columns: 1.35fr 1fr; }
.result__section { padding: 28px 30px; }
.result__section + .result__section { border-left: 1px solid var(--line); }
.result__section h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.result dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.result dl > div { min-width: 0; }
.result dl > div.wide { grid-column: 1 / -1; }
.result dt { color: var(--muted); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 3px; }
.result dd { margin: 0; color: var(--ink); font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 22px 34px; }
.timeline li::before { content: ""; position: absolute; left: 9px; top: 22px; bottom: -2px; width: 2px; background: var(--line); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::before { display: none; }
.timeline__dot { position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ok); color: #fff; }
.timeline strong { display: block; color: var(--ink); font-family: var(--font-head); }
.timeline span { font-size: .92rem; color: var(--muted); }
.result__note { padding: 14px 30px; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); background: var(--surface); }
@media (max-width: 760px) { .result__body { grid-template-columns: 1fr; } .result__section + .result__section { border-left: 0; border-top: 1px solid var(--line); } .result dl { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- Notices ---------- */
.notice { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius); margin-bottom: 24px; border: 1px solid; }
.notice p:last-child { margin-bottom: 0; }
.notice h3 { font-size: 1.05rem; margin-bottom: 4px; }
.notice--ok { background: var(--ok-50); border-color: #bfe6d1; color: #0f5132; }
.notice--ok .icon { color: var(--ok); }
.notice--warn { background: var(--warn-50); border-color: #f6d4a3; color: #6b3d00; }
.notice--warn .icon { color: var(--orange-600); }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.6rem; }
.form-card--narrow { max-width: 480px; margin-inline: auto; text-align: center; }.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } .form-card { padding: 26px 20px; } }
.field { margin-bottom: 18px; }
.field > label, .chips legend { display: block; font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: 6px; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form input:not([type]), .form textarea {
    width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: 13px 14px; border: 1.5px solid var(--line); background: var(--surface); border-radius: 12px; transition: border-color .2s, background .2s, box-shadow .2s;
}
.form textarea { resize: vertical; min-height: 140px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(25, 69, 96, .12); }
.form input[type=file] { width: 100%; font: inherit; font-size: .95rem; padding: 16px; border: 1.5px dashed #c8d2dc; border-radius: 12px; background: var(--surface); cursor: pointer; }
.form input[type=file]::file-selector-button { font: inherit; font-weight: 600; margin-right: 14px; padding: 8px 14px; border: 0; border-radius: 999px; background: var(--navy); color: #fff; cursor: pointer; }
.chips { border: 0; padding: 0; margin: 0 0 22px; }
.chips__list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: .95rem; color: var(--body); cursor: pointer; transition: all .2s; }
.chip span::before { content: ""; width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid #b8c3ce; transition: all .2s; }
.chip input:checked + span { border-color: var(--navy); background: var(--navy-50); color: var(--navy); }
.chip input:checked + span::before { background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 12px no-repeat; border-color: var(--navy); }
.chip input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.form__hint { font-size: .85rem; color: var(--muted); margin: 6px 0 0; }
.req { color: var(--orange-600); }
.validation-message { color: #b42318; font-size: .88rem; margin-top: 6px; }
.invalid { border-color: #b42318 !important; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-bottom: 18px; display: flex; justify-content: center; }
.form__privacy { font-size: .82rem; color: var(--muted); margin: 14px 0 0; }

/* Contact cards */
.contact-list { display: grid; gap: 14px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.contact-item__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--navy-50); color: var(--navy); flex: none; }
.contact-item h3 { font-size: 1rem; margin-bottom: 2px; }
.contact-item p { margin: 0; }
.contact-item a { font-weight: 600; }
.contact-item--accent { background: var(--navy); border-color: var(--navy); color: rgba(255, 255, 255, .8); }
.contact-item--accent h3 { color: #fff; }
.contact-item--accent .contact-item__icon { background: rgba(255, 255, 255, .12); color: var(--orange); }
.contact-item--accent a { color: #fff; font-size: 1.35rem; font-family: var(--font-head); font-weight: 800; }

/* Server list */
.endpoint-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 8px; }
.endpoint-list li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-family: ui-monospace, Consolas, monospace; font-size: .92rem; color: var(--ink); }
.endpoint-list .icon { color: var(--navy); }
.install-steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 1.4em; display: grid; gap: 14px; }
.install-steps li { counter-increment: s; position: relative; padding: 18px 18px 18px 64px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.install-steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--orange); color: var(--navy-950); font-family: var(--font-head); font-weight: 800; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: rgba(255, 255, 255, .65); font-size: .95rem; padding-top: 80px; }
.footer a { color: rgba(255, 255, 255, .8); }
.footer a:hover { color: var(--orange); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; }
.footer__brand img { width: 120px; background: #fff; border-radius: 12px; padding: 10px; margin-bottom: 20px; }
.footer__brand p { max-width: 320px; }
.footer h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; font-weight: 700; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .icon { color: var(--orange); margin-top: 4px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; font-size: .85rem; }
.footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.footer__bottom ul { display: flex; gap: 20px; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-delay-1 { transition-delay: .08s; }
.js .reveal-delay-2 { transition-delay: .16s; }
.js .reveal-delay-3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; transition: none; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Two-by-two stats block (Why ITS) */
.stats__grid--2 { grid-template-columns: repeat(2, 1fr); }
.stats__grid--2 .stat:nth-child(2n) { border-right: 0; }
.stats__grid--2 .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

/* Icon-led feature list (Technology) */
.feature-list > div + div { margin-top: 30px; }
.feature-list h3 { display: flex; align-items: center; gap: 12px; }
.feature-list h3 .icon { color: var(--orange-600); }
.feature-list p { margin-left: 34px; }
@media (max-width: 560px) { .feature-list p { margin-left: 0; } }
.split--top { align-items: start; }

/* Tracker page */
.tracker-layout { grid-template-columns: 420px minmax(0, 1fr); gap: 40px; }
.tracker-layout .track-card { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 960px) { .tracker-layout { grid-template-columns: 1fr; } .tracker-layout .track-card { position: static; } }
.pill--status { background: var(--ok-50); color: var(--ok); font-size: .85rem; padding: 7px 12px; }

/* Once a result is shown, the search card becomes a compact bar and the result gets the full width. */
.tracker-layout--result { grid-template-columns: 1fr; gap: 28px; }
.tracker-layout--result .track-card { position: static; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px 20px; padding: 20px 24px; }
.tracker-layout--result .track-card__head { margin: 0; }
.tracker-layout--result .track-card__head p { display: none; }
.tracker-layout--result .track-field { margin: 0; }
.tracker-layout--result .track-card .btn { width: auto; }
.tracker-layout--result .track-card__foot { display: none; }
@media (max-width: 760px) { .tracker-layout--result .track-card { grid-template-columns: 1fr; } .tracker-layout--result .track-card .btn { width: 100%; } }

/* Compact page header (tracker) */
.page-hero--compact { padding: 28px 0 32px; }
.page-hero--compact .crumbs { margin-bottom: 12px; }
.page-hero--compact .eyebrow { display: none; }
.page-hero--compact h1 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: 6px; }
.page-hero--compact .lead { font-size: 1.02rem; }
.section--tracker { padding-top: 36px; }
@media (max-width: 760px) { .page-hero--compact { padding: 22px 0 24px; } .section--tracker { padding-top: 24px; } }
