/* =====================================================================
   Kennoys website — design v5 DRAFT stylesheet (copy of v4 with the 18 Oct iPhone and shop corrections).
   Layout and look only. Not wired to anything; web/ (v2) and drafts/v3 are untouched.
   v4 changes: flat frames (no 3D tilt), screens level with their text, one phone frame
   for every phone, contained industries grid with full-colour scenes, nine equal cards.
   ===================================================================== */

@font-face { font-family: Barlow; src: url("fonts/Barlow-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap }
@font-face { font-family: Barlow; src: url("fonts/Barlow-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap }
@font-face { font-family: Barlow; src: url("fonts/Barlow-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap }
@font-face { font-family: Inter; src: url("fonts/Inter-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap }
@font-face { font-family: Inter; src: url("fonts/Inter-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap }

:root {
  --red: #e11d2c; --red-deep: #b3141f; --red-soft: #ff5a66;
  --ink-950: #080b0d; --ink: #0f1416; --ink-800: #161c1f; --ink-700: #1f2629; --ink-600: #2c3538;
  --paper: #ffffff; --offwhite: #f4f5f6; --mist: #e6e9eb; --slate: #5f686c; --slate-2: #8a9397;
  --cyan: #22d3ee; --green: #16a34a; --amber: #f59e0b;
  --wrap: 1280px; --gut: 56px;
  --spine-x: max(22px, calc(50vw - var(--wrap) / 2 + 22px));
  --shadow-lg: 0 50px 90px -40px rgba(8, 11, 13, .55), 0 18px 40px -24px rgba(8, 11, 13, .35);
  --shadow-md: 0 24px 50px -24px rgba(8, 11, 13, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth }
body { font: 400 16px/1.6 Inter, system-ui, sans-serif; background: var(--ink-950); color: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden }
img { display: block; max-width: 100%; height: auto }
a { color: inherit; text-decoration: none }
h1, h2, h3, h4, .disp { font-family: Barlow, system-ui, sans-serif; font-weight: 700; letter-spacing: -.015em; line-height: 1.04 }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); position: relative }
.dot { color: var(--red) }
.nw { white-space: nowrap }
.sq { display: inline-block; width: .32em; height: .32em; background: var(--red); margin-left: .06em; vertical-align: baseline }

/* ---------- tones ---------- */
.dark  { background: var(--ink-950); color: #fff }
.dark2 { background: var(--ink); color: #fff }
.light { background: var(--offwhite); color: var(--ink) }
.white { background: var(--paper); color: var(--ink) }
.dark .muted, .dark2 .muted { color: rgba(255,255,255,.64) }
.light .muted, .white .muted { color: var(--slate) }

.eyebrow { font: 600 12.5px/1.2 Barlow, sans-serif; letter-spacing: .24em; text-transform: uppercase; color: var(--red) }
.lede { font-size: 18px; line-height: 1.65; max-width: 560px }

.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 15.5px/1 Barlow, sans-serif; letter-spacing: .01em; padding: 15px 26px; border-radius: 999px; border: 1px solid transparent; transition: transform .25s var(--ease), background .25s }
.btn:hover { transform: translateY(-2px) }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 14px 30px -14px rgba(225,29,44,.8) }
.btn-ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.18) }
.btn-ink { background: var(--ink); color: #fff }
.btn-line { border-color: rgba(15,20,22,.18); color: var(--ink) }
.arrow::after { content: "→"; font-family: Inter, sans-serif; transition: transform .25s var(--ease) }
.btn:hover .arrow::after, a:hover > .arrow::after { transform: translateX(3px) }

/* ---------- draft annotations (hide with ?clean=1) ---------- */
.anno { position: absolute; z-index: 60; background: #ffd400; color: #111; font: 600 10.5px/1.35 Inter, sans-serif; letter-spacing: .02em; padding: 6px 9px; border-radius: 6px; max-width: 290px; box-shadow: 0 6px 16px -6px rgba(0,0,0,.4); pointer-events: none }
.anno b { font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 9.5px; display: block; opacity: .75 }
body.clean .anno, body.clean .draftbar { display: none }
.draftbar { position: relative; z-index: 70; background: #ffd400; color: #111; font: 600 11.5px/1 Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; padding: 10px var(--gut); text-align: center }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(8,11,13,.82); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-bottom: 1px solid rgba(255,255,255,.07) }
.nav .wrap { display: flex; align-items: center; gap: 34px; height: 74px }
.nav-logo img { height: 45px; width: auto }  /* v7: 1.5x the v6 logo (30px), client 18 Oct */
.nav-links { display: flex; gap: 26px; font: 500 15px/1 Barlow, sans-serif; letter-spacing: .02em; color: rgba(255,255,255,.78); margin-left: 12px }
.nav-links a:hover { color: #fff }
.nav-links .has::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-2px,-2px); margin-left: 8px; opacity: .7 }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px }
.nav-tel { font: 500 14px/1 Inter, sans-serif; color: rgba(255,255,255,.7) }
.nav .btn { padding: 12px 20px; font-size: 14.5px }
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255,255,255,.16); position: relative }
.burger::before, .burger::after { content: ""; position: absolute; left: 11px; right: 11px; height: 1.5px; background: #fff; top: 16px; box-shadow: 0 5px 0 #fff }
.burger::after { top: 26px; box-shadow: none }

/* mega menu preview (draft shows it open on demand: ?menu=1) */
.mega { display: none; position: absolute; left: 0; right: 0; top: 74px; background: rgba(12,16,18,.97); border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(18px); padding: 34px 0 38px }
body.menu .mega { display: block }
.mega-grid { display: grid; grid-template-columns: 1.2fr 1fr .8fr 1fr; gap: 40px }
.mega h5 { font: 600 11.5px/1 Barlow, sans-serif; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 16px }
.mega a { display: block; padding: 9px 0; font: 600 16px/1.2 Barlow, sans-serif; color: #fff }
.mega a small { display: block; font: 400 13px/1.4 Inter, sans-serif; color: rgba(255,255,255,.55); margin-top: 3px }
.mega .mega-card { border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 22px; background: linear-gradient(140deg, rgba(225,29,44,.18), rgba(34,211,238,.06)) }

/* ---------- the spine: one line stitched through every section ---------- */
main { position: relative; overflow-x: clip }  /* overhanging art never causes sideways scrolling */
.spine { position: absolute; left: var(--spine-x); top: 0; bottom: 0; width: 2px; z-index: 5; pointer-events: none }
.spine::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(225,29,44,0), rgba(225,29,44,.38) 4%, rgba(225,29,44,.3) 50%, rgba(34,211,238,.35) 80%, rgba(225,29,44,0)); }
.spine i { position: absolute; left: 0; top: 0; width: 2px; height: var(--spine-p, 22%); background: linear-gradient(to bottom, transparent, var(--red) 30%); box-shadow: 0 0 14px rgba(225,29,44,.7) }
.spine i::after { content: ""; position: absolute; bottom: -5px; left: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(225,29,44,.2), 0 0 22px var(--red) }
.node { position: absolute; left: calc(var(--spine-x) - 5px); width: 12px; height: 12px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(225,29,44,.16); z-index: 6 }
.light .node, .white .node { box-shadow: 0 0 0 5px rgba(225,29,44,.12), 0 0 0 10px rgba(255,255,255,.8) }

/* ---------- seams: no hard lines anywhere ---------- */
.seam { position: relative; height: 170px; z-index: 1 }
.seam.d2l { background: linear-gradient(to bottom, var(--ink-950), var(--offwhite)) }
.seam.l2d { background: linear-gradient(to bottom, var(--offwhite), var(--ink-950)) }
.seam.w2d { background: linear-gradient(to bottom, var(--paper), var(--ink-950)) }
.seam.d2w { background: linear-gradient(to bottom, var(--ink-950), var(--paper)) }
.seam.glow { height: 230px }
.seam.glow::before { content: ""; position: absolute; inset: -60% 0 0; background: radial-gradient(ellipse 50% 60% at 26% 30%, rgba(225,29,44,.42), transparent 62%), radial-gradient(ellipse 42% 58% at 78% 40%, rgba(34,211,238,.2), transparent 62%); filter: blur(50px); pointer-events: none }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 40px }
.hero-glow { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(ellipse 60% 55% at 78% 30%, rgba(225,29,44,.22), transparent 60%),
  radial-gradient(ellipse 40% 45% at 92% 75%, rgba(34,211,238,.12), transparent 60%),
  radial-gradient(ellipse 50% 60% at 10% 10%, rgba(255,255,255,.05), transparent 60%) }
.hero-grid { position: absolute; inset: 0; pointer-events: none; opacity: .55; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000, transparent 75%) }
.hero-orbit { position: absolute; right: -170px; top: -120px; width: 760px; height: 760px; opacity: .1; pointer-events: none; animation: spin 90s linear infinite }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 40px; align-items: center; min-height: 640px }
.hero h1 { font-size: clamp(44px, 5.6vw, 82px); line-height: .98; margin: 22px 0 0 }
.hero h1 .soft { color: rgba(255,255,255,.42) }
.hero .hero-sub { font: 600 clamp(22px, 2.2vw, 30px)/1.2 Barlow, sans-serif; color: rgba(255,255,255,.46); margin-top: 16px; letter-spacing: -.005em }
.hero .lede { margin-top: 24px; color: rgba(255,255,255,.7) }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; list-style: none }
.hero-facts li { font: 500 12.5px/1 Inter, sans-serif; color: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.12); padding: 9px 12px; border-radius: 999px; background: rgba(255,255,255,.03) }

.stage { position: relative; height: 600px; perspective: 1800px }
.stage .frame.main { position: absolute; right: -40px; top: 40px; width: 680px }
.stage .phone { position: absolute; left: 18px; bottom: 0; width: 196px; z-index: 4 }
.stage .chip { position: absolute; z-index: 6 }
.stage .c1 { left: -10px; top: 70px }
.stage .c2 { right: -10px; top: 0 }
.stage .c3 { right: 30px; bottom: 30px }
.stage .board { position: absolute; left: 190px; bottom: 34px; width: 210px; z-index: 3 }
.stage .trace { position: absolute; inset: 0; z-index: 2; overflow: visible; pointer-events: none }

/* ---------- frames ---------- */
.frame { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid rgba(15,20,22,.08); position: relative }
.dark .frame, .dark2 .frame { border-color: rgba(255,255,255,.1) }
.frame .bar { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #eef0f2; border-bottom: 1px solid rgba(15,20,22,.07) }
.frame .bar i { width: 10px; height: 10px; border-radius: 50%; background: #d4d8db }
.frame .bar i:nth-child(1) { background: #ff5f57 } .frame .bar i:nth-child(2) { background: #febc2e } .frame .bar i:nth-child(3) { background: #28c840 }
.frame .bar u { text-decoration: none; margin: 0 auto; font: 500 11.5px/1 Inter, sans-serif; color: #6b7478; background: #fff; border-radius: 7px; padding: 6px 60px; border: 1px solid rgba(15,20,22,.06) }
.frame .view { position: relative; overflow: hidden }
.frame .view img { width: 100% }
.frame.tall .view { height: var(--vh, 430px) }
.frame.tall .view img { animation: pan 22s var(--ease) infinite }
@keyframes pan { 0%, 12% { transform: translateY(0) } 48%, 58% { transform: translateY(calc(-100% + var(--vh, 430px))) } 94%, 100% { transform: translateY(0) } }
.frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.35) 47%, transparent 58%); transform: translateX(-120%); animation: sweep 9s ease-in-out infinite }
@keyframes sweep { 0%, 70% { transform: translateX(-120%) } 100% { transform: translateX(120%) } }

.tilt { transform: none }  /* v4: frames stay straight - tilting blurred the screens and made them look misaligned */

.phone { border-radius: 40px; background: #0b0f12; padding: 9px; box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255,255,255,.12) }
.phone .screen { border-radius: 32px; overflow: hidden; position: relative; background: #fff }
.phone .screen::before { content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 34%; height: 18px; border-radius: 12px; background: #0b0f12; z-index: 2 }
.phoneshot { border-radius: 34px; box-shadow: var(--shadow-lg) }  /* PlanMyLeave phone captures already include a body */

.chip { display: flex; align-items: center; gap: 11px; background: rgba(255,255,255,.96); color: var(--ink); border-radius: 14px; padding: 11px 15px 11px 12px; box-shadow: var(--shadow-md); font: 600 13px/1.25 Inter, sans-serif; border: 1px solid rgba(15,20,22,.06); white-space: nowrap }
.chip small { display: block; font-weight: 400; font-size: 11.5px; color: var(--slate) }
.chip .ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; font-size: 15px }
.ic.g { background: #dcfce7; color: #15803d } .ic.r { background: #fde2e4; color: var(--red) } .ic.c { background: #cffafe; color: #0e7490 } .ic.a { background: #fef3c7; color: #b45309 } .ic.k { background: var(--ink); color: #fff }
.chip.darkchip { background: rgba(22,28,31,.92); color: #fff; border-color: rgba(255,255,255,.1) }
.chip.darkchip small { color: rgba(255,255,255,.55) }
.float { animation: floaty 7s ease-in-out infinite }
.float.d2 { animation-delay: -2.4s } .float.d3 { animation-delay: -4.6s }
@keyframes floaty { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-11px) } }
.live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 6px; box-shadow: 0 0 0 0 rgba(22,163,74,.6); animation: ping 1.8s infinite }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,.55) } 100% { box-shadow: 0 0 0 9px rgba(22,163,74,0) } }
@keyframes spin { to { transform: rotate(360deg) } }

/* hotspots on screenshots, numbered to match the bullets */
.hot { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: var(--red); color: #fff; font: 600 12px/26px Inter, sans-serif; text-align: center; z-index: 5; box-shadow: 0 0 0 0 rgba(225,29,44,.55); animation: hotping 2.2s infinite }
.hot.on { transform: scale(1.25); background: var(--ink) }
@keyframes hotping { 0% { box-shadow: 0 0 0 0 rgba(225,29,44,.5) } 100% { box-shadow: 0 0 0 16px rgba(225,29,44,0) } }
.cursor { position: absolute; z-index: 7; width: 22px; height: 22px; pointer-events: none; animation: cursor 9s var(--ease) infinite }
.cursor svg { filter: drop-shadow(0 3px 4px rgba(0,0,0,.35)) }
@keyframes cursor { 0%, 8% { transform: translate(-160px, 120px) } 40%, 55% { transform: translate(0, 0) } 47% { transform: translate(0,0) scale(.85) } 85%, 100% { transform: translate(-160px, 120px) } }

/* ---------- capability map ---------- */
.map { position: relative; padding: 30px 0 90px; z-index: 4; color: #fff;
  background: linear-gradient(to bottom, var(--ink-950) 0, var(--ink-950) 250px, var(--offwhite) 560px, var(--offwhite)) }
.map::before { content: ""; position: absolute; left: 0; right: 0; top: 180px; height: 360px; pointer-events: none; filter: blur(50px);
  background: radial-gradient(ellipse 45% 55% at 24% 40%, rgba(225,29,44,.38), transparent 62%), radial-gradient(ellipse 40% 50% at 80% 50%, rgba(34,211,238,.18), transparent 62%) }
.map .wrap { z-index: 1 }
.map .grp.first { color: rgba(255,255,255,.55) } .map .grp.first::after { background: rgba(255,255,255,.14) }
.map-head { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: end; margin-bottom: 34px }
.map-head h2 { font-size: clamp(36px, 4vw, 56px); color: #fff }
.map-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px }
.cap { position: relative; border-radius: 22px; padding: 24px 24px 22px; background: rgba(255,255,255,.88); backdrop-filter: blur(14px); border: 1px solid rgba(15,20,22,.07); box-shadow: 0 30px 60px -40px rgba(8,11,13,.5); transition: transform .35s var(--ease), box-shadow .35s; overflow: hidden; min-height: 196px; display: flex; flex-direction: column; color: var(--ink) }
.cap:hover { transform: translateY(-4px); box-shadow: 0 40px 70px -40px rgba(8,11,13,.6) }
.cap .n { font: 700 13px/1 Barlow, sans-serif; letter-spacing: .14em; color: var(--red) }
.cap h3 { font-size: 23px; margin: 14px 0 8px }
.cap p { font-size: 14px; line-height: 1.5; color: var(--slate) }
.cap .go { margin-top: auto; padding-top: 16px; font: 600 13px/1 Barlow, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--ink) }
.cap .glyph { position: absolute; right: 18px; top: 18px; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--offwhite); color: var(--ink) }
.cap.sw { grid-column: span 4 } .cap.sw.w6 { grid-column: span 6 }
.cap.hw { grid-column: span 4; background: linear-gradient(160deg, #121a1d, #0b0f12); color: #fff; border-color: rgba(255,255,255,.08) }
.cap.hw p { color: rgba(255,255,255,.62) } .cap.hw .go { color: #fff } .cap.hw .glyph { background: rgba(255,255,255,.07); color: #fff }
.cap.ac { grid-column: span 12; min-height: 0; flex-direction: row; align-items: center; gap: 28px; background: linear-gradient(100deg, var(--red), #8f0f18); color: #fff; border: 0 }
.cap.ac p { color: rgba(255,255,255,.8); max-width: 640px } .cap.ac .go { color: #fff; margin: 0 0 0 auto; padding: 0 }
.cap.ac h3 { margin: 6px 0 4px }
.grp { grid-column: span 12; display: flex; align-items: center; gap: 14px; font: 600 12px/1 Barlow, sans-serif; letter-spacing: .24em; text-transform: uppercase; color: var(--slate); margin: 16px 0 2px }
.grp::after { content: ""; flex: 1; height: 1px; background: rgba(15,20,22,.12) }

/* ---------- chapter headers ---------- */
.chapter { position: relative; padding: 40px 0 10px }
.chapter .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end }
.chapter .ch-no { font: 600 12.5px/1 Barlow, sans-serif; letter-spacing: .24em; text-transform: uppercase; color: var(--red) }
.chapter h2 { font-size: clamp(40px, 5vw, 72px); margin-top: 12px }
.chapter p { font-size: 17px; line-height: 1.6 }

/* ---------- feature rows: the core pattern ---------- */
.feat { position: relative; padding: 70px 0 }
.feat .wrap { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 72px; align-items: start }
.feat.flip .wrap { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr) }
.feat.flip .media { order: 2 }
.feat .numeral { position: absolute; top: -70px; font: 700 260px/1 Barlow, sans-serif; letter-spacing: -.04em; color: rgba(15,20,22,.045); pointer-events: none; z-index: 0; right: max(8px, calc(50vw - var(--wrap) / 2)) }
.feat.flip .numeral { right: auto; left: max(8px, calc(50vw - var(--wrap) / 2 + 40px)) }
.dark .feat .numeral, .dark2 .feat .numeral, .feat.dk .numeral { color: rgba(255,255,255,.04) }
.feat .node { top: 92px }
.media { position: relative; z-index: 2; min-height: 0; padding-top: 34px }
@media (min-width: 1101px) { .media, .media.acad { position: sticky; top: 118px } }  /* .acad needs sticky too: as relative, top:118px pushed it down */
.copy { position: relative; z-index: 2 }
.copy .tag { display: flex; align-items: center; gap: 10px; font: 600 12.5px/1 Barlow, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--red) }
.copy .tag span { color: var(--slate-2) }
.copy h3 { font-size: clamp(34px, 3.4vw, 50px); margin-top: 16px }
.copy .hook { font: 500 21px/1.35 Barlow, sans-serif; margin-top: 10px; color: var(--ink-600) }
.dark .copy .hook, .dark2 .copy .hook { color: rgba(255,255,255,.8) }
.copy .desc { margin-top: 16px; font-size: 16px; line-height: 1.65 }
.ticks { list-style: none; margin-top: 22px; display: grid; gap: 4px }
.ticks li { position: relative; padding: 11px 12px 11px 30px; border-radius: 12px; font-size: 15px; line-height: 1.5; transition: background .25s; cursor: default }
.ticks li::before { content: ""; position: absolute; left: 10px; top: 19px; width: 8px; height: 8px; background: var(--red) }
.ticks li b { font-weight: 600 }
.ticks li em { font-style: normal; display: inline-grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 10.5px/1 Inter, sans-serif; margin-right: 6px; vertical-align: 1px }
.dark .ticks li em, .dark2 .ticks li em { background: #fff; color: var(--ink) }
.ticks li:hover, .ticks li.on { background: rgba(225,29,44,.06) }
.dark .ticks li:hover, .dark .ticks li.on { background: rgba(255,255,255,.05) }
.light .ticks li, .white .ticks li { color: var(--ink-600) }
.dark .ticks li { color: rgba(255,255,255,.78) }
.tech { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px }
.tech span { font: 500 12px/1 Inter, sans-serif; padding: 8px 11px; border-radius: 8px; background: rgba(15,20,22,.05); color: var(--ink-600); border: 1px solid rgba(15,20,22,.06) }
.dark .tech span, .dark2 .tech span { background: rgba(255,255,255,.05); color: rgba(255,255,255,.75); border-color: rgba(255,255,255,.08) }
.sectors { margin-top: 18px; font-size: 13.5px; color: var(--slate) }
.sectors b { font-weight: 600; color: var(--ink) }
.dark .sectors { color: rgba(255,255,255,.5) } .dark .sectors b { color: #fff }
.more { display: inline-flex; gap: 8px; margin-top: 22px; font: 600 15px/1 Barlow, sans-serif; letter-spacing: .02em; border-bottom: 2px solid var(--red); padding-bottom: 6px }
.caption { position: absolute; left: 0; bottom: -34px; font: 500 11.5px/1.4 Inter, sans-serif; color: var(--slate-2) }
.dark .caption { color: rgba(255,255,255,.4) }

/* media arrangements */

.m-main { position: relative; width: 100%; z-index: 2 }
.m-frag { position: absolute; z-index: 4; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid rgba(15,20,22,.08); background: #fff }

/* ---------- drawn mock-ups (for categories with no shareable screenshots yet) ---------- */
.mock { font-family: Inter, sans-serif; color: var(--ink) }
.mock .t { font: 600 12px/1.2 Inter, sans-serif } .mock .s { font: 400 10.5px/1.3 Inter, sans-serif; color: #6b7478 }

/* desktop window */
.win { border-radius: 10px; overflow: hidden; background: #f3f4f6; box-shadow: var(--shadow-lg); border: 1px solid rgba(15,20,22,.12) }
.win-bar { height: 34px; background: #ffffff; display: flex; align-items: center; gap: 9px; padding: 0 0 0 12px; font: 500 12px/1 Inter, sans-serif; color: #374151; border-bottom: 1px solid #e5e7eb }
.win-bar .ico { width: 16px; height: 16px; border-radius: 4px; background: var(--red) }
.win-bar .ctl { margin-left: auto; display: flex; height: 100% }
.win-bar .ctl span { width: 44px; display: grid; place-items: center; color: #6b7280; font-size: 12px }
.win-body { display: grid; grid-template-columns: 132px 1fr 170px; min-height: 330px }
.win-nav { background: #fff; border-right: 1px solid #e5e7eb; padding: 12px 8px }
.win-nav div { font: 500 11.5px/1 Inter, sans-serif; color: #4b5563; padding: 9px 10px; border-radius: 6px; margin-bottom: 2px }
.win-nav div.on { background: #fee2e2; color: var(--red-deep); font-weight: 600 }
.win-main { padding: 14px; display: grid; gap: 10px; align-content: start }
.scale { background: #0b0f12; color: #fff; border-radius: 10px; padding: 14px 16px; display: flex; align-items: flex-end; justify-content: space-between }
.scale .kg { font: 700 44px/1 Barlow, sans-serif; letter-spacing: .02em; font-variant-numeric: tabular-nums }
.scale .kg small { font-size: 18px; color: rgba(255,255,255,.55); margin-left: 4px }
.scale .st { font: 600 11px/1 Inter, sans-serif; color: #4ade80 }
.kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px }
.kv div { background: #fff; border-radius: 8px; padding: 9px 10px; border: 1px solid #e5e7eb }
.kv b { display: block; font: 600 13px/1.2 Inter, sans-serif; margin-top: 3px }
.log { background: #fff; border-radius: 8px; border: 1px solid #e5e7eb; overflow: hidden }
.log div { display: grid; grid-template-columns: 62px 1fr 18px; gap: 8px; padding: 7px 10px; font: 400 10.5px/1.2 ui-monospace, Consolas, monospace; border-top: 1px solid #f1f2f4; color: #374151 }
.log div:first-child { border-top: 0; background: #ecfdf5; animation: newrow 4s infinite }
@keyframes newrow { 0% { background: #bbf7d0 } 60%, 100% { background: #ecfdf5 } }
.log .ok { color: var(--green); font-weight: 700 }
.label { background: #fff; border-left: 1px solid #e5e7eb; padding: 14px 12px }
.label .paper { background: #fff; border: 1px solid #d1d5db; border-radius: 4px; padding: 10px; box-shadow: 0 6px 14px -8px rgba(0,0,0,.3) }
.barcode { height: 54px; margin: 8px 0 6px; background: repeating-linear-gradient(90deg, #111 0 2px, transparent 2px 4px, #111 4px 5px, transparent 5px 8px, #111 8px 11px, transparent 11px 12px) }
.win-status { display: flex; gap: 18px; padding: 8px 12px; background: #e5e7eb; font: 500 10.5px/1 Inter, sans-serif; color: #374151 }
.win-status span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); margin-right: 6px }

/* storefront */
.shop .view { background: #fbf8f4 }
.shop-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid #efe7dc }
.shop-logo { font: 700 18px/1 Barlow, sans-serif; letter-spacing: .08em; color: #3b2a1f }
.shop-top .menu { display: flex; gap: 16px; font: 500 11.5px/1 Inter, sans-serif; color: #6b5a4d }
.shop-top .ar { font: 600 11.5px/1 Inter, sans-serif; border: 1px solid #e4d8c9; padding: 6px 9px; border-radius: 99px; color: #3b2a1f }
.shop-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; padding: 18px 20px 8px }
.shop-hero h4 { font: 700 26px/1.05 Barlow, sans-serif; color: #2a1d15 }
.shop-hero p { font-size: 11.5px; color: #7a6a5d; margin-top: 8px }
.prods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 10px 20px 20px }
.prod { background: #fff; border-radius: 12px; padding: 10px; border: 1px solid #f0e8dd }
.bag { height: 104px; border-radius: 9px; position: relative; overflow: hidden; background: linear-gradient(160deg, #f3e6d4, #e8d2b6) }
.bag::before { content: ""; position: absolute; left: 50%; top: 14px; width: 46px; height: 76px; transform: translateX(-50%); border-radius: 6px 6px 10px 10px; background: var(--bagc, #3b2a1f); box-shadow: 0 10px 14px -8px rgba(0,0,0,.5) }
.bag::after { content: ""; position: absolute; left: 50%; top: 40px; width: 26px; height: 18px; transform: translateX(-50%); border-radius: 3px; background: #f7efe4 }
.prod .t { margin-top: 8px } .prod .p { font: 600 12px/1 Inter, sans-serif; color: #2a1d15; margin-top: 6px }
.cart { position: absolute; right: -26px; bottom: -40px; width: 250px; z-index: 5; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: 16px; border: 1px solid rgba(15,20,22,.06) }
.pay { display: grid; gap: 7px; margin-top: 10px }
.pay div { display: flex; justify-content: space-between; align-items: center; border: 1px solid #e5e7eb; border-radius: 10px; padding: 9px 11px; font: 600 11.5px/1 Inter, sans-serif }
.pay div.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink) }
.pay small { font-weight: 400; color: #6b7478 }

/* IoT dashboard */
.iot { background: #0c1215; color: #e6edf0; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.08) }
.iot-top { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid rgba(255,255,255,.07); font: 600 13px/1 Inter, sans-serif }
.iot-top .pill { margin-left: auto; font: 500 11px/1 Inter, sans-serif; color: #86efac; background: rgba(34,197,94,.12); padding: 6px 9px; border-radius: 99px }
.iot-body { display: grid; grid-template-columns: 1.25fr 1fr; gap: 12px; padding: 12px }
.mapbox { border-radius: 10px; background: #111a1e; position: relative; height: 240px; overflow: hidden }
.mapbox svg { position: absolute; inset: 0; width: 100%; height: 100% }
.tiles { display: grid; gap: 9px }
.tile { background: #111a1e; border-radius: 10px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.05) }
.tile .row { display: flex; justify-content: space-between; align-items: baseline }
.tile .v { font: 700 24px/1 Barlow, sans-serif; font-variant-numeric: tabular-nums }
.tile .v small { font-size: 13px; color: rgba(255,255,255,.5); margin-left: 2px }
.tile svg { width: 100%; height: 26px; margin-top: 6px }
.tile.alert { border-color: rgba(225,29,44,.5); background: rgba(225,29,44,.1) }
.iot-foot { display: flex; gap: 16px; padding: 10px 16px; border-top: 1px solid rgba(255,255,255,.07); font: 500 10.5px/1 ui-monospace, Consolas, monospace; color: rgba(255,255,255,.55) }

/* PCB + device */
.pcb { width: 100%; filter: drop-shadow(0 40px 50px rgba(0,0,0,.55)) }
.led { animation: blink 1.6s steps(1) infinite } .led.b { animation-delay: -.8s }
@keyframes blink { 50% { opacity: .15 } }
.device { position: absolute; right: -14px; bottom: -30px; width: 230px; border-radius: 26px; background: linear-gradient(160deg, #2a3135, #121619); padding: 14px; box-shadow: var(--shadow-lg); z-index: 4; border: 1px solid rgba(255,255,255,.08) }
.oled { background: #020405; border-radius: 14px; padding: 12px 12px 10px; color: #a5f3fc; font: 500 10.5px/1.2 ui-monospace, Consolas, monospace }
.oled .big { font: 700 30px/1 Barlow, sans-serif; color: #fff }
.oled svg { width: 100%; height: 54px; margin: 6px 0 }
.ecg { stroke-dasharray: 520; stroke-dashoffset: 520; animation: ecg 2.6s linear infinite }
@keyframes ecg { to { stroke-dashoffset: 0 } }
.spec { position: absolute; left: -20px; top: -20px; z-index: 4 }

/* HMI */
.hmi { background: #1b2125; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.08); color: #d7dee2 }
.hmi-top { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #12171a; font: 600 12px/1 Inter, sans-serif }
.hmi-top .st { margin-left: auto; color: #4ade80; font-weight: 500 }
.hmi-top .al { color: #fbbf24; font-weight: 500 }
.hmi-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; padding: 12px }
.mimic { background: #12171a; border-radius: 10px; height: 250px; position: relative; overflow: hidden }
.mimic svg { width: 100%; height: 100% }
.lvl { animation: lvl 8s ease-in-out infinite; transform-origin: bottom; transform-box: fill-box }
@keyframes lvl { 0%, 100% { transform: scaleY(.62) } 50% { transform: scaleY(.78) } }
.imp { animation: spin 1.2s linear infinite; transform-origin: center; transform-box: fill-box }
.bottle { animation: conv 6s linear infinite }
@keyframes conv { from { transform: translateX(0) } to { transform: translateX(150px) } }
.kpis { display: grid; gap: 9px }
.kpi { background: #12171a; border-radius: 10px; padding: 11px 12px }
.kpi .v { font: 700 26px/1 Barlow, sans-serif; color: #fff; font-variant-numeric: tabular-nums }
.kpi .s { color: rgba(255,255,255,.5) }
.villa { position: absolute; right: -30px; bottom: -70px; width: 214px; z-index: 5 }
.villa .screen { padding: 34px 14px 16px; background: linear-gradient(180deg, #f6f3ee, #fff) }
.vsw { display: flex; justify-content: space-between; align-items: center; background: #fff; border-radius: 12px; padding: 10px 11px; margin-top: 7px; box-shadow: 0 4px 12px -8px rgba(0,0,0,.3); font: 600 11.5px/1.2 Inter, sans-serif }
.vsw small { display: block; font-weight: 400; color: #6b7478; font-size: 10.5px }
.tog { width: 30px; height: 18px; border-radius: 99px; background: var(--ink); position: relative }
.tog::after { content: ""; position: absolute; right: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff }
.tog.off { background: #d1d5db } .tog.off::after { right: auto; left: 2px }

/* academy */
.acad { position: relative; min-height: 440px }
.course { position: absolute; left: 0; top: 10px; width: 330px; background: #fff; border-radius: 18px; padding: 20px; box-shadow: var(--shadow-lg); z-index: 3; border: 1px solid rgba(15,20,22,.06) }
.course .wk { display: grid; grid-template-columns: 42px 1fr; gap: 10px; padding: 9px 0; border-top: 1px solid #f0f1f2; font-size: 12.5px }
.course .wk b { font: 600 11px/1.6 Barlow, sans-serif; letter-spacing: .1em; color: var(--red) }
.kit { position: absolute; right: 0; top: 0; width: 330px; z-index: 2 }
.cert { position: absolute; right: 40px; bottom: 0; width: 300px; z-index: 4; background: linear-gradient(150deg, #fff, #f7f4ee); border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow-lg); border: 1px solid #ece4d6 }
.cert .seal { width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff6b76, var(--red-deep)); float: right; box-shadow: 0 0 0 4px #fde2e4 }
.partners { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px }
.partners span { font: 600 11px/1 Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-2); border: 1px dashed rgba(15,20,22,.2); border-radius: 10px; padding: 14px 16px }

/* ---------- industries ---------- */
.inds { padding: 90px 0 110px; position: relative }
.inds-head { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: end; margin-bottom: 36px }
.inds-head h2 { font-size: clamp(36px, 4.2vw, 60px) }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 300px; gap: 14px; overflow-x: auto; padding: 4px var(--gut) 18px calc(50vw - var(--wrap) / 2 + var(--gut)); scroll-snap-type: x mandatory; scrollbar-width: none }
.strip::-webkit-scrollbar { display: none }
.ind { scroll-snap-align: start; border-radius: 20px; padding: 22px; background: #fff; border: 1px solid rgba(15,20,22,.07); min-height: 290px; display: flex; flex-direction: column; position: relative; overflow: hidden }
.ind .art { height: 92px; border-radius: 14px; margin-bottom: 18px; position: relative; overflow: hidden; background: var(--ink) }
.ind h4 { font-size: 22px }
.ind ul { list-style: none; margin-top: 12px; display: grid; gap: 7px }
.ind li { font-size: 13.5px; color: var(--slate); padding-left: 14px; position: relative; line-height: 1.45 }
.ind li::before { content: ""; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; background: var(--red) }
.ind .caps { margin-top: auto; padding-top: 14px; font: 600 11px/1.3 Barlow, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-2) }

/* ---------- products ---------- */
.prodsec { padding: 40px 0 0; position: relative }
.prod-head { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: end; margin-bottom: 40px }
.prod-head h2 { font-size: clamp(36px, 4.2vw, 60px) }
.pcards { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; margin-bottom: -150px; position: relative; z-index: 6 }
.pcard { border-radius: 22px; overflow: hidden; background: #131a1d; border: 1px solid rgba(255,255,255,.08); box-shadow: var(--shadow-lg) }
.pcard .shot { height: 250px; overflow: hidden; position: relative; background: #fff }
.pcard .shot img { width: 100%; transition: transform 6s linear }
.pcard:hover .shot img { transform: translateY(-30%) }
.pcard .body { padding: 22px }
.pcard h4 { font-size: 26px } .pcard h4 small { font: 500 11px/1 Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-left: 8px; vertical-align: 4px }
.pcard p { color: rgba(255,255,255,.65); font-size: 14.5px; margin-top: 8px }
.pcard ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px }
.pcard li { font: 500 11.5px/1 Inter, sans-serif; color: rgba(255,255,255,.75); background: rgba(255,255,255,.06); padding: 7px 9px; border-radius: 7px }

/* ---------- process ---------- */
.process { padding: 40px 0 90px; position: relative }
.process h2 { font-size: clamp(36px, 4.2vw, 60px); max-width: 640px }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 50px; position: relative }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 2px; background: linear-gradient(90deg, var(--red), rgba(225,29,44,.15)) }
.step { padding-right: 26px; position: relative }
.step .b { width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 2px solid var(--red); display: grid; place-items: center; font: 700 15px/1 Barlow, sans-serif; color: var(--red); position: relative; z-index: 2 }
.step h4 { font-size: 22px; margin-top: 20px }
.step p { font-size: 14px; color: var(--slate); margin-top: 8px; line-height: 1.55 }
.step .hw { margin-top: 12px; font: 600 11px/1.4 Inter, sans-serif; letter-spacing: .02em; color: var(--ink); background: rgba(225,29,44,.07); border-radius: 8px; padding: 7px 9px; display: inline-block }

/* ---------- FAQ ---------- */
.faq { padding: 30px 0 110px; position: relative }
.faq .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px }
.faq h2 { font-size: clamp(34px, 3.6vw, 52px) }
.search { margin-top: 26px; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid rgba(15,20,22,.12); border-radius: 14px; padding: 4px 6px 4px 16px }
.search input { flex: 1; border: 0; outline: 0; font: 400 15px/1 Inter, sans-serif; padding: 13px 0; background: transparent }
.search kbd { font: 500 11px/1 Inter, sans-serif; color: var(--slate); border: 1px solid rgba(15,20,22,.15); border-radius: 6px; padding: 6px 8px }
.qa { border-bottom: 1px solid rgba(15,20,22,.1) }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font: 600 19px/1.3 Barlow, sans-serif }
.qa summary::-webkit-details-marker { display: none }
.qa summary::after { content: "+"; font: 400 24px/1 Inter, sans-serif; color: var(--red); transition: transform .3s }
.qa[open] summary::after { transform: rotate(45deg) }
.qa p { padding: 0 40px 22px 0; color: var(--slate); font-size: 15.5px }
.qa.hide { display: none }
.nores { display: none; padding: 22px 0; color: var(--slate) } .nores.on { display: block }

/* ---------- contact ---------- */
.contact { padding: 40px 0 90px; position: relative; overflow: hidden }
.contact .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: start }
.contact h2 { font-size: clamp(40px, 4.8vw, 70px) }
.direct { margin-top: 34px; display: grid; gap: 10px; max-width: 420px }
.direct a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09) }
.direct small { display: block; color: rgba(255,255,255,.5); font-size: 12.5px }
.form { background: #fff; color: var(--ink); border-radius: 24px; padding: 30px; box-shadow: 0 50px 90px -40px rgba(0,0,0,.8) }
.form h4 { font-size: 24px }
.route { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 6px }
.route span { font: 600 13px/1 Inter, sans-serif; padding: 11px 14px; border-radius: 999px; border: 1px solid rgba(15,20,22,.14); cursor: pointer; user-select: none }
.route span.on { background: var(--ink); color: #fff; border-color: var(--ink) }
.routed { font-size: 12.5px; color: var(--slate); margin-bottom: 14px }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px }
.f { border: 1px solid rgba(15,20,22,.14); border-radius: 12px; padding: 10px 14px 9px }
.f label { display: block; font: 600 11px/1 Inter, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--slate-2) }
.f div { font-size: 15px; color: #9aa3a7; margin-top: 7px }
.f.full { grid-column: span 2 } .f.msg div { height: 64px }
.captcha { display: flex; align-items: center; gap: 12px; margin-top: 10px }
.captcha .img { width: 132px; height: 46px; border-radius: 10px; background: repeating-linear-gradient(-30deg, #eef0f2 0 6px, #e3e6e9 6px 9px); display: grid; place-items: center; font: 700 21px/1 ui-monospace, Consolas, monospace; letter-spacing: .2em; color: #3b4448; text-decoration: line-through; text-decoration-color: rgba(225,29,44,.5) }
.form .btn { width: 100%; justify-content: center; margin-top: 16px }
.fine { font-size: 12px; color: var(--slate-2); margin-top: 12px; text-align: center }

/* ---------- footer ---------- */
.foot { padding: 60px 0 36px; border-top: 1px solid rgba(255,255,255,.07); background: var(--ink-950) }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px }
.foot h5 { font: 600 12px/1 Barlow, sans-serif; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 16px }
.foot a { display: block; color: rgba(255,255,255,.75); font-size: 14px; padding: 5px 0 }
.foot .tagline { color: rgba(255,255,255,.6); margin-top: 16px; font-size: 15px; max-width: 300px }
.foot-base { display: flex; justify-content: space-between; margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.07); font-size: 12.5px; color: rgba(255,255,255,.42) }
.ver { font: 500 11.5px/1 ui-monospace, Consolas, monospace; color: rgba(255,255,255,.32) }
.wa { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(37,211,102,.7) }

/* ---------- splash (protocol item; shows only when loading is slow) ---------- */
.splash { position: fixed; inset: 0; z-index: 100; background: var(--ink-950); display: none; place-items: center; transition: opacity .5s }
body.splash-on .splash { display: grid }
.splash .in { width: 280px; text-align: center }
.splash .in img { width: 76px; margin: 0 auto 26px; animation: spin 6s linear infinite }
.splash .track { height: 3px; border-radius: 3px; background: rgba(255,255,255,.1); overflow: hidden }
.splash .track i { display: block; height: 100%; width: var(--load, 8%); background: var(--red); transition: width .25s }
.splash p { margin-top: 14px; font: 500 12px/1 ui-monospace, Consolas, monospace; color: rgba(255,255,255,.45) }

/* ---------- page: capability detail ---------- */
.subnav { position: sticky; top: 74px; z-index: 30; background: rgba(244,245,246,.88); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(15,20,22,.07) }
.subnav .wrap { display: flex; gap: 6px; height: 58px; align-items: center; overflow-x: auto; scrollbar-width: none }
.subnav a { font: 600 13.5px/1 Barlow, sans-serif; letter-spacing: .03em; padding: 10px 14px; border-radius: 999px; color: var(--ink-600); white-space: nowrap }
.subnav a.on { background: var(--ink); color: #fff }
.crumbs { font: 500 13px/1 Inter, sans-serif; color: rgba(255,255,255,.5) }
.crumbs b { color: #fff; font-weight: 600 }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 40px; background: rgba(255,255,255,.08); border-radius: 18px; overflow: hidden; max-width: 560px }
.facts div { background: rgba(14,19,22,.92); padding: 18px }
.facts b { font: 700 30px/1 Barlow, sans-serif; display: block }
.facts small { color: rgba(255,255,255,.55); font-size: 12.5px }
.marquee { overflow: hidden; margin: 0 -40px; padding: 26px 0; transform: rotate(-4deg) }
.marquee .row { display: flex; gap: 16px; width: max-content; animation: slide 40s linear infinite }
.marquee img { width: 170px; border-radius: 10px; box-shadow: var(--shadow-md); background: #fff }
@keyframes slide { to { transform: translateX(-50%) } }
.stack { padding: 90px 0 100px }
.stack-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 40px }
.stack-col { border-radius: 18px; padding: 20px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08) }
.stack-col h5 { font: 600 12px/1 Barlow, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--red-soft); margin-bottom: 14px }
.stack-col div { padding: 8px 0; border-top: 1px solid rgba(255,255,255,.06); font-size: 14px; color: rgba(255,255,255,.8) }
.stack-col div small { display: block; color: rgba(255,255,255,.42); font-size: 12px }
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px }
.model { border-radius: 22px; padding: 26px; background: #fff; border: 1px solid rgba(15,20,22,.08) }
.model h4 { font-size: 24px; margin-top: 12px } .model p { color: var(--slate); font-size: 14.5px; margin-top: 10px }
.model.hi { background: var(--ink); color: #fff; border: 0 } .model.hi p { color: rgba(255,255,255,.65) }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important } }

/* ---------- tablet & phone ---------- */
@media (max-width: 1100px) {
  :root { --gut: 32px }
  .nav-links, .nav-tel { display: none } .burger { display: block }
  .hero-inner, .feat .wrap, .feat.flip .wrap, .map-head, .chapter .wrap, .inds-head, .prod-head, .faq .wrap, .contact .wrap { grid-template-columns: 1fr }
  .feat.flip .media { order: 0 }
  .stage { height: 520px; max-width: 640px }
  .map-grid { grid-template-columns: repeat(2, 1fr) } .cap.sw, .cap.sw.w6, .cap.hw { grid-column: span 1 } .cap.ac, .grp { grid-column: span 2 }
  .pcards { grid-template-columns: 1fr } .steps { grid-template-columns: 1fr 1fr; row-gap: 34px } .steps::before { display: none }
  .stack-grid { grid-template-columns: 1fr 1fr } .models { grid-template-columns: 1fr }
  .foot-grid { grid-template-columns: 1fr 1fr }
}
@media (max-width: 640px) {
  :root { --gut: 20px; --spine-x: 9px }
  body { font-size: 15px }
  .nav .wrap { height: 64px } .nav .btn { display: none }
  .hero { padding: 26px 0 20px } .hero-inner { min-height: 0; gap: 10px }
  .hero h1 { font-size: 44px } .lede { font-size: 16px }
  .hero-orbit { width: 520px; height: 520px; right: -230px; top: 120px; opacity: .14 }
  .stage { height: 380px; margin: 6px -6px 0 }
  .stage .frame.main { width: 112%; right: -18%; top: 34px }
  .stage .phone { width: 128px; left: 0 }
  .stage .board { display: none } .stage .c3 { display: none }
  .stage .c1 { left: auto; right: 0; top: 0 } .stage .c2 { display: none }
  .map-grid { grid-template-columns: 1fr } .cap.sw, .cap.sw.w6, .cap.hw, .cap.ac, .grp { grid-column: span 1 } .cap.ac { flex-direction: column; align-items: flex-start } .cap.ac .go { margin: 10px 0 0 }
  .feat { padding: 46px 0 } .feat .wrap { gap: 40px }
  .feat .numeral { font-size: 150px; top: -30px }
  .media { min-height: 0; padding-top: 0 }
  .caption { position: static !important; margin-top: 16px; display: block }
  .cart { position: relative; right: auto; bottom: auto; width: auto; margin: -40px 0 0 28px }
  .hero-facts { display: none }
  .btn { padding: 13px 18px; font-size: 14.5px }
  .map { background: linear-gradient(to bottom, var(--ink-950) 0, var(--ink-950) 600px, var(--offwhite) 900px, var(--offwhite)) }
  .map::before { top: 520px }
  .m-frag { display: none }
  .win-body { grid-template-columns: 1fr } .win-nav, .label { display: none }
  .cart { right: -6px; width: 210px; bottom: -60px }
  .iot-body, .hmi-body { grid-template-columns: 1fr }
  .device { width: 180px; right: -6px } .villa { width: 170px; right: -6px }
  .course { width: 86%; position: relative } .kit { width: 70%; top: auto; bottom: 60px } .cert { position: relative; right: auto; width: 86%; margin: 20px 0 0 auto } .acad { min-height: 0 }
  .strip { grid-auto-columns: 82%; padding-left: var(--gut) }
  .steps { grid-template-columns: 1fr } .fields { grid-template-columns: 1fr } .f.full { grid-column: span 1 }
  .stack-grid { grid-template-columns: 1fr } .foot-grid { grid-template-columns: 1fr } .foot-base { flex-direction: column; gap: 8px }
  .seam { height: 120px } .seam.glow { height: 160px }
  .anno { display: none }
  .pcards { margin-bottom: -110px } .process { padding-top: 30px }
}

/* =====================================================================
   v4 additions
   ===================================================================== */

/* ---------- one phone frame for every phone screen ----------
   .handset        frame + its own status bar (for screens captured without one)
   .handset.own    the screen already carries a status bar and camera notch (PlanMyLeave's phone screens) */
.handset { --hw: 250px; width: var(--hw); position: relative; flex: none;
  border-radius: calc(var(--hw) * .17); padding: calc(var(--hw) * .036);
  background: linear-gradient(150deg, #3a4247 0%, #12171a 22%, #0b0f12 60%, #23292d 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), inset 0 0 0 3px #06080a, 0 60px 90px -45px rgba(8,11,13,.65), 0 24px 44px -26px rgba(8,11,13,.45) }
.handset::before { content: ""; position: absolute; right: -2px; top: 24%; width: 3px; height: 11%; border-radius: 0 2px 2px 0; background: linear-gradient(#3a4247, #1a2024) }
.handset::after { content: ""; position: absolute; left: -2px; top: 19%; width: 3px; height: 7%; border-radius: 2px 0 0 2px; background: linear-gradient(#3a4247, #1a2024); box-shadow: 0 calc(var(--hw) * .13) 0 #23292d }
.handset .scr { position: relative; overflow: hidden; border-radius: calc(var(--hw) * .138); background: var(--sbg, #fff); isolation: isolate }
.handset .scr img { width: 100%; display: block }
.handset .sb { height: calc(var(--hw) * .118); display: flex; align-items: center; justify-content: space-between; padding: calc(var(--hw) * .012) calc(var(--hw) * .085) 0;
  background: var(--sbg, #fff); color: var(--sbc, #0f1416); font: 600 calc(var(--hw) * .05)/1 Inter, sans-serif; letter-spacing: -.01em }
.handset .sb .isl { width: 31%; height: 58%; border-radius: 99px; background: #05070a }
.handset .sb .ico { display: flex; gap: calc(var(--hw) * .014); align-items: center }
.handset .sb svg { height: calc(var(--hw) * .042); width: auto; fill: currentColor }
.handset .home { position: absolute; left: 50%; bottom: calc(var(--hw) * .022); transform: translateX(-50%); width: 35%; height: calc(var(--hw) * .014); min-height: 3px; border-radius: 9px; background: rgba(15,20,22,.6); z-index: 3 }
.handset.own .scr { background: #0b0f12 }
.handset.dark .home { background: rgba(255,255,255,.7) }

/* ---------- capability map: nine cards of equal weight ---------- */
.map-grid.even { grid-template-columns: repeat(3, 1fr) }
.map-grid.even .cap { grid-column: auto; min-height: 210px }
.cap .kind { display: inline-block; margin-left: 10px; font: 600 10.5px/1 Barlow, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--slate-2) }

/* ---------- industries: contained grid, full-colour scenes ---------- */
.inds-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px }
.ind2 { border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid rgba(15,20,22,.08); display: flex; flex-direction: column; box-shadow: 0 30px 60px -48px rgba(8,11,13,.45); transition: transform .35s var(--ease), box-shadow .35s }
.ind2:hover { transform: translateY(-4px); box-shadow: 0 40px 70px -40px rgba(8,11,13,.55) }
.ind2 .scene { position: relative; aspect-ratio: 2 / 1.12; overflow: hidden; background: #0c1820 }
.ind2 .scene svg { position: absolute; inset: 0; width: 100%; height: 100% }
.ind2 .scene::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") }
.ind2 .body { padding: 18px 18px 18px; display: flex; flex-direction: column; flex: 1 }
.ind2 h4 { font-size: 19px; line-height: 1.15 }
.ind2 ul { list-style: none; margin-top: 10px; display: grid; gap: 6px }
.ind2 li { font-size: 13px; color: var(--slate); padding-left: 13px; position: relative; line-height: 1.45 }
.ind2 li::before { content: ""; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; background: var(--red) }
.ind2 .caps { margin-top: auto; padding-top: 14px; font: 600 10.5px/1.3 Barlow, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-2) }
/* scene motion: quiet, slow, and off for reduced motion (global rule above) */
.sc-trolley { animation: trolley 9s ease-in-out infinite }
@keyframes trolley { 0%, 100% { transform: translateX(0) } 50% { transform: translateX(-46px) } }
.sc-hook { animation: hook 7s ease-in-out infinite }
@keyframes hook { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(16px) } }
.sc-beam { animation: beam 4s ease-in-out infinite; transform-origin: 104px 92px; transform-box: view-box }
@keyframes beam { 0%, 100% { transform: rotate(-9deg) } 50% { transform: rotate(9deg) } }
.sc-blade { animation: spin 7s linear infinite; transform-box: fill-box; transform-origin: center }
.sc-move { animation: drive 11s linear infinite } .sc-move.b { animation-duration: 15s; animation-delay: -6s }
@keyframes drive { from { transform: translateX(-120px) } to { transform: translateX(380px) } }
.sc-belt { animation: belt 6s linear infinite }
@keyframes belt { from { transform: translateX(0) } to { transform: translateX(64px) } }
.sc-flame { animation: flame 1.4s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: bottom }
@keyframes flame { from { transform: scaleY(.85) } to { transform: scaleY(1.12) } }
.sc-pulse { stroke-dasharray: 420; stroke-dashoffset: 420; animation: ecg 3.4s linear infinite }
.sc-blink { animation: blink 2.2s steps(1) infinite }

@media (max-width: 1100px) {
  .map-grid.even { grid-template-columns: repeat(2, 1fr) }
  .inds-grid { grid-template-columns: repeat(3, 1fr) }
}
@media (max-width: 640px) {
  .map-grid.even { grid-template-columns: 1fr }
  .map-grid.even .cap { min-height: 0 }
  .inds-grid { grid-template-columns: 1fr; gap: 12px }
  .ind2 { flex-direction: row }
  .ind2 .scene { aspect-ratio: auto; width: 38%; flex: none; min-height: 150px }
  .ind2 .body { padding: 14px }
  .ind2 h4 { font-size: 17px }
  .ind2 li { font-size: 12.5px }
  .handset { --hw: 200px }
}
@media (max-width: 640px) {
  #v13-home-hero-phone { --hw: 132px !important }
  .feat .handset { --hw: 152px !important }
  #v13-home-cap-03-media .handset, #v13-home-cap-09-media .handset { position: relative !important; right: auto !important; top: auto !important; margin: -70px 6px 0 auto }
  #v13-home-cap-04-media > div:first-child { gap: 14px !important }
  #v13-home-cap-04-media .chip { display: none }
  .hmi.mock { width: 100% !important }
}
/* One column on tablets and phones, and that column may never grow wider than the screen
   (v3 bug: a wide picture stretched the column and cut the e-commerce text off on phones). */
@media (max-width: 1100px) {
  .hero-inner, .feat .wrap, .feat.flip .wrap, .map-head, .chapter .wrap, .inds-head, .prod-head, .faq .wrap, .contact .wrap { grid-template-columns: minmax(0, 1fr) }
}
@media (max-width: 640px) {
  .shop-top .menu { display: none }
  .shop-hero { grid-template-columns: 1fr }
}

/* =====================================================================
   v5: a real iPhone (15/16 Pro proportions) for every phone screen
   Screen 393 x 852 points, corner radius 55, Dynamic Island 126 x 37 at 11 from the top,
   status band 54, home indicator 134 x 5. Everything scales with the phone's width (--w)
   through container units (1cqw = 1% of the phone's width).
   ===================================================================== */
.iphone { --w: 240px; width: var(--w); container-type: inline-size; flex: none; position: relative }
.iphone .ip { position: relative; padding: 1.15cqw; border-radius: 16.4cqw;
  background: linear-gradient(90deg, #7d786f 0%, #d8d3ca 3.5%, #aea89e 9%, #c9c4bb 28%, #bcb6ac 50%, #c9c4bb 72%, #aea89e 91%, #d8d3ca 96.5%, #7d786f 100%);
  box-shadow: inset 0 0 0 .28cqw rgba(255,255,255,.5), inset 0 0 0 .6cqw rgba(70,64,56,.22),
              0 24cqw 40cqw -20cqw rgba(8,11,13,.55), 0 7cqw 14cqw -8cqw rgba(8,11,13,.35) }
.iphone .bz { background: #050506; border-radius: 15.25cqw; padding: 2.15cqw; box-shadow: inset 0 0 0 .22cqw #26262a }
.iphone .scr { position: relative; overflow: hidden; border-radius: 13.1cqw; aspect-ratio: 393 / 852; background: var(--sbg, #fff);
  display: flex; flex-direction: column; isolation: isolate }
.iphone .scr > img { width: 100%; flex: 1 1 auto; min-height: 0; object-fit: cover; object-position: top center; display: block }
.iphone .sb { flex: none; height: 12.8cqw; display: flex; align-items: center; justify-content: space-between; padding: .7cqw 6.6cqw 0 8.6cqw;
  background: var(--sbg, #fff); color: var(--sbc, #000); font: 600 4cqw/1 Inter, -apple-system, "Segoe UI", sans-serif; letter-spacing: -.01em; position: relative; z-index: 3 }
.iphone .sb.over { position: absolute; top: 0; left: 0; right: 0; background: transparent }
.iphone .sb .t { min-width: 12cqw }
.iphone .sb .ico { display: flex; gap: 1.25cqw; align-items: center }
.iphone .sb svg { height: 2.8cqw; width: auto; fill: currentColor }
.iphone .isl { position: absolute; left: 50%; top: 2.6cqw; transform: translateX(-50%); width: 29.9cqw; height: 8.8cqw; border-radius: 6cqw; background: #000; z-index: 4 }
.iphone .hi { position: absolute; left: 50%; bottom: 1.9cqw; transform: translateX(-50%); width: 31.8cqw; height: 1.2cqw; border-radius: 1cqw; background: rgba(0,0,0,.82); z-index: 4 }
.iphone .hi.light { background: rgba(255,255,255,.85) }
.iphone .glare { position: absolute; inset: 0; z-index: 5; pointer-events: none; background: linear-gradient(118deg, rgba(255,255,255,.13) 0%, rgba(255,255,255,0) 28%) }
.iphone .b { position: absolute; width: 1.15cqw; border-radius: .6cqw; background: linear-gradient(90deg, #6d685f, #d4cfc6 55%, #8a847b) }
.iphone .b.act { left: -.85cqw; top: 18.5%; height: 3.6% }
.iphone .b.vu  { left: -.85cqw; top: 25%;   height: 6.8% }
.iphone .b.vd  { left: -.85cqw; top: 33.6%; height: 6.8% }
.iphone .b.pw  { right: -.85cqw; top: 27%;  height: 10.4% }
.iphone .mockscreen { flex: 1; min-height: 0 }
@media (max-width: 640px) {
  #v13-home-hero-phone { --w: 136px !important }
  .feat .iphone { --w: 156px !important }
  #v13-home-cap-03-media .iphone, #v13-home-cap-05-media .iphone, #v13-home-cap-09-media .iphone { position: relative !important; right: auto !important; top: auto !important; margin: -70px 6px 0 auto }
}
/* bottom of the iPhone screen: an app keeps its tab bar above the home line (34 pt safe area);
   a website shows Safari's bottom address bar (iOS 15 and later) */
.iphone .safe { flex: none; height: 8.1cqw; background: var(--sbb, #fff) }
.iphone .safari { flex: none; height: 19cqw; background: rgba(246,246,248,.97); border-top: .2cqw solid rgba(0,0,0,.08); padding: 2.2cqw 3.6cqw 0; position: relative; z-index: 3 }
.iphone .safari .pill { height: 10.5cqw; border-radius: 3.3cqw; background: #e3e3e8; display: flex; align-items: center; justify-content: space-between; padding: 0 3.4cqw;
  font: 500 3.7cqw/1 Inter, -apple-system, "Segoe UI", sans-serif; color: #1c1c1e; letter-spacing: -.01em }
.iphone .safari .aa { font-weight: 600; font-size: 3.4cqw }
.iphone .safari .url { display: flex; align-items: center; gap: 1.1cqw }
.iphone .safari svg { height: 3cqw; width: auto }
@media (max-width: 640px) { #v13-home-cap-05-order { display: none } }

/* =====================================================================
   v6: real photographs (sections 07, 08, 09 and Industries) and example iPhone apps
   ===================================================================== */
.photo { margin: 0; position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 720 / 538; background: #1a2024; box-shadow: var(--shadow-lg) }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block }
.dark .photo { box-shadow: 0 50px 90px -45px rgba(0,0,0,.85); outline: 1px solid rgba(255,255,255,.08); outline-offset: -1px }
.photo .kpi { position: absolute; left: 12px; bottom: 12px; right: 12px; background: rgba(15,20,22,.8); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #fff; font: 600 12px/1.35 Inter, sans-serif; padding: 9px 12px; border-radius: 11px }
.photo .kpi::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #4ade80; margin-right: 7px; vertical-align: 1px }
.ind2 .scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover }
.ind2 .scene.ph::after { display: none }
@media (max-width: 640px) {
  #v13-home-cap-08-phone, #v13-home-cap-09-phone, #v13-home-cap-11-phone { position: relative !important; right: auto !important; top: auto !important; margin: -90px 6px 0 auto }
  #v13-home-cap-09-factory { position: relative !important; left: auto !important; top: auto !important; width: 100% !important; margin-top: 14px }
  #v13-home-cap-09-media .caption { margin-top: 16px !important }
  #v13-home-cap-08-chip, #v13-home-cap-11-chip { display: none }
}
@media (max-width: 640px) { #v13-home-cap-09-factory .kpi { right: auto; max-width: 58%; font-size: 11px } }

/* v7: the three offices (contact section and footer) */
.contact .wrap.offices-wrap { display: block; margin-top: 64px }
.offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px }
.office { border-radius: 18px; padding: 22px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09) }
.office .city { font: 600 12px/1 Barlow, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--red-soft) }
.office b { display: block; font: 600 17px/1.3 Barlow, sans-serif; color: #fff; margin-top: 12px }
.office p { color: rgba(255,255,255,.64); font-size: 14.5px; line-height: 1.6; margin-top: 6px }
.office a { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font: 600 15px/1 Inter, sans-serif; color: #fff; border-bottom: 1px solid rgba(225,29,44,.6); padding-bottom: 5px }
.foot-offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.07) }
.foot-offices p { color: rgba(255,255,255,.58); font-size: 13.5px; line-height: 1.65 }
.foot .foot-offices a { display: inline; padding: 0; color: #fff }
@media (max-width: 1100px) { .offices, .foot-offices { grid-template-columns: 1fr; gap: 12px } .foot-offices { gap: 22px } }

/* v7: highlight cards for visitors. The yellow note style the client liked, kept on the outer side of the page
   (over the red line, outside the layout width) at a height where they never cover text. Placed by tools/sidecards.py. */
.hl { position: absolute; z-index: 60; max-width: 300px; margin: 0; padding: 7px 10px 8px; border-radius: 6px; background: #ffd400; color: #111;
  font: 600 11.5px/1.4 Inter, sans-serif; letter-spacing: .01em; text-transform: none; box-shadow: 0 6px 16px -6px rgba(0,0,0,.4) }
.hl b { display: block; font: 600 9.5px/1.35 Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; opacity: .75; margin-bottom: 1px }
.hl a { color: inherit; text-decoration: underline; text-underline-offset: 2px }
@media (max-width: 1100px) {  /* no outer side on tablets and phones: the card sits at the top of its section */
  .hl { position: static; display: block; width: fit-content; max-width: min(420px, calc(100% - 2 * var(--gut))); margin: 0 var(--gut) 40px; font-size: 12.5px }
}  /* 40px: the floating screen pieces reach 34px above their picture on tablets */
@media (max-width: 640px) { .hl { margin-bottom: 22px } }
@media (min-width: 641px) and (max-width: 1100px) {  /* draft notes in a carded section sit under the card instead of on top of it */
  .hl + .anno { position: static; display: block; width: fit-content; max-width: min(420px, calc(100% - 2 * var(--gut))); margin: -28px var(--gut) 40px }
}
/* developer notes are now light blue, so they are never mistaken for the yellow cards (hidden with ?clean=1) */
.anno { background: #dbeafe; color: #1e3a8a; border: 1px dashed #3b82f6; box-shadow: none }

/* v7: sales and support addresses under each office */
.office .mails { display: block; margin-top: 12px; font-size: 13.5px; line-height: 1.75; color: rgba(255,255,255,.6) }
.office .mails a { display: inline; margin: 0; padding: 0; border: 0; font: 600 13.5px/1.75 Inter, sans-serif; color: #fff }
.foot-offices .mails { color: rgba(255,255,255,.5) }
.direct a svg { flex: none }

/* v7: the bigger logo and the real phone number need a little more room on narrow laptops */
@media (min-width: 1101px) and (max-width: 1180px) { .nav .wrap { gap: 24px } .nav-links { gap: 20px } }
@media (max-width: 640px) { .nav-logo img { height: 40px } }  /* phones: 45px filled the 64px bar edge to edge */

/* v8: the AI section's example window (invoice inbox), drawn in the page so it stays sharp and light */
.aim .aim-on { margin-left: 10px; font: 600 10.5px/1 Inter, sans-serif; color: #13804e; background: #dff3e9; padding: 5px 8px; border-radius: 99px }
.aim-body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); min-height: 300px }
.aim-list { background: #fff; border-right: 1px solid #e5e7eb; padding: 8px }
.aim-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 8px; border-radius: 8px; font: 400 11.5px/1.3 Inter, sans-serif }
.aim-row b { display: block; font-weight: 600; color: #111827; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.aim-row.on { background: #fef2f2 }
.aim-row .doc { width: 30px; height: 36px; border-radius: 5px; background: #fee2e2; color: var(--red-deep); font: 600 8.5px/36px Inter, sans-serif; text-align: center }
.aim-row .st { font: 600 10px/1 Inter, sans-serif; padding: 5px 7px; border-radius: 99px; white-space: nowrap }
.st.ok { background: #dcfce7; color: #166534 } .st.wait { background: #dbeafe; color: #1e40af } .st.chk { background: #fef3c7; color: #92400e }
.aim-detail { padding: 14px; font: 400 11.5px/1.35 Inter, sans-serif; color: #111827 }
.aim-detail dl { display: grid; grid-template-columns: auto 1fr; gap: 7px 12px; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 12px }
.aim-detail dt { color: #6b7478 } .aim-detail dd i { font-style: normal; color: #166534; font-size: 10.5px; margin-left: 4px }
.aim-done { margin-top: 10px; background: #ecfdf5; color: #166534; border-radius: 8px; padding: 9px 10px; font-weight: 600 }
@media (max-width: 640px) { .aim-body { grid-template-columns: 1fr } .aim-list { border-right: 0; border-bottom: 1px solid #e5e7eb } .aim-row:nth-child(n+4) { display: none } }
/* v8: the twelfth map card */
.cap.cap-ask { background: rgba(225,29,44,.06); border: 1px dashed rgba(225,29,44,.45); box-shadow: none }
.cap.cap-ask .n { color: var(--red) }

/* v8: the real contact form */
.route label { font: 600 13px/1 Inter, sans-serif; padding: 11px 14px; border-radius: 999px; border: 1px solid rgba(15,20,22,.14); cursor: pointer; user-select: none }
.route label.on { background: var(--ink); color: #fff; border-color: var(--ink) }
.route label:focus-within { outline: 2px solid var(--red); outline-offset: 2px }
.route input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none }
label.f { display: block; cursor: text }
label.f > span { display: block; font: 600 11px/1 Inter, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--slate-2) }
label.f input, label.f textarea { display: block; width: 100%; margin-top: 7px; border: 0; outline: 0; background: transparent; font: 400 15px/1.4 Inter, sans-serif; color: var(--ink); padding: 0 }
label.f textarea { resize: vertical; min-height: 66px }
label.f input::placeholder, label.f textarea::placeholder { color: #9aa3a7 }
label.f:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px rgba(225,29,44,.12) }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden }
.form button.btn { border: 0; cursor: pointer; font-family: Barlow, sans-serif }
.form button.btn:disabled { opacity: .6; cursor: wait }
.form-msg { min-height: 0; margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--slate) }
.form-msg:empty { display: none }
.form-msg.ok { background: #ecfdf5; color: #166534; border-radius: 12px; padding: 12px 14px }
.form-msg.err { background: #fef2f2; color: #991b1b; border-radius: 12px; padding: 12px 14px }
.form-msg a { color: inherit; text-decoration: underline }
/* v8: offices once per page (cards in the contact section, none in the footer) */
.foot .foot-base { margin-top: 36px }
@media (max-width: 640px) { #v13-home-cap-06-chip { display: none } }  /* v8: on phones it sat on the yellow card */
/* v8: the headline is longer ("software and hardware"), so it is set a little smaller to stay on four lines */
.hero h1 { font-size: clamp(40px, 4.7vw, 68px) }
@media (max-width: 640px) { .hero h1 { font-size: 39px } }
@media (min-width: 1101px) { .hero .lede { max-width: 500px } }  /* v8: keeps the longer intro clear of the screenshots */

/* v9 (client, 26 Nov): header logo about 25% bigger (laptops 45 -> 56 px, phones 40 -> 50 px) */
.nav-logo img { height: 56px }
@media (max-width: 640px) { .nav-logo img { height: 50px } }
/* v9: a slightly taller header bar, so the bigger logo keeps some air above and below it */
.nav .wrap { height: 80px }
.mega { top: 80px }
.subnav { top: 80px }
@media (max-width: 640px) { .nav .wrap { height: 70px } .subnav { top: 70px } }

/* v10 (client, 26 Nov): every section title the same size as the service titles ("Mobile apps":
   clamp(34px, 3.4vw, 50px), so 49 px on a laptop and 34 px on a phone). The hero headline stays larger. */
:root { --section-title: clamp(34px, 3.4vw, 50px) }
.copy h3, .chapter h2, .map-head h2, .inds-head h2, .prod-head h2, .process h2, .faq h2, .contact h2, main h2 { font-size: var(--section-title) }

/* v11: the number check (captcha) on the contact form */
.numcheck { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 10px; align-items: center; margin-top: 10px }
.numcheck-img { display: block; width: 160px; height: 50px; border-radius: 10px; border: 1px solid rgba(15,20,22,.14); background: #f4f5f6 }
.numcheck-new { font: 600 12.5px/1 Inter, sans-serif; padding: 11px 13px; border-radius: 999px; border: 1px solid rgba(15,20,22,.14); background: #fff; color: var(--ink); cursor: pointer; white-space: nowrap }
.numcheck-new:hover { border-color: var(--ink) }
@media (max-width: 640px) { .numcheck { grid-template-columns: 160px auto } .numcheck .f { grid-column: 1 / -1; grid-row: 2 } }

/* v13 (client, 26 Nov): the hero headline about 25% smaller, so the header logo is not dwarfed by it.
   Laptops 68 -> 51 px; phones 39 -> 34 px, the same as the section titles (25% less would make the page
   title smaller than the titles under it). */
.hero h1 { font-size: clamp(34px, 3.55vw, 51px) }
@media (max-width: 640px) { .hero h1 { font-size: 34px } }
