:root {
  color-scheme: dark;
  --background: #14181c;
  --panel-dark: #191e23;
  --line: #48525a;
  --white: #f4f7f8;
  --muted: #bcc6cd;
  --cyan: #7fdbed;
  --teal-dark: #006f86;
  --ink: #172031;
  --metal-surface: linear-gradient(135deg, #353c43, #232a30 53%, #1d2228);
  --font: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; background: var(--background); color: var(--white); font-family: var(--font); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }
::selection { color: #081321; background: var(--cyan); }

.shell { width: min(100% - 80px, 1180px); margin-inline: auto; }
.skip { position: fixed; z-index: 10; top: 10px; left: 10px; padding: 12px 18px; background: var(--cyan); color: #071421; transform: translateY(-160%); }
.skip:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 2; border-bottom: 1px solid #d6dde2; background: #fefefe; color: var(--ink); box-shadow: 0 8px 28px #080e191f; }
.site-header :focus-visible { outline-color: var(--teal-dark); }
.header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.header-logo { display: block; flex: none; width: clamp(168px, 18vw, 226px); }
.header-logo img { width: 100%; height: auto; aspect-ratio: 2.65; object-fit: cover; object-position: center 46%; }
.brand { display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; font: 800 20px/1 var(--font); letter-spacing: .025em; }
.brand-tech { color: var(--cyan); }
.brand-mark { display: block; position: relative; flex: 0 0 32px; width: 32px; height: 32px; border: 1px solid #587583; border-radius: 8px; background: #27363f; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; height: 1px; width: 14px; left: 8px; background: var(--cyan); transform-origin: left; }
.brand-mark::before { top: 15px; transform: rotate(-35deg); }
.brand-mark::after { top: 15px; transform: rotate(35deg); }
.brand-mark i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); }
.brand-mark i:nth-child(1) { top: 13px; left: 6px; }
.brand-mark i:nth-child(2) { top: 5px; left: 18px; }
.brand-mark i:nth-child(3) { top: 21px; left: 18px; }
nav { display: flex; gap: clamp(16px, 2.6vw, 32px); align-items: center; font-size: .92rem; font-weight: 650; }
nav a { padding-block: 10px; white-space: nowrap; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 6px; }
nav a:hover { color: var(--teal-dark); text-decoration-line: underline; text-decoration-color: var(--teal-dark); }
.footer-inner a:hover, .contact-link:hover { color: var(--cyan); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 12px 19px; border: 1px solid transparent; border-radius: 12px; font-size: .9rem; font-weight: 800; line-height: 1.3; transition: background .18s, border-color .18s, box-shadow .18s, transform .18s; }
.button span { font-size: 1.13rem; line-height: 1; }
.button-primary { background: linear-gradient(135deg, #00758a, #00556e); color: #fff; box-shadow: 0 8px 22px #00778c3d; }
.button-primary:hover { transform: translateY(-2px); box-shadow: 0 11px 26px #007b9366; }
.button-outline { border-color: #a5b0b878; color: var(--white); background: #f1f5fa14; }
.button-outline:hover { border-color: #b4bfc5; background: #f1f5fa27; }
.header-contact { min-height: 41px; padding-block: 8px; border-radius: 10px; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--background); }
.hero-inner { min-height: clamp(550px, 47vw, 670px); display: flex; align-items: center; position: relative; }
.hero-copy { width: min(58%, 650px); padding-block: 78px 90px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--cyan); font-size: .79rem; font-weight: 800; line-height: 1.45; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 11px #69c4d477; }
.hero h1 { margin-top: 18px; font-weight: 800; font-size: clamp(2.5rem, 5vw, 4.25rem); letter-spacing: -.05em; line-height: 1.03; text-shadow: 0 14px 38px #090d12c0; }
.hero h1 em { color: #c2d3dc; font-style: normal; display: block; }
.hero-summary { max-width: 485px; margin-top: 22px; color: #d4dde3; font-size: clamp(1rem, 1.45vw, 1.21rem); line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-art { position: absolute; z-index: -1; inset: 0 0 0 26%; }
.hero-art picture, .hero-art img { display: block; width: 100%; height: 100%; }
.hero-art img { object-fit: cover; object-position: 60% center; filter: saturate(.74) contrast(1.04); }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--background) 0%, #14181cef 12%, #14181c80 29%, transparent 57%), linear-gradient(0deg, var(--background) 0%, transparent 32%); }
.hero-ai { position: absolute; z-index: 1; left: 5%; bottom: 7%; color: #d5edf3; font: 800 clamp(1.7rem, 3.2vw, 2.8rem)/1 var(--font); letter-spacing: -.045em; text-shadow: 0 1px 15px #11191f; }

.section { padding-block: 84px; }
.section h2 { max-width: 770px; margin-top: 11px; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.section p:not(.eyebrow) { color: var(--muted); line-height: 1.65; }
.applications { border-top: 1px solid var(--line); background: linear-gradient(180deg, #2c3238, #1c2227 76%); }
.section-intro { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: end; margin-bottom: 30px; }
.section-intro > p { max-width: 360px; padding-bottom: 4px; }
.scenarios { display: grid; grid-template-columns: minmax(185px, 1fr) minmax(0, 3.7fr); border: 1px solid #59646c; border-radius: 18px; overflow: hidden; background: var(--metal-surface); box-shadow: inset 0 1px #f0f5fb16, 0 18px 40px #0a0d1045; }
.scenarios:has(.scenario-controls[hidden]) { display: block; }
.scenario-controls { display: flex; flex-direction: column; padding: 12px; border-right: 1px solid var(--line); background: var(--panel-dark); }
.scenario-controls button { display: flex; min-height: 55px; justify-content: space-between; align-items: center; text-align: left; gap: 8px; padding: 10px 13px; border: 1px solid transparent; border-radius: 9px; color: #d0d9df; background: transparent; cursor: pointer; font-size: .87rem; font-weight: 650; }
.scenario-controls button:hover { background: #2d373f; }
.scenario-controls button[aria-selected="true"] { color: #b3e9f3; background: linear-gradient(135deg, #344b57, #26343d); border-color: #637d8a; }
.scenario-controls button:focus-visible { outline-offset: -3px; }
.scenario-controls button span { color: var(--cyan); }
.scenario-panel { display: grid; grid-template-columns: 1fr minmax(0, 1.15fr); gap: clamp(16px, 3vw, 40px); align-items: center; padding: clamp(22px, 3.5vw, 44px); min-height: 292px; }
.scenario-panel + .scenario-panel:not([hidden]) { border-top: 1px solid var(--line); }
.scenario-panel h3, .flow-list h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 750; line-height: 1.15; letter-spacing: -.03em; }
.scenario-panel h3 { margin-block: 10px; }
.scenario-text > p:not(.eyebrow), .flow-list p { font-size: .92rem; }
.signal { min-width: 0; border: 1px solid #56616a; border-radius: 12px; padding: 14px; background: #151b20; }
.signal-header, .signal-footer { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--muted); font-size: .72rem; }
.signal-header { margin-bottom: 12px; }
.signal-header strong { color: var(--white); font-size: .81rem; }
.signal-footer { margin-top: 8px; }
.signal canvas { width: 100%; height: 110px; display: block; }
.signal:not([data-drawn]) canvas { display: none; }

.workflow { background: var(--background); }
.flow-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 52px); padding: 0; margin: 36px 0 0; }
.flow-list li { border-top: 1px solid #626e78; padding-top: 19px; }
.flow-list li > span { display: inline-block; margin-bottom: 13px; color: var(--cyan); font: 700 .82rem/1 var(--font); letter-spacing: .08em; }
.flow-list p { margin-top: 10px; }

.ai { padding-top: 0; }
.ai-panel { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(25px, 5vw, 65px); align-items: center; padding: clamp(25px, 5.6vw, 70px); border-radius: 18px; border: 1px solid #59646c; background: repeating-linear-gradient(0deg, #ebf7ff05 0 1px, transparent 1px 4px), var(--metal-surface); box-shadow: inset 0 1px #f0f5fb20, 0 18px 45px #0a0d1038; }
.ai-panel p:not(.eyebrow) { margin-top: 15px; max-width: 500px; }
.ai-question { border-left: 2px solid var(--cyan); padding: 18px 21px; border-radius: 0 10px 10px 0; background: #13191ec9; }
.ai-question figcaption { color: var(--cyan); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; font-weight: 700; }
.ai-question blockquote { font: 650 clamp(1.12rem, 1.75vw, 1.5rem)/1.42 var(--font); text-wrap: pretty; }

.contact { border-top: 1px solid var(--line); background: linear-gradient(140deg, #242b31, #343e45 60%, #222a2f); }
.contact-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 26px; }
.contact p:not(.eyebrow) { margin-top: 13px; max-width: 575px; }
.contact-actions { display: flex; flex-direction: column; align-items: center; gap: 13px; }
.contact-link { padding: 4px 6px; color: #e0e7eb; font-size: .92rem; }
.site-footer { background: #101519; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px 26px; min-height: 94px; flex-wrap: wrap; padding-block: 17px; }
.footer-inner p { color: var(--muted); font-size: .84rem; line-height: 1.5; }
.footer-inner p a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1020px) {
  .shell { width: min(100% - 60px, 1180px); }
  .hero-art { left: 22%; }
  .section { padding-block: 64px; }
  .ai { padding-top: 0; }
}

@media (max-width: 770px) {
  html { scroll-padding-top: 138px; }
  .shell { width: calc(100% - 44px); }
  .header-inner { flex-wrap: wrap; min-height: 0; padding-top: 12px; row-gap: 0; }
  .header-logo { width: clamp(148px, 32vw, 180px); }
  nav { order: 3; width: 100%; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; }
  nav a { padding-block: 13px 12px; }
  .header-contact { min-height: 36px; padding: 7px 10px; }
  .hero { display: flex; flex-direction: column; }
  .hero-inner { order: -1; min-height: 0; }
  .hero-copy { width: 100%; padding-block: 46px 10px; }
  .hero h1 { font-size: clamp(2.5rem, 7.1vw, 3.7rem); }
  .hero-summary { margin-top: 18px; }
  .actions { margin-top: 23px; }
  .hero-art { position: relative; inset: auto; height: clamp(248px, 63vw, 470px); margin-top: 3px; }
  .hero-art::after { background: linear-gradient(0deg, var(--background) 0%, transparent 26%, transparent 85%, var(--background) 100%); }
  .hero-ai { left: 22px; bottom: 9%; }
  .section-intro { grid-template-columns: 1fr; gap: 13px; }
  .section-intro > p { max-width: 480px; }
  .scenario-controls { flex-direction: row; flex-wrap: wrap; gap: 4px; border-right: 0; border-bottom: 1px solid var(--line); }
  .scenario-controls button { min-height: 43px; }
  .scenarios { display: block; }
  .scenario-panel { min-height: 245px; }
  .ai-panel, .contact-inner { grid-template-columns: 1fr; }
  .contact-actions { align-items: flex-start; }
}

@media (max-width: 510px) {
  .header-inner { column-gap: 8px; }
  .brand { font-size: 17px; gap: 8px; }
  .brand-mark { transform: scale(.91); transform-origin: left; }
  nav { font-size: .78rem; }
  .hero-copy { padding-top: 39px; }
  .hero h1 { margin-top: 15px; }
  .actions { gap: 8px; }
  .button { padding-inline: 11px; gap: 8px; }
  .section { padding-block: 50px; }
  .ai { padding-top: 0; }
  .scenario-panel { grid-template-columns: 1fr; gap: 18px; padding: 20px; }
  .scenario-controls button { font-size: .79rem; padding-inline: 9px; }
  .flow-list { grid-template-columns: 1fr; gap: 25px; margin-top: 25px; }
  .flow-list li > span { margin-bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

