@import './tokens.css';
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; font-size: 16px; line-height: 1.6; }
body, html { min-width: 320px; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid #53c6c2; outline-offset: 4px; }
::selection { background: #a6d9d9; color: #13263a; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 200; left: 14px; top: -80px; background: var(--white); color: var(--navy); padding: 12px 18px; border-radius: 8px; box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; border: 0; clip: rect(0,0,0,0); overflow: hidden; white-space: nowrap; }
.section { padding: 104px 0; scroll-margin-top: 74px; }
.section-intro { margin-bottom: 42px; }
.section-intro.narrow { max-width: 805px; }
.section-intro p:not(.eyebrow) { font-size: 18px; color: var(--muted); line-height: 1.75; max-width: 770px; margin: 21px 0 0; }
.section-intro-spread { display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: 60px; }
.section-intro-spread > p { margin-bottom: 4px !important; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--teal); font-weight: 700; text-transform: uppercase; font-size: 11px; line-height: 1.5; letter-spacing: .16em; margin: 0 0 21px; }
.light-eyebrow { color: #83d4cf; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 { line-height: 1.16; letter-spacing: -.04em; }
h1 { font-size: clamp(2.35rem, 4.55vw, 4.4rem); line-height: 1.12; font-weight: 600; margin: 0; }
h2 { font-size: clamp(2.05rem, 3.5vw, 3.25rem); font-weight: 600; margin: 0; }
h3 { font-size: clamp(1.16rem, 1.8vw, 1.45rem); font-weight: 600; margin: 0; }
p { margin: 0; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 22px; padding: 13px 21px; font-size: 14px; font-weight: 700; border: 1px solid transparent; border-radius: 8px; transition: background .2s, border-color .2s, transform .2s, color .2s; line-height: 1.4; text-align: center; }
.button:hover { transform: translateY(-2px); }
.button-primary, .button-submit, .button-small { background: var(--teal); color: var(--white); }
.button-primary:hover, .button-submit:hover, .button-small:hover { background: var(--teal-hover); }
.button-ghost { border-color: rgba(255,255,255,.31); color: var(--white); background: transparent; }
.button-ghost:hover { background: rgba(255,255,255,.1); }
.button-light { background: var(--white); color: var(--navy); }
.button-light:hover { background: #d9f0ef; }
.button-small { min-height: 44px; font-size: 12px; padding: 12px 16px; gap: 14px; }
.text-link { color: var(--teal); font-size: 14px; font-weight: 700; border-bottom: 1px solid currentColor; display: inline-flex; align-items: center; gap: 12px; padding-bottom: 4px; width: fit-content; }
.text-link:hover { color: var(--teal-hover); }
.grid { display: grid; gap: 18px; }
.grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.item-number { color: var(--teal); font-weight: 700; font-size: 12px; letter-spacing: .07em; }
/* Header */
.site-header { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid rgba(20,38,61,.09); background: rgba(255,255,255,.97); backdrop-filter: blur(12px); }
.header-row { min-height: 78px; display: flex; gap: 24px; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; gap: 11px; align-items: center; color: var(--navy); font-size: 23px; font-weight: 700; letter-spacing: -.055em; white-space: nowrap; line-height: 1; }
.brand img { flex-shrink: 0; border-radius: 12px; }
.brand-dot { color: var(--teal); }
.desktop-nav { display: flex; gap: clamp(16px, 2.5vw, 32px); align-items: center; margin-left: auto; }
.desktop-nav a { color: #384c60; font-size: 13px; font-weight: 600; transition: color .2s; white-space: nowrap; }
.desktop-nav a:hover { color: var(--teal); }
.mobile-nav { display: none; }
/* Hero */
.hero { overflow: hidden; background: var(--navy); color: var(--white); position: relative; padding: 98px 0 108px; scroll-margin-top: 78px; }
.hero:before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(100,146,174,.07) 1px, transparent 1px),linear-gradient(90deg,rgba(100,146,174,.07) 1px,transparent 1px); background-size: 64px 64px; opacity: .45; pointer-events: none; }
.hero:after { content: ''; position: absolute; width: 550px; height: 550px; right: -210px; bottom: -420px; border-radius: 50%; border: 1px solid rgba(112,204,199,.18); box-shadow: 0 0 0 75px rgba(112,204,199,.025), 0 0 0 160px rgba(112,204,199,.023); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); align-items: center; gap: clamp(32px, 5.8vw, 95px); position: relative; z-index: 1; }
.eyebrow-hero { color: #94d9d6; margin-bottom: 30px; }
.eyebrow-mark { background: #6ad0c8; width: 8px; height: 8px; border-radius: 50%; }
.hero h1 { max-width: 780px; }
.hero h1 em { color: #73d0ca; font-style: normal; }
.hero-lead { font-size: clamp(16px, 1.6vw, 18px); color: #c5d1da; line-height: 1.75; margin: 26px 0 35px; max-width: 660px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-subnote { font-size: 12px; color: #89a0b5; margin-top: 37px; letter-spacing: .02em; }
.hero-visual { width: 100%; background: linear-gradient(145deg,#1b344e,#1a3048); border: 1px solid rgba(157,192,212,.21); border-radius: 23px; box-shadow: 0 36px 90px rgba(0,0,0,.18); padding: 27px 26px 24px; position: relative; min-height: 390px; }
.visual-topline { font-size: 10px; letter-spacing: .17em; color: #789db5; font-weight: 600; margin-bottom: 38px; }
.visual-node { padding: 16px; display: flex; align-items: center; gap: 13px; background: #243c55; border: 1px solid rgba(155,193,216,.23); border-radius: 12px; width: 78%; box-shadow: 0 12px 35px rgba(9,19,32,.09); }
.visual-node small, .visual-center small { display: block; color: #a4bacb; font-size: 10px; margin-bottom: 3px; line-height: 1.3; }
.visual-node strong, .visual-center strong { color: #fff; font-size: 14px; display: block; line-height: 1.5; }
.node-dot { display: block; width: 13px; height: 13px; flex: 0 0 13px; border: 3px solid #819aaf; border-radius: 50%; }
.teal-dot { border-color: #60c7c0; }
.node-right { margin-left: auto; width: 90%; }
.visual-connector { height: 34px; width: 65%; margin: 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.visual-connector span { display: block; width: 1px; height: 14px; background: #5caaa9; }
.visual-connector i { width: 6px; height: 6px; border: 1px solid #68c9c4; border-radius: 50%; }
.visual-center { background: #176e76; border: 1px solid #43aeb1; border-radius: 12px; width: 84%; padding: 15px; margin: auto; display: flex; gap: 14px; align-items: center; }
.visual-k { width: 39px; height: 39px; display: grid; place-items: center; font-size: 22px; font-weight: 700; border-radius: 9px; color: #fff; background: #153c4c; }
.visual-caption { border-top: 1px solid rgba(255,255,255,.1); margin-top: 28px; padding-top: 16px; font-size: 11px; color: #9cb5c4; display: flex; align-items: center; gap: 9px; }
.live-indicator { width: 6px; height: 6px; border-radius: 50%; background: #65cdc5; }
/* Sections */
.problem-section { background: #fff; }
.problem-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 29px 28px; min-height: 235px; }
.problem-card h3 { margin: 34px 0 14px; }
.problem-card p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.section-outro { margin-top: 32px; padding-left: 25px; border-left: 3px solid var(--teal); max-width: 880px; }
.section-outro p { font-size: 15px; color: var(--muted); margin-bottom: 10px; }
.section-outro strong { font-size: 16px; font-weight: 600; }
.service-section { background: var(--surface); }
.service-card { min-width: 0; background: var(--white); border: 1px solid #e4e9ee; border-radius: 18px; padding: 34px 33px 27px; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(20,38,61,.11); }
.card-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.card-arrow { border: 1px solid #d5e5e6; color: var(--teal); width: 31px; height: 31px; border-radius: 50%; display: grid; place-items: center; }
.service-card h3 { max-width: 440px; margin-bottom: 15px; }
.service-card p { color: var(--muted); line-height: 1.76; font-size: 14px; margin-bottom: 26px; }
.tags { list-style: none; padding: 19px 0 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid #e8edf0; }
.tags li { color: #436576; background: #edf5f5; font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 40px; }
.support-strip { background: #e7eef2; border: 1px solid #dbe4e9; padding: 26px 32px; margin-top: 19px; display: flex; align-items: center; justify-content: space-between; border-radius: 16px; gap: 20px; }
.support-strip h3 { font-size: 21px; margin-bottom: 8px; }
.support-strip p:not(.eyebrow) { max-width: 790px; color: var(--muted); font-size: 14px; }
.support-strip .eyebrow { margin-bottom: 8px; }
.support-strip .text-link { flex-shrink: 0; }
.industries-section { background: white; }
.industry-list { border-top: 1px solid var(--line); }
.industry-row { display: grid; grid-template-columns: 60px minmax(180px, .9fr) minmax(240px, 1.5fr) 24px; column-gap: 25px; align-items: start; padding: 29px 11px; border-bottom: 1px solid var(--line); }
.industry-row h3 { font-size: 20px; }
.industry-row p { color: var(--muted); font-size: 14px; line-height: 1.75; }
.row-arrow { font-size: 20px; color: var(--teal); }
.industry-after { color: var(--muted); font-size: 15px; max-width: 810px; margin-top: 28px; }
.approach-section { background: var(--navy); color: white; }
.approach-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px, 7vw, 100px); }
.approach-heading h2 { max-width: 500px; }
.approach-heading > p:not(.eyebrow) { color: #bfccd7; margin: 23px 0 34px; max-width: 460px; font-size: 16px; }
.principle { display: grid; grid-template-columns: 48px 1fr; align-items: start; gap: 12px; border-top: 1px solid rgba(255,255,255,.2); padding: 23px 0 25px; }
.principle:last-child { border-bottom: 1px solid rgba(255,255,255,.2); }
.principle .item-number { color: #7bd2cb; }
.principle h3 { font-size: 20px; margin-bottom: 9px; }
.principle p { font-size: 14px; color: #b3c4d1; line-height: 1.65; }
.process-section { background: var(--surface); }
.process-card { padding: 28px 22px; background: #fff; border: 1px solid #e3e9ef; border-radius: var(--radius); min-height: 247px; }
.step-number { font-size: 39px; font-weight: 600; color: var(--teal); letter-spacing: -.06em; display: block; line-height: 1; margin-bottom: 44px; }
.process-card h3 { font-size: 18px; margin-bottom: 12px; }
.process-card p { color: var(--muted); font-size: 13px; line-height: 1.72; }
.about-section { background: white; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(45px, 7vw, 105px); }
.about-text { display: grid; gap: 18px; }
.about-text p { color: #485a6c; font-size: 16px; line-height: 1.85; }
.contact-section { background: #edf3f5; }
.contact-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(40px, 7vw, 105px); align-items: start; }
.contact-copy h2 { margin-bottom: 19px; }
.contact-copy > p:not(.eyebrow) { color: var(--muted); margin-top: 17px; line-height: 1.8; }
.contact-copy .contact-lead { font-size: 20px; font-weight: 600; color: var(--navy) !important; }
.contact-side-note { display: flex; gap: 17px; align-items: center; margin-top: 41px; padding-top: 25px; border-top: 1px solid #cedadf; }
.contact-side-note > span { font-size: 38px; color: var(--teal); }
.contact-side-note p { font-weight: 600; font-size: 15px; line-height: 1.5; }
.contact-panel { background: white; padding: 35px; border-radius: 21px; box-shadow: 0 16px 45px rgba(20,38,61,.06); border: 1px solid #e2e9ee; }
#contact-form { display: grid; gap: 17px; }
#contact-form label { font-weight: 600; color: var(--slate); font-size: 13px; display: grid; gap: 8px; }
#contact-form label span[aria-hidden] { color: var(--teal); }
#contact-form input:not([type=checkbox]):not([type=hidden]), #contact-form textarea { width: 100%; background: #fbfcfd; color: #1b324a; border: 1px solid #cbd6df; border-radius: 9px; padding: 13px 14px; min-height: 49px; transition: border-color .2s, background .2s; }
#contact-form input:focus, #contact-form textarea:focus { background: #fff; border-color: var(--teal); }
#contact-form textarea { resize: vertical; min-height: 142px; }
#contact-form input::placeholder, #contact-form textarea::placeholder { color: #8896a4; }
#contact-form .optional { color: #7a8b9b; font-weight: 400; font-size: 11px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
#contact-form .consent { display: flex; flex-direction: row; gap: 12px; align-items: start; line-height: 1.6; font-size: 12px; font-weight: 400; }
.consent input { width: 17px; height: 17px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--teal); }
.consent a, .contact-email a { text-decoration: underline; text-underline-offset: 3px; color: var(--teal); }
.honeypot { position: absolute; left: -9999px; height: 1px; overflow: hidden; }
.button-submit { width: 100%; }
.button-submit:disabled { opacity: .64; cursor: wait; transform: none; }
.form-note { font-size: 11px; color: #718394; }
.form-status { padding: 10px 12px; border-radius: 7px; font-size: 13px; }
.form-status.is-success { background: #e5f4ef; color: #205d4e; }
.form-status.is-error { background: #fff0ee; color: #91372d; }
.contact-pending { padding: 13px 8px; }
.pending-icon { display: grid; place-items: center; width: 51px; height: 51px; background: #e5f3f2; border-radius: 13px; color: var(--teal); font-size: 29px; margin-bottom: 23px; }
.contact-pending h3 { font-size: 22px; margin-bottom: 12px; }
.contact-pending p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.contact-email { margin-top: 18px; padding-top: 19px; border-top: 1px solid var(--line); font-size: 13px; }
/* Footer + legal */
.site-footer { background: #0f2032; color: #fff; padding: 58px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.25fr 1fr .75fr; gap: 55px; padding-bottom: 52px; }
.brand-invert { color: white; }
.footer-top p { color: #a3b7c7; font-size: 14px; margin-top: 18px; line-height: 1.75; }
.footer-links { display: grid; gap: 14px; align-content: start; }
.footer-links a { font-size: 13px; color: #bfced9; }
.footer-links a:hover, .footer-location a:hover { color: #76d4ce; }
.footer-location .eyebrow { margin: 3px 0 5px; }
.footer-location p { margin-top: 0; }
.footer-location a { font-size: 13px; color: #bcd1de; display: block; margin-top: 14px; overflow-wrap: anywhere; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; gap: 15px; padding: 20px 0 22px; color: #7893a6; font-size: 12px; }
.legal-main { padding: 65px 0 100px; }
.legal-container { max-width: 790px; }
.legal-main h1 { font-size: clamp(2.1rem, 4.5vw, 3.25rem); margin-bottom: 25px; }
.legal-main h2 { font-size: 22px; margin: 34px 0 12px; }
.legal-main p { color: var(--muted); line-height: 1.8; font-size: 15px; }
.legal-main p a { text-decoration: underline; color: var(--teal); }
.legal-main .eyebrow { margin-top: 30px; }
.legal-notice { background: #fff5e5; border-left: 3px solid #cc8730; color: #614214; padding: 18px 22px; font-size: 14px; line-height: 1.7; }
.legal-updated { margin-top: 45px; color: #81909d !important; font-size: 12px !important; }
.back-link { margin: 0 0 20px; }
@media (max-width: 1090px) {
  .desktop-nav { gap: 14px; }
  .desktop-nav a { font-size: 12px; }
  .hero-grid { grid-template-columns: 1fr .82fr; gap: 34px; }
  .hero-visual { padding: 22px 18px; }
}
@media (max-width: 880px) {
  .desktop-nav, .header-cta { display: none; }
  .mobile-nav { display: block; position: relative; margin-left: auto; }
  .mobile-nav summary { list-style: none; display: grid; align-content: center; gap: 6px; width: 42px; height: 42px; padding: 10px; cursor: pointer; border: 1px solid #d5e1e8; border-radius: 8px; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary > span:not(.sr-only) { height: 2px; display: block; background: var(--navy); width: 100%; }
  .mobile-nav nav { position: absolute; right: 0; top: calc(100% + 13px); display: grid; gap: 0; min-width: min(320px, calc(100vw - 40px)); padding: 13px; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 13px; background: #fff; }
  .mobile-nav nav a { padding: 12px; font-weight: 600; font-size: 14px; }
  .mobile-nav nav a:hover { background: var(--surface); }
  .mobile-nav nav .mobile-nav-cta { background: var(--teal); color: #fff; border-radius: 8px; text-align: center; margin-top: 6px; }
  .hero { padding: 72px 0 75px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 770px; }
  .hero-visual { min-height: 0; max-width: 540px; margin-top: 22px; }
  .grid-four { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .section-intro-spread { grid-template-columns: 1fr; gap: 8px; }
  .approach-grid, .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .approach-heading h2 { max-width: 760px; }
  .approach-heading > p:not(.eyebrow) { max-width: 720px; }
  .industry-row { grid-template-columns: 40px 1fr 1fr 20px; gap: 16px; }
  .footer-top { grid-template-columns: 1.2fr 1fr; gap: 35px; }
}
@media (max-width: 620px) {
  html { scroll-padding-top: 70px; }
  .container { width: min(calc(100% - 32px), var(--container)); }
  .site-header .header-row { min-height: 68px; }
  .brand { font-size: 21px; }
  .brand img { width: 37px; height: 37px; }
  .section { padding: 68px 0; }
  .section-intro { margin-bottom: 27px; }
  .section-intro p:not(.eyebrow) { font-size: 16px; margin-top: 16px; }
  .eyebrow { font-size: 10px; margin-bottom: 16px; }
  .hero { padding: 64px 0 71px; }
  .hero h1 { font-size: clamp(2.16rem, 9.1vw, 3.3rem); }
  .hero-lead { margin: 21px 0 28px; line-height: 1.75; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .hero-subnote { line-height: 1.8; margin-top: 25px; }
  .hero-visual { padding: 20px 15px 18px; border-radius: 17px; }
  .visual-topline { margin-bottom: 22px; }
  .visual-node { width: 88%; }
  .visual-center { width: 92%; }
  .visual-node strong, .visual-center strong { font-size: 12px; }
  .visual-node small { font-size: 10px; }
  .grid-two, .grid-three, .grid-four { grid-template-columns: 1fr; }
  .problem-card { min-height: 0; padding: 24px; }
  .problem-card h3 { margin-top: 17px; }
  .section-outro { padding-left: 17px; }
  .service-card { padding: 28px 23px 24px; }
  .card-meta { margin-bottom: 19px; }
  .support-strip { flex-direction: column; align-items: start; padding: 24px; }
  .industry-row { grid-template-columns: 38px 1fr 20px; padding: 24px 0; }
  .industry-row h3 { font-size: 18px; }
  .industry-row p { grid-column: 2 / 3; }
  .industry-row .row-arrow { grid-row: 1; grid-column: 3; }
  .principle { grid-template-columns: 35px 1fr; }
  .principle h3 { font-size: 19px; }
  .step-number { margin-bottom: 22px; }
  .process-card { min-height: 0; padding: 25px; }
  .contact-panel { padding: 25px 19px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Approved Kerbenix brand raster, cropped without redrawing. */
.brand .brand-wordmark { display:block; width:clamp(160px,18vw,212px); height:auto; border-radius:0; background:#fff; }
.brand-invert .brand-wordmark { padding:5px 8px; border-radius:5px; }
/* Locale switcher: visible on desktop and mobile; URL-based, no language detection or cookies. */
.language-switch { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; white-space: nowrap; font-size: 12px; font-weight: 700; letter-spacing: .035em; }
.language-switch a { color: #687c8f; border-radius: 4px; padding: 7px 3px; text-decoration: none; }
.language-switch a:hover { color: var(--teal); }
.language-switch a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -2px var(--teal); }
.language-switch > span { color: #a4b3bf; font-weight: 400; }
@media (max-width: 880px) {
  .site-header .header-row { gap: 14px; }
  .language-switch { margin-left: auto; }
  .mobile-nav { margin-left: 0; }
}
@media (max-width: 620px) {
  .brand .brand-wordmark { width: min(40vw, 172px); height: auto; }
  .site-header .header-row { gap: 8px; }
  .language-switch { gap: 3px; }
  .language-switch a { padding: 8px 2px; font-size: 11px; }
}
