/* ==========================================================================
   Northline: site styles
   Look: white, ink-black type, one accent per section (green / blue / orange),
   tilted product mockups, grey diagonal bands, pencil-sketch drawings.
   Large screens: every section is a full screen and the page snaps between
   them; story sections pin and step through three states.
   ========================================================================== */

@property --p  { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --e  { syntax: '<number>'; inherits: true; initial-value: 1; }
@property --hp { syntax: '<number>'; inherits: true; initial-value: 0; }

:root {
  --ink: #0b0b0f;
  --body: #2a2a33;
  --muted: #6e6e7a;
  --line: #e7e7ec;
  --paper: #ffffff;
  --mist: #f5f5f6;

  --green: #22b866;  --green-ink: #0f9a4b;  --green-soft: #e2f6e9;
  --blue: #3a42e8;   --blue-ink: #3a42e8;   --blue-soft: #e0e2fc;
  --orange: #ff5a1f; --orange-ink: #e84a0c; --orange-soft: #ffe9df;
  --lime: #c6dc33;   --lime-ink: #6f8200;   --lime-soft: #f3f8d3;
  --sky: #6fc3da;

  --font: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 80px;
  --gutter: 24px;

  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5 5.5-6' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.acc-green  { --accent: var(--green);  --accent-ink: var(--green-ink);  --accent-soft: var(--green-soft); }
.acc-blue   { --accent: var(--blue);   --accent-ink: var(--blue-ink);   --accent-soft: var(--blue-soft); }
.acc-orange { --accent: var(--orange); --accent-ink: var(--orange-ink); --accent-soft: var(--orange-soft); }
.acc-lime   { --accent: var(--lime);   --accent-ink: var(--lime-ink);   --accent-soft: var(--lime-soft); }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body { margin: 0; font-family: var(--font); font-size: 18px; line-height: 1.5; color: var(--body); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--blue-soft); color: var(--ink); }

.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.page { overflow-x: clip; }
.wrap { width: min(1240px, 100% - var(--gutter) * 2); margin-inline: auto; }
.mono { font-family: var(--mono); font-weight: 500; letter-spacing: -.01em; }
.muted-ink { color: #a2a2ad; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

h2 { font-size: clamp(2.3rem, 4vw, 3.6rem); line-height: 1.02; letter-spacing: -.03em; }
.big { font-size: clamp(1.3rem, 2.1vw, 1.85rem); line-height: 1.45; font-weight: 500; color: var(--ink); letter-spacing: -.01em; max-width: 34em; }
.crumb { font: 500 14px var(--mono); color: var(--muted); letter-spacing: -.01em; }
.crumb a { color: inherit; text-decoration: none; }
.crumb a:hover { color: var(--ink); }
.fine { font-size: 13.5px; color: var(--muted); margin-top: 28px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45em; border-radius: 999px; border: 1.5px solid var(--ink); padding: 10px 20px; font-size: 17px; font-weight: 500; line-height: 1.1; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .3s var(--ease), background .25s, color .25s, box-shadow .3s; }
.btn b { font-weight: 700; letter-spacing: -.02em; }
.btn-lg { padding: 14px 26px; font-size: 18px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(0,0,0,.55); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 500; color: var(--ink); text-decoration: none; font-size: 18px; }
.link-arrow .i { transition: transform .35s var(--ease); }
.link-arrow:hover .i { transform: translateX(3px); }
.hero-cta .link-arrow:hover .i { transform: translateY(3px); }

/* ---------- highlight sweep ---------- */
.hl { --hl: var(--blue-soft); padding: .04em .22em; margin: 0 -.06em; background: linear-gradient(var(--hl), var(--hl)) no-repeat 0 0 / 0% 100%; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size 1.1s var(--ease) .15s, color .4s ease .45s; }
.hl.is-in, html:not(.js) .hl { background-size: 100% 100%; }
.hl-strong { --hl: var(--blue); }
.hl-strong.is-in, html:not(.js) .hl-strong { color: #fff; }

/* ---------- reveals ---------- */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
html.js .reveal.is-in { opacity: 1; transform: none; }
html.js .rise { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
html.js.is-loaded .rise { opacity: 1; transform: none; }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; transition: background .3s, box-shadow .3s; }
.nav.is-scrolled, .nav.is-open { background: rgba(255,255,255,.88); -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-in { height: var(--nav-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 31px; letter-spacing: -.045em; color: var(--ink); text-decoration: none; line-height: 1; justify-self: start; }
.brand-mark { width: .78em; height: .78em; fill: none; stroke: currentColor; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.brand-sm { font-size: 24px; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links > a, .dd-top { position: relative; display: inline-flex; align-items: center; gap: 4px; font-size: 18px; font-weight: 500; color: var(--ink); text-decoration: none; padding: 6px 0; }
.nav-links > a::after, .dd-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav-links > a:hover::after, .dd-top:hover::after, .nav-links .is-current::after { transform: scaleX(1); transform-origin: left; }
.chev { width: 14px; height: 14px; transition: transform .3s var(--ease); }

.dd { position: relative; }
.dd-menu { position: absolute; top: calc(100% + 16px); left: 50%; width: 340px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 30px 60px -30px rgba(10,10,20,.4); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .25s ease, transform .35s var(--ease), visibility 0s linear .35s; }
.dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.dd:hover .chev, .dd:focus-within .chev { transform: rotate(180deg); }
.dd-menu a { position: relative; display: block; padding: 12px 14px 12px 22px; border-radius: 10px; text-decoration: none; transition: background .2s; }
.dd-menu a::before { content: ""; position: absolute; left: 9px; top: 14px; bottom: 14px; width: 3px; border-radius: 2px; background: var(--accent); }
.dd-menu a:hover { background: var(--mist); }
.dd-menu b { display: block; font-size: 16px; font-weight: 600; color: var(--ink); }
.dd-menu small { font-size: 13.5px; color: var(--muted); }
.dd-menu .dd-all { margin-top: 4px; padding-left: 14px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; font-size: 15px; font-weight: 500; color: var(--ink); }
.dd-menu .dd-all::before { display: none; }

.nav-end { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 999px; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); transition: transform .35s var(--ease); }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu { padding: 8px var(--gutter) 24px; display: grid; max-height: calc(100svh - var(--nav-h)); overflow-y: auto; }
.menu a { font-size: 24px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line); }
.menu a.sub { font-size: 18px; font-weight: 500; color: var(--body); padding-left: 16px; }
.menu[hidden] { display: none; }

/* ==========================================================================
   SECTIONS: full screen + snapping on large screens
   ========================================================================== */
.sec { position: relative; padding: 130px 0 110px; }

@media (min-width: 960px) and (min-height: 620px) {
  html { scroll-snap-type: y mandatory; scroll-padding-top: 0; }
  .sec { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 36px) 0 56px; scroll-snap-align: start; scroll-snap-stop: always; }
  .snap-mark { position: absolute; left: 0; right: 0; height: 1px; pointer-events: none; scroll-snap-align: start; scroll-snap-stop: always; }
  .footer { scroll-snap-align: end; }
  .story { scroll-snap-align: start; scroll-snap-stop: always; }
  html:not(.pin) .story-stage { min-height: 100svh; display: flex; align-items: center; }
}

/* ==========================================================================
   HOME · HERO
   ========================================================================== */
.hero.sec { display: block; padding-top: 150px; padding-bottom: 0; }
.hero { position: relative; min-height: min(100svh, 1000px); }
.hero::after, .page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; z-index: 0; background: var(--noise), linear-gradient(180deg, rgba(240,240,242,0), #efeff1 70%); clip-path: polygon(0 55%, 100% 0, 100% 100%, 0 100%); pointer-events: none; }
.hero-in { position: relative; z-index: 3; }
.hero-copy { max-width: 640px; padding-bottom: 150px; }
.hero h1 { font-size: clamp(3rem, 5.4vw, 5rem); font-weight: 700; line-height: 1; letter-spacing: -.045em; margin-bottom: 30px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero h1 .line > span { display: inline-block; }
html.js .hero h1 .line > span { transform: translateY(108%); transition: transform 1.15s var(--ease); }
html.js .hero h1 .line:nth-child(2) > span { transition-delay: .09s; }
html.js.is-loaded .hero h1 .line > span { transform: none; }
.lead { font-size: clamp(1.12rem, 1.45vw, 1.3rem); line-height: 1.5; color: var(--ink); font-weight: 400; max-width: 31em; margin-bottom: 36px; }
.hero-cta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-meta { margin-top: 34px; font-size: 15px; color: var(--muted); }

.hero-visual { position: absolute; z-index: 2; top: 120px; left: calc(50% + 20px); width: min(900px, calc(50vw - 44px)); }
html.js .hero-visual { opacity: 0; translate: 90px 0; transition: opacity 1.2s var(--ease) .2s, translate 1.4s var(--ease) .2s; }
html.js.is-loaded .hero-visual { opacity: 1; translate: 0 0; }
.window { display: grid; grid-template-columns: 52px 1fr; background: #fff; border: 6px solid #0d0d10; border-radius: 14px; overflow: hidden; box-shadow: 0 70px 100px -50px rgba(14,14,30,.42), 0 24px 40px -24px rgba(14,14,30,.22); transform-origin: 0% 50%; transform: perspective(2400px) rotateY(calc(13deg - var(--hp) * 9deg)) rotateX(calc(3deg + var(--hp) * 5deg)) translate3d(0, calc(var(--hp) * -60px), 0); container-type: inline-size; }
.win-rail { background: #141418; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 18px 0; }
.win-rail i { width: 20px; height: 20px; border-radius: 6px; background: #2b2b33; }
.win-rail i.on { background: #fff; }
.win-rail i.last { margin-top: auto; border-radius: 50%; }
.ui.win-main { padding: 1.6em 1.8em 1.8em; font-size: clamp(8.5px, 1.7cqi, 13.5px); }
.win-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 1.3em; }
.win-title { display: block; font-size: 2em; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.win-tabs { display: flex; gap: .3em; background: #f2f2f4; padding: .3em; border-radius: .7em; }
.win-tabs span { padding: .45em .9em; border-radius: .5em; font-weight: 500; color: var(--muted); }
.win-tabs span.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9em; margin-bottom: 1.3em; }
.kpi { border: 1px solid var(--line); border-left: .32em solid var(--accent); border-radius: .6em; padding: .8em 1em; }
.kpi b { display: block; font-size: 1.9em; font-weight: 600; letter-spacing: -.03em; line-height: 1.15; color: var(--ink); }
.kpi b em { font-style: normal; font-size: .5em; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.kpi span { color: var(--muted); font-size: .9em; }
.feed { display: grid; gap: .55em; }
.feed li { display: grid; grid-template-columns: 4.6em 1fr auto; align-items: center; gap: 1em; padding: .85em 1em; border: 1px solid var(--line); border-radius: .7em; background: #fff; }
.feed li:nth-child(odd) { background: #fbfbfc; }
.kind { justify-self: start; font-size: .85em; font-weight: 600; padding: .3em .7em; border-radius: .45em; background: var(--accent-soft, #ededf0); color: var(--accent-ink, var(--muted)); }
.who b { display: block; font-weight: 600; color: var(--ink); }
.float-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; font-size: 18px; font-weight: 500; color: var(--ink); background: linear-gradient(135deg, var(--accent-soft), #fff 85%); border: 1.5px solid var(--accent); border-radius: 8px; box-shadow: 0 18px 36px -18px color-mix(in srgb, var(--accent) 70%, transparent); animation: bob 6s ease-in-out infinite; }
.float-chip .i { color: var(--accent-ink); width: 18px; height: 18px; stroke-width: 2.4; }
.chip-a { left: 22%; top: -30px; }
.chip-b { right: 8%; bottom: -30px; animation-delay: -3s; }
html.js .float-chip { opacity: 0; scale: .9; transition: opacity .7s var(--ease), scale .7s var(--ease); }
html.js.is-loaded .chip-a { opacity: 1; scale: 1; transition-delay: 1s; }
html.js.is-loaded .chip-b { opacity: 1; scale: 1; transition-delay: 1.3s; }
.play { width: 0; height: 0; border-left: 12px solid var(--accent-ink); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
@keyframes bob { 50% { transform: translateY(-9px); } }
.scroll-cue { position: absolute; z-index: 3; bottom: 36px; left: max(var(--gutter), calc((100% - 1240px) / 2)); display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--muted); font-size: 15px; opacity: calc(1 - var(--hp) * 4); }
.scroll-cue span { writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: .02em; }
.scroll-cue .i { width: 18px; height: 18px; animation: nudge 2s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateY(6px); } }

/* ==========================================================================
   HOME · HANDOFFS / WAYS / START
   ========================================================================== */
.handoffs h2 { font-size: clamp(2.5rem, 5vw, 4.6rem); letter-spacing: -.04em; margin-bottom: 34px; }
.handoff-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 48px; }
.handoff { display: inline-flex; align-items: center; gap: 14px; padding: 14px 22px; border-radius: 999px; border: 1.5px solid var(--accent); background: linear-gradient(135deg, var(--accent-soft), #fff 80%); font-size: 1.1rem; font-weight: 500; color: var(--ink); }
.handoff i { width: 46px; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 11px); background-size: 22px 2px; animation: flow 1s linear infinite; }
@keyframes flow { to { background-position: 22px 0; } }

.ways h2 { margin-bottom: 18px; }
.ways-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.way-card { display: flex; flex-direction: column; border: 1.5px solid var(--accent); border-radius: 20px; padding: 16px 16px 26px; background: #fff; color: inherit; text-decoration: none; transition: transform .45s var(--ease), box-shadow .45s var(--ease), opacity .9s var(--ease) var(--d, 0s); }
html.js .way-card.reveal.is-in { transition: opacity .9s var(--ease) var(--d, 0s), transform .6s var(--ease), box-shadow .45s var(--ease); }
.way-card:hover, html.js .way-card.reveal.is-in:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px color-mix(in srgb, var(--accent) 80%, transparent); }
.way-viz { display: grid; place-items: center; height: 180px; padding: 18px; margin-bottom: 22px; border-radius: 12px; background: var(--noise), linear-gradient(150deg, var(--accent-soft), #f6f6f7 80%); overflow: hidden; }
.way-card h3 { font-size: 1.55rem; letter-spacing: -.02em; padding: 0 12px; margin-bottom: 8px; }
.way-card p { padding: 0 12px; flex: 1; }
.way-card .go { display: inline-flex; align-items: center; gap: 8px; padding: 0 12px; margin-top: 18px; font-weight: 500; color: var(--ink); }
.way-card .go .i { transition: transform .35s var(--ease); }
.way-card:hover .go .i { transform: translateX(4px); }
i.ok { display: inline-block; width: 18px; height: 18px; border-radius: 50%; background: var(--green) var(--check) center / 11px no-repeat; flex: none; }
.vz-fields { display: grid; gap: 7px; width: 100%; max-width: 270px; }
.vz-fields span { display: grid; grid-template-columns: 3.4em 1fr auto; align-items: center; gap: 8px; padding: 8px 11px; border-radius: 8px; background: #fff; font-size: 13.5px; box-shadow: 0 8px 18px -12px rgba(0,0,0,.35); }
.vz-fields small { color: var(--muted); font-size: 12px; }
.vz-fields b { color: var(--ink); font-weight: 600; }
.vz-fields .warn { background: #fff7f3; box-shadow: inset 0 0 0 1px #ffc9b1; }
.vz-fields .warn b { color: #bf3d0a; }
.vz-bridge { display: flex; align-items: center; gap: 10px; }
.vz-old { width: 118px; padding-bottom: 6px; background: #c0c0c0; border: 2px solid; border-color: #fff #7d7d7d #7d7d7d #fff; box-shadow: 0 10px 20px -14px rgba(0,0,0,.5); }
.vz-old span { display: block; margin-bottom: 6px; padding: 3px 6px; background: linear-gradient(90deg, #0a246a, #3a6ea5); color: #fff; font: 700 10px Tahoma, Verdana, sans-serif; }
.vz-old i { display: block; height: 7px; margin: 5px 7px; background: #fff; }
.vz-pipe { width: 46px; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 11px); background-size: 22px 2px; animation: flow 1s linear infinite; }
.vz-new { padding: 12px 18px; border-radius: 10px; background: #fff; box-shadow: 0 10px 22px -14px rgba(0,0,0,.4); }
.vz-new small { display: block; font-size: 12px; color: var(--muted); }
.vz-new b { font-size: 2.2rem; font-weight: 700; line-height: 1; color: var(--orange-ink); }
.vz-opts { display: grid; gap: 7px; width: 100%; max-width: 270px; }
.vz-opts span { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; background: #fff; font-size: 13.5px; }
.vz-opts span.pick { box-shadow: inset 0 0 0 1.5px var(--ink); }
.vz-opts b { color: var(--ink); font-weight: 600; }
.risk { font-style: normal; font-size: .82em; font-weight: 600; padding: .15em .5em; border-radius: .3em; white-space: nowrap; }
.risk.hi { background: #ffe5d8; color: #bf3d0a; }
.risk.mid { background: #fff3d1; color: #855600; }
.risk.lo { background: #dbf4e5; color: #0b7a3b; }

.two-tone { font-size: clamp(2.8rem, 5.4vw, 5rem); letter-spacing: -.045em; line-height: 1; margin-bottom: 26px; }
.two-tone span { display: block; }
.two-tone span:last-child { color: var(--sky); }
.promise-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.promise-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px 8px 10px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink); }
.promise-chips li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--ink) var(--check) center / 11px no-repeat; }

/* ==========================================================================
   PAGE INTROS (use cases, integrations, about…)
   ========================================================================== */
.page-hero { overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1, .connect-hero h1 { font-size: clamp(3rem, 6vw, 5.6rem); font-weight: 700; line-height: 1; letter-spacing: -.045em; margin: 16px 0 24px; max-width: 12em; }
.page-hero .lead { max-width: 33em; margin-bottom: 0; }
.page-hero .crumb b { font-weight: 500; color: var(--accent-ink, var(--ink)); }
.page-hero.split .wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.page-hero.split h1 { font-size: clamp(2.8rem, 4.8vw, 4.5rem); max-width: 9em; }
.scope-note { max-width: 32em; margin-top: 20px; padding-left: 14px; border-left: 3px solid var(--accent, var(--line)); font-size: 15.5px; color: var(--body); }
.scope-note b { font-weight: 600; color: var(--ink); }
.ex-tag { display: inline-block; margin-bottom: 14px; padding: 4px 11px; border: 1.5px solid var(--accent); border-radius: 999px; background: rgba(255,255,255,.75); font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--accent-ink); }
.viz-tag { font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.uc-label { margin-bottom: 12px; font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.uc-more { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding: 18px 24px; border: 1.5px dashed #c9c9d2; border-radius: 14px; color: var(--body); text-decoration: none; transition: border-color .25s, background .25s; }
.uc-more b { margin-right: 8px; font-weight: 600; color: var(--ink); }
.uc-more .i { width: 20px; height: 20px; color: var(--ink); transition: transform .3s var(--ease); }
.uc-more:hover { border-color: var(--ink); background: #fff; }
.uc-more:hover .i { transform: translateX(4px); }
.ph-hint { display: inline-flex; align-items: center; gap: 8px; margin-top: 34px; font-size: 15px; color: var(--muted); }
.ph-hint .i { animation: nudge 2s var(--ease) infinite; }
.uc-hero .ways-grid { margin-top: 40px; }
html.js.is-loaded .way-card.rise:hover { transform: translateY(-6px); }

/* --- Workflow automation intro: today vs. with automation --- */
.ba { background: #fff; border: 1.5px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 50px 80px -55px rgba(14,14,30,.5); }
.ba-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 20px; background: #fafafa; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.ba-head .mono { color: var(--ink); }
.ba-row { display: grid; grid-template-columns: 2.2em minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1.15fr); gap: 14px; align-items: center; padding: 18px 20px; border-top: 1px solid var(--line); color: inherit; text-decoration: none; transition: background .2s; }
.ba-h { padding-block: 10px; border-top: 0; font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
a.ba-row:hover { background: #f7fbf8; }
.ba-n { font: 500 13px var(--mono); color: var(--green-ink); }
.ba-stage b { display: block; font-size: 16px; color: var(--ink); }
.ba-stage small { font-size: 13px; color: var(--muted); }
.ba-today { position: relative; padding-left: 24px; font-size: 14.5px; line-height: 1.35; color: #8a8a96; }
.ba-today::before { content: ""; position: absolute; left: 0; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: #f3ded6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 5l6 6M11 5l-6 6' stroke='%23c2410c' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 10px no-repeat; }
.ba-after { position: relative; padding: 10px 12px 10px 36px; border-radius: 10px; background: var(--green-soft); font-size: 14.5px; font-weight: 600; line-height: 1.3; color: #0b5e30; }
.ba-after::before { content: ""; position: absolute; left: 10px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--green) var(--check) center / 11px no-repeat; }
html.js a.ba-row { opacity: 0; transform: translateY(10px); transition: opacity .5s ease calc(.55s + var(--i) * .22s), transform .6s var(--ease) calc(.55s + var(--i) * .22s), background .2s; }
html.js .ba-after { opacity: 0; transform: translateX(-8px); transition: opacity .5s ease calc(.95s + var(--i) * .22s), transform .6s var(--ease) calc(.95s + var(--i) * .22s); }
html.js.is-loaded a.ba-row, html.js.is-loaded .ba-after { opacity: 1; transform: none; }

/* --- Systems integration intro: one legacy ERP, three modern uses --- */
.hub { display: grid; grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr); align-items: stretch; }
.hub .legacy.hub-old { align-self: center; font-size: 13px; }
.hub .lg-row { grid-template-columns: 3.4em 1fr 3.4em; }
.hub-lines { width: 100%; height: 100%; overflow: visible; }
.hub-lines path { fill: none; stroke: var(--blue); stroke-width: 2; stroke-dasharray: 6 5; vector-effect: non-scaling-stroke; animation: hubflow 1s linear infinite; }
@keyframes hubflow { to { stroke-dashoffset: -11; } }
.hub-out { display: grid; gap: 14px; align-content: center; }
.hub-tile { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding: 16px 18px; background: #fff; border: 1.5px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; color: inherit; text-decoration: none; box-shadow: 0 18px 34px -26px rgba(10,10,25,.45); transition: transform .35s var(--ease), border-color .25s; }
.hub-tile small { grid-column: 1; font-size: 13px; color: var(--muted); }
.hub-tile b { grid-column: 1; font-size: 17px; font-weight: 600; color: var(--ink); }
.hub-tile .i { grid-column: 2; grid-row: 1 / 3; color: var(--accent-ink); transition: transform .35s var(--ease); }
.hub-tile:hover { transform: translateX(4px); border-color: var(--accent); }
html.js .hub-tile { opacity: 0; transform: translateX(-12px); transition: opacity .5s ease calc(.7s + var(--i) * .2s), transform .6s var(--ease) calc(.7s + var(--i) * .2s), border-color .25s; }
html.js.is-loaded .hub-tile { opacity: 1; transform: none; }
html.js.is-loaded .hub-tile:hover { transform: translateX(4px); }

/* --- ERP modernization intro: phased roadmap --- */
.road { display: grid; gap: 12px; padding: 22px 24px 20px; background: #fff; border: 1.5px solid var(--line); border-radius: 18px; box-shadow: 0 50px 80px -55px rgba(14,14,30,.5); }
.road-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.road-head b { font-size: 18px; font-weight: 600; color: var(--ink); }
.road-head small { font-size: 14px; color: var(--muted); }
.road-row { display: grid; grid-template-columns: 8em repeat(4, minmax(0, 1fr)); column-gap: 6px; align-items: center; }
.road-phases a { display: flex; flex-direction: column; gap: 6px; padding: 0 4px 12px; border-bottom: 1px dashed var(--line); font-size: 14.5px; font-weight: 600; color: var(--ink); text-decoration: none; transition: color .2s; }
.road-phases a span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--orange-soft); color: var(--orange-ink); font: 600 12px var(--mono); }
.road-phases a:hover { color: var(--orange-ink); }
.lane-name { font-size: 14px; font-weight: 500; color: var(--ink); }
.bar { display: flex; align-items: center; height: 34px; padding: 0 12px; overflow: hidden; border-radius: 8px; font-size: 12.5px; font-style: normal; font-weight: 600; white-space: nowrap; transform-origin: left center; }
.b-old { grid-column: 2 / 5; background: #e6e6ec; color: #4a4a55; }
.b-end { grid-column: 5 / 6; background: linear-gradient(90deg, #e6e6ec, rgba(230,230,236,0)); color: #9a9aa6; }
.b-arch { grid-column: 3 / 6; background: repeating-linear-gradient(135deg, var(--blue-soft) 0 8px, #fff 8px 14px); box-shadow: inset 0 0 0 1.5px var(--blue); color: #2a31c4; }
.b-par { grid-column: 4 / 5; background: repeating-linear-gradient(135deg, var(--orange-soft) 0 8px, #fff 8px 14px); box-shadow: inset 0 0 0 1.5px var(--orange); color: #bf3d0a; }
.b-live { grid-column: 5 / 6; background: var(--orange); color: #fff; }
.road-note { margin-top: 6px; font-size: 13.5px; color: var(--muted); }
html.js .bar { transform: scaleX(0); transition: transform .9s var(--ease) calc(.6s + var(--i) * .22s); }
html.js.is-loaded .bar { transform: none; }

/* ==========================================================================
   SHARED MOCKUP UI (sizes in em, scaled to the device by container units)
   ========================================================================== */
.ui { font-size: clamp(8px, 1.95cqi, 13.5px); line-height: 1.35; color: #1b1b22; height: 100%; }
.ui small { display: block; font-size: .85em; color: #8a8a96; }
.ui b { font-weight: 600; }
.st { display: inline-flex; align-items: center; gap: .35em; font-style: normal; font-size: .88em; font-weight: 600; padding: .35em .75em; border-radius: .5em; white-space: nowrap; }
.st-green  { background: #dbf4e5; color: #0b7a3b; }
.st-blue   { background: #e1e3fd; color: #2a31c4; }
.st-orange { background: #ffe5d8; color: #bf3d0a; }
.st-grey   { background: #ededf0; color: #5a5a66; }
.dots { display: inline-flex; gap: .18em; margin-left: .1em; }
.dots i { width: .28em; height: .28em; border-radius: 50%; background: currentColor; animation: blink 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: .2s; }
.dots i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.avatar { display: grid; place-items: center; width: 2.6em; height: 2.6em; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; font-size: .95em; flex: none; }
.ui-top { display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: 1.1em 1.3em; border-bottom: 1px solid #ececf0; background: #fff; }
.ui-id { display: flex; align-items: center; gap: .8em; min-width: 0; }
.ui-id b { display: block; color: var(--ink); white-space: nowrap; }
.ui-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 1.1em; padding: 1.1em 1.3em; }
.ui-foot { display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: .9em 1.3em; border-top: 1px solid #ececf0; background: #fff; margin-top: auto; }
.btn-ui { display: inline-flex; align-items: center; gap: .45em; padding: .6em 1.1em; border-radius: .6em; font-weight: 600; white-space: nowrap; }
.btn-ui.ghost { background: #f0f0f3; color: var(--muted); }
.btn-ui.go { background: var(--ink); color: #fff; }
.btn-ui .i { stroke-width: 2.4; }
.swap { display: inline-grid; }
.swap.block { display: grid; }
.swap.end { justify-items: end; }
.swap > * { grid-area: 1 / 1; }
.pulse { position: relative; width: .7em; height: .7em; border-radius: 50%; background: var(--green); flex: none; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green); animation: ping 1.8s ease-out infinite; }
@keyframes ping { to { transform: scale(2.8); opacity: 0; } }
@keyframes shimmer { to { background-position: -200% 0; } }
.sk { display: block; height: .8em; width: 70%; min-width: 5em; border-radius: .3em; background: linear-gradient(90deg, #f0f0f3 0%, #e6e6ea 50%, #f0f0f3 100%) 0 0 / 200% 100%; animation: shimmer 1.4s linear infinite; }
.dwg { width: 100%; height: auto; background: #fbfcff; border-radius: .4em; }
.dwg-frame { fill: none; stroke: #cfd3de; stroke-width: 1; }
.dwg-part { fill: #eef1f8; stroke: #39405a; stroke-width: 1.4; }
.dwg-dim { fill: none; stroke: #8a91a8; stroke-width: .8; }
.dwg-txt { font: 500 7px var(--mono); fill: #4d5470; }
.diff { fill: none; stroke: var(--orange); stroke-width: 2; stroke-dasharray: 3 2; }

/* ==========================================================================
   STORY SECTIONS (pinned, scroll-driven)
   ========================================================================== */
.story { position: relative; }
.story-track { position: relative; }
.story-stage { position: relative; overflow: hidden; padding: 100px 0 90px; --p: 1; --e: 1; }
html.pin .story-track { height: 300vh; height: 300svh; }
html.pin .story-stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 64px 0 0; display: flex; align-items: center; }

.band { position: absolute; left: -8%; right: -8%; top: 12%; bottom: 6%; z-index: 0; background: var(--noise), radial-gradient(60% 80% at 18% 32%, #f7f7f8 0%, rgba(247,247,248,0) 70%), radial-gradient(55% 75% at 82% 72%, #e3e3e7 0%, rgba(227,227,231,0) 70%), #ececef; clip-path: polygon(0 24%, 100% 0, 100% 76%, 0 100%); transform: translateY(calc((1 - var(--e)) * -90px + (.5 - var(--p)) * 40px)); }
.story.flip .band { clip-path: polygon(0 0, 100% 24%, 100% 100%, 0 76%); }

.sketch { position: absolute; z-index: 1; fill: none; stroke: #8f8f99; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.sketch .pencil, .more-ico .pencil, .ring .pencil { filter: url(#pencil); }
.sketch path { stroke-dasharray: 1; stroke-dashoffset: max(0, calc(1 - var(--e) * .45 - var(--p) * 1.3)); }
.sketch .ticks { stroke-dasharray: none; stroke-dashoffset: 0; opacity: min(1, calc(var(--p) * 2.2)); }
.sketch-caliper { width: min(620px, 46vw); right: 2%; bottom: 9%; transform: rotate(-17deg) translateY(calc((.5 - var(--p)) * 30px)); opacity: .75; }
.story.flip .sketch-caliper { right: auto; left: 2%; transform: rotate(14deg) translateY(calc((.5 - var(--p)) * 30px)); }
.sketch-gear { width: min(300px, 24vw); right: 4%; bottom: 7%; transform: rotate(calc(var(--p) * 40deg)); opacity: .55; }
.sketch-cabinet { width: min(210px, 17vw); right: 6%; bottom: 8%; transform: rotate(4deg) translateY(calc((.5 - var(--p)) * 30px)); opacity: .55; }
.story.flip .sketch-cabinet { right: auto; left: 5%; transform: rotate(-4deg) translateY(calc((.5 - var(--p)) * 30px)); }
.sketch-stand { position: relative; width: 74%; margin: -2px auto 0; opacity: .8; }

.story-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.story.flip .story-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.32fr); }
.story.flip .story-device { order: 2; }
.story-device { display: flex; flex-direction: column; align-items: center; }
.device { width: min(100%, 680px, calc((100svh - 250px) * 1.3)); transform-origin: 50% 60%; transform: translate3d(0, calc((1 - var(--e)) * 150px), 0) perspective(1800px) rotateX(calc(15deg - var(--p) * 10deg)) rotateY(calc(var(--ry, 11deg) * (1 - var(--p) * .45))) rotateZ(calc(var(--rz, -7deg) + var(--p) * 2.5deg)); will-change: transform; }
.story.flip .device { --ry: -11deg; --rz: 6deg; }
.screen { container-type: inline-size; overflow: hidden; background: #f6f6f8; }
.screen > .ui { display: flex; flex-direction: column; }
.tablet { background: #0e0e11; border-radius: 34px; padding: 14px; box-shadow: 0 60px 90px -45px rgba(10,10,25,.5), 0 25px 40px -28px rgba(10,10,25,.35); }
.tablet .screen { border-radius: 22px; aspect-ratio: 4 / 3; }
.monitor { background: #0e0e11; border-radius: 12px; padding: 9px; box-shadow: 0 60px 90px -45px rgba(10,10,25,.45); }
.monitor .screen { border-radius: 4px; aspect-ratio: 16 / 10; }
.monitor + .sketch-stand { transform: translate3d(0, calc((1 - var(--e)) * 150px), 0); }

.story-copy h2 { color: var(--accent-ink); margin-bottom: 22px; max-width: 10em; }
.story-copy > p { font-size: clamp(1.05rem, 1.35vw, 1.22rem); color: var(--ink); font-weight: 400; max-width: 25em; }
.callout { display: grid; margin-top: 34px; max-width: 360px; padding: 18px 24px; text-align: center; font-size: 1.1rem; font-weight: 500; line-height: 1.35; color: var(--ink); background: linear-gradient(135deg, var(--accent-soft), #fff 88%); border: 1.5px solid var(--accent); border-radius: 8px; box-shadow: 0 20px 40px -24px color-mix(in srgb, var(--accent) 80%, transparent); }
.callout > span { grid-area: 1 / 1; align-self: center; opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.story-stage[data-step="0"] .c0, .story-stage[data-step="1"] .c1, .story-stage[data-step="2"] .c2 { opacity: 1; transform: none; }
.pips { display: flex; gap: 6px; margin-top: 18px; }
.pips i { width: 22px; height: 4px; border-radius: 2px; background: color-mix(in srgb, var(--accent) 22%, #fff); transition: background .4s, width .4s var(--ease); }
.story-stage[data-step="0"] .pips i:nth-child(1), .story-stage[data-step="1"] .pips i:nth-child(-n+2), .story-stage[data-step="2"] .pips i { background: var(--accent); }
.story-stage[data-step="0"] .pips i:nth-child(1), .story-stage[data-step="1"] .pips i:nth-child(2), .story-stage[data-step="2"] .pips i:nth-child(3) { width: 40px; }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; position: relative; z-index: 2; }
.tags li { font-size: 15px; padding: 6px 15px; border-radius: 999px; color: var(--body); background: rgba(255,255,255,.85); border: 1.5px solid color-mix(in srgb, var(--accent) 28%, #fff); transition: background .4s, border-color .4s, color .4s; }
.story-stage[data-step="0"] .tags [data-on="0"], .story-stage[data-step="1"] .tags [data-on="1"], .story-stage[data-step="2"] .tags [data-on="2"] { background: var(--accent-soft); border-color: var(--accent); color: var(--ink); }

/* step-driven visibility inside mockups */
.story-stage [data-show] { opacity: 0; transform: translateY(6px); transition: opacity .45s ease calc(var(--i, 0) * 90ms), transform .45s var(--ease) calc(var(--i, 0) * 90ms); }
.story-stage svg [data-show] { transform: none; }
.story-stage[data-step="0"] [data-show~="0"], .story-stage[data-step="1"] [data-show~="1"], .story-stage[data-step="2"] [data-show~="2"] { opacity: 1; transform: none; }

/* --- RFQ --- */
.mail { display: flex; flex-direction: column; gap: .55em; background: #fff; border: 1px solid #ececf0; border-radius: .8em; padding: 1em; }
.mail > b { color: var(--ink); font-size: 1.05em; }
.mail p { color: #4a4a55; }
.mail .dwg { margin-top: .2em; }
.attach { display: inline-flex; align-items: center; gap: .4em; align-self: flex-start; padding: .35em .7em; border-radius: .5em; background: #f2f2f5; color: #3f3f4a; font-size: .9em; }
.fields { display: grid; gap: .55em; align-content: start; }
.field { position: relative; min-height: 3.3em; border-radius: .7em; background: #fff; border: 1px solid #ececf0; padding: .55em .85em; overflow: hidden; }
.field > div { display: grid; grid-template-columns: 1fr auto; column-gap: .6em; }
.field small { grid-column: 1 / -1; }
.field b { color: var(--ink); }
.field.warn { border-color: #ffc9b1; background: #fff7f3; }
.field.warn em { font-style: normal; font-size: .82em; font-weight: 600; color: #bf3d0a; align-self: center; }
.field::after { content: ""; position: absolute; inset: .75em .85em; border-radius: .4em; background: linear-gradient(90deg, #f0f0f3 0%, #e6e6ea 50%, #f0f0f3 100%) 0 0 / 200% 100%; animation: shimmer 1.4s linear infinite; opacity: 0; transition: opacity .3s; }
.story-stage[data-step="0"] .field::after { opacity: 1; }
.meter { flex: 1; height: .45em; border-radius: 1em; background: #ececf0; overflow: hidden; max-width: 55%; }
.meter i { display: block; height: 100%; width: calc(min(1, var(--p) * 1.5) * 100%); background: var(--green); border-radius: inherit; }

/* --- orders --- */
.timeline { position: relative; padding: 1.1em 1.3em .3em; }
.tl-line { position: absolute; left: calc(1.3em + 4%); right: calc(1.3em + 4%); top: 1.62em; height: .22em; border-radius: 1em; background: #e3e3e9; }
.tl-line i { display: block; height: 100%; width: calc(36% + var(--p) * 6%); border-radius: inherit; background: var(--blue); }
.timeline ol { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); text-align: center; font-size: .9em; color: var(--muted); }
.timeline li::before { content: ""; display: block; width: 1em; height: 1em; margin: 0 auto .5em; border-radius: 50%; background: #fff; border: .2em solid #d8d8df; }
.timeline li.done::before { background: var(--blue); border-color: var(--blue); }
.timeline li.now { color: var(--ink); font-weight: 600; }
.timeline li.now::before { border-color: var(--blue); box-shadow: 0 0 0 .3em var(--blue-soft); }
.story-stage[data-step="1"] .timeline li.now::before, .story-stage[data-step="2"] .timeline li.now::before { border-color: var(--orange); box-shadow: 0 0 0 .3em var(--orange-soft); }
.order-split { grid-template-columns: .8fr 1.4fr; padding-top: .6em; }
.tiles { display: grid; gap: .55em; align-content: start; }
.tile { background: #fff; border: 1px solid #ececf0; border-left: .3em solid var(--blue); border-radius: .6em; padding: .55em .85em; }
.tile b { display: block; color: var(--ink); font-size: 1.12em; }
.tile s { color: var(--muted); font-weight: 500; margin-right: .2em; }
.order-side { display: grid; gap: .6em; align-content: start; }
.watching, .alert { display: flex; gap: .7em; align-items: center; padding: .8em .95em; border-radius: .7em; background: #fff; border: 1px solid #ececf0; }
.alert { background: #fff6f1; border-color: #ffccb6; }
.alert .i { width: 1.5em; height: 1.5em; color: var(--orange); }
.alert b, .watching b { display: block; color: var(--ink); }
.draft { background: #fff; border: 1.5px solid var(--blue); border-radius: .8em; padding: .85em 1em; box-shadow: 0 .8em 1.6em -1em rgba(58,66,232,.45); }
.draft p { margin: .35em 0 .75em; color: #33333d; }
.draft-actions { display: flex; justify-content: flex-end; gap: .5em; }
.draft .btn-ui.go { background: var(--blue); }
.orders-list { display: grid; gap: .4em; padding: 0 1.3em 1.1em; }
.ol-row { display: grid; grid-template-columns: 4.2em 1fr auto; align-items: center; gap: .8em; padding: .55em .85em; border-radius: .6em; background: #fff; border: 1px solid #ececf0; }
.ol-row > span:nth-child(2) { color: #4a4a55; }

/* --- revisions --- */
.rev-split { grid-template-columns: 1fr; gap: .8em; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: .7em; }
.compare figure { margin: 0; background: #fff; border: 1px solid #ececf0; border-radius: .7em; padding: .55em .65em .65em; }
.compare figcaption { font-size: .85em; font-weight: 600; color: var(--muted); margin-bottom: .35em; }
.compare figure:last-child figcaption { color: var(--orange-ink); }
.rev-side { display: grid; grid-template-columns: 1fr 1fr; gap: .9em; align-content: start; }
.changes, .notify { display: grid; gap: .45em; align-content: start; }
.chg, .who-row { display: flex; justify-content: space-between; align-items: center; gap: .6em; padding: .6em .85em; border-radius: .6em; background: #fff; border: 1px solid #ececf0; }
.chg { border-left: .3em solid var(--orange); }
.chg span, .who-row span { color: #4a4a55; }
.chg b { color: var(--ink); }
.who-row em { font-style: normal; font-weight: 600; color: var(--ink); }
.who-row::before { content: ""; width: .55em; height: .55em; border-radius: 50%; background: var(--green); flex: none; }
.who-row span { margin-right: auto; }
.ui-rev .ui-foot small, .ui-sync .ui-foot small, .ui-search .ui-foot small, .ui-archive .ui-foot small, .ui-shadow .ui-foot small { color: var(--muted); }

/* --- legacy bridge --- */
.bridge { display: grid; grid-template-columns: 1.05fr 4.6em 1.1fr; align-items: center; gap: .5em; padding: 1.3em; margin: auto 0; }
.legacy { background: #c0c0c0; border: 2px solid; border-color: #fff #7d7d7d #7d7d7d #fff; font-family: Tahoma, Verdana, Geneva, sans-serif; font-size: .84em; color: #000; box-shadow: 0 1.2em 2em -1.4em rgba(0,0,0,.45); }
.lg-bar { display: flex; justify-content: space-between; align-items: center; gap: .5em; padding: .3em .45em; background: linear-gradient(90deg, #0a246a, #3a6ea5); color: #fff; font-weight: 700; white-space: nowrap; }
.lg-btns { display: flex; gap: .2em; }
.lg-btns i { width: 1.1em; height: .95em; background: #c0c0c0; border: 1px solid; border-color: #fff #404040 #404040 #fff; }
.lg-menu { display: flex; gap: 1em; padding: .25em .6em; }
.lg-table { margin: 0 .45em .45em; background: #fff; border: 2px solid; border-color: #7d7d7d #fff #fff #7d7d7d; font-family: "Courier New", Courier, monospace; }
.lg-row { display: grid; grid-template-columns: 3.4em 1fr 3.6em 3.6em; gap: .3em; padding: .22em .45em; white-space: nowrap; overflow: hidden; }
.lg-h { background: #000080; color: #fff; font-weight: 700; }
.lg-row:nth-child(odd):not(.lg-h) { background: #f1f1f1; }
.lg-status { padding: .2em .55em .35em; border-top: 1px solid #fff; color: #222; }
.pipe { display: grid; justify-items: center; gap: .6em; text-align: center; }
.pipe-line { position: relative; width: 100%; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 11px); background-size: 22px 2px; animation: flow 1s linear infinite; }
.pipe-line::after { content: ""; position: absolute; right: -2px; top: -4px; border-left: 7px solid var(--accent); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.pipe small { font-family: var(--mono); font-size: .74em; line-height: 1.3; color: var(--muted); }
.dash { background: #fff; border: 1px solid #ececf0; border-radius: .7em; padding: .9em; display: grid; gap: .8em; }
.dash-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5em; }
.dt { border: 1px solid #ececf0; border-radius: .5em; padding: .45em .6em; min-height: 3.5em; }
.dt b { display: block; font-size: 1.55em; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.dt.warn b { color: var(--orange-ink); }
.late { display: grid; gap: .4em; }
.late-row { display: grid; grid-template-columns: 3.3em 1fr auto; gap: .5em; align-items: center; padding: .45em .6em; border: 1px solid #ececf0; border-radius: .5em; }

/* --- ERP ↔ QuickBooks sync --- */
.sync { display: grid; grid-template-columns: 1fr 3.4em 1fr; align-items: center; gap: .4em; padding: 1.2em 1.3em .6em; }
.sys { background: #fff; border: 1px solid #ececf0; border-radius: .7em; overflow: hidden; }
.sys-h { display: flex; justify-content: space-between; align-items: baseline; gap: .5em; padding: .6em .85em; border-bottom: 1px solid #ececf0; background: #fafafb; }
.sys-h b { color: var(--ink); }
.sys.qb .sys-h b { color: var(--green-ink); }
.sys dl { margin: 0; padding: .2em .85em .4em; }
.sys dl > div { display: grid; grid-template-columns: 4.4em minmax(0, 1fr); align-items: center; gap: .5em; padding: .45em 0; border-bottom: 1px dashed #ececf0; }
.sys dl > div:last-child { border-bottom: 0; }
.sys dt { color: #8a8a96; font-size: .88em; }
.sys dd { margin: 0; min-width: 0; color: var(--ink); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sys .hot dd { color: var(--green-ink); font-weight: 600; }
.match { display: flex; align-items: center; gap: .5em; margin: .5em 1.3em 0; padding: .6em .85em; border-radius: .6em; background: #effaf3; color: #0b7a3b; font-size: .9em; }
.match .i { stroke-width: 2.4; }

/* --- job history search --- */
.search-bar { display: flex; align-items: center; gap: .6em; margin: 1.2em 1.3em .5em; padding: .75em 1em; background: #fff; border: 1.5px solid var(--ink); border-radius: .7em; }
.search-bar > .i { width: 1.2em; height: 1.2em; color: var(--muted); }
.q { color: var(--ink); }
.caret { width: 2px; height: 1.1em; background: var(--ink); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.search-bar .swap { margin-left: auto; }
.results { display: grid; gap: .5em; padding: .5em 1.3em 1em; }
.res { display: grid; grid-template-columns: 6.6em minmax(0, 1fr) auto; align-items: center; gap: .8em; padding: .65em .85em; background: #fff; border: 1px solid #ececf0; border-radius: .6em; }
.src { justify-self: start; padding: .25em .6em; border-radius: .4em; background: var(--blue-soft); color: #2a31c4; font-size: .78em; font-weight: 600; white-space: nowrap; }
.src.drv { background: var(--orange-soft); color: #bf3d0a; }
.res b { color: var(--ink); }
.price { color: var(--ink); }
.open { font-size: .85em; font-weight: 600; color: var(--blue); }

/* --- migration readiness --- */
.inv { margin: 1em 1.3em 0; border: 1px solid #ececf0; border-radius: .6em; overflow: hidden; background: #fff; }
.inv-row { display: grid; grid-template-columns: 1fr 5.5em 1.7fr; gap: .9em; align-items: center; padding: .55em .9em; border-top: 1px solid #ececf0; }
.inv-h { border-top: 0; background: #fafafb; font: 500 .78em var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.inv-row > span:nth-child(2) { text-align: right; }
.inv-row:not(.inv-h) > span:first-child { color: var(--ink); font-weight: 500; }
.f { font-style: normal; font-weight: 600; font-size: .92em; color: var(--body); }
.f.warn { color: #bf3d0a; }
.f.info { color: #2a31c4; }
.options { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6em; padding: .9em 1.3em 1.1em; margin-top: auto; }
.opt { background: #fff; border: 1px solid #ececf0; border-radius: .6em; padding: .6em .75em; }
.opt.pick { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.opt b { display: block; color: var(--ink); margin: .15em 0 .4em; font-size: .95em; }

/* --- history archive --- */
.arch-split { grid-template-columns: 1fr 1fr; }
.arch-col { display: grid; gap: .3em; align-content: start; padding: .8em .9em; background: #fff; border: 1px solid #ececf0; border-radius: .7em; }
.arch-col.vault { background: #f6f7fb; border-style: dashed; border-color: #cfd3e0; }
.arch-row { display: grid; grid-template-columns: 1fr auto 1.3em; align-items: center; gap: .6em; padding: .4em 0; border-bottom: 1px dashed #ececf0; }
.arch-row:last-child { border-bottom: 0; }
.arch-row b { color: var(--ink); }
.arch-row i.ok { width: 1.15em; height: 1.15em; background-size: .7em; }
.lk { width: 1.15em; height: 1.15em; color: var(--muted); }
.arch-search { display: flex; align-items: center; gap: .7em; margin: 0 1.3em 1em; padding: .65em .9em; background: #fff; border: 1.5px solid var(--blue); border-radius: .6em; }
.arch-search > .i { width: 1.1em; height: 1.1em; color: var(--muted); }
.arch-search .st { margin-left: auto; }

/* --- side-by-side --- */
.cmp { margin: 1em 1.3em 0; border: 1px solid #ececf0; border-radius: .6em; overflow: hidden; background: #fff; }
.cmp-row { display: grid; grid-template-columns: 1fr 1.4fr 1fr 5.5em; gap: .8em; align-items: center; padding: .55em .9em; border-top: 1px solid #ececf0; }
.cmp-row .st { justify-self: start; }
.cmp-h { border-top: 0; background: #fafafb; font: 500 .78em var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.cmp-under { margin: .8em 1.3em 1em; }
.cmp-note { display: flex; gap: .7em; align-items: center; padding: .75em .9em; background: #fff6f1; border: 1px solid #ffccb6; border-radius: .6em; }
.cmp-note .i { width: 1.4em; height: 1.4em; color: var(--orange); }
.cmp-note b { display: block; color: var(--ink); }
.plan { display: flex; flex-wrap: wrap; align-content: center; gap: .45em; }
.pl { padding: .45em .8em; border-radius: .5em; background: #fff; border: 1px solid #e3e3e9; font-size: .9em; color: #4a4a55; }
.pl.on { background: var(--green-soft); border-color: var(--green); color: #0b7a3b; font-weight: 600; }

/* ==========================================================================
   USE CASES INDEX
   ========================================================================== */
.uc-group:nth-of-type(odd) { background: #fafafa; }
.uc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
.uc-head .n { font: 500 14px var(--mono); color: var(--accent-ink); }
.uc-head h2 { color: var(--accent-ink); margin: 6px 0 12px; }
.uc-head p { font-size: 1.2rem; color: var(--ink); }
.uc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.uc-card { display: flex; flex-direction: column; padding: 24px 24px 22px; background: #fff; border: 1.5px solid var(--line); border-top: 4px solid var(--accent); border-radius: 14px; color: inherit; text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s, opacity .9s var(--ease) var(--d, 0s); }
html.js .uc-card.reveal.is-in { transition: opacity .9s var(--ease) var(--d, 0s), transform .5s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.uc-card:hover, html.js .uc-card.reveal.is-in:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 24px 44px -30px color-mix(in srgb, var(--accent) 80%, transparent); }
.uc-card h3 { font-size: 1.3rem; letter-spacing: -.02em; margin-bottom: 6px; }
.uc-card p { flex: 1; font-size: 1.02rem; }
.uc-go { margin-top: 16px; font-size: 15px; font-weight: 500; color: var(--accent-ink); }

/* ==========================================================================
   INTEGRATIONS
   ========================================================================== */
.connect-hero { background: #fafafa; }
.connect-hero .big { margin-top: 0; }
.marquee { margin: 54px 0 0; display: grid; gap: 14px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; padding-inline: var(--gutter); }
html.js .marquee-row { flex-wrap: nowrap; width: max-content; padding: 0; animation: slide 60s linear infinite; }
html.js .marquee-row.rev { animation-direction: reverse; animation-duration: 70s; }
html.js .marquee-row.legacy-row { animation-duration: 50s; }
.marquee:hover .marquee-row { animation-play-state: paused; }
.marquee-row li { padding: 13px 24px; border-radius: 999px; background: #fff; border: 1.5px solid var(--c, var(--line)); font-size: 1.15rem; font-weight: 500; color: var(--ink); white-space: nowrap; }
.marquee-row li:nth-child(5n+1) { --c: var(--green); }
.marquee-row li:nth-child(5n+2) { --c: var(--lime); }
.marquee-row li:nth-child(5n+3) { --c: var(--blue); }
.marquee-row li:nth-child(5n+4) { --c: var(--orange); }
.marquee-row li:nth-child(5n+5) { --c: var(--sky); }
.marquee-row.legacy-row li { border-style: dashed; --c: #b6b6c0; color: var(--body); }
@keyframes slide { to { transform: translateX(-50%); } }

.fit h2 { margin-bottom: 40px; }
.flow { display: grid; grid-template-columns: 1fr 70px 1.1fr 70px 1fr; align-items: center; }
.flow-col, .flow-core { border-radius: 18px; padding: 26px 28px; background: #fff; border: 1.5px solid var(--line); }
.flow-col small { display: block; font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.flow-col ul, .flow-core ul { display: flex; flex-wrap: wrap; gap: 8px; }
.flow-col li { padding: 6px 13px; border-radius: 999px; background: #f2f2f4; font-size: 16px; font-weight: 500; color: var(--ink); }
.flow-core { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 30px 60px -30px rgba(10,10,20,.6); }
.flow-core .brand { color: #fff; margin-bottom: 16px; }
.flow-core li { padding: 6px 13px; border-radius: 999px; background: #24242b; font-size: 16px; font-weight: 500; }
.flow-pipe { position: relative; height: 2px; margin: 0 6px; background: repeating-linear-gradient(90deg, var(--blue) 0 7px, transparent 7px 13px); background-size: 26px 2px; animation: flow2 1.2s linear infinite; }
.flow-pipe::after { content: ""; position: absolute; right: -2px; top: -4px; border-left: 8px solid var(--blue); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
@keyframes flow2 { to { background-position: 26px 0; } }
.fit-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.fit-notes b, .promise b { display: block; font-size: 1.3rem; font-weight: 600; color: var(--ink); letter-spacing: -.02em; margin-bottom: 6px; }
.fit-notes > div, .promise { border-top: 2px solid var(--ink); padding-top: 18px; }

.methods-sec .big { margin-top: 18px; }
.methods { margin-top: 36px; border: 1.5px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.m-row { display: grid; grid-template-columns: 3.5em 15em 1fr 14em; align-items: center; border-top: 1px solid var(--line); }
.m-row > * { padding: 16px 20px; }
.m-h { border-top: 0; background: #fafafa; font: 500 12.5px var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.m-h > * { padding-block: 12px; }
.m-n { font: 500 15px var(--mono); color: var(--blue); }
.m-row:last-child .m-n { color: var(--orange-ink); }
.m-row b { font-size: 1.08rem; color: var(--ink); font-weight: 600; }
.m-when { font-weight: 500; color: var(--ink); }

.safe h2 { margin-bottom: 44px; }
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.promises-4 { grid-template-columns: repeat(4, 1fr); }

/* ==========================================================================
   HOW WE WORK (horizontal, pinned) + OFFERS + COST
   ========================================================================== */
.how-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 24px; }
.how-head .two-tone { font-size: clamp(2.3rem, 3.9vw, 3.5rem); margin-bottom: 14px; }
.how-head .two-tone span { display: inline; }
.how-head .two-tone span:first-child::after { content: " "; }
.how-head p { font-size: 1.15rem; color: var(--ink); max-width: 36em; }
.car-ctrl { display: flex; gap: 10px; flex: none; }
.car-btn { display: grid; place-items: center; width: 54px; height: 54px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; cursor: pointer; transition: transform .3s var(--ease), opacity .3s; }
.car-btn .i { width: 20px; height: 20px; stroke-width: 2; }
.car-btn:hover:not(:disabled) { transform: scale(1.07); }
.car-btn:disabled { opacity: .22; cursor: default; }
.car { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100vw - 1240px) / 2)); scrollbar-width: none; cursor: grab; }
.car::-webkit-scrollbar { display: none; }
.car:focus-visible { outline-offset: -4px; }
.car.dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.car-track { display: flex; gap: 24px; width: max-content; padding: 6px max(var(--gutter), calc((100vw - 1240px) / 2)) 12px; }
.car .step-card { scroll-snap-align: start; }
.car .step-viz { height: 186px; }
.step-card.cta-card { background: var(--ink); border-color: var(--ink); color: #fff; }
.step-card.cta-card .step-n { color: #9a9aa6; padding: 0; }
.cta-in { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 12px; height: 100%; padding: 18px 14px 0; }
.step-card.cta-card h3 { color: #fff; font-size: 1.9rem; line-height: 1.1; margin: 6px 0 0; padding: 0; }
.step-card.cta-card p { color: #c9c9d2; padding: 0; margin-bottom: 10px; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { transform: translateY(-2px); }
.how-foot { display: flex; align-items: center; gap: 20px 40px; flex-wrap: wrap; margin-top: 26px; }
.car-progress { flex: 1 1 240px; max-width: 420px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.car-progress i { display: block; height: 100%; width: 30%; border-radius: inherit; background: var(--ink); transition: width .25s var(--ease); }
.how-foot .promise-chips { margin-top: 0; }
.step-card { flex: 0 0 min(430px, 82vw); display: flex; flex-direction: column; border: 1.5px solid var(--accent); border-radius: 20px; padding: 16px 16px 30px; background: #fff; }
.step-viz { height: 250px; border-radius: 12px; margin-bottom: 26px; padding: 22px; display: flex; flex-direction: column; justify-content: center; gap: 14px; background: var(--noise), linear-gradient(150deg, var(--accent-soft), #f6f6f7 80%); overflow: hidden; }
.step-n { font-family: var(--mono); font-size: 14px; color: var(--accent-ink); padding: 0 14px; }
.step-card h3 { font-size: 1.7rem; letter-spacing: -.025em; margin: 6px 0 8px; padding: 0 14px; }
.step-card p { padding: 0 14px; font-size: 1.08rem; }
.viz-call { display: grid; gap: 10px; }
.slot { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 10px; background: #fff; border-radius: 12px; padding: 14px 16px; box-shadow: 0 10px 24px -16px rgba(0,0,0,.3); }
.slot small { grid-column: 1; color: var(--muted); font-size: 13px; }
.slot b { grid-column: 1; color: var(--ink); font-size: 17px; font-weight: 600; }
.slot .st { grid-column: 2; grid-row: 1 / 3; font-size: 13px; }
.slot.faded { opacity: .5; box-shadow: none; }
.viz-map { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink); }
.viz-map > span { position: relative; background: #fff; border-radius: 8px; padding: 8px 11px; box-shadow: 0 6px 16px -10px rgba(0,0,0,.3); }
.viz-map > i { width: 14px; height: 2px; background: #a5a5b0; }
.viz-map .hot { color: #bf3d0a; }
.ring { position: absolute; left: -16px; top: -12px; width: calc(100% + 32px); height: calc(100% + 24px); fill: none; stroke: #e5484d; stroke-width: 2.2; overflow: visible; }
.viz-note { align-self: center; background: #fff; border-radius: 10px; padding: 10px 16px; text-align: center; border: 1.5px dashed #e8a2a4; }
.viz-note small { display: block; font-size: 12px; color: var(--muted); }
.viz-note b { font-weight: 600; color: var(--ink); }
.viz-build { display: grid; gap: 8px; }
.viz-build li { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 10px; padding: 10px 14px; font-weight: 500; color: var(--ink); font-size: 15.5px; }
.viz-build li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #c9c9d2; flex: none; }
.viz-build li.ok::before { border-color: var(--blue); background: var(--blue) var(--check) center / 12px no-repeat; }
.viz-bar small { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.viz-bar span { display: block; height: 7px; border-radius: 7px; background: #fff; overflow: hidden; }
.viz-bar i { display: block; height: 100%; width: 72%; background: var(--blue); border-radius: inherit; animation: grow 3s var(--ease) infinite alternate; }
@keyframes grow { from { width: 48%; } to { width: 82%; } }
.viz-pulse { width: 100%; height: 70px; fill: none; stroke: var(--orange); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.viz-pulse path { stroke-dasharray: 520; stroke-dashoffset: 520; animation: trace 3.2s linear infinite; }
.viz-pulse circle { fill: var(--orange); stroke: none; }
@keyframes trace { to { stroke-dashoffset: 0; } }
.viz-status { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 8px 14px; align-self: flex-start; }
.viz-status b { color: var(--ink); font-weight: 600; }
.viz-status small { color: var(--muted); font-size: 13px; }
.viz-next { background: #fff; border-radius: 10px; padding: 10px 14px; }
.viz-next small { display: block; font-size: 12px; color: var(--muted); }
.viz-next b { color: var(--ink); font-weight: 600; }

.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.offer { display: flex; flex-direction: column; align-items: flex-start; padding: 34px; border: 1.5px solid var(--accent); border-radius: 20px; background: linear-gradient(160deg, var(--accent-soft), #fff 45%); }
.offer small { font: 500 13px var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--accent-ink); }
.offer h3 { font-size: 1.9rem; letter-spacing: -.025em; margin: 8px 0 12px; }
.offer p { max-width: 32em; }
.offer ul { display: grid; gap: 10px; margin: 22px 0 28px; }
.offer li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); }
.offer li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--accent) var(--check) center / 12px no-repeat; flex: none; }

.cost-in { display: grid; grid-template-columns: 1fr minmax(320px, 520px); gap: 64px; align-items: center; }
.cost-copy h2 { max-width: 9em; margin-bottom: 18px; }
.cost-copy p { font-size: 1.2rem; }
.cost-card { border: 1.5px solid var(--green); border-radius: 18px; padding: 34px; background: linear-gradient(160deg, var(--green-soft), #fff 55%); box-shadow: 0 30px 60px -36px rgba(34,184,102,.55); }
.slider { display: block; margin-bottom: 22px; }
.slider > span { display: flex; justify-content: space-between; font-weight: 500; color: var(--ink); margin-bottom: 10px; }
.slider output { font-family: var(--mono); font-weight: 500; }
.slider input { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(var(--green), var(--green)) no-repeat 0 0 / var(--fill, 20%) 100%, #dfe9e3; outline-offset: 6px; }
.slider input::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); box-shadow: 0 4px 10px -4px rgba(0,0,0,.4); cursor: grab; }
.slider input::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); cursor: grab; }
.cost-out { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; padding-top: 22px; margin-top: 8px; border-top: 1px solid color-mix(in srgb, var(--green) 30%, #fff); }
.cost-out b { font-size: clamp(2.6rem, 4.6vw, 3.6rem); font-weight: 700; letter-spacing: -.04em; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.cost-out span { color: var(--muted); }
.cost-card .fine { margin-top: 16px; }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-hero h1 { font-size: clamp(2.8rem, 5.2vw, 4.8rem); letter-spacing: -.045em; line-height: 1.02; margin: 16px 0 28px; }
.about-copy p:not(.crumb) { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--ink); max-width: 30em; }
.about-copy p + p { margin-top: 16px; }
.facts { margin: 0; overflow: hidden; border: 1.5px solid var(--accent); border-radius: 18px; background: linear-gradient(160deg, var(--accent-soft), #fff 55%); }
.facts > div { padding: 18px 24px; border-top: 1px solid color-mix(in srgb, var(--accent) 22%, #fff); }
.facts > div:first-child { border-top: 0; }
.facts dt { margin-bottom: 4px; font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--accent-ink); }
.facts dd { margin: 0; font-size: 1.08rem; font-weight: 500; color: var(--ink); }
.lead-in { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.leadership h2 { margin-bottom: 24px; }
.person b { display: block; font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.person small { display: block; margin: 4px 0 16px; font: 500 13px var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.person p { font-size: 1.15rem; color: var(--ink); max-width: 34em; }
.founder-card { margin: 0; }
.portrait { aspect-ratio: 1; border: 1.5px solid var(--accent); border-radius: 6px; background: var(--noise), linear-gradient(160deg, var(--accent-soft), #fff 75%); display: grid; place-items: center; }
.portrait span { font-size: 5rem; font-weight: 700; letter-spacing: -.05em; color: color-mix(in srgb, var(--accent) 55%, #fff); }
.founder-card figcaption { display: inline-block; margin-top: 12px; padding: 4px 12px; border: 1.5px solid var(--accent); border-radius: 6px; color: var(--accent-ink); font-size: 15px; }
.beliefs h2 { margin-bottom: 44px; }
.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.more-grid-4 { grid-template-columns: repeat(4, 1fr); }
.more-card { border: 1.5px solid var(--accent); border-radius: 18px; padding: 30px 28px 32px; background: #fff; transition: transform .45s var(--ease), box-shadow .45s var(--ease), opacity .9s var(--ease) var(--d, 0s); }
html.js .more-card.reveal.is-in { transition: opacity .9s var(--ease) var(--d, 0s), transform .6s var(--ease), box-shadow .45s var(--ease); }
.more-card:hover, html.js .more-card.reveal.is-in:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px color-mix(in srgb, var(--accent) 80%, transparent); }
.more-ico { width: 64px; height: 64px; margin-bottom: 26px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.more-card h3 { font-size: 1.45rem; letter-spacing: -.02em; margin-bottom: 10px; }
.more-card p { font-size: 1.05rem; }

/* ==========================================================================
   CONTACT (shared section + page)
   ========================================================================== */
.pager { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 64px; }
.pager a { display: inline-flex; align-items: center; gap: 14px; padding: 14px 20px; border: 1.5px solid var(--line); border-radius: 14px; color: var(--ink); font-weight: 600; text-decoration: none; transition: border-color .25s, transform .3s var(--ease); }
.pager a:hover { border-color: var(--ink); transform: translateY(-2px); }
.pager small { display: block; font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.pager-next { margin-left: auto; text-align: right; }
.talk-card { position: relative; display: grid; grid-template-columns: 1fr minmax(320px, 440px); gap: 56px; align-items: center; border: 1.5px solid var(--blue); border-radius: 10px; padding: 72px 0 72px 72px; }
.talk-copy h2, .talk-copy h1 { font-size: clamp(2.6rem, 5.4vw, 4.8rem); font-weight: 400; color: var(--blue); letter-spacing: -.045em; line-height: 1.02; margin-bottom: 26px; }
.talk-copy h1 { margin-top: 14px; }
.talk-copy b { font-weight: 700; }
.talk-copy > p:not(.crumb) { font-size: 1.22rem; color: var(--ink); max-width: 24em; }
.mail-link { display: inline-block; margin-top: 30px; font-size: 1.4rem; font-weight: 500; color: var(--blue); text-decoration: none; border-bottom: 2px solid var(--blue-soft); transition: border-color .3s; }
.mail-link:hover { border-color: var(--blue); }
.form-card { margin: -110px -48px -110px 0; display: grid; gap: 14px; background: #fff; border: 1.5px solid var(--blue); border-radius: 10px; padding: 28px; box-shadow: 0 40px 70px -40px rgba(58,66,232,.5); }
.form-card h3 { font-size: 1.35rem; letter-spacing: -.02em; text-align: center; margin-bottom: 4px; }
.form-card label { display: grid; gap: 6px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.form-card input, .form-card textarea { width: 100%; padding: 11px 13px; border-radius: 10px; border: 1.5px solid #e1e1e8; background: #fbfbfd; font-size: 16px; transition: border-color .2s, background .2s; resize: vertical; }
.form-card input:focus, .form-card textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.form-card [aria-invalid="true"] { border-color: var(--orange); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-card .btn { width: 100%; margin-top: 4px; }
.form-note { font-size: 14px; color: var(--muted); min-height: 1.4em; text-align: center; }

.next-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.next-steps { display: grid; gap: 12px; margin-top: 30px; }
.next-steps li { display: grid; grid-template-columns: 2.6em 1fr; gap: 12px; padding: 18px 22px; border: 1.5px solid var(--accent); border-radius: 14px; background: #fff; }
.next-steps .n { font: 500 14px var(--mono); color: var(--accent-ink); padding-top: 3px; }
.next-steps b { display: block; font-size: 1.15rem; color: var(--ink); margin-bottom: 2px; }
.faq h2 { margin-bottom: 24px; }
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; list-style: none; font-size: 1.12rem; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; line-height: 1; color: var(--muted); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 10px; max-width: 40em; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { border-top: 1px solid var(--line); padding: 56px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.foot-brand p { margin: 14px 0 10px; max-width: 22em; font-size: 16px; }
.foot-mail { color: var(--blue); font-weight: 500; text-decoration: none; font-size: 16px; }
.foot-col h4 { font-size: 16px; margin: 4px 0 12px; }
.foot-col a { display: block; padding: 5px 0; color: var(--body); text-decoration: none; font-size: 16px; }
.foot-col a:hover { color: var(--ink); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.foot-base small { font-size: 13px; color: var(--muted); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .nav-links { gap: 24px; }
  .nav-links > a, .dd-top { font-size: 16.5px; }
  .m-row { grid-template-columns: 3em 12em 1fr 11em; }
}

@media (max-width: 959px) {
  :root { --nav-h: 72px; }
  .nav-in { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .nav-end .btn { padding: 9px 16px; font-size: 15.5px; }
  .sec { padding: 110px 0 90px; }

  .hero.sec { padding-top: 124px; padding-bottom: 80px; }
  .hero { min-height: 0; }
  .hero-copy { padding-bottom: 0; }
  .hero-visual { position: relative; top: 0; left: 0; width: calc(100% + 60px); margin: 56px 0 0 var(--gutter); }
  .window { transform: perspective(1600px) rotateY(9deg) rotateX(3deg); }
  .chip-a { left: -8px; top: -26px; font-size: 15px; }
  .chip-b { right: 70px; bottom: -26px; font-size: 15px; }
  .scroll-cue { display: none; }

  .story-stage { padding: 90px 0 80px; }
  .story-grid, .story.flip .story-grid { grid-template-columns: 1fr; gap: 44px; }
  .story-copy { order: -1; }
  .story.flip .story-device { order: 0; }
  .device { width: 100%; transform: perspective(1400px) rotateX(calc(8deg - var(--p) * 6deg)) rotateZ(calc(var(--rz, -3deg) * .4)); }
  .story.flip .device { --rz: 3deg; }
  .monitor + .sketch-stand { transform: none; }
  .screen, .tablet .screen, .monitor .screen { aspect-ratio: auto; }
  .ui { font-size: clamp(8.5px, 2.65cqi, 13.5px); }
  .callout { margin-top: 26px; }
  .sketch-caliper, .story.flip .sketch-caliper { width: 80vw; left: auto; right: -20%; bottom: auto; top: 6%; opacity: .45; }
  .sketch-gear { width: 46vw; right: -12%; bottom: auto; top: 4%; opacity: .35; }
  .sketch-cabinet, .story.flip .sketch-cabinet { width: 34vw; left: auto; right: -6%; bottom: auto; top: 4%; opacity: .35; }

  .ways-grid, .uc-grid, .more-grid, .more-grid-4, .promises, .promises-4, .fit-notes, .offer-grid { grid-template-columns: 1fr; }
  .uc-head, .how-head { flex-direction: column; align-items: flex-start; }
  .page-hero.split .wrap { grid-template-columns: 1fr; }
  .ph-hint { display: none; }
  .how-head .two-tone span { display: block; }
  .how-head .two-tone span:first-child::after { content: none; }
  .cost-in, .about-in, .lead-in, .next-in { grid-template-columns: 1fr; gap: 40px; }
  .founder-card { max-width: 300px; }
  .flow { grid-template-columns: 1fr; }
  .flow-pipe { width: 2px; height: 34px; margin: 6px auto; background: repeating-linear-gradient(180deg, var(--blue) 0 7px, transparent 7px 13px); background-size: 2px 26px; animation-name: flow3; }
  .flow-pipe::after { right: -4px; top: auto; bottom: -2px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 8px solid var(--blue); border-bottom: 0; }
  .m-row { grid-template-columns: 2.4em 1fr; }
  .m-h { display: none; }
  .m-row > * { padding: 4px 16px 4px 0; }
  .m-row .m-n { grid-row: span 3; padding: 14px 0 14px 16px; align-self: start; }
  .m-row b { padding-top: 14px; }
  .m-row .m-when { padding-bottom: 14px; color: var(--muted); font-size: 15px; }


  .talk-card { grid-template-columns: 1fr; padding: 48px 28px 28px; gap: 36px; }
  .form-card { margin: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@keyframes flow3 { to { background-position: 0 26px; } }

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { font-size: 17px; }
  .brand { font-size: 27px; }
  .hero h1 { font-size: clamp(2.6rem, 12vw, 3.4rem); }
  .hero-cta { gap: 20px; }
  .handoff { padding: 11px 16px; font-size: 1rem; gap: 10px; }
  .handoff i { width: 28px; }
  .tags li { font-size: 13.5px; padding: 5px 12px; }
  .step-viz { height: auto; min-height: 210px; }
  .row2 { grid-template-columns: 1fr; }
  .ba-row { grid-template-columns: 2em 1fr; }
  .ba-row .ba-today, .ba-row .ba-after { grid-column: 2; }
  .ba-h { display: none; }
  .hub { grid-template-columns: 1fr; }
  .hub-lines { display: none; }
  .hub .legacy.hub-old { margin-bottom: 14px; }
  .road-row { grid-template-columns: 6.5em repeat(4, minmax(0, 1fr)); }
  .bar { padding: 0 6px; font-size: 11px; }
  .road-phases a { font-size: 12px; }
  .talk-card { padding: 36px 18px 18px; }
  .form-card { padding: 22px 18px; }
  .marquee-row li { font-size: 1.02rem; padding: 10px 18px; }
  .cost-card { padding: 26px 20px; }
  .ui-split, .order-split, .arch-split, .rev-side, .compare { grid-template-columns: 1fr; }
  .bridge, .sync { grid-template-columns: 1fr; }
  .bridge .pipe, .sync .pipe { justify-items: start; padding-left: 1em; }
  .bridge .pipe-line, .sync .pipe-line { width: 2px; height: 2em; background: repeating-linear-gradient(180deg, var(--accent) 0 6px, transparent 6px 11px); background-size: 2px 22px; animation-name: flowv; }
  .bridge .pipe-line::after, .sync .pipe-line::after { right: -4px; top: auto; bottom: -3px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 7px solid var(--accent); border-bottom: 0; }
  .options { grid-template-columns: 1fr; }
  .pager { flex-direction: column; }
  .pager-next { margin-left: 0; }
  .foot-grid { grid-template-columns: 1fr; }
}
@keyframes flowv { to { background-position: 0 22px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  html.js .marquee-row { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; padding-inline: var(--gutter); }
  .marquee-row [aria-hidden="true"] { display: none; }
}
