/* Nexus IT Solutions: homepage, light direction.
   Reference: Refero style "Column, infrastructure in soft focus", adapted to the Nexus brand.
   See CLAUDE.md, "Design direction". The dark ai.work version is saved on the design/ai-work branch. */

:root {
  --canvas: #f6f6f8;      /* cool near-white page field */
  --panel: #eeeff2;       /* closing destination field */
  --edge: #e3e4e8;        /* hairlines and panel outline */
  --white: #ffffff;

  /* Teals sampled from the Nexus globe mark: deep nodes #007490, nodes #0080a0, lit nodes #0090b0, back nodes #c5e2e8. */
  --ink: #007490;         /* headings, primary button: the globe's deep node teal (5.0:1 on canvas, white text 5.4:1) */
  --ink-hover: #00627a;
  --ink-2: #1b333b;       /* body copy: dark teal slate (12.3:1) */
  --ink-3: #2e4851;       /* secondary copy: support lines, captions (8.4:1 on the panel) */
  --muted: #3f5a63;       /* small labels and directory links (6.4:1 on the panel) */
  --quiet: #0090b0;       /* headline continuation: the globe's lit node teal, large text only */

  --teal: #0080a0;        /* signal: proof words, dot icons, checks, diagram highlights, focus ring */
  --teal-text: #00708a;   /* teal for small text (5.0:1 on the panel) */
  --teal-wash: rgba(0, 128, 160, 0.08);

  --deep: #006a84;        /* the one bounded teal chapter, a step deeper than the globe so white text passes */
  --ice: #ffffff;         /* headings on the teal chapter */
  --ice-2: #c5e2e8;       /* secondary text and markers on the teal chapter: the globe's back node teal */

  --sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  --container: 1112px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 4px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 8px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 500; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.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;
}

/* ---------- Type ---------- */

.display {
  font-size: 52px; line-height: 1.1; font-weight: 600; letter-spacing: -0.03em;
  color: var(--ink); max-width: 560px; text-wrap: balance;
}
.heading-lg {
  font-size: 48px; line-height: 1.1; font-weight: 600; letter-spacing: -0.03em;
  color: var(--ink); max-width: 820px; text-wrap: balance;
}
.closing {
  font-size: 60px; line-height: 1; font-weight: 600; letter-spacing: -0.01em;
  color: var(--ink); text-wrap: balance;
}
/* A heading can continue in the same type in a quieter tone (Column's two-tone lead). */
.display .quiet, .heading-lg .quiet, .closing .quiet { color: var(--quiet); }
.heading-lg--split .quiet, .closing .quiet { display: block; }

.lead {
  font-size: 20px; line-height: 1.4; font-weight: 400; color: var(--ink-3); max-width: 460px;
}
.section-support {
  font-size: 18px; line-height: 1.45; font-weight: 400; color: var(--ink-3); max-width: 640px;
  margin-top: 16px; text-wrap: pretty;
}

/* Technical chapter marker: 12px mono, uppercase, with a terminal-like cursor. */
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 12px; line-height: 1.5; text-transform: uppercase;
  color: var(--teal-text);
}
.eyebrow::after {
  content: ""; width: 7px; height: 13px; background: currentColor; opacity: 0.55;
  animation: cursor 1.1s steps(1) infinite;
}
@keyframes cursor { 50% { opacity: 0; } }

.mono-label {
  font-family: var(--mono); font-size: 12px; line-height: 1.5; text-transform: uppercase; color: var(--muted);
}

/* ---------- Controls ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 36px; padding: 0 16px; border: 0; border-radius: 8px;
  font: 500 14px/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: box-shadow 0.2s, background-color 0.2s, color 0.2s;
}
.btn svg { width: 14px; height: 14px; }
.btn--primary {
  background-color: var(--ink); color: var(--white);
  background-image: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  box-shadow: 0 0 0 1px var(--ink), 0 2px 4px rgba(0, 0, 0, 0.25), 0 1px 2px rgba(0, 0, 0, 0.25);
}
.btn--primary:hover { background-color: var(--ink-hover); }
.btn--primary:active { box-shadow: 0 0 0 1px var(--ink), 0 1px 3px rgba(0, 0, 0, 0.15); }
.btn--secondary {
  background: rgba(255, 255, 255, 0.5); color: var(--ink-2);
  box-shadow: 0 0 0 1px rgba(87, 90, 100, 0.14);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.btn--secondary:hover { background: var(--white); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(87, 90, 100, 0.2); }
.btn--lg { height: 40px; padding: 0 18px; }

.tag {
  display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 6px;
  background: rgba(0, 116, 144, 0.07); color: var(--ink-3);
  font-size: 13px; line-height: 1; font-weight: 500; white-space: nowrap;
}
.tags { display: flex; flex-wrap: wrap; gap: 6px; }

.placeholder {
  font-family: var(--mono); font-size: 13px; color: var(--teal-text);
  background: var(--teal-wash); border-radius: 4px; padding: 1px 5px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 246, 248, 0.86);
  -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px);
  box-shadow: 0 1px 0 rgba(0, 116, 144, 0.08);
}
.site-header__inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-header__brand img { height: 44px; width: auto; }
.nav-links { display: flex; gap: 2px; }
.nav-link {
  padding: 8px 14px; border-radius: 8px; font-size: 14px; line-height: 1.5; font-weight: 500;
  color: var(--ink-2); text-decoration: none; transition: background-color 0.2s, box-shadow 0.2s;
}
.nav-link:hover { background: rgba(0, 0, 0, 0.02); box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.25); }
.header-actions { display: flex; align-items: center; gap: 10px; }

/* ---------- Opening ---------- */

.hero { position: relative; overflow: hidden; }
.hero__art { position: absolute; inset: 0; pointer-events: none; }
.hero__wash {
  position: absolute; width: 1080px; height: 748px; right: -220px; top: -80px;
  background: radial-gradient(closest-side, rgba(113, 210, 240, 0.2), rgba(113, 210, 240, 0));
}
.hero__globe {
  position: absolute; width: 760px; height: 760px; right: calc(50% - 720px); top: 24px;
  opacity: 0.4;
  -webkit-mask-image: radial-gradient(closest-side, #000 50%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 50%, transparent 100%);
}
.hero__fade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--canvas) 0%, var(--canvas) calc(50% - 240px), rgba(246, 246, 248, 0) calc(50% + 40px)),
    linear-gradient(0deg, var(--canvas) 0%, rgba(246, 246, 248, 0) 18%);
}
.hero__inner {
  position: relative; max-width: var(--container); margin: 0 auto; padding: 80px var(--gutter) 56px;
  display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 64px; align-items: center;
  min-height: 700px;
}
.hero .lead { margin-top: 20px; max-width: 500px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__tags { margin-top: 32px; }
.hero__tags .mono-label { display: block; margin-bottom: 10px; }

/* The one floating product object: a single real result, with two dimmer cards behind it. */
.result { position: relative; width: 100%; max-width: 392px; justify-self: center; }
.result__back {
  position: absolute; inset: 0; border-radius: 8px;
  background: rgba(255, 255, 255, 0.55); box-shadow: 0 0 0 1px #ffffff inset, 0 16px 40px rgba(30, 30, 44, 0.06);
}
.result__back--1 { transform: translate(22px, -22px) scale(0.95); opacity: 0.7; }
.result__back--2 { transform: translate(44px, -42px) scale(0.9); opacity: 0.4; }
.result__card {
  position: relative; border-radius: 8px; overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 24px 48px 64px rgba(0, 72, 92, 0.16), 0 0 0 1px #ffffff inset, 0 0 0 1px rgba(0, 116, 144, 0.06);
}
.result__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 0; }
.result__status {
  display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 6px;
  background: var(--teal-wash); color: var(--teal-text); font-size: 12px; font-weight: 500;
}
.result__status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.result__quote {
  padding: 12px 20px 16px; font-size: 16px; line-height: 1.4; font-weight: 500; color: var(--ink);
  letter-spacing: -0.01em;
}
.result__steps { border-top: 1px solid var(--edge); }
.result__step {
  display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: start;
  padding: 12px 20px; border-bottom: 1px solid var(--edge);
}
.result__index { font-family: var(--mono); font-size: 12px; line-height: 20px; color: var(--teal-text); }
.result__title { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink); }
.result__title span { display: block; font-weight: 400; color: var(--ink-3); font-size: 13px; line-height: 18px; }
.result__tag { font-size: 12px; line-height: 20px; color: var(--muted); }
.result__tail {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 20px; background: rgba(238, 239, 242, 0.85); font-size: 13px; line-height: 18px; color: var(--ink-3);
}
.result__tail a { color: var(--teal-text); font-weight: 500; text-decoration: none; white-space: nowrap; }
.result__tail a:hover { text-decoration: underline; }

/* Platform names as plain text, not logos (no partnership is implied). */
.platforms {
  position: relative; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
}
.platforms__inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px;
  border-top: 1px solid var(--edge); padding: 22px 0 0;
}
.platforms__list { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.platforms__list li { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: -0.01em; }

/* ---------- Sections ---------- */

.section { padding: 120px 0 0; }
.lead-block .eyebrow { margin-bottom: 0; }
.lead-block hr { border: 0; border-top: 1px solid var(--edge); margin: 16px 0 28px; }

/* Asymmetric bento for the three headline services. */
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.card {
  background: rgba(255, 255, 255, 0.6); border-radius: 12px; padding: 40px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.05);
  display: flex; flex-direction: column; gap: 24px; min-width: 0;
  transition: box-shadow 0.75s, background-color 0.4s;
}
.card:hover { background: rgba(255, 255, 255, 0.85); }
.card--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.card__art {
  border-radius: 8px; padding: 20px;
  background-color: var(--canvas);
  background-image: radial-gradient(circle, rgba(0, 116, 144, 0.12) 0 1px, transparent 1.2px);
  background-size: 12px 12px;
  box-shadow: 0 0 0 1px rgba(0, 116, 144, 0.06) inset;
}
.card__art svg { width: 100%; height: auto; }
.card__body { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.card__index { font-family: var(--mono); font-size: 12px; line-height: 1.5; text-transform: uppercase; color: var(--teal-text); }
.card-title { font-size: 26px; line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.card__desc { font-size: 16px; line-height: 24px; color: var(--ink-2); }
.checks { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.checks li {
  position: relative; padding-left: 26px; font-size: 15px; line-height: 22px; color: var(--ink-2);
}
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 4px;
  background: var(--teal-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.9' fill='none' stroke='%230080a0' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.checks strong { font-weight: 600; color: var(--ink); }
.card .tags { margin-top: auto; padding-top: 6px; }

/* Process diagrams, light version: hairline nodes, teal for the highlighted path. */
.dg-text { font-family: var(--mono); font-size: 10px; letter-spacing: 0.02em; fill: var(--ink-3); }
.dg-text--muted { fill: var(--muted); }
.dg-text--signal { fill: var(--teal-text); }
.dg-node { fill: #ffffff; stroke: #cfdde2; stroke-width: 1; }
.dg-node--signal { fill: #e3f1f5; stroke: rgba(0, 128, 160, 0.6); }
.dg-path { fill: none; stroke: #c3d3d9; stroke-width: 1.2; }
.dg-path--signal { stroke: var(--teal); }
.dg-dot { fill: #a9bfc6; }
.dg-dot--signal { fill: var(--teal); }

/* Why Nexus: modest, specific proof instead of giant statistics. */
.proof { position: relative; overflow-x: clip; }
.proof__waves {
  position: absolute; right: -80px; top: 40px; width: 620px; height: 420px; pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='12' viewBox='0 0 48 12'%3E%3Cpath d='M0 6 Q6 2 12 6 T24 6 T36 6 T48 6' fill='none' stroke='rgba(0,116,144,0.07)' stroke-width='1'/%3E%3C/svg%3E") 0 0 / 48px 12px,
    radial-gradient(closest-side, rgba(113, 210, 240, 0.18), rgba(113, 210, 240, 0));
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 30%, transparent 100%);
}
.proof-row {
  position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 40px;
  margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--edge);
}
.proof-stat { font-size: 24px; line-height: 1.1; font-weight: 500; letter-spacing: -0.01em; color: var(--teal); }
.proof-claim { margin-top: 12px; font-size: 18px; line-height: 1.35; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.proof-caption { margin-top: 8px; font-size: 15px; line-height: 22px; color: var(--ink-3); }

/* The one bounded deep-teal chapter. */
.deep {
  margin: 120px 12px 0; border-radius: 12px; padding: 144px 0;
  background-color: var(--deep);
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px);
  background-size: 16px 16px;
  color: rgba(255, 255, 255, 0.94);
}
.deep .eyebrow { color: var(--ice-2); }
.deep .lead-block hr { border-top-color: rgba(197, 226, 232, 0.28); }
.heading-dark {
  font-size: 48px; line-height: 1.1; font-weight: 500; letter-spacing: -0.02em; color: var(--ice);
  max-width: 780px; text-wrap: balance;
}
.heading-dark .quiet { color: var(--ice-2); }
.deep .section-support { color: rgba(255, 255, 255, 0.94); font-weight: 400; }
.deep-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 64px; }
.deep-tile {
  display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(197, 226, 232, 0.26);
  min-width: 0;
}
.deep-tile--wide { grid-column: 1 / -1; }
.deep-tile h3 { font-size: 20px; line-height: 1.2; font-weight: 500; color: #ffffff; letter-spacing: -0.01em; }
.deep-tile p { font-size: 15px; line-height: 22px; font-weight: 400; color: rgba(255, 255, 255, 0.94); }
.deep-tile .tags { margin-top: auto; }
.deep-tile .tag { background: rgba(255, 255, 255, 0.12); color: #ffffff; font-size: 12px; height: 22px; }

/* ---------- Closing destination: invitation, routes, form, and directory in one field ---------- */

.closing-field {
  position: relative; margin: 120px 12px 12px; border-radius: 12px; overflow: hidden;
  background: var(--panel); border: 1px solid var(--edge);
}
.closing-field::before {
  content: ""; position: absolute; right: -120px; top: -160px; width: 720px; height: 560px; pointer-events: none;
  background-image: radial-gradient(circle, rgba(0, 128, 160, 0.18) 0 1.2px, transparent 1.4px);
  background-size: 12px 12px;
  -webkit-mask-image: radial-gradient(closest-side, #000 10%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 10%, transparent 100%);
}
.closing-section { position: relative; max-width: var(--container); margin: 0 auto; padding: 100px var(--gutter) 0; }
.closing-section .eyebrow { margin-bottom: 20px; }
.closing-support { margin-top: 14px; font-size: 18px; line-height: 24px; color: var(--ink-3); max-width: 620px; }

.routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.route {
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 40px;
  min-height: 209px; padding: 24px 32px 30px; border-radius: 8px; text-decoration: none; color: var(--ink);
  background: rgba(255, 255, 255, 0.3); border: 1px solid #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: background-color 0.2s;
}
a.route:hover { background: rgba(255, 255, 255, 0.6); }
.route__title { font-size: 16px; line-height: 1.1; font-weight: 600; color: var(--ink); }
.route__value { display: block; margin-top: 8px; font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.dot-icon circle { fill: rgba(0, 128, 160, 0.22); }
.dot-icon circle.on { fill: var(--teal); }

.inquiry-card {
  margin-top: 20px; padding: 40px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.05);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); gap: 48px;
}
.inquiry-card__intro h3 { font-size: 28px; line-height: 1.1; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.inquiry-card__intro p { margin-top: 12px; font-size: 15px; line-height: 22px; color: var(--ink-3); }

.inquiry__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink); }
.field__opt { font-weight: 400; color: var(--muted); margin-left: 6px; font-size: 13px; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 15px/1.4 var(--sans); color: var(--ink);
  background: var(--white); border: 0; border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(0, 96, 120, 0.22), 0 1px 1px rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.2s;
}
.field input, .field select { height: 40px; padding: 0 12px; }
.field textarea { padding: 10px 12px; min-height: 132px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 36px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%234a6670' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center / 16px no-repeat;
}
.field input:hover, .field select:hover, .field textarea:hover { box-shadow: 0 0 0 1px rgba(0, 96, 120, 0.4); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--teal); outline-offset: 1px; box-shadow: 0 0 0 1px var(--teal);
}
.inquiry__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.inquiry__turnstile:not(:empty) { margin-top: 16px; }
.inquiry__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.inquiry__actions p { font-size: 13px; line-height: 18px; color: var(--muted); }
.inquiry__status { margin-top: 14px; font-size: 14px; line-height: 20px; }
.inquiry__status:empty { display: none; }
.inquiry__status[data-kind="ok"] { color: var(--teal-text); }
.inquiry__status[data-kind="error"] { color: #b42318; }
.inquiry__status[data-kind="notice"] { color: var(--ink-2); }

/* Integrated directory at the bottom of the closing field. */
.footer { position: relative; max-width: var(--container); margin: 0 auto; padding: 88px var(--gutter) 0; }
.footer__top { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 2fr); gap: 40px; align-items: start; }
.footer__brand img { width: 240px; height: auto; }
.footer__brand p { margin-top: 16px; font-size: 14px; line-height: 20px; color: var(--ink-3); max-width: 300px; }
.footer__groups { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 1.2fr); gap: 40px 32px; }
.footer__group--wide { grid-column: span 2; }
.footer__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(5, auto); grid-auto-flow: column; gap: 12px 32px; }
.footer__links a { width: fit-content; }
.footer__group { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer__group .footer__group-title { font-size: 14px; line-height: 1.1; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 4px; }
.footer__group a, .footer__group span { font-size: 14px; line-height: 1.5; color: var(--ink-3); text-decoration: none; transition: color 0.2s; }
.footer__group a:hover { color: var(--ink); }
.footer__legal {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 72px; padding: 20px 0 24px; border-top: 1px solid var(--edge);
  font-size: 13px; line-height: 18px; color: var(--ink-3);
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .hero__globe { right: -260px; }
  .header-actions .header-phone { display: none; }
}

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 72px; min-height: 0; padding-top: 56px; }
  .result { justify-self: start; margin-left: 4px; }
  .hero__globe { width: 620px; height: 620px; right: -170px; top: auto; bottom: -60px; }
  .hero__wash { right: -400px; top: auto; bottom: -260px; }
  .hero__fade { background: linear-gradient(180deg, var(--canvas) 0%, var(--canvas) 44%, rgba(246, 246, 248, 0) 66%), linear-gradient(0deg, var(--canvas) 0%, rgba(246, 246, 248, 0) 12%); }
  .card--wide { grid-template-columns: 1fr; gap: 28px; }
  .bento { grid-template-columns: 1fr; }
  .deep-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deep-tile--wide { grid-column: 1 / -1; }
  .inquiry-card { grid-template-columns: 1fr; gap: 28px; }
  .footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 810px) {
  .nav-links { display: none; }
  .site-header__inner { height: 64px; }
  .site-header__brand img { height: 36px; }
  .display { font-size: 40px; }
  .heading-lg, .heading-dark { font-size: 34px; }
  .closing { font-size: 44px; }
  .lead { font-size: 18px; }
  .section { padding-top: 88px; }
  .deep { margin: 88px 8px 0; padding: 88px 0; }
  .closing-field { margin: 88px 8px 8px; }
  .closing-section { padding-top: 72px; }
  .routes { grid-template-columns: 1fr; gap: 12px; }
  .route { min-height: 0; flex-direction: row; justify-content: flex-start; align-items: center; gap: 20px; padding: 18px 20px; }
  .route .dot-icon { width: 48px; height: 48px; flex: none; }
  .proof-row { grid-template-columns: 1fr; gap: 28px; }
  .card, .inquiry-card { padding: 28px 22px; }
  .footer { padding-top: 64px; }
  .footer__legal { margin-top: 48px; }
}

@media (max-width: 640px) {
  .deep-grid { grid-template-columns: 1fr; }
  .inquiry__grid { grid-template-columns: 1fr; }
  .footer__groups { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .header-actions .btn { height: 34px; padding: 0 12px; }
}

@media (max-width: 420px) {
  .display { font-size: 34px; }
  .heading-lg, .heading-dark { font-size: 30px; }
  .closing { font-size: 36px; }
  .card-title { font-size: 23px; }
  .site-header__brand img { height: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .eyebrow::after { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ---------- Navigation: Services dropdown (desktop) and menu panel (phones) ---------- */

.nav-link--button {
  display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; cursor: pointer;
  font: 500 14px/1.5 var(--sans);
}
.nav-link--button svg { width: 14px; height: 14px; transition: transform 0.2s; }
.nav-link--button[aria-expanded="true"] { background: rgba(0, 116, 144, 0.06); }
.nav-link--button[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-dropdown { position: relative; }
.nav-dropdown__panel {
  position: absolute; top: calc(100% + 10px); left: -8px; z-index: 60; width: 700px; padding: 8px;
  border-radius: 12px; background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 0 0 1px rgba(0, 116, 144, 0.1), 0 18px 44px rgba(0, 72, 92, 0.16);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.nav-dropdown__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.nav-dropdown__label {
  display: block; padding: 10px 12px 4px;
  font-family: var(--mono); font-size: 11px; line-height: 1.5; text-transform: uppercase; color: var(--muted);
}
.nav-dropdown__item { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; transition: background-color 0.2s; }
.nav-dropdown__item:hover, .nav-dropdown__item[aria-current="page"] { background: rgba(0, 116, 144, 0.06); }
.nav-dropdown__title { display: block; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink); }
.nav-dropdown__desc { display: block; font-size: 13px; line-height: 18px; color: var(--ink-3); }
.nav-dropdown__all {
  display: block; margin-top: 4px; padding: 10px 12px 6px; border-top: 1px solid var(--edge);
  font-size: 13px; font-weight: 500; color: var(--teal-text); text-decoration: none;
}
.nav-dropdown__all:hover { text-decoration: underline; }

.menu-button {
  display: none; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0;
  border: 0; border-radius: 8px; cursor: pointer; color: var(--ink);
  background: rgba(255, 255, 255, 0.6); box-shadow: 0 0 0 1px rgba(0, 96, 120, 0.2);
}
.menu-button svg { width: 20px; height: 20px; }
.menu-button__close { display: none; }
.menu-button[aria-expanded="true"] .menu-button__open { display: none; }
.menu-button[aria-expanded="true"] .menu-button__close { display: block; }

.mobile-menu {
  border-top: 1px solid var(--edge); background: rgba(246, 246, 248, 0.98);
  max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); overflow-y: auto;
}
.mobile-menu__inner { max-width: var(--container); margin: 0 auto; padding: 8px var(--gutter) 28px; display: flex; flex-direction: column; }
.mobile-menu .mono-label { margin: 20px 0 4px; }
.mobile-menu__link {
  display: block; padding: 13px 0; border-bottom: 1px solid var(--edge);
  font-size: 17px; line-height: 22px; font-weight: 500; color: var(--ink-2); text-decoration: none;
}
.mobile-menu__link[aria-current="page"] { color: var(--ink); font-weight: 600; }
.mobile-menu__call { margin-top: 24px; width: 100%; height: 44px; }

@media (max-width: 1040px) {
  .nav-dropdown__panel { width: 340px; max-height: calc(100vh - 96px); overflow-y: auto; }
  .nav-dropdown__cols { grid-template-columns: 1fr; }
}
@media (max-width: 810px) {
  .menu-button { display: inline-flex; }
}
@media (min-width: 811px) {
  .mobile-menu { display: none !important; }
}

/* ---------- Homepage card links ---------- */

.card__link {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 14px;
  font-size: 15px; line-height: 22px; font-weight: 600; color: var(--teal-text); text-decoration: none;
}
.card__link svg { width: 15px; height: 15px; transition: transform 0.2s; }
.card__link:hover { text-decoration: underline; }
.card__link:hover svg { transform: translateX(2px); }

/* ---------- Service pages (Column product-detail pattern) ---------- */

.page-hero { position: relative; overflow: hidden; }
.page-hero .hero__wash { right: -300px; top: -160px; }
.page-hero__globe {
  position: absolute; width: 640px; height: 640px; right: calc(50% - 700px); top: -40px; opacity: 0.3;
  -webkit-mask-image: radial-gradient(closest-side, #000 45%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 45%, transparent 100%);
}
.page-hero__inner {
  position: relative; max-width: var(--container); margin: 0 auto; padding: 64px var(--gutter) 24px;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center;
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px; margin-bottom: 20px;
  font-family: var(--mono); font-size: 12px; line-height: 1.5; text-transform: uppercase; color: var(--teal-text);
}
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span[aria-hidden] { color: var(--muted); }
.product-display {
  font-size: 56px; line-height: 60px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance;
}
.product-display .quiet { display: block; color: var(--quiet); }
.product-support { margin-top: 20px; font-size: 20px; line-height: 1.4; color: var(--ink-3); max-width: 520px; text-wrap: pretty; }
.art-card {
  border-radius: 12px; padding: 12px;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 24px 48px 64px rgba(0, 72, 92, 0.14), 0 0 0 1px #ffffff inset, 0 0 0 1px rgba(0, 116, 144, 0.06);
}
.feature-heading {
  font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink);
  max-width: 760px; text-wrap: balance;
}
.checks--two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 40px; margin-top: 32px; }

.catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.catalog-card {
  display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 8px; min-width: 0;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.05);
}
.catalog-card::before {
  content: ""; width: 22px; height: 22px; margin-bottom: 8px;
  background-image: radial-gradient(circle, var(--teal) 0 2px, transparent 2.4px);
  background-size: 8px 8px;
}
.catalog-card h3 { font-size: 17px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.catalog-card p { font-size: 15px; line-height: 22px; color: var(--ink-2); }

.feature-box {
  max-width: 1280px; margin: 120px auto 0; padding: 72px 0; border-radius: 16px;
  background: rgba(255, 255, 255, 0.6); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
}
.feature-box__inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start;
}
.feature-box .eyebrow { margin-bottom: 16px; }
.feature-box .checks { margin-top: 6px; }
.mini-steps { display: flex; flex-direction: column; gap: 18px; margin-top: 6px; }
.mini-steps li { display: grid; grid-template-columns: 32px 1fr; gap: 8px; font-size: 16px; line-height: 24px; color: var(--ink-2); }
.mini-steps strong { color: var(--ink); font-weight: 600; }

.steps { margin-top: 32px; border-top: 1px solid var(--edge); }
.step {
  display: grid; grid-template-columns: 56px minmax(0, 260px) minmax(0, 1fr); gap: 24px; align-items: baseline;
  padding: 24px 0; border-bottom: 1px solid var(--edge);
}
.step__index { font-family: var(--mono); font-size: 12px; line-height: 24px; color: var(--teal-text); }
.step__title { font-size: 18px; line-height: 24px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.step__desc { font-size: 16px; line-height: 24px; color: var(--ink-2); }

.engage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.engage-card {
  padding: 28px; border-radius: 12px; background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.05);
}
.engage-card h3 { font-size: 18px; line-height: 1.25; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.engage-card p { margin-top: 8px; font-size: 15px; line-height: 22px; color: var(--ink-2); }
.platform-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; }
.platform-groups { margin-top: 40px; border-top: 1px solid var(--edge); }
.platform-group {
  display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 10px 24px; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--edge);
}

.faq { margin-top: 28px; border-top: 1px solid var(--edge); }
.faq-item { border-bottom: 1px solid var(--edge); }
.faq-item summary {
  position: relative; display: block; padding: 22px 48px 22px 0; cursor: pointer; list-style: none;
  font-size: 18px; line-height: 24px; font-weight: 500; color: var(--ink); letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before, .faq-item summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 1.6px; background: var(--teal);
  transition: transform 0.2s;
}
.faq-item summary::after { transform: rotate(90deg); }
.faq-item[open] summary::after { transform: rotate(0deg); }
.faq-item p { padding: 0 48px 24px 0; max-width: 780px; font-size: 16px; line-height: 24px; color: var(--ink-2); }
.faq-item p a { color: var(--teal-text); font-weight: 500; }

.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.related-card {
  display: flex; flex-direction: column; gap: 6px; padding: 24px 28px; border-radius: 8px; text-decoration: none;
  background: rgba(255, 255, 255, 0.55); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: background-color 0.2s;
}
.related-card:hover { background: rgba(255, 255, 255, 0.9); }
.related-card__title { display: inline-flex; align-items: center; gap: 4px; font-size: 18px; line-height: 1.25; font-weight: 600; color: var(--ink); }
.related-card__title svg { width: 16px; height: 16px; }
.related-card__desc { font-size: 15px; line-height: 22px; color: var(--ink-3); }

@media (max-width: 1320px) {
  .feature-box { margin-left: 12px; margin-right: 12px; }
}
@media (max-width: 960px) {
  .page-hero__inner { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; }
  .page-hero__globe { width: 520px; height: 520px; right: -200px; top: auto; bottom: -140px; opacity: 0.22; }
  .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-box__inner { grid-template-columns: 1fr; gap: 24px; }
  .engage { grid-template-columns: 1fr; }
}
@media (max-width: 810px) {
  .product-display { font-size: 38px; line-height: 42px; }
  .product-support { font-size: 18px; }
  .feature-heading { font-size: 28px; line-height: 32px; }
  .checks--two { grid-template-columns: 1fr; }
  .feature-box { margin: 88px 8px 0; padding: 48px 0; }
  .step { grid-template-columns: 36px 1fr; gap: 6px 12px; }
  .step__desc { grid-column: 2; }
  .related { grid-template-columns: 1fr; }
  .faq-item summary { font-size: 17px; }
}
@media (max-width: 640px) {
  .catalog { grid-template-columns: 1fr; }
  .platform-group { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .product-display { font-size: 33px; line-height: 37px; }
}

/* ---------- Homepage: specialist services directory (Column product rows) ---------- */

.directory { margin-top: 48px; }
.directory__group {
  display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px 32px; align-items: start;
}
.directory__group + .directory__group { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--edge); }
.directory__title { padding-top: 18px; font-size: 20px; line-height: 1.2; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.directory__rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.product-row {
  display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 14px 10px 10px;
  border-radius: 8px; background: rgba(0, 116, 144, 0.04); text-decoration: none;
  transition: background-color 0.2s;
}
.product-row:hover { background: rgba(0, 116, 144, 0.08); }
.product-row:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.product-row__icon {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px;
  background: #ffffff; color: var(--teal);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.06);
}
.product-row__icon svg { width: 24px; height: 24px; }
.product-row__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.product-row__title { font-size: 16px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.product-row__desc { font-size: 14px; line-height: 20px; color: var(--ink-3); }
.product-row__arrow { flex: none; margin-left: auto; display: flex; color: var(--teal-text); }
.product-row__arrow svg { width: 16px; height: 16px; transition: transform 0.2s; }
.product-row:hover .product-row__arrow svg { transform: translateX(2px); }

@media (max-width: 960px) {
  .directory__group { grid-template-columns: 1fr; }
  .directory__title { padding-top: 0; }
  .related { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .directory__rows { grid-template-columns: 1fr; }
}

/* ---------- Homepage: grouped platform index (plain text, never logos) ---------- */

.platform-index {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 28px; width: 100%; margin-top: 4px;
}
.platform-index__group { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.platform-index dt {
  font-family: var(--mono); font-size: 11px; line-height: 1.5; text-transform: uppercase; color: var(--teal-text);
}
.platform-index dd { margin: 0; font-size: 15px; line-height: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--muted); text-wrap: pretty; }

@media (max-width: 960px) {
  .platform-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .platform-index { grid-template-columns: 1fr; gap: 14px; }
}
