/* Datoworks — blue and white. Light pages, one accent blue, deep navy only for text. */
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("/assets/fonts/jakarta.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --white: #FFFFFF;
  --tint: #F5F8FE;
  --tint-2: #EAF0FC;
  --line: #E2E8F2;
  --ink: #0D1B36;
  --body: #3B4862;
  --muted: #56627A;
  --blue: #1F56E0;
  --blue-600: #1A49C2;
  --blue-700: #163C9E;
  --blue-50: #EEF3FE;
  --sky: #38A3F5;
  --green: #12946A;
  --display: "Jakarta", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(18px, 4vw, 40px);
  --r: 14px;
  --shadow: 0 1px 2px rgba(13, 27, 54, .05), 0 12px 32px -18px rgba(13, 27, 54, .22);
  --shadow-lg: 0 2px 4px rgba(13, 27, 54, .04), 0 28px 60px -28px rgba(13, 27, 54, .35);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--white); color: var(--body); font: 400 1rem/1.65 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--ink); font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }
.ic { width: 20px; height: 20px; flex: none; }
.arrow { width: 16px; height: 16px; transition: transform .2s ease; }
a:hover .arrow { transform: translateX(3px); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 10px; border: 1.5px solid transparent;
  font: 600 .98rem/1 var(--text); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.btn .ic { width: 18px; height: 18px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -10px rgba(31, 86, 224, .6); }
.btn-primary:hover { background: var(--blue-600); transform: translateY(-1px); }
.btn-primary:disabled { opacity: .65; cursor: progress; transform: none; }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-white { background: #fff; color: var(--blue-700); }
.btn-white:hover { background: var(--blue-50); }
.btn-outline-white { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-outline-white:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.btn.block { width: 100%; }
.btn-icon { width: 48px; padding: 0; background: #fff; border-color: var(--line); color: var(--blue); }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.more { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 600; font-size: .95rem; }

/* Announcement bar */
.announce { background: var(--ink); color: #DCE4F5; font-size: .88rem; }
.announce-row { display: flex; justify-content: center; align-items: center; gap: 14px; min-height: 40px; text-align: center; }
.announce a { display: inline-flex; align-items: center; gap: 4px; color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; }
.announce a:hover { text-decoration: underline; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.25rem/1 var(--display); color: var(--ink); letter-spacing: -0.02em; }
.brand-mark { width: 34px; height: 34px; }
.brand-mark rect { fill: var(--blue); }
.brand-mark g { fill: #fff; stroke: #fff; stroke-width: 2; }
.brand-mark path { fill: none; }
.nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav-link, .menu-trigger {
  display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px; border-radius: 8px;
  background: none; border: 0; cursor: pointer; text-decoration: none; color: var(--ink); font: 500 .96rem var(--text);
}
.nav-link:hover, .menu-trigger:hover, .menu-trigger[aria-expanded="true"] { background: var(--tint); color: var(--blue); }
.nav-link[aria-current], .menu-trigger.active { color: var(--blue); }
.chev { width: 16px; height: 16px; transition: transform .2s ease; }
.menu-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }
.has-menu { position: relative; }
.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translate(-50%, 6px); width: 560px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 14px;
  opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-menu.open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 1081px) { .has-menu:hover .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); } }
.mega-grid { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-grid a { display: flex; gap: 12px; padding: 12px; border-radius: 10px; text-decoration: none; }
.mega-grid a:hover { background: var(--tint); }
.mega-grid strong { display: block; color: var(--ink); font-weight: 600; font-size: .95rem; }
.mega-grid small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.45; margin-top: 2px; }
.mega-ic { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 10px; background: var(--blue-50); color: var(--blue); }
.mega-all { display: flex; align-items: center; gap: 6px; margin: 8px 12px 4px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--blue); font-weight: 600; font-size: .92rem; text-decoration: none; }
.menu-btn { display: none; }
.drawer[hidden] { display: none; }

/* Breadcrumbs */
.crumbs { padding-top: 22px; font-size: .86rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #B8C2D4; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.crumbs [aria-current] { color: var(--ink); }

/* Type helpers */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--blue); font: 700 .78rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow.light { color: #BFD3FF; }
.lede { margin-top: 20px; font-size: 1.15rem; line-height: 1.65; color: var(--body); max-width: 60ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Home hero banner */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(56, 163, 245, .35), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(31, 86, 224, .55), transparent 60%),
    linear-gradient(135deg, #0E2A78 0%, #1844B8 55%, #1F56E0 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .18; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 64px); align-items: center; padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.6rem); line-height: 1.07; letter-spacing: -0.03em; font-weight: 800; }
.hero .lede { color: #D7E2FB; }
.hero-art { width: 100%; height: auto; overflow: visible; }
.hero-art .hero-lines path { stroke: rgba(255, 255, 255, .45); stroke-dasharray: 4 6; }
.hero-art .src-cards rect { fill: rgba(255, 255, 255, .12); stroke: rgba(255, 255, 255, .35); }
.hero-art .src-cards circle { fill: #8FB4FF; }
.hero-art .src-cards text { fill: #fff; font: 600 12.5px var(--text); }
.hero-art .win-bar { fill: #F1F5FD; }
.hero-art .dot1 { fill: #FF8A80; } .hero-art .dot2 { fill: #FFD27A; } .hero-art .dot3 { fill: #7BD8A9; }
.hero-art .win-title { fill: var(--ink); font: 600 12.5px var(--text); }
.hero-art .kpis rect { fill: #fff; stroke: var(--line); }
.hero-art .kpis text { fill: var(--muted); font: 600 11px var(--text); }
.hero-art .spark { fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hero-art .spark.warn { stroke: #F59E0B; }
.hero-art .tick { fill: none; stroke: var(--green); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.hero-art .axis { stroke: var(--line); stroke-width: 1.5; }
.hero-art .b1 { fill: #C9D8FB; } .hero-art .b2 { fill: var(--blue); }
.hero-art .trend { fill: none; stroke: var(--sky); stroke-width: 3; stroke-linecap: round; }
.hero-art .ok { fill: #E5F6EE; } .hero-art .ok-tick { fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.hero-art .badge-t { fill: var(--ink); font: 700 12.5px var(--text); } .hero-art .badge-s { fill: var(--muted); font: 500 11px var(--text); }
.hero-art .ai-bg { fill: var(--blue-50); } .hero-art .ai-star { fill: var(--blue); }
@media (prefers-reduced-motion: no-preference) {
  .hero-art .hero-lines path { animation: dash 2.4s linear infinite; }
  .hero-visual { animation: rise .8s ease-out both; }
}
@keyframes dash { to { stroke-dashoffset: -40; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Platform strip and commitments */
.logos { border-bottom: 1px solid var(--line); }
.logos-row { display: flex; align-items: center; gap: 28px; padding-top: 24px; padding-bottom: 24px; }
.logos p { flex: none; color: var(--muted); font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.logos ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.logos li { color: #56627A; font: 700 .98rem var(--display); letter-spacing: -0.01em; }
.commit { background: var(--tint); border-bottom: 1px solid var(--line); }
.commit-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.commit-grid li { padding: 30px 24px; border-left: 1px solid var(--line); }
.commit-grid li:first-child { border-left: 0; padding-left: 0; }
.commit-grid strong { display: block; color: var(--blue); font: 800 1.45rem/1.2 var(--display); letter-spacing: -0.02em; }
.commit-grid span { display: block; margin-top: 6px; color: var(--body); font-size: .95rem; }

/* Sections */
.sec { padding: clamp(64px, 8vw, 104px) 0; }
.sec.tint { background: var(--tint); }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head h2 { font-size: clamp(1.85rem, 3.2vw, 2.6rem); letter-spacing: -0.025em; }
.sec-lede { margin-top: 14px; font-size: 1.08rem; color: var(--body); }
.sec-more { margin-top: 36px; text-align: center; }
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.split .sec-head { margin-bottom: 0; }

/* Page banners */
.page-banner {
  position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  background: radial-gradient(700px 360px at 90% 0%, rgba(56, 163, 245, .14), transparent 60%), linear-gradient(180deg, var(--blue-50) 0%, #fff 100%);
}
.page-banner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(31, 86, 224, .18) 1px, transparent 1px); background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent 30%, #000 100%); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
}
.page-banner > .wrap { position: relative; }
.banner-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(32px, 5vw, 56px) 0 clamp(48px, 6vw, 80px); }
.banner-grid.solo { grid-template-columns: 1fr; }
.page-banner h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; max-width: 22ch; }
.banner-visual { display: flex; justify-content: center; }
.banner-art { width: 100%; max-width: 400px; height: auto; }
.banner-art .ring { fill: none; stroke: rgba(31, 86, 224, .14); stroke-width: 1.5; }
.banner-art .r2 { stroke-dasharray: 4 6; }
.banner-art .r3 { fill: rgba(31, 86, 224, .05); }
.banner-art .spoke { stroke: rgba(31, 86, 224, .22); stroke-width: 1.5; }
.banner-art .node { stroke: #fff; stroke-width: 3; }
.banner-art .n0 { fill: var(--blue); } .banner-art .n1 { fill: var(--sky); } .banner-art .n2 { fill: #9DB8F6; }
.banner-art .core { fill: var(--blue); filter: drop-shadow(0 18px 24px rgba(31, 86, 224, .35)); }
.banner-art .core-ic { stroke: #fff; }
.byline { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: .95rem; }
.byline span { color: #B8C2D4; }

/* Facts bar on service pages */
.facts-bar { border-bottom: 1px solid var(--line); }
.facts-bar dl { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-bar dl > div { padding: 22px 24px; border-left: 1px solid var(--line); }
.facts-bar dl > div:first-child { border-left: 0; padding-left: 0; }
.facts-bar dt { color: var(--muted); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.facts-bar dd { margin-top: 4px; color: var(--ink); font-weight: 600; }

/* Service cards */
.svc-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card a {
  display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 28px; border-radius: var(--r);
  background: #fff; border: 1px solid var(--line); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.sec.tint .svc-card a { background: #fff; }
.svc-card a:hover { border-color: rgba(31, 86, 224, .5); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.svc-card h3 { font-size: 1.25rem; }
.svc-card p { color: var(--body); }
.svc-card .more { margin-top: auto; padding-top: 6px; }
.svc-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--blue-50); color: var(--blue); flex: none; }
.svc-ic .ic { width: 24px; height: 24px; }
.svc-ic.sm { width: 40px; height: 40px; border-radius: 10px; }
.svc-ic.sm .ic { width: 20px; height: 20px; }
.mini { list-style: none; display: grid; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.mini li { position: relative; padding-left: 18px; color: var(--muted); font-size: .92rem; }
.mini li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); opacity: .6; }
.start-card a { background: linear-gradient(160deg, var(--blue-50), #fff) !important; border-style: dashed; }

/* Industries */
.ind-grid { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.ind-card a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.ind-card a:hover { border-color: rgba(31, 86, 224, .5); box-shadow: var(--shadow); transform: translateY(-3px); }
.ind-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; }
.ind-card h3 { font-size: 1.08rem; }
.ind-card p { color: var(--muted); font-size: .93rem; line-height: 1.55; }
.ind-card .more { margin-top: auto; font-size: .9rem; }

/* Cards (case studies, insights) */
.card-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card[hidden] { display: none; }
.card a { display: flex; flex-direction: column; height: 100%; border-radius: var(--r); background: #fff; border: 1px solid var(--line); overflow: hidden; text-decoration: none; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.card a:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: rgba(31, 86, 224, .4); }
.card-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 22px 24px 24px; }
.card h3 { font-size: 1.15rem; line-height: 1.3; }
.card p:not(.meta) { color: var(--body); font-size: .95rem; }
.card .meta { color: var(--blue); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.card .more { margin-top: auto; padding-top: 4px; }
.tile { position: relative; display: flex; align-items: flex-end; justify-content: space-between; height: 132px; padding: 18px 20px; color: #fff; overflow: hidden; }
.tile::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.22) 1px, transparent 1px); background-size: 16px 16px; }
.tile::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; border: 22px solid rgba(255,255,255,.12); }
.tile.v0 { background: linear-gradient(135deg, #163C9E, #1F56E0); }
.tile.v1 { background: linear-gradient(135deg, #1F56E0, #38A3F5); }
.tile.v2 { background: linear-gradient(135deg, #0E2A78, #2C68E8); }
.tile.v3 { background: linear-gradient(135deg, #1A49C2, #4F86F5); }
.tile-ic { position: relative; width: 34px; height: 34px; stroke-width: 1.6; }
.tile span { position: relative; padding: 5px 10px; border-radius: 999px; background: rgba(8, 24, 72, .45); font-size: .78rem; font-weight: 600; letter-spacing: .04em; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { min-height: 40px; padding: 0 18px; border-radius: 999px; cursor: pointer; border: 1.5px solid var(--line); background: #fff; color: var(--body); font: 600 .92rem var(--text); }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Why us */
.why-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.why-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why-list li { display: flex; flex-direction: column; gap: 12px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.why-list h3, .value-grid h3 { font-size: 1.08rem; }
.why-list p, .value-grid p { color: var(--body); font-size: .95rem; margin-top: 6px; }
.why-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-50); color: var(--blue); }
.lead-mini { margin-top: 28px; }
.value-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-grid li { padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; }
.value-grid .why-ic { margin-bottom: 16px; }

/* People */
.people { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.person { display: grid; grid-template-columns: 88px 1fr; gap: 20px; align-items: start; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.avatar { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--sky)); color: #fff; font: 700 1.6rem var(--display); }
.person h3 { font-size: 1.2rem; }
.person .role { color: var(--blue); font-weight: 600; font-size: .93rem; margin-top: 2px; }
.person .bio { margin-top: 10px; color: var(--body); font-size: .95rem; }
.person .links { margin-top: 10px; font-size: .92rem; }
.person .links a { color: var(--blue); }
.person.compact { grid-template-columns: 56px 1fr; gap: 14px; align-items: center; padding: 16px 18px; box-shadow: none; }
.person.compact .avatar { width: 56px; height: 56px; font-size: 1.1rem; }
.person .pname { color: var(--ink); font: 700 1.02rem/1.3 var(--display); }
.person.compact .links { margin-top: 2px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; color: var(--ink); font: 600 1.06rem/1.4 var(--display); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--blue); }
.plus { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-50); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; background: var(--blue); transform: translate(-50%, -50%); border-radius: 2px; }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s ease; }
.faq-item[open] .plus::after { transform: translate(-50%, -50%) rotate(0); }
.faq-item p { padding: 0 0 22px; max-width: 68ch; color: var(--body); }

/* CTA panel */
.cta-sec { padding-top: 0; }
.cta-panel {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center;
  padding: clamp(32px, 5vw, 56px); border-radius: 22px; color: #DCE6FD;
  background: radial-gradient(600px 300px at 100% 0%, rgba(56, 163, 245, .45), transparent 60%), linear-gradient(135deg, #163C9E, #1F56E0);
}
.cta-panel::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; border: 40px solid rgba(255,255,255,.07); }
.cta-panel h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.cta-panel p { margin-top: 12px; max-width: 56ch; }
.cta-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.sec.tint + .cta-sec { background: var(--tint); }

/* Service page pieces */
.sit-grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.sit-grid li { display: flex; gap: 14px; align-items: flex-start; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.sit-grid .ic { color: var(--blue); margin-top: 2px; }
.sit-grid p { color: var(--ink); font-weight: 500; }
.deliver { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: d; }
.deliver li { counter-increment: d; padding: 26px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.deliver li::before { content: counter(d, decimal-leading-zero); display: block; margin-bottom: 14px; color: var(--blue); font: 800 .9rem var(--display); letter-spacing: .05em; }
.deliver h3 { font-size: 1.1rem; }
.deliver p { margin-top: 8px; color: var(--body); font-size: .95rem; }
.offer > * { min-width: 0; }
.offer { display: grid; grid-template-columns: auto 1fr 1.3fr; gap: 24px 40px; align-items: start; padding: clamp(28px, 4vw, 44px); border-radius: 20px; border: 1px solid rgba(31, 86, 224, .3); background: linear-gradient(135deg, var(--blue-50), #fff 70%); box-shadow: var(--shadow); }
.offer-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--blue); color: #fff; }
.offer-ic .ic { width: 26px; height: 26px; }
.offer h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.offer-len { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: var(--muted); font-weight: 500; }
.offer-len .ic { width: 16px; height: 16px; }
.offer p { color: var(--body); }
.offer .small { margin: 10px 0 20px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 7px 14px; border-radius: 999px; background: var(--tint); border: 1px solid var(--line); color: var(--ink); font-size: .9rem; font-weight: 500; }
.tags.small li { padding: 3px 10px; font-size: .82rem; }
.flow-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 5vw, 64px); align-items: center; }

/* Lineage diagram (migration page) */
.lineage { margin: 0; }
.lineage svg { width: 100%; height: auto; overflow: visible; }
.lineage-narrow { display: none !important; }
.lineage .col-label text { font: 600 13px var(--text); fill: var(--muted); }
.lineage .nodes rect { stroke-width: 1.2; }
.lineage .nodes text { font: 500 12.5px var(--text); }
.lineage .src rect { fill: #fff; stroke: var(--line); }
.lineage .src text { fill: var(--body); }
.lineage .dst rect { fill: var(--blue); stroke: var(--blue); }
.lineage .dst text { fill: #fff; }
.lineage .edge { fill: none; stroke: #C9D3E6; stroke-width: 1.6; }
.lineage .edge.out { stroke: var(--blue); }
.lineage .hub circle { fill: #fff; stroke: var(--green); stroke-width: 2; }
.lineage .tick { fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.lineage .hub-label { font: 600 12.5px var(--text); fill: var(--green); }
.lineage figcaption { margin-top: 14px; font-size: .9rem; color: var(--muted); text-align: center; }

/* Services index rows */
.svc-rows { display: grid; gap: 18px; }
.svc-row { display: grid; grid-template-columns: 1.1fr 1.4fr auto; gap: 24px 40px; align-items: center; padding: 28px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: box-shadow .2s ease, border-color .2s ease; }
.svc-row:hover { box-shadow: var(--shadow); border-color: rgba(31, 86, 224, .4); }
.svc-row-head { display: flex; gap: 18px; align-items: flex-start; }
.svc-row h3 { font-size: 1.25rem; }
.svc-row h3 a { text-decoration: none; }
.svc-row h3 a:hover { color: var(--blue); }
.svc-row-head p { margin-top: 6px; color: var(--body); }
.svc-row .more { text-decoration: none; }
.plat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plat-grid > div { padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.plat-grid dt { color: var(--ink); font-weight: 700; font-family: var(--display); }
.plat-grid dd { margin-top: 6px; color: var(--body); font-size: .95rem; }

/* Checks */
.checks { list-style: none; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: var(--body); }
.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: #E3F5EC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.5' fill='none' stroke='%2312946A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.checks.big li { padding: 14px 18px 14px 50px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font-weight: 500; }
.checks.big li::before { left: 16px; top: 15px; }

/* Case study page */
.case-body { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: clamp(32px, 5vw, 72px); }
.case-main section + section { margin-top: 44px; }
.case-main h2 { font-size: 1.55rem; margin-bottom: 14px; }
.case-main p { font-size: 1.1rem; line-height: 1.75; }
.approach { list-style: none; counter-reset: a; }
.approach li { counter-increment: a; position: relative; padding: 16px 0 16px 52px; border-top: 1px solid var(--line); color: var(--ink); }
.approach li:last-child { border-bottom: 1px solid var(--line); }
.approach li::before { content: counter(a); position: absolute; left: 0; top: 13px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); font-weight: 700; font-size: .9rem; }
.facts-card { align-self: start; position: sticky; top: 100px; padding: 8px 24px 24px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.facts-card dl > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts-card dt { color: var(--muted); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.facts-card dd { margin-top: 4px; color: var(--ink); font-weight: 500; }
.facts-card a:not(.btn) { color: var(--blue); }
.facts-card .btn { margin-top: 18px; }
.next-link { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; margin-top: 56px; padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; background: var(--tint); }
.next-link span { color: var(--muted); font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.next-link strong { grid-column: 1; color: var(--ink); font: 700 1.2rem var(--display); }
.next-link .arrow { grid-column: 2; grid-row: 1 / span 2; width: 22px; height: 22px; color: var(--blue); }
.next-link:hover { border-color: var(--blue); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.share-status { color: var(--green); font-weight: 600; font-size: .92rem; }

/* Articles */
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); }
.prose { max-width: 72ch; color: var(--body); font-size: 1.08rem; line-height: 1.8; }
.prose.narrow { margin: 0 auto; }
.prose > * + * { margin-top: 18px; }
.prose h2 { margin-top: 40px; font-size: 1.5rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--blue); font-weight: 700; }
.prose a { color: var(--blue); }
.prose blockquote { margin: 28px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--blue); color: var(--ink); font-size: 1.2rem; }
.prose .share { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.side-card { position: sticky; top: 100px; padding: 24px; border-radius: var(--r); background: var(--tint); border: 1px solid var(--line); }
.side-h { color: var(--ink); font: 700 1.1rem var(--display); margin-bottom: 8px; }
.side-card p:not(.side-h) { color: var(--body); font-size: .95rem; margin-bottom: 16px; }

/* How we work */
.model-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.model-card { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 110px; padding: 28px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.model-card h3 { font-size: 1.3rem; }
.model-sum { color: var(--ink); font-weight: 500; }
.model-best { color: var(--body); font-size: .95rem; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; counter-reset: s; }
.steps.four { grid-template-columns: repeat(4, 1fr); }
.steps li { counter-increment: s; position: relative; padding-top: 60px; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; z-index: 1; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font: 700 1rem var(--display); box-shadow: 0 0 0 6px var(--blue-50); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 20px; left: 52px; right: -16px; height: 2px; background: linear-gradient(90deg, var(--blue) 0 40%, #C9D6F5 40%); }
.steps h3 { font-size: 1.1rem; }
.steps p { margin-top: 6px; color: var(--body); font-size: .95rem; }
.start-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.start-grid a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 24px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
.start-grid a:hover { border-color: rgba(31, 86, 224, .5); box-shadow: var(--shadow); }
.start-top { display: flex; align-items: center; justify-content: space-between; }
.start-len { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--tint); color: var(--body); font-size: .82rem; font-weight: 600; }
.start-len .ic { width: 14px; height: 14px; }
.start-grid strong { color: var(--ink); font: 700 1.12rem var(--display); }
.start-text { color: var(--body); font-size: .94rem; }
.start-grid .more { margin-top: auto; font-size: .9rem; }

/* About */
.mission { max-width: 900px; margin: 0 auto; text-align: center; }
.mission .eyebrow { justify-content: center; }
.mission h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.3; }
.join-card { padding: 28px; border-radius: var(--r); border: 1px solid var(--line); background: var(--tint); }
.join-card p { color: var(--ink); font-weight: 500; margin-bottom: 18px; }

/* Careers */
.role-list { list-style: none; display: grid; gap: 12px; }
.role-list li { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 26px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.role-list h3 { font-size: 1.1rem; }
.role-list p { margin-top: 4px; color: var(--body); font-size: .95rem; }

/* Capability statement */
.cap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 56px; }
.cap-grid h2 { margin-bottom: 14px; color: var(--blue); font: 700 .82rem var(--text); letter-spacing: .12em; text-transform: uppercase; }
.cap-list > div { padding: 10px 0; border-top: 1px solid var(--line); }
.cap-list dt { color: var(--ink); font-weight: 600; }
.cap-list dd { margin-top: 2px; color: var(--body); font-size: .95rem; }
.cap-cases { list-style: none; }
.cap-cases li { padding: 9px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.cap-cases a { color: var(--ink); }
.cap-contact { align-self: start; padding: 24px; border-radius: var(--r); background: var(--tint); border: 1px solid var(--line); }
.cap-contact p + p { margin-top: 10px; }
.cap-contact a { color: var(--blue); }

/* Contact and forms */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 72px); align-items: start; padding: clamp(28px, 4vw, 48px) 0 clamp(56px, 7vw, 96px); }
.contact-intro h1 { font-size: clamp(2.1rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; }
.next-steps { list-style: none; margin: 28px 0; counter-reset: n; }
.next-steps li { counter-increment: n; position: relative; padding: 12px 0 12px 46px; border-top: 1px solid var(--line); color: var(--body); }
.next-steps li::before { content: counter(n); position: absolute; left: 0; top: 11px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: .85rem; font-weight: 700; }
.next-steps strong { color: var(--ink); }
.talk-box { margin-bottom: 20px; padding: 20px; border-radius: var(--r); border: 1.5px solid var(--blue); display: grid; gap: 12px; justify-items: start; background: #fff; }
.talk-box[hidden], [data-call-fields][hidden] { display: none; }
.form-card { padding: clamp(22px, 4vw, 40px); border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { display: block; margin-bottom: 8px; padding: 0; color: var(--ink); font-weight: 600; font-size: .93rem; }
.opt { margin-left: 6px; color: var(--muted); font-weight: 400; }
.field input:not([type="radio"]):not([type="checkbox"]), .field select, .field textarea, .nl-form input[type="email"] {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  background: #FBFCFF; color: var(--ink); font: 400 1rem/1.4 var(--text); transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .nl-form input:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(31, 86, 224, .14); }
[aria-invalid="true"] { border-color: #D14343 !important; }
.field-error { margin-top: 6px; color: #C23A3A; font-size: .86rem; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; display: inline-flex; margin: 0 !important; cursor: pointer; }
.choice input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 15px; border: 1.5px solid var(--line); border-radius: 999px; background: #FBFCFF; color: var(--body); font-size: .93rem; font-weight: 500; }
.choice input:checked + span { border-color: var(--blue); background: var(--blue-50); color: var(--blue-700); }
.choice input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 14px; }
.form-status { font-size: .93rem; color: var(--muted); }
.form-status.ok { color: var(--green); font-weight: 600; }
.form-status.err { color: #C23A3A; }
.form-status a { color: inherit; }
.form-card .small a { color: var(--muted); }

/* Footer */
.site-footer { background: var(--tint); border-top: 1px solid var(--line); padding-top: clamp(48px, 6vw, 72px); color: var(--body); font-size: .95rem; }
.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: center; padding: 28px 32px; margin-bottom: 52px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.nl-h { font-size: 1.3rem; }
.newsletter > div p { margin-top: 6px; color: var(--body); }
.nl-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.nl-form .form-status { grid-column: 1 / -1; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; padding-bottom: 44px; }
.footer-brand p { margin-top: 14px; max-width: 36ch; }
.footer-contact { display: flex; align-items: center; gap: 8px; }
.footer-contact[hidden] { display: none; }
.footer-contact .ic { color: var(--blue); width: 18px; height: 18px; }
.footer-h { margin-bottom: 14px; color: var(--ink); font: 700 .8rem var(--text); letter-spacing: .12em; text-transform: uppercase; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: var(--body); text-decoration: none; }
.site-footer a:hover { color: var(--blue); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 22px 0 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.legal { display: flex; gap: 20px; }
.legal a { color: var(--muted); }
.mobile-cta { display: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; margin-left: auto; padding: 0 11px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
  .menu-btn span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .drawer { position: fixed; top: 72px; left: 0; right: 0; bottom: 0; z-index: 45; overflow-y: auto; background: #fff; border-top: 1px solid var(--line); overscroll-behavior: contain; }
  .drawer-inner { display: grid; gap: 22px; padding-top: 20px; padding-bottom: 40px; }
  .drawer-h { margin-bottom: 6px; color: var(--muted); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
  .drawer-group ul { list-style: none; display: grid; }
  .drawer-group a { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 0 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; font-size: 1.04rem; text-decoration: none; }
  .drawer-group a .ic { color: var(--blue); }
  .drawer-group a[aria-current] { color: var(--blue); font-weight: 600; }
  .drawer-mail { text-align: center; }
  .drawer-mail a { color: var(--blue); }
  body.menu-open { overflow: hidden; }
  .hero-grid, .banner-grid, .split, .why-grid, .faq-grid, .flow-grid, .case-body, .article-grid, .contact-grid, .cta-panel, .newsletter { grid-template-columns: 1fr; }
  .banner-visual { display: none; }
  .hero-visual { max-width: 560px; }
  .cta-actions { justify-content: flex-start; }
  .svc-grid, .card-grid, .start-grid, .deliver, .model-grid, .plat-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: repeat(3, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps.four { grid-template-columns: 1fr; }
  .steps li { padding: 0 0 26px 62px; min-height: 64px; }
  .steps li:not(:last-child)::after { top: 48px; bottom: 4px; left: 20px; right: auto; width: 2px; height: auto; background: #C9D6F5; }
  .svc-row { grid-template-columns: 1fr; }
  .facts-card, .side-card { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .facts-bar dl, .commit-grid { grid-template-columns: repeat(2, 1fr); }
  .facts-bar dl > div:nth-child(3), .commit-grid li:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts-bar dl > div:nth-child(n+3), .commit-grid li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .offer { grid-template-columns: auto 1fr; }
  .offer > div:last-child { grid-column: 1 / -1; }
}

/* ---------- Phone ---------- */
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .announce { font-size: .8rem; }
  .announce-row { min-height: 36px; gap: 8px; padding-top: 6px; padding-bottom: 6px; }
  .announce p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .header-row { height: 64px; }
  .brand { font-size: 1.15rem; }
  .brand-mark { width: 30px; height: 30px; }
  .hero-grid { padding-top: 40px; padding-bottom: 44px; gap: 28px; }
  .hero h1 { font-size: 2.15rem; }
  .lede { font-size: 1.04rem; margin-top: 14px; }
  .actions { margin-top: 24px; }
  .actions .btn { flex: 1 1 100%; }
  .page-banner h1 { font-size: 2rem; }
  .banner-grid { padding: 22px 0 40px; }
  .crumbs { padding-top: 16px; }
  .crumbs li:not(:first-child):not(:last-child) { display: none; }
  .crumbs li:last-child span { display: inline-block; max-width: 70vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
  .sec { padding: 52px 0; }
  .sec-head { margin-bottom: 26px; }
  .sec-head h2 { font-size: 1.7rem; }
  .sec-lede { font-size: 1rem; }
  .logos-row { flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 20px; padding-bottom: 20px; }
  .logos ul { flex-wrap: nowrap; overflow-x: auto; width: calc(100% + 2 * var(--gutter)); margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; gap: 22px; scrollbar-width: none; }
  .logos ul::-webkit-scrollbar { display: none; }
  .logos li { flex: none; font-size: .98rem; }
  .commit-grid li { padding: 20px 14px 20px 0; }
  .commit-grid li:nth-child(even) { padding-left: 14px; }
  .commit-grid strong { font-size: 1.15rem; }
  .commit-grid span { font-size: .86rem; }
  .svc-grid, .start-grid, .deliver, .model-grid, .plat-grid, .sit-grid, .value-grid, .why-list, .field-row, .cap-grid { grid-template-columns: 1fr; }
  .model-card, .deliver li, .value-grid li { padding: 22px; }
  .sit-grid { gap: 10px; }
  .sit-grid li { padding: 16px 18px; }
  .svc-grid { gap: 12px; }
  .svc-card a { display: grid; grid-template-columns: 44px 1fr; gap: 2px 14px; padding: 18px; align-items: start; }
  .svc-card a > .svc-ic { grid-row: 1 / span 3; width: 44px; height: 44px; }
  .svc-card h3 { font-size: 1.08rem; }
  .svc-card p { font-size: .94rem; }
  .svc-card .mini { display: none; }
  .svc-card .more { padding-top: 6px; font-size: .9rem; }
  .ind-grid { grid-template-columns: 1fr; gap: 10px; }
  .ind-card a { flex-direction: row; align-items: center; gap: 14px; padding: 14px 16px; }
  .ind-card .ind-ic { width: 40px; height: 40px; flex: none; }
  .ind-card h3 { flex: 1; font-size: 1.02rem; }
  .ind-card p { display: none; }
  .ind-card .more { margin: 0; padding: 0; font-size: 0; gap: 0; }
  .ind-card .more .arrow { width: 18px; height: 18px; }
  .card-grid { grid-template-columns: 1fr; }
  .card-grid.scroller {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; scroll-padding: 0 var(--gutter);
  }
  .card-grid.scroller::-webkit-scrollbar { display: none; }
  .card-grid.scroller > li { flex: 0 0 84%; scroll-snap-align: start; }
  .tile { height: 104px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)) 20px; padding: 2px var(--gutter); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; min-height: 42px; }
  .facts-bar dl > div { padding: 16px 12px 16px 0; }
  .facts-bar dl > div:nth-child(even) { padding-left: 12px; }
  .facts-bar dd { font-size: .93rem; }
  .offer { grid-template-columns: 1fr; padding: 24px; }
  .offer .btn { width: 100%; }
  .btn { white-space: normal; text-align: center; line-height: 1.25; padding-top: 10px; padding-bottom: 10px; }
  .site-footer ul { gap: 0; }
  .site-footer li a { display: inline-flex; align-items: center; min-height: 40px; }
  .legal a, .footer-contact a { display: inline-flex; align-items: center; min-height: 40px; }
  .facts-card dd a { display: inline-block; padding: 10px 0; }
  .footer-brand .brand { min-height: 44px; }
  .role-list .text-link { min-height: 40px; }
  .person { grid-template-columns: 64px 1fr; padding: 20px; gap: 16px; }
  .avatar { width: 64px; height: 64px; font-size: 1.2rem; }
  .cta-panel { padding: 28px 22px; border-radius: 18px; }
  .cta-actions .btn { flex: 1 1 100%; }
  .case-main p { font-size: 1.04rem; }
  .prose { font-size: 1.03rem; }
  .share .btn { flex: 1 1 auto; }
  .role-list li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px; }
  .faq-item summary { font-size: 1rem; padding: 18px 0; }
  .newsletter { padding: 22px; margin-bottom: 40px; }
  .nl-form { grid-template-columns: 1fr; }
  .footer-grid { gap: 28px 20px; }
  .footer-base { flex-direction: column; padding-bottom: 96px; }
  .form-foot .btn { width: 100%; }
  .choice span { min-height: 44px; }
  .form-card { padding: 20px 16px; border-radius: 16px; }
  .contact-grid { padding-top: 16px; }
  .lineage-wide { display: none !important; }
  .lineage-narrow { display: block !important; max-width: 400px; margin: 0 auto; }
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; gap: 10px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96);
    border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(13, 27, 54, .35);
    transform: translateY(110%); transition: transform .25s ease;
  }
  .mobile-cta.show { transform: none; }
  .mobile-cta .btn-primary { flex: 1; }
}

/* ---------- Print ---------- */
@media print {
  body { font-size: 11pt; }
  .announce, .site-header, .site-footer, .crumbs, .cta-sec, .share, .next-link, .skip, .mobile-cta, .banner-visual, .actions .btn, .facts-card .btn, .article-side { display: none !important; }
  .page-banner { background: none; border: 0; }
  .page-banner::before { display: none; }
  .banner-grid { padding: 0 0 12px; grid-template-columns: 1fr; }
  .page-banner h1 { font-size: 22pt; }
  .sec { padding: 12px 0; background: none !important; }
  .case-body { grid-template-columns: 1.6fr 1fr; gap: 24px; }
  .facts-card { position: static; box-shadow: none; }
  .cap-grid { grid-template-columns: 1fr 1fr; gap: 14px 28px; }
  .cap-grid section, .case-main section { break-inside: avoid; }
  a { text-decoration: none; color: inherit; }
  main::after { content: "Datoworks · datoworks.com · hello@datoworks.com"; display: block; margin-top: 20px; padding-top: 10px; border-top: 1px solid #ccc; font-size: 9pt; color: #555; }
  @page { margin: 14mm; }
}

/* Tap targets */
.brand { min-height: 44px; }
@media (max-width: 640px) {
  .svc-row h3 a { display: inline-block; padding: 8px 0; }
  .svc-row .more { min-height: 44px; }
}
