/* ============================================================
   ShipIQ marketing site — shared stylesheet
   Ported from the "ShipIQ B2B Landing Page Concept" design canvas
   (Main / Careers / Case Study artboards, desktop + tablet + mobile).
   ============================================================ */

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'IBM Plex Sans', system-ui, sans-serif; background: #F8F8FC; color: #211F3D; }
h1, h2, h3 { font-family: 'Manrope', system-ui, sans-serif; margin: 0; }
a { color: #252262; text-decoration: none; }
a:hover { color: #2daf36; }
img { max-width: 100%; }
[hidden] { display: none !important; }

/* Anchored sections scroll clear of the sticky nav */
#video, #capabilities, #how-it-works, #customers, #contact, #roles { scroll-margin-top: 90px; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: #211F3D; color: #FFFFFF; padding: 10px 16px; border-radius: 0 0 8px 0; font-size: 14px; }
.skip-link:focus { left: 0; color: #FFFFFF; }

/* ---------- Links ---------- */
.link-nav { color: #211F3D; text-decoration: none; transition: color 0.15s ease; }
.link-nav:hover { color: #2daf36; }
.link-nav:focus-visible { outline: 2px solid #2daf36; outline-offset: 3px; border-radius: 2px; }

.link-footer { color: #B7B6D2; text-decoration: none; transition: color 0.15s ease; }
.link-footer:hover { color: #FFFFFF; }
.link-footer:focus-visible { outline: 2px solid #38e54a; outline-offset: 3px; border-radius: 2px; }

.link-accent-dark { color: #38e54a; text-decoration: none; transition: color 0.15s ease; }
.link-accent-dark:hover { color: #7CF08A; text-decoration: underline; }
.link-accent-dark:focus-visible { outline: 2px solid #38e54a; outline-offset: 3px; border-radius: 2px; }

.link-inline { color: #252262; transition: color 0.15s ease; text-decoration: underline; text-underline-offset: 2px; }
.link-inline:hover { color: #2daf36; }
.link-inline:focus-visible { outline: 2px solid #2daf36; outline-offset: 2px; border-radius: 2px; }

.link-arrow { color: #252262; font-size: 14px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow .arrow { display: inline-block; transition: transform 0.2s ease; }
.link-arrow:hover .arrow { transform: translateX(4px); }
.link-arrow-dark { color: #FFFFFF; }
.link-arrow-dark:hover { color: #38e54a; }

/* ---------- Buttons ---------- */
.btn-primary { background: #2daf36; color: #FFFFFF; text-decoration: none; display: inline-block; transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease; cursor: pointer; font-family: inherit; }
.btn-primary:hover { background: #259A2E; color: #FFFFFF; box-shadow: 0 0 14px 1px rgba(45,175,54,0.4); }
.btn-primary:active { background: #1C7A23; color: #FFFFFF; transform: translateY(1px); box-shadow: 0 0 9px 1px rgba(45,175,54,0.32); }
.btn-primary:focus-visible { outline: 2px solid #211F3D; outline-offset: 2px; }
.btn-primary:disabled { background: #8FD79A; box-shadow: none; cursor: default; transform: none; }

.btn-secondary { color: #211F3D; text-decoration: none; display: inline-block; border: 0.5px solid rgb(214, 213, 230); background: transparent; transition: border-color 0.15s ease, background-color 0.15s ease; cursor: pointer; font-family: inherit; }
.btn-secondary:hover { border-color: #2daf36; background: #F8F8FC; color: #211F3D; }
.btn-secondary:active { background: #EEEDF6; }
.btn-secondary:focus-visible { outline: 2px solid #211F3D; outline-offset: 2px; }

/* ---------- Form controls ---------- */
.form-input { border: 0.5px solid #D6D5E6; font-family: inherit; color: #211F3D; background: #FFFFFF; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.form-input:hover { border-color: #B7B6D2; }
.form-input:focus { border-color: #2daf36; outline: none; box-shadow: 0 0 0 3px rgba(45,175,54,0.15); }

.select-wrap { border: 0.5px solid #D6D5E6; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.select-wrap:hover { border-color: #B7B6D2; }
.select-wrap:focus-within { border-color: #2daf36; box-shadow: 0 0 0 3px rgba(45,175,54,0.15); }

.form-status { margin: 0; border-radius: 8px; padding: 12px 14px; font-size: 13px; font-weight: 600; line-height: 1.5; }
.form-status.success { background: #EAF3DE; color: #27500A; border: 0.5px solid #BFE3A6; }
.form-status.error { background: #FDECEA; color: #B3261E; border: 0.5px solid #F3C1BD; }

/* ---------- Layout primitives ---------- */
.section-x { padding-left: 64px; padding-right: 64px; }
.hero-h1 { font-size: 56px; }            /* careers hero */
.section-h2 { font-size: 32px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
.stack-md { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.contact-cols { display: flex; flex-direction: row; gap: 80px; }

@media (max-width: 1220px) {
  .nav-links { gap: 20px; }
}
@media (max-width: 1024px) {
  .section-x { padding-left: 40px; padding-right: 40px; }
  .hero-h1 { font-size: 44px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .contact-cols { flex-direction: column; gap: 40px; }
}
@media (max-width: 1120px) {
  .stack-md { grid-template-columns: 1fr; gap: 32px !important; }
  .nav-links, .nav-cta-item { display: none !important; }
  .nav-toggle { display: flex !important; }
  .nav-bar { display: flex !important; justify-content: space-between !important; }
}
@media (min-width: 1121px) {
  .mobile-menu-panel { display: none !important; }
}
@media (max-width: 640px) {
  .section-x { padding-left: 20px; padding-right: 20px; }
  .hero-h1 { font-size: 34px; }
  .section-h2 { font-size: 25px; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  /* The logo link and CTA group reserve 157px each for the desktop grid;
     on narrow phones (<=375px) that forces a horizontal overflow. */
  .nav-logo, .nav-right { min-width: 0 !important; }
}

/* ---------- Nav ---------- */
.nav-toggle { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; border: none; background: none; cursor: pointer; padding: 0; }
.nav-toggle:hover { background: #F8F8FC; }
.mobile-link { display: block; padding: 12px 4px; font-size: 15px; font-weight: 500; border-bottom: 0.5px solid #EDEDF4; }

/* ---------- Hero (landing) ---------- */
.hero-section { padding-top: 72px; padding-bottom: 72px; }
.hero-h1-split { font-size: 52px; font-weight: 700; color: #252262; letter-spacing: -0.01em; }
.hero-media { border-radius: 20px; overflow: hidden; aspect-ratio: 5 / 4; background: #16241f; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: 10% 50%; display: block; }
.hero-chip-pos { position: absolute; left: -28px; bottom: 32px; }
@media (max-width: 1120px) {
  /* Stacked hero: shallow photo banner with the status chip overhanging its bottom edge (tablet board) */
  .hero-media { aspect-ratio: auto; height: 248px; }
  .hero-photo { height: 281px; object-position: 50% 100%; }
  .hero-chip-pos { left: 24px; bottom: -38px; }
}
@media (max-width: 1024px) { .hero-h1-split { font-size: 44px; } }
@media (max-width: 640px) {
  .hero-h1-split { font-size: 34px; }
  .hero-section { padding-top: 48px; }
  .hero-copy { align-items: center; }
  .hero-copy h1, .hero-copy p { text-align: center; }
  .hero-copy .hero-cta-row { justify-content: center; }
  /* Mobile board: natural-height photo strip, chip breaks further out below it */
  .hero-media { height: auto; }
  .hero-photo { height: auto; object-position: 50% 50%; }
  .hero-chip-pos { left: -6px; bottom: -76px; }
  .hero-media-col { margin-bottom: 20px; }
}

.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #2daf36; display: inline-block; flex-shrink: 0; }

@keyframes kenBurns { from { transform: scale(1); } to { transform: scale(1.07); } }
@keyframes chipFloat { from { transform: translateY(0); } to { transform: translateY(-6px); } }
@keyframes dotPulse { 0% { box-shadow: 0 0 0 0 rgba(45,175,54,0.5); } 70% { box-shadow: 0 0 0 8px rgba(45,175,54,0); } 100% { box-shadow: 0 0 0 0 rgba(45,175,54,0); } }
@media (prefers-reduced-motion: no-preference) {
  .hero-photo { animation: kenBurns 22s ease-in-out infinite alternate; transform-origin: 25% 50%; }
  .hero-chip { animation: chipFloat 4s ease-in-out infinite alternate; }
  .live-dot { animation: dotPulse 2.2s ease-out infinite; }
}

/* ---------- Trust bar ---------- */
.trust-bar { width: 100%; background: #FFFFFF; border-bottom: 0.5px solid #E4E3EF; padding-top: 26px; padding-bottom: 26px; display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-label { font-size: 13px; font-weight: 600; color: #6b6a85; text-transform: uppercase; letter-spacing: 0.06em; }
.trust-items { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; justify-content: center; }
.trust-item { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #211F3D; white-space: nowrap; }
.trust-item svg { flex-shrink: 0; }
@media (max-width: 640px) {
  .trust-bar { flex-direction: column; gap: 16px; }
  .trust-items { gap: 14px 24px; }
}

/* ---------- Video ---------- */
.video-frame { width: 100%; max-width: 820px; aspect-ratio: 16 / 9; margin-top: 28px; background: #211F3D; border-radius: 16px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.video-play { position: relative; width: 72px; height: 72px; border-radius: 50%; border: none; background: #2daf36; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease; }
.video-play:hover { background: #259A2E; transform: scale(1.06); box-shadow: 0 0 24px 2px rgba(45,175,54,0.45); }
.video-play:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; }
.video-note { position: relative; background: #FFFFFF; border-radius: 12px; padding: 18px 22px; max-width: 420px; margin: 0 20px; text-align: center; font-size: 14px; line-height: 1.6; color: #211F3D; box-shadow: 0 12px 32px rgba(0,0,0,0.3); }
.video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }

/* ---------- Capabilities: pillar cards ---------- */
.cap-grid { gap: 24px; max-width: 1100px; margin: 0 auto; width: 100%; }
.cap-card { background: #FFFFFF; border: 0.5px solid #E4E3EF; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease, border-color .25s ease; }
.cap-card:hover { transform: translateY(-4px); border-color: #2daf36; }
.cap-art { background: #F8F8FC; height: 170px; display: flex; align-items: center; justify-content: center; padding: 18px; box-sizing: border-box; border-bottom: 0.5px solid #E4E3EF; }
.cap-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 14px; }
.cap-h { font-family: 'Manrope', sans-serif; font-size: 19px; font-weight: 700; line-height: 1.3; color: #211F3D; }
.cap-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cap-chip { font-size: 12.5px; font-weight: 600; color: #252262; background: #EEEDF7; padding: 6px 12px; border-radius: 999px; }
@media (max-width: 1024px) {
  /* Tablet/mobile boards: single column of sticky stacking cards, all chips shown, no toggle */
  #cap-toggle { display: none; }
  .cap-grid { display: flex; flex-direction: column; max-width: 680px; gap: 0; }
  .cap-grid .cap-chip-extra[hidden] { display: inline-block !important; }
  .cap-card { position: sticky; border: none; border-top: 4px solid #2daf36; border-radius: 0 0 16px 16px; box-shadow: 0 16px 32px rgba(33,31,61,0.14); padding: 24px; gap: 16px; overflow: visible; }
  .cap-card:hover { transform: none; }
  .cap-card:nth-child(1) { top: 88px; z-index: 1; margin-bottom: 28px; }
  .cap-card:nth-child(2) { top: 120px; z-index: 2; margin-bottom: 28px; }
  .cap-card:nth-child(3) { top: 152px; z-index: 3; }
  .cap-art { height: 130px; border-bottom: none; border-radius: 12px; }
  .cap-body { padding: 0; gap: 16px; }
}
@media (max-width: 640px) {
  .cap-card { padding: 20px; }
  .cap-card:nth-child(1) { top: 80px; margin-bottom: 24px; }
  .cap-card:nth-child(2) { top: 108px; margin-bottom: 24px; }
  .cap-card:nth-child(3) { top: 136px; }
}

/* ---------- How it works: pinned horizontal slideshow ---------- */
.hiw-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 0.5px solid #E4E3EF; margin-bottom: 36px; }
.hiw-tabs { display: flex; overflow-x: auto; overflow-y: hidden; min-width: 0; margin-bottom: -1px; scrollbar-width: none; -ms-overflow-style: none; }
.hiw-tabs::-webkit-scrollbar { display: none; width: 0; height: 0; }
.hiw-tab { border: none; background: none; cursor: pointer; padding: 12px 20px; font-family: 'Manrope', sans-serif; font-size: 14px; font-weight: 600; color: #6b6a85; border-bottom: 2px solid transparent; margin-bottom: 0; white-space: nowrap; transition: color .2s ease, border-color .2s ease; }
.hiw-tab:hover { color: #211F3D; }
.hiw-tab.on { color: #211F3D; border-bottom-color: #2daf36; }
.hiw-tab:focus-visible, .hiw-arrow:focus-visible { outline: 2px solid #1C7A23; outline-offset: 2px; }
.hiw-tab-n { color: #1C7A23; font-weight: 700; margin-right: 8px; }
.hiw-arrows { display: flex; gap: 8px; flex-shrink: 0; padding-bottom: 8px; }
.hiw-arrow { width: 40px; height: 40px; border-radius: 50%; border: 0.5px solid #D6D5E6; background: #FFFFFF; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: border-color .2s ease; }
.hiw-arrow:hover { border-color: #2daf36; }
.hiw-viewport { overflow: hidden; }
.hiw-track { display: flex; transition: transform .6s cubic-bezier(0.22, 0.61, 0.36, 1); }
.hiw-slide { flex: 0 0 100%; min-width: 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; box-sizing: border-box; }
.hiw-num { font-family: 'Manrope', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .12em; color: #1C7A23; display: flex; align-items: center; gap: 14px; }
.hiw-num i { flex-grow: 1; height: 1px; background: #E4E3EF; }
.hiw-copy h3 { font-size: 30px; line-height: 1.2; color: #211F3D; margin: 16px 0 12px; font-weight: 700; }
.hiw-copy p { font-size: 16px; line-height: 1.6; color: #6b6a85; margin: 0; max-width: 28em; }
.hiw-panel { background: #FFFFFF; border: 0.5px solid #E4E3EF; border-radius: 16px; overflow: hidden; }
.hiw-pbar { height: 40px; background: #252262; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; }
.hiw-dots { display: flex; gap: 6px; }
.hiw-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.22); }
.hiw-ptag { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; padding: 3px 9px; border-radius: 10px; background: rgba(56,229,74,0.16); color: #38e54a; }
.hiw-pbody { padding: 20px; box-sizing: border-box; height: 360px; display: flex; flex-direction: column; gap: 14px; background: #FAFAFE; }
.hiw-ptitle { font-family: 'Manrope', sans-serif; font-size: 15px; font-weight: 700; color: #211F3D; }
.hiw-row2 { display: flex; gap: 18px; flex: 1; min-height: 0; }
.hiw-sheet { width: 36%; flex-shrink: 0; background: #FFFFFF; border: 0.5px solid #E4E3EF; border-radius: 8px; padding: 14px; display: flex; flex-direction: column; gap: 8px; position: relative; overflow: hidden; }
.hiw-sheet i { display: block; height: 6px; border-radius: 2px; background: #E4E3EF; }
.hiw-sheet i.t { height: 9px; width: 55%; background: #252262; }
.hiw-sheet .blk { height: 34%; background: #EEEDF7; border-radius: 4px; margin: 4px 0; }
.hiw-sheet .scan { position: absolute; left: 0; right: 0; height: 40px; top: -40px; background: rgba(45,175,54,0.14); border-bottom: 2px solid #2daf36; }
.hiw-fields { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.hiw-fields div { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 11px 0; border-bottom: 0.5px solid #E4E3EF; font-size: 13.5px; color: #211F3D; }
.hiw-st { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; color: #1C7A23; }
.hiw-plan { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.hiw-gen { height: 4px; background: #E4E3EF; border-radius: 2px; overflow: hidden; }
.hiw-gen i { display: block; height: 100%; width: 100%; background: #2daf36; transform-origin: left; }
.hiw-cell { fill: var(--c); }
.hiw-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: #6b6a85; }
.hiw-legend span { display: flex; align-items: center; gap: 6px; }
.hiw-legend i { width: 10px; height: 10px; border-radius: 3px; display: block; }
.hiw-side { width: 34%; flex-shrink: 0; background: #FFFFFF; border: 0.5px solid #E4E3EF; border-radius: 8px; padding: 14px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: #211F3D; }
.hiw-k { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: #6b6a85; }
.hiw-side .r { display: flex; justify-content: space-between; padding-bottom: 8px; border-bottom: 0.5px solid #E4E3EF; gap: 8px; }
.hiw-ok { color: #1C7A23; font-weight: 600; }
.hiw-appr { margin-top: auto; height: 36px; border-radius: 8px; background: #252262; color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-weight: 600; }
.hiw-stack { position: relative; width: 34%; max-width: 190px; flex-shrink: 0; aspect-ratio: 3 / 4; margin-right: 14px; }
.hiw-stack .pg { position: absolute; inset: 0; background: #FFFFFF; border: 0.5px solid #E4E3EF; border-radius: 8px; padding: 14px; display: flex; flex-direction: column; gap: 7px; }
.hiw-stack .pg i { display: block; height: 6px; background: #E4E3EF; border-radius: 2px; }
.hiw-stack .pg i.t { height: 9px; width: 50%; background: #252262; }
.hiw-stack .pg .mini { height: 40%; border-radius: 4px; margin: 6px 0; background: linear-gradient(90deg, #2daf36 0 30%, #8E8BC9 30% 60%, #B7B6D2 60%); }
.hiw-stack .pg:nth-child(1) { transform: translate(18px, -14px) rotate(4deg); }
.hiw-stack .pg:nth-child(2) { transform: translate(9px, -7px) rotate(2deg); }
.hiw-exp { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: #211F3D; }
.hiw-exp .r { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 0.5px solid #E4E3EF; }
.hiw-chip { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; padding: 3px 9px; border-radius: 10px; background: #EEEDF7; color: #252262; }
.hiw-send { height: 40px; border-radius: 8px; background: #2daf36; color: #FFFFFF; display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; margin-top: 6px; }
.hiw-chart { flex: none; height: 190px; display: flex; align-items: flex-end; gap: 3%; border-bottom: 1px solid #211F3D; padding: 0 2%; }
.hiw-chart i { flex: 1; height: var(--h); background: var(--bg); border-radius: 3px 3px 0 0; transform-origin: bottom; display: block; }
.hiw-cap { font-size: 12px; color: #6b6a85; }
@keyframes hiwScan { from { top: -40px; } to { top: 100%; } }
@keyframes hiwGot { from { color: #9B9AB5; } }
@keyframes hiwFill { from { fill: #E4E3EF; } }
@keyframes hiwGen { from { transform: scaleX(0); } }
@keyframes hiwOk { from { opacity: 0; } }
@keyframes hiwFan { from { transform: none; } }
@keyframes hiwGrow { from { transform: scaleY(0.05); } }
@media (prefers-reduced-motion: no-preference) {
  .hiw-slide.on .scan { animation: hiwScan 2.8s ease-in-out infinite; }
  .hiw-slide.on .hiw-st { animation: hiwGot .1s both; animation-delay: var(--d); }
  .hiw-slide.on .hiw-cell { animation: hiwFill .5s ease both; animation-delay: var(--d); }
  .hiw-slide.on .hiw-gen i { animation: hiwGen 2.2s linear both; }
  .hiw-slide.on .hiw-ok { animation: hiwOk .4s ease both; animation-delay: var(--d); }
  .hiw-slide.on .hiw-stack .pg { animation: hiwFan .9s ease both; }
  .hiw-slide.on .hiw-chart i { animation: hiwGrow .9s ease both; animation-delay: var(--d); }
}
@media (prefers-reduced-motion: reduce) { .hiw-track { transition: none; } }
@media (max-width: 900px) {
  .hiw-slide { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hiw-copy h3 { font-size: 24px; }
  .hiw-pbody { height: auto; min-height: 320px; }
}
@media (max-width: 560px) {
  .hiw-tab { padding: 10px 12px; font-size: 13px; }
  .hiw-tab-n { display: none; }
  .hiw-row2 { flex-direction: column; }
  .hiw-sheet { width: 100%; height: 130px; }
  .hiw-side { width: auto; }
  .hiw-stack { width: 60%; margin: 8px auto 12px; }
}
.hiw-pin { position: relative; height: 1700px; }
.hiw-stick { position: sticky; top: 96px; }
.hiw-hint { margin-top: 20px; text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .06em; color: #6b6a85; transition: opacity .3s ease; }
.hiw-hint.off { opacity: 0; }
@media (max-width: 900px) { .hiw-pin { height: 1900px; } }

/* ---------- Metrics strip ---------- */
.metrics-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 24px; }
.metrics-strip > div + div { border-left: 0.5px solid rgba(255,255,255,0.14); }
@media (max-width: 640px) {
  .metrics-strip { grid-template-columns: 1fr; }
  .metrics-strip > div + div { border-left: none; }
}

/* ---------- Engines (ShipIQ Core) ---------- */
.core-grid { gap: 20px; max-width: 1100px; margin: 0 auto; width: 100%; }
@media (max-width: 1024px) {
  .core-grid { grid-template-columns: minmax(0, 1fr); max-width: 680px; }
}
.core-card { background: #2A2755; border: 0.5px solid #3C3A5E; display: flex; flex-direction: column; transform-style: preserve-3d; will-change: transform; transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease, transform 0.08s ease-out; }
/* Keep the three green take-away lines (and their divider) on the same baseline
   across the row, regardless of how long each card's copy is. */
.core-card p { margin-bottom: 14px !important; }
.core-card > div:last-child { margin-top: auto !important; }
.core-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.22); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 14px 32px rgba(0,0,0,0.32), inset 0 1px 0 rgba(255,255,255,0.14); }

.diag-tall { display: none; }
@media (max-width: 760px) { .diag-wide { display: none; } .diag-tall { display: block; } }
@keyframes cellShimmer { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@media (prefers-reduced-motion: no-preference) { .shim { animation: cellShimmer 7s ease-in-out infinite; } }

@keyframes stepPopSubtle { 0% { transform: scale(0.85); } 70% { transform: scale(1.03); } 100% { transform: scale(1); } }
@keyframes haloPulseSubtle { 0%, 100% { opacity: 0.3; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.08); } }
.step-badge, .step-text, .step-icon { opacity: 1; }
.step-badge { transform-box: fill-box; transform-origin: center; }
.step-halo { transform-box: fill-box; transform-origin: center; opacity: 0.35; }
@media (prefers-reduced-motion: no-preference) {
  .step-badge { animation: stepPopSubtle 0.4s cubic-bezier(0.34,1.56,0.64,1); }
  .step-halo { animation: haloPulseSubtle 2.4s ease-in-out infinite; }
}

/* ---------- Careers ---------- */
.culture-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
@media (max-width: 640px) {
  .culture-cols { grid-template-columns: 1fr; gap: 32px; }
}
.role-card { background: #FFFFFF; border: 0.5px solid #E4E3EF; border-radius: 12px; transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease; }
.role-card:hover { border-color: #B7B6D2; box-shadow: 0 10px 24px rgba(33,31,61,0.08); transform: translateY(-2px); }

.value-card { border-radius: 0 0 12px 12px; transition: box-shadow 0.15s ease, transform 0.15s ease; }
.value-card:hover { box-shadow: 0 10px 24px rgba(33,31,61,0.08); transform: translateY(-2px); }

/* ---------- Case study ---------- */
.cs-title { font-size: 34px; }
.cs-stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 640px) {
  .cs-title { font-size: 26px; }
  .cs-stats { grid-template-columns: 1fr; }
}

/* ---------- Wave divider ---------- */
@keyframes waveDriftA { from { transform: translateX(0); } to { transform: translateX(-1440px); } }
@keyframes waveDriftB { from { transform: translateX(-1440px); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: no-preference) {
  .wave-a { animation: waveDriftA 40s linear infinite; }
  .wave-b { animation: waveDriftB 60s linear infinite; }
}

/* ---------- Legal pages (privacy.html / terms.html) ---------- */
.legal-hero { padding-top: 56px; padding-bottom: 48px; text-align: center; background-color: #FAFAFA; background-image: linear-gradient(#EDEDED 1px, transparent 1px), linear-gradient(90deg, #EDEDED 1px, transparent 1px); background-size: 48px 48px; }
.legal-hero h1 { font-size: 40px; font-weight: 700; color: #211F3D; margin: 14px 0 0; line-height: 1.15; }
.legal-wrap { max-width: 820px; margin: 0 auto; width: 100%; }
.legal-text { font-size: 14.5px; line-height: 1.7; color: #43425A; }
.legal-text h3 { font-size: 17px; font-weight: 700; color: #211F3D; margin: 26px 0 8px; }
.legal-text h3:first-child { margin-top: 0; }
.legal-text h4 { font-family: 'Manrope', sans-serif; font-size: 14.5px; font-weight: 700; color: #211F3D; margin: 18px 0 6px; }
.legal-text p { margin: 0 0 12px; }
.legal-text ul { margin: 0 0 14px; padding-left: 20px; }
.legal-text li { margin-bottom: 6px; }
.legal-text strong { color: #211F3D; }
.legal-text a { color: #252262; font-weight: 600; }
.legal-text a:hover { color: #2daf36; }
@media (max-width: 640px) {
  .legal-hero h1 { font-size: 30px; }
}

/* ---------- Privacy assurance callout + badges ---------- */
.privacy-callout { background: #EAF3DE; border: 0.5px solid #BFE3A6; border-radius: 12px; padding: 24px 26px; margin-bottom: 32px; }
.privacy-callout h2 { font-size: 18px; font-weight: 700; color: #211F3D; margin: 0 0 8px; display: flex; align-items: center; gap: 10px; }
.privacy-callout p { font-size: 14px; line-height: 1.65; color: #3B4A2E; margin: 0; }
.privacy-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.privacy-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #27500A; background: #EAF3DE; border: 0.5px solid #BFE3A6; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.privacy-badge svg { flex-shrink: 0; }
.privacy-callout .privacy-badge { background: #FFFFFF; }

/* ---------- Reduced motion: calm everything else ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
