:root {
  --font-display: Arial, Helvetica, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
  --font-mono: Consolas, Courier New, monospace;
  --bg: #f7f9fb;
  --bg-alt: #eef3f6;
  --surface: #ffffff;
  --navy: #172235;
  --navy-2: #20304a;
  --ink: #263241;
  --muted: #657383;
  --faint: #8b98a6;
  --line: #dfe7ec;
  --line-2: #c9d5dd;
  --line-on-navy: #46566b;
  --accent: #10c0d4;
  --accent-ink: #06434c;
  --gold: #f4b63d;
  --maxw: 1180px;
  --gut: 28px;
  --sec-pad: 96px;
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.6; letter-spacing: 0; }
body.menu-open { overflow: hidden; }
button, input, textarea { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 100; transform: translateY(-150%); background: var(--surface); border: 1px solid var(--line-2); border-radius: 6px; padding: 10px 14px; }
.skip-link:focus { transform: none; outline: 3px solid rgba(16, 192, 212, .28); }
h1, h2, h3 { margin: 0; color: var(--navy); font-family: var(--font-display); line-height: 1.05; letter-spacing: 0; }
p { margin: 0; }

.hdr { position: sticky; top: 0; z-index: 60; background: rgba(247, 249, 251, .92); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.mark { display: inline-flex; align-items: center; border: 2px solid var(--navy); border-radius: 4px; color: var(--navy); font-family: var(--font-display); font-size: 22px; font-weight: 900; line-height: 1; padding: 3px 9px 2px; }
.sub { color: var(--muted); font-family: var(--font-mono); font-size: 11px; line-height: 1.35; text-transform: uppercase; }
.nav { display: flex; align-items: center; justify-content: center; gap: 28px; }
.nav a { color: var(--muted); font-family: var(--font-mono); font-size: 12px; }
.nav a:hover, .nav a:focus-visible { color: var(--navy); outline: none; }
.hdr-cta { display: flex; align-items: center; gap: 12px; }
.menu-btn { display: none; }

.btn, .btn-primary, .btn-dark, .btn-ghost, .menu-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid transparent; border-radius: 6px; cursor: pointer; font-family: var(--font-mono); font-size: 13px; font-weight: 700; padding: 12px 18px; text-decoration: none; transition: transform .15s ease, background-color .15s ease, border-color .15s ease; }
.btn:hover, .btn-primary:hover, .btn-dark:hover, .btn-ghost:hover, .menu-btn:hover { transform: translateY(-1px); }
.btn:focus-visible, .btn-primary:focus-visible, .btn-dark:focus-visible, .btn-ghost:focus-visible, .menu-btn:focus-visible { outline: 3px solid rgba(16, 192, 212, .28); }
.btn, .btn-dark { background: var(--navy); color: #fff; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--navy); }
.btn-dark { background: var(--navy); border-color: var(--navy); color: #fff; }

.hero { position: relative; overflow: hidden; padding: 96px 0 82px; border-bottom: 1px solid var(--line); }
.hero-bg { position: absolute; inset: 0; opacity: .24; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px), radial-gradient(circle at 22% 30%, rgba(16, 192, 212, .22), transparent 28%); background-size: 120px 120px, 120px 120px, auto; }
.hero .wrap { position: relative; z-index: 1; }
.hero-copy { max-width: 740px; }
.eyebrow, .seclabel, .num, .tag, .k, .c, .ct-mail span, .quick button { font-family: var(--font-mono); letter-spacing: 0; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; margin-bottom: 24px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.hero h1 { max-width: 18ch; font-size: clamp(36px, 5.4vw, 64px); font-weight: 900; }
.hero .hl { color: var(--accent-ink); }
.lead { max-width: 58ch; margin-top: 26px; color: var(--muted); font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.trustrow { display: flex; flex-wrap: wrap; gap: 0; margin-top: 48px; border-top: 1px solid var(--line); padding-top: 20px; }
.trustrow span { margin-right: 20px; padding-right: 20px; border-right: 1px solid var(--line-2); color: var(--muted); font-family: var(--font-mono); font-size: 12px; }
.trustrow span:last-child { border-right: 0; }

.band { background: var(--navy); color: #fff; }
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.band-cell { padding: 30px 26px; border-right: 1px solid var(--line-on-navy); }
.band-cell:last-child { border-right: 0; }
.band-cell .k { color: var(--accent); font-size: 11px; margin-bottom: 10px; }
.band-cell .v { color: #fff; font-family: var(--font-display); font-size: 17px; font-weight: 800; line-height: 1.25; }
.band-cell .d { margin-top: 6px; color: #c4d0dc; font-size: 13px; }

.services, .platform, .output, .workflow, .portfolio, .why, .contact { padding: var(--sec-pad) 0; border-bottom: 1px solid var(--line); }
.seclabel { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; color: var(--muted); font-size: 12px; }
.seclabel .idx { color: var(--accent-ink); font-weight: 800; }
.seclabel .bar { flex: 1; height: 1px; background: var(--line-2); }
.sec-head { max-width: 690px; margin-bottom: 46px; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 42px); }
.sec-head p { margin-top: 16px; color: var(--muted); font-size: 17px; }

.svc-grid, .out-grid { display: grid; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.svc-grid { grid-template-columns: repeat(3, 1fr); }
.svc, .out { background: var(--surface); transition: background-color .15s ease; }
.svc:hover, .out:hover { background: var(--bg-alt); }
.svc { display: flex; min-height: 220px; flex-direction: column; gap: 12px; padding: 30px 26px; }
.svc .num { color: var(--accent-ink); font-size: 12px; font-weight: 800; }
.svc h3 { font-size: 19px; }
.svc p { color: var(--muted); font-size: 14.5px; }
.svc .tag { margin-top: auto; color: var(--faint); font-size: 11px; }

.plat-feats { display: flex; overflow: hidden; margin-bottom: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.plat-feats > div { flex: 1; min-width: 220px; display: flex; gap: 13px; padding: 20px 24px; border-right: 1px solid var(--line); }
.plat-feats > div:last-child { border-right: 0; }
.plat-feats .mk { color: var(--accent-ink); font-family: var(--font-mono); }
.ft-t { color: var(--navy); font-weight: 800; }
.ft-d { margin-top: 3px; color: var(--muted); font-size: 13px; }
.plat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.plat { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.pl-browser { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.pl-bar { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--surface); }
.pl-dots { display: flex; gap: 6px; }
.pl-dots i { display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.pl-url { flex: 1; overflow: hidden; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--muted); font-family: var(--font-mono); font-size: 12px; padding: 6px 12px; white-space: nowrap; }
.pl-screen { display: flex; min-height: 214px; flex-direction: column; gap: 10px; padding: 18px; background: var(--bg); }
.pl-drop { border: 1px dashed var(--line-2); border-radius: 6px; background: var(--surface); color: var(--faint); font-family: var(--font-mono); font-size: 12px; padding: 18px; text-align: center; }
.pl-file { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); padding: 10px 12px; }
.ic { display: grid; flex: none; width: 34px; height: 34px; place-items: center; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font-family: var(--font-mono); font-size: 10px; }
.nm { flex: 1; min-width: 0; color: var(--ink); font-weight: 800; }
.nm small { display: block; color: var(--faint); font-family: var(--font-mono); font-size: 10px; font-weight: 400; }
.pl-prog { display: block; height: 4px; overflow: hidden; margin-top: 6px; border-radius: 999px; background: var(--line); }
.pl-prog i { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.progress-78 { width: 78%; }
.badge, .badge.ok { flex: none; border-radius: 999px; background: #dff6ea; color: #166b3d; font-family: var(--font-mono); font-size: 10px; font-weight: 800; padding: 5px 10px; text-transform: uppercase; }
.plat .meta { display: flex; flex-direction: column; gap: 11px; padding: 24px; }
.plat .meta .k { color: var(--accent-ink); font-size: 11px; }
.plat .meta h3 { font-size: 22px; }
.plat .meta p { color: var(--muted); font-size: 14.5px; }

.out-grid { grid-template-columns: repeat(4, 1fr); }
.out { display: flex; min-height: 132px; flex-direction: column; gap: 8px; padding: 24px; }
.out .c { color: var(--faint); font-size: 11px; }
.out .t { color: var(--navy); font-family: var(--font-display); font-weight: 800; }
.out .x { margin-top: auto; color: var(--muted); font-size: 13px; }

.flow { display: grid; grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding-right: 28px; }
.step:not(:last-child)::after { content: ''; position: absolute; top: 6px; right: 14px; bottom: 0; width: 1px; background: var(--line-2); }
.step .n { display: grid; width: 38px; height: 38px; margin-bottom: 22px; place-items: center; border: 2px solid var(--navy); border-radius: 50%; color: var(--navy); font-weight: 900; }
.step h3 { margin-bottom: 10px; font-size: 18px; }
.step p { color: var(--muted); font-size: 14px; }
.port-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.port { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.ph { display: grid; height: 220px; place-items: center; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(135deg, var(--bg-alt) 0 11px, var(--bg) 11px 22px); }
.ph span { border: 1px solid var(--line-2); border-radius: 4px; background: var(--surface); color: var(--faint); font-family: var(--font-mono); font-size: 11px; padding: 8px 12px; text-transform: uppercase; }
.port .meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; }
.port .meta h3 { font-size: 18px; }
.port .meta span { color: var(--faint); font-family: var(--font-mono); font-size: 11px; }
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.why-list { list-style: none; margin: 0; padding: 0; }
.why-list li { display: flex; gap: 16px; border-bottom: 1px solid var(--line); padding: 17px 0; }
.why-list span { flex: none; color: var(--accent-ink); font-family: var(--font-mono); }
.glos { display: grid; grid-template-columns: repeat(2, 1fr); overflow: hidden; margin-top: 54px; border: 1px solid var(--line); border-radius: var(--radius); }
.glos-row { display: grid; grid-template-columns: 110px 1fr; border-bottom: 1px solid var(--line); background: var(--surface); }
.glos-row span { border-right: 1px solid var(--line); background: var(--bg-alt); color: var(--navy); font-family: var(--font-mono); font-weight: 800; padding: 14px 16px; }
.glos-row p { color: var(--muted); font-size: 14px; padding: 14px 16px; }

.contact { background: var(--navy); color: #fff; }
.contact .seclabel, .contact p { color: #c4d0dc; }
.contact .seclabel .idx { color: var(--accent); }
.contact .seclabel .bar { background: var(--line-on-navy); }
.contact h2 { color: #fff; font-size: clamp(28px, 3.4vw, 42px); }
.ct-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; }
.ct-left { display: grid; gap: 24px; align-content: start; }
.ct-mail { display: grid; gap: 7px; }
.ct-mail span { color: #97a6b8; font-size: 11px; }
.ct-mail a { color: var(--accent); font-family: var(--font-mono); overflow-wrap: anywhere; }
.form { display: grid; gap: 16px; border: 1px solid var(--line-on-navy); border-radius: var(--radius); background: rgba(255,255,255,.04); padding: 28px; }
.form label { display: grid; gap: 8px; color: #c4d0dc; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; }
.form input, .form textarea { width: 100%; min-width: 0; border: 1px solid var(--line-on-navy); border-radius: 6px; background: rgba(255,255,255,.06); color: #fff; font-family: var(--font-body); font-size: 15px; padding: 12px 14px; }
.form input:focus, .form textarea:focus { border-color: var(--accent); outline: none; }
.form textarea { min-height: 98px; resize: vertical; }
.field-label { color: #c4d0dc; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line-on-navy); border-radius: 6px; background: transparent; color: #d7e0ea; cursor: pointer; font-family: var(--font-mono); font-size: 12px; padding: 8px 12px; }
.chip[data-on=true] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 800; }
.form-ok { color: var(--accent); font-family: var(--font-mono); font-size: 13px; }
.foot { background: #111827; color: #aab7c7; padding: 42px 0; }
.foot .wrap { display: grid; gap: 16px; }
.foot .mark { color: #fff; border-color: #66758a; }
.foot p { max-width: 760px; font-size: 13px; }

.chat-agent { position: fixed; right: 24px; bottom: 24px; z-index: 80; }
.chat-fab { display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 999px; background: var(--navy); color: #fff; cursor: pointer; font-family: var(--font-mono); font-size: 13px; padding: 14px 18px; box-shadow: 0 18px 40px rgba(23,34,53,.22); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.chat-panel { display: flex; position: fixed; right: 24px; bottom: 24px; width: min(384px, calc(100vw - 32px)); height: min(560px, calc(100vh - 48px)); flex-direction: column; overflow: hidden; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface); box-shadow: 0 24px 60px rgba(23,34,53,.24); }
.chat-head { display: flex; align-items: center; gap: 12px; background: var(--navy); color: #fff; padding: 15px 16px; }
.av { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 7px; background: var(--accent); color: var(--accent-ink); font-weight: 900; }
.chat-head .t { font-weight: 800; }
.chat-head .s { color: #c4d0dc; font-family: var(--font-mono); font-size: 11px; }
.chat-x { margin-left: auto; border: 0; background: transparent; color: #fff; cursor: pointer; font-size: 20px; }
.chat-body { display: flex; flex: 1; flex-direction: column; gap: 12px; overflow-y: auto; background: var(--bg); padding: 16px; }
.msg { max-width: 86%; align-self: flex-start; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); padding: 10px 12px; font-size: 14px; }
.msg p { overflow-wrap: anywhere; }
.msg.user { align-self: flex-end; border-color: var(--navy); background: var(--navy); color: #fff; }
.quick { display: flex; flex-wrap: wrap; gap: 7px; background: var(--bg); padding: 0 16px 12px; }
.quick button { border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--navy); cursor: pointer; font-size: 11px; padding: 7px 10px; }
.chat-input { display: flex; gap: 8px; border-top: 1px solid var(--line); background: var(--surface); padding: 12px; }
.chat-input input { flex: 1; min-width: 0; border: 1px solid var(--line-2); border-radius: 7px; color: var(--ink); padding: 10px 12px; }
.chat-input button { border: 0; border-radius: 7px; background: var(--accent); color: var(--accent-ink); cursor: pointer; font-weight: 800; padding: 0 14px; }
.chat-note { background: var(--surface); color: var(--faint); font-family: var(--font-mono); font-size: 10px; padding: 0 12px 10px; text-align: center; }
.chat-agent.is-open .chat-fab { display: none; }

.js-enabled [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .45s ease, transform .45s ease; }
.js-enabled [data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 940px) {
  :root { --sec-pad: 72px; }
  .menu-btn { display: inline-flex; }
  .nav { display: none; }
  .menu-open .nav { display: flex; position: fixed; left: 16px; right: 16px; top: 78px; z-index: 70; flex-direction: column; align-items: stretch; gap: 0; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface); box-shadow: 0 20px 50px rgba(23,34,53,.18); }
  .menu-open .nav a { border-bottom: 1px solid var(--line); padding: 16px; }
  .menu-open .nav a:last-child { border-bottom: 0; }
  .menu-backdrop { position: fixed; inset: 0; z-index: 55; background: rgba(23,34,53,.3); opacity: 0; pointer-events: none; }
  .menu-open .menu-backdrop { opacity: 1; pointer-events: auto; }
  .band-grid { grid-template-columns: repeat(2, 1fr); }
  .band-cell:nth-child(2) { border-right: 0; }
  .band-cell:nth-child(1), .band-cell:nth-child(2) { border-bottom: 1px solid var(--line-on-navy); }
  .svc-grid, .out-grid { grid-template-columns: repeat(2, 1fr); }
  .plat-grid, .port-grid, .split2, .ct-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .step::after { display: none; }
  .glos { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  :root { --gut: 18px; --sec-pad: 58px; }
  .hdr .wrap { gap: 14px; }
  .sub { display: none; }
  .hero { padding: 72px 0 58px; }
  .hero h1 { font-size: clamp(34px, 10vw, 48px); }
  .actions, .ct-left { align-items: stretch; }
  .btn-primary, .btn-dark, .btn-ghost, .btn { width: 100%; }
  .band-grid, .svc-grid, .out-grid, .flow { grid-template-columns: 1fr; }
  .band-cell { border-right: 0; border-bottom: 1px solid var(--line-on-navy); }
  .plat-feats { flex-direction: column; }
  .plat-feats > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .trustrow span { border-right: 0; margin-bottom: 6px; }
  .glos-row { grid-template-columns: 1fr; }
  .glos-row span { border-right: 0; border-bottom: 1px solid var(--line); }
  .chat-agent { right: 12px; bottom: 12px; }
  .chat-panel { right: 12px; bottom: 12px; width: calc(100vw - 24px); height: min(620px, calc(100vh - 24px)); }
}

section[id] { scroll-margin-top: 84px; }
