:root {
  color-scheme: light;
  --paper: #f6efe4;
  --cream: #fffaf2;
  --ink: #342b27;
  --muted: #706159;
  --line: #d9ccbc;
  --accent: #af442a;
  --blue: #2e6be6;
  --yellow: #ffce28;
  --terminal: #19283b;
  --mono: 'IBM Plex Mono', monospace;
  --body: 'IBM Plex Sans', sans-serif;
  --head: 'Space Grotesk', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; scroll-padding-top: 20px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
::selection { background: var(--yellow); color: var(--ink); }
.container { width: min(calc(100% - 40px), 1200px); margin-inline: auto; }
.section { padding-block: 76px; }
.js-only { display: none; }
.js .js-only { display: inline-flex; }
.skip-link { position: absolute; z-index: 30; top: 12px; left: 20px; transform: translateY(-160%); background: var(--ink); color: white; padding: 12px 20px; }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.08; letter-spacing: -.045em; }
h1 { font-size: clamp(42px, 10.9vw, 64px); }
h2 { font-size: clamp(36px, 9vw, 54px); }
h3 { font-size: 24px; line-height: 1.2; letter-spacing: -.035em; }
.eyebrow { display: flex; align-items: center; color: var(--accent); font: 600 16px/1.4 var(--body); letter-spacing: -.01em; margin-bottom: 16px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 52px; padding: 13px 20px; border: 1px solid var(--accent); background: var(--accent); color: white; text-decoration: none; font-size: 15px; line-height: 1.5; font-weight: 500; border-radius: 4px; transition: background .16s, border-color .16s; }
.button:hover { background: #903a25; border-color: #903a25; }
.text-link { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; font-size: 15px; font-weight: 500; text-decoration: none; }
.text-link:hover { color: var(--accent); }
.navigation { min-height: 78px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; position: relative; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; font: 700 24px/1.1 var(--head); text-decoration: none; letter-spacing: -.035em; }
.brand img { image-rendering: pixelated; }
.brand-period { color: var(--accent); }
.nav-toggle { color: var(--ink); width: 44px; height: 44px; border: 0; background: none; flex-direction: column; justify-content: center; align-items: center; gap: 7px; margin-left: auto; }
.nav-toggle span { width: 21px; height: 2px; background: currentColor; transform-origin: center; transition: transform .28s cubic-bezier(.2,.75,.3,1), opacity .18s ease; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.nav-menu { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; width: 100%; padding-bottom: 16px; }
.nav-menu > a { font-size: 14px; font-weight: 500; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.nav-contact { gap: 10px; color: var(--accent); }
.lang-switch { gap: 0; }
.lang-switch button { border: 0; background: transparent; color: var(--muted); padding: 10px 6px; min-height: 44px; min-width: 44px; font: 500 11px var(--mono); }
.lang-switch button.active { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.js .nav-menu { display: grid; position: absolute; z-index: 10; top: 100%; left: -20px; right: -20px; width: auto; padding: 18px 24px; background: var(--cream); box-shadow: 0 12px 18px #342b2710; border-bottom: 1px solid var(--line); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-10px) scaleY(.97); transform-origin: top; transition: opacity .22s ease, transform .3s cubic-bezier(.2,.75,.3,1), visibility 0s linear .3s; }
.js .nav-menu > a { opacity: 0; transform: translateY(-5px); transition: opacity .2s ease, transform .24s cubic-bezier(.2,.75,.3,1); }
.js .nav-menu.open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
.js .nav-menu.open > a { opacity: 1; transform: none; }
.js .nav-menu.open > a:nth-child(1) { transition-delay: .05s; }
.js .nav-menu.open > a:nth-child(2) { transition-delay: .09s; }
.js .nav-menu.open > a:nth-child(3) { transition-delay: .13s; }
.js .nav-menu.open > a:nth-child(4) { transition-delay: .17s; }
.js .nav-menu.open > a:nth-child(5) { transition-delay: .21s; }

.hero { padding-top: 46px; }
.hero-grid { display: grid; gap: 88px; }
.hero-copy h1 { max-width: 640px; }
.keep-together { white-space: nowrap; }
.hero-copy h1 em { color: var(--blue); font-style: normal; background: linear-gradient(transparent 66%, var(--yellow) 66%, var(--yellow) 94%, transparent 94%); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero-lead { max-width: 550px; margin-top: 28px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 30px; }
.hero-terminal { margin: 0; position: relative; min-width: 0; }
.hero-robot-wrap { position: absolute; width: 80px; height: 80px; top: -43px; right: 28px; z-index: 1; animation: hero-robot-peek 3.8s steps(4, end) infinite; }
.terminal-robot { display: block; width: 100%; height: 100%; image-rendering: pixelated; }
.terminal-antenna-light { position: absolute; top: 0; left: 43.75%; width: 12.5%; height: 6.25%; background: #e43f32; image-rendering: pixelated; animation: hero-antenna-light .7s steps(1, end) infinite; }
.hero-robot-wrap:has(.terminal-robot.companion-away) { animation-play-state: paused; }
.terminal-robot.companion-away + .terminal-antenna-light { visibility: hidden; }
@keyframes hero-robot-peek { 0%, 100% { transform: translateY(7px); } 30%, 55% { transform: translateY(-11px); } 76% { transform: translateY(2px); } }
@keyframes hero-antenna-light { 0%, 49% { background: #e43f32; } 50%, 100% { background: var(--yellow); } }
.terminal { position: relative; z-index: 2; border-radius: 9px; color: #dce3ed; background: var(--terminal); box-shadow: 7px 7px 0 #342b2720; overflow: hidden; }
.terminal-bar { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border-bottom: 1px solid #3b4857; font: 11px/1.4 var(--mono); color: #b1bdcc; }
.terminal-dots { display: flex; gap: 5px; }
.terminal-dots i { width: 7px; height: 7px; border-radius: 50%; background: #e67c61; }
.terminal-dots i:nth-child(2) { background: var(--yellow); }
.terminal-dots i:nth-child(3) { background: #69bfa5; }
.showcase-toggle { margin-left: auto; min-width: 72px; min-height: 34px; padding: 6px 9px; border: 1px solid #536477; border-radius: 3px; background: transparent; color: #dce3ed; font: 500 10px/1.2 var(--mono); }
@media (hover: hover) and (pointer: fine) {
  .showcase-toggle:hover { border-color: #80debb; color: #80debb; }
}
.showcase-toggle[aria-pressed="true"] { border-color: var(--yellow); color: var(--yellow); }
.showcase-toggle:focus-visible { outline-color: var(--yellow); outline-offset: 2px; }

/* The hero terminal shows how the studio works, independently of the products below. */
.workflow-screen { height: 540px; min-height: 0; padding: 24px 22px 28px; overflow: hidden; }
.workflow-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: start; min-height: 64px; }
.workflow-head p { color: #f6efe4; font: 600 26px/1.18 var(--head); letter-spacing: -.035em; }
.workflow-head span { margin-top: 6px; color: #aabcce; font: 10px/1.5 var(--mono); white-space: nowrap; }
.workflow-command { display: flex; align-items: baseline; gap: 10px; min-height: 74px; margin-top: 10px; padding: 14px 0 16px; border-bottom: 1px solid #3b4857; color: #e4eaf2; font: 12px/1.65 var(--mono); }
.workflow-command > span { color: #80debb; font-size: 20px; line-height: 1; }
.workflow-command code { color: inherit; font: inherit; overflow-wrap: anywhere; }
.workflow-steps { list-style: none; margin: 0; padding: 0; }
.workflow-steps li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 9px; align-items: center; min-height: 62px; padding-block: 9px; border-bottom: 1px solid #314255; opacity: .18; transform: translateY(5px); transition: opacity .24s ease, transform .24s ease; }
.workflow-steps li.is-visible { opacity: 1; transform: none; }
.workflow-steps li > span { color: #80debb; font: 500 14px/1 var(--mono); }
.workflow-steps li p { color: #c9d4df; font: 14px/1.42 var(--body); }
.workflow-result { min-height: 126px; margin-top: 18px; padding: 2px 0 0 14px; border-left: 2px solid #567568; }
.workflow-result > span { color: #b3c5d5; text-transform: uppercase; letter-spacing: .06em; font: 10px/1.6 var(--mono); }
.workflow-result p { margin-top: 8px; color: #b3c5d5; font: 500 21px/1.3 var(--head); letter-spacing: -.025em; }
.workflow-terminal.is-result-ready .workflow-result { border-left-color: #80debb; }
.workflow-terminal.is-result-ready .workflow-result p { color: #f4f6f8; }
.workflow-terminal.is-typing-command .workflow-command code::after,
.workflow-steps li.is-typing-row p::after,
.workflow-terminal.is-typing-result .workflow-result p::after { content: ''; display: inline-block; width: 6px; height: 1em; margin-left: 3px; vertical-align: -.1em; background: var(--yellow); animation: terminal-cursor .7s steps(1) infinite; }
.workflow-track { height: 3px; background: #314255; }
.workflow-track span { display: block; height: 100%; background: #80debb; transform: scaleX(0); transform-origin: left; }

.section-head h2 { max-width: 750px; }
.section-intro { max-width: 550px; margin: 24px 0 0 auto; color: var(--muted); }
.service-list { margin-top: 44px; }
.service-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; border-top: 1px solid var(--ink); padding-block: 28px; }
.service-row:last-child { border-bottom: 1px solid var(--ink); }
.row-number { color: var(--accent); font: 11px/2.4 var(--mono); }
.service-row h3 { max-width: 360px; }
.service-row p { grid-column: 1; color: var(--muted); font-size: 16px; max-width: 62ch; }
.experience { background: var(--yellow); color: #29261e; }
.experience .eyebrow { color: #51491e; }
.experience-grid { display: grid; gap: 42px; }
.experience-copy h2 { max-width: 520px; }
.experience-copy > p:last-child { max-width: 490px; margin-top: 26px; font-size: 17px; color: #4c421c; }
.experience-list article { display: flex; gap: 24px; padding: 23px 0; border-top: 1px solid #66541c99; }
.experience-list article:last-child { border-bottom: 1px solid #66541c99; }
.experience-list article > span { font: 10px/2 var(--mono); color: #564817; }
.experience-list h3 { font-size: 18px; letter-spacing: -.02em; }
.experience-list p { margin-top: 8px; font-size: 15px; color: #4c421c; }

.examples-head { margin-bottom: 36px; }
.examples-head h2 { max-width: 640px; }
.process,
.contact {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.services { background: var(--paper); }
.process {
  background: #efe5d7;
}
.process::before,
.contact::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -22px;
  filter: blur(6px) saturate(.75) sepia(.06);
  transform: scale(1.035);
}
.process::before {
  background:
    linear-gradient(rgba(239, 229, 215, .62), rgba(239, 229, 215, .74)),
    url("/assets/process-handshake-bg-v1.jpg") center 56% / cover no-repeat;
}
.process-heading { margin-bottom: 40px; }
.process-heading h2 { max-width: 760px; }
.process-heading h2 em { color: var(--blue); font-style: normal; white-space: nowrap; background: linear-gradient(transparent 66%, var(--yellow) 66%, var(--yellow) 94%, transparent 94%); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.process-list { display: grid; gap: 28px; list-style: none; padding: 0; margin: 0; }
.process-list li { border-top: 1px solid var(--ink); padding-top: 18px; }
.process-number { display: block; color: var(--accent); font: 12px var(--mono); margin-bottom: 32px; }
.process-list h3 { max-width: 250px; }
.process-list p { color: var(--muted); font-size: 16px; margin-top: 16px; max-width: 400px; }

.why { background: #fbf7ef; }
.contact::before {
  background:
    linear-gradient(rgba(255, 250, 242, .65), rgba(255, 250, 242, .77)),
    url("/assets/why-direct-collaboration-bg-v1.jpg") center 52% / cover no-repeat;
}
.why-heading { max-width: 760px; }
.why-heading > p:last-child { max-width: 610px; margin-top: 22px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.why-grid { display: grid; gap: 14px; margin-top: 42px; }
.why-item { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 18px; align-items: start; min-height: 190px; padding: 26px 24px; border: 1px solid var(--line); background: #fffdf8; }
.why-icon { width: 36px; height: 36px; image-rendering: pixelated; }
.why-item h3 { font-size: 22px; }
.why-item p { margin-top: 15px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.why-tech { margin-top: 46px; padding-top: 28px; border-top: 1px solid var(--line); }
.why-tech > p { color: var(--muted); font: 500 11px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; text-align: center; }
.why-tech ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin: 20px 0 0; padding: 0; list-style: none; }
.why-tech li { padding: 9px 12px; border: 1px solid var(--line); background: var(--cream); color: #4c5664; font: 12px/1.2 var(--mono); }

.contact { background: var(--cream); }
.contact-grid { display: grid; gap: 40px; }
.contact-copy h2 { max-width: 440px; }
.contact-copy > p:not(.eyebrow) { max-width: 400px; color: var(--muted); margin-top: 24px; }
.contact-email { display: inline-block; color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 6px; margin-top: 28px; font-size: 21px; }
.contact-copy .contact-location { font-size: 14px; line-height: 1.7; }
.contact-copy { position: relative; }
.footer-brand-wrap { position: relative; display: inline-flex; }
.contact-robot { position: relative; z-index: 6; display: block; image-rendering: pixelated; transform: translate(0, 0) rotate(0); transform-origin: 50% 100%; }
.footer-brand-wrap .contact-robot-bubble { position: absolute; z-index: 4; bottom: calc(100% + 18px); left: 0; width: min(360px, calc(100vw - 64px)); padding: 17px 19px; border: 3px solid #f6efe4; border-radius: 0; background: var(--terminal); color: #fff; box-shadow: 0 0 0 3px var(--terminal), 7px 7px 0 #342b2730; font: 600 14.4px/1.55 var(--mono); letter-spacing: .015em; opacity: 0; pointer-events: none; transform: translateY(8px) scale(.96); transform-origin: left bottom; transition: opacity .16s steps(2, end), transform .2s steps(3, end); }
.contact-robot-bubble::before { content: ""; position: absolute; left: 18px; bottom: -15px; width: 12px; height: 12px; border-right: 3px solid #f6efe4; border-bottom: 3px solid #f6efe4; background: var(--terminal); box-shadow: 3px 3px 0 var(--terminal); }
.contact.has-sent-message .contact-robot-bubble { opacity: 1; transform: none; }
.contact-form { min-width: 0; }
.form-row { display: grid; gap: 0 24px; }
.form-field { margin-bottom: 24px; }
.form-field label { display: block; font-size: 14px; line-height: 1.5; margin-bottom: 10px; font-weight: 500; }
.form-field small { color: var(--muted); font-size: 11px; font-weight: 400; }
.form-field input, .form-field select, .form-field textarea { display: block; width: 100%; min-height: 50px; padding: 12px; border: 1px solid #c4b8a9; border-radius: 3px; background: #fffdf8; color: var(--ink); font-size: 16px; line-height: 1.5; }
.form-field input, .form-field select { height: 50px; box-sizing: border-box; }
.form-field select { padding-right: 25px; font-family: var(--body); font-size: 16px; line-height: 24px; }
.form-field textarea { min-height: 142px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-field [aria-invalid="true"] { border-color: #aa3021; }
.field-help { font-size: 12px; line-height: 1.6; color: var(--muted); margin-top: 10px; }
.hp-field { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.form-footer { display: grid; gap: 16px; justify-items: start; }
.form-status { font-size: 14px; max-width: 480px; }
.form-status:not(.err) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.form-status.err { color: #a13424; }
.form-status.ok { color: #226049; }
.site-footer { border-top: 1px solid var(--ink); overflow: visible; }
.footer-top { padding-block: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; }
.footer-top p { color: var(--muted); font-size: 12px; }

/* Product selector and product-specific demonstrations. */
.products-layout { display: grid; gap: 24px; align-items: start; }
.product-picker { min-width: 0; margin: 0; padding: 0; border: 0; }
.product-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.product-list li { position: relative; min-width: 0; border-top: 1px solid var(--line); }
.product-list li:last-child { border-bottom: 1px solid var(--line); }
.product-radio { position: absolute; width: 1px; height: 1px; margin: -1px; opacity: 0; pointer-events: none; }
.product-list label { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; min-height: 72px; padding: 16px 14px; cursor: pointer; border-left: 3px solid transparent; border-radius: 2px; transition: background .18s, border-color .18s; }
.product-list label:hover { background: #fffaf280; }
.product-radio:focus-visible + label { outline: 3px solid var(--blue); outline-offset: 3px; }
.product-index { color: var(--muted); font: 10px/2.2 var(--mono); }
.product-label-copy { display: grid; gap: 4px; min-width: 0; }
.product-label-copy > strong { font: 600 22px/1.25 var(--head); letter-spacing: -.035em; }
.product-label-copy > span:not(.product-static-result) { color: var(--muted); font-size: 14px; line-height: 1.45; }
.product-list .is-current label { border-left-color: var(--blue); background: linear-gradient(90deg, #ffce2838, #ffce280e 76%, transparent); }
.product-list .is-current .product-index, .product-list .is-current .product-label-copy > strong { color: var(--blue); }
.product-static-result { display: grid; gap: 9px; margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.product-static-result b { color: var(--ink); font: 600 17px/1.4 var(--head); }
.js .product-static-result { display: none; }
.product-mobile-picker { min-width: 0; padding: 18px; border: 1px solid var(--line); background: #fffaf275; }
.js .product-mobile-picker { display: grid; gap: 8px; }
.product-mobile-picker label { color: var(--accent); font: 500 10px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.product-mobile-picker select { width: 100%; min-height: 52px; padding: 10px 42px 10px 12px; border: 1px solid #b9ab99; border-radius: 3px; background: var(--cream); color: var(--ink); font: 600 18px/1.3 var(--head); }
.product-mobile-picker select:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.product-mobile-picker p { color: var(--muted); font-size: 14px; line-height: 1.5; }
.js .product-picker { display: none; }
.product-showcase { display: none; margin: 0; min-width: 0; }
.js .product-showcase { display: block; }
.showcase-note { margin-top: 16px; color: var(--muted); font: 11px/1.6 var(--mono); }
.product-screen { padding: 22px 20px 18px; }
.product-screen-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px 10px; }
.product-screen-head > p:first-child { color: #f6efe4; font: 600 25px/1.2 var(--head); letter-spacing: -.04em; overflow-wrap: anywhere; }
.product-count { align-self: center; color: #aabcce; font: 10px/1.5 var(--mono); white-space: nowrap; }
.product-screen-purpose { grid-column: 1 / -1; color: #b3c5d5; font-size: 14px; line-height: 1.5; min-height: 116px; }
.product-command { margin: 22px 0 14px; display: flex; gap: 10px; align-items: baseline; min-height: 66px; font: 12px/1.7 var(--mono); }
.product-command > span { color: #80debb; font-size: 20px; line-height: 1; }
.product-command code { font: inherit; overflow-wrap: anywhere; color: #e4eaf2; }
.is-typing-command .product-command code::after,
.is-typing-result .product-result-title::after { content: ''; display: inline-block; width: 6px; height: 1em; vertical-align: -.1em; margin-left: 3px; background: var(--yellow); animation: terminal-cursor .7s steps(1) infinite; }
@keyframes terminal-cursor { 50% { opacity: 0; } }
.product-data { margin: 0; }
.product-data > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 10px; align-items: baseline; min-height: 42px; padding-block: 10px; border-top: 1px solid #3b4857; }
.product-data dt { font: 11px/1.5 var(--mono); color: #aabcce; }
.product-data dd { margin: 0; min-height: 20px; color: #e1eaf3; font: 500 12px/1.5 var(--mono); text-align: right; overflow-wrap: anywhere; }
.product-data .is-complete dd { color: #92dfc1; }
.product-visual { position: relative; height: 286px; min-width: 0; padding: 16px; border-block: 1px solid #3b4857; background: #142235; overflow: hidden; }
.product-visual [data-viz-item] { opacity: 0; transform: translateY(7px); transition: opacity .28s ease, transform .28s ease; transition-delay: calc(var(--order, 0) * 65ms); }
.product-terminal[data-phase="evidence"] .product-visual [data-viz-item],
.product-terminal[data-phase="answer"] .product-visual [data-viz-item] { opacity: 1; transform: none; }
.product-result { margin-top: 24px; padding-left: 14px; border-left: 2px solid #567568; }
.terminal-step-label { color: #b3c5d5; text-transform: uppercase; letter-spacing: .06em; font: 10px/1.6 var(--mono); }
.product-result-title { margin-top: 8px; min-height: 88px; font: 500 22px/1.3 var(--head); letter-spacing: -.025em; color: #f4f6f8; }
.product-result-detail { margin-top: 12px; min-height: 136px; font-size: 14px; line-height: 1.6; color: #b3c5d5; }
.js .product-terminal:not(.is-result-ready) .product-result-detail { visibility: hidden; }
.js .product-terminal:not(.is-result-ready) .product-result-title { color: #b3c5d5; }
.product-terminal.is-result-ready .product-result { border-left-color: #80debb; }
.product-source { margin-top: 18px; padding-top: 14px; border-top: 1px solid #3b4857; min-height: 50px; color: #aabcce; font: 10px/1.7 var(--mono); }
.product-time-track { height: 2px; background: #314255; }
.product-time-track span { display: block; height: 100%; background: #80debb; transform: scaleX(0); transform-origin: left; }

/* Kodalium360 */
.viz-timeline { position: relative; display: grid; gap: 8px; }
.viz-timeline::before { display: none; }
.viz-event { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; align-items: center; min-height: 48px; font: 10px/1.35 var(--mono); }
.viz-event .viz-date { color: #94aabe; }
.viz-event i { display: none; position: relative; z-index: 1; width: 9px; height: 9px; border: 2px solid #80debb; border-radius: 50%; background: #142235; }
.viz-event > span:nth-of-type(2) { color: #b3c5d5; }
.viz-event strong { grid-column: auto; color: #f0f4f8; font-size: 11px; font-weight: 500; }
.viz-action { display: flex; align-items: center; gap: 10px; margin-top: 15px; padding: 10px 12px; background: #2e6be622; border-left: 2px solid #79a2f5; color: #e8eefb; font: 11px/1.4 var(--mono); }
.viz-action span { color: #8ab0fb; }

/* KodaliumDE */
.viz-rule-stack { display: grid; }
.viz-rule { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 4px 8px; align-items: center; padding: 8px 0; border-top: 1px solid #33475b; font: 10px/1.35 var(--mono); }
.viz-rule:last-child { border-bottom: 1px solid #33475b; }
.viz-check { color: #80debb; font-size: 15px; }
.viz-rule > span:nth-child(2) { color: #b3c5d5; }
.viz-rule strong { grid-column: 2; color: #e8eef4; font-weight: 500; }
.viz-calculation { margin-top: 13px; color: #91a8bc; font: 10px/1.5 var(--mono); }

/* KodaliumScoring */
.viz-scores { position: relative; display: grid; gap: 13px; }
.viz-score { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; font: 10px/1.35 var(--mono); }
.viz-score span { color: #b3c5d5; }
.viz-score strong { color: #f0f4f8; font-weight: 500; }
.viz-score i { grid-column: 1 / -1; display: block; height: 8px; background: #2a3b50; }
.viz-score i b { display: block; width: var(--score); height: 100%; background: #80debb; }
.viz-score.is-challenger i b { background: var(--yellow); }
.viz-delta { justify-self: end; padding: 4px 8px; background: #ffce2820; color: #ffdc6d; font: 10px/1.3 var(--mono); }
.viz-factors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 14px; }
.viz-factors span { padding: 8px; border: 1px solid #43566a; color: #bdc9d5; font: 9px/1.35 var(--mono); }
.viz-factors .is-positive { border-color: #487765; color: #92dfc1; }

/* KodaliumSignal */
.viz-signal-list { display: grid; gap: 7px; }
.viz-signal { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; align-items: center; min-height: 46px; padding: 8px 10px; border-left: 3px solid #5d7184; background: #1b2e43; font: 9px/1.35 var(--mono); }
.viz-signal span { color: #cad4de; }
.viz-signal b { color: #9fb1c2; font-weight: 400; }
.viz-signal strong { grid-column: 2; grid-row: 1 / 3; color: #cbd6e1; font-size: 9px; }
.viz-signal.is-clear { border-left-color: #80debb; }
.viz-signal.is-clear strong { color: #80debb; }
.viz-signal.is-amber { border-left-color: var(--yellow); }
.viz-signal.is-amber strong { color: #ffdc6d; }
.viz-signal.is-red { border-left-color: #ed7257; background: #532d32; }
.viz-signal.is-red strong { color: #ff9a84; }

/* KodaliumCollateral */
.viz-range-head { display: flex; justify-content: space-between; color: #849bad; font: 9px/1.3 var(--mono); }
.viz-range { position: relative; height: 96px; margin-top: 17px; border-top: 2px solid #566b7e; }
.viz-safe-band { position: absolute; top: -5px; left: var(--start); width: var(--width); height: 8px; background: #80debb55; }
.viz-dot { position: absolute; left: var(--x); top: -6px; width: 10px; height: 10px; border: 2px solid #142235; border-radius: 50%; background: #80debb; transform: translateX(-50%); }
.viz-dot.is-agency { background: var(--yellow); }
.viz-dot.is-listing { background: #72a0f7; }
.viz-marker { position: absolute; left: var(--x); top: 20px; transform: translateX(-50%); color: #a9bac9; font: 8px/1.3 var(--mono); white-space: nowrap; }
.viz-marker::before { content: ''; position: absolute; left: 50%; bottom: calc(100% + 3px); width: 1px; height: 20px; background: currentColor; }
.viz-marker.is-appraisal { transform: translateX(-100%); color: #ff927b; }
.viz-marker b { font-weight: 500; }
.viz-legend { display: flex; flex-wrap: wrap; gap: 8px 14px; color: #9cafc0; font: 8px/1.4 var(--mono); }
.viz-legend span::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #80debb; }
.viz-legend .is-agency::before { background: var(--yellow); }
.viz-legend .is-listing::before { background: #72a0f7; }
.viz-collateral-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 15px; }
.viz-collateral-metrics span { min-width: 0; padding: 8px; background: #1c3046; }
.viz-collateral-metrics small, .viz-collateral-metrics b { display: block; overflow-wrap: anywhere; }
.viz-collateral-metrics small { color: #91a7ba; font: 8px/1.3 var(--mono); }
.viz-collateral-metrics b { margin-top: 4px; color: #eef3f7; font: 500 9px/1.35 var(--mono); }

/* KodaliumAnalysis */
.viz-chart-head { display: flex; justify-content: space-between; color: #92a6b8; font: 8px/1.4 var(--mono); }
.viz-chart-head > div { display: flex; align-items: center; gap: 5px; }
.viz-chart-head i { width: 8px; height: 8px; background: #80debb; }
.viz-chart-head i.is-plan { width: 10px; height: 2px; margin-left: 6px; background: var(--yellow); }
.viz-analysis-chart { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; gap: 8px; height: 152px; margin-top: 10px; padding: 0 8px 24px; border-bottom: 1px solid #4a5d70; }
.viz-month { position: relative; height: 100%; }
.viz-month > span { position: absolute; left: 50%; bottom: calc(max(var(--actual), var(--plan)) + 5px); transform: translateX(-50%); color: #b8c7d4; font: 8px/1 var(--mono); }
.viz-month .viz-bar { position: absolute; left: 22%; right: 22%; bottom: 0; height: var(--actual); background: #80debb; }
.viz-month .viz-plan { position: absolute; left: 8%; right: 8%; bottom: var(--plan); height: 2px; background: var(--yellow); }
.viz-month small { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); color: #8ea3b6; font: 8px/1 var(--mono); }
.viz-month.is-may .viz-bar { background: #e47359; }
.viz-analysis-drivers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 13px; }
.viz-analysis-drivers p { padding: 7px 8px; border-left: 2px solid #e47359; background: #1b2d42; }
.viz-analysis-drivers span, .viz-analysis-drivers strong { display: block; }
.viz-analysis-drivers span { color: #a8b9c8; font: 8px/1.3 var(--mono); }
.viz-analysis-drivers strong { margin-top: 3px; color: #f0f4f8; font: 500 9px/1.35 var(--mono); }

/* KodaliumWiki */
.viz-documents { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.viz-documents > span { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 7px; align-items: center; padding: 9px; border: 1px solid #43576b; }
.viz-documents i { color: #80debb; font: normal 9px/1.4 var(--mono); }
.viz-documents b { color: #dbe4ec; font: 500 9px/1.35 var(--mono); }
.viz-wiki-steps { position: relative; display: grid; gap: 5px; margin-top: 13px; }
.viz-wiki-steps::before { display: none; }
.viz-wiki-steps p { position: relative; display: grid; grid-template-columns: 70px 9px minmax(0, 1fr); gap: 8px; align-items: center; min-height: 47px; }
.viz-wiki-steps p > span { color: #8da4b7; font: 8px/1.3 var(--mono); }
.viz-wiki-steps p > i { position: relative; z-index: 1; width: 9px; height: 9px; border: 2px solid #80debb; border-radius: 50%; background: #142235; }
.viz-wiki-steps strong { color: #e4ebf1; font: 500 10px/1.3 var(--mono); }
.viz-wiki-steps small { grid-column: 3; color: #8198ab; font: 8px/1.3 var(--mono); }

/* KodaliumSolidaris */
.viz-solidaris-sum { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; align-items: center; }
.viz-solidaris-sum > span { padding: 10px; border: 1px solid #43576a; }
.viz-solidaris-sum small, .viz-solidaris-sum b { display: block; }
.viz-solidaris-sum small { color: #93a7b9; font: 8px/1.3 var(--mono); }
.viz-solidaris-sum b { margin-top: 5px; color: #edf2f6; font: 500 10px/1.35 var(--mono); }
.viz-solidaris-sum > i { color: #80debb; font: normal 18px/1 var(--mono); }
.viz-solidaris-basis { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3px 10px; margin-top: 12px; color: #9eb0c0; font: 9px/1.4 var(--mono); }
.viz-solidaris-basis strong { color: #edf2f6; font-weight: 500; text-align: right; }
.viz-solidaris-basis small { grid-column: 1 / -1; color: #8097a9; font: inherit; }
.viz-installments { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; margin-top: 24px; }
.viz-installments i { height: 36px; background: linear-gradient(to top, #80debb 78%, #293d50 78%); }
.viz-solidaris-foot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; margin-top: 18px; color: #9fb1c1; font: 8px/1.35 var(--mono); }
.viz-solidaris-foot strong { color: #f0f4f8; font-weight: 500; }
.viz-solidaris-foot b { color: #80debb; font-weight: 500; text-align: right; }

@media (min-width: 600px) {
  .workflow-screen { height: 522px; min-height: 0; padding: 30px 32px 32px; overflow: hidden; }
  .workflow-head p { font-size: 31px; }
  .workflow-command { min-height: 76px; font-size: 13px; }
  .workflow-steps li p { font-size: 15px; }
  .workflow-result p { font-size: 24px; }
  .product-screen { padding: 30px 32px 22px; }
  .product-screen-head > p:first-child { font-size: 32px; }
  .product-screen-purpose { min-height: 112px; font-size: 16px; }
  .product-command { min-height: 62px; font-size: 13px; }
  .product-data > div { min-height: 44px; }
  .product-data dt { font-size: 12px; }
  .product-data dd { font-size: 14px; }
  .product-visual { height: 286px; padding: 20px 22px; }
  .product-result-title { font-size: 28px; min-height: 78px; }
  .product-result-detail { min-height: 105px; font-size: 16px; }
  .viz-timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-top: 10px; }
  .viz-timeline::before { display: none; }
  .viz-event { display: grid; grid-template-columns: 1fr; justify-items: start; gap: 7px; }
  .viz-event .viz-date { order: 0; }
  .viz-event i { order: 1; }
  .viz-event > span:nth-of-type(2) { order: 2; }
  .viz-event strong { grid-column: auto; order: 3; font-size: 11px; }
  .viz-action { margin-top: 24px; }
  .viz-rule { grid-template-columns: 22px minmax(0, 1fr) auto; min-height: 43px; }
  .viz-rule strong { grid-column: 3; text-align: right; }
  .viz-rule, .viz-calculation { font-size: 11px; }
  .viz-factors span, .viz-signal, .viz-score { font-size: 10px; }
  .viz-collateral-metrics small, .viz-chart-head, .viz-documents i, .viz-wiki-steps p > span, .viz-wiki-steps small, .viz-solidaris-sum small, .viz-solidaris-foot { font-size: 9px; }
  .viz-collateral-metrics b, .viz-analysis-drivers strong, .viz-documents b, .viz-wiki-steps strong, .viz-solidaris-sum b { font-size: 10px; }
}
@media (min-width: 1000px) and (max-width: 1199px) {
  .workflow-screen { height: 576px; }
  .workflow-head { min-height: 78px; }
  .workflow-steps li { min-height: 66px; }
  .workflow-result { min-height: 134px; }
}
@media (min-width: 1000px) {
  .products-layout { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 62px; }
  .js .product-picker { display: block; }
  .js .product-mobile-picker { display: none; }
  .product-list { gap: 0; }
  .product-list label { min-height: 85px; }
  .product-label-copy > strong { font-size: 22px; }
  .product-label-copy > span:not(.product-static-result) { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-robot-wrap, .terminal-antenna-light { animation: none; }
  .product-time-track, .workflow-track { display: none; }
  .workflow-steps li { opacity: 1; transform: none; }
  .product-visual [data-viz-item] { opacity: 1; transform: none; }
}

@media (min-width: 600px) {
  .container { width: min(calc(100% - 64px), 1200px); }
  .section { padding-block: 92px; }
  .hero-copy { max-width: 700px; }
  .hero-terminal { max-width: 620px; width: 100%; }
  .service-row { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; padding-block: 34px; }
  .service-row p { grid-column: auto; }
  .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process-list h3 { font-size: 22px; }
  .process-list p { font-size: 15px; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .why-item { padding: 30px 28px; }
}
@media (min-width: 1000px) {
  body { font-size: 18px; }
  .navigation { min-height: 94px; flex-wrap: nowrap; gap: 38px; }
  .brand { font-size: 29px; gap: 12px; }
  .brand img { width: 36px; height: 36px; }
  .nav-toggle, .js .nav-toggle { display: none; }
  .nav-menu, .js .nav-menu, .js .nav-menu.open { display: flex; position: static; width: auto; padding: 0; background: transparent; box-shadow: none; border: 0; gap: 30px; margin-left: auto; opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: none; }
  .js .nav-menu > a { opacity: 1; transform: none; transition: none; }
  .nav-menu > a { font-size: 14px; }
  .hero { padding-top: 78px; }
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center; }
  h1 { font-size: clamp(64px, 5.85vw, 84px); line-height: 1.06; }
  h2 { font-size: clamp(48px, 4.45vw, 64px); }
  h3 { font-size: 28px; }
  .hero-copy .eyebrow { margin-bottom: 25px; }
  .hero-lead { font-size: 18px; line-height: 1.65; margin-top: 28px; }
  .hero-actions { margin-top: 32px; gap: 24px; }
  .hero-terminal { padding-top: 20px; }
  .hero-robot-wrap { top: -43px; width: 88px; height: 88px; right: 34px; }
  .terminal-bar { padding-inline: 22px; font-size: 12px; }
  .section { padding-block: 114px; }
  .eyebrow { font-size: 17px; }
  .section-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 0 56px; }
  .section-head .eyebrow { grid-column: 1 / -1; }
  .section-head h2 { grid-column: 1 / -1; max-width: 790px; }
  .section-intro { grid-column: 2; margin-top: 32px; text-align: right; }
  .service-list { margin-top: 60px; }
  .service-row { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; padding-block: 38px; }
  .service-row p { font-size: 17px; }
  .service-row p { max-width: none; text-align: right; }
  .experience-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 90px; align-items: start; }
  .experience-list { padding-top: 8px; }
  .experience-list article { padding-block: 26px; }
  .experience-list h3 { font-size: 20px; }
  .experience-list p { font-size: 16px; }
  .examples-head { margin-bottom: 52px; }
  .process-heading { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 50px; align-items: start; margin-bottom: 64px; }
  .process-heading h2 { justify-self: end; text-align: right; }
  .process-list { gap: 48px; }
  .process-number { margin-bottom: 44px; }
  .process-list h3 { font-size: 27px; }
  .process-list p { font-size: 16px; }
  .why-grid { margin-top: 52px; }
  .why-item { min-height: 214px; grid-template-columns: 48px minmax(0, 1fr); gap: 24px; padding: 34px 32px; }
  .why-icon { width: 40px; height: 40px; }
  .why-item h3 { font-size: 24px; }
  .why-item p { font-size: 16px; }
  .why-tech { margin-top: 58px; padding-top: 34px; }
  .contact-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 90px; }
  .contact-form { padding-top: 4px; }
  .contact-copy h2 { font-size: 64px; }
  .footer-brand-wrap .contact-robot { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Section snapping and viewport-aware scale. Tall sections remain freely scrollable. */
.site-header { scroll-snap-align: start; }
main > section:not(.hero) { scroll-snap-align: start; scroll-snap-stop: always; }
.hero { min-height: calc(100svh - 78px); display: grid; align-items: center; padding-bottom: clamp(58px, 8svh, 104px); }
.section { min-height: 100svh; display: flex; align-items: center; }
.services { margin-top: clamp(64px, 10svh, 140px); }

@media (max-width: 767px) {
  html { scroll-snap-type: y proximity; }
  .process::before,
  .contact::before { inset: 0; filter: blur(5px) saturate(.7) sepia(.06); transform: none; }
  .process::before {
    background:
      linear-gradient(rgba(239, 229, 215, .68), rgba(239, 229, 215, .80)),
      url("/assets/process-handshake-bg-v1.jpg") 62% center / cover no-repeat;
  }
  .contact::before {
    background:
      linear-gradient(rgba(255, 250, 242, .71), rgba(255, 250, 242, .83)),
      url("/assets/why-direct-collaboration-bg-v1.jpg") 56% center / cover no-repeat;
  }
}

@media (min-width: 768px) {
  html { scroll-snap-type: y mandatory; }
}

/* Compact laptop screens keep a full hero and terminal within a shorter viewport. */
@media (min-width: 1000px) and (max-height: 820px) {
  .navigation { min-height: 80px; }
  .hero { min-height: calc(100svh - 80px); padding-top: 44px; padding-bottom: 52px; }
  .hero-grid { gap: 42px; }
  h1 { font-size: clamp(58px, 5.2vw, 72px); }
  h2 { font-size: clamp(44px, 4vw, 56px); }
  .hero-terminal { max-width: 560px; }
  .workflow-screen { height: 470px; padding-block: 24px; }
  .workflow-head { min-height: 60px; }
  .workflow-command { min-height: 66px; }
  .workflow-steps li { min-height: 54px; }
  .workflow-result { min-height: 104px; margin-top: 14px; }
  .section { padding-block: 82px; }
}

/* Large desktop screens use the available canvas instead of leaving the site at laptop scale. */
@media (min-width: 1600px) and (min-height: 1100px) {
  body { font-size: 20px; }
  .container { width: min(calc(100% - 120px), 1520px); }
  .navigation { min-height: 110px; }
  .brand { font-size: 32px; }
  .brand img { width: 40px; height: 40px; }
  .nav-menu { gap: 38px; }
  .nav-menu > a { font-size: 16px; }
  .hero { min-height: calc(100svh - 110px); padding-top: clamp(76px, 8svh, 132px); padding-bottom: clamp(84px, 9svh, 150px); }
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 100px; }
  h1 { max-width: 820px; font-size: clamp(88px, 5vw, 104px); }
  h2 { font-size: clamp(68px, 3.65vw, 78px); }
  h3 { font-size: 32px; }
  .eyebrow { font-size: 19px; }
  .hero-lead { max-width: 660px; font-size: 21px; }
  .hero-actions { margin-top: 40px; }
  .button, .text-link { font-size: 17px; }
  .hero-terminal { max-width: 720px; }
  .workflow-screen { height: 600px; padding: 38px 40px; }
  .workflow-head p { font-size: 36px; }
  .workflow-command { min-height: 88px; font-size: 15px; }
  .workflow-steps li { min-height: 72px; }
  .workflow-steps li p { font-size: 17px; }
  .workflow-result p { font-size: 30px; }
  .section { padding-block: clamp(124px, 10svh, 180px); }
  .section-head h2, .process-heading h2 { max-width: 980px; }
  .section-intro { max-width: 650px; font-size: 20px; }
  .service-row { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 44px; padding-block: 46px; }
  .service-row p { max-width: 70ch; font-size: 19px; }
  .experience-grid { gap: 130px; }
  .experience-copy h2 { max-width: 650px; }
  .experience-copy > p:last-child { max-width: 610px; font-size: 20px; }
  .experience-list h3 { font-size: 23px; }
  .experience-list p { font-size: 18px; }
  .products-layout { gap: 86px; }
  .product-list label { min-height: 98px; padding: 20px 18px; }
  .product-label-copy > strong { font-size: 26px; }
  .product-label-copy > span:not(.product-static-result) { font-size: 16px; }
  .product-screen-head > p:first-child { font-size: 38px; }
  .product-screen-purpose { font-size: 18px; }
  .process-list h3 { font-size: 31px; }
  .process-list p { font-size: 18px; }
  .why-heading > p:last-child { max-width: 720px; font-size: 20px; }
  .why-item { min-height: 240px; padding: 42px 40px; }
  .why-item h3 { font-size: 28px; }
  .why-item p { font-size: 18px; }
  .why-tech li { padding: 11px 15px; font-size: 14px; }
  .contact-copy h2 { font-size: 78px; }
  .contact-copy > p:not(.eyebrow) { font-size: 20px; }
  .form-field label, .form-status { font-size: 16px; }
  .form-field input, .form-field select, .form-field textarea { font-size: 18px; }
}

/* Keep the deliberately split services intro at two lines on laptops and
   desktop screens, including Windows displays that use OS scaling. */
@media (min-width: 1000px) {
  .services .section-intro {
    width: 100%;
    max-width: none;
    white-space: nowrap;
    text-align: right;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-snap-type: none; }
}

/* One desktop viewport per chapter. Section padding also keeps the first content
   line about one tenth of the screen away from the previous chapter. */
@media (min-width: 1000px) {
  html { scroll-snap-type: y mandatory; scroll-padding-top: 0; }
  main > .section {
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
    overflow: hidden;
    padding-block: clamp(34px, 6svh, 92px);
  }
  .services { margin-top: 0; }
}

/* A 13-inch laptop needs a denser composition, not smaller browser zoom. */
@media (min-width: 1000px) and (max-height: 900px) {
  body { font-size: 16px; }
  main > .section { padding-block: clamp(24px, 4svh, 36px); }
  h2 { font-size: clamp(42px, 3.65vw, 50px); }
  h3 { font-size: 23px; }
  .eyebrow { margin-bottom: 10px; font-size: 15px; }

  .section-head {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 0 46px;
    align-items: end;
  }
  .section-head .eyebrow { grid-column: 1 / -1; }
  .section-head h2 { grid-column: 1; }
  .section-intro { grid-column: 2; margin: 0 0 3px; font-size: 15px; line-height: 1.55; }
  .service-list { margin-top: 22px; }
  .service-row { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 22px; padding-block: 15px; }
  .service-row h3 { font-size: 22px; }
  .service-row p { font-size: 14px; line-height: 1.48; }

  .experience-grid { gap: 72px; align-items: center; }
  .experience-copy h2 { font-size: 50px; }
  .experience-copy > p:last-child { margin-top: 18px; font-size: 15px; line-height: 1.55; }
  .experience-list { padding-top: 0; }
  .experience-list article { padding-block: 15px; gap: 18px; }
  .experience-list h3 { font-size: 18px; }
  .experience-list p { margin-top: 4px; font-size: 14px; line-height: 1.45; }

  .examples-head { margin-bottom: 15px; }
  .products-layout { gap: 38px; align-items: start; }
  .product-list label { min-height: 55px; padding: 7px 10px; gap: 8px; }
  .product-label-copy { gap: 0; align-content: center; }
  .product-label-copy > strong { font-size: 18px; line-height: 1.15; }
  .product-label-copy > span:not(.product-static-result) { font-size: 12px; line-height: 1.3; }
  .product-index { font-size: 9px; line-height: 2; }
  .terminal-bar { padding-block: 10px; }
  .product-screen { padding: 14px 18px 12px; }
  .product-screen-head { gap: 5px 10px; }
  .product-screen-head > p:first-child { font-size: 25px; }
  .product-screen-purpose { min-height: 58px; font-size: 13px; line-height: 1.38; }
  .product-command { min-height: 42px; margin: 7px 0 7px; font-size: 11px; line-height: 1.5; }
  .product-data > div { min-height: 34px; padding-block: 6px; }
  .product-data dt { font-size: 10px; }
  .product-data dd { font-size: 11px; }
  .product-visual { height: 165px; padding: 10px 15px; }
  .product-result { margin-top: 10px; padding-left: 10px; }
  .product-result-title { margin-top: 4px; min-height: 42px; font-size: 21px; line-height: 1.22; }
  .product-result-detail { margin-top: 5px; min-height: 54px; font-size: 12px; line-height: 1.4; }
  .product-source { min-height: 30px; margin-top: 8px; padding-top: 7px; font-size: 8px; }
  .showcase-note { margin-top: 5px; font-size: 9px; line-height: 1.35; }
  .viz-analysis-chart { height: 105px; }
  .viz-event { min-height: 36px; }
  .viz-action { margin-top: 9px; padding-block: 7px; }
  .viz-rule { min-height: 32px; padding-block: 4px; }
  .viz-calculation, .viz-factors, .viz-analysis-drivers, .viz-wiki-steps { margin-top: 7px; }
  .viz-scores { gap: 7px; }
  .viz-factors span { padding-block: 5px; }
  .viz-signal { min-height: 33px; padding-block: 4px; }
  .viz-range { height: 62px; margin-top: 12px; }
  .viz-collateral-metrics { margin-top: 7px; }
  .viz-documents > span { padding-block: 5px; }
  .viz-wiki-steps p { min-height: 31px; }
  .viz-installments { margin-top: 10px; }
  .viz-installments i { height: 22px; }
  .viz-solidaris-foot { margin-top: 8px; }

  .process-heading { margin-bottom: 34px; }
  .process-list { gap: 34px; }
  .process-number { margin-bottom: 20px; }
  .process-list h3 { font-size: 24px; }
  .process-list p { margin-top: 10px; font-size: 14px; line-height: 1.5; }

  .why-heading > p:last-child { margin-top: 10px; font-size: 15px; line-height: 1.5; }
  .why-grid { gap: 12px; margin-top: 20px; }
  .why-item { min-height: 145px; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; padding: 20px; }
  .why-icon { width: 32px; height: 32px; }
  .why-item h3 { font-size: 20px; }
  .why-item p { margin-top: 8px; font-size: 13px; line-height: 1.45; }
  .why-tech { margin-top: 18px; padding-top: 14px; }
  .why-tech ul { gap: 6px; margin-top: 10px; }
  .why-tech li { padding: 6px 9px; font-size: 10px; }

  .contact-grid { gap: 68px; align-items: center; }
  .contact-copy h2 { font-size: 54px; }
  .contact-copy > p:not(.eyebrow) { margin-top: 15px; font-size: 15px; line-height: 1.55; }
  .contact-email { margin-top: 18px; font-size: 19px; }
  .contact-copy .contact-location { margin-top: 17px; font-size: 12px; }
  .footer-brand-wrap .contact-robot { margin-top: 0; }
  .form-field { margin-bottom: 14px; }
  .form-field label { margin-bottom: 6px; font-size: 12px; }
  .form-field input, .form-field select { height: 44px; min-height: 44px; padding-block: 8px; }
  .form-field textarea { min-height: 112px; height: 112px; }
  .field-help { margin-top: 5px; font-size: 10px; }
  .form-footer { gap: 8px; }
  .contact-form .button { min-height: 46px; padding-block: 10px; }
}

/* Mobile keeps natural section heights and gentle snap assistance. */
@media (max-width: 999px) {
  html { scroll-snap-type: y proximity; }
  main > .section { height: auto; max-height: none; overflow: visible; }
  .services { margin-top: clamp(48px, 8svh, 76px); }
}

@media (min-width: 1600px) and (min-height: 1100px) {
  main > .examples { padding-block: clamp(54px, 5svh, 76px); }
}

/* Mid-height desktop screens retain the larger typography while the product
   demonstration gives back enough vertical space to stay inside its chapter. */
@media (min-width: 1000px) and (min-height: 901px) and (max-height: 1099px) {
  .examples-head { margin-bottom: 28px; }
  .product-list label { padding-block: 10px; gap: 4px; }
  .product-screen { padding: 22px 26px 18px; }
  .product-screen-purpose { min-height: 80px; font-size: 15px; line-height: 1.45; }
  .product-command { min-height: 52px; margin: 14px 0 10px; font-size: 12px; }
  .product-visual { height: 260px; padding: 16px 20px; }
  .product-result { margin-top: 16px; }
  .product-result-title { min-height: 56px; font-size: 25px; }
  .product-result-detail { min-height: 78px; font-size: 14px; line-height: 1.5; }
  .product-source { min-height: 38px; margin-top: 12px; padding-top: 10px; }
  .showcase-note { margin-top: 9px; }
  .viz-analysis-chart { height: 136px; }
}

@media (min-width: 1000px) and (max-height: 740px) {
  .product-visual { height: 156px; }
  .showcase-note { margin-top: 2px; }
}

/* Reserve the largest complete demo so typing never clips or shifts its frame. */
.showcase-sized .product-screen-head > p:first-child { min-height: var(--example-title); }
.showcase-sized .product-screen-purpose { min-height: var(--example-purpose); }
.showcase-sized .product-command { min-height: var(--example-command); }
.showcase-sized .product-visual { height: var(--example-visual); }
.showcase-sized .product-result-title { min-height: var(--example-result); }
.showcase-sized .product-result-detail { min-height: var(--example-detail); }
.showcase-sized .product-source { min-height: var(--example-source); }
.showcase-measure { position: fixed !important; left: -100000px; top: 0; visibility: hidden; pointer-events: none; }
.showcase-measure .product-screen-head > p:first-child,
.showcase-measure .product-screen-purpose,
.showcase-measure .product-command,
.showcase-measure .product-result-title,
.showcase-measure .product-result-detail,
.showcase-measure .product-source,
.showcase-measure .product-visual { min-height: 0 !important; height: auto !important; }
.showcase-measure [data-viz-item] { transform: none !important; transition: none !important; }

/* The footer closes the contact chapter inside the same viewport. */
.contact {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: stretch;
  padding-bottom: 0 !important;
}
.contact > .contact-grid { align-self: center; }
.contact > .site-footer { align-self: end; width: 100%; }
@media (max-width: 767px) {
  .contact > .contact-grid { padding-bottom: 32px; }
  .contact .footer-top { padding-right: 64px; }
}

/* Large desktop canvases keep the same composition at a calmer visual scale. */
@media (min-width: 1600px) and (min-height: 1100px) {
  .site-header > .container,
  main > .section > .container,
  .contact > .site-footer > .container {
    transform: scale(.9);
    transform-origin: center;
  }
}
