:root {
  --ink: #181716;
  --muted: #5e5a56;
  --paper: #faf8f5;
  --line: #ded8d0;
  --coral: #f25f4c;
  --rust: #a62f21;
  --display: "Instrument Sans", "DM Sans", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.6 var(--body); }
a { color: inherit; }
button, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #c94634; outline-offset: 5px; }
.hero :focus-visible, .diagnostic :focus-visible { outline-color: #ffad9e; }
p, h1, h2, h3, h4 { margin: 0; }
h1, h2, h3, h4 { font-family: var(--display); }
h2 { font-size: clamp(2.35rem, 4.7vw, 4.45rem); line-height: 1.02; letter-spacing: -.047em; font-weight: 700; text-wrap: balance; }
h3 { font-size: clamp(1.35rem, 2.5vw, 2rem); line-height: 1.12; letter-spacing: -.035em; }
.container { width: min(100% - 104px, 1240px); margin-inline: auto; }
.skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 10; top: 10px; left: 10px; padding: 12px; background: white; }
.header { background: #fff; }
.header-row, .footer-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.header-row { min-height: 82px; }
.brand { display: inline-block; width: 136px; flex-shrink: 0; }
nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 38px); font-weight: 700; font-size: .9rem; }
nav a { text-decoration: none; }
nav a:not(.button):hover, .footer a:not(.brand):hover { color: var(--rust); }
.menu-toggle { padding: 8px 0 8px 8px; background: transparent; color: var(--ink); border: 0; font-weight: 700; }
.menu-toggle span { margin-inline-start: 6px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; padding: 12px 20px; border: 1px solid transparent; border-radius: 4px; background: var(--coral); color: #181312; text-decoration: none; font-weight: 800; font-size: .91rem; line-height: 1.25; transition: background .2s, border-color .2s, color .2s; }
.button:hover { background: #ff826f; }
.button-small { min-height: 43px; padding: 10px 15px; }
.header .button { color: white; background: var(--ink); }
.header .button:hover { background: #41312e; }
.button-outline { background: #18171680; border-color: #ffffff66; color: #fff; }
.button-outline:hover { background: #ffffff20; border-color: #fff; }
.button-secondary { background: #fff; border-color: var(--line); }
.button-secondary:hover { background: #f2eee8; }
.button span, .text-link span { font-size: 1.1em; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.hero { color: #fff; background: #141313; position: relative; isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,#141313 2%,#141313fa 20%,#141313ae 45%,#14131312 77%), url("assets/hero.webp") right center / auto 115% no-repeat; }
.hero-inner { min-height: clamp(585px, 48vw, 740px); display: grid; align-items: center; padding-block: 68px; }
.hero-copy { max-width: 810px; }
.eyebrow { display: flex; gap: 10px; align-items: center; margin-bottom: 20px; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow span { width: 20px; height: 2px; flex: 0 0 20px; background: var(--coral); }
.hero h1 { font-size: clamp(3.85rem, 7.1vw, 7rem); font-weight: 700; line-height: .94; letter-spacing: -.057em; }
.hero h1 em { font-style: normal; color: #ff7663; }
.hero-copy > p:not(.eyebrow) { max-width: 480px; margin: 26px 0 28px; color: #e1dad5; font-size: clamp(1rem, 1.5vw, 1.18rem); }
.facts { border-bottom: 1px solid var(--line); background: #eeeae4; }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.facts-grid > div { display: grid; gap: 1px; padding: 25px 26px; border-right: 1px solid var(--line); }
.facts-grid > div:first-child { padding-left: 0; }
.facts-grid > div:last-child { border: 0; }
.facts-grid strong { font-family: var(--display); font-size: clamp(1.3rem, 2.5vw, 2rem); letter-spacing: -.04em; line-height: 1.15; }
.facts-grid span { color: var(--muted); font-size: .89rem; }
.section { padding-block: clamp(64px, 8vw, 110px); }
.section-intro { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 28px; align-items: end; margin-bottom: 36px; }
.section-intro > p { color: var(--muted); max-width: 360px; padding-bottom: 4px; }
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.service { background: #f1ede7; border: 1px solid var(--line); border-top: 3px solid var(--line); padding: clamp(20px, 2.65vw, 38px); }
.service-main { border-top-color: var(--coral); }
.solutions { background: #f4f0eb; border-top: 1px solid var(--line); }
.solutions .service { background: var(--paper); }
.service p + p { margin-top: 16px; }
.service .service-example { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 16px; }
.label { color: var(--rust); font-size: .74rem; font-weight: 800; letter-spacing: .105em; text-transform: uppercase; }
.service h3 { margin-bottom: 12px; }
.case h3, .product h3 { margin: 12px 0; }
.service > p:not(.label), .case > p:not(.label), .product-copy > p { color: var(--muted); }
.service ul { margin: 18px 0 0; padding-left: 18px; font-size: .93rem; }
.service li { margin-bottom: 8px; }
.service li::marker { color: var(--rust); }
.partners { margin-top: clamp(32px, 5vw, 60px); }
.partners h3 { margin-bottom: 16px; }
.partners ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.partners li { background: #fff; border: 1px solid var(--line); text-align: center; color: var(--muted); font-size: .875rem; }
.partners li span { display: block; padding: 10px 6px; border-top: 1px solid var(--line); }
.partner-logo { display: grid; place-items: center; height: 94px; padding: 18px; }
.partner-logo img { width: 100%; max-width: 160px; height: 46px; object-fit: contain; }
.partner-logo-dark { background: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--rust); text-decoration-thickness: 1px; text-underline-offset: 4px; font-size: .94rem; font-weight: 800; }
.text-link:hover { text-decoration-thickness: 2px; }
.projects { background: #eeeae4; border-block: 1px solid var(--line); }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.case { min-height: 225px; background: var(--paper); padding: clamp(20px, 3vw, 40px); }
.case h3 { max-width: 15ch; font-size: clamp(1.5rem, 2.45vw, 2.1rem); }
.applications { margin-top: 38px; border: 1px solid var(--line); background: var(--paper); }
.applications-title { padding: 20px clamp(20px, 3vw, 40px); }
.case-grid.application-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); border-width: 1px 0 0; }
.application-grid .case { min-height: 0; }
.application-grid .case p + p { margin-top: 12px; }
.case h4 { margin: 8px 0; font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.15; letter-spacing: -.03em; }
.featured-case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--paper); border-top: 1px solid var(--line); }
.featured-image { position: relative; margin: 0; min-height: 360px; background: #38332f; }
.featured-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured-image figcaption { position: absolute; right: 12px; bottom: 12px; padding: 4px 9px; background: #181716; color: #fff; font-size: .75rem; }
.featured-copy { padding: clamp(24px, 4vw, 52px); }
.featured-copy h4 { margin: 10px 0 16px; font-size: clamp(1.8rem, 3.4vw, 3.4rem); line-height: 1.02; letter-spacing: -.05em; text-wrap: balance; }
.featured-copy p:not(.label) { color: var(--muted); }
.featured-detail { margin-top: 24px; padding-top: 19px; border-top: 1px solid var(--line); }
.featured-detail h5 { margin: 0 0 7px; font-size: 1rem; line-height: 1.3; }
.case-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 17px 0 0; padding: 0; list-style: none; font-size: .84rem; font-weight: 700; }
.case-flow li { display: flex; align-items: center; gap: 12px; }
.case-flow li + li::before { content: ""; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.featured-case-mobility { background: var(--ink); color: #fff; border-color: var(--ink); }
.featured-case-mobility .featured-image { grid-column: 2; grid-row: 1; }
.featured-case-mobility .featured-copy { grid-column: 1; grid-row: 1; }
.featured-case-mobility .label, .featured-case-mobility .case-flow { color: #ffa08c; }
.featured-case-mobility .featured-copy p:not(.label) { color: #e4dad1; }
.featured-case-mobility .featured-detail { border-color: #5b514a; }
.steps { list-style: none; counter-reset: method; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 0; margin: 0; }
.steps li { counter-increment: method; border-top: 1px solid var(--line); padding-top: 20px; }
.steps li::before { content: counter(method, decimal-leading-zero); display: block; margin-bottom: 14px; color: var(--rust); font: 700 1.4rem var(--display); }
.steps p, .contract p { margin-top: 10px; color: var(--muted); }
.contract { margin-top: 36px; padding: clamp(22px, 3vw, 38px); background: #eeeae4; }
.contract dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 12px; }
.contract dt { font-weight: 800; }
.contract dd { color: var(--muted); margin: 0; font-size: .91rem; }
.diagnostic { padding-block: clamp(58px, 8vw, 100px); background: #1a1817; color: white; }
.diagnostic-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(28px, 7vw, 100px); }
.diagnostic h2 { max-width: 12ch; text-wrap: initial; }
.diagnostic p:not(.eyebrow) { color: #e1dad5; margin-top: 16px; }
.diagnostic .fine-print { font-size: .88rem; }
#score-form { display: grid; gap: 8px; border: 1px solid #57504c; padding: clamp(20px, 3vw, 36px); background: #262321; }
#score-form label { font-weight: 700; font-size: .9rem; }
#score-form select { width: 100%; padding: 10px 12px; color: #fff; background: #302c29; border: 1px solid #8a7f76; border-radius: 3px; min-height: 46px; margin-bottom: 8px; color-scheme: dark; }
#score-form button { margin-top: 6px; justify-self: start; }
#score-result { border-top: 1px solid #605751; padding-top: 16px; margin-top: 12px; }
#score-result strong { font: 700 1.55rem var(--display); }
#score-result p { margin-top: 6px; }
#score-result .text-link { color: #ff9a89; }
.product { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); border: 1px solid var(--line); }
.product-copy { padding: clamp(24px, 4vw, 48px); }
.product-copy > p { max-width: 60ch; }
.product-copy > p + p { margin-top: 14px; }
.product-brand { display: grid; place-items: center; background: #fff; border-left: 1px solid var(--line); padding: clamp(18px, 3vw, 40px); }
.product-brand img { width: min(100%, 370px); }
.product h3 { font-size: clamp(2rem, 4.2vw, 3.9rem); }
.contact { background: var(--coral); }
.contact-inner { min-height: 315px; padding-block: 58px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.contact-address { width: min(100%, 271px); border-radius: 4px; }
.privacy .contact-address { margin-top: 14px; }
.contact .eyebrow span { background: var(--ink); }
.contact p:not(.eyebrow) { margin-top: 14px; max-width: 470px; }
.footer { background: #fff; }
.footer-row { padding-block: 28px; }
.footer-row p, .footer-links { color: var(--muted); font-size: .89rem; }
.footer-links { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-links button { border: 0; background: transparent; color: inherit; padding: 0; text-decoration: underline; }
.consent { position: fixed; z-index: 5; bottom: 16px; right: 16px; width: min(390px, 100% - 32px); background: #fff; color: var(--ink); border: 1px solid var(--line); padding: 20px; box-shadow: 0 12px 46px #0003; }
.consent h2 { font-size: 1.25rem; letter-spacing: -.03em; }
.consent p { margin-block: 8px 12px; font-size: .9rem; }
.privacy { width: min(100% - 48px, 740px); margin: 0 auto; }
.privacy h2 { margin: 24px 0 8px; font-size: 1.4rem; letter-spacing: -.03em; }
.privacy h1 { font-size: clamp(2rem, 5vw, 4rem); line-height: 1.04; letter-spacing: -.06em; margin: 18px 0; }

@media (max-width: 950px) {
  nav { gap: 16px; }
  .container { width: calc(100% - 64px); }
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .product { grid-template-columns: minmax(0, 1fr); }
  .product-brand { grid-row: 1; border-left: 0; border-bottom: 1px solid var(--line); }
  .product-brand img { width: min(100%, 230px); }
  .featured-case { grid-template-columns: minmax(0, 1fr); }
  .featured-case-mobility .featured-image, .featured-case-mobility .featured-copy { grid-column: auto; grid-row: auto; }
  .featured-image { min-height: 0; aspect-ratio: 3 / 2; }
  .partners ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .container { width: calc(100% - 40px); }
  .header-row { position: relative; min-height: 68px; flex-wrap: wrap; gap: 0; }
  .brand { width: 108px; }
  nav { width: 100%; flex-wrap: wrap; gap: 14px 22px; padding: 8px 0 18px; }
  nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .header-row:has(.menu-toggle:not([hidden])) nav { flex-direction: column; align-items: stretch; gap: 0; }
  .header-row:has(.menu-toggle:not([hidden])) nav a:not(.button) { border-top: 1px solid var(--line); }
  .header-row:has(.menu-toggle:not([hidden])) nav .button { align-self: flex-start; margin-top: 8px; }
  .hero::before { background: linear-gradient(90deg,#141313ee 0%,#14131399 100%), url("assets/hero-960.webp") 64% center / auto 105% no-repeat; }
  .hero-inner { min-height: 535px; padding-block: 54px; }
  .hero h1 { font-size: clamp(2.5rem, 10.6vw, 5rem); }
  .facts-grid { grid-template-columns: 1fr; }
  .facts-grid > div { border: 0; border-bottom: 1px solid var(--line); padding: 12px 0; }
  .facts-grid span { font-size: .82rem; }
  .section-intro, .services, .steps, .diagnostic-grid { grid-template-columns: 1fr; }
  .section-intro { gap: 16px; }
  .section-intro > p { max-width: 520px; }
  .case { min-height: 0; }
  .contract dl { grid-template-columns: 1fr 1fr; }
  .contact-inner { flex-direction: column; align-items: flex-start; justify-content: center; }
  .footer-row { flex-wrap: wrap; gap: 16px; }
}
@media (max-width: 560px) {
  .case-grid.application-grid { grid-template-columns: 1fr; }
}
@media (max-width: 440px) {
  .case-grid { grid-template-columns: 1fr; }
  .hero .actions { align-items: stretch; flex-direction: column; width: fit-content; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
