:root {
  --ink: #172033;
  --muted: #667085;
  --line: #dde3ef;
  --paper: #ffffff;
  --soft: #f6f8fc;
  --primary: #3157d5;
  --primary-dark: #2447bd;
  --success: #287a4b;
  --danger: #b42318;
  --header-height: 68px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 320px; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
section[id] { scroll-margin-top: calc(var(--header-height) + 16px); }

.site-header {
  height: var(--header-height);
  padding: 0 clamp(20px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 1.2rem; text-decoration: none; }
.brand-logo { width: 34px; height: 34px; display: block; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 34px); }
.main-nav a { color: #26343f; font-size: 0.94rem; font-weight: 650; text-decoration: none; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--primary); }
.menu-button { display: none; border: 1px solid var(--line); background: white; color: var(--ink); padding: 9px 12px; border-radius: 4px; font: inherit; font-weight: 700; }
.language-control { display: inline-flex; align-items: center; }
.language-control select { width: 64px; height: 36px; border: 1px solid #cdd5e3; border-radius: 4px; background: white; color: #344054; padding: 0 8px; font: inherit; font-size: 0.86rem; font-weight: 750; }
.language-control select:focus { outline: 3px solid rgba(49, 87, 213, 0.18); border-color: var(--primary); }
.sr-only { width: 1px; height: 1px; padding: 0; margin: -1px; position: absolute; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.hero {
  min-height: min(78svh, 760px);
  display: flex;
  align-items: center;
  padding: clamp(48px, 8vw, 110px) clamp(20px, 7vw, 110px);
  position: relative;
  isolation: isolate;
  background: #e8ecee url("/assets/cloudata-hero-team.webp?v=2") center / cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, 0.16); }
.hero-content { width: min(580px, 92vw); }
.eyebrow { margin: 0 0 14px; color: var(--primary-dark); font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; }
.hero h1 { margin: 0; font-size: clamp(3.4rem, 8vw, 7rem); line-height: 0.95; letter-spacing: 0; }
.hero-copy { max-width: 540px; margin: 24px 0 30px; color: #24323c; font-size: clamp(1.12rem, 2vw, 1.45rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; border: 1px solid transparent; border-radius: 4px; font-weight: 750; text-decoration: none; }
.button-primary { background: var(--primary); color: white; }
.button-primary:hover, .button-primary:focus-visible { background: var(--primary-dark); }
.button-secondary { background: rgba(255, 255, 255, 0.88); border-color: #aebbc4; color: var(--ink); }
.button-light { background: white; color: var(--ink); }

.section { padding: clamp(70px, 9vw, 120px) clamp(20px, 7vw, 110px); }
.section-heading { max-width: 760px; margin-bottom: 44px; }
.section-heading h2, .capability-copy h2, .contact-band h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.1; letter-spacing: 0; }
.section-heading > p:last-child, .capability-copy > p:last-child { color: var(--muted); font-size: 1.08rem; line-height: 1.7; }

.service-principles { margin-bottom: 30px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-principle { min-height: 116px; padding: 22px 26px; display: flex; flex-direction: column; gap: 8px; border-right: 1px solid var(--line); }
.service-principle:last-child { border-right: 0; }
.service-principle strong { color: var(--ink); font-size: 0.96rem; }
.service-principle span { color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 420px; padding: 26px; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-card:nth-child(3n+1) { border-top: 3px solid var(--primary); }
.service-card:nth-child(3n+2) { border-top: 3px solid var(--success); }
.service-card:nth-child(3n) { border-top: 3px solid var(--danger); }
.service-index { color: #74838f; font-size: 0.78rem; font-weight: 800; }
.service-card h3 { margin: 44px 0 12px; font-size: 1.28rem; }
.service-card p { margin: 0; color: var(--muted); line-height: 1.65; }
.service-scope { margin-top: auto; padding-top: 24px; }
.service-scope-label { display: block; margin-bottom: 12px; color: var(--ink); font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.service-points { margin: 0; padding: 16px 0 0 18px; border-top: 1px solid var(--line); color: #425466; }
.service-points li { padding-left: 3px; line-height: 1.5; }
.service-points li + li { margin-top: 7px; }
.service-points li::marker { color: var(--primary); }

.capability-band { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr); gap: clamp(50px, 8vw, 120px); background: var(--ink); color: white; }
.capability-band .eyebrow { color: #aebfff; }
.capability-copy > p:last-child { color: #c6d0d7; }
.capability-list { margin: 0; }
.capability-list div { padding: 22px 0; border-top: 1px solid #3b4852; }
.capability-list div:last-child { border-bottom: 1px solid #3b4852; }
.capability-list dt { margin-bottom: 8px; color: white; font-weight: 800; }
.capability-list dd { margin: 0; color: #b7c3cb; line-height: 1.55; }

.method-section { background: var(--soft); }
.compact-heading { margin-bottom: 34px; }
.method-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #cdd7dd; }
.method-list li { min-height: 180px; padding: 24px 24px 24px 0; border-right: 1px solid #cdd7dd; }
.method-list li + li { padding-left: 24px; }
.method-list li:last-child { border-right: 0; }
.method-list strong { display: block; margin-bottom: 38px; color: var(--primary-dark); font-size: 1.12rem; }
.method-list span { color: var(--muted); line-height: 1.55; }

.contact-band { padding: clamp(60px, 8vw, 96px) clamp(20px, 7vw, 110px); display: flex; align-items: end; justify-content: space-between; gap: 40px; background: var(--primary); color: white; }
.contact-band .eyebrow { color: #d9e1ff; }
.contact-actions { max-width: 440px; display: flex; align-items: flex-end; flex-direction: column; gap: 16px; }
.contact-address { margin: 0; color: #e8edff; font-style: normal; line-height: 1.55; text-align: right; }
.site-footer { padding: 0 clamp(20px, 7vw, 110px); background: #0a1118; color: #b9c5ce; font-size: 0.9rem; }
.site-footer a { color: #f4f7f9; text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { color: #8fb0ff; }
.footer-main { padding: clamp(44px, 6vw, 72px) 0 40px; display: grid; grid-template-columns: minmax(260px, 1.7fr) minmax(230px, 1.2fr) minmax(130px, 0.7fr) minmax(110px, 0.6fr); gap: clamp(32px, 5vw, 72px); }
.footer-brand { max-width: 420px; }
.footer-brand-link { display: inline-flex; align-items: center; gap: 11px; font-size: 1.14rem; font-weight: 800; }
.footer-brand-link img { width: 38px; height: 38px; object-fit: contain; }
.footer-brand-link .footer-logo-white { filter: grayscale(1) brightness(0) invert(1); }
.footer-brand p { margin: 19px 0 0; color: #aebac3; line-height: 1.7; }
.footer-column { min-width: 0; display: flex; align-items: flex-start; flex-direction: column; gap: 12px; }
.footer-column strong { margin-bottom: 4px; color: white; font-size: 0.78rem; text-transform: uppercase; }
.footer-column address { color: #aebac3; font-style: normal; line-height: 1.6; }
.footer-contact a { overflow-wrap: anywhere; }
.footer-bottom { min-height: 70px; padding: 20px 210px 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #26323b; color: #84929d; font-size: 0.82rem; }

/* Homepage information architecture and visual system. */
:root {
  --ink: #07182f;
  --muted: #596a7f;
  --line: #d7dfeb;
  --soft: #f4f7fb;
  --primary-dark: #1d43bb;
  --success: #17804c;
  --danger: #bd2b31;
  --header-height: 108px;
}

body { overflow-x: hidden; }
.site-header { min-height: var(--header-height); height: auto; padding: 0; display: block; background: var(--paper); box-shadow: 0 1px 0 var(--line); border-bottom: 0; }
.utility-bar { height: 36px; padding: 0 clamp(20px, 6vw, 96px); display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #cbd8e6; background: #07121f; font-size: 0.76rem; }
.utility-bar > div { display: flex; align-items: center; gap: 24px; }
.utility-bar a { color: #ffffff; font-weight: 700; text-decoration: none; }
.utility-bar a:hover, .utility-bar a:focus-visible { color: #9cb7ff; }
.nav-shell { height: 72px; padding: 0 clamp(20px, 6vw, 96px); display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.brand { min-width: 132px; gap: 11px; flex: 0 0 auto; color: var(--ink); font-size: 1.25rem; font-weight: 800; }
.brand span { display: inline-block; white-space: nowrap; }
.brand-logo { width: 38px; height: 38px; }
.main-nav { gap: clamp(16px, 2.5vw, 32px); }
.main-nav a { color: #24364d; font-size: 0.9rem; font-weight: 700; }
.menu-button { min-height: 40px; padding: 0 13px; font-weight: 750; }
.language-control select { height: 38px; border-color: #c5cfdd; color: #24364d; font-size: 0.82rem; font-weight: 800; }

.hero { min-height: clamp(560px, 72svh, 720px); padding: clamp(64px, 9vw, 112px) clamp(20px, 7vw, 112px); align-items: center; color: white; background: #e7ebee url("/assets/cloudata-hero-team.webp?v=3") center / cover no-repeat; }
.hero::before { inset: 0 auto 0 0; width: min(68%, 980px); background: rgba(4, 18, 36, 0.82); }
.hero-content { width: min(720px, 100%); }
.eyebrow { margin-bottom: 15px; font-size: 0.76rem; font-weight: 850; letter-spacing: 0.08em; }
.hero .eyebrow { color: #a9c1ff; }
.hero h1 { max-width: 700px; font-size: clamp(2.7rem, 5.4vw, 5rem); line-height: 1.02; }
.hero-copy { max-width: 630px; margin: 25px 0 31px; color: #e1e9f2; font-size: clamp(1.05rem, 1.7vw, 1.3rem); line-height: 1.6; }
.button { min-height: 48px; padding: 12px 19px; font-weight: 780; }
.button-secondary { border-color: #c9d7e8; color: white; background: rgba(7, 24, 47, 0.78); }
.button-secondary:hover, .button-secondary:focus-visible { border-color: white; background: #07182f; }
.button-outline-light { border-color: #b9c9f3; color: white; background: transparent; }
.button-outline-light:hover, .button-outline-light:focus-visible { border-color: white; background: rgba(255, 255, 255, 0.1); }

.outcome-band { padding: 0 clamp(20px, 7vw, 112px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); background: white; }
.outcome-band > div { min-height: 154px; padding: 25px 28px; display: grid; grid-template-columns: auto 1fr; align-content: center; column-gap: 15px; border-right: 1px solid var(--line); }
.outcome-band > div:first-child { border-left: 1px solid var(--line); }
.outcome-index { grid-row: 1 / span 2; color: var(--primary); font-size: 0.72rem; font-weight: 850; }
.outcome-band strong { color: var(--ink); font-size: 1rem; }
.outcome-band p { margin: 7px 0 0; color: var(--muted); font-size: 0.88rem; line-height: 1.5; }

.section { padding: clamp(72px, 8vw, 112px) clamp(20px, 7vw, 112px); }
.section-heading { max-width: 820px; margin-bottom: 44px; }
.section-heading h2, .capability-copy h2, .contact-band h2 { font-size: clamp(2rem, 3.7vw, 3.45rem); line-height: 1.08; }
.section-heading > p:last-child, .capability-copy > p:last-child { font-size: 1.05rem; }

.product-section { background: var(--soft); }
.product-heading { max-width: 860px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product-card { min-height: 488px; padding: 28px; display: flex; flex-direction: column; border: 1px solid var(--line); border-top: 4px solid var(--primary); border-radius: 6px; background: white; }
.product-card.product-rpa { border-top-color: var(--success); }
.product-card.product-expander { border-top-color: var(--danger); }
.product-mark { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 6px; color: white; background: var(--primary); font-size: 0.82rem; font-weight: 850; }
.product-rpa .product-mark { background: var(--success); }
.product-expander .product-mark { background: var(--danger); }
.product-type { margin: 25px 0 7px; color: var(--muted); font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em; }
.product-card h3 { margin: 0 0 14px; font-size: 1.45rem; }
.product-card > p:not(.product-type) { margin: 0; color: var(--muted); line-height: 1.63; }
.product-card ul { margin: 25px 0 28px; padding: 20px 0 0 18px; border-top: 1px solid var(--line); color: #344860; }
.product-card li { padding-left: 3px; line-height: 1.45; }
.product-card li + li { margin-top: 8px; }
.product-card li::marker { color: var(--primary); }
.product-card > a { margin-top: auto; width: fit-content; color: var(--primary-dark); font-size: 0.9rem; font-weight: 800; text-decoration: none; }
.product-card > a::after { content: "  >"; }
.product-card > a:hover, .product-card > a:focus-visible { text-decoration: underline; }

.service-grid { gap: 14px; border: 0; }
.service-card { min-height: 398px; padding: 25px; border: 1px solid var(--line); border-top: 3px solid var(--primary); border-radius: 6px; background: white; }
.service-card:nth-child(3n+1) { border-top-color: var(--primary); }
.service-card:nth-child(3n+2) { border-top-color: var(--success); }
.service-card:nth-child(3n) { border-top-color: var(--danger); }
.service-index { color: #728399; font-size: 0.72rem; font-weight: 850; }
.service-card h3 { margin: 24px 0 12px; font-size: 1.25rem; }
.service-card p { line-height: 1.62; }
.service-scope { padding-top: 23px; }
.service-scope-label { margin-bottom: 11px; font-size: 0.7rem; font-weight: 850; letter-spacing: 0.07em; }
.service-points { font-size: 0.9rem; }
.service-points li { padding-left: 2px; line-height: 1.45; }

.capability-band { grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr); gap: clamp(50px, 8vw, 116px); background: #07182f; }
.capability-band .eyebrow { color: #9db7ff; }
.capability-copy > p:last-child { color: #c5d2df; }
.capability-list div { padding: 21px 0; border-top-color: #32455b; }
.capability-list div:last-child { border-bottom-color: #32455b; }
.capability-list dd { color: #b8c7d5; }

.method-section { background: #f3f7f5; }
.compact-heading { max-width: 640px; margin-bottom: 34px; }
.method-list { border-top-color: #c9d5d0; }
.method-list li { min-height: 205px; padding-top: 24px; display: flex; flex-direction: column; border-right-color: #c9d5d0; }
.method-number { margin-bottom: 34px; color: var(--success) !important; font-size: 0.7rem; font-weight: 850; }
.method-list strong { margin-bottom: 12px; color: var(--ink); }
.method-list span:last-child { color: var(--muted); line-height: 1.55; }

.contact-band { padding: clamp(62px, 7vw, 92px) clamp(20px, 7vw, 112px); align-items: center; gap: 48px; }
.contact-band > div:first-child { max-width: 780px; }
.contact-band p:last-child { margin: 18px 0 0; color: #e4eaff; font-size: 1rem; line-height: 1.65; }
.contact-actions { min-width: 210px; max-width: none; align-items: stretch; gap: 11px; }

.site-footer { padding: 0 clamp(20px, 7vw, 112px); color: #b8c6d4; background: #07121f; font-size: 0.88rem; }
.footer-main { padding: clamp(46px, 6vw, 72px) 0 42px; grid-template-columns: minmax(260px, 1.5fr) repeat(4, minmax(120px, 0.72fr)); gap: clamp(28px, 4vw, 58px); }
.footer-brand { max-width: 400px; }
.footer-brand-link { font-size: 1.15rem; }
.footer-brand-link img { width: 40px; height: 40px; }
.footer-brand p, .footer-column address { color: #aebdca; }
.footer-column strong { margin-bottom: 5px; font-size: 0.74rem; }
.footer-bottom { min-height: 72px; border-top-color: #2a3948; color: #8394a4; font-size: 0.8rem; }

.chat-launcher {
  min-height: 48px;
  position: fixed;
  right: 24px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 17px;
  border: 0;
  border-radius: 8px;
  background: var(--primary);
  color: white;
  box-shadow: 0 12px 30px rgba(10, 17, 24, 0.24);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 750;
  cursor: pointer;
}
.chat-launcher:hover { background: var(--primary-dark); }
.chat-launcher > svg { width: 20px; height: 20px; flex: 0 0 auto; }
.chat-unread { min-width: 20px; height: 20px; padding: 0 5px; display: inline-grid; place-items: center; border-radius: 10px; color: #173071; background: #eaf0ff; font-size: 0.7rem; font-weight: 800; }
.chat-launcher:focus-visible, .chat-close:focus-visible, .chat-send:focus-visible, .chat-end:focus-visible, .chat-new:focus-visible, .chat-panel input:focus-visible, .chat-panel textarea:focus-visible { outline: 3px solid rgba(49, 87, 213, 0.3); outline-offset: 2px; }
.chat-panel {
  width: min(410px, calc(100vw - 32px));
  max-height: calc(100svh - 108px);
  position: fixed;
  right: 24px;
  bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  z-index: 41;
  overflow: hidden;
  border: 1px solid #c5d1e5;
  border-top: 3px solid var(--primary);
  border-radius: 8px;
  background: white;
  box-shadow: 0 20px 48px rgba(10, 17, 24, 0.28);
}
.chat-panel-header { min-height: 70px; padding: 12px 12px 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #d8e1f1; background: #eef3ff; }
.chat-agent { min-width: 0; display: flex; align-items: center; gap: 11px; }
.chat-agent img { width: 36px; height: 36px; object-fit: contain; }
.chat-agent strong { display: block; }
.chat-agent strong { overflow-wrap: anywhere; font-size: 0.98rem; }
.chat-presence { margin-top: 3px; display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 0.76rem; font-weight: 700; }
.chat-presence > svg { width: 13px; height: 13px; }
.chat-presence-dot { width: 7px; height: 7px; border-radius: 50%; background: #98a2b3; }
.chat-presence.online { color: #146b45; }
.chat-presence.online .chat-presence-dot { background: #1f9d63; box-shadow: 0 0 0 3px rgba(31, 157, 99, 0.13); }
.chat-close { width: 36px; height: 36px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 6px; background: white; color: var(--ink); cursor: pointer; }
.chat-close svg { width: 18px; height: 18px; }
.chat-start { max-height: calc(100svh - 180px); padding: 16px; overflow-y: auto; }
.chat-intro { margin: 0 0 14px; color: var(--muted); font-size: 0.84rem; line-height: 1.45; }
.chat-start-form { display: grid; gap: 12px; }
.chat-field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.chat-field label, .chat-form label { display: block; margin-bottom: 6px; color: var(--ink); font-size: 0.76rem; font-weight: 750; }
.chat-field input, .chat-field textarea, .chat-form textarea { width: 100%; border: 1px solid #b8c4d3; border-radius: 6px; color: var(--ink); background: white; font: inherit; font-size: 0.86rem; }
.chat-field input { height: 40px; padding: 0 10px; }
.chat-field textarea, .chat-form textarea { min-height: 82px; max-height: 180px; padding: 10px; resize: vertical; line-height: 1.45; }
.chat-field input:focus, .chat-field textarea:focus, .chat-form textarea:focus { border-color: var(--primary); }
.chat-honeypot { width: 1px; height: 1px; position: absolute; left: -10000px; overflow: hidden; }
.chat-consent { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: 0.72rem; line-height: 1.4; }
.chat-consent input { width: 15px; height: 15px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--primary); }
.chat-form-status { min-height: 17px; margin: 0; color: var(--danger); font-size: 0.72rem; }
.chat-conversation { height: min(540px, calc(100svh - 180px)); display: grid; grid-template-rows: auto auto minmax(140px, 1fr) auto; }
.chat-conversation-toolbar { min-height: 42px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); background: white; }
.chat-conversation-toolbar > span { color: #425466; font-size: 0.75rem; font-weight: 800; }
.chat-end { min-height: 32px; padding: 0 8px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid transparent; border-radius: 5px; color: #8f2f28; background: transparent; font: inherit; font-size: 0.72rem; font-weight: 750; cursor: pointer; }
.chat-end:hover { border-color: #efc5c1; background: #fff3f2; }
.chat-end svg { width: 14px; height: 14px; }
.chat-closed-banner { padding: 11px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #bed0f3; background: #edf3ff; }
.chat-closed-banner div { min-width: 0; }
.chat-closed-banner strong, .chat-closed-banner span { display: block; }
.chat-closed-banner strong { color: #173071; font-size: 0.77rem; }
.chat-closed-banner span { margin-top: 2px; color: #526178; font-size: 0.68rem; line-height: 1.35; }
.chat-new { min-height: 32px; flex: 0 0 auto; padding: 0 9px; border: 1px solid #9eb4e8; border-radius: 5px; color: #173071; background: white; font: inherit; font-size: 0.7rem; font-weight: 750; cursor: pointer; }
.chat-new:hover { border-color: var(--primary); color: var(--primary-dark); }
.chat-messages { padding: 14px; display: flex; flex-direction: column; gap: 9px; overflow-y: auto; background: #f7f9fc; }
.chat-message-bubble { width: fit-content; max-width: 82%; padding: 9px 11px; border: 1px solid #d4dce7; border-radius: 7px; background: white; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-message-bubble.visitor { align-self: flex-end; border-color: #b8c8fa; color: #10235d; background: #eaf0ff; }
.chat-message-bubble p { margin: 0; font-size: 0.83rem; line-height: 1.42; }
.chat-message-bubble time { margin-top: 4px; display: block; color: #75808c; font-size: 0.62rem; text-align: right; }
.chat-form { padding: 12px 14px 14px; border-top: 1px solid var(--line); background: white; }
.chat-form textarea { min-height: 66px; }
.chat-form-footer { margin-top: 11px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.chat-counter { flex: 0 0 auto; color: var(--muted); font-size: 0.75rem; }
.chat-send { min-height: 42px; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; border: 0; border-radius: 6px; background: var(--primary); color: white; font: inherit; font-size: 0.86rem; font-weight: 750; cursor: pointer; }
.chat-send:hover { background: var(--primary-dark); }
.chat-send svg { width: 17px; height: 17px; flex: 0 0 auto; }
.chat-send-full { width: 100%; }
.chat-send:disabled { opacity: 0.58; cursor: wait; }

@media (max-width: 900px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card:nth-child(n) { border-top-color: var(--line); }
  .capability-band { grid-template-columns: 1fr; }
  .method-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method-list li:nth-child(2) { border-right: 0; }
  .method-list li:nth-child(3), .method-list li:nth-child(4) { border-top: 1px solid #cdd7dd; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  :root { --header-height: 62px; }
  .menu-button { display: block; }
  .main-nav { display: none; position: absolute; top: var(--header-height); left: 0; right: 0; padding: 16px 20px 22px; align-items: stretch; flex-direction: column; gap: 0; background: white; border-bottom: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .language-control { padding-top: 14px; }
  .language-control select { width: 100%; }
  .hero { min-height: 74svh; background-position: 61% center; }
  .hero::before { background: rgba(255, 255, 255, 0.76); }
  .hero-actions, .contact-band { align-items: stretch; flex-direction: column; }
  .contact-actions { max-width: none; align-items: stretch; }
  .contact-address { text-align: left; }
  .button { width: 100%; }
  .service-principles, .service-grid, .method-list { grid-template-columns: 1fr; }
  .service-principle { min-height: 0; padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-principle:last-child { border-bottom: 0; }
  .service-card { min-height: 0; }
  .service-card h3 { margin-top: 36px; }
  .service-scope { margin-top: 26px; }
  .method-list li, .method-list li + li { min-height: 0; padding: 24px 0; border-right: 0; border-top: 1px solid #cdd7dd; }
  .method-list strong { margin-bottom: 12px; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .footer-brand { max-width: none; }
  .footer-bottom { padding: 20px 0 86px; align-items: flex-start; flex-direction: column; gap: 7px; }
  .chat-launcher { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .chat-panel { right: 12px; bottom: calc(72px + env(safe-area-inset-bottom, 0px)); width: calc(100vw - 24px); }
  .chat-field-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }

@media (min-width: 901px) {
  .hero h1 { font-size: 4.7rem; }
  .section-heading h2, .capability-copy h2, .contact-band h2 { font-size: 3.2rem; }
}

@media (max-width: 1100px) {
  .main-nav { gap: 17px; }
  .footer-main { grid-template-columns: minmax(260px, 1.3fr) repeat(2, minmax(150px, 0.8fr)); }
}

@media (max-width: 900px) {
  .hero h1 { font-size: 3.55rem; }
  .section-heading h2, .capability-copy h2, .contact-band h2 { font-size: 2.65rem; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 0; }
  .outcome-band > div { padding-inline: 20px; }
  .service-card:nth-child(3n+1) { border-top-color: var(--primary); }
  .service-card:nth-child(3n+2) { border-top-color: var(--success); }
  .service-card:nth-child(3n) { border-top-color: var(--danger); }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  :root { --header-height: 64px; }
  .site-header { min-height: var(--header-height); }
  .utility-bar { display: none; }
  .nav-shell { height: var(--header-height); padding: 0 18px; }
  .brand { min-width: 124px; font-size: 1.08rem; }
  .brand-logo { width: 34px; height: 34px; }
  .main-nav { top: var(--header-height); z-index: 2; padding: 9px 20px 18px; box-shadow: 0 14px 24px rgba(7, 24, 47, 0.12); }
  .main-nav a { padding: 12px 0; }
  .hero { min-height: clamp(520px, 70svh, 620px); padding: 50px 20px; background-position: 62% center; }
  .hero::before { inset: 0; width: 100%; background: rgba(4, 18, 36, 0.78); }
  .hero h1 { font-size: 2.5rem; }
  .hero-copy { font-size: 1rem; line-height: 1.55; }
  .outcome-band { grid-template-columns: 1fr; padding: 0 20px; }
  .outcome-band > div { min-height: 0; padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .outcome-band > div:first-child { border-left: 0; }
  .outcome-band > div:last-child { border-bottom: 0; }
  .section { padding: 66px 20px; }
  .section-heading { margin-bottom: 34px; }
  .section-heading h2, .capability-copy h2, .contact-band h2 { font-size: 2.1rem; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { padding: 23px; }
  .service-card { min-height: 0; padding: 23px; }
  .service-card h3 { margin-top: 24px; }
  .service-scope { margin-top: 24px; }
  .capability-band { grid-template-columns: 1fr; }
  .method-number { margin-bottom: 18px; }
  .method-list li, .method-list li + li { min-height: 0; padding: 23px 0; border-color: #c9d5d0; }
  .contact-band { padding: 60px 20px; }
  .contact-actions { width: 100%; min-width: 0; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
}

/* Product suite */
.product-group + .product-group { margin-top: 48px; }
.product-group-heading { margin-bottom: 20px; display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.product-group-heading h3 { margin: 0; color: var(--ink); font-size: 1.35rem; }
.product-group-heading p { max-width: 600px; margin: 0; color: var(--muted); line-height: 1.55; text-align: right; }
.product-grid-platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-grid-extensions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card { min-height: 414px; border-top-color: var(--product-accent, var(--primary)); }
.product-card.product-rpa, .product-card.product-expander { border-top-color: var(--product-accent, var(--primary)); }
.product-card .product-mark { background: var(--product-accent, var(--primary)); }
.product-card .product-logo { width: 58px; height: 58px; padding: 3px; overflow: hidden; border: 1px solid #d7dfeb; background: #ffffff; }
.product-logo img { width: 100%; height: 100%; display: block; object-fit: contain; }
.product-card li::marker { color: var(--product-accent, var(--primary)); }
.product-card > a::after { content: "  >"; }

@media (max-width: 1100px) {
  .product-grid-extensions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .product-grid-platforms { grid-template-columns: 1fr; }
  .product-card { min-height: 0; }
}

@media (max-width: 680px) {
  .product-group + .product-group { margin-top: 40px; }
  .product-group-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .product-group-heading p { text-align: left; }
  .product-grid-extensions { grid-template-columns: 1fr; }
}
