/* ToolroomOS: brand tokens match the UCS apps (primary oklch(0.40 0.10 246) = #054b7a) */
:root {
  --primary: #054b7a;
  --primary-600: #0b5d96;
  --primary-50: #e8f1f8;
  --navy: #0d2a44;            /* app foreground oklch(0.22 0.06 246) */
  --ink: #0d2a44;
  --muted: #5d7185;
  --bg: #f7f7f7;              /* app background oklch(0.97 0 0) */
  --card: #ffffff;
  --border: #dde4ea;
  --amber: #f59e0b;
  --orange: #c2410c;          /* "Procure" orange in Design */
  --success: #16a34a;
  --radius: 18px;
  --shadow: 0 1px 2px rgb(13 42 68 / .06), 0 12px 32px -12px rgb(13 42 68 / .18);
  --shadow-lg: 0 30px 60px -20px rgb(5 75 122 / .35);
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e6eef6; --muted: #9db0c3; --bg: #08131e; --card: #0e1d2c; --border: #1d3246;
    --primary-50: #0f2b44; --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 12px 32px -12px rgb(0 0 0 / .6);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.6 Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 3.9vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 2.7vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1rem; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--primary); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary-600); margin-bottom: 14px; }
@media (prefers-color-scheme: dark) { .eyebrow { color: #7cc0f0; } }
.eyebrow--light { color: #9fd3fb; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgb(245 158 11 / .2); }
.lead { font-size: 1.04rem; color: var(--muted); max-width: 640px; }
.ink { color: var(--primary); position: relative; white-space: nowrap; }
@media (prefers-color-scheme: dark) { .ink { color: #7cc0f0; } }
.ink::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .14em; background: var(--amber); border-radius: 4px; transform-origin: left; animation: underline 1.2s .6s var(--ease) both; }
@keyframes underline { from { transform: scaleX(0); } }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 12px; font-weight: 600; font-size: .95rem; transition: transform .2s var(--ease), box-shadow .2s, background .2s; border: 1px solid transparent; white-space: nowrap; cursor: pointer; }
.btn--lg { height: 52px; padding: 0 24px; font-size: 1rem; border-radius: 14px; }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 8px 22px -8px rgb(5 75 122 / .7); }
.btn--primary:hover { background: var(--primary-600); transform: translateY(-2px); }
.btn--ghost { border-color: var(--border); background: var(--card); color: var(--ink); }
.btn--ghost:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--light { background: #fff; color: var(--primary); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgb(0 0 0 / .4); }
.btn--outline-light { border-color: rgb(255 255 255 / .5); color: #fff; }
.btn--outline-light:hover { background: rgb(255 255 255 / .1); }

/* ── Nav ── */
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.nav.scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--border); }
.nav__in { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; }
.brand b { color: var(--primary); font-weight: 800; }
@media (prefers-color-scheme: dark) { .brand b { color: #7cc0f0; } }
.nav__links { display: flex; gap: 26px; margin-left: 28px; font-weight: 500; font-size: .95rem; color: var(--muted); }
.nav__links a:hover { color: var(--ink); }
.nav__cta-mobile { display: none !important; }
.nav__actions { display: flex; gap: 10px; margin-left: auto; align-items: center; }
.nav__burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border); background: var(--card); flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
.nav__burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ── Hero ── */
.hero { position: relative; padding: 40px 0 90px; overflow: hidden; }
.hero__grid-bg { position: absolute; inset: -40% -10% auto; height: 140%; background:
  radial-gradient(closest-side, rgb(11 93 150 / .14), transparent 70%) 80% 30% / 900px 700px no-repeat,
  linear-gradient(var(--border) 1px, transparent 1px) 0 0 / 44px 44px,
  linear-gradient(90deg, var(--border) 1px, transparent 1px) 0 0 / 44px 44px;
  mask-image: radial-gradient(ellipse at 60% 30%, #000 30%, transparent 70%); opacity: .6; pointer-events: none; }
.hero__in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 24px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.hero__chips li { font-size: .85rem; font-weight: 600; color: var(--muted); background: var(--card); border: 1px solid var(--border); padding: 6px 12px; border-radius: 999px; }
.hero__chips li::before { content: "✓"; color: var(--success); margin-right: 6px; }

.hero__art { position: relative; aspect-ratio: 520 / 470; }
.mould { width: 100%; height: 100%; overflow: visible; }
.orbit__ring { fill: none; stroke: var(--border); stroke-width: 1.5; }
.orbit__dash { fill: none; stroke: var(--primary-600); stroke-width: 2; stroke-dasharray: 6 14; opacity: .55; animation: dash 18s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -400; } }

/* mould cycle, 6s: closed → open → eject → part rides away → close */
.m-moving, .m-ejector, .m-part, .m-fixed { transform-box: fill-box; }
.m-moving { animation: moving 6s var(--ease) infinite; }
@keyframes moving { 0%, 18% { transform: translateY(0); } 34%, 74% { transform: translateY(58px); } 92%, 100% { transform: translateY(0); } }
.m-ejector { animation: eject 6s var(--ease) infinite; }
@keyframes eject { 0%, 40% { transform: translateY(0); } 50%, 64% { transform: translateY(-26px); } 74%, 100% { transform: translateY(0); } }
.m-part { animation: part 6s var(--ease) infinite; }
@keyframes part {
  0%, 18%  { transform: translate(0, 0); opacity: 1; }
  34%, 40% { transform: translate(0, 58px); }
  50%      { transform: translate(0, 4px) rotate(-4deg); }
  62%      { transform: translate(120px, 200px) rotate(8deg); }
  74%      { transform: translate(210px, 232px) rotate(0); opacity: 1; }
  82%      { transform: translate(250px, 232px); opacity: 0; }
  83%, 91% { transform: translate(0, 58px); opacity: 0; }
  100%     { transform: translate(0, 0); opacity: 1; }
}
.conveyor__dots circle { fill: #9fb3c8; }
.conveyor__dots { animation: belt 1s linear infinite; }
@keyframes belt { to { transform: translateX(24px); } }

.badges { position: absolute; inset: 0; pointer-events: none; }
.badge { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 8px; border-radius: 999px; background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow); font-weight: 700; font-size: .85rem; animation: float 6s ease-in-out infinite; }
.badge .ic { width: 26px; height: 26px; }
.badge.b1 { left: -2%; top: 18%; animation-delay: 0s; }
.badge.b2 { left: 34%; top: -2%; animation-delay: -1.2s; }
.badge.b3 { right: -4%; top: 16%; animation-delay: -2.4s; }
.badge.b4 { right: -2%; top: 62%; animation-delay: -3.6s; }
.badge.b5 { left: 0; top: 70%; animation-delay: -4.8s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero__tag { position: absolute; left: 6%; bottom: -2%; display: flex; gap: 10px; align-items: center; background: var(--navy); color: #fff; padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow-lg); font-size: .85rem; }
.hero__tag small { display: block; opacity: .7; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 rgb(22 163 74 / .6); animation: pulse 1.8s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgb(22 163 74 / 0); } 100% { box-shadow: 0 0 0 0 rgb(22 163 74 / 0); } }

/* ── Icons (mask so they take the current colour) ── */
.ic { display: inline-block; background: currentColor; -webkit-mask: var(--m) center / 58% no-repeat; mask: var(--m) center / 58% no-repeat; color: var(--primary); }
@media (prefers-color-scheme: dark) { .ic { color: #7cc0f0; } }
.ic--enquiry { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z'/%3E%3Cpath d='M14 3v6h6M9 14h6M9 18h4'/%3E%3C/svg%3E"); }
.ic--design { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2 3 7v10l9 5 9-5V7z'/%3E%3Cpath d='M3 7l9 5 9-5M12 12v10'/%3E%3C/svg%3E"); }
.ic--purchase { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3Cpath d='M2 3h3l2.7 12.4a2 2 0 0 0 2 1.6h7.7a2 2 0 0 0 2-1.6L21 7H6'/%3E%3C/svg%3E"); }
.ic--production { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 20V9l6 4V9l6 4V4h4l2 16z'/%3E%3Cpath d='M2 20h20'/%3E%3C/svg%3E"); }
.ic--dispatch { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 4h14v12H1zM15 9h4l3 3v4h-7z'/%3E%3Ccircle cx='6' cy='18' r='2'/%3E%3Ccircle cx='18' cy='18' r='2'/%3E%3C/svg%3E"); }
.ic--hub { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1.5'/%3E%3C/svg%3E"); }

/* ── Ticker ── */
.ticker { border-block: 1px solid var(--border); background: var(--card); overflow: hidden; padding: 13px 0; }
.ticker__track { display: flex; gap: 44px; width: max-content; animation: ticker 48s linear infinite; font-weight: 600; font-size: .92rem; color: var(--muted); }
.ticker__track span { display: inline-flex; align-items: center; gap: 44px; }
.ticker__track span::after { content: "◆"; font-size: .55rem; color: var(--amber); }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ── Sections ── */
.section { padding: 96px 0; }
.pillars { padding-bottom: 0; }
.section__head { max-width: 760px; margin-bottom: 56px; }

/* problem */
.problem__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pcard { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.pcard__before { color: var(--muted); text-decoration: line-through; text-decoration-color: rgb(194 65 12 / .5); padding-bottom: 14px; border-bottom: 1px dashed var(--border); margin-bottom: 14px; }
.pcard__after { font-weight: 600; }
.x { color: var(--orange); font-weight: 800; margin-right: 6px; text-decoration: none; display: inline-block; }
.ok { color: var(--success); font-weight: 800; margin-right: 6px; }

/* ── Flow: sticky story ── */
.flow { background: linear-gradient(180deg, transparent, var(--primary-50) 30%, var(--primary-50) 70%, transparent); }
.flow__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; }
.flow__steps { list-style: none; margin: 0; padding: 0; }
.step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding-left: 26px; border-left: 3px solid var(--border); opacity: .35; transition: opacity .4s, border-color .4s; }
.step.active { opacity: 1; border-color: var(--primary); }
.step__no { font-weight: 800; font-size: .9rem; color: var(--amber); letter-spacing: .1em; }
.step h3 { font-size: 1.45rem; margin: .2em 0 .4em; }
.step p { color: var(--muted); font-size: 1.05rem; max-width: 460px; }
.flow__stage { position: relative; }
/* sticky card sits centred in the space below the 72px nav at any screen height */
.stage { --stage-h: clamp(420px, 64vh, 540px); position: sticky; top: calc((100vh + 72px - var(--stage-h)) / 2); height: var(--stage-h); border-radius: 26px; background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow-lg); overflow: hidden; }
.stage__rail { position: absolute; left: 24px; right: 24px; top: 20px; height: 4px; border-radius: 4px; background: var(--border); }
.stage__fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--p, 0) * 25%); background: linear-gradient(90deg, var(--primary), var(--amber)); border-radius: 4px; transition: width .6s var(--ease); }
.stage__rail i { position: absolute; top: 50%; left: calc(var(--i) * 25%); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--card); border: 3px solid var(--border); transition: border-color .4s, transform .4s; }
.stage[data-step="0"] .stage__rail i:nth-of-type(-n+1),
.stage[data-step="1"] .stage__rail i:nth-of-type(-n+2),
.stage[data-step="2"] .stage__rail i:nth-of-type(-n+3),
.stage[data-step="3"] .stage__rail i:nth-of-type(-n+4),
.stage[data-step="4"] .stage__rail i { border-color: var(--primary); transform: scale(1.15); }

.screen { position: absolute; inset: 56px 22px 22px; border-radius: 18px; background: var(--bg); border: 1px solid var(--border); padding: 18px; opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.stage[data-step="0"] .s0, .stage[data-step="1"] .s1, .stage[data-step="2"] .s2, .stage[data-step="3"] .s3, .stage[data-step="4"] .s4 { opacity: 1; transform: none; }
.screen__bar { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; color: var(--muted); }
.screen__bar b { color: var(--ink); font-size: 1rem; }
.screen__foot { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); }
.screen__foot .cta { margin-left: auto; background: var(--primary); color: #fff; padding: 8px 14px; border-radius: 10px; font-size: .82rem; }
.ok-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }

/* 01 enquiry */
.drop { border: 2px dashed color-mix(in srgb, var(--primary) 45%, transparent); border-radius: 14px; padding: 14px; display: grid; gap: 8px; }
.drop__file { justify-self: start; background: var(--primary); color: #fff; font-weight: 600; font-size: .82rem; padding: 6px 10px; border-radius: 8px; }
.drop__label { font-size: .85rem; color: var(--muted); }
.drop__bar { height: 6px; border-radius: 6px; background: var(--border); overflow: hidden; }
.drop__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--amber)); animation: load 3.2s var(--ease) infinite; }
@keyframes load { 0% { width: 0; } 70%, 100% { width: 100%; } }
.mini { width: 100%; border-collapse: collapse; font-size: .85rem; }
.mini th { text-align: left; color: var(--muted); font-weight: 600; padding: 6px 8px; border-bottom: 1px solid var(--border); }
.mini td { padding: 8px; border-bottom: 1px solid var(--border); }
.stage[data-step="0"] .mini .r { animation: rowIn .5s var(--ease) both; }
.mini .r:nth-child(2) { animation-delay: .5s !important; } .mini .r:nth-child(3) { animation-delay: .8s !important; } .mini .r:nth-child(4) { animation-delay: 1.1s !important; }
@keyframes rowIn { from { opacity: 0; transform: translateX(-12px); } }
.quote { margin-top: auto; display: flex; justify-content: space-between; align-items: center; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; font-weight: 600; }
.quote b { color: var(--success); }

/* 02 design: rotating box with dimension pills */
.cube-wrap { position: relative; flex: 1; display: grid; place-items: center; perspective: 700px; min-height: 180px; }
.cube { width: 130px; height: 90px; position: relative; transform-style: preserve-3d; animation: spin 10s linear infinite; }
.cube .f { position: absolute; border: 2px solid var(--primary); background: rgb(5 75 122 / .12); }
.f1, .f2 { width: 130px; height: 90px; } .f3, .f4 { width: 60px; height: 90px; left: 35px; } .f5, .f6 { width: 130px; height: 60px; top: 15px; }
.f1 { transform: translateZ(30px); } .f2 { transform: rotateY(180deg) translateZ(30px); }
.f3 { transform: rotateY(90deg) translateZ(65px); } .f4 { transform: rotateY(-90deg) translateZ(65px); }
.f5 { transform: rotateX(90deg) translateZ(45px); } .f6 { transform: rotateX(-90deg) translateZ(45px); }
@keyframes spin { from { transform: rotateX(-22deg) rotateY(0); } to { transform: rotateX(-22deg) rotateY(360deg); } }
.dim { position: absolute; background: #fff; color: #1f2937; border: 2px solid #1d4ed8; border-radius: 999px; font-size: .78rem; font-weight: 700; padding: 2px 9px; box-shadow: var(--shadow); }
.dim.p1, .dim.p2 { border-color: var(--orange); }
.d1 { bottom: 16%; left: 40%; } .d2 { top: 44%; left: 14%; } .d3 { bottom: 26%; right: 18%; }
.p1 { top: 10%; left: 38%; } .p2 { top: 34%; right: 12%; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fields div { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 8px 12px; }
.fields small { display: block; color: var(--muted); font-size: .72rem; }
.fields .saved { grid-column: 1 / -1; background: none; border: 0; padding: 0; font-size: .8rem; color: var(--success); }
.fields .saved::before { content: "● "; }

/* 03 purchase */
.po { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.po li { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; font-size: .9rem; }
.tick { width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--border); flex: none; position: relative; }
.stage[data-step="2"] .tick { animation: tick .4s var(--ease) both; }
.po li:nth-child(1) .tick { animation-delay: .4s !important; } .po li:nth-child(2) .tick { animation-delay: .9s !important; }
.po li:nth-child(3) .tick { animation-delay: 1.4s !important; } .po li:nth-child(4) .tick { animation-delay: 1.9s !important; }
@keyframes tick { to { background: var(--success); border-color: var(--success); box-shadow: inset 0 0 0 3px var(--card); } }
.po__foot { margin-top: auto; display: grid; gap: 6px; font-size: .82rem; color: var(--muted); }
.meter { height: 10px; border-radius: 10px; background: var(--border); overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; background: var(--success); }
.stage[data-step="2"] .meter span { animation: fill 2.4s .4s var(--ease) forwards; }
@keyframes fill { to { width: 100%; } }

/* 04 production: cards fly into columns */
.kanban { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.col { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 8px; position: relative; }
.col small { color: var(--muted); font-weight: 600; }
.card { background: var(--primary); color: #fff; font-weight: 700; font-size: .82rem; padding: 10px; border-radius: 10px; position: relative; z-index: 2; }
.slot { height: 38px; border: 2px dashed var(--border); border-radius: 10px; }
.pill { margin-top: auto; font-size: .7rem; font-weight: 600; background: var(--primary-50); color: var(--primary); border-radius: 999px; padding: 4px 8px; text-align: center; }
@media (prefers-color-scheme: dark) { .pill { color: #9fd3fb; } }
.pill--v { background: rgb(194 65 12 / .12); color: var(--orange); }
.stage[data-step="3"] .k1 { animation: toTurning 4s var(--ease) infinite; }
.stage[data-step="3"] .k2 { animation: toHeat 4s var(--ease) infinite; }
@keyframes toTurning { 0%, 15% { transform: none; } 45%, 90% { transform: translate(calc(100% + 30px), 0); } 100% { transform: none; } }
@keyframes toHeat { 0%, 30% { transform: none; } 60%, 90% { transform: translate(calc(200% + 52px), -48px); } 100% { transform: none; } }

/* 05 dispatch */
.dc { background: #fff; color: #1f2937; border-radius: 12px; padding: 14px; box-shadow: var(--shadow); display: grid; gap: 8px; font-size: .82rem; }
.dc__head { display: flex; justify-content: space-between; background: var(--primary); color: #fff; border-radius: 8px; padding: 8px 10px; }
.dc__head small { opacity: .8; font-size: .66rem; align-self: center; }
.dc__row { display: grid; grid-template-columns: auto 1fr auto 1fr; gap: 6px 10px; }
.dc__row span { color: #64748b; }
.dc__note { color: #475569; font-style: italic; border-top: 1px dashed #e2e8f0; padding-top: 8px; }
.road { margin-top: auto; height: 54px; position: relative; border-bottom: 3px dashed var(--border); }
.truck { position: absolute; bottom: 4px; left: 0; width: 64px; height: 34px; background: var(--primary); border-radius: 6px 14px 6px 6px; animation: drive 4s linear infinite; }
.truck::before, .truck::after { content: ""; position: absolute; bottom: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--navy); border: 2px solid var(--card); }
.truck::before { left: 8px; } .truck::after { right: 8px; }
.truck span { position: absolute; right: 6px; top: 6px; width: 14px; height: 10px; background: #9fd3fb; border-radius: 3px; }
@keyframes drive { from { left: -70px; } to { left: 100%; } }

/* ── Modules ── */
.mgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mcard { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; transition-delay: calc(var(--d) * 60ms); }
.mcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); }
.mcard__ic { width: 52px; height: 52px; border-radius: 14px; background: var(--primary-50); display: grid; place-items: center; margin-bottom: 18px; }
.mcard__ic .ic { width: 52px; height: 52px; }
.mcard p { color: var(--muted); }
.mcard ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .93rem; }
.mcard li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 2px; background: var(--amber); margin-right: 10px; transform: translateY(-2px); }
.mcard--hub { background: linear-gradient(160deg, var(--primary), var(--navy)); color: #fff; border-color: transparent; }
.mcard--hub p { color: rgb(255 255 255 / .75); }
.mcard--hub .mcard__ic { background: rgb(255 255 255 / .12); }
.mcard--hub .ic { color: #fff; }

/* ── Shop floor (dark band) ── */
.floor { background: radial-gradient(1000px 500px at 90% 10%, rgb(11 93 150 / .55), transparent 60%), var(--navy); color: #fff; }
.floor .lead { color: rgb(255 255 255 / .72); }
.floor__in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.checks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 16px; }
.checks li { padding-left: 34px; position: relative; color: rgb(255 255 255 / .78); }
.checks li b { color: #fff; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 7px; background: rgb(245 158 11 / .2); color: var(--amber); display: grid; place-items: center; font-weight: 800; font-size: .8rem; }
.floor__art { background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .12); border-radius: 24px; padding: 26px; display: grid; gap: 22px; backdrop-filter: blur(6px); }
.gauge { position: relative; }
.gauge svg { width: 100%; max-width: 320px; margin: 0 auto; }
.gauge__track, .gauge__val { fill: none; stroke-width: 16; stroke-linecap: round; }
.gauge__track { stroke: rgb(255 255 255 / .12); }
.gauge__val { stroke: var(--amber); stroke-dasharray: 252; stroke-dashoffset: 252; }
.floor__art.in .gauge__val { animation: gauge 2s .3s var(--ease) forwards; }
@keyframes gauge { to { stroke-dashoffset: 40; } }
.gauge__label { position: absolute; inset: auto 0 6px; text-align: center; }
.gauge__label b { display: block; font-size: 1.4rem; }
.gauge__label small { opacity: .65; }
.stack { display: grid; gap: 12px; }
.srow { display: grid; grid-template-columns: 120px 1fr 28px; align-items: center; gap: 12px; font-size: .88rem; color: rgb(255 255 255 / .8); }
.srow em { font-style: normal; font-weight: 700; color: #fff; text-align: right; }
.bar { height: 10px; border-radius: 10px; background: rgb(255 255 255 / .1); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 10px; background: linear-gradient(90deg, #4aa3df, #9fd3fb); transition: width 1.4s var(--ease); }
.bar--v i { background: linear-gradient(90deg, #ea580c, var(--amber)); }
.floor__art.in .bar i { width: var(--w); }

/* ── Pillars ── */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar { padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--card); }
.pillar__n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--primary); color: #fff; font-weight: 800; margin-bottom: 14px; }
.pillar p { color: var(--muted); margin: 0; }

/* ── CTA ── */
.cta__box { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; border-radius: 28px; padding: 54px; color: #fff; background:
  radial-gradient(600px 300px at 0% 0%, rgb(245 158 11 / .25), transparent 60%),
  linear-gradient(135deg, var(--primary), var(--navy)); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.cta__box::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px; border-radius: 40px; border: 18px solid rgb(255 255 255 / .06); transform: rotate(18deg); animation: turn 22s linear infinite; }
@keyframes turn { to { transform: rotate(378deg); } }
.cta__box p { color: rgb(255 255 255 / .78); font-size: 1.02rem; margin: 0; }
.cta__actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; position: relative; z-index: 1; }

/* ── Footer ── */
.footer { padding: 40px 0 50px; border-top: 1px solid var(--border); }
.footer__in { display: grid; gap: 6px; justify-items: start; color: var(--muted); }
.footer__in p { margin: 0; }
.footer__small { font-size: .85rem; }

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (max-width: 980px) {
  .hero__in, .floor__in { grid-template-columns: 1fr; }
  .hero__art { max-width: 560px; margin: 10px auto 0; width: 100%; }
  .flow__grid { grid-template-columns: 1fr; }
  .flow__stage { order: -1; position: sticky; top: 72px; z-index: 2; }
  .stage { position: relative; top: 0; height: 380px; min-height: 0; }
  .step { min-height: 60vh; }
  .mgrid { grid-template-columns: repeat(2, 1fr); }
  .problem__grid { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .cta__box { grid-template-columns: 1fr; padding: 36px; }
  .cta__actions { justify-content: flex-start; }
}
@media (max-width: 820px) {
  .nav__links { position: fixed; inset: 72px 0 auto; flex-direction: column; gap: 0; margin: 0; padding: 8px 16px 18px; background: var(--card); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); transform: translateY(-120%); transition: transform .35s var(--ease); }
  .nav__links.open { transform: none; }
  .nav__links a { padding: 14px 4px; border-bottom: 1px solid var(--border); color: var(--ink); }
  .nav__cta-mobile { display: inline-flex !important; margin-top: 12px; }
  .nav__actions .btn--primary { display: none; }
  .nav__burger { display: inline-flex; }
}
@media (max-width: 560px) {
  .section { padding: 76px 0; }
  .mgrid, .pgrid { grid-template-columns: 1fr; }
  .badge { font-size: .72rem; padding: 5px 9px 5px 5px; }
  .badge .ic { width: 20px; height: 20px; }
  .hero__tag { left: 0; font-size: .75rem; }
  .stage { height: 340px; }
  .screen { inset: 50px 12px 12px; padding: 12px; }
  .srow { grid-template-columns: 96px 1fr 24px; }
  .nav__actions .btn--ghost { display: none; }
}

/* ── Respect reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* production: parts still waiting in To assign */
.card--idle { background: var(--primary-50); color: var(--primary); }
@media (prefers-color-scheme: dark) { .card--idle { color: #9fd3fb; } }
/* dispatch: pickup request and live tracking */
.pr { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .82rem; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; }
.pr b { background: var(--primary); color: #fff; padding: 2px 8px; border-radius: 6px; font-size: .75rem; }
.pr i { color: var(--amber); font-style: normal; font-weight: 800; }
.track { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .82rem; }
.track li { display: flex; align-items: center; gap: 8px; }
.track i { width: 8px; height: 8px; border-radius: 50%; background: var(--success); flex: none; }
.track i.wait { background: var(--amber); animation: blink 1.2s ease-in-out infinite; }
.track em { margin-left: auto; font-style: normal; color: var(--muted); }
@keyframes blink { 50% { opacity: .3; } }
.stage[data-step="4"] .track li { animation: rowIn .5s var(--ease) both; }
.track li:nth-child(2) { animation-delay: .3s !important; } .track li:nth-child(3) { animation-delay: .6s !important; }

/* hero status card text swaps between stages */
.hero__tag-text { transition: opacity .25s, transform .25s; min-width: 250px; }
.hero__tag-text.swap { opacity: 0; transform: translateY(6px); }

/* ════════════ Enterprise sections ════════════ */
/* extra line icons, same mask technique as the module icons */
.ic--cloud { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.5 19a4.5 4.5 0 1 0-1.4-8.8A6 6 0 0 0 4 12.5 3.5 3.5 0 0 0 6.5 19z'/%3E%3C/svg%3E"); }
.ic--db { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='12' cy='5' rx='8' ry='3'/%3E%3Cpath d='M4 5v14c0 1.7 3.6 3 8 3s8-1.3 8-3V5M4 12c0 1.7 3.6 3 8 3s8-1.3 8-3'/%3E%3C/svg%3E"); }
.ic--key { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7.5' cy='15.5' r='4.5'/%3E%3Cpath d='m10.7 12.3 9.3-9.3M16 7l3 3M14 9l2 2'/%3E%3C/svg%3E"); }
.ic--desktop { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='13' rx='2'/%3E%3Cpath d='M8 21h8M12 17v4'/%3E%3C/svg%3E"); }
.ic--shield { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-3.5 8-10V5l-8-3-8 3v7c0 6.5 8 10 8 10z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.ic--users { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20a6.5 6.5 0 0 1 13 0M16 4.5a3.5 3.5 0 0 1 0 7M18 14.5a6.5 6.5 0 0 1 3.5 5.5'/%3E%3C/svg%3E"); }
.ic--lock { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='10' width='16' height='11' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }
.ic--layers { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 2 10 5-10 5L2 7z'/%3E%3Cpath d='m2 12 10 5 10-5M2 17l10 5 10-5'/%3E%3C/svg%3E"); }
.ic--save { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3h11l3 3v13a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z'/%3E%3Cpath d='M7 3v5h8V3M7 21v-7h10v7'/%3E%3C/svg%3E"); }

/* ── Platform architecture ── */
.arch { border: 1px solid var(--border); border-radius: 28px; background: var(--card); box-shadow: var(--shadow); padding: 28px; display: grid; gap: 14px; }
.arch__layer { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; }
.arch__label { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.arch__apps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.app { display: flex; align-items: center; gap: 8px; padding: 12px; border-radius: 14px; border: 1px solid var(--border); background: var(--bg); font-weight: 700; font-size: .92rem; transition: transform .3s var(--ease), border-color .3s; }
.app .ic { width: 28px; height: 28px; flex: none; }
.app:hover { transform: translateY(-3px); border-color: var(--primary); }
.app--next { justify-content: center; border-style: dashed; color: var(--muted); font-weight: 600; background: transparent; }
.arch__bus { position: relative; height: 10px; margin-left: 168px; border-radius: 10px; background: var(--primary-50); overflow: hidden; }
.arch__bus span { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--primary), var(--amber), transparent); width: 40%; animation: bus 3.2s var(--ease) infinite; }
@keyframes bus { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.arch__layer--core { padding: 18px; border-radius: 20px; background: linear-gradient(135deg, var(--primary), var(--navy)); color: #fff; }
.arch__layer--core .arch__label { color: #9fd3fb; }
.arch__core { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.core { padding: 14px; border-radius: 14px; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .14); }
.core b { display: block; font-size: .95rem; }
.core small { display: block; margin-top: 4px; color: rgb(255 255 255 / .72); font-size: .82rem; line-height: 1.45; }
.arch__base { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-left: 168px; color: var(--muted); font-size: .88rem; font-weight: 600; }
.arch__base span { display: inline-flex; align-items: center; gap: 6px; }
.arch__base .ic { width: 22px; height: 22px; }

/* ── Solutions tabs ── */
.tabs__list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tabs__list button { font: inherit; font-weight: 600; font-size: .95rem; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--card); color: var(--muted); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.tabs__list button:hover { color: var(--ink); }
.tabs__list button[aria-selected="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.tabs__panel { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; padding: 34px; border-radius: 24px; border: 1px solid var(--border); background: var(--card); box-shadow: var(--shadow); animation: panelIn .45s var(--ease); }
.tabs__panel[hidden] { display: none; }
.tabs__panel h3 { font-size: 1.3rem; }
.tabs__panel p { color: var(--muted); margin: 0; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 6px; background: var(--primary-50); box-shadow: inset 0 0 0 2px var(--primary); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: calc(.2em + 5px); width: 8px; height: 5px; border: solid var(--primary); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
@media (prefers-color-scheme: dark) { .ticks li::before { box-shadow: inset 0 0 0 2px #7cc0f0; } .ticks li::after { border-color: #7cc0f0; } }

/* ── Security grid ── */
.sgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.scard { padding: 26px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--card); transition: transform .3s var(--ease), box-shadow .3s; }
.scard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.scard .ic { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px; -webkit-mask-size: 26px; mask-size: 26px; }
.scard p { color: var(--muted); margin: 0; }

/* ── Integrations ── */
.integ { background: var(--card); border-block: 1px solid var(--border); }
.integ__in { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.integ__ask { color: var(--muted); }
.integ__ask a, .link { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-color-scheme: dark) { .integ__ask a, .link { color: #7cc0f0; } }
.ilist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ilist li { padding: 18px; border-radius: 16px; border: 1px solid var(--border); background: var(--bg); }
.ilist b { display: block; }
.ilist span { color: var(--muted); font-size: .9rem; }

/* ── Comparison ── */
.cmp { overflow-x: auto; border-radius: 22px; border: 1px solid var(--border); background: var(--card); box-shadow: var(--shadow); }
.cmp table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .95rem; }
.cmp th, .cmp td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); }
.cmp thead th { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.cmp tbody th { font-weight: 600; }
.cmp tr:last-child > * { border-bottom: 0; }
.cmp .cmp__us { color: var(--primary); }
.cmp td:last-child { background: var(--primary-50); font-weight: 700; }
.cmp .yes { color: var(--success); }
.cmp .part { color: var(--orange); }
.cmp .no { color: var(--muted); }
@media (prefers-color-scheme: dark) { .cmp .cmp__us { color: #7cc0f0; } .cmp .part { color: #fb923c; } }

/* ── Rollout ── */
.rsteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: none; }
.rsteps li { position: relative; padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); }
.rsteps li:not(:last-child)::after { content: ""; position: absolute; top: 40px; right: -20px; width: 20px; height: 2px; background: var(--amber); }
.rsteps span { font-weight: 800; color: var(--amber); letter-spacing: .1em; }
.rsteps h3 { margin-top: 6px; }
.rsteps p { color: var(--muted); margin: 0; }

/* ── FAQ ── */
.faq__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: start; }
.qa details { border-bottom: 1px solid var(--border); }
.qa summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-weight: 700; font-size: 1.05rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 1.5rem; font-weight: 400; color: var(--primary); transition: transform .25s var(--ease); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { color: var(--muted); margin: 0 0 18px; }

/* ── Demo form inside the CTA ── */
.cta__box--form { grid-template-columns: 1fr 1fr; align-items: start; }
.cta__box--form > div { display: grid; gap: 14px; justify-items: start; position: relative; z-index: 1; }
.cta__list { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 8px; color: rgb(255 255 255 / .85); }
.cta__list li::before { content: "✓"; color: var(--amber); font-weight: 800; margin-right: 10px; }
.dform { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 22px; border-radius: 20px; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .16); }
.dform label { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; color: rgb(255 255 255 / .85); }
.dform input, .dform select, .dform textarea { font: inherit; font-size: .95rem; color: #0d2a44; background: #fff; border: 1px solid transparent; border-radius: 10px; padding: 10px 12px; width: 100%; }
.dform textarea { resize: vertical; }
.dform input[aria-invalid="true"] { border-color: var(--amber); box-shadow: 0 0 0 3px rgb(245 158 11 / .35); }
.dform__wide { grid-column: 1 / -1; }
.dform__note { margin: 0; font-size: .8rem !important; color: rgb(255 255 255 / .65) !important; }

/* ── Footer columns ── */
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 30px; color: var(--muted); }
.footer__brand p { margin: 10px 0 0; max-width: 300px; }
.footer__grid nav { display: grid; gap: 8px; align-content: start; font-size: .93rem; }
.footer__grid h4 { margin: 0 0 4px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.footer__grid nav a:hover { color: var(--ink); }
.footer__bar { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); }
.footer__bar p { margin: 0; }

@media (max-width: 980px) {
  .arch__layer { grid-template-columns: 1fr; gap: 10px; }
  .arch__apps { grid-template-columns: repeat(3, 1fr); }
  .arch__core { grid-template-columns: repeat(2, 1fr); }
  .arch__bus, .arch__base { margin-left: 0; }
  .tabs__panel, .integ__in, .faq__in { grid-template-columns: 1fr; gap: 24px; }
  .sgrid { grid-template-columns: repeat(2, 1fr); }
  .rsteps { grid-template-columns: repeat(2, 1fr); }
  .rsteps li::after { display: none; }
  .cta__box--form { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .arch { padding: 16px; border-radius: 20px; }
  .arch__apps { grid-template-columns: repeat(2, 1fr); }
  .arch__core, .sgrid, .rsteps, .ilist, .dform { grid-template-columns: 1fr; }
  .tabs__panel { padding: 22px; }
  .tabs__list { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .tabs__list button { flex: none; }
}
@media (prefers-reduced-motion: reduce) { .arch__bus span { animation: none; } }
@media (prefers-color-scheme: dark) { .qa summary::after { color: #7cc0f0; } }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 12px; background: var(--navy); color: #fff; font-size: .92rem; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); z-index: 90; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.dform button:disabled { opacity: .7; cursor: default; transform: none; }
.dform__note .link { color: #fff; }
