/* ==========================================================================
   BDx — Bridge Digital Transformation
   Design system + components. Light, corporate, zero third-party dependencies.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Canvas */
  --bg:            #ffffff;
  --bg-2:          #f6f8fb;   /* alternating section */
  --bg-3:          #eef2f7;   /* sunken panel */
  --bg-dark:       #0f2440;   /* navy: footer, CTA panel */
  --bg-dark-2:     #163256;

  /* Text */
  --text:          #14243b;
  --text-2:        #40536e;
  --muted:         #5d7086;
  --dim:           #7a8ba0;
  --on-dark:       #ffffff;
  --on-dark-2:     #b9c7d8;
  --on-dark-3:     #8ea3bb;

  /* Lines */
  --line:          #e3e9f0;
  --line-2:        #cfd9e5;
  --line-dark:     rgba(255, 255, 255, .14);

  /* Accent — a single corporate blue, used sparingly */
  --brand:         #12558b;
  --brand-600:     #0e456f;
  --brand-700:     #0b3757;
  --brand-tint:    #e8f0f7;
  --brand-tint-2:  #d3e2ee;

  /* Status */
  --ok:            #0f7b53;
  --ok-tint:       #e4f4ec;
  --warn:          #9a6207;
  --warn-tint:     #fbf1de;
  --err:           #b42318;

  /* Elevation — soft and shallow, never glowing */
  --sh-1: 0 1px 2px rgba(16, 36, 62, .06);
  --sh-2: 0 2px 8px rgba(16, 36, 62, .07), 0 1px 2px rgba(16, 36, 62, .05);
  --sh-3: 0 12px 32px rgba(16, 36, 62, .10), 0 2px 6px rgba(16, 36, 62, .05);
  --ring: 0 0 0 3px rgba(18, 85, 138, .22);

  /* Radii — restrained */
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 10px;
  --r-xl: 12px;
  --r-pill: 999px;

  /* Rhythm */
  --shell: 1180px;
  --pad: clamp(1.15rem, 4vw, 2.5rem);
  --gap: clamp(1rem, 2.2vw, 1.5rem);
  --sec-y: clamp(3.5rem, 7vw, 6rem);
  --hdr-h: 72px;

  /* Type */
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  color-scheme: dark;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hdr-h) + 20px);
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  font-size: clamp(1rem, .97rem + .14vw, 1.05rem);
  line-height: 1.65;
  color: var(--text-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
  margin: 0 0 .55em;
  color: var(--text);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.018em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.55rem + 2.3vw, 3.15rem); line-height: 1.14; letter-spacing: -.024em; }
h2 { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.3rem); letter-spacing: -.02em; }
h3 { font-size: clamp(1.08rem, 1.03rem + .3vw, 1.22rem); }
h4 { font-size: 1.02rem; }

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--brand-600); text-decoration: underline; }

img, svg, video { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li + li { margin-top: .4em; }
strong, b { color: var(--text); font-weight: 650; }

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--r-xs);
}
::selection { background: var(--brand-tint-2); color: var(--text); }

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.shell--wide { max-width: 1360px; }

.section { position: relative; padding-block: var(--sec-y); }
.section--tight { padding-block: clamp(2.75rem, 5vw, 4rem); }
.section--seam { border-top: 1px solid var(--line); background: var(--bg-2); }

.sec-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sec-head--mid { margin-inline: auto; text-align: center; }
.sec-head p { margin-bottom: 0; font-size: 1.05rem; color: var(--muted); }

.eyebrow {
  display: inline-block;
  margin-bottom: .9rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand);
}
.sec-head--mid .eyebrow { margin-inline: auto; }

/* Inline heading accent — colour, not gradient */
.gtext { color: var(--brand); }

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }

.skip-link {
  position: absolute;
  top: 0; left: 50%;
  z-index: 300;
  translate: -50% -130%;
  padding: .75rem 1.25rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  transition: translate .18s ease;
}
.skip-link:focus { translate: -50% 0; color: #fff; text-decoration: none; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  white-space: nowrap;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
}

/* --------------------------------------------------------------------------
   4. Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  --bg-btn: #fff;
  --fg-btn: var(--text);
  --bd-btn: var(--line-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .72rem 1.3rem;
  border: 1px solid var(--bd-btn);
  border-radius: var(--r-md);
  background: var(--bg-btn);
  color: var(--fg-btn);
  font: inherit;
  font-size: .94rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}
.btn:hover { text-decoration: none; }
.btn .ic { flex: none; transition: transform .16s ease; }
.btn:hover .ic { transform: translateX(2px); }

.btn--primary {
  --bg-btn: var(--brand);
  --fg-btn: #fff;
  --bd-btn: var(--brand);
  box-shadow: var(--sh-1);
}
.btn--primary:hover { --bg-btn: var(--brand-600); --bd-btn: var(--brand-600); color: #fff; }

.btn--ghost { --bg-btn: #fff; --fg-btn: var(--text); --bd-btn: var(--line-2); }
.btn--ghost:hover { --bg-btn: var(--bg-2); --bd-btn: var(--line-2); color: var(--text); }

/* On navy panels */
.btn--light { --bg-btn: #fff; --fg-btn: var(--bg-dark); --bd-btn: #fff; }
.btn--light:hover { --bg-btn: #eef3f8; --bd-btn: #eef3f8; color: var(--bg-dark); }

.cta .btn--ghost {
  --bg-btn: transparent;
  --fg-btn: #fff;
  --bd-btn: rgba(255, 255, 255, .38);
}
.cta .btn--ghost:hover { --bg-btn: rgba(255, 255, 255, .1); --bd-btn: #fff; color: #fff; }

.btn--sm { padding: .5rem .95rem; font-size: .86rem; }
.btn--lg { padding: .85rem 1.6rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

.alink {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  font-size: .93rem;
  color: var(--brand);
}
.alink svg { transition: transform .16s ease; }
.alink:hover { text-decoration: none; }
.alink:hover svg { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   5. Announcement bar
   -------------------------------------------------------------------------- */
.topbar {
  position: relative;
  z-index: 120;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  font-size: .855rem;
}
.topbar__in {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 38px;
  padding-block: .3rem;
  text-align: center;
  color: var(--muted);
}
.topbar b {
  padding: .1rem .5rem;
  border-radius: var(--r-xs);
  background: var(--brand-tint);
  color: var(--brand);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.topbar a {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  color: var(--brand);
  font-weight: 600;
}
.topbar__close {
  position: absolute;
  right: max(.75rem, calc((100vw - var(--shell)) / 2));
  top: 50%;
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  padding: 0;
  border: 0;
  border-radius: var(--r-xs);
  background: transparent;
  color: var(--dim);
  cursor: pointer;
}
.topbar__close:hover { background: var(--bg-3); color: var(--text); }
@media (max-width: 720px) { .topbar__close { display: none; } }

/* --------------------------------------------------------------------------
   6. Header / navigation
   -------------------------------------------------------------------------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 110;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.hdr.is-stuck { box-shadow: var(--sh-2); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--hdr-h);
}

.brand { display: inline-flex; align-items: center; gap: .65rem; flex: none; color: var(--text); }
.brand:hover { color: var(--text); text-decoration: none; }
.brand__mark { width: 36px; height: 36px; flex: none; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.08; }
.brand__name { font-size: 1.16rem; font-weight: 700; letter-spacing: -.02em; }
.brand__sub {
  font-size: .57rem;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: .1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__menu li { margin: 0; }
.nav__link {
  position: relative;
  display: block;
  padding: .5rem .85rem;
  border-radius: var(--r-sm);
  color: var(--text-2);
  font-size: .93rem;
  font-weight: 550;
  transition: color .15s ease, background .15s ease;
}
.nav__link:hover { color: var(--text); background: var(--bg-2); text-decoration: none; }
.nav__link[aria-current="page"] { color: var(--brand); font-weight: 650; }

.nav__actions { display: flex; align-items: center; gap: .5rem; flex: none; }

.nav__burger {
  display: none;
  place-items: center;
  width: 42px; height: 42px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: #fff;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .22s ease, opacity .16s ease;
}
.nav__burger span + span { margin-top: 4px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav__burger { display: grid; }
  .nav__panel {
    position: fixed;
    inset: auto 0 auto 0;
    top: var(--panel-top, var(--hdr-h));
    display: grid;
    gap: 1rem;
    max-height: calc(100dvh - var(--panel-top, var(--hdr-h)));
    overflow-y: auto;
    padding: 1.15rem var(--pad) 1.75rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-3);
  }
  .nav__panel[hidden] { display: none; }
  .nav__menu { flex-direction: column; align-items: stretch; gap: .1rem; }
  .nav__link { padding: .8rem .9rem; font-size: 1.02rem; }
  .nav__actions { flex-direction: column; align-items: stretch; }
  .nav__actions .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(2.75rem, 6vw, 5rem) clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, var(--bg-2) 0%, #ffffff 78%);
}
.hero__in {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(2.25rem, 4.5vw, 4rem);
}
@media (max-width: 1000px) { .hero__in { grid-template-columns: 1fr; } }

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1.4rem;
  padding: .32rem .85rem .32rem .38rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  background: #fff;
  font-size: .82rem;
  color: var(--muted);
}
.hero__pill b {
  padding: .16rem .55rem;
  border-radius: var(--r-pill);
  background: var(--brand);
  color: #fff;
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hero h1 { margin-bottom: .5em; }
.hero__lede {
  max-width: 34rem;
  margin-bottom: 1.9rem;
  font-size: clamp(1.02rem, .97rem + .3vw, 1.16rem);
  color: var(--muted);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .65rem; }
.hero__micro {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem 1.35rem;
  margin-top: 1.35rem;
  font-size: .85rem;
  color: var(--muted);
}
.hero__micro span { display: inline-flex; align-items: center; gap: .4rem; }
.hero__micro svg { color: var(--ok); flex: none; }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.4rem, 4vw, 3rem);
  margin: 2.4rem 0 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.hero__stats > div { min-width: 6.5rem; }
.hero__stats dt {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.hero__stats dd { margin: .1rem 0 0; font-size: .82rem; color: var(--muted); }

/* Product console mock — a clean application window */
.mock {
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--sh-3);
  overflow: hidden;
}
.mock__bar {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .7rem .9rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.mock__name {
  margin-left: .5rem;
  font-family: var(--mono);
  font-size: .74rem;
  color: var(--dim);
}
.mock__body { display: grid; gap: .5rem; padding: 1rem; }

.flow {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem .8rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  transition: border-color .18s ease;
}
.flow:hover { border-color: var(--line-2); }
.flow__ic {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  flex: none;
  border-radius: var(--r-sm);
  background: var(--brand-tint);
  color: var(--brand);
}
.flow__tx { min-width: 0; }
.flow__tx strong { display: block; font-size: .88rem; color: var(--text); }
.flow__tx span { font-size: .75rem; color: var(--muted); }
.flow__st {
  margin-left: auto;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .16rem .5rem;
  border-radius: var(--r-xs);
  background: var(--ok-tint);
  color: var(--ok);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.flow__st--run { background: var(--brand-tint); color: var(--brand); }
.blip { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

.mock__meter {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding-top: .3rem;
  font-size: .75rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.track { flex: 1; height: 6px; border-radius: var(--r-pill); background: var(--bg-3); overflow: hidden; }
.track i { display: block; height: 100%; width: 82%; border-radius: inherit; background: var(--brand); }

/* --------------------------------------------------------------------------
   8. Client / technology strip
   -------------------------------------------------------------------------- */
.strip { padding-block: clamp(1.75rem, 3.5vw, 2.5rem); border-bottom: 1px solid var(--line); }
.strip__label {
  margin-bottom: 1.25rem;
  text-align: center;
  font-size: .74rem;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
}
.marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__row { display: flex; width: max-content; animation: slide 55s linear infinite; }
.marquee:hover .marquee__row { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee__row ul {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 3.5rem);
  margin: 0;
  padding: 0 clamp(1rem, 2.5vw, 1.75rem);
  list-style: none;
}
.marquee__row li { margin: 0; }
.marquee__row span {
  font-size: clamp(.95rem, .9rem + .25vw, 1.1rem);
  font-weight: 650;
  color: #66788e;
  white-space: nowrap;
  transition: color .18s ease;
}
.marquee__row span:hover { color: var(--text); }

/* --------------------------------------------------------------------------
   9. Cards & bento
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.3rem, 2.2vw, 1.7rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--sh-1);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.card:hover { border-color: var(--line-2); box-shadow: var(--sh-2); }
.card h3 { margin-bottom: .4rem; }
.card p { margin-bottom: 0; font-size: .945rem; color: var(--muted); }

.card__ic {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 1.05rem;
  border-radius: var(--r-sm);
  background: var(--brand-tint);
  color: var(--brand);
}
.card__list { margin: 1rem 0 0; padding: 0; list-style: none; font-size: .89rem; color: var(--muted); }
.card__list li { position: relative; margin-top: .42rem; padding-left: 1.3rem; }
.card__list li::before {
  content: "";
  position: absolute;
  left: .25rem; top: .58em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brand);
}

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--gap); }
.bento > * { grid-column: span 2; }
.bento .b-wide { grid-column: span 3; }
.bento .b-half { grid-column: span 3; }
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento > *, .bento .b-wide, .bento .b-half { grid-column: span 1; }
}
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } }

/* Numbered steps */
.step__n {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  margin-bottom: 1rem;
  border-radius: var(--r-sm);
  background: var(--bg-dark);
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   10. Product cards
   -------------------------------------------------------------------------- */
.product { padding: 0; overflow: hidden; }
.product__hd {
  display: flex;
  align-items: flex-start;
  gap: .95rem;
  padding: clamp(1.3rem, 2.2vw, 1.7rem) clamp(1.3rem, 2.2vw, 1.7rem) .9rem;
}
.product__logo {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  flex: none;
  border-radius: var(--r-sm);
  background: var(--brand);
  color: #fff;
}
/* Muted, professional differentiation — not neon */
.product__logo--salon   { background: #7c3f6a; }
.product__logo--flow    { background: #12558b; }
.product__logo--insight { background: #3f4d7c; }
.product__logo--desk    { background: #14657b; }
.product__logo--field   { background: #8a5a25; }
.product__logo--pay     { background: #1c6b52; }

.product__ttl { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: .2rem; }
.product__ttl h3 { margin: 0; }
.product__ttl h3 a { color: var(--text); }
.product__ttl h3 a:hover { color: var(--brand); text-decoration: none; }
.product__bd { padding-inline: clamp(1.3rem, 2.2vw, 1.7rem); flex: 1; }
.product__bd p { font-size: .945rem; color: var(--muted); }
.product__ft {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  margin-top: 1.3rem;
  padding: .9rem clamp(1.3rem, 2.2vw, 1.7rem);
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.product__meta { font-size: .8rem; color: var(--muted); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .18rem .55rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-xs);
  background: #fff;
  color: var(--muted);
  font-size: .705rem;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tag--live { border-color: #b7dcc9; background: var(--ok-tint); color: var(--ok); }
.tag--beta { border-color: #e7d3a8; background: var(--warn-tint); color: var(--warn); }
.tag--soon { border-color: var(--line-2); background: var(--bg-3); color: var(--muted); }
.taglist { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: 1rem; }

/* Full-card click target; the anchor remains the accessible control */
.stretch::before { content: ""; position: absolute; inset: 0; z-index: 2; }
.product__ft .btn, .product__ft a { position: relative; z-index: 3; }

/* Filter chips */
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.5rem; }
.chip {
  padding: .45rem .95rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: #fff;
  color: var(--text-2);
  font: inherit;
  font-size: .87rem;
  font-weight: 600;
  cursor: pointer;
  transition: color .15s ease, background .15s ease, border-color .15s ease;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }

.empty { display: none; padding: 2.75rem 1rem; text-align: center; color: var(--muted); }
.empty.is-on { display: block; }

/* --------------------------------------------------------------------------
   11. Feature split
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 4.5vw, 4rem);
}
.split--flip .split__media { order: -1; }
@media (max-width: 940px) {
  .split { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
}

.split__media {
  display: grid;
  place-items: center;
  min-height: 22rem;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--bg-2);
}

.phone {
  position: relative;
  width: min(262px, 78%);
  border: 8px solid #1d2b3d;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--sh-3);
  overflow: hidden;
}
.phone__notch {
  position: absolute;
  top: 7px; left: 50%;
  translate: -50% 0;
  z-index: 3;
  width: 80px; height: 16px;
  border-radius: var(--r-pill);
  background: #1d2b3d;
}
.phone__scr { display: grid; gap: .45rem; padding: 2rem .75rem 1rem; background: #fbfcfe; }
.phone__hd { display: flex; align-items: center; justify-content: space-between; }
.phone__hd b { font-size: .73rem; color: var(--text); }
.phone__hd i { font-style: normal; font-size: .63rem; color: var(--muted); }
.slot {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .48rem .52rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
}
.slot__av {
  display: grid;
  place-items: center;
  width: 25px; height: 25px;
  flex: none;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand);
  font-size: .58rem;
  font-weight: 700;
}
.slot__tx { flex: 1; min-width: 0; }
.slot__tx b { display: block; font-size: .67rem; color: var(--text); }
.slot__tx i { font-style: normal; font-size: .59rem; color: var(--muted); }
.slot__pl {
  flex: none;
  padding: .06rem .35rem;
  border-radius: var(--r-xs);
  background: var(--ok-tint);
  color: var(--ok);
  font-size: .55rem;
  font-weight: 700;
}
.slot--dim { opacity: .6; }
.slot--dim .slot__pl { background: var(--bg-3); color: var(--muted); }

.checks { margin: 1.3rem 0 1.75rem; padding: 0; list-style: none; }
.checks li {
  position: relative;
  margin-top: .65rem;
  padding-left: 1.9rem;
  font-size: .96rem;
  color: var(--muted);
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: .18em;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--ok-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f7b53' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* --------------------------------------------------------------------------
   12. Metrics band
   -------------------------------------------------------------------------- */
.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--line);
  overflow: hidden;
}
.metric { padding: clamp(1.4rem, 2.8vw, 2rem); background: #fff; text-align: center; }
.metric dt {
  font-size: clamp(1.75rem, 1.35rem + 1.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  color: var(--brand);
}
.metric dd { margin: .3rem 0 0; font-size: .86rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   13. Pills / industries
   -------------------------------------------------------------------------- */
.pill {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .85rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  color: var(--text-2);
  font-size: .92rem;
  font-weight: 600;
  box-shadow: var(--sh-1);
  transition: border-color .18s ease, color .18s ease;
}
.pill:hover { border-color: var(--brand); color: var(--brand); }
.pill svg { flex: none; color: var(--brand); }

/* --------------------------------------------------------------------------
   14. Quote
   -------------------------------------------------------------------------- */
.quote {
  display: grid;
  gap: 1.35rem;
  max-width: 52rem;
  margin-inline: auto;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--sh-1);
  text-align: center;
}
.quote blockquote {
  margin: 0;
  font-size: clamp(1.1rem, .98rem + .6vw, 1.45rem);
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -.012em;
  color: var(--text);
  text-wrap: balance;
}
.quote figcaption { display: grid; gap: .1rem; font-size: .87rem; color: var(--muted); }
.quote figcaption b { color: var(--text); font-size: .96rem; }
.stars { display: flex; justify-content: center; gap: .15rem; color: #c9971f; }

/* --------------------------------------------------------------------------
   15. FAQ
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: .6rem; max-width: 50rem; margin-inline: auto; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.faq details[open] { border-color: var(--line-2); box-shadow: var(--sh-1); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 17px; height: 17px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d7086' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq__a { padding: 0 1.15rem 1.1rem; font-size: .945rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   16. CTA & contact
   -------------------------------------------------------------------------- */
.cta {
  padding: clamp(2.25rem, 5vw, 3.75rem);
  border-radius: var(--r-xl);
  background: var(--bg-dark);
  text-align: center;
}
.cta .eyebrow { color: var(--on-dark-3); }
.cta h2 { color: #fff; }
.cta p { max-width: 40rem; margin-inline: auto; color: var(--on-dark-2); }
.cta__row { display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; margin-top: 1.6rem; }

.contact {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(2rem, 4.5vw, 3.25rem);
}
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

.contact__list { display: grid; gap: .95rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.contact__list li { display: flex; gap: .8rem; margin: 0; }
.contact__list .ic {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg-2);
  color: var(--brand);
}
.contact__list b { display: block; font-size: .79rem; font-weight: 600; color: var(--muted); }
.contact__list a, .contact__list span { font-weight: 600; color: var(--text); }
.contact__list a:hover { color: var(--brand); }

.form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.4rem, 2.8vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--sh-2);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

.field { display: grid; gap: .35rem; }
.field label { font-size: .83rem; font-weight: 650; color: var(--text); }
.field .req { color: var(--err); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .68rem .85rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: .93rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 7rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9aa9bb; }
.field select {
  appearance: none;
  padding-right: 2.3rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d7086' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .8rem center;
  background-size: 15px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: var(--ring);
}
.field .err { display: none; font-size: .78rem; font-weight: 550; color: var(--err); }
.field.is-bad input, .field.is-bad select, .field.is-bad textarea { border-color: var(--err); }
.field.is-bad .err { display: block; }

.form__note { margin: 0; font-size: .79rem; color: var(--muted); }
.form__status { display: none; padding: .75rem .95rem; border-radius: var(--r-sm); font-size: .89rem; font-weight: 550; }
.form__status.is-ok  { display: block; background: var(--ok-tint); color: var(--ok); }
.form__status.is-err { display: block; background: #fdeceb; color: var(--err); }
.hp { position: absolute; left: -9999px; width: 0; height: 0; opacity: 0; }

/* --------------------------------------------------------------------------
   17. Page header (inner pages)
   -------------------------------------------------------------------------- */
.pagehead {
  padding-block: clamp(2.5rem, 5vw, 4rem) clamp(1.75rem, 3.5vw, 2.75rem);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  text-align: center;
}
.pagehead h1 { font-size: clamp(1.95rem, 1.5rem + 2vw, 2.85rem); margin-bottom: .3em; }
.pagehead p { max-width: 44rem; margin-inline: auto; font-size: 1.05rem; color: var(--muted); }
.pagehead .cta__row { margin-top: 1.5rem; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  margin: 0 0 1.15rem;
  padding: 0;
  list-style: none;
  font-size: .83rem;
  color: var(--muted);
}
.crumbs li { display: flex; align-items: center; gap: .45rem; margin: 0; }
.crumbs li + li::before { content: "/"; color: var(--line-2); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.crumbs [aria-current="page"] { color: var(--text); font-weight: 550; }

/* --------------------------------------------------------------------------
   18. Timeline & team (about)
   -------------------------------------------------------------------------- */
.timeline { position: relative; margin: 0; padding: 0 0 0 1.85rem; list-style: none; }
.timeline::before {
  content: "";
  position: absolute;
  left: 5px; top: .55rem; bottom: .55rem;
  width: 2px;
  background: var(--line);
}
.timeline li { position: relative; margin: 0 0 1.75rem; }
.timeline li:last-child { margin-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -1.85rem; top: .5rem;
  width: 12px; height: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 1px var(--line-2);
}
.timeline b { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--brand); }
.timeline h3 { margin: .15rem 0 .3rem; font-size: 1.08rem; }
.timeline p { margin: 0; font-size: .93rem; color: var(--muted); }

.person { text-align: center; }
.person__av {
  display: grid;
  place-items: center;
  width: 74px; height: 74px;
  margin: 0 auto .95rem;
  border-radius: 50%;
  background: var(--brand-tint);
  border: 1px solid var(--brand-tint-2);
  color: var(--brand);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -.01em;
}
.person h3 { margin-bottom: .12rem; font-size: 1.05rem; }
.person span { font-size: .84rem; color: var(--brand); font-weight: 600; }
.person p { margin-top: .55rem; font-size: .89rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   19. Careers
   -------------------------------------------------------------------------- */
.role {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem clamp(1.1rem, 2.2vw, 1.6rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--sh-1);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.role:hover { border-color: var(--line-2); box-shadow: var(--sh-2); }
.role__main { flex: 1 1 20rem; min-width: 0; }
.role__main h3 { margin-bottom: .3rem; font-size: 1.08rem; }
.role__meta { display: flex; flex-wrap: wrap; gap: .4rem; }
.role .btn { flex: none; }

.perk { display: flex; gap: .85rem; }
.perk .ic {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  flex: none;
  border-radius: var(--r-sm);
  background: var(--brand-tint);
  color: var(--brand);
}
.perk h4 { margin-bottom: .18rem; }
.perk p { margin: 0; font-size: .89rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   20. Footer
   -------------------------------------------------------------------------- */
.ftr {
  padding-block: clamp(2.75rem, 5vw, 4rem) 1.6rem;
  background: var(--bg-dark);
  font-size: .91rem;
  color: var(--on-dark-2);
}
.ftr a { color: var(--on-dark-2); }
.ftr a:hover { color: #fff; text-decoration: none; }
.ftr .brand { color: #fff; }
.ftr .brand:hover { color: #fff; }
.ftr .brand__sub { color: var(--on-dark-3); }

.ftr__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 3.5vw, 2.75rem);
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--line-dark);
}
@media (max-width: 880px) { .ftr__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ftr__top { grid-template-columns: 1fr; } }

.ftr__brand p { max-width: 26rem; margin-top: .95rem; font-size: .91rem; }
.ftr__col h4 {
  margin-bottom: .9rem;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
}
.ftr__col ul { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.ftr__col li { margin: 0; }

.social { display: flex; gap: .5rem; margin-top: 1.25rem; }
.social a {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-sm);
  transition: background .18s ease, border-color .18s ease;
}
.social a:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); }

.ftr__bot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  font-size: .83rem;
  color: var(--on-dark-3);
}
.ftr__legal { display: flex; flex-wrap: wrap; gap: 1.15rem; }

/* --------------------------------------------------------------------------
   21. Interstitial / 404
   -------------------------------------------------------------------------- */
.stage {
  display: grid;
  place-items: center;
  min-height: 100dvh;
  padding: 2rem var(--pad);
  text-align: center;
  background: var(--bg-2);
}
.stage__panel {
  max-width: 34rem;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--sh-2);
}
.stage h1 { font-size: clamp(1.6rem, 1.3rem + 1.6vw, 2.2rem); }
.stage .btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; margin-top: 1.4rem; }
.spinner {
  width: 40px; height: 40px;
  margin: 0 auto 1.5rem;
  border: 3px solid var(--bg-3);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------------
   22. Motion
   -------------------------------------------------------------------------- */
/* Hidden only while JS is available to reveal it again — a failed script must
   never leave the page blank. */
.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .45s ease, transform .45s ease;
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .marquee__row { animation: none; }
}

/* --------------------------------------------------------------------------
   23. Utilities
   -------------------------------------------------------------------------- */
.u-mid { text-align: center; }
.u-narrow { max-width: 46rem; margin-inline: auto; }
.u-mt-0 { margin-top: 0; }
.u-mt-2 { margin-top: 2rem; }
.u-mb-0 { margin-bottom: 0; }
.u-muted { color: var(--muted); }
.u-mono { font-family: var(--mono); }

/* --------------------------------------------------------------------------
   24. Print
   -------------------------------------------------------------------------- */
@media print {
  body { background: #fff; color: #000; }
  .hdr, .ftr, .topbar, .cta, .nav__burger, .mock { display: none !important; }
  .card, .quote, .form { border-color: #999; box-shadow: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}
