/* altf9tech.com
   Brand: ALT_F9. Yellow #FFCE00 and royal blue #0C2996, taken from the logo.
   Signature device: the yellow underscore from the logo. It appears as the hero cursor and marks whatever
   is selected or active (chosen service, active tab, current form step). Everything else stays quiet. */

/* Archivo variable (weight 100–900, width 62–125%), self-hosted. SIL Open Font License: assets/fonts/OFL-LICENSE.txt */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url('../fonts/archivo-latin-ext-wdth-normal.woff2') format('woff2-variations'), url('../fonts/archivo-latin-ext-wdth-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url('../fonts/archivo-latin-wdth-normal.woff2') format('woff2-variations'), url('../fonts/archivo-latin-wdth-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* brand */
  --yellow: #FFCE00;
  --yellow-hover: #FFD933;
  --yellow-press: #EBBE00;
  --blue: #0C2996;
  --blue-hover: #0A2280;
  --blue-deep: #08196A;      /* hero, footer */
  --blue-tint: #EEF2FD;      /* selected surfaces */

  /* neutrals */
  --white: #FFFFFF;
  --mist: #F4F6FB;
  --line: #E1E6F0;
  --line-strong: #C9D1E2;
  --ink: #0B1640;
  --ink-2: #47526E;
  --ink-3: #6E7891;
  --on-blue: #FFFFFF;
  --on-blue-2: #BAC4E8;
  --on-blue-line: rgba(255, 255, 255, 0.16);

  --ok: #157347;
  --err: #B3261E;

  /* type */
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --fs-xs: 0.8125rem;   /* 13 */
  --fs-s: 0.9375rem;    /* 15 */
  --fs-m: 1.0625rem;    /* 17 body */
  --fs-l: 1.25rem;      /* 20 */
  --fs-xl: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem);       /* 22–28 */
  --fs-2xl: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);          /* 30–48 */
  --fs-3xl: clamp(2.5rem, 1.3rem + 4.6vw, 4.6rem);        /* 40–74 */

  /* layout */
  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 9vw, 8rem);
  --r-s: 6px;
  --r-m: 10px;
  --r-l: 16px;
  --shadow-card: 0 1px 2px rgba(11, 22, 64, 0.06), 0 12px 32px -12px rgba(11, 22, 64, 0.18);
  --shadow-float: 0 2px 4px rgba(8, 25, 106, 0.08), 0 32px 64px -24px rgba(4, 12, 54, 0.55);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-m);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.on-blue :focus-visible { outline-color: var(--yellow); }

h1, h2, h3, h4 { margin: 0; color: inherit; line-height: 1.12; text-wrap: balance; }
h1 { font-size: var(--fs-3xl); font-weight: 300; font-stretch: 125%; line-height: 1.03; letter-spacing: -0.025em; }
h2 { font-size: var(--fs-2xl); font-weight: 350; font-stretch: 122%; line-height: 1.08; letter-spacing: -0.02em; }
h3 { font-size: var(--fs-l); font-weight: 620; font-stretch: 104%; letter-spacing: -0.005em; }
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
.nowrap { white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--blue); color: #fff; padding: 0.6rem 1rem; border-radius: var(--r-s); }
.skip-link:focus { top: 1rem; }

.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ================================================================ buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 3.125rem; padding: 0.75rem 1.4rem;
  font: inherit; font-size: 1rem; font-weight: 640; font-stretch: 104%; line-height: 1.2; letter-spacing: 0.005em;
  text-decoration: none; text-align: center; white-space: nowrap;
  border: 1.5px solid transparent; border-radius: var(--r-s);
  cursor: pointer;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease), transform 90ms var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.7; cursor: progress; }
.btn--primary { background: var(--yellow); color: var(--blue); }
.btn--primary:hover { background: var(--yellow-hover); }
.btn--primary:active { background: var(--yellow-press); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-hover); }
.btn--outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, 0.45); color: #fff; background: transparent; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn--block { width: 100%; }
.btn--small { min-height: 2.6rem; padding: 0.5rem 1.05rem; font-size: var(--fs-s); }

.link-arrowless { font-weight: 640; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.link-arrowless:hover { border-bottom-width: 3px; }

/* ================================================================ header */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: saturate(1.5) blur(10px); backdrop-filter: saturate(1.5) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms, box-shadow 200ms;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11, 22, 64, 0.35); }
.site-header__inner { position: relative; display: flex; align-items: center; gap: 2rem; min-height: 78px; }

.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 34px; width: auto; }
.site-footer .logo img { height: 36px; }

.nav { display: flex; align-items: center; gap: 0.25rem; margin-left: 0.5rem; }
.nav > a, .nav__trigger {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.55rem 0.8rem; border-radius: var(--r-s);
  font: inherit; font-size: var(--fs-s); font-weight: 560; color: var(--ink-2); text-decoration: none;
  background: none; border: 0; cursor: pointer;
}
.nav > a:hover, .nav__trigger:hover, .nav__trigger[aria-expanded="true"] { color: var(--blue); background: var(--mist); }
.nav__trigger .chev { width: 14px; height: 14px; transition: transform 180ms var(--ease); }
.nav__trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }

.mega {
  position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% - 6px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l);
  box-shadow: var(--shadow-card);
  padding: 1rem;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.25rem;
}
.mega a { display: grid; grid-template-columns: 44px 1fr; gap: 0.9rem; align-items: start; padding: 0.95rem; border-radius: var(--r-m); text-decoration: none; color: var(--ink); }
.mega a:hover { background: var(--mist); }
.mega a:hover strong { color: var(--blue); }
.mega strong { display: block; font-weight: 640; font-size: var(--fs-m); line-height: 1.3; }
.mega span { display: block; font-size: var(--fs-s); color: var(--ink-2); line-height: 1.45; margin-top: 0.15rem; }

.tile-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--r-m);
  background: var(--blue-tint); color: var(--blue);
}

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 1.1rem; }
.header-phone { font-weight: 640; font-size: var(--fs-s); color: var(--ink); text-decoration: none; white-space: nowrap; }
.header-phone:hover { color: var(--blue); text-decoration: underline; }
.menu-toggle { display: none; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: 0; right: 0; top: 100%; margin: 0;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-card);
    padding: 0.5rem var(--gutter) 1.25rem; max-height: calc(100vh - 78px); overflow: auto;
  }
  .nav.is-open > a, .nav.is-open .nav__trigger { padding: 0.9rem 0; border-radius: 0; border-bottom: 1px solid var(--line); font-size: var(--fs-m); width: 100%; justify-content: space-between; }
  .nav.is-open .mega { position: static; box-shadow: none; border: 0; padding: 0.25rem 0 0.5rem; grid-template-columns: 1fr; }
  .nav.is-open .mega a { padding: 0.7rem 0; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    min-height: 44px; padding: 0 0.9rem; border: 1px solid var(--line-strong); border-radius: var(--r-s);
    background: var(--white); font: inherit; font-size: var(--fs-s); font-weight: 640; color: var(--ink); cursor: pointer;
  }
}
@media (max-width: 640px) {
  .header-phone, .header-actions .btn { display: none; }
  .logo img { height: 28px; }
}

/* ================================================================ hero */

.hero { position: relative; background: var(--blue-deep); color: var(--on-blue); overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  grid-template-areas: "copy form" "facts form";
  column-gap: clamp(2.5rem, 6vw, 6rem);
  padding-top: clamp(3rem, 7vw, 6rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}
.hero__copy { grid-area: copy; align-self: end; }
.hero__form { grid-area: form; align-self: start; }
.hero__facts { grid-area: facts; align-self: end; }

.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: var(--fs-s); color: var(--on-blue-2); margin-bottom: 1.6rem; }
.crumbs a { color: var(--on-blue); text-decoration: none; border-bottom: 1px solid var(--on-blue-line); }
.crumbs a:hover { border-bottom-color: var(--on-blue); }
.crumbs span[aria-hidden] { opacity: 0.6; }

.hero__badge { display: inline-flex; align-items: center; gap: 0.6rem; font-size: var(--fs-s); font-weight: 560; color: var(--on-blue-2); margin-bottom: 1.6rem; }
.hero__badge::before { content: ""; width: 18px; height: 4px; background: var(--yellow); border-radius: 1px; }

.hero h1 { max-width: 14ch; }
.hero__lede { margin-top: 1.75rem; font-size: var(--fs-l); line-height: 1.55; color: var(--on-blue-2); max-width: 34rem; }
.hero__actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }
.hero__call { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--on-blue-line); }
.hero__call:hover { border-bottom-color: #fff; }

/* the underscore cursor: the one orchestrated moment */
.cursor {
  display: inline-block; width: 0.55em; height: 0.085em; margin-left: 0.08em;
  background: var(--yellow); vertical-align: baseline; border-radius: 1px;
}
@media (prefers-reduced-motion: no-preference) {
  .cursor { animation: blink 1.05s steps(1, end) 0.6s 4; }
}
@keyframes blink { 50% { opacity: 0; } }

.checks { list-style: none; margin-top: 2rem; display: grid; gap: 0.7rem; }
.checks li { position: relative; padding-left: 1.9rem; font-weight: 500; color: var(--on-blue); }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 1rem; height: 3px; background: var(--yellow); border-radius: 1px; }

.facts {
  display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0 clamp(1.5rem, 3vw, 3rem);
  margin-top: clamp(2.5rem, 5vw, 3.75rem); padding-top: 1.5rem; border-top: 1px solid var(--on-blue-line);
}
.facts div { display: flex; flex-direction: column; }
.facts dt { order: 2; font-size: var(--fs-xs); color: var(--on-blue-2); }
.facts dd { order: 1; font-size: var(--fs-xl); font-weight: 400; font-stretch: 122%; line-height: 1.15; color: #fff; }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; grid-template-areas: "copy" "form" "facts"; row-gap: 2.5rem; }
  .hero h1 { max-width: 16ch; }
  .hero__actions { display: none; }
  .facts { margin-top: 0; }
}
@media (max-width: 520px) { .facts { grid-template-columns: repeat(2, auto); gap: 1rem 2.5rem; } }

/* ================================================================ lead form */

.lead-card {
  position: relative;
  background: var(--white); color: var(--ink);
  border-radius: var(--r-l);
  padding: clamp(1.4rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-float);
}
.lead-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.lead-card h2 { font-size: var(--fs-xl); font-weight: 450; font-stretch: 115%; letter-spacing: -0.01em; }
.lead-card__sub { margin-top: 0.5rem; color: var(--ink-2); font-size: var(--fs-s); line-height: 1.55; }

.progress { display: flex; align-items: center; gap: 0.6rem; margin-top: 1.4rem; font-size: var(--fs-xs); color: var(--ink-2); font-weight: 560; }
.progress__bars { display: flex; gap: 4px; }
.progress__bars span { width: 28px; height: 4px; border-radius: 1px; background: var(--line); transition: background-color 200ms; }
.progress__bars span.is-done { background: var(--yellow); }
.js-steps .progress { display: flex; }
.progress { display: none; }

.lead-form { margin-top: 1.25rem; display: grid; gap: 1.1rem; }
.step { display: grid; gap: 1.1rem; min-width: 0; }
@media (prefers-reduced-motion: no-preference) {
  .js-steps .step.is-entering { animation: stepIn 260ms var(--ease); }
}
@keyframes stepIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }

.picker { border: 0; padding: 0; margin: 0; min-width: 0; }
.picker legend { padding: 0; font-weight: 640; font-size: var(--fs-s); margin-bottom: 0.75rem; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
.choice { position: relative; display: flex; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice__box {
  position: relative; flex: 1;
  display: flex; align-items: center; gap: 0.7rem;
  min-height: 3.6rem; padding: 0.7rem 0.85rem;
  border: 1px solid var(--line-strong); border-radius: var(--r-m); background: var(--white);
  font-weight: 600; font-size: 0.95rem; line-height: 1.25;
  transition: border-color 140ms, background-color 140ms, box-shadow 140ms;
}
.choice__box .icon { color: var(--blue); width: 22px; height: 22px; }
.choice:hover .choice__box { border-color: var(--blue); }
.choice input:focus-visible + .choice__box { outline: 2.5px solid var(--blue); outline-offset: 2px; }
.choice input:checked + .choice__box { border-color: var(--blue); background: var(--blue-tint); box-shadow: inset 0 0 0 1px var(--blue); color: var(--blue); }
.choice input:checked + .choice__box::after { content: ""; position: absolute; left: 0.85rem; bottom: 0.45rem; width: 22px; height: 3px; background: var(--yellow); border-radius: 1px; }
.choice--wide { grid-column: 1 / -1; }
.choice--wide .choice__box { min-height: 3rem; font-weight: 560; color: var(--ink-2); }
@media (max-width: 380px) { .choices { grid-template-columns: 1fr; } }

.chosen { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 0.9rem; border-radius: var(--r-m); background: var(--blue-tint); font-size: var(--fs-s); }
.chosen strong { color: var(--blue); font-weight: 640; }
.chosen button { font: inherit; font-size: var(--fs-s); font-weight: 640; color: var(--blue); background: none; border: 0; padding: 0.2rem; cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em; }
.chosen { display: none; }
.js-steps .chosen { display: flex; }

.field { display: grid; gap: 0.35rem; min-width: 0; }
.field label { font-weight: 620; font-size: var(--fs-s); }
.optional { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3rem;
  padding: 0.7rem 0.9rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-strong); border-radius: 8px;
  transition: border-color 140ms, box-shadow 140ms;
}
.field textarea { min-height: 5rem; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230C2996' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.95rem center; background-size: 12px; padding-right: 2.5rem; }
.field input::placeholder { color: var(--ink-3); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(12, 41, 150, 0.14); }
.field input[aria-invalid="true"] { border-color: var(--err); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

.error { font-size: var(--fs-xs); font-weight: 600; color: var(--err); }
.error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.lead-form__note { font-size: var(--fs-xs); color: var(--ink-3); line-height: 1.55; }
.lead-form__note a { color: var(--ink-2); }
.lead-form__status { font-size: var(--fs-s); font-weight: 600; color: var(--ink-2); }
.lead-form__status:empty { display: none; }
.lead-form__fallback { border: 1px solid var(--line-strong); border-left: 4px solid var(--yellow); border-radius: var(--r-m); padding: 1rem 1.1rem; display: grid; gap: 0.8rem; background: #FFFBEA; }
.lead-form__fallback p { font-size: var(--fs-s); }
.fallback-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* ================================================================ sections */

.section { padding: var(--section) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 3.75rem) 0; }
.bg-mist { background: var(--mist); }
.bg-blue { background: var(--blue-deep); color: var(--on-blue); }
.bg-yellow { background: var(--yellow); color: var(--blue); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.25rem, 5vw, 3.75rem); }
.section-head p { margin-top: 1.1rem; color: var(--ink-2); font-size: var(--fs-l); line-height: 1.55; max-width: 40rem; }
.bg-blue .section-head p { color: var(--on-blue-2); }
.section-head--row { display: flex; justify-content: space-between; align-items: end; gap: 2rem; max-width: none; }
.section-head--row > div { max-width: 46rem; }

/* technology strip */
.tech { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 1.5rem 3rem; align-items: center; }
.tech__label { font-size: var(--fs-s); color: var(--ink-2); line-height: 1.5; }
.tech ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.9rem 2.4rem; }
.tech li { font-size: var(--fs-l); font-weight: 600; font-stretch: 112%; color: var(--ink); letter-spacing: -0.01em; opacity: 0.78; }
@media (max-width: 860px) { .tech { grid-template-columns: 1fr; } .tech ul { gap: 0.6rem 1.6rem; } .tech li { font-size: var(--fs-m); } }

/* solutions tabs */
.solutions { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.65fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.tablist { display: grid; gap: 0.35rem; }
.tab {
  position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 0.9rem; align-items: center;
  width: 100%; padding: 0.9rem 1rem; text-align: left;
  font: inherit; color: var(--ink); background: transparent; border: 1px solid transparent; border-radius: var(--r-m); cursor: pointer;
  transition: background-color 160ms, border-color 160ms, box-shadow 160ms;
}
.tab strong { display: block; font-weight: 640; font-size: var(--fs-m); line-height: 1.3; }
.tab span.tab__line { display: block; font-size: var(--fs-s); color: var(--ink-2); line-height: 1.4; margin-top: 0.1rem; }
.tab .tile-icon { background: var(--white); border: 1px solid var(--line); transition: background-color 160ms, color 160ms; }
.tab:hover { background: rgba(255, 255, 255, 0.6); }
.tab[aria-selected="true"] { background: var(--white); border-color: var(--line); box-shadow: var(--shadow-card); }
.tab[aria-selected="true"] strong { color: var(--blue); }
.tab[aria-selected="true"] .tile-icon { background: var(--blue); color: #fff; border-color: var(--blue); }
.tab[aria-selected="true"]::after { content: ""; position: absolute; left: calc(1rem + 44px + 0.9rem); bottom: 0.55rem; width: 22px; height: 3px; background: var(--yellow); border-radius: 1px; }

.panel {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l);
  padding: clamp(1.5rem, 3.5vw, 3rem);
  box-shadow: var(--shadow-card);
}
@media (prefers-reduced-motion: no-preference) { .panel.is-entering { animation: panelIn 280ms var(--ease); } }
@keyframes panelIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.panel__top { display: flex; align-items: center; gap: 1rem; }
.panel__top .tile-icon { width: 52px; height: 52px; }
.panel__top .tile-icon .icon { width: 26px; height: 26px; }
.panel h3 { font-size: var(--fs-xl); font-weight: 420; font-stretch: 118%; letter-spacing: -0.015em; }
.panel__desc { margin-top: 1.25rem; font-size: var(--fs-l); line-height: 1.55; color: var(--ink-2); max-width: 40rem; }
.panel__body { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 2rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.panel__body h4 { font-size: var(--fs-s); font-weight: 640; margin-bottom: 0.9rem; }
.panel__best { background: var(--mist); border-radius: var(--r-m); padding: 1.25rem; font-size: var(--fs-s); color: var(--ink-2); line-height: 1.55; }
.panel__best h4 { color: var(--ink); margin-bottom: 0.4rem; }
.panel__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-top: 2rem; }
@media (max-width: 980px) {
  .solutions { grid-template-columns: 1fr; }
  .tablist { display: flex; overflow-x: auto; gap: 0.5rem; padding: 2px 2px 10px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); scrollbar-width: thin; scroll-snap-type: x proximity; }
  .tab { grid-template-columns: auto auto; width: auto; flex: none; padding: 0.6rem 0.9rem 0.6rem 0.6rem; scroll-snap-align: start; border-color: var(--line); background: var(--white); }
  .tab .tile-icon { width: 36px; height: 36px; }
  .tab span.tab__line { display: none; }
  .tab strong { white-space: nowrap; }
  .tab[aria-selected="true"]::after { left: calc(0.6rem + 36px + 0.9rem); bottom: 0.35rem; }
}
@media (max-width: 640px) { .panel__body { grid-template-columns: 1fr; } }

.dashlist { list-style: none; display: grid; gap: 0.65rem; }
.dashlist li { position: relative; padding-left: 1.5rem; line-height: 1.5; }
.dashlist li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 0.8rem; height: 2px; background: var(--blue); border-radius: 1px; }
.bg-blue .dashlist li::before { background: var(--yellow); }

/* service levels */
.levels { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.levels .section-head { margin-bottom: 0; }
.levels__cta { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.spec { display: grid; }
.spec > div { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 1.5rem; padding: 1.35rem 0; border-top: 1px solid var(--on-blue-line); align-items: baseline; }
.spec > div:last-child { border-bottom: 1px solid var(--on-blue-line); }
.spec dt { order: 2; color: var(--on-blue-2); line-height: 1.5; }
.spec dd { order: 1; font-size: var(--fs-2xl); font-weight: 300; font-stretch: 122%; color: var(--yellow); line-height: 1; letter-spacing: -0.02em; }
@media (max-width: 900px) { .levels { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .spec > div { grid-template-columns: 1fr; gap: 0.5rem; } }

/* process */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); counter-reset: step; }
.steps li { position: relative; counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 1.5px solid var(--blue); color: var(--blue); background: var(--white);
  font-weight: 500; font-stretch: 115%; font-size: var(--fs-m);
  position: relative; z-index: 1;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 3.25rem; right: -1rem; top: 1.375rem; height: 1px; background: var(--line-strong); }
.steps h3 { margin-top: 1.4rem; margin-bottom: 0.45rem; }
.steps p { color: var(--ink-2); font-size: var(--fs-s); line-height: 1.6; }
.bg-mist .steps li::before { background: var(--mist); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .steps li:nth-child(2)::after { display: none; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .steps li { display: grid; grid-template-columns: 2.75rem 1fr; column-gap: 1.1rem; padding-bottom: 1.75rem; }
  .steps li::after { display: block !important; left: 1.375rem; right: auto; top: 2.75rem; bottom: 0; width: 1px; height: auto; }
  .steps li:last-child::after { display: none !important; }
  .steps h3 { margin-top: 0.55rem; grid-column: 2; }
  .steps p { grid-column: 2; }
}

/* industries */
.industries { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.industries li { padding: 1.75rem 1.5rem 0 0; }
.industries li + li { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.industries h3 { font-size: var(--fs-m); margin-bottom: 0.5rem; }
.industries p { font-size: var(--fs-s); color: var(--ink-2); line-height: 1.6; }
@media (max-width: 1000px) {
  .industries { grid-template-columns: 1fr; }
  .industries li, .industries li + li { padding: 1.2rem 0; border-left: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 14rem) 1fr; gap: 1rem; }
}
@media (max-width: 560px) { .industries li, .industries li + li { grid-template-columns: 1fr; gap: 0.3rem; } }

/* feature grid on service pages */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 3rem); }
.features > div { padding-top: 1.4rem; border-top: 1px solid var(--line); position: relative; }
.features > div::before { content: ""; position: absolute; left: 0; top: -1px; width: 28px; height: 3px; background: var(--yellow); border-radius: 1px; }
.features h3 { font-size: var(--fs-m); margin-bottom: 0.45rem; }
.features p { font-size: var(--fs-s); color: var(--ink-2); line-height: 1.6; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* split */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.split .section-head { margin-bottom: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.ticklist { list-style: none; display: grid; border-top: 1px solid var(--line); }
.ticklist li { display: grid; grid-template-columns: 1.75rem 1fr; gap: 0.5rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.ticklist li::before {
  content: ""; width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.2 8.3l2.4 2.4 5.2-5.3' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.ticklist strong { display: block; font-weight: 620; }
.ticklist span { color: var(--ink-2); font-size: var(--fs-s); line-height: 1.55; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.75rem; }
.chips li { font-size: var(--fs-s); font-weight: 560; padding: 0.4rem 0.8rem; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); }

/* other solutions */
.others { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.75rem; }
.others a { display: grid; gap: 0.75rem; padding: 1.1rem; border: 1px solid var(--line); border-radius: var(--r-m); text-decoration: none; color: var(--ink); background: var(--white); transition: border-color 160ms, box-shadow 160ms; }
.others a:hover { border-color: var(--blue); box-shadow: var(--shadow-card); }
.others a:hover strong { color: var(--blue); }
.others strong { font-weight: 640; font-size: var(--fs-s); line-height: 1.3; }
@media (max-width: 980px) { .others { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .others { grid-template-columns: 1fr 1fr; } }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq-layout .section-head { margin-bottom: 0; position: sticky; top: 110px; }
.section-head .faq-help { margin-top: 1.5rem; font-size: var(--fs-s); line-height: 1.6; color: var(--ink-2); }
.faq-help a { font-weight: 640; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.35rem 0; font-weight: 600; font-size: var(--fs-m); line-height: 1.4;
}
.faq summary:hover { color: var(--blue); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(var(--blue), var(--blue)) center / 14px 1.6px no-repeat,
    linear-gradient(var(--blue), var(--blue)) center / 1.6px 14px no-repeat;
  transition: transform 200ms var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 2.5rem 1.5rem 0; color: var(--ink-2); line-height: 1.65; }
.faq details > div p + p { margin-top: 0.75rem; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } .faq-layout .section-head { position: static; } }

/* closing */
.closing { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.closing h2 { font-size: var(--fs-3xl); font-weight: 300; font-stretch: 125%; line-height: 1.03; letter-spacing: -0.025em; max-width: 13ch; }
.closing__contact { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; font-size: var(--fs-s); font-weight: 560; }
.closing__contact a { color: var(--blue); }
.closing__actions { display: grid; gap: 0.75rem; }
@media (max-width: 900px) { .closing { grid-template-columns: 1fr; } }

/* ================================================================ footer */

.site-footer { background: var(--blue-deep); color: var(--on-blue-2); padding: clamp(3.5rem, 6vw, 5rem) 0 2rem; font-size: var(--fs-s); }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--on-blue-line); }
.site-footer h2 { font-size: var(--fs-s); font-weight: 640; font-stretch: 100%; letter-spacing: 0; color: #fff; margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; display: grid; gap: 0.5rem; }
.site-footer a { color: var(--on-blue-2); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.6; margin-top: 1.5rem; max-width: 22rem; }
.site-footer__tag { margin-top: 1.25rem; color: #fff; font-weight: 500; font-stretch: 115%; }
.site-footer__base { padding-top: 1.75rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: var(--fs-xs); }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ================================================================ mobile action bar */

.action-bar { display: none; }
@media (max-width: 760px) {
  body.has-action-bar { padding-bottom: 78px; }
  .action-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 0.5rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 0.65rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px -16px rgba(11, 22, 64, 0.35);
    transform: translateY(0); transition: transform 220ms var(--ease);
  }
  .action-bar.is-hidden { transform: translateY(110%); }
  .action-bar a {
    display: flex; align-items: center; justify-content: center; gap: 0.4rem; min-height: 3rem; border-radius: var(--r-s);
    font-weight: 640; font-size: 0.95rem; text-decoration: none; color: var(--blue); border: 1.5px solid var(--blue);
  }
  .action-bar a.btn--primary { border-color: var(--yellow); }
  .action-bar:has(a[hidden]) { grid-template-columns: 1fr 1.5fr; }
}

/* ================================================================ simple pages */

.page-hero { background: var(--blue-deep); color: var(--on-blue); padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem); }
.page-hero h1 { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 3.75rem); max-width: 20ch; }
.page-hero p { margin-top: 1.25rem; font-size: var(--fs-l); color: var(--on-blue-2); max-width: 40rem; }

.prose { max-width: 44rem; padding: clamp(3rem, 6vw, 4.5rem) 0 var(--section); }
.prose h2 { font-size: var(--fs-xl); font-weight: 450; font-stretch: 112%; margin: 2.5rem 0 0.75rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin-bottom: 1rem; color: var(--ink-2); }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.4rem; }
.prose strong { color: var(--ink); }

.next-steps { list-style: none; counter-reset: s; display: grid; max-width: 46rem; margin-top: clamp(3rem, 6vw, 4rem); }
.next-steps li { counter-increment: s; display: grid; grid-template-columns: 2.75rem 1fr; gap: 1.25rem; padding-bottom: 2rem; position: relative; }
.next-steps li::before {
  content: counter(s); display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 1.5px solid var(--blue); color: var(--blue); font-weight: 500; font-stretch: 115%; background: var(--white); position: relative; z-index: 1;
}
.next-steps li:not(:last-child)::after { content: ""; position: absolute; left: 1.375rem; top: 2.75rem; bottom: 0; width: 1px; background: var(--line-strong); }
.next-steps strong { display: block; font-weight: 620; font-size: var(--fs-l); margin-top: 0.45rem; }
.next-steps span { color: var(--ink-2); }
.inline-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; padding-bottom: var(--section); }

@media print { .site-header, .action-bar, .lead-card, .hero__form { display: none; } }

/* ================================================================ guides (blog) */

.article-hero h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3.25rem); max-width: 24ch; }
.article-hero p { max-width: 46rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.75rem; margin-top: 1.75rem !important; font-size: var(--fs-s) !important; color: var(--on-blue-2); }
.article-meta span + span { position: relative; }

.article-layout { display: grid; grid-template-columns: minmax(0, 46rem) minmax(0, 18rem); justify-content: space-between; gap: clamp(2rem, 5vw, 5rem); padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.article-body { min-width: 0; }
.article-body > h2, .article-body section > h2 { font-size: var(--fs-xl); font-weight: 450; font-stretch: 114%; letter-spacing: -0.01em; margin: 2.75rem 0 1rem; }
.article-body > h2:first-child { margin-top: 0; }
.article-body h3 { margin: 1.75rem 0 0.6rem; }
.article-body p { margin-bottom: 1.1rem; line-height: 1.75; color: #24304F; }
.article-body ul, .article-body ol { margin: 0 0 1.25rem; padding-left: 1.4rem; display: grid; gap: 0.55rem; line-height: 1.65; color: #24304F; }
.article-body li::marker { color: var(--blue); font-weight: 600; }
.article-body strong { color: var(--ink); font-weight: 640; }
.article-body a { font-weight: 560; }

.table-wrap { overflow-x: auto; margin: 1.5rem 0 1.75rem; border: 1px solid var(--line); border-radius: var(--r-m); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: var(--fs-s); line-height: 1.5; }
.table-wrap table:has(thead th:nth-child(3)) { min-width: 540px; }
@media (max-width: 560px) { .table-wrap th, .table-wrap td { padding: 0.7rem 0.8rem; } .table-wrap tbody th { white-space: normal; } }
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); }
.table-wrap thead th { background: var(--mist); font-weight: 640; color: var(--ink); }
.table-wrap tbody th { font-weight: 620; color: var(--ink); white-space: nowrap; }
.table-wrap tbody tr:last-child th, .table-wrap tbody tr:last-child td { border-bottom: 0; }

.cta-inline { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem 1.25rem; align-items: center; margin: 2.25rem 0; padding: 1.25rem 1.4rem; border-radius: var(--r-m); background: var(--blue-tint); border-left: 4px solid var(--yellow); }
.cta-inline strong { display: block; color: var(--blue); }
.cta-inline p { margin: 0.2rem 0 0 !important; font-size: var(--fs-s); color: var(--ink-2) !important; line-height: 1.5 !important; }
.cta-inline .tile-icon { background: var(--white); }
@media (max-width: 640px) { .cta-inline { grid-template-columns: auto 1fr; } .cta-inline .btn { grid-column: 1 / -1; } }

.article-aside { position: relative; }
.article-aside > * + * { margin-top: 1.5rem; }
.article-aside { align-self: start; position: sticky; top: 100px; }
.toc h2 { font-size: var(--fs-s); font-weight: 640; font-stretch: 100%; letter-spacing: 0; margin-bottom: 0.75rem; }
.toc ol { list-style: none; display: grid; gap: 0.1rem; border-left: 1px solid var(--line); padding: 0; }
.toc a { display: block; padding: 0.35rem 0 0.35rem 1rem; margin-left: -1px; border-left: 2px solid transparent; font-size: var(--fs-s); line-height: 1.4; color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--blue); border-left-color: var(--yellow); }
.aside-card { display: grid; gap: 0.75rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--mist); }
.aside-card strong { font-weight: 640; font-size: var(--fs-m); }
.aside-card p { font-size: var(--fs-s); color: var(--ink-2); line-height: 1.5; }
.aside-card .link-arrowless { justify-self: start; font-size: var(--fs-s); }
@media (max-width: 1000px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-aside { display: none; }
}

.article-faq .faq { margin-top: 0.5rem; }
.article-sources ul { list-style: none; padding: 0; gap: 0.4rem; font-size: var(--fs-s); }
.article-sources li { padding-left: 1.25rem; position: relative; }
.article-sources li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 0.6rem; height: 2px; background: var(--ink-3); }

.form-band__grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.form-band__copy h2 { font-size: var(--fs-2xl); }
.form-band__copy p { margin-top: 1.1rem; color: var(--on-blue-2); font-size: var(--fs-l); line-height: 1.55; max-width: 32rem; }
@media (max-width: 900px) { .form-band__grid { grid-template-columns: 1fr; } }

.related-title { font-size: var(--fs-xl); font-weight: 450; font-stretch: 114%; margin-bottom: 1.5rem; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.guide-card { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--white); color: var(--ink); text-decoration: none; transition: border-color 160ms, box-shadow 160ms, transform 160ms var(--ease); }
.guide-card:hover { border-color: var(--blue); box-shadow: var(--shadow-card); }
.guide-card:hover strong { color: var(--blue); }
.guide-card__tag { display: inline-flex; align-items: center; gap: 0.6rem; font-size: var(--fs-xs); font-weight: 600; color: var(--ink-2); }
.guide-card__tag .tile-icon { width: 32px; height: 32px; border-radius: 8px; }
.guide-card__tag .icon { width: 18px; height: 18px; }
.guide-card strong { font-size: var(--fs-l); font-weight: 600; line-height: 1.3; letter-spacing: -0.005em; }
.guide-card__sum { font-size: var(--fs-s); color: var(--ink-2); line-height: 1.55; }
.guide-card__meta { margin-top: auto; padding-top: 0.5rem; font-size: var(--fs-xs); color: var(--ink-3); }
@media (max-width: 980px) { .guide-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .guide-grid { grid-template-columns: 1fr; } }
.form-band__grid .hero__form { grid-area: auto; }
