/* ArgoX — site styles */
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2"); }

:root {
  --blue: #0D46DB;
  --blue-2: #0B3DB0;
  --blue-3: #2D5FE0;
  --navy: #041745;
  --navy-hair: #15347E;
  --foot: #07256A;
  --foot-hair: #1E458F;
  --foot-ash: #AEC2EC;
  --foot-dim: #8499C8;
  --bg: #F7F8FA;
  --paper: #FFFFFF;
  --paper-2: #F3F5F8;
  --ink: #10141F;
  --ink-2: #262C3B;
  --ink-3: #3C4453;
  --ink-4: #545C6E;
  --ink-5: #6C7689;
  --hair: #E2E6EE;
  --hair-2: #CDD3DF;
  --hair-3: #E9ECF2;
  --on-blue-soft: #BCD0FF;
  --on-blue-text: #E4ECFF;
  --on-blue-accent: #9FC2FF;
  --ok: #1E8F5A;
  --error: #B42318;
  --white-16: rgba(255, 255, 255, 0.16);
  --white-50: rgba(255, 255, 255, 0.5);
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 3px;
  --max: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hdr-h: 88px;
  --hdr-h-stuck: 64px;
  --subnav-h: 54px;
}
@media (max-width: 760px) { :root { --hdr-h: 68px; --hdr-h-stuck: 60px; --subnav-h: 50px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h-stuck) + 16px); }
html:has(.subnav) { scroll-padding-top: calc(var(--hdr-h-stuck) + var(--subnav-h) + 20px); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a[href^="mailto:"] { white-space: nowrap; }
a[href^="tel:"] { white-space: nowrap; }
a:hover { color: var(--blue-2); }
h1, h2, h3 { margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.on-blue :focus-visible { outline-color: #FFFFFF; }
::selection { background: rgba(13, 70, 219, .18); }
[hidden] { display: none !important; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: #FFFFFF; color: var(--blue); padding: 10px 16px; }
.skip:focus { left: 16px; top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 40px; }
@media (max-width: 640px) { .container { padding: 0 20px; } }

.mono { font-family: var(--mono); }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-4); }
.on-blue .eyebrow { color: var(--on-blue-soft); }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: var(--radius); border: 1px solid transparent; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s, box-shadow .2s; }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 44px; padding: 0 20px; font-weight: 500; }
.btn-white { background: #FFFFFF; color: var(--blue); }
.btn-white:hover { background: var(--on-blue-text); color: var(--blue-2); }
.btn-ghost { border-color: var(--white-50); color: #FFFFFF; font-weight: 500; }
.btn-ghost:hover { border-color: #FFFFFF; color: #FFFFFF; background: rgba(255, 255, 255, .06); }
.btn-blue { background: var(--blue); color: #FFFFFF; border: none; }
.btn-blue:hover { background: var(--blue-2); color: #FFFFFF; }
.btn-blue[disabled] { opacity: .65; cursor: progress; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; text-decoration: none; }
button.text-link { padding: 0; border: 0; background: none; color: var(--blue); }
.arr { display: inline-block; transition: transform .25s var(--ease); }
a:hover .arr, button:hover .arr, a:focus-visible .arr { transform: translateX(4px); }

/* Header */
.strip { background: var(--navy); color: var(--on-blue-soft); font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.strip .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding-top: 10px; padding-bottom: 10px; }
@media (max-width: 760px) { .strip-name { display: none; } }
.site-header { position: sticky; top: 0; z-index: 60; height: var(--hdr-h); pointer-events: none; }
.site-header .bar { position: absolute; inset: 0 0 auto 0; height: var(--hdr-h); background: var(--blue); color: #FFFFFF; pointer-events: auto; transition: height .3s var(--ease), box-shadow .3s; }
.site-header .bar > .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--white-16); transition: border-color .3s; }
.site-header.is-stuck .bar { height: var(--hdr-h-stuck); box-shadow: 0 12px 30px -14px rgba(4, 23, 69, .55); }
.site-header.is-stuck .bar > .container { border-bottom-color: transparent; }
.brand { display: flex; align-items: center; }
.brand img { height: 41px; width: auto; transition: height .3s var(--ease); }
.site-header.is-stuck .brand img { height: 34px; }
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; overflow: hidden; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--on-blue-accent); transform: scaleX(0); transform-origin: 0 50%; }

.nav { display: flex; align-items: center; gap: 30px; font-size: 15px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { position: relative; color: var(--on-blue-text); text-decoration: none; padding: 6px 0; transition: color .2s; }
.nav-links a[aria-current="page"] { color: #FFFFFF; font-weight: 600; }
.nav-links a:hover { color: #FFFFFF; }
.nav .btn-white, .nav .btn-white:hover { color: var(--blue); }
.nav-top, .nav-extra, .menu-toggle { display: none; }

@media (min-width: 761px) {
  .nav[popover] { display: flex; position: static; inset: auto; width: auto; height: auto; margin: 0; padding: 0; border: 0; background: none; color: inherit; overflow: visible; }
}

@media (max-width: 760px) {
  .brand img { height: 34px; }
  .site-header.is-stuck .brand img { height: 31px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; color: #FFFFFF; }
  .bars { position: relative; display: block; width: 22px; height: 14px; }
  .bars i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 1px; background: currentColor; transition: transform .3s var(--ease), opacity .2s, width .3s var(--ease); }
  .bars i:nth-child(1) { top: 0; }
  .bars i:nth-child(2) { top: 6px; right: 6px; }
  .bars i:nth-child(3) { top: 12px; }
  .menu-toggle:hover .bars i:nth-child(2) { right: 0; }
  .nav[popover] { display: none; position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0 20px 28px; border: 0; background: var(--blue); color: #FFFFFF; overflow-y: auto; flex-direction: column; align-items: stretch; gap: 26px; }
  .nav[popover]:popover-open { display: flex; }
  .nav[popover]::backdrop { background: rgba(4, 23, 69, .4); }
  .nav[popover] { opacity: 0; transform: translateY(-12px); transition: opacity .25s var(--ease), transform .3s var(--ease); }
  .nav[popover] { transition: opacity .25s var(--ease), transform .3s var(--ease), overlay .3s allow-discrete, display .3s allow-discrete; }
  .nav[popover]:popover-open { opacity: 1; transform: none; }
  @starting-style { .nav[popover]:popover-open { opacity: 0; transform: translateY(-12px); } }
  .nav-top { display: flex; flex: none; align-items: center; justify-content: space-between; height: var(--hdr-h); border-bottom: 1px solid var(--white-16); }
  .nav-top img { height: 34px; width: auto; }
  .menu-close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; color: #FFFFFF; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a { color: #FFFFFF; font-size: 30px; font-weight: 500; letter-spacing: -0.01em; padding: 14px 0; border-bottom: 1px solid var(--white-16); }
  .nav-links a[aria-current="page"] { color: var(--on-blue-accent); }
  .nav-cta { min-height: 52px; font-size: 16px; }
  .nav-extra { display: flex; flex-direction: column; gap: 6px; margin-top: auto; font-family: var(--mono); font-size: 13px; color: var(--on-blue-soft); }
  .nav-extra a { color: #FFFFFF; font-size: 15px; text-decoration: none; }
  .nav:popover-open .nav-links a, .nav:popover-open .nav-cta { animation: rise .5s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 55ms + 80ms); }
  body:has(.nav:popover-open) { overflow: hidden; }
}

@supports not selector(:popover-open) {
  .menu-toggle, .nav-top, .nav-extra { display: none !important; }
  .nav { display: flex !important; flex-wrap: wrap; }
  @media (max-width: 760px) {
    .site-header { height: auto; position: relative; }
    .site-header .bar { position: relative; height: auto; }
    .site-header .bar > .container { flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
    .nav, .nav-links { gap: 18px; }
  }
}

/* Hero */
.top { background: var(--blue); color: #FFFFFF; }
.hero { padding: 56px 0 72px; }
.hero-grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 26px; }
.hero h1 { font-size: clamp(38px, 5vw, 58px); line-height: 1.08; font-weight: 600; letter-spacing: -0.02em; }
.hero p.lead { max-width: 560px; font-size: 18px; line-height: 1.6; color: var(--on-blue-text); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 6px; }
.rotator { display: inline-grid; justify-items: start; vertical-align: baseline; overflow: clip; padding: 0 .05em .16em; margin: 0 -.05em -.16em; white-space: nowrap; color: var(--on-blue-accent); transition: width .55s var(--ease); }
.rotator-word { grid-area: 1 / 1; transition: transform .55s var(--ease), opacity .4s ease; }
.rotator-word.is-entering { transform: translateY(105%); opacity: 0; }
.rotator-word.is-leaving { transform: translateY(-105%); opacity: 0; }
.page-hero { padding: 56px 0 80px; }
.page-hero .container { display: flex; flex-direction: column; gap: 22px; }
.page-hero h1 { max-width: 860px; font-size: clamp(36px, 4.6vw, 54px); line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; }
.page-hero p.lead { max-width: 640px; font-size: 18px; line-height: 1.6; color: var(--on-blue-text); }

/* Fleet panel */
.fleet { flex: 1 1 400px; min-width: 0; min-height: 520px; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--blue-2); border: 1px solid var(--white-16); }
.fleet-art { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.fleet-list { position: relative; padding: 36px; }
.fleet-list .eyebrow { color: var(--on-blue-accent); padding-bottom: 14px; }
.fleet-list a { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; column-gap: 16px; padding: 15px 0; border-top: 1px solid var(--white-16); color: #FFFFFF; text-decoration: none; transition: padding-left .35s var(--ease); }
.fleet-list a:last-child { border-bottom: 1px solid var(--white-16); }
.fleet-list a::before { content: ""; position: absolute; left: 0; top: 30px; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--on-blue-accent); transform: scale(0); transition: transform .35s var(--ease); }
.fleet-list a.is-active { padding-left: 22px; }
.fleet-list a.is-active::before { transform: scale(1); }
.fleet-name { font-size: 24px; font-weight: 500; color: rgba(255, 255, 255, .74); transition: color .25s; }
.fleet-list a.is-active .fleet-name, .fleet-list a:hover .fleet-name { color: #FFFFFF; }
.fleet-cat { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-blue-soft); }
.fleet-desc { flex: 0 0 100%; max-height: 0; overflow: hidden; opacity: 0; font-size: 14px; line-height: 1.55; color: var(--on-blue-text); transition: max-height .5s var(--ease), opacity .35s ease, margin-top .5s var(--ease); }
.fleet-list a.is-active .fleet-desc { max-height: 4.8em; margin-top: 8px; opacity: 1; }
.fleet-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: #FFFFFF; transform: scaleX(0); transform-origin: 0 50%; }
.fleet-list a.is-active .fleet-bar { transform: scaleX(1); }
.fleet.is-playing .fleet-list a.is-active .fleet-bar { animation: fill var(--fleet-dur, 4.5s) linear both; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 640px) {
  .fleet { min-height: 0; }
  .fleet-list { padding: 24px 22px 120px; }
  .fleet-name { font-size: 22px; }
}

/* Ticker */
.ticker { position: relative; display: flex; align-items: stretch; border-top: 1px solid var(--white-16); color: var(--on-blue-soft); }
.ticker-viewport { flex: 1 1 auto; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.ticker-inner { display: flex; width: max-content; }
.ticker-track { display: flex; margin: 0; padding: 0; list-style: none; }
.ticker-track li { position: relative; display: flex; align-items: center; height: 60px; padding-right: 58px; white-space: nowrap; font: 500 13px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.ticker-track li::after { content: ""; position: absolute; right: 21px; top: 50%; width: 16px; height: 16px; margin-top: -9px; opacity: .85; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M28 64L50 20L72 64M14 70Q50 88 86 70' fill='none' stroke='%239FC2FF' stroke-width='7'/%3E%3C/svg%3E") center / contain no-repeat; }
.ticker.is-running .ticker-inner { animation: ticker 64s linear infinite; }
.ticker:hover .ticker-inner, .motion-paused .ticker-inner { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
.motion-toggle { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 0 24px; border: 0; border-left: 1px solid var(--white-16); background: var(--blue); color: var(--on-blue-soft); font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; transition: color .2s, background-color .2s; }
.motion-toggle:hover { color: #FFFFFF; background: var(--blue-2); }
.motion-toggle .i-play, .motion-paused .motion-toggle .i-pause { display: none; }
.motion-paused .motion-toggle .i-play { display: block; }
@media (max-width: 640px) {
  .motion-toggle { padding: 0 18px; }
  .motion-toggle .mt-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* Sections */
.section { padding: 96px 0; }
.section-head { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--hair-2); padding-top: 28px; margin-bottom: 40px; }
.section-head .title { display: flex; align-items: baseline; gap: 14px; }
.section-head .num { font-family: var(--mono); font-size: 14px; color: var(--blue); }
.section-head h2 { font-size: clamp(30px, 3.4vw, 40px); font-weight: 600; }
.section-head p { max-width: 660px; font-size: 17px; line-height: 1.6; color: var(--ink-3); }
.split-head { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.split-head p { max-width: 420px; font-size: 15px; }

.row { display: flex; flex-wrap: wrap; gap: 20px; }
.card { flex: 1 1 300px; min-width: 0; background: var(--paper); border: 1px solid var(--hair); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; transition: border-color .3s, box-shadow .3s, transform .35s var(--ease); }
.card h3 { font-size: 22px; font-weight: 600; }
.card p { font-size: 15px; line-height: 1.6; color: var(--ink-3); }
.card .icon { width: 28px; height: 28px; color: var(--blue); transition: transform .4s var(--ease); }
.card:hover .icon { transform: rotate(-8deg) scale(1.08); }
.card > .text-link { margin-top: auto; }
.ticks { display: flex; flex-direction: column; gap: 8px; font-family: var(--mono); font-size: 13px; color: var(--ink-2); border-top: 1px solid var(--hair-3); padding-top: 16px; margin: 0; padding-left: 0; list-style: none; }
.ticks li::before { content: "→ "; color: var(--blue); }
.product-card { flex: 1 1 240px; padding: 28px; gap: 14px; }
.product-card h3 { font-size: 28px; }

/* Cursor spotlight on cards */
.spot { position: relative; isolation: isolate; }
.spot::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(13, 70, 219, .09), transparent 60%); opacity: 0; transition: opacity .35s; }
.spot:hover::before { opacity: 1; }

.pillars { display: flex; flex-direction: column; }
.pillars > div { padding: 20px 0; border-top: 1px solid var(--hair); }
.pillars > div:last-child { border-bottom: 1px solid var(--hair); }
.pillars h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.pillars p { font-size: 15px; line-height: 1.6; color: var(--ink-3); }
.two-col { display: flex; flex-wrap: wrap; gap: 56px; }
.two-col > * { flex: 1 1 420px; min-width: 0; }
.body-lg { font-size: 17px; line-height: 1.7; color: var(--ink-3); }

/* Brief builder */
.brief { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.brief-qs { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.brief-q { margin: 0; min-width: 0; border: 1px solid var(--hair); border-radius: var(--radius); background: var(--paper); padding: 22px 24px 24px; }
.brief-q legend { float: left; width: 100%; display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; padding: 0; font-size: 18px; font-weight: 600; }
.brief-q legend .mono { font-size: 13px; font-weight: 400; color: var(--blue); }
.brief-q .hint { margin-left: auto; font: 400 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-5); }
.chips { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--hair-2); border-radius: 999px; background: #FFFFFF; font-size: 14px; color: var(--ink-2); cursor: pointer; transition: background-color .18s, border-color .18s, color .18s, transform .15s; }
.chip span::before { content: ""; width: 0; height: 10px; margin-top: -3px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: width .25s var(--ease), margin .25s var(--ease), transform .25s var(--ease); }
.chip:hover span { border-color: var(--blue); color: var(--blue); }
.chip input:checked + span { background: var(--blue); border-color: var(--blue); color: #FFFFFF; }
.chip input:checked + span::before { width: 5px; margin-right: 10px; transform: rotate(45deg) scale(1); }
.chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.chip input:active + span { transform: scale(.96); }
.brief-out { flex: 1 1 340px; min-width: 0; position: sticky; top: calc(var(--hdr-h-stuck) + 20px); display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: var(--radius); background: var(--navy); color: #FFFFFF; }
.brief-out-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.brief-out-head .mono { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-blue-accent); }
.brief-out-head [data-count] { color: var(--on-blue-soft); }
.brief-meter { height: 4px; border-radius: 2px; overflow: hidden; background: var(--navy-hair); }
.brief-meter span { display: block; height: 100%; background: var(--on-blue-accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease); }
.brief-lines { display: flex; flex-direction: column; margin: 0; }
.brief-lines > div { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; border-top: 1px solid var(--navy-hair); }
.brief-lines dt { font: 400 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--foot-dim); }
.brief-lines dd { margin: 0; font-size: 15px; line-height: 1.5; color: #FFFFFF; }
.brief-lines dd.is-empty { color: #7D92C7; }
.brief-lines dd.is-changed { animation: pop .45s var(--ease); }
@keyframes pop { from { opacity: .2; transform: translateY(5px); } }
.brief-next { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: var(--radius); border: 1px solid var(--navy-hair); background: rgba(255, 255, 255, .04); }
.brief-next .mono { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-blue-accent); }
.brief-next [data-next] { font-size: 14px; line-height: 1.6; color: #D5E1FF; }
.brief.is-complete .brief-out .btn { box-shadow: 0 0 0 4px rgba(159, 194, 255, .28); }
@media (max-width: 960px) { .brief-out { position: static; } }

/* Sticky in-page navigation */
.subnav { position: sticky; top: var(--hdr-h-stuck); z-index: 50; border-bottom: 1px solid var(--hair); background: rgba(247, 248, 250, .9); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); }
.subnav-track { position: relative; display: flex; gap: 30px; overflow-x: auto; scrollbar-width: none; }
.subnav-track::-webkit-scrollbar { display: none; }
.subnav a { flex: none; display: flex; align-items: center; height: var(--subnav-h); font-size: 15px; font-weight: 500; color: var(--ink-4); text-decoration: none; transition: color .2s; }
.subnav a:hover { color: var(--ink); }
.subnav a.is-active { color: var(--blue); }

/* Services */
.service-block + .service-block { margin-top: 96px; }
.service { display: flex; flex-wrap: wrap; gap: 48px; border-top: 1px solid var(--hair-2); padding-top: 32px; }
.service-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.service-copy h2 { font-size: clamp(30px, 3.2vw, 38px); font-weight: 600; }
.service-copy .good { font-family: var(--mono); font-size: 13px; color: var(--ink-4); padding-top: 6px; }
.service-list { flex: 1 1 380px; min-width: 0; align-self: flex-start; background: var(--paper); border: 1px solid var(--hair); border-radius: var(--radius); padding: 28px; font-size: 15px; color: var(--ink-2); }
.service-list ul { list-style: none; margin: 0; padding: 0; }
.service-list li { padding: 12px 0; border-top: 1px solid var(--hair-3); transition: padding-left .25s var(--ease), color .2s; }
.service-list li:hover { padding-left: 6px; color: var(--ink); }
.service-list li::before { content: "→ "; color: var(--blue); }

/* Clouds we migrate to */
.clouds { margin-top: 40px; }
.clouds > .eyebrow { padding-bottom: 14px; }
.cloud-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cloud-card { display: flex; flex-direction: column; gap: 8px; padding: 24px 24px 10px; background: var(--paper); border: 1px solid var(--hair); border-radius: var(--radius); transition: border-color .3s, box-shadow .3s, transform .35s var(--ease); }
.cloud-card:hover { border-color: rgba(13, 70, 219, .35); box-shadow: 0 14px 34px -22px rgba(16, 20, 31, .4); transform: translateY(-2px); }
.cloud-card.is-current { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.cloud-card h3 { font-size: 19px; font-weight: 600; }
.cloud-card p { font-size: 14px; line-height: 1.55; color: var(--ink-3); }
.cloud-card .text-link { margin-top: auto; align-self: flex-start; font-size: 14px; }
@media (max-width: 760px) { .cloud-cards { grid-template-columns: minmax(0, 1fr); gap: 12px; } }
@media (prefers-reduced-motion: reduce) { .cloud-card:hover { transform: none; } }

/* Interactive demos */
.demo { margin-top: 40px; display: flex; flex-direction: column; gap: 24px; padding: 28px; border: 1px solid var(--hair); border-radius: var(--radius); background: var(--paper); }
.demo-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.demo-kicker { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.demo-head h3 { margin-top: 6px; font-size: 22px; font-weight: 600; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--hair); border-radius: 22px; background: var(--paper-2); }
.seg button { min-height: 36px; padding: 0 14px; border: 0; border-radius: 18px; background: transparent; font-size: 13px; font-weight: 500; color: var(--ink-3); transition: background-color .2s, color .2s, box-shadow .2s; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: #FFFFFF; color: var(--blue); box-shadow: 0 1px 2px rgba(16, 20, 31, .08), 0 0 0 1px var(--hair); }
.demo-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-top: 18px; border-top: 1px solid var(--hair-3); }
.demo-status { font: 400 13px/1.5 var(--mono); color: var(--ink-4); }
.demo.is-finished .demo-status { color: var(--ok); }
.demo-status:empty { display: none; }
.demo-note { margin-left: auto; font-size: 12px; color: var(--ink-5); }

.flow-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.flow-step { position: relative; display: flex; flex-direction: column; gap: 14px; }
.flow-step::after { content: ""; position: absolute; top: 26px; left: 64px; right: -4px; height: 2px; background: linear-gradient(var(--blue), var(--blue)) 0 0 / 0% 100% no-repeat, var(--hair); transition: background-size .5s var(--ease); }
.flow-step:last-child::after { display: none; }
.flow-node { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--hair-2); background: #FFFFFF; color: var(--ink-4); transition: background-color .3s, border-color .3s, color .3s, box-shadow .3s; }
.flow-icon { transition: opacity .2s, transform .35s var(--ease); }
.flow-tick { position: absolute; opacity: 0; transform: scale(.4); transition: opacity .2s, transform .35s var(--ease); }
.flow-text strong { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.flow-text span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.5; color: var(--ink-4); }
.flow-step.is-active .flow-node { border-color: var(--blue); color: var(--blue); box-shadow: 0 0 0 6px rgba(13, 70, 219, .12); animation: pulse 1s ease infinite; }
.flow-step.is-done .flow-node { border-color: var(--blue); background: var(--blue); color: #FFFFFF; }
.flow-step.is-done .flow-icon { opacity: 0; transform: scale(.4); }
.flow-step.is-done .flow-tick { opacity: 1; transform: none; }
.flow-step.is-done::after { background-size: 100% 100%; }
@keyframes pulse { 50% { box-shadow: 0 0 0 11px rgba(13, 70, 219, .05); } }
@media (max-width: 760px) {
  .flow-steps { grid-template-columns: 1fr; gap: 0; }
  .flow-step { flex-direction: row; align-items: center; gap: 16px; padding-bottom: 22px; }
  .flow-step:last-child { padding-bottom: 0; }
  .flow-step::after { top: 52px; bottom: 0; left: 25px; right: auto; width: 2px; height: auto; background: linear-gradient(var(--blue), var(--blue)) 0 0 / 100% 0% no-repeat, var(--hair); }
  .flow-step.is-done::after { background-size: 100% 100%; }
}

.extract-pane { display: grid; grid-template-columns: minmax(0, 1.1fr) auto minmax(0, 1fr); gap: 20px; align-items: stretch; }
.doc, .fields { min-width: 0; padding: 18px 20px; border: 1px solid var(--hair); border-radius: var(--radius); }
.doc { background: var(--paper-2); }
.fields { background: #FFFFFF; }
.demo-label { margin-bottom: 12px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-5); }
.doc-body { white-space: pre-wrap; overflow-wrap: anywhere; font: 400 13.5px/1.75 var(--mono); color: var(--ink-2); }
.doc-body mark { padding: 1px 0; border-radius: 2px; background: transparent; color: inherit; transition: background-color .35s, box-shadow .35s, color .35s; }
.doc-body mark.is-hit { background: rgba(13, 70, 219, .12); box-shadow: inset 0 -2px 0 var(--blue); color: var(--ink); }
.extract-arrow { align-self: center; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--blue); color: #FFFFFF; }
.extract.is-running .extract-arrow { animation: nudge 1s ease infinite; }
@keyframes nudge { 50% { translate: 4px 0; } }
.fields dl { display: flex; flex-direction: column; margin: 0; }
.fields dl > div { display: grid; grid-template-columns: 128px minmax(0, 1fr); align-items: baseline; gap: 12px; padding: 10px 0; border-top: 1px solid var(--hair-3); }
.fields dt { font: 400 12px var(--mono); letter-spacing: .04em; color: var(--ink-5); transition: color .3s; }
.fields dd { min-height: 1.5em; margin: 0; font-size: 14px; font-weight: 500; color: var(--ink); }
.fields dl > div.is-hit dt { color: var(--blue); }
.fields dd.is-typing::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--blue); animation: caret .8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
@media (max-width: 860px) {
  .extract-pane { grid-template-columns: minmax(0, 1fr); }
  .extract-arrow { justify-self: center; rotate: 90deg; }
  .extract.is-running .extract-arrow { animation-name: nudge-down; }
  @keyframes nudge-down { 50% { translate: 0 4px; } }
}
@media (max-width: 480px) { .fields dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } .demo { padding: 20px; } }
@media (max-width: 480px) { .dash .seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; } .dash .seg button { padding: 0 6px; white-space: nowrap; } }

.steps { position: relative; display: flex; flex-wrap: wrap; border-top: 1px solid var(--hair); border-left: 1px solid var(--hair); }
.steps-bar { position: absolute; left: -1px; right: 0; top: -1px; z-index: 1; height: 3px; pointer-events: none; }
.steps-bar span { display: block; height: 100%; background: var(--blue); transform: scaleX(0); transform-origin: 0 50%; }
.step { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding: 28px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); background: var(--paper); transition: background-color .4s; }
.step .mono { display: flex; align-items: center; font-size: 13px; color: var(--blue); }
.step p { font-size: 15px; line-height: 1.6; color: var(--ink-3); }
.step-dot { flex: none; width: 10px; height: 10px; margin-right: 10px; border-radius: 50%; border: 2px solid var(--hair-2); transition: background-color .3s, border-color .3s, transform .3s var(--ease); }
.step.is-reached .step-dot { border-color: var(--blue); background: var(--blue); transform: scale(1.2); }

/* Products page */
.product-row { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.product-row + .product-row { margin-top: 80px; }
.product-row.reverse { flex-direction: row-reverse; }
.screen { position: relative; flex: 1 1 560px; min-width: 0; margin: 0; padding: 3% 1% 5%; }
.screen::before { content: ""; position: absolute; inset: 6% 4% 8%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(13, 70, 219, .16), rgba(13, 70, 219, 0)); pointer-events: none; }
.screen-link { position: relative; display: block; cursor: zoom-in; }
/* Laptop mockup, drawn in CSS so it scales with the column */
.device { --bezel: clamp(7px, 1.5vw, 15px); position: relative; display: block; width: 100%; transform: perspective(1600px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .7s var(--ease), translate .5s var(--ease); }
.screen.is-tilting .device { transition: transform .12s linear, translate .5s var(--ease); }
.screen-link:hover .device, .screen-link:focus-visible .device { translate: 0 -6px; }
.device::after { content: ""; position: absolute; left: 4%; right: 4%; bottom: -16px; height: 26px; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(16, 20, 31, .32), rgba(16, 20, 31, 0)); transition: opacity .5s var(--ease); }
.screen-link:hover .device::after { opacity: .7; }
.device-lid { position: relative; display: block; width: 84%; margin: 0 auto; padding: var(--bezel); border-radius: clamp(8px, 1.6vw, 16px) clamp(8px, 1.6vw, 16px) 0 0; background: #16181D; box-shadow: 0 0 0 1.5px #C3C9D3, inset 0 0 0 1px rgba(255, 255, 255, .06); }
.device-cam { position: absolute; left: 50%; top: calc(var(--bezel) / 2 - 2.5px); width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #2C3038; box-shadow: inset 0 0 0 1px #3A3F49; }
.device-screen { position: relative; display: block; overflow: hidden; border-radius: 2px; background: #000000; }
.device-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(118deg, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, 0) 42%); }
.device-screen img { display: block; width: 100%; height: auto; }
.device-base { position: relative; display: block; width: 100%; height: clamp(9px, 1.7vw, 17px); margin-top: -1px; border-radius: 0 0 50% 50% / 0 0 100% 100%; background: linear-gradient(#EEF0F4 0%, #C9CED7 45%, #9EA5B1 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7); }
.device-base::before { content: ""; position: absolute; left: 8.5%; right: 8.5%; top: 0; height: 2px; background: linear-gradient(90deg, #8E95A2, #B7BDC8 50%, #8E95A2); }
.device-notch { position: absolute; left: 50%; top: 0; width: 15%; height: 42%; transform: translateX(-50%); border-radius: 0 0 9px 9px; background: linear-gradient(#ADB3BE, #D3D7DF); }
.screen-hint { position: absolute; right: 12px; bottom: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: rgba(4, 23, 69, .8); color: #FFFFFF; font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .3s var(--ease); }
.screen-link:hover .screen-hint, .screen-link:focus-visible .screen-hint { opacity: 1; transform: none; }
@media (hover: none) { .screen-hint { opacity: 1; transform: none; } }
.product-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.product-copy h2 { font-size: 40px; font-weight: 600; }

/* Screenshot viewer */
.lightbox { width: min(1240px, 94vw); max-width: none; max-height: 96vh; padding: 0; border: 0; overflow: visible; background: transparent; color: #FFFFFF; }
.lightbox::backdrop { background: rgba(3, 10, 32, .88); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lightbox[open] { animation: lb-in .3s var(--ease); }
@keyframes lb-in { from { opacity: 0; transform: scale(.97); } }
.lb-fig { position: relative; display: flex; flex-direction: column; gap: 14px; margin: 0; }
.lb-frame { position: relative; overflow: hidden; border-radius: 6px; background: #FFFFFF; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); touch-action: pan-y; }
.lb-img { display: block; width: 100%; height: auto; max-height: calc(96vh - 80px); object-fit: contain; }
.lb-img.is-swapping { animation: lb-swap .35s var(--ease); }
@keyframes lb-swap { from { opacity: 0; transform: translateX(var(--dir, 0px)); } }
.lb-cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; font-size: 15px; color: #D5E1FF; }
.lb-count { font: 500 12px/1.6 var(--mono); letter-spacing: .1em; color: var(--on-blue-soft); }
.lb-btn { position: absolute; z-index: 2; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(4, 23, 69, .72); color: #FFFFFF; transition: background-color .2s, border-color .2s; }
.lb-btn:hover { background: var(--blue); border-color: var(--blue); }
.lb-close { top: 12px; right: 12px; }
.lb-prev, .lb-next { top: 50%; margin-top: -22px; }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
html:has(dialog[open]) { overflow: hidden; }

/* About */
.argo-title { display: flex; flex-direction: column; gap: 14px; }
.argo-title h2 { font-size: clamp(30px, 3.2vw, 38px); font-weight: 600; }
.argo-title .sail-draw { margin-top: 14px; color: var(--blue); }
.sail-draw path { stroke-dasharray: 1; stroke-dashoffset: 0; }
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .sail-draw:not(.is-drawn) path { stroke-dashoffset: 1; }
}
.sail-draw.is-drawn path { animation: draw 1.8s .15s cubic-bezier(.65, 0, .35, 1) backwards; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.belief-n { font-size: 13px; color: var(--blue); }

.navy-box { background: var(--navy); color: #FFFFFF; border-radius: var(--radius); padding: 48px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.navy-box > div { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.navy-box .mono { font-size: 13px; color: var(--on-blue-accent); }
.navy-box h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.2; font-weight: 600; }
.navy-box p { font-size: 16px; line-height: 1.6; color: #D5E1FF; }
.navy-box ul { list-style: none; margin: 0; padding: 0; font-family: var(--mono); font-size: 14px; color: var(--on-blue-soft); }
.navy-box li { padding: 14px 0; border-top: 1px solid var(--navy-hair); transition: padding-left .25s var(--ease), color .2s; }
.navy-box li:last-child { border-bottom: 1px solid var(--navy-hair); }
.navy-box li:hover { padding-left: 6px; color: #FFFFFF; }
.navy-box li::before { content: "→ "; }
.navy-box.reveal-anim li { animation: slide-in .55s var(--ease) backwards; }
.navy-box.reveal-anim li:nth-child(1) { animation-delay: .25s; }
.navy-box.reveal-anim li:nth-child(2) { animation-delay: .35s; }
.navy-box.reveal-anim li:nth-child(3) { animation-delay: .45s; }
.navy-box.reveal-anim li:nth-child(4) { animation-delay: .55s; }
.navy-box.reveal-anim li:nth-child(5) { animation-delay: .65s; }
@keyframes slide-in { from { opacity: 0; transform: translateX(-14px); } }
@media (max-width: 640px) { .navy-box { padding: 28px; } }

/* CTA + footer */
.cta { background: var(--blue); color: #FFFFFF; padding: 80px 0; }
.cta .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; }
.cta h2 { font-size: clamp(32px, 3.8vw, 44px); line-height: 1.1; font-weight: 600; }
.cta p { margin-top: 12px; font-size: 17px; line-height: 1.6; color: var(--on-blue-text); }
.cta .meta { margin-top: 12px; font-family: var(--mono); font-size: 13px; color: var(--on-blue-soft); }
.cta .meta a { color: var(--on-blue-soft); text-decoration: none; }
@media (max-width: 640px) { .cta .meta-sep { display: none; } .cta .meta a { display: block; width: fit-content; padding: 4px 0; } }
.site-footer { background: var(--foot); color: var(--foot-ash); }
.site-footer .container { padding-top: 56px; padding-bottom: 36px; display: flex; flex-direction: column; gap: 40px; }
/* On phones, leave room under the last row so the back-to-top button never sits over the Legal link. */
@media (max-width: 760px) { .site-footer .container { padding-bottom: 88px; } }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.foot-brand img { height: 62px; width: auto; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 64px; font-size: 14px; }
.foot-cols div { display: flex; flex-direction: column; gap: 12px; }
.foot-cols h2 { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--foot-dim); font-weight: 400; }
.foot-cols a { color: #FFFFFF; text-decoration: none; }
.foot-cols a:hover { color: var(--on-blue-accent); }
.foot-bottom { border-top: 1px solid var(--foot-hair); padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
.foot-bottom a { color: var(--foot-ash); }

/* Contact */
.topics { display: flex; flex-wrap: wrap; gap: 12px; border: 0; margin: 0; padding: 0; }
.topic { flex: 1 1 200px; min-width: 0; position: relative; }
.topic input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.topic label { height: 100%; min-height: 112px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; padding: 18px; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .06); color: #FFFFFF; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .3s var(--ease), box-shadow .3s; }
.topic label:hover { border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .1); }
.topic .t-head { display: flex; justify-content: space-between; align-items: center; font-size: 18px; font-weight: 600; }
.topic .dot { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .6); transition: background-color .2s, border-color .2s, box-shadow .2s; }
.topic .t-blurb { font-size: 13px; line-height: 1.5; opacity: .85; }
.topic input:checked + label { background: #FFFFFF; color: var(--blue); border-color: #FFFFFF; transform: translateY(-3px); box-shadow: 0 14px 30px -14px rgba(4, 23, 69, .7); }
.topic input:checked + label .dot { border-color: var(--blue); background: var(--blue); box-shadow: inset 0 0 0 3px #FFFFFF; }
.topic input:focus-visible + label { outline: 2px solid #FFFFFF; outline-offset: 2px; }

.contact-grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.form-card { flex: 1 1 600px; min-width: 0; background: var(--paper); border: 1px solid var(--hair); border-radius: var(--radius); padding: 36px; }
@media (max-width: 640px) { .form-card { padding: 22px; } }
.form { display: flex; flex-direction: column; gap: 20px; }
.form [data-f] { transition: opacity .16s, transform .2s var(--ease); }
.form.is-swapping [data-f] { opacity: 0; transform: translateY(4px); }
.form-title .mono { display: block; font-size: 12px; color: var(--blue); }
.form-title h2 { display: block; font-size: 26px; font-weight: 600; margin-top: 6px; }
.field-row { display: flex; flex-wrap: wrap; gap: 16px; }
.field { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.form > .field { flex: none; }
.field label [data-f] { display: inline-block; }
.opt { margin-left: 4px; font: 400 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-5); }
.field input, .field select, .field textarea { min-height: 48px; padding: 0 14px; border: 1px solid var(--hair-2); border-radius: var(--radius); background: #FFFFFF; font-weight: 400; transition: border-color .15s, box-shadow .15s; }
.field textarea { padding: 12px 14px; resize: vertical; min-height: 130px; line-height: 1.55; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #AEB7C8; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(13, 70, 219, .15); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #D92D20; box-shadow: 0 0 0 3px rgba(217, 45, 32, .1); }
.field.is-valid input { padding-right: 40px; background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='%231E8F5A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; }
.field-error { display: block; font-size: 13px; font-weight: 400; line-height: 1.4; color: var(--error); animation: pop .3s var(--ease); }
.field-error:empty { display: none; }
.count { align-self: flex-end; margin-top: -2px; font: 400 12px var(--mono); color: var(--ink-5); }
.count.warn { color: #B54708; }
.form.is-prefilled textarea { animation: glow 1.8s ease; }
@keyframes glow { 0%, 55% { border-color: var(--blue); box-shadow: 0 0 0 5px rgba(13, 70, 219, .2); } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.turnstile-wrap { min-height: 65px; display: flex; align-items: center; }
.btn-send { min-width: 190px; }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #FFFFFF; animation: spin .7s linear infinite; }
.btn-send.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.fine { font-size: 12px; line-height: 1.5; color: var(--ink-5); }
.form-status { font-size: 14px; line-height: 1.5; }
.form-status.error { color: var(--error); }
.sent { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 32px 0; }
.sent .sail-draw { color: var(--blue); }
.sent h2 { font-size: 28px; font-weight: 600; }
.sent p { font-size: 15px; line-height: 1.6; color: var(--ink-3); }
.sent.is-in > :not(svg) { animation: rise .55s var(--ease) backwards; }
.sent.is-in > :nth-child(2) { animation-delay: .35s; }
.sent.is-in > :nth-child(3) { animation-delay: .45s; }
.sent.is-in > :nth-child(4) { animation-delay: .55s; }
.side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.next { background: var(--navy); color: #FFFFFF; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.next h2 { font-size: 18px; font-weight: 600; }
.next ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; counter-reset: step; }
.next li { display: flex; gap: 14px; font-size: 14px; line-height: 1.6; color: #D5E1FF; counter-increment: step; }
.next li::before { content: counter(step); flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: #FFFFFF; }
.office { background: var(--paper); border: 1px solid var(--hair); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.office h2 { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; }
.office address { font-style: normal; font-size: 15px; line-height: 1.7; color: var(--ink-3); }
.office .tel { font-size: 15px; color: var(--ink-2); text-decoration: none; }
.office .tel:hover { color: var(--blue); }
.clock { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-3); }
.clock strong { font-family: var(--mono); font-weight: 500; color: var(--ink); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-3); animation: live 2.4s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(45, 95, 224, .5); } 70%, 100% { box-shadow: 0 0 0 8px rgba(45, 95, 224, 0); } }
.desk { flex: 1 1 260px; min-width: 0; background: var(--paper); border: 1px solid var(--hair); border-radius: var(--radius); padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; transition: border-color .3s, box-shadow .3s; }
.desk h3 { font-size: 16px; font-weight: 600; }
.desk p { font-size: 14px; line-height: 1.5; color: var(--ink-4); }
.desk-mail { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 6px; }
.desk-mail a { min-width: 0; font-family: var(--mono); font-size: 14px; white-space: nowrap; }
.desk-mail a:hover { color: var(--blue-2); }
.copy { position: absolute; top: 16px; right: 16px; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; border: 1px solid var(--hair-2); border-radius: 50%; background: #FFFFFF; color: var(--ink-3); opacity: 0; transition: opacity .2s, border-color .2s, color .2s, background-color .2s; }
.copy span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.desk:hover .copy, .copy:focus-visible, .copy.is-copied { opacity: 1; }
.copy:hover { border-color: var(--blue); color: var(--blue); }
.copy.is-copied { border-color: var(--blue); background: var(--blue); color: #FFFFFF; }
@media (hover: none) { .copy { opacity: 1; } }

@media (hover: hover) {
  .card.spot:hover, .desk.spot:hover { border-color: rgba(13, 70, 219, .35); box-shadow: 0 16px 36px -20px rgba(13, 30, 80, .4); }
  .card.spot:hover { transform: translateY(-4px); }
}

/* 404 */
.notfound { position: relative; min-height: 60vh; display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 72px 40px 96px; }
.notfound h1 { font-size: 48px; font-weight: 600; }
.sea { position: relative; height: 150px; overflow: hidden; color: var(--blue); }
.boat { position: absolute; left: 0; bottom: 18px; translate: var(--bx, 0px) 0; transition: translate 1.1s var(--ease); animation: bob 3.4s ease-in-out infinite; }
.waves { position: absolute; left: 0; bottom: 0; width: 200%; max-width: none; height: 44px; }
.waves .w1 { fill: rgba(13, 70, 219, .14); animation: wave 10s linear infinite; }
.waves .w2 { fill: rgba(13, 70, 219, .26); animation: wave 6.5s linear infinite reverse; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-4deg); } }
@keyframes wave { to { transform: translateX(-25%); } }

/* Toast and back-to-top */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 90; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: var(--radius); background: var(--navy); color: #FFFFFF; font-size: 14px; box-shadow: 0 16px 40px -12px rgba(4, 23, 69, .55); opacity: 0; pointer-events: none; transform: translate(-50%, 16px); transition: opacity .25s, transform .35s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 55; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--blue); color: #FFFFFF; box-shadow: 0 12px 28px -10px rgba(13, 70, 219, .75); opacity: 0; visibility: hidden; transform: translateY(12px) scale(.9); transition: opacity .25s, transform .35s var(--ease), visibility .25s, background-color .2s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue-2); }
@media (max-width: 640px) { .to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; } }

/* Scroll reveal (only switched on by site.js when motion is allowed) */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes reveal { from { opacity: 0; transform: translateY(26px); } }
.reveal-on [data-reveal]:not(.is-in) { opacity: 0; }
.reveal-on [data-reveal].reveal-anim { animation: reveal .8s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 90ms); }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *, .fleet, .page-hero .container > * { animation: rise .75s var(--ease) backwards; }
  .hero-copy > :nth-child(2), .page-hero .container > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(3), .page-hero .container > :nth-child(3) { animation-delay: .12s; }
  .hero-copy > :nth-child(4), .page-hero .container > :nth-child(4) { animation-delay: .18s; }
  .fleet { animation-delay: .22s; }

  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vt-out .18s ease both; }
  ::view-transition-new(root) { animation: vt-in .34s var(--ease) both; }
}
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
}

@media print {
  .strip, .site-header, .ticker, .subnav, .to-top, .toast { display: none !important; }
  .reveal-on [data-reveal] { opacity: 1 !important; animation: none !important; }
}

/* Footer and strip links */
.strip a { color: inherit; text-decoration: none; transition: color .2s; }
.strip a:hover { color: #FFFFFF; }
.foot-bottom a { color: var(--foot-ash); text-decoration: none; transition: color .2s; }
.foot-bottom a:hover { color: #FFFFFF; }

/* Legal page */
.legal-wrap { padding-top: 64px; }
.legal-wrap .container { max-width: 1000px; }
.legal-sec { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 24px 56px; padding: 36px 0 52px; border-top: 1px solid var(--hair-2); }
.legal-head { display: flex; flex-direction: column; gap: 10px; }
.legal-head .mono { font-size: 13px; color: var(--blue); }
.legal-head h2 { font-size: 26px; line-height: 1.2; font-weight: 600; }
.legal-intro { font-size: 15px; line-height: 1.6; color: var(--ink-4); }
.legal-body { min-width: 0; font-size: 16px; line-height: 1.7; color: var(--ink-3); }
.legal-body a { overflow-wrap: anywhere; }
.legal-list { margin: 0; padding: 0; list-style: none; counter-reset: legal; display: flex; flex-direction: column; gap: 22px; }
.legal-list li { position: relative; padding-left: 44px; counter-increment: legal; }
.legal-list li::before { content: counter(legal, decimal-leading-zero); position: absolute; left: 0; top: 2px; font: 400 12px/1.6 var(--mono); color: var(--ink-5); }
.legal-list h3 { margin-bottom: 4px; font-size: 16px; font-weight: 600; color: var(--ink); }
.legal-list p + p { margin-top: 10px; }
.legal-prose { display: flex; flex-direction: column; gap: 14px; }
.legal-facts { margin: 0; border: 1px solid var(--hair); border-radius: var(--radius); background: var(--paper); }
.legal-facts > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; padding: 14px 20px; border-top: 1px solid var(--hair-3); }
.legal-facts > div:first-child { border-top: 0; }
.legal-facts dt { font: 400 12px/1.9 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-5); }
.legal-facts dd { margin: 0; color: var(--ink); }
@media (max-width: 820px) {
  .legal-sec { grid-template-columns: minmax(0, 1fr); padding: 28px 0 40px; }
  .legal-facts > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
@media (max-width: 640px) { .screen-hint { right: 8px; bottom: 8px; padding: 7px; gap: 0; font-size: 0; } }

/* Sample dashboard (Services: Data and analytics) */
.dash-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.kpi, .dash-card { min-width: 0; padding: 16px 18px; border: 1px solid var(--hair); border-radius: var(--radius); background: #FFFFFF; }
.kpi { display: flex; flex-direction: column; gap: 4px; }
.kpi .mono, .dash-title { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-5); }
.kpi-v { font-size: 28px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.kpi-d { font: 500 12px var(--mono); color: var(--ink-4); }
.kpi-d.is-up { color: var(--ok); }
.kpi-d.is-down { color: var(--error); }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 12px; }
.dash-title { margin-bottom: 12px; }
.dash-title span { color: var(--blue); }
.dash-bars { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; }
.dash-bar { display: grid; grid-template-columns: 112px minmax(0, 1fr) 104px; align-items: center; gap: 12px; width: 100%; padding: 7px 8px; border: 0; border-radius: var(--radius); background: transparent; color: var(--ink-2); font-size: 14px; text-align: left; transition: background-color .2s, opacity .3s; }
.dash-bar:hover { background: var(--paper-2); }
.dash-bar.is-dim { opacity: .38; }
.dash-track { height: 12px; overflow: hidden; border-radius: 2px; background: var(--hair-3); }
.dash-fill { display: block; height: 100%; background: var(--blue); transition: width .8s var(--ease), background-color .3s; }
.dash-bar[aria-pressed="true"] .dash-fill { background: var(--navy); }
.dash-bar[aria-pressed="true"] .dash-name { font-weight: 600; color: var(--ink); }
.dash-val { font: 500 13px var(--mono); text-align: right; white-space: nowrap; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.dash-trend { display: flex; align-items: stretch; gap: 6px; height: 168px; }
.tcol { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.tbar-wrap { flex: 1 1 auto; display: flex; align-items: flex-end; justify-content: center; width: 100%; }
.tbar { display: block; width: 100%; max-width: 34px; border-radius: 2px 2px 0 0; background: var(--blue-3); transition: height .8s var(--ease); }
.tlab { font: 400 11px var(--mono); color: var(--ink-5); white-space: nowrap; }
@media (max-width: 760px) {
  .dash-kpis, .dash-grid { grid-template-columns: minmax(0, 1fr); }
  .kpi-v { font-size: 24px; }
  .dash-bar { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name val" "track track"; gap: 6px 12px; }
  .dash-name { grid-area: name; }
  .dash-val { grid-area: val; }
  .dash-track { grid-area: track; }
}

/* ------------------------------------------------------------ Background and mouse effects */
/* Blue areas: wave lines drawn on a canvas by site.js; they part around the cursor and a soft light follows it */
.top, .cta { position: relative; isolation: isolate; overflow: hidden; }
.fx-waves { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }

/* Light areas: a faint dot grid, with a patch of blue dots that follows the cursor */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(rgba(16, 20, 31, .07) 1px, transparent 1.6px); background-size: 24px 24px; }
.fx-dots { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0; background-image: radial-gradient(rgba(13, 70, 219, .7) 1.4px, transparent 2px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(circle 230px at var(--cx, -400px) var(--cy, -400px), #000 0%, rgba(0, 0, 0, .4) 45%, transparent 100%); mask-image: radial-gradient(circle 230px at var(--cx, -400px) var(--cy, -400px), #000 0%, rgba(0, 0, 0, .4) 45%, transparent 100%); transition: opacity .5s ease; }
.fx-dots.is-on { opacity: 1; }

/* Parallax: hero pieces drift a little with the mouse (site.js sets --px and --py from -1 to 1) */
.top, .cta { --px: 0; --py: 0; }
.hero-copy, .page-hero .container, .cta .container { translate: calc(var(--px) * 6px) calc(var(--py) * 5px); transition: translate 1s var(--ease); }
.fleet { translate: calc(var(--px) * -14px) calc(var(--py) * -10px); transform: perspective(1200px) rotateY(calc(var(--px) * 4deg)) rotateX(calc(var(--py) * -4deg)); transition: translate 1s var(--ease), transform 1s var(--ease); }
.fleet-art { inset: -6%; width: 112%; height: 112%; translate: calc(var(--px) * 22px) calc(var(--py) * 16px); transition: translate 1.2s var(--ease); }

/* Magnetic buttons: pulled slightly towards the cursor */
.btn { translate: var(--mx-btn, 0px) var(--my-btn, 0px); transition: background-color .15s, color .15s, border-color .15s, transform .15s, box-shadow .2s, translate .35s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  .hero-copy, .page-hero .container, .cta .container, .fleet, .fleet-art, .btn { translate: none; }
  .fleet { transform: none; }
}
@media print { .fx-waves, .fx-dots { display: none !important; } body::before { display: none; } }
