/* WeWebWorks — software site design system
   Tokens, layout, components. Used by the pages generated from tools/build-software-site.mjs */
:root {
  --ink: #0A0A0A;
  --ink-2: #141414;
  --ink-3: #1d1d1b;
  --line-d: rgba(255,255,255,.12);
  --line-l: #e3e1d8;
  --bone: #F5F4EF;
  --white: #fff;
  --text-d: #e9e8e3;
  --muted-d: #a9a7a0;
  --text-l: #1a1a18;
  --muted-l: #5d5b56;
  --yellow: #FFD400;
  --yellow-d: #e5bf00;
  --blue: #5b8def;
  --green: #3fb27f;
  --amber: #e8a33d;
  --radius: 14px;
  --radius-sm: 8px;
  --font: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'Courier New', monospace;
  --max: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text-l); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 6px; z-index: 200; font-weight: 600; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--yellow); }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.dark { background: var(--ink); color: var(--text-d); }
.dark-2 { background: var(--ink-2); color: var(--text-d); }
.bone { background: var(--bone); }
.dark h1, .dark h2, .dark h3, .dark-2 h2, .dark-2 h3 { color: #fff; }
.eyebrow { font-family: var(--mono); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-l); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--ink); }
.dark .eyebrow, .dark-2 .eyebrow { color: var(--yellow); }
.dark .eyebrow::before, .dark-2 .eyebrow::before { background: var(--yellow); }
.lead { font-size: clamp(1.08rem, 1.7vw, 1.3rem); color: var(--muted-l); max-width: 62ch; }
.dark .lead, .dark-2 .lead { color: var(--muted-d); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
mark { background: linear-gradient(transparent 62%, var(--yellow) 62%); color: inherit; padding: 0 .08em; }
.dark mark, .dark-2 mark { background: none; color: var(--yellow); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 1rem/1 var(--font); padding: 16px 26px; border-radius: 10px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s, box-shadow .2s, border-color .2s; min-height: 50px; }
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover { background: var(--yellow-d); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(255,212,0,.6); }
.btn-ghost { border-color: rgba(255,255,255,.28); color: #fff; background: transparent; }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none !important; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.07); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2a28; transform: translateY(-2px); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(10,10,10,.92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line-d); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand img { height: 40px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-list > li > a, .nav-list > li > button { color: #e9e8e3; text-decoration: none; font: 500 .95rem/1 var(--font); padding: 12px 12px; border-radius: 8px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: color .15s, background .15s; }
.nav-list > li > a:hover, .nav-list > li > button:hover, .nav-list > li > a[aria-current="page"] { color: var(--yellow); background: rgba(255,255,255,.05); }
.chev { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
[aria-expanded="true"] > .chev { transform: rotate(-135deg) translateY(-2px); }
.menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 300px; background: var(--ink-2); border: 1px solid var(--line-d); border-radius: 12px; padding: 8px; list-style: none; margin: 0; box-shadow: 0 24px 60px -20px rgba(0,0,0,.7); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.has-menu:hover > .menu, .has-menu:focus-within > .menu, .has-menu.open > .menu { opacity: 1; visibility: visible; transform: none; }
.menu a { display: block; padding: 11px 14px; border-radius: 8px; color: #e9e8e3; text-decoration: none; font-size: .95rem; }
.menu a small { display: block; color: var(--muted-d); font-size: .8rem; margin-top: 2px; }
.menu a:hover { background: rgba(255,255,255,.07); color: var(--yellow); }
.nav-cta { margin-left: 8px; padding: 12px 18px; min-height: 0; font-size: .92rem; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-d); color: #fff; border-radius: 8px; width: 46px; height: 46px; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: #fff; margin: 0 auto; position: relative; transition: transform .2s, background .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 100px) 0 clamp(64px, 8vw, 110px); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1.15fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 mark { background: none; color: var(--yellow); }
.hero .lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); }
.hero-note { margin-top: 22px; font-size: .9rem; color: var(--muted-d); }
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(48px, 7vw, 80px); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 20ch; }
.crumbs { font-family: var(--mono); font-size: .78rem; color: var(--muted-d); margin-bottom: 22px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--yellow); }
.crumbs span[aria-hidden] { margin: 0 8px; opacity: .5; }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }

/* ---------- mockup (CSS product visuals) ---------- */
.app { background: #101010; border: 1px solid var(--line-d); border-radius: 16px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,212,0,.06); overflow: hidden; font-size: 12px; color: #d8d6cf; text-align: left; }
.app-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #181816; border-bottom: 1px solid var(--line-d); }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a37; display: block; }
.app-bar b { margin-left: 10px; font: 500 11px var(--mono); color: #8d8b84; }
.app-body { display: grid; grid-template-columns: 150px 1fr; min-height: 340px; }
.app-side { background: #131312; border-right: 1px solid var(--line-d); padding: 14px 10px; }
.app-side .logo-mark { font: 700 12px var(--mono); color: var(--yellow); padding: 4px 8px 14px; letter-spacing: .06em; }
.app-side span { display: block; padding: 8px 10px; border-radius: 6px; color: #9a988f; margin-bottom: 2px; }
.app-side span.on { background: rgba(255,212,0,.12); color: var(--yellow); }
.app-main { padding: 16px; display: grid; gap: 14px; align-content: start; }
.app-title { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 13px; color: #fff; }
.chip { font: 600 10px var(--mono); padding: 3px 8px; border-radius: 99px; background: rgba(255,255,255,.08); color: #c9c7c0; white-space: nowrap; }
.chip.g { background: rgba(63,178,127,.16); color: var(--green); } .chip.b { background: rgba(91,141,239,.18); color: #a9c1ff; } .chip.a { background: rgba(232,163,61,.16); color: var(--amber); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { background: #171715; border: 1px solid var(--line-d); border-radius: 10px; padding: 11px 12px; }
.kpi small { display: block; color: #8d8b84; font-size: 10px; margin-bottom: 4px; }
.kpi strong { font-size: 17px; color: #fff; font-weight: 600; }
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.col h5 { margin: 0 0 7px; font: 600 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #8d8b84; }
.card-m { background: #1a1a18; border: 1px solid var(--line-d); border-radius: 8px; padding: 9px 10px; margin-bottom: 7px; transition: transform .25s var(--ease), border-color .25s; }
.card-m b { display: block; color: #f0eee7; font-weight: 500; margin-bottom: 5px; }
.card-m .meta { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.app:hover .card-m:first-of-type { transform: translateY(-2px); border-color: rgba(255,212,0,.4); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; padding: 4px 0; }
.bars i { flex: 1; background: linear-gradient(var(--yellow), rgba(255,212,0,.25)); border-radius: 3px 3px 0 0; opacity: .9; transform-origin: bottom; }
.js-reveal .bars i { animation: grow 1s var(--ease) both; }
@keyframes grow { from { transform: scaleY(.05); } }
.phone { width: 150px; background: #101010; border: 1px solid var(--line-d); border-radius: 22px; padding: 10px; position: absolute; right: -14px; bottom: -34px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); font-size: 10px; }
.phone .card-m { margin-bottom: 6px; }
.mock-wrap { position: relative; padding-bottom: 28px; }
.mock-caption { margin: 18px 0 0; font: 500 .72rem var(--mono); color: var(--muted-d); letter-spacing: .04em; }
.list-m .row { display: flex; justify-content: space-between; align-items: center; padding: 9px 4px; border-bottom: 1px solid var(--line-d); gap: 8px; }
.list-m .row:last-child { border: 0; }
.list-m .row b { font-weight: 500; color: #f0eee7; }

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line-l); border-radius: var(--radius); padding: 30px; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; position: relative; }
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -24px rgba(0,0,0,.28); border-color: #cfcdc3; }
.dark .card, .dark-2 .card { background: var(--ink-3); border-color: var(--line-d); }
.dark .card:hover, .dark-2 .card:hover { border-color: rgba(255,212,0,.45); box-shadow: 0 22px 44px -24px rgba(0,0,0,.8); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted-l); margin-bottom: 0; font-size: .98rem; }
.dark .card p, .dark-2 .card p { color: var(--muted-d); }
.card .ico { width: 46px; height: 46px; border-radius: 11px; background: var(--ink); color: var(--yellow); display: grid; place-items: center; margin-bottom: 20px; }
.dark .card .ico, .dark-2 .card .ico { background: rgba(255,212,0,.12); }
.ico svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card-link { display: inline-flex; gap: 6px; align-items: center; margin-top: 18px; font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--ink); border-bottom: 2px solid var(--yellow); padding-bottom: 2px; }
.dark .card-link, .dark-2 .card-link { color: #fff; }
.card-link:hover { border-color: var(--ink); } .dark .card-link:hover { border-color: #fff; }
a.card { text-decoration: none; color: inherit; display: block; }
.problem { padding: 24px 26px; border-left: 3px solid var(--yellow); background: #fff; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; border-top: 1px solid var(--line-l); border-right: 1px solid var(--line-l); border-bottom: 1px solid var(--line-l); }
.problem h3 { font-size: 1.08rem; margin-bottom: .3em; } .problem p { margin: 0; color: var(--muted-l); font-size: .96rem; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { padding-left: 32px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%230A0A0A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.note { font-size: .9rem; color: var(--muted-l); border-left: 3px solid var(--line-l); padding-left: 16px; margin-top: 24px; }
.dark .note, .dark-2 .note { color: var(--muted-d); border-color: var(--line-d); }

/* ---------- process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: s; position: relative; }
.step { counter-increment: s; padding-top: 22px; border-top: 2px solid var(--line-d); position: relative; }
.step::before { content: counter(s, decimal-leading-zero); font: 600 .8rem var(--mono); color: var(--yellow); position: absolute; top: -12px; background: var(--ink); padding-right: 12px; }
.bone .step, .step.l { border-color: var(--line-l); } .bone .step::before { background: var(--bone); color: var(--ink); }
.step h3 { font-size: 1.1rem; } .step p { font-size: .94rem; color: var(--muted-d); margin: 0; }
.bone .step p { color: var(--muted-l); }
.steps.vertical { grid-template-columns: 1fr; max-width: 820px; gap: 0; }
.steps.vertical .step { padding: 30px 0 30px 70px; border-top: 1px solid var(--line-l); }
.steps.vertical .step::before { top: 30px; left: 0; font-size: 1.5rem; background: none; }

/* ---------- hub diagram ---------- */
.hub { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: center; }
.hub-side { display: grid; gap: 12px; }
.node { background: var(--ink-3); border: 1px solid var(--line-d); color: #fff; border-radius: 10px; padding: 14px 18px; font-weight: 500; text-align: center; transition: border-color .2s, transform .2s; }
.node small { display: block; color: var(--muted-d); font-weight: 400; font-size: .78rem; }
.node:hover { border-color: var(--yellow); transform: translateX(3px); }
.hub-core { width: 170px; height: 170px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; text-align: center; font-weight: 700; padding: 18px; line-height: 1.2; box-shadow: 0 0 0 12px rgba(255,212,0,.12), 0 0 0 28px rgba(255,212,0,.06); }
.hub-core small { display: block; font: 500 .7rem var(--mono); margin-top: 6px; }
.hub::before, .hub::after { content: ""; position: absolute; top: 50%; height: 2px; width: 14%; background: repeating-linear-gradient(90deg, var(--yellow) 0 6px, transparent 6px 12px); opacity: .55; }
.hub::before { left: 28%; } .hub::after { right: 28%; }

/* ---------- compare table ---------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line-l); border-radius: var(--radius); overflow: hidden; font-size: .97rem; }
.compare th, .compare td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-l); }
.compare thead th { background: var(--ink); color: #fff; font-weight: 600; }
.compare tbody th { width: 22%; font-weight: 600; background: #faf9f5; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.scroll-x { overflow-x: auto; border-radius: var(--radius); }

/* ---------- industries ---------- */
.industry { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; padding: 56px 0; border-top: 1px solid var(--line-l); }
.industry:first-of-type { border-top: 0; }
.industry h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.industry h3 { font-size: .8rem; font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-l); margin: 0 0 12px; }
.industry ul { margin: 0 0 22px; padding-left: 20px; } .industry li { margin-bottom: 6px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag { font: 500 .78rem var(--mono); padding: 6px 12px; border: 1px solid var(--line-l); border-radius: 99px; background: #fff; }

/* ---------- pricing blocks ---------- */
.price-card { background: #fff; border: 1px solid var(--line-l); border-radius: var(--radius); padding: 34px; display: flex; flex-direction: column; }
.price-card .tagline { font: 600 .74rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-l); margin-bottom: 14px; }
.price-card h3 { font-size: 1.5rem; }
.price-card.featured { background: var(--ink); color: var(--text-d); border-color: var(--ink); }
.price-card.featured h3 { color: #fff; } .price-card.featured .tagline { color: var(--yellow); }

/* ---------- case placeholder ---------- */
.placeholder { border: 2px dashed #bdbbb1; border-radius: var(--radius); padding: 38px; background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(0,0,0,.025) 14px 28px); }
.placeholder .badge { display: inline-block; font: 600 .72rem var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 5px 11px; background: var(--ink); color: var(--yellow); border-radius: 6px; margin-bottom: 16px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line-l); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; font-weight: 600; font-size: 1.1rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 400 1.7rem/1 var(--font); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 44px 24px 0; color: var(--muted-l); margin: 0; }
.dark .faq details { border-color: var(--line-d); } .dark .faq details p { color: var(--muted-d); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; padding: clamp(72px, 10vw, 120px) 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 70% at 50% 120%, rgba(255,212,0,.22), transparent 70%); pointer-events: none; }
.cta-band .container { position: relative; }
.cta-band h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); max-width: 18ch; margin: 0 auto .4em; }
.cta-band .lead { margin: 0 auto; }
.cta-band .btn-row { justify-content: center; }

/* ---------- form ---------- */
.form-card { background: #fff; border: 1px solid var(--line-l); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: 0 30px 60px -40px rgba(0,0,0,.35); }
.form-card h2 { font-size: 1.7rem; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; }
.field label .opt { font-weight: 400; color: var(--muted-l); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 13px 14px; border: 1.5px solid #c9c7bd; border-radius: 9px; background: #fff; color: var(--text-l); width: 100%; min-height: 50px; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255,212,0,.45); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #c0392b; }
.hp { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }
.form-fine { font-size: .84rem; color: var(--muted-l); margin: 14px 0 0; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-list b { display: block; font: 600 .74rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-l); margin-bottom: 2px; }
.contact-list a { text-decoration: none; font-size: 1.15rem; font-weight: 600; border-bottom: 2px solid var(--yellow); }

/* ---------- footer ---------- */
.site-footer { background: #060606; color: var(--muted-d); padding: 72px 0 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.footer-grid img { height: 44px; width: auto; margin-bottom: 18px; }
.site-footer h3 { color: #fff; font: 600 .75rem var(--mono); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { text-decoration: none; } .site-footer a:hover { color: var(--yellow); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-d); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: .85rem; }

/* ---------- mobile CTA ---------- */
.mobile-cta { display: none; }

/* ---------- reveal ---------- */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js-reveal [data-reveal].in { opacity: 1; transform: none; }
.js-reveal [data-d="1"] { transition-delay: .08s; } .js-reveal [data-d="2"] { transition-delay: .16s; } .js-reveal [data-d="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-reveal [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .hero-grid, .page-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--ink); }
  .nav-toggle { display: block; }
  .nav { display: block; position: fixed; inset: 74px 0 0 0; background: var(--ink); margin: 0; padding: 20px 24px 110px; overflow-y: auto; transform: translateY(-10px); opacity: 0; visibility: hidden; transition: transform .25s var(--ease), opacity .25s, visibility .25s; }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li > a, .nav-list > li > button { width: 100%; padding: 17px 4px; font-size: 1.1rem; justify-content: space-between; border-bottom: 1px solid var(--line-d); border-radius: 0; }
  .menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 0 0 8px 12px; display: none; min-width: 0; }
  .has-menu.open > .menu { display: block; }
  .has-menu:hover > .menu { display: none; } .has-menu.open:hover > .menu { display: block; }
  .nav-cta { display: flex; margin: 22px 0 0; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .g2, .g3, .g4, .two-col, .industry, .fgrid { grid-template-columns: 1fr; }
  .two-col { gap: 32px; } .industry { gap: 20px; padding: 40px 0; }
  .steps { grid-template-columns: 1fr; }
  .hub { grid-template-columns: 1fr; } .hub::before, .hub::after { display: none; } .hub-core { margin: 0 auto; }
  .app-body { grid-template-columns: 1fr; } .app-side { display: none; }
  .kpis { grid-template-columns: repeat(3, 1fr); } .kpi strong { font-size: 15px; }
  .board { grid-template-columns: repeat(2, 1fr); } .board .col:nth-child(3) { display: none; }
  .phone { display: none; }
  .btn-row .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .compare th, .compare td { padding: 14px; }
  body { padding-bottom: 76px; }
  .mobile-cta { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(10,10,10,.96); border-top: 1px solid var(--line-d); }
  .mobile-cta .btn { padding: 14px 10px; font-size: .95rem; }
}

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.step { list-style: none; }
.form-split { grid-template-columns: 5fr 6fr; }
@media (max-width: 760px) { .form-split { grid-template-columns: 1fr; } }
.more-details { margin-top: 18px; border-top: 1px solid var(--line-l); padding-top: 14px; }
.more-details summary { cursor: pointer; font-weight: 600; padding: 6px 0; }
.field textarea[rows="2"] { min-height: 78px; }

/* ---------- lifecycle ---------- */
.life { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-d); border-left: 1px solid var(--line-d); }
.life li { padding: 26px 24px 30px; border-right: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); transition: background .25s; }
.life li:hover { background: rgba(255,212,0,.05); }
.life-n { font: 600 .8rem var(--mono); color: var(--yellow); }
.life h3 { margin: 10px 0 6px; font-size: 1.2rem; } .life p { margin: 0; color: var(--muted-d); font-size: .95rem; }
@media (max-width: 960px) { .life { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .life { grid-template-columns: 1fr; } }
.chip-l { display: inline-block; font: 600 .66rem var(--mono); letter-spacing: .08em; text-transform: uppercase; background: var(--ink); color: var(--yellow); padding: 3px 8px; border-radius: 5px; margin-left: 8px; vertical-align: middle; }
.cta-form { position: relative; overflow: hidden; }
.cta-form::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 85% 50%, rgba(255,212,0,.14), transparent 70%); pointer-events: none; }
.cta-form .container { position: relative; }
.cta-form h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
.cta-form .form-card { color: var(--text-l); } .cta-form .form-card h2 { color: var(--text-l); font-size: 1.5rem; }
.cta-form .contact-list a { color: #fff; }
.form-split { grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .form-split { grid-template-columns: 1fr; } }
.dark .contact-list b, .dark-2 .contact-list b { color: var(--muted-d); }

/* grid children may shrink (prevents mockups forcing horizontal scroll) */
.two-col > *, .hero-grid > *, .page-hero-grid > *, .grid > *, .app, .app-body, .app-main { min-width: 0; }
.app-body { grid-template-columns: 150px minmax(0, 1fr); }
@media (max-width: 900px) { .two-col, .form-split { grid-template-columns: 1fr; gap: 32px; } .industry { grid-template-columns: 1fr; } }

/* ---------- hero pathways ---------- */
.pathways-wrap { position: relative; margin-top: clamp(40px, 6vw, 72px); }
.pathways-label { font: 600 .78rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); margin: 0 0 14px; }
.pathways { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pathways a { display: grid; gap: 6px; height: 100%; padding: 18px 20px; border: 1.5px solid var(--line-d); border-radius: 14px; text-decoration: none; background: rgba(255,255,255,.03); transition: border-color .2s, transform .2s var(--ease), background .2s; }
.pathways a:hover { border-color: var(--yellow); background: rgba(255,212,0,.06); transform: translateY(-3px); }
.pathways b { color: #fff; font-weight: 600; line-height: 1.3; } .pathways span { color: var(--muted-d); font-size: .88rem; }
@media (max-width: 960px) { .pathways { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pathways { grid-template-columns: 1fr; } }
.app-main { grid-template-columns: minmax(0, 1fr); }
.kpi, .card-m { min-width: 0; }
