/* OlegDigitalLab: one shared palette and explicit component layouts. */
:root {
  --ink: #172e4d;
  --muted: #53657c;
  --paper: #f7f9fc;
  --white: #fff;
  --deep: #173f73;
  --blue: #205baa;
  --blue-soft: #edf3fc;
  --lime: #ffdc76;
  --yellow-soft: #fff6da;
  --line: #dce4ef;
  --radius: 22px;
  --shadow: 0 18px 48px -30px rgb(23 46 77 / 30%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 "Segoe UI", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; overflow-wrap: anywhere; }
button:disabled { cursor: default; opacity: .55; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
::selection { background: var(--lime); color: var(--ink); }
h1, h2, h3, h4, p { overflow-wrap: break-word; }
h1, h2, h3, h4 { text-wrap: balance; }
.wrap, .header-inner { width: min(1280px, calc(100% - 80px)); margin-inline: auto; }
header { position: sticky; top: 0; z-index: 20; background: rgb(247 249 252 / 96%); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; font-size: 21px; line-height: 1.2; font-weight: 750; letter-spacing: -.8px; white-space: nowrap; }
.brand:not(.brand--odl) > span:last-child { font-weight: 400; }
.mark { display: inline-grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; margin-right: 11px; border-radius: 11px; background: var(--deep); color: var(--lime); font: italic 26px Georgia, serif; }
/* Compact typographic monogram; scoped to the header brand. */
.brand--odl { gap: 13px; letter-spacing: -.9px; }
.brand--odl .odl-mark { display: grid; place-items: center; flex: 0 0 52px; width: 52px; height: 46px; border-radius: 14px 14px 14px 5px; background: var(--deep); box-shadow: 3px 3px 0 var(--lime); transform: rotate(-6deg); }
.brand--odl .odl-mark > span { display: block; color: white; font-size: 20px; font-weight: 850; font-style: italic; letter-spacing: -1.6px; line-height: 1; transform: rotate(6deg); padding-right: 2px; }
.brand--odl .odl-mark b { color: var(--lime); font-weight: inherit; }
.brand--odl .odl-wordmark { display: inline-flex; align-items: baseline; font-size: 26px; line-height: 1.25; font-weight: 850; }
.odl-oleg { color: var(--ink); }
.odl-digital, .odl-lab { color: var(--blue); }
.odl-lab { background: linear-gradient(transparent 70%, var(--lime) 70%, var(--lime) 94%, transparent 94%); }
nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 600; }
nav > a { padding: 10px 14px; border: 1px solid #9bb2d0; border-radius: 10px; background: white; box-shadow: 0 2px 0 #d7e2f1; }
nav > a:hover { color: var(--blue); border-color: var(--blue); background: var(--blue-soft); }
.nav-cta { padding: 11px 18px; border: 1px solid #b9c9df; border-radius: 10px; background: white; }
nav > a[href="#services"] { background: #8828a8; border-color: #8828a8; color: white; box-shadow: 0 2px 5px rgb(70 20 90 / 12%); }
nav > a[href="#services"]:hover { background: #6b1f87; border-color: #6b1f87; }
nav > a[href="#lab"] { background: var(--blue); border-color: var(--blue); color: white; box-shadow: 0 2px 5px rgb(24 52 88 / 12%); }
nav > a[href="#lab"]:hover { background: var(--deep); border-color: var(--deep); }
.profile-banner { width: min(1280px, calc(100% - 80px)); margin: 24px auto 0; border-radius: 16px; overflow: hidden; background: #102b43; }
.profile-banner img { display: block; width: 100%; height: auto; }
.hero { padding-top: 56px; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--blue); font-size: 12px; line-height: 1.5; letter-spacing: 1.3px; font-weight: 700; }
.line { width: 28px; height: 2px; flex-shrink: 0; background: currentColor; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); gap: 64px; align-items: center; margin-top: 28px; }
h1 { font-size: clamp(48px, 5.5vw, 82px); line-height: 1.07; letter-spacing: -.05em; font-weight: 650; margin: 0 0 28px; }
.italic { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-style: italic; }
h1 .italic { color: var(--blue); }
.lead { font-size: 20px; line-height: 1.65; max-width: 620px; margin: 0; color: var(--ink); }
.hero-copy { font-size: 16px; line-height: 1.75; max-width: 570px; margin: 18px 0 0; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 30px; }
.button, button.primary { min-height: 50px; display: inline-flex; justify-content: center; align-items: center; padding: 14px 22px; border: 1px solid transparent; border-radius: 10px; font-weight: 650; font-size: 15px; line-height: 1.5; text-align: center; transition: background .18s, box-shadow .18s; }
.primary { background: var(--blue); color: white; }
.button.primary:hover, button.primary:hover { background: var(--deep); box-shadow: 0 6px 18px -10px var(--deep); }
.text-link { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 18px; border: 1px solid #9bb2d0; border-radius: 10px; background: white; box-shadow: 0 2px 0 #d7e2f1; font-size: 15px; font-weight: 600; }
.text-link:hover { color: var(--blue); border-color: var(--blue); }
.small { font-size: 14px; color: var(--muted); }
.hero-note { margin: 20px 0 0; }
.hero-flow { padding: 30px; border: 1px solid #d2def0; border-radius: 28px; background: #eaf1fb; box-shadow: var(--shadow); }
.flow-caption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 26px; font-size: 12px; letter-spacing: .6px; font-weight: 650; }
.mini-tag { display: inline-block; max-width: 100%; padding: 5px 10px; border: 1px solid #afc1d9; border-radius: 6px; font-size: 12px; line-height: 1.5; font-weight: 650; letter-spacing: .7px; }
.flow-card { display: flex; align-items: center; gap: 14px; padding: 22px 18px; border: 1px solid #e0e7f1; border-radius: 14px; background: white; }
.flow-card > div { min-width: 0; }
.flow-card small { display: block; font-size: 12px; letter-spacing: .8px; font-weight: 650; color: var(--muted); }
.flow-card strong { display: block; font-size: 18px; line-height: 1.4; font-weight: 600; margin-top: 4px; }
.icon { font: 14px/1.4 Consolas, monospace; color: #50709a; }
.pill { margin-left: auto; padding: 5px 8px; background: var(--blue-soft); border-radius: 6px; font-size: 12px; white-space: nowrap; }
.connector { height: 40px; display: flex; align-items: center; gap: 16px; margin-left: 28px; }
.connector span { height: 100%; border-left: 1px dashed #9cafd0; }
.connector small { color: var(--muted); font-size: 12px; }
.engine { background: var(--deep); border-color: var(--deep); color: white; }
.engine small { color: #d6e5fb; }
.engine .icon, .chips span { color: var(--lime); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.chips span { padding: 3px 9px; border: 1px solid #6a88b0; border-radius: 5px; font-size: 12px; }
.avatar { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; background: var(--blue-soft); border-radius: 50%; font-size: 12px; }
.check { display: grid; place-items: center; width: 28px; height: 28px; flex-shrink: 0; margin-left: auto; background: var(--lime); border-radius: 50%; color: var(--ink); }
.flow-foot { margin-top: 22px; font-size: 12px; text-align: center; color: var(--muted); }
.hero-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 54px; padding: 23px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-bottom > span { font-size: 12px; letter-spacing: .9px; color: var(--muted); }
.hero-bottom strong { display: flex; gap: 18px; align-items: center; font-size: 32px; font-weight: 500; line-height: 1.3; }
.hero-bottom small { max-width: 160px; font-size: 14px; font-weight: 400; }
/* Existing problem statements, presented as a quiet introduction. */
.pain-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; padding-top: 88px; }
.pain-intro h2 { font-size: clamp(30px, 3vw, 40px); line-height: 1.2; letter-spacing: -.035em; font-weight: 600; margin: 20px 0; }
.pain-intro p { color: var(--muted); max-width: 320px; margin: 0; }
.pain-list article { display: flex; gap: 24px; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.pain-list article:last-child { margin-bottom: 0; }
.pain-list article > span { font: 14px/1.7 Consolas, monospace; color: var(--blue); padding-top: 2px; }
.pain-list article > div { min-width: 0; }
.pain-list h3 { font-size: 20px; line-height: 1.4; font-weight: 600; margin: 0 0 9px; letter-spacing: -.02em; }
.pain-list p { margin: 0; font-size: 16px; color: var(--muted); }
.services, .process { padding-block: 100px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 48px; margin-bottom: 40px; }
.section-head > div { min-width: 0; }
.section-head h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.15; letter-spacing: -.04em; font-weight: 600; margin: 18px 0 0; }
.section-head > p { max-width: 385px; margin: 0; font-size: 16px; color: var(--muted); }
/* Every card owns its layout; paragraphs never receive grid coordinates. */
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.service { display: flex; flex-direction: column; min-width: 0; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 4px 18px -15px #173f73; transition: border-color .18s, box-shadow .18s; }
.service:hover { border-color: #a9bfdc; box-shadow: var(--shadow); }
.service-heading { margin-bottom: 24px; }
.service-top { display: flex; align-items: center; gap: 18px; justify-content: space-between; }
.service-no { font: 14px/1.2 Consolas, monospace; padding: 9px 10px; border: 1px solid #d4e1f3; border-radius: 8px; color: var(--blue); background: var(--blue-soft); }
.service-label { font-size: 12px; line-height: 1.5; letter-spacing: .65px; font-weight: 650; color: var(--muted); text-align: right; }
.service h3 { font-size: clamp(26px, 2.5vw, 32px); line-height: 1.2; letter-spacing: -.035em; font-weight: 600; margin: 24px 0 0; max-width: 490px; }
.service-story { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.service-story > p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--muted); }
.service-story > .service-pain { font-size: 18px; line-height: 1.5; font-weight: 550; color: var(--ink); }
.service-story > .service-fit { padding: 16px 18px; background: var(--paper); border-radius: 10px; font-size: 14px; line-height: 1.65; }
.service-fit b { display: block; margin-bottom: 5px; color: var(--ink); font-size: 14px; font-weight: 650; }
.service-delivery { margin-top: auto; }
.scope-label { font-size: 12px; letter-spacing: .9px; line-height: 1.5; font-weight: 700; margin-bottom: 14px; color: var(--blue); }
.service ul { margin: 0 0 22px; padding-left: 20px; font-size: 15px; color: var(--ink); }
.service li { padding-left: 3px; }
.service li::marker { color: #ab7415; }
.service li + li { margin-top: 8px; }
.service-actions { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 12px; margin-top: 16px; }
.service-bottom { min-width: 0; }
.service-bottom button, .service-kwork { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; height: 100%; border-radius: 10px; padding: 12px 14px; font-size: 14px; font-weight: 650; line-height: 1.5; text-align: center; }
.service-bottom button { border: 1px solid var(--blue); background: var(--blue); color: white; }
.service-bottom button:hover { background: var(--deep); border-color: var(--deep); }
.service-kwork { border: 1px solid var(--blue); background: var(--blue); color: white; }
.service-kwork:hover { background: var(--deep); border-color: var(--deep); }
.service--infrastructure { grid-column: 1 / -1; background: var(--yellow-soft); border-color: #ebd69f; }
.service--infrastructure .service-no { background: #ffedb5; border-color: #e8ca79; color: #725013; }
.service--infrastructure .service-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.service--infrastructure .service-fit { background: #ffedb5; }
.service--infrastructure h3 { max-width: none; }
.service--infrastructure ul { columns: 2; column-gap: 48px; }
.service--infrastructure li { break-inside: avoid; }
.service--infrastructure .service-actions { max-width: 560px; }
.disclaimer { max-width: 820px; font-size: 14px; color: var(--muted); margin: 24px 0 0; }
/* The interactive laboratory is the product proof, with clear navigation. */
.lab { background: #12345f; color: white; padding-block: 88px; }
.lab .section-head { margin-bottom: 36px; }
.lab .eyebrow { color: var(--lime); }
.lab-info { max-width: 335px; }
.lab-info .mini-tag { border-color: #6580a2; color: #eff5ff; }
.lab-info p { color: #d4e1f2; font-size: 14px; line-height: 1.75; margin-bottom: 0; }
.industry-picker { min-width: 0; padding: 20px; margin-bottom: 20px; border: 1px solid #c7d7eb; border-radius: 14px; background: var(--blue-soft); color: var(--ink); }
.industry-picker strong { font-size: 20px; font-weight: 600; }
.industry-picker p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 6px 0 0; }
.industry-options { display: flex; flex-wrap: nowrap; gap: 10px; max-width: 100%; min-width: 0; margin-top: 14px; padding: 4px 4px 8px; overflow-x: auto; scroll-padding-inline: 4px; }
.industry-options button { flex: 1 0 155px; white-space: nowrap; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 12px 14px; border: 2px solid #b8cce7; border-radius: 10px; background: white; color: var(--deep); box-shadow: 0 3px 0 #c3d2e6; font-size: 14px; font-weight: 600; text-align: left; }
.industry-options button span { color: #526b8e; font: 12px Consolas, monospace; }
.industry-options button[aria-pressed=true] { background: var(--lime); color: var(--ink); border-color: #ffecad; box-shadow: inset 0 0 0 1px #9c6b12, 0 3px 0 #c3d2e6; }
.industry-options button[aria-pressed=true] span { color: #624b19; }
.industry-options button:not([aria-pressed=true]):hover { border-color: var(--lime); background: #fff3cb; }
.industry-options button:focus-visible { outline-color: var(--blue); outline-offset: 2px; }
.industry-picker .industry-notice { margin: 12px 0 0; border-top: 1px solid #c7d7eb; padding-top: 12px; font-size: 13px; color: var(--muted); }
.workspace { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 560px; background: white; color: var(--ink); border: 1px solid #b2c6df; border-radius: 20px; overflow: hidden; box-shadow: 0 26px 60px -38px #020f25; }
.demo-tabs { display: flex; flex-direction: column; gap: 6px; padding: 18px 14px; background: #eff4fb; border-right: 1px solid var(--line); min-width: 0; }
.demo-tabs button { display: flex; align-items: baseline; gap: 12px; text-align: left; width: 100%; min-height: 48px; padding: 13px 12px; border: 2px solid #8aa5c8; border-radius: 9px; color: var(--deep); background: white; box-shadow: 0 3px 0 #d1dff0; font-size: 14px; font-weight: 600; line-height: 1.5; }
.demo-tabs button span { color: #6c82a0; font: 12px Consolas, monospace; }
.demo-tabs button:hover { background: #e1ebf9; border-color: var(--blue); }
.demo-tabs button[aria-selected=true] { color: white; background: var(--deep); border-color: var(--deep); box-shadow: inset 4px 0 0 var(--lime), 0 3px 0 #bacbe1; }
.demo-tabs button[aria-selected=true] span { color: var(--lime); }
.demo-main { min-width: 0; padding: 32px; }
.demo-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.demo-heading > div { min-width: 0; }
.demo-heading .eyebrow { color: var(--blue); font-size: 12px; letter-spacing: .8px; }
.demo-heading h3 { font-size: 28px; line-height: 1.3; letter-spacing: -.025em; font-weight: 600; margin: 8px 0 0; }
.subtle { min-height: 44px; padding: 9px 13px; border: 2px solid #8aa5c8; border-radius: 9px; background: var(--blue-soft); color: var(--deep); box-shadow: 0 3px 0 #d1dff0; font-size: 14px; font-weight: 600; line-height: 1.5; }
.subtle:hover { background: #dfebfa; border-color: var(--blue); }
.demo-description { font-size: 16px; color: var(--muted); margin: 20px 0 26px; line-height: 1.7; }
.demo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.demo-box { min-width: 0; padding: 22px; background: #f8fafd; border: 1px solid var(--line); border-radius: 14px; }
.demo-box h4 { font-size: 16px; line-height: 1.5; font-weight: 650; margin: 0 0 18px; }
.demo-box label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.demo-box input, .demo-box select, .demo-box textarea { display: block; width: 100%; min-width: 0; min-height: 46px; padding: 11px 12px; margin-top: 7px; border: 1px solid #b8c8db; border-radius: 8px; background: white; color: var(--ink); font-size: 16px; line-height: 1.5; }
.demo-box textarea { min-height: 120px; resize: vertical; }
.demo-box button.primary { width: 100%; font-size: 14px; min-height: 46px; padding: 12px 15px; }
.status { margin: 14px 0 0; padding: 13px; border: 1px solid #c6dbb8; border-radius: 9px; background: #edf6e7; color: #345429; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.status.error { border-color: #edc5b8; background: #fff0ea; color: #8a351b; }
.empty { padding: 24px 0; font-size: 14px; color: var(--muted); }
.result-title { font-size: 12px; line-height: 1.6; font-weight: 650; letter-spacing: .7px; color: var(--muted); margin-bottom: 16px; }
.message { font-size: 14px; line-height: 1.7; background: #eaf1fb; color: var(--ink); padding: 14px; border-radius: 10px; margin: 10px 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.message.user { margin-left: 24px; background: var(--deep); color: white; }
.mini-table { width: 100%; table-layout: fixed; font-size: 14px; border-collapse: collapse; margin-top: 18px; }
.mini-table th, .mini-table td { text-align: left; padding: 10px 6px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.mini-table th { font-weight: 500; color: var(--muted); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { max-width: 100%; min-height: 46px; border: 2px solid #8aa5c8; border-radius: 9px; background: white; color: var(--deep); box-shadow: 0 3px 0 #d1dff0; padding: 10px 13px; font-size: 14px; font-weight: 600; line-height: 1.5; text-align: left; overflow-wrap: anywhere; }
.choice:hover { border-color: var(--blue); background: var(--blue-soft); }
.choice.selected, .choice[aria-pressed=true] { color: white; border-color: var(--deep); background: var(--deep); box-shadow: inset 0 -3px 0 var(--lime), 0 3px 0 #bacbe1; }
.choice.busy { border-style: dashed; text-decoration: line-through; color: var(--muted); }
.helper { color: var(--muted); font-size: 14px; line-height: 1.7; margin-top: 16px; }
.demo-footer { display: flex; justify-content: space-between; align-items: start; gap: 24px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.demo-footer span { max-width: 500px; }
.demo-footer a { display: flex; align-items: center; justify-content: center; flex-shrink: 1; max-width: 100%; min-height: 50px; padding: 12px 20px; border: 1px solid #e3c20a; border-radius: 12px; background: #ffdf20; color: var(--deep); box-shadow: 0 2px 5px rgb(24 52 88 / 10%); font-size: 15px; font-weight: 600; line-height: 1.5; text-align: center; white-space: normal; overflow-wrap: anywhere; }
.demo-footer a:hover { background: #ffea59; border-color: #c9aa00; }
.demo-footer a:active { transform: translateY(2px); box-shadow: none; }
.log { padding: 16px; border-radius: 10px; background: #122d50; color: #d8e8fc; min-height: 160px; font: 13px/1.9 Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.progress-track { height: 6px; margin-top: 18px; border-radius: 4px; overflow: hidden; background: #dde7f3; }
.progress-bar { height: 100%; background: var(--blue); transition: width .3s; }
.metric-row { display: flex; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.metric-row b { font-weight: 650; }
.pipeline { display: flex; flex-direction: column; gap: 10px; }
.stage { border: 1px solid var(--line); border-radius: 9px; padding: 14px; background: white; font-size: 14px; }
.stage.active { background: var(--yellow-soft); border-color: #d7bb74; }
.stage small { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; }
/* Existing booking, cancellation and test states. */
.journey-banner { margin: 22px 0; padding: 18px 20px; border: 1px solid #e6d3a4; border-radius: 12px; background: var(--yellow-soft); }
.journey-banner p { font-size: 14px; line-height: 1.7; color: #66532b; margin: 10px 0 0; }
.journey-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.journey-chat .message { font-size: 14px; }
.calendar-days { display: flex; gap: 7px; margin: 16px 0; }
.calendar-days button { flex: 1; min-width: 0; min-height: 56px; font-size: 18px; text-align: center; padding-inline: 6px; }
.calendar-days small { display: block; font-size: 12px; }
.calendar-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); padding: 12px 0; font-size: 14px; }
.calendar-row b { font-weight: 600; }
.calendar-row.available span { color: #356021; }
.calendar-row.occupied span { color: #796137; }
.calendar-record { display: block; width: 100%; margin-top: 10px; padding: 12px; border: 2px solid #8aa5c8; border-radius: 9px; background: var(--blue-soft); color: var(--ink); box-shadow: 0 3px 0 #d1dff0; text-align: left; font-size: 14px; }
.calendar-record small { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.test-scenarios { margin-top: 20px; font-size: 14px; color: var(--muted); }
.test-scenarios summary { cursor: pointer; min-height: 46px; padding: 11px 13px; margin-bottom: 14px; border: 2px solid #8aa5c8; border-radius: 9px; background: var(--blue-soft); color: var(--deep); box-shadow: 0 3px 0 #d1dff0; font-weight: 600; }
.test-scenarios .choice { font-size: 14px; }
.confirmation-card { background: #f0f6e9; border: 1px solid #c6d9b2; border-radius: 12px; padding: 20px; margin-bottom: 18px; }
.confirmation-card h4 { font-size: 22px; margin: 16px 0; }
.confirmation-card dl { margin: 0; }
.confirmation-card dl > div { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid #d6e2cb; font-size: 14px; }
.confirmation-card dt { color: var(--muted); }
.confirmation-card dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.journey-chat .choices { gap: 8px; }
.journey-chat label { font-size: 14px; }
.journey-chat input, .journey-chat select { font-size: 16px; }
.calendar-box h4 { line-height: 1.5; }
/* Visible feedback for every switch, including native disclosure controls. */
.test-scenarios summary:hover, .calendar-record:hover { background: #dfebfa; border-color: var(--blue); }
.test-scenarios[open] summary { color: white; background: var(--deep); border-color: var(--deep); box-shadow: inset 4px 0 0 var(--lime); }
:where(.industry-options button, .demo-tabs button, .choice, .subtle, .calendar-record, .test-scenarios summary) { transition: background .15s, border-color .15s, box-shadow .15s, transform .15s; }
:where(.industry-options button, .demo-tabs button, .choice, .subtle, .calendar-record, .test-scenarios summary):not(:disabled):active { transform: translateY(1px); }
/* Calendar inputs share the existing form styling. */
.calendar-days { display: block; max-width: none; }
.calendar-days label { width: 100%; }
.schedule-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.schedule-row small { display: block; color: var(--muted); font-size: 13px; }
.schedule-row .choices { flex-wrap: wrap; }
/* Real-life examples are secondary to the form, with compact readable details. */
.client-case { margin: 16px 0 20px; padding: 16px; border-left: 3px solid var(--blue); border-radius: 8px; background: var(--blue-soft); }
.client-case h4 { margin: 9px 0; font-size: 17px; }
.client-case p { margin: 8px 0; font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; }
.client-case .result-title { font-size: 12px; }
.example-fill { width: 100%; margin-bottom: 20px; }
.service-intent { display: block; margin-top: 6px; font-weight: 400; font-size: 13px; line-height: 1.5; }
#journey-content > .choices { margin-top: 18px; }
/* Shared guidance across all service demos. */
.demo-guide { margin-bottom: 24px; padding: 22px; border: 1px solid #bed0e9; border-radius: 14px; background: var(--blue-soft); }
.demo-guide h4 { margin: 0 0 8px; color: var(--deep); font-size: 21px; }
.demo-guide p { max-width: 760px; margin: 0; color: var(--muted); font-size: 16px; }
.demo-roadmap { display: flex; flex-wrap: wrap; gap: 12px 22px; margin: 20px 0 0; padding: 0; list-style: none; }
.demo-roadmap li { display: flex; align-items: center; gap: 9px; min-width: 0; font-size: 14px; color: var(--deep); font-weight: 600; }
.demo-roadmap span { display: grid; place-items: center; flex: 0 0 28px; height: 28px; border-radius: 8px; background: var(--lime); }
.demo-grid > *, .journey-layout > * { min-width: 0; }
.demo-box > .primary, .demo-box form > .primary { width: 100%; min-height: 48px; white-space: normal; }
.demo-box .demo-check { display: flex; align-items: center; gap: 9px; padding: 13px; border: 1px solid #b8c8db; border-radius: 9px; background: white; cursor: pointer; }
.demo-box .demo-check input { flex: 0 0 18px; height: 18px; }
.demo-box .message, .demo-box .status, .demo-box .log { overflow-wrap: anywhere; }
.demo-table-scroll { max-width: 100%; overflow-x: auto; }
.demo-table-scroll caption { text-align: left; font-weight: 600; padding-block: 10px; }
.demo-receipt h4 { margin-top: 22px; }
.demo-box .booking-step > .choices { margin-bottom: 14px; }
.demo-box .choice { min-height: 46px; white-space: normal; }
.demo-box .primary:disabled { cursor: wait; opacity: .7; }
/* Client booking: clear steps, touch-sized time slots and a live summary. */
.booking-intro p { color: var(--muted); font-size: 15px; margin: 0 0 22px; }
.booking-step { min-width: 0; margin: 0 0 22px; padding: 18px 14px 8px; border: 1px solid var(--line); border-radius: 12px; background: #fbfdff; }
.booking-step legend { max-width: 100%; padding: 0 6px; font-size: 15px; font-weight: 700; color: var(--deep); }
.booking-step legend span { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 5px; border-radius: 8px; background: var(--lime); }
.booking-step label { margin-top: 0; }
.time-group + .time-group { margin-top: 16px; }
.time-group-label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 13px; }
.time-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 10px; }
.time-option { min-width: 0; min-height: 68px; padding: 10px 6px; text-align: center; }
.time-option b, .time-option small { display: block; }
.time-option b { font-size: 18px; }
.time-option small { margin-top: 4px; font-size: 12px; }
.time-option.selected { background: var(--deep); border-color: var(--deep); color: white; box-shadow: 0 3px 0 var(--lime); }
.time-option:disabled { cursor: not-allowed; color: #67717e; background: #edf0f4; border-color: #d6dce4; box-shadow: none; }
.booking-summary-status { padding: 12px 14px; border-radius: 9px; color: var(--deep); background: var(--yellow-soft); font-size: 15px; font-weight: 700; }
.booking-summary-list { margin: 16px 0; }
.booking-summary-list > div { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.booking-summary-list dt { color: var(--muted); }
.booking-summary-list dd { min-width: 0; margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.booking-actions { display: grid; gap: 12px; }
.booking-actions button, #journey-contact > button { width: 100%; min-height: 48px; white-space: normal; }
.client-reply { margin: 24px 0; }
.client-reply .message { border-left: 4px solid var(--blue); }
.demo-box input[aria-invalid="true"] { border: 2px solid #a62b32; }
/* Process and final contact. */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; border-top: 1px solid var(--line); padding-top: 34px; }
.steps article > span { color: var(--blue); font: 14px/1.5 Consolas, monospace; }
.steps h3 { font-size: 23px; line-height: 1.35; letter-spacing: -.025em; font-weight: 600; margin: 20px 0 14px; }
.steps p { margin: 0; font-size: 16px; color: var(--muted); }
.closing { display: flex; justify-content: space-between; align-items: center; gap: 48px; padding: 48px; margin-bottom: 72px; background: var(--yellow-soft); border: 1px solid #e7d39d; border-radius: 26px; }
.closing > div { min-width: 0; }
.closing .eyebrow { color: #7a591e; }
.closing h2 { font-size: clamp(32px, 3.5vw, 46px); line-height: 1.17; letter-spacing: -.04em; font-weight: 600; margin: 20px 0; }
.closing p { max-width: 640px; margin: 0; font-size: 16px; color: var(--muted); }
.closing .button { flex-shrink: 0; }
footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--muted); font-size: 14px; }
footer > a:last-child { text-decoration: underline; text-underline-offset: 5px; }
/* All order links share the yellow action treatment. */
a.kwork-order, a.button.primary.kwork-order, .demo-footer a.kwork-order { background: #ffdf20; color: var(--deep); border-color: #e3c20a; font-weight: 600; box-shadow: 0 2px 5px rgb(24 52 88 / 10%); }
a.kwork-order:hover, a.button.primary.kwork-order:hover, .demo-footer a.kwork-order:hover { background: #ffea59; color: var(--deep); border-color: #c9aa00; box-shadow: 0 2px 5px rgb(24 52 88 / 10%); }
a.kwork-order:active, a.button.primary.kwork-order:active, .demo-footer a.kwork-order:active { transform: translateY(1px); box-shadow: none; }
@media (max-width: 1150px) {
  .hero-grid { gap: 36px; }
  .hero-flow { padding: 22px; }
  .pill { display: none; }
  .service { padding: 28px; }
  .service-actions { grid-template-columns: 1fr; }
  .service--infrastructure .service-actions { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .pain-section { gap: 48px; }
  .workspace { grid-template-columns: 190px minmax(0, 1fr); }
  .demo-main { padding: 24px; }
  .demo-grid, .journey-layout { grid-template-columns: 1fr; }
  .calendar-days { max-width: 360px; }
  .demo-footer { flex-direction: column; gap: 16px; }
  .demo-footer a { width: 100%; }
}
@media (max-width: 900px) {
  .wrap, .header-inner, .profile-banner { width: calc(100% - 48px); }
  nav { gap: 18px; }
  nav > a[href="#services"] { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-grid > div:first-child { max-width: 670px; }
  h1 { font-size: clamp(48px, 8vw, 70px); }
  .hero-flow { max-width: 600px; width: 100%; padding: 28px; }
  .pill { display: inline; }
  .hero-bottom { margin-top: 38px; }
  .pain-section { padding-top: 64px; gap: 32px; }
  .services, .process { padding-block: 72px; }
  .section-head { gap: 28px; align-items: start; flex-direction: column; }
  .section-head > p { max-width: 640px; }
  .service { padding: 24px; }
  .service-grid { gap: 18px; }
  .service--infrastructure .service-story { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .service--infrastructure .service-fit { grid-column: 1 / -1; }
  .lab { padding-block: 64px; }
  .lab-info { max-width: 620px; }
  .workspace { display: block; }
  .demo-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-right: 0; border-bottom: 1px solid var(--line); padding: 14px; }
  .demo-tabs button { gap: 8px; padding: 11px; }
  .demo-main { padding: 28px; }
  .demo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { gap: 28px; }
  .closing { padding: 36px; align-items: start; flex-direction: column; gap: 28px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 88px; }
  .wrap, .header-inner, .profile-banner { width: calc(100% - 32px); }
  .header-inner { min-height: 72px; gap: 12px; }
  .brand { font-size: 18px; letter-spacing: -.7px; }
  .mark { width: 31px; height: 31px; margin-right: 8px; font-size: 22px; border-radius: 9px; }
  nav > a:not(.nav-cta) { display: none; }
  .nav-cta { max-width: 112px; padding: 8px 10px; font-size: 12px; line-height: 1.5; text-align: center; }
  .brand--odl { gap: 10px; letter-spacing: -.7px; }
  .brand--odl .odl-mark { flex-basis: 40px; width: 40px; height: 38px; border-radius: 11px 11px 11px 4px; box-shadow: 2px 2px 0 var(--lime); }
  .brand--odl .odl-mark > span { font-size: 16px; letter-spacing: -1.3px; }
  .brand--odl .odl-wordmark { font-size: 18px; }
  .header-inner { flex-wrap: wrap; padding-block: 12px; }
  header nav { width: 100%; }
  header .nav-cta { display: block; width: 100%; max-width: none; font-size: 14px; }
  .profile-banner { margin-top: 16px; border-radius: 9px; }
  .hero { padding-top: 34px; }
  .hero-grid { margin-top: 24px; gap: 32px; }
  h1 { font-size: clamp(39px, 10.6vw, 64px); line-height: 1.1; letter-spacing: -.045em; margin-bottom: 24px; }
  .lead { font-size: 18px; }
  .hero-copy { font-size: 16px; }
  .actions { gap: 16px 22px; margin-top: 26px; }
  .button, button.primary { font-size: 14px; padding: 13px 18px; }
  .hero-flow { padding: 20px; border-radius: 20px; }
  .flow-caption { font-size: 12px; margin-bottom: 20px; }
  .flow-card { padding: 17px 14px; gap: 10px; }
  .flow-card strong { font-size: 16px; }
  .pill { display: none; }
  .chips span { padding: 3px 7px; }
  .flow-foot { font-size: 12px; }
  .hero-bottom { margin-top: 32px; gap: 18px; padding-block: 22px; }
  .hero-bottom > span { max-width: 160px; font-size: 12px; letter-spacing: .3px; }
  .hero-bottom strong { font-size: 29px; gap: 12px; }
  .hero-bottom small { max-width: 130px; font-size: 13px; }
  .pain-section { display: block; padding-top: 56px; }
  .pain-intro p { max-width: none; }
  .pain-list { margin-top: 30px; }
  .pain-list article { gap: 16px; }
  .pain-list h3 { font-size: 19px; }
  .pain-list p { font-size: 16px; }
  .services, .process { padding-block: 60px; }
  .section-head { gap: 24px; margin-bottom: 28px; }
  .section-head h2 { font-size: 34px; }
  .section-head > p { font-size: 16px; }
  .service-grid { grid-template-columns: 1fr; gap: 20px; }
  .service { padding: 24px; border-radius: 18px; }
  .service h3 { font-size: 28px; }
  .service-heading { margin-bottom: 22px; }
  .service-label { max-width: 230px; font-size: 12px; }
  .service-story { margin-bottom: 24px; }
  .service-story > .service-pain { font-size: 17px; }
  .service-story > .service-fit { font-size: 14px; }
  .service--infrastructure .service-story { display: flex; gap: 16px; }
  .service--infrastructure ul { columns: auto; }
  .service--infrastructure .service-actions { grid-template-columns: 1fr; max-width: none; }
  .service-actions { gap: 10px; }
  .service-bottom button, .service-kwork { min-height: 48px; font-size: 14px; }
  .lab { padding-block: 56px; }
  .industry-picker { padding: 16px; border-radius: 12px; }
  .industry-picker strong { font-size: 19px; }
  .industry-options { gap: 8px; }
  .industry-options button { flex-basis: 145px; gap: 8px; padding: 11px 12px; font-size: 14px; }
  .industry-options button span { display: none; }
  .workspace { border-radius: 16px; }
  .demo-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 12px; }
  .demo-tabs button { min-height: 46px; font-size: 14px; padding: 10px; }
  .demo-tabs button span { display: none; }
  .demo-main { padding: 22px 16px; }
  .demo-heading { align-items: start; flex-wrap: wrap; gap: 14px; }
  .demo-heading h3 { font-size: 26px; }
  .demo-heading .eyebrow { font-size: 12px; }
  .demo-description { font-size: 16px; margin-top: 20px; }
  .demo-grid, .journey-layout { grid-template-columns: 1fr; gap: 16px; }
  .demo-box { padding: 18px 16px; }
  .journey-banner { padding: 16px; }
  .confirmation-card { padding: 16px; }
  .confirmation-card dl > div { gap: 14px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps article { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
  .steps article:last-child { border-bottom: 0; padding-bottom: 0; }
  .steps h3 { margin-top: 12px; }
  .closing { padding: 28px 24px; border-radius: 20px; margin-bottom: 48px; }
  .closing h2 { font-size: 32px; }
  .closing .button { width: 100%; }
  footer { gap: 20px; padding-block: 28px; }
  footer > span { order: 3; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
