/* techontouch.in version 4. Rules: status/rules.html (Bonsai column), approved 17 Oct 2026.
   One sans (Geist). Light is the Bonsai look; dark mirrors it. Buttons and links are black (white in dark).
   Colour lives only in the painted panels behind the product panels. Motion rules: status/motion-rules-in.md. */

@font-face { font-family: "Geist"; src: url("/fonts/geist-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/geist-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --bg: #ffffff; --ink: #000000; --muted: #616161; --line: rgba(0, 0, 0, 0.1); --soft: #f4f4f2;
  --card: #ffffff; --shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 4px 14px rgba(0, 0, 0, 0.04); --card-line: rgba(0, 0, 0, 0.08);
  --btn: #000000; --btn-ink: #ffffff; --nav-bg: rgba(255, 255, 255, 0.84);
  --paint-blue: #2f3d50; --paint-gold: #c7ad7a; --paint-green: #55705f; --paint-sand: #e9e2d3;
  color-scheme: light;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --pad: 30px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d0d0d; --ink: #ffffff; --muted: #a3a3a3; --line: rgba(255, 255, 255, 0.16); --soft: #1b1b1b;
    --card: #161616; --shadow: none; --card-line: rgba(255, 255, 255, 0.1);
    --btn: #ffffff; --btn-ink: #000000; --nav-bg: rgba(13, 13, 13, 0.84); --paint-sand: #2a2620; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d0d0d; --ink: #ffffff; --muted: #a3a3a3; --line: rgba(255, 255, 255, 0.16); --soft: #1b1b1b;
  --card: #161616; --shadow: none; --card-line: rgba(255, 255, 255, 0.1);
  --btn: #ffffff; --btn-ink: #000000; --nav-bg: rgba(13, 13, 13, 0.84); --paint-sand: #2a2620; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
body.v4 { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.4 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--btn); color: var(--btn-ink); padding: 12px 16px; border-radius: 6px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---------------------------------------------------------------- buttons: black pill, no accent */
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 200px; background: var(--btn); color: var(--btn-ink);
  font: 500 17px/1 var(--sans); text-decoration: none; white-space: nowrap; border: 0; cursor: pointer; }
.btn-lg { height: 50px; padding: 0 24px; }
.btn-sm { height: 44px; padding: 0 18px; font-size: 15px; }
.btn { transition: opacity 160ms ease, transform 160ms ease; }
.btn:hover { opacity: 0.86; }
.btn:active { transform: translateY(1px); }

/* ---------------------------------------------------------------- header: sticky, 72px, white at 84% */
.hd { position: sticky; top: 0; z-index: 20; height: 72px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad); background: var(--nav-bg); -webkit-backdrop-filter: saturate(1.4) blur(8px); backdrop-filter: saturate(1.4) blur(8px); }
.hd-l, .hd-r { display: flex; align-items: center; }
.hd-r { gap: 8px; }
.wm { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; text-decoration: none; font-weight: 500; font-size: 18px; letter-spacing: -0.01em; margin-right: 40px; }
.wm-mark { width: 28px; height: 28px; margin-right: 10px; flex: none; }
.hd-nav { display: flex; gap: 32px; }
.hd-nav a { font-size: 14px; line-height: 1; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; padding: 0 8px; margin: 0 -8px; }
.hd-nav a:hover, .hd-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.theme-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0;
  padding: 0; color: var(--ink); opacity: 0.72; cursor: pointer; border-radius: 22px; }
.theme-btn:hover { opacity: 1; }

/* ---------------------------------------------------------------- hero: kicker, h1, sentence, pill, proof */
.hero { text-align: center; padding: 96px 24px 0; }
.kicker { font-size: 14px; line-height: 1.4; color: var(--muted); }
.hero .kicker { margin-bottom: 18px; }
.hero h1 { font-weight: 500; font-size: 56px; line-height: 1.1; letter-spacing: -0.02em; max-width: 640px; margin: 0 auto; text-wrap: balance; }
.sub { font-size: 17px; line-height: 1.45; max-width: 520px; margin: 20px auto 0; text-wrap: pretty; }
.hero .btn { margin-top: 28px; }
.proof { margin-top: 22px; font-size: 15px; color: var(--muted); }

/* ---------------------------------------------------------------- product strip */
.strip { max-width: 1380px; margin: 56px auto 0; padding: 0 var(--pad); }
.tabs-wrap { display: flex; justify-content: center; }
.tabs { position: relative; display: inline-flex; gap: 2px; padding: 5px; border-radius: 10px; background: var(--soft); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; z-index: 1; height: 44px; padding: 0 20px; border: 0; background: none; border-radius: 6px; cursor: pointer;
  font: 500 15px/1 var(--sans); color: var(--ink); white-space: nowrap; transition: color 250ms ease; }
.tab[aria-selected="true"] { color: var(--btn-ink); }
.tab-ind { position: absolute; z-index: 0; top: 0; left: 0; height: 44px; width: 0; border-radius: 6px; background: var(--btn);
  transition: transform 250ms ease, width 250ms ease; }
.no-js .tab[aria-selected="true"], html:not(.js) .tab[aria-selected="true"] { background: var(--btn); }
.stage { position: relative; margin-top: 16px; border-radius: 10px; overflow: hidden; padding: 56px 0 0; }
.screens { position: relative; width: min(1173px, calc(100% - 48px)); margin: 0 auto; aspect-ratio: 1440 / 820; container-type: inline-size; }
.screen { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: none; border-radius: 10px 10px 0 0; overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12); background: #f6f6f4; }
.screen.is-on { opacity: 1; visibility: visible; transform: none; z-index: 2; transition: opacity 320ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1); }
.cap { margin-top: 14px; text-align: center; font-size: 14px; color: var(--muted); }

/* ---------------------------------------------------------------- painted panels: the only colour */
.paint { background: var(--paint-blue); }
.paint::before { content: ""; position: absolute; inset: 0; pointer-events: none; }
.paint-hero::before { background: var(--paint-gold); clip-path: polygon(0 38%, 26% 100%, 0 100%); }
.paint-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--paint-green); clip-path: polygon(100% 0, 100% 62%, 82% 0); }
.paint-hero .screens { z-index: 1; }
.paint-a { background: var(--paint-gold); }
.paint-a::before { background: var(--paint-green); clip-path: polygon(0 55%, 45% 100%, 0 100%); }
.paint-b { background: var(--paint-blue); }
.paint-b::before { background: var(--paint-gold); clip-path: polygon(100% 0, 100% 50%, 55% 0); }
.paint-c { background: var(--paint-green); }
.paint-c::before { background: var(--paint-blue); clip-path: polygon(0 0, 40% 0, 0 60%); }
.paint-split { background: var(--paint-gold); }
.paint-split::before { background: var(--paint-blue); clip-path: polygon(0 0, 55% 0, 0 70%); }

/* ---------------------------------------------------------------- sections: 96px, h2 50px */
.sec { max-width: 1380px; margin: 0 auto; padding: 96px var(--pad); }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto; }
h2 { font-weight: 500; font-size: 44px; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
.lead { margin-top: 18px; font-size: 17px; line-height: 1.4; color: var(--muted); text-wrap: pretty; }

.cards { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { background: var(--card); border-radius: 6px; box-shadow: var(--shadow); border: 1px solid var(--card-line); overflow: hidden; display: flex; flex-direction: column; }
.card-t { padding: 36px 48px 40px; }
.card h3 { font-weight: 500; font-size: 20px; line-height: 1.3; }
.card-t p { margin-top: 12px; color: var(--muted); }
.card-shot { position: relative; margin-top: auto; padding: 40px 0 0 40px; aspect-ratio: 456 / 300; overflow: hidden; container-type: inline-size; }
.card { transition: transform 160ms ease, box-shadow 160ms ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 10px 24px rgba(0, 0, 0, 0.07); }

.sec-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; }
.split-t .kicker { margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chips li { display: inline-flex; align-items: center; height: 39px; padding: 0 14px; border: 1px solid var(--line); border-radius: 6px; font-size: 14px; font-weight: 500; }
.split-t .btn { margin-top: 32px; }
.split-shot { position: relative; border-radius: 10px; overflow: hidden; padding: 56px 0 0 56px; aspect-ratio: 760 / 560; margin-right: calc(-1 * var(--pad)); border-radius: 10px 0 0 10px; container-type: inline-size; }

.sec-proof { text-align: center; padding-top: 64px; }
.sec-proof p { font-size: 17px; line-height: 1.4; }
.sec-proof p + p { margin-top: 12px; }

/* ---------------------------------------------------------------- footer */
.ft { border-top: 1px solid var(--line); margin-top: 32px; }
.ft-in { max-width: 1380px; margin: 0 auto; padding: 32px var(--pad) 40px; display: flex; justify-content: space-between; gap: 16px 40px; flex-wrap: wrap;
  font-size: 14px; line-height: 1.5; color: var(--muted); }
.ft-links { display: flex; flex-wrap: wrap; gap: 0 20px; align-items: flex-start; }
.ft-links a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); }
.ft-links a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------------------------------------------------------------- inner pages */
.ph { text-align: center; padding: 96px 24px 24px; max-width: 860px; margin: 0 auto; }
.ph .kicker { margin-bottom: 18px; }
.ph h1 { font-weight: 500; font-size: 56px; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
.ph .sub { max-width: 620px; }
.sec-tight { padding-top: 48px; padding-bottom: 48px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card-text { padding: 36px 48px 40px; }
.card-text p { margin-top: 12px; color: var(--muted); }
.card-text .role { margin-top: 4px; font-size: 15px; }
.h-card { font-weight: 500; font-size: 22px; line-height: 1.3; letter-spacing: -0.01em; }
.sec-head + * { margin-top: 40px; }
.steps { counter-reset: s; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.steps li { border-top: 1px solid var(--line); padding-top: 18px; }
.steps .n { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 14px; background: var(--btn); color: var(--btn-ink); font-size: 14px; font-weight: 500; }
.steps h3, .terms h3, .notes h3 { margin-top: 14px; font-weight: 500; font-size: 17px; line-height: 1.35; }
.steps p, .terms p, .notes p { margin-top: 8px; color: var(--muted); font-size: 16px; line-height: 1.5; }
.terms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 1140px; margin-left: auto; margin-right: auto; }
.terms li { border-top: 1px solid var(--line); }
.notes { margin-top: 40px; max-width: 1140px; margin-left: auto; margin-right: auto; }
.notes a, .row-p a, .prose a, .facts a, .f-note a { text-underline-offset: 3px; padding: 11px 0; margin: -11px 0; }
.links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 24px; margin-top: 16px; }
.links a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 500; text-underline-offset: 4px; }
.rows { max-width: 1140px; margin: 0 auto; }
.row { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; padding: 40px 0; border-top: 1px solid var(--line); }
.h-row { font-weight: 500; font-size: 28px; line-height: 1.2; letter-spacing: -0.01em; }
.row-p { font-size: 17px; line-height: 1.55; max-width: 680px; }
.facts { margin: 0; display: grid; gap: 0; }
.facts > div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts > div:first-child { padding-top: 0; }
.facts dt { color: var(--muted); font-size: 15px; }
.facts dd { margin: 0; }
.muted { color: var(--muted); }
.todo { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border: 1px dashed var(--muted); border-radius: 15px; color: var(--muted); font-size: 15px; }
.jobs { display: grid; gap: 24px; }
.job { background: var(--card); border-radius: 6px; box-shadow: var(--shadow); border: 1px solid var(--card-line); overflow: hidden; }
.job-media { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.job-t { padding: 40px 48px; }
.h-job { font-weight: 500; font-size: 28px; line-height: 1.2; letter-spacing: -0.01em; }
.job-dl { margin: 24px 0 0; display: grid; gap: 18px; }
.job:not(.job-media) .job-dl { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.job-dl dt { font-weight: 500; font-size: 15px; }
.job-dl dd { margin: 6px 0 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
.job .meta { margin-top: 20px; font-size: 14px; color: var(--muted); }
.job .links { justify-content: flex-start; margin-top: 4px; }
.job-shot { position: relative; padding: 40px 0 40px 40px; display: flex; align-items: center; overflow: hidden; }
.job-shot > * { position: relative; z-index: 1; }
.job-shot img { border-radius: 6px 0 0 6px; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12); }
.job-shot .phone-frame img { max-height: 520px; width: auto; border-radius: 16px; margin: 0 auto; }
.cta-row { text-align: center; display: flex; justify-content: center; align-items: center; gap: 24px; }
.btn-line { min-height: 44px; display: inline-flex; align-items: center; font-weight: 500; text-underline-offset: 4px; }
.prose { max-width: 760px; margin: 0 auto; padding: 32px 24px 64px; font-size: 17px; line-height: 1.6; }
.prose h2 { font-size: 22px; line-height: 1.3; letter-spacing: -0.01em; margin-top: 40px; }
.prose p, .prose ul { margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose li + li { margin-top: 6px; }
@media (max-width: 1100px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .job-media { grid-template-columns: 1fr; }
  .job-shot { padding: 32px 0 0 32px; }
}
@media (max-width: 700px) {
  .ph { padding-top: 56px; }
  .ph h1 { font-size: 40px; line-height: 44px; }
  .grid-2, .terms, .steps, .job:not(.job-media) .job-dl { grid-template-columns: 1fr; }
  .card-text, .job-t { padding: 28px 24px; }
  .row { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
  .h-row { font-size: 24px; }
  .facts > div { grid-template-columns: 1fr; gap: 2px; }
  .h-job { font-size: 24px; }
}

/* ---------------------------------------------------------------- narrower screens */
@media (max-width: 1100px) {
  .cards { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .sec-split { grid-template-columns: 1fr; gap: 40px; }
  .split-shot { margin-right: calc(-1 * var(--pad)); }
}
@media (max-width: 860px) {
  .hd-nav { gap: 20px; }
  .wm { margin-right: 24px; }
}
@media (max-width: 700px) {
  :root { --pad: 16px; }
  .hd { height: 60px; }
  .hd-cta { display: none; }
  .hero { padding-top: 56px; }
  .hero h1 { font-size: 40px; line-height: 44px; }
  .strip { margin-top: 44px; }
  /* Phone: the six tabs sit in two rows of three, so every name is whole and nothing scrolls sideways. */
  .tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; overflow: visible; }
  .tab { padding: 0 6px; font-size: 14px; }
  .stage { padding-top: 28px; }
  .screens { width: calc(100% - 28px); aspect-ratio: 4 / 3; }
  h2 { font-size: 32px; line-height: 1.15; }
  .sec { padding: 64px var(--pad); }
  .card-t { padding: 28px 24px 32px; }
  .card-shot { padding: 28px 0 0 20px; }
  .split-shot { padding: 32px 0 0 24px; }
}
/* Below 430px the mark alone stands for the name, so the four links stay on one line (as on techontouch.us). */
@media (max-width: 430px) {
  .wm-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .wm { margin-right: 14px; }
  .hd-nav { gap: 14px; }
  .hd-nav a { font-size: 13px; }
  .theme-btn { margin-right: -10px; }
}
@media (max-width: 340px) {
  .hd-nav { gap: 10px; }
  .wm { margin-right: 10px; }
}

/* ================================================================ product panels: interface illustrations (illus_in.py)
   Everything inside is sized in em; the panel sets the em from its own width (cqw), so one drawing fits every box.
   The panels stay light in both themes, as a product window would. */
.app, .mini-in { --a-bg: #f6f6f4; --a-card: #ffffff; --a-ink: #111111; --a-mute: #6b6b6b; --a-line: #e4e4e0; --a-soft: #eeeeeb;
  --a-link: #1d5c3f; --a-amber-bg: #fbeec3; --a-amber: #6d4e00; --a-green-bg: #dcefe3; --a-green: #1d5c3f; --a-done-bg: #ececea; --a-done: #555;
  color: var(--a-ink); font-family: var(--sans); line-height: 1.25; }
.app { font-size: 1cqw; width: 100em; height: 57em; display: grid; grid-template-columns: 17em minmax(0, 1fr); background: var(--a-bg);
  text-align: left; font-weight: 400; }
.app b { font-weight: 500; }
.app-side { background: #fbfbfa; border-right: 1px solid var(--a-line); padding: 1.6em 0.8em; display: flex; flex-direction: column; font-size: 1.15em; }
.app-brand { display: flex; align-items: center; gap: 0.6em; font-weight: 500; padding: 0 0.6em 1.4em; }
.app-mark { width: 1.6em; height: 1.6em; border-radius: 0.35em; background: var(--a-ink); }
.app-sec { font-size: 0.85em; color: var(--a-mute); padding: 0.9em 0.7em 0.4em; }
.app-nav li { display: flex; align-items: center; gap: 0.6em; padding: 0.45em 0.7em; border-radius: 0.4em; }
.app-nav li i { width: 0.9em; height: 0.9em; border: 1px solid #b9b9b4; border-radius: 0.2em; flex: none; }
.app-nav li.is-on { background: var(--a-soft); font-weight: 500; }
.app-nav li.is-on i { background: var(--a-ink); border-color: var(--a-ink); }
.app-user { margin-top: auto; display: flex; align-items: center; gap: 0.6em; padding: 0.8em 0.6em 0; border-top: 1px solid var(--a-line); font-size: 0.95em; }
.app-user small { display: block; color: var(--a-mute); font-size: 0.85em; }
.av { width: 2.2em; height: 2.2em; border-radius: 50%; background: var(--a-link); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 0.8em; font-weight: 500; }
.app-main { display: flex; flex-direction: column; min-width: 0; }
.app-top { height: 3.6em; display: flex; align-items: center; gap: 0.9em; padding: 0 2em; border-bottom: 1px solid var(--a-line); background: var(--a-card); font-size: 1.05em; color: var(--a-ink); }
.app-dot { width: 0.6em; height: 0.6em; border-radius: 50%; background: var(--a-link); }
.app-sep { width: 1px; height: 1.4em; background: var(--a-line); }
.app-search { display: inline-flex; align-items: center; gap: 2em; padding: 0.45em 1em; border: 1px solid var(--a-line); border-radius: 0.5em; color: var(--a-mute); margin-left: 1em; }
.app-search small { font-size: 0.85em; }
.app-grow { flex: 1; }
.app-body { position: relative; padding: 1.8em 2em; display: flex; flex-direction: column; gap: 1.4em; min-height: 0; }
.v-h { display: flex; align-items: center; justify-content: space-between; gap: 1em; }
.v-h h4 { margin: 0; font-size: 1.5em; font-weight: 500; }
.v-h > span { color: var(--a-mute); font-size: 1em; }
.v-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.2em; }
.v-tiles-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile { background: var(--a-card); border: 1px solid var(--a-line); border-radius: 0.6em; padding: 1.2em 1.3em; }
.tile b { display: block; font-size: 2em; line-height: 1.1; font-weight: 500; font-variant-numeric: tabular-nums; }
.tile span { display: block; margin-top: 0.4em; font-size: 1.05em; color: var(--a-mute); }
.v-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4em; align-items: start; }
.v-two-lot { grid-template-columns: 5fr 6fr; }
.v-two-form { grid-template-columns: 8fr 3.4fr; }
.v-two-rc { grid-template-columns: 5fr 6fr; }
.pane { background: var(--a-card); border: 1px solid var(--a-line); border-radius: 0.6em; overflow: hidden; }
.pane-pad { padding: 1.2em 1.4em; }
.pane-h { display: flex; align-items: center; gap: 0.7em; padding: 1.1em 1.4em; font-weight: 500; font-size: 1.1em; }
.cnt { font-style: normal; font-size: 0.8em; background: var(--a-soft); border-radius: 1em; padding: 0.15em 0.6em; }
.pane-all { margin-left: auto; font-weight: 400; font-size: 0.9em; border: 1px solid var(--a-line); border-radius: 0.5em; padding: 0.35em 0.9em; }
.tbl { font-size: 1.05em; }
.th, .tr { display: grid; grid-template-columns: var(--cols); gap: 1em; padding: 0.7em 1.4em; align-items: center; }
.th { color: var(--a-mute); font-size: 0.92em; background: #fafaf8; border-top: 1px solid var(--a-line); border-bottom: 1px solid var(--a-line); }
.tr { border-bottom: 1px solid var(--a-line); font-variant-numeric: tabular-nums; }
.tr:last-child { border-bottom: 0; }
.td { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.td-r { text-align: right; }
.td-link { color: var(--a-link); font-weight: 500; }
.chip { display: inline-flex; align-items: center; height: 1.9em; padding: 0 0.7em; border-radius: 0.4em; background: var(--a-soft); color: var(--a-ink); font-size: 0.92em; font-weight: 500; white-space: nowrap; }
.chip-amber { background: var(--a-amber-bg); color: var(--a-amber); }
.chip-green { background: var(--a-green-bg); color: var(--a-green); }
.chip-done { background: var(--a-done-bg); color: var(--a-done); }
.td-r .chip { margin-left: auto; }
.btn-ghost, .btn-solid { display: inline-flex; align-items: center; height: 2.6em; padding: 0 1.2em; border-radius: 0.5em; font-size: 1em; font-weight: 500; white-space: nowrap; }
.btn-ghost { border: 1px solid var(--a-line); background: var(--a-card); color: var(--a-ink); }
.btn-solid { background: var(--a-ink); color: #fff; transition: transform 120ms ease, opacity 120ms ease; }
.btn-solid.is-pressed { transform: scale(0.96); opacity: 0.8; }
.lbl { font-size: 0.95em; color: var(--a-mute); margin-bottom: 0.35em; }
.unit { font-weight: 400; color: var(--a-mute); margin-left: 0.25em; font-size: 0.85em; }
.lot-h { font-size: 1.3em; font-weight: 500; margin-bottom: 1em; }
.lot-h small, .wg-h small, .mini-top small { font-weight: 400; color: var(--a-mute); font-size: 0.8em; margin-left: 0.5em; }
.route { display: flex; gap: 0.4em; margin: 0 0 1.2em; font-size: 1em; }
.route li { flex: 1; display: flex; align-items: center; gap: 0.5em; padding: 0.55em 0.8em; border-radius: 0.4em; background: var(--a-soft); color: var(--a-mute); white-space: nowrap; overflow: hidden;
  transition: background 250ms ease, color 250ms ease; }
.route li i { width: 0.7em; height: 0.7em; border-radius: 50%; border: 1px solid #b9b9b4; flex: none; transition: background 250ms ease, border-color 250ms ease; }
.route li.is-done { color: var(--a-ink); }
.route li.is-done i { background: var(--a-ink); border-color: var(--a-ink); }
.route li.is-on { background: var(--a-ink); color: #fff; }
.route li.is-on i { background: #fff; border-color: #fff; }
.lot-at { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1em; margin-bottom: 1.2em; }
.lot-at b { font-size: 1.4em; font-weight: 500; font-variant-numeric: tabular-nums; }
.wg { margin-bottom: 1.1em; }
.wg-h { font-weight: 500; font-size: 1.1em; margin-bottom: 0.5em; }
.wl { display: grid; grid-template-columns: 8em minmax(0, 1fr) 11em; gap: 1em; align-items: center; padding: 0.4em 0; font-size: 1em; }
.wl-n { color: var(--a-mute); text-align: right; white-space: nowrap; }
.bar { display: block; height: 0.8em; border-radius: 0.4em; background: var(--a-soft); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w); background: var(--a-ink); border-radius: 0.4em; transform-origin: left center; }
.bar.is-full i { background: var(--a-green); }
.bar.is-late i { background: #b45309; }
.seg { display: inline-flex; background: var(--a-soft); border-radius: 0.5em; padding: 0.25em; font-size: 0.95em; }
.seg > * { padding: 0.4em 0.9em; border-radius: 0.35em; color: var(--a-mute); }
.seg > b { background: var(--a-card); color: var(--a-ink); font-weight: 500; }
.v-two-form > div:first-child { display: flex; flex-direction: column; gap: 1em; }
.fstep-h { display: flex; align-items: center; gap: 0.7em; font-weight: 500; font-size: 1.1em; margin-bottom: 1em; }
.fstep-h i { font-style: normal; width: 1.8em; height: 1.8em; border-radius: 50%; background: var(--a-soft); display: inline-flex; align-items: center; justify-content: center; font-size: 0.85em; }
.purity { display: flex; gap: 2em; background: var(--a-soft); border-radius: 0.4em; padding: 0.7em 1em; margin-bottom: 1em; font-size: 1em; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4em; }
.field { height: 2.6em; border: 1px solid var(--a-line); border-radius: 0.4em; padding: 0 0.9em; display: flex; align-items: center; font-size: 1.05em; font-variant-numeric: tabular-nums; }
.field-r { justify-content: flex-end; font-weight: 500; }
.fpost { display: flex; align-items: center; justify-content: flex-end; gap: 1em; }
.melt-h { display: flex; justify-content: space-between; align-items: center; font-weight: 500; font-size: 1.2em; margin-bottom: 1.2em; }
.melt-big b { font-size: 2.2em; font-weight: 500; font-variant-numeric: tabular-nums; display: block; margin-bottom: 1em; }
.melt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2em 1em; }
.melt-grid b { font-size: 1.25em; font-weight: 500; font-variant-numeric: tabular-nums; }
.rc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6em 1.2em; }
.rc-big { font-size: 2em; font-weight: 500; font-variant-numeric: tabular-nums; line-height: 1.1; }
.rc-big b { font-weight: 500; }
.rc-loss + small { display: block; color: var(--a-mute); margin-top: 0.3em; font-size: 0.95em; }
.rc-grid .chip { margin-top: 0.6em; }
.rc-line { margin-top: 1.6em; padding-top: 1em; border-top: 1px solid var(--a-line); color: var(--a-mute); font-size: 1em; }
.cur { position: absolute; left: 0; top: 0; z-index: 5; width: 1.6em; height: 1.6em; opacity: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3l14 9-6 1.5L16 20l-3 1-3-6.5L5 19z' fill='%23111' stroke='%23fff' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain; }

/* small product panels inside the cards and the split section */
.mini { position: relative; z-index: 1; width: 135%; max-width: none; border-radius: 6px 0 0 0; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12); overflow: hidden;
  container-type: inline-size; background: #fff; }
.mini-in { font-size: 1.7cqw; padding: 1.4em 1.6em; display: flex; flex-direction: column; gap: 1em; background: var(--a-card); min-height: 36em; }
.mini-top { display: flex; justify-content: space-between; align-items: center; gap: 1em; font-size: 1.05em; color: var(--a-mute); }
.mini-top b { color: var(--a-ink); font-weight: 500; font-size: 1.15em; }
.mini .tbl { border: 1px solid var(--a-line); border-radius: 0.5em; overflow: hidden; }
.mini .th { border-top: 0; }
.mini .route { margin-bottom: 0; }
.mini-search { display: flex; align-items: center; gap: 0.8em; height: 3em; border: 1px solid var(--a-line); border-radius: 0.5em; padding: 0 1em; font-size: 1.1em; }
.mini-search i { width: 1em; height: 1em; border: 1.5px solid var(--a-mute); border-radius: 50%; flex: none; position: relative; }
.mini-search i::after { content: ""; position: absolute; width: 0.5em; height: 1.5px; background: var(--a-mute); right: -0.4em; bottom: -0.15em; transform: rotate(45deg); }
.res { padding: 0.8em 0; border-top: 1px solid var(--a-line); }
.res b { display: block; font-weight: 500; color: var(--a-link); font-size: 1.05em; }
.res span { display: block; color: var(--a-mute); margin-top: 0.25em; font-size: 0.98em; }
.rules { display: flex; flex-wrap: wrap; gap: 0.5em; }
.eq { width: 100%; height: 11em; display: block; }
.eq path { fill: none; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; }
.eq-flat { stroke: #b9b9b4; }
.eq-honest { stroke: var(--a-ink); }
.mini-lot .mini-in { font-size: 1.25cqw; }
.split-shot .mini { width: 140%; }

/* ================================================================ motion: entrance, reveals and the no-script safety
   The script sets html.motion-on when GSAP is present and motion is allowed; then it owns opacity and transform
   inline. Without that class, every element shows itself within 2.5 s (CSS animation), or at once with motion-off. */
html.js [data-reveal], html.js [data-reveal-group] > *, html.js [data-hero] > *, html.js [data-hero-panel] { opacity: 0; }
html.js:not(.motion-on) [data-reveal], html.js:not(.motion-on) [data-reveal-group] > *, html.js:not(.motion-on) [data-hero] > *,
html.js:not(.motion-on) [data-hero-panel] { animation: tot-safe 0s 2.5s forwards; }
html.motion-off [data-reveal], html.motion-off [data-reveal-group] > *, html.motion-off [data-hero] > *, html.motion-off [data-hero-panel] { opacity: 1; animation: none; }
@keyframes tot-safe { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal], html.js [data-reveal-group] > *, html.js [data-hero] > *, html.js [data-hero-panel] { opacity: 1; animation: none; }
  .tab, .tab-ind, .screen, .card, .btn, .route li, .route li i, .btn-solid { transition: none; }
}

@media (max-width: 1100px) {
  .mini-in { font-size: 1.7cqw; }
}
@media (max-width: 700px) {
  /* Phone: the sidebar is hidden and the main area shows at a readable size, clipped on the right like a window. */
  .app { font-size: 2.8cqw; grid-template-columns: minmax(0, 1fr); width: 100em; height: 60em; }
  .app-side { display: none; }
  .app-top { padding: 0 1.4em; }
  .app-body { padding: 1.4em; }
  .v-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v-tiles .tile:nth-child(n + 3) { display: none; }
  .v-two { grid-template-columns: 1fr; }
  .v-two > .pane:nth-child(2), .v-two-form > .melt, .v-two-rc > .pane:nth-child(2) { display: none; }
  .mini-in { font-size: 2.6cqw; }
  .mini-lot .mini-in { font-size: 2.1cqw; }
}

/* ================================================================ inner pages, 17 Oct evening: structure and visuals */
.jump { max-width: 1140px; margin: 8px auto 0; padding: 0 var(--pad); }
.jump ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.jump a { display: inline-flex; align-items: center; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 6px; font-size: 14px; font-weight: 500; text-decoration: none; transition: background 160ms ease; }
.jump a:hover { background: var(--soft); }
.svcs { display: grid; gap: 24px; }
.svc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; padding: 48px 0; border-top: 1px solid var(--line); scroll-margin-top: 88px; }
.svc:first-child { border-top: 0; padding-top: 16px; }
.h-svc { font-weight: 500; font-size: 34px; line-height: 1.15; letter-spacing: -0.02em; }
.svc-t p { margin-top: 16px; color: var(--muted); line-height: 1.5; }
.svc-recent { color: var(--ink) !important; }
.svc-recent span { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 13px; background: var(--btn); color: var(--btn-ink); font-size: 13px; font-weight: 500; margin-right: 10px; vertical-align: middle; }

/* diagrams: white panel, soft background, in em so one drawing fits any width */
.diag, .viz { position: relative; z-index: 1; background: var(--a-card, #fff); border-radius: 10px; border: 1px solid var(--line); overflow: hidden; container-type: inline-size; }
.diag-in, .viz-in { --a-bg: #f6f6f4; --a-card: #ffffff; --a-ink: #111111; --a-mute: #6b6b6b; --a-line: #e4e4e0; --a-soft: #eeeeeb;
  --a-link: #1d5c3f; --a-amber-bg: #fbeec3; --a-amber: #6d4e00; --a-green-bg: #dcefe3; --a-green: #1d5c3f; --a-done-bg: #ececea; --a-done: #555;
  color: var(--a-ink); background: var(--a-card); font-size: 1.6cqw; padding: 2.2em 2em; position: relative; line-height: 1.3; }
.diag-note { padding: 14px 24px 18px; font-size: 15px; color: var(--muted); border-top: 1px solid var(--line); line-height: 1.45; }
.fl-line { position: absolute; left: 2em; right: 2em; width: auto; height: 2px; top: 50%; display: block; }
.fl-line path { stroke: #c9c9c4; stroke-width: 2; fill: none; stroke-dasharray: 1; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; }
.diag-in .fl-line { top: 3.6em; }
.fl { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.2em; }
.fl li { background: var(--a-card); border: 1px solid var(--a-line); border-radius: 0.6em; padding: 1.1em 1.1em 1.2em; min-height: 7em; }
.fl li b { display: block; font-weight: 500; font-size: 1.15em; }
.fl li span { display: block; margin-top: 0.4em; color: var(--a-mute); font-size: 0.98em; }
.fl li.fl-person { background: var(--a-ink); color: #fff; border-color: var(--a-ink); }
.fl li.fl-person span { color: #c9c9c4; }
.ai-q { display: flex; align-items: center; gap: 0.8em; height: 3.2em; border: 1px solid var(--a-line); border-radius: 0.6em; padding: 0 1em; font-size: 1.15em; }
.ai-q i { width: 1em; height: 1em; border: 1.5px solid var(--a-mute); border-radius: 50%; flex: none; }
.ai-mid { display: flex; align-items: center; gap: 1em; margin: 1.2em 0; color: var(--a-mute); font-size: 1.05em; }
.ai-mid b { color: var(--a-ink); font-weight: 500; }
.ai-stack { position: relative; width: 2.4em; height: 2.4em; display: inline-block; }
.ai-stack i { position: absolute; left: 0; top: 0; width: 1.8em; height: 2.2em; border: 1px solid var(--a-mute); border-radius: 0.2em; background: var(--a-card); }
.ai-stack i:nth-child(2) { transform: translate(0.3em, -0.2em); }
.ai-stack i:nth-child(3) { transform: translate(0.6em, -0.4em); }
.ai-ans { border: 1px solid var(--a-line); border-radius: 0.6em; padding: 1.2em 1.3em; }
.ai-ans-h { display: flex; justify-content: space-between; align-items: center; font-weight: 500; font-size: 1.1em; }
.ai-ans p { margin: 0.7em 0 0.9em; color: var(--a-ink); font-size: 1.02em; line-height: 1.4; }
.src { padding: 0.6em 0; border-top: 1px solid var(--a-line); }
.src b { display: block; font-weight: 500; color: var(--a-link); font-size: 1em; }
.src span { display: block; color: var(--a-mute); font-size: 0.92em; margin-top: 0.15em; }
.erp-screens { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.8em; }
.erp-screens li { border: 1px solid var(--a-line); border-radius: 0.5em; padding: 0.8em 0.6em; text-align: center; font-weight: 500; font-size: 1.02em; background: var(--a-bg); }
.erp-lines { display: block; width: 100%; height: 3.2em; }
.erp-lines path { stroke: #c9c9c4; stroke-width: 2; fill: none; stroke-dasharray: 1; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; }
.erp-db { background: var(--a-ink); color: #fff; border-radius: 0.7em; padding: 1.3em 1.5em; display: flex; align-items: center; gap: 2em; font-size: 1.05em; }
.erp-db-t { font-weight: 500; font-size: 1.25em; }
.erp-db b { font-weight: 500; font-size: 1.3em; margin-right: 0.3em; }
.erp-rules { display: flex; flex-wrap: wrap; gap: 0.6em; margin-top: 1.2em; }
.web-src { text-align: center; margin-bottom: 2.6em; }
.web-src b { display: block; font-weight: 500; font-size: 1.3em; }
.web-src span { color: var(--a-mute); font-size: 1em; }
.diag-web .fl-line, .viz-sites .fl-line { top: 6.2em; }
.web-devs { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 2.5em; }
.dev { position: relative; border: 2px solid var(--a-ink); border-radius: 0.5em; padding: 0.8em; display: flex; flex-direction: column; gap: 0.4em; background: var(--a-card); }
.dev i { display: block; height: 0.5em; background: var(--a-soft); border-radius: 0.2em; }
.dev i:first-child { background: var(--a-ink); height: 0.7em; width: 60%; }
.dev b { position: absolute; left: 50%; bottom: -1.9em; transform: translateX(-50%); font-weight: 500; font-size: 0.9em; color: var(--a-mute); }
.dev-phone { width: 6.5em; height: 11em; }
.dev-tab { width: 11em; height: 9em; }
.dev-desk { width: 20em; height: 12em; }
.web-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.6em; margin-top: 3.2em; }
.viz-in { padding: 1.8em 1.8em; }
.viz-h { display: flex; justify-content: space-between; align-items: center; gap: 1em; font-size: 1.05em; color: var(--a-mute); margin-bottom: 0.8em; }
.viz-h b { color: var(--a-ink); font-weight: 500; font-size: 1.2em; }
.trk { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 1em; align-items: center; margin-bottom: 0.8em; font-size: 1em; color: var(--a-mute); }
.trk-bar { position: relative; height: 2em; background: var(--a-soft); border-radius: 0.4em; overflow: hidden; }
.trk-bar i { position: absolute; top: 0.3em; bottom: 0.3em; left: var(--x); width: var(--w); border-radius: 0.3em; background: #c9c9c4; }
.trk-bar i.ok { background: var(--a-green); }
.trk-cam i { background: repeating-linear-gradient(90deg, #d8d8d3 0 1.2em, #e8e8e4 1.2em 2.4em); top: 0.4em; bottom: 0.4em; }
.trk-foot { display: flex; justify-content: space-between; margin-top: 1.2em; padding-top: 1em; border-top: 1px solid var(--a-line); color: var(--a-mute); }
.trk-foot b { color: var(--a-ink); font-weight: 500; font-size: 1.2em; }
.viz-labour .wl { grid-template-columns: 9em minmax(0, 1fr) 11em; }
.mt-tab { display: flex; align-items: center; gap: 0.7em; height: 2.8em; border: 1px solid var(--a-line); border-radius: 0.6em 0.6em 0 0; padding: 0 1em; font-size: 1.05em; font-weight: 500; background: var(--a-bg); }
.mt-dot { width: 0.7em; height: 0.7em; border-radius: 50%; background: #b91c1c; }
.mt-rec { margin-left: auto; font-weight: 400; color: var(--a-mute); font-size: 0.9em; }
.mt-pieces { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 0.3em; padding: 1.4em 0; }
.mt-pieces i { display: block; height: 2.4em; border-radius: 0.25em; background: var(--a-green); }
.wins { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5em; margin-top: 2.6em; }
.win { border: 1px solid var(--a-line); border-radius: 0.6em; overflow: hidden; background: var(--a-card); }
.win-bar { display: flex; align-items: center; gap: 0.4em; padding: 0.6em 0.8em; background: var(--a-bg); border-bottom: 1px solid var(--a-line); font-size: 0.95em; }
.win-bar i { width: 0.6em; height: 0.6em; border-radius: 50%; background: #c9c9c4; }
.win-bar span { margin-left: 0.6em; font-weight: 500; }
.win-body { padding: 1em; display: grid; gap: 0.5em; }
.win-body b { display: block; height: 1em; width: 55%; border-radius: 0.2em; background: var(--a-ink); }
.win-body span { display: block; height: 0.6em; border-radius: 0.2em; background: var(--a-soft); }
.win-b .win-body b { background: #b45309; }
.viz-flow .diag-in { font-size: 1.5cqw; }

/* work: visual on top, one outcome, the full job folded */
.jobs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.job { display: flex; flex-direction: column; transition: transform 160ms ease, box-shadow 160ms ease; }
.job:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 10px 24px rgba(0, 0, 0, 0.07); }
.job-v { position: relative; padding: 36px 0 0 36px; aspect-ratio: 16 / 9; overflow: hidden; container-type: inline-size; }
.job-v > * { position: relative; z-index: 1; width: 125%; min-height: 100%; max-width: none; border-radius: 6px 0 0 0; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12); border: 0; }
.job-v > .viz, .job-v > .diag { width: 110%; }
.job-v .mini-in { font-size: 1.6cqw; min-height: 0; }
.job-v .diag-in, .job-v .viz-in { font-size: 1.5cqw; }
.job-v .diag-note { display: none; }
.job-t { padding: 32px 40px 36px; }
.job-out { margin-top: 14px; font-size: 17px; line-height: 1.45; color: var(--muted); }
.job-out b { display: block; font-weight: 500; font-size: 32px; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 6px; }
.job-more { margin-top: 18px; }
.job-more summary { cursor: pointer; font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 4px; text-decoration: underline; list-style: none; }
.job-more summary::-webkit-details-marker { display: none; }
.job-more[open] summary { text-decoration: none; }
.job .job-dl { margin-top: 8px; }
.job .meta { margin-top: 16px; }

/* about */
.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; max-width: 1140px; margin: 0 auto; }
.num { border-top: 1px solid var(--line); padding-top: 18px; }
.num b { display: block; font-weight: 500; font-size: 44px; line-height: 1.1; letter-spacing: -0.02em; }
.num span { display: block; margin-top: 8px; color: var(--muted); font-size: 16px; }
.diag-how { max-width: 1140px; margin: 0 auto; }
.diag-how .diag-in { font-size: 1.35cqw; }
.people { max-width: 1140px; margin-left: auto; margin-right: auto; }
.av-big { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 28px; background: var(--btn); color: var(--btn-ink); font-weight: 500; font-size: 18px; margin-bottom: 18px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; max-width: 1140px; margin: 0 auto; }
.contact-grid .h-row { margin-bottom: 20px; }
.h-row-gap { margin-top: 40px; }
.enq { display: grid; gap: 18px; }
.f-row { display: grid; gap: 6px; }
.f-row label { font-size: 15px; font-weight: 500; }
.enq input, .enq textarea { width: 100%; font: 400 17px/1.4 var(--sans); color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; min-height: 48px; }
.enq input:focus, .enq textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: transparent; }
.enq textarea { resize: vertical; }
.enq .btn { justify-self: start; }
.f-note { font-size: 14px; color: var(--muted); }

/* legal pages: contents beside the text */
.legal { max-width: 1040px; margin: 0 auto; padding: 24px var(--pad) 64px; display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: 88px; }
.toc-h { font-size: 15px; font-weight: 500; letter-spacing: 0; margin-bottom: 10px; }
.toc ol { counter-reset: t; display: grid; gap: 0; }
.toc li { counter-increment: t; }
.toc a { display: flex; gap: 8px; min-height: 44px; align-items: center; font-size: 14px; line-height: 1.3; color: var(--muted); text-decoration: none; }
.toc a::before { content: counter(t); flex: none; width: 20px; color: var(--muted); }
.toc a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal .prose { padding: 0; margin: 0; }
.updated { color: var(--muted); font-size: 15px; }
.prose-sec { scroll-margin-top: 88px; }
.prose-sec h2 { margin-top: 36px; }
.prose-sec:first-of-type h2 { margin-top: 24px; }

@media (max-width: 1100px) {
  .svc { grid-template-columns: 1fr; gap: 28px; }
  .jobs { grid-template-columns: 1fr; max-width: 640px; margin-left: auto; margin-right: auto; }
  .nums { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .legal { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; }
  .toc ol { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .h-svc { font-size: 28px; }
  .svc { padding: 36px 0; }
  .diag-in, .viz-in { font-size: 2.6cqw; padding: 1.6em 1.4em; }
  .fl { grid-template-columns: 1fr 1fr; gap: 0.8em; }
  .fl li { min-height: 0; }
  .fl li:last-child { grid-column: 1 / -1; }
  .diag-in .fl-line { display: none; }
  .erp-screens { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .erp-lines { display: none; }
  .erp-db { flex-direction: column; align-items: flex-start; gap: 0.5em; }
  .dev-desk { display: none; }
  .diag-how .diag-in, .viz-flow .diag-in { font-size: 2.4cqw; }
  .job-v { padding: 24px 0 0 20px; }
  .job-v .mini-in { font-size: 2.4cqw; }
  .job-v .diag-in, .job-v .viz-in { font-size: 2.3cqw; }
  .job-t { padding: 24px 20px 28px; }
  .job-out b { font-size: 28px; }
  .nums { grid-template-columns: 1fr; }
  .num b { font-size: 36px; }
  .toc ol { grid-template-columns: 1fr; }
  .mt-pieces { grid-template-columns: repeat(12, minmax(0, 1fr)); }
}

/* ================================================================ service landing pages, 19 Oct 2026: /services/custom-erp/, automation, ai-tools, jewellery ERP */
.svc-more { color: var(--ink) !important; margin-top: 8px !important; }
.svc-more a, .lp-links a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 500; text-underline-offset: 4px; color: var(--ink); }
.svc-t p a { color: var(--ink); text-underline-offset: 3px; }
.lp-links { display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: 8px; }
.lp-nums + .lp-rows { margin-top: 40px; }
.lp-shot { border-radius: 10px; }
.lp-cap { margin-top: 12px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.faq { max-width: 860px; margin-left: auto; margin-right: auto; }
.faq-i { padding: 24px 0; border-top: 1px solid var(--line); }
.faq-i h3 { font-weight: 500; font-size: 20px; line-height: 1.3; }
.faq-i p { margin-top: 10px; max-width: 720px; color: var(--muted); font-size: 17px; line-height: 1.55; }
@media (max-width: 700px) {
  .faq-i { padding: 20px 0; }
  .faq-i h3 { font-size: 18px; }
}
.svc-more { display: flex; flex-wrap: wrap; gap: 0 24px; }
.sec-head + .lp-nums, .sec-head + .lp-rows, .sec-head + .lp-steps { margin-top: 40px; }
