/* ==========================================================================
   WB Tech Systems Ltd — design system
   Palette: deep petrol ink + teal signal + brass hairline.
   Chosen to read as managed infrastructure / systems engineering rather than
   consumer software: dark instrument surfaces, one warm accent, generous air.
   ========================================================================== */

:root {
  /* --- ink surfaces --- */
  --ink-950: #04080d;
  --ink-900: #070c14;
  --ink-850: #0a111b;
  --ink-800: #0d1622;
  --ink-750: #121e2c;
  --ink-700: #172736;

  /* --- lines --- */
  --line: rgba(255, 255, 255, 0.085);
  --line-2: rgba(255, 255, 255, 0.15);
  --line-3: rgba(255, 255, 255, 0.24);

  /* --- type --- */
  --text: #e9eff6;
  --text-2: #a6b6c7;
  --text-3: #71849a;

  /* --- signal --- */
  --teal-300: #6fe3d7;
  --teal-400: #38cdc0;
  --teal-500: #17a89f;
  --teal-600: #0d8480;
  --teal-glow: rgba(56, 205, 192, 0.16);

  /* --- accent --- */
  --brass: #c9a86a;
  --brass-soft: rgba(201, 168, 106, 0.42);

  /* --- utility --- */
  --amber: #e0b558;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-2: 0 18px 44px -22px rgba(0, 0, 0, 0.85);
  --shadow-3: 0 40px 90px -40px rgba(0, 0, 0, 0.9);

  --radius-s: 8px;
  --radius: 14px;
  --radius-l: 22px;

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);

  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ==========================================================================
   Base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink-900);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.68;
  font-weight: 350;
  letter-spacing: 0.002em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
svg { display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.022em;
  margin: 0 0 0.5em;
  color: #fff;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4.05rem); letter-spacing: -0.034em; }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.7rem); letter-spacing: -0.028em; }
h3 { font-size: clamp(1.14rem, 1.7vw, 1.35rem); }
h4 { font-size: 1.02rem; letter-spacing: -0.012em; }

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

a { color: var(--teal-300); text-decoration: none; transition: color 0.18s ease; }
a:hover { color: var(--teal-400); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: 0.42em; }
li:last-child { margin-bottom: 0; }

strong { font-weight: 600; color: #fff; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 999;
  background: var(--teal-500);
  color: #04080d;
  padding: 10px 18px;
  border-radius: var(--radius-s);
  font-weight: 600;
}
.skip-link:focus { left: 16px; }

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

.narrow { max-width: 820px; }

/* ==========================================================================
   Bands (section shells)
   ========================================================================== */

.band {
  position: relative;
  padding: clamp(72px, 9vw, 128px) 0;
}

.band--deep { background: var(--ink-950); }
.band--raised { background: var(--ink-850); }
.band--tight { padding: clamp(52px, 6vw, 84px) 0; }

/* A single warm, paper-toned band gives the dark site somewhere to breathe. */
.band--light {
  --text: #101a24;
  --text-2: #4a5a6b;
  --text-3: #6c7c8d;
  --line: rgba(16, 26, 36, 0.11);
  --line-2: rgba(16, 26, 36, 0.18);
  --line-3: rgba(16, 26, 36, 0.28);
  --teal-300: #0d8480;
  background: #f2f4f5;
  color: var(--text);
}
.band--light h1,
.band--light h2,
.band--light h3,
.band--light h4 { color: #08131c; }
.band--light strong { color: #08131c; }

.band__hair {
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 22%, var(--line-2) 78%, transparent);
}

/* Fine grid texture used behind dark sections. */
.band--grid::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 20%, transparent 78%);
}

/* ==========================================================================
   Section headings
   ========================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.715rem;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--teal-400);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--brass);
}
.band--light .eyebrow { color: var(--teal-600); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 4.6vw, 62px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }

.lede {
  font-size: clamp(1.02rem, 1.35vw, 1.15rem);
  color: var(--text-2);
  line-height: 1.72;
  font-weight: 350;
}

/* Brass hairline that sits under headings — the site's recurring signature. */
.rule {
  width: 54px;
  height: 2px;
  background: linear-gradient(90deg, var(--brass), transparent);
  border: 0;
  margin: 0 0 22px;
}
.section-head--center .rule { margin-left: auto; margin-right: auto; background: linear-gradient(90deg, transparent, var(--brass), transparent); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.008em;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.22s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--teal-400), var(--teal-600));
  color: #03100f;
  box-shadow: 0 14px 34px -16px rgba(23, 168, 159, 0.85);
}
.btn--primary:hover {
  color: #03100f;
  transform: translateY(-2px);
  box-shadow: 0 20px 44px -16px rgba(23, 168, 159, 0.95);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-2);
}
.btn--ghost:hover {
  color: #fff;
  border-color: var(--teal-500);
  background: rgba(23, 168, 159, 0.08);
  transform: translateY(-2px);
}
.band--light .btn--ghost { color: #0d1a24; border-color: var(--line-2); }
.band--light .btn--ghost:hover { color: #08131c; background: rgba(13, 132, 128, 0.07); }

.btn--sm { padding: 10px 20px; font-size: 0.87rem; }

.btn__arrow { transition: transform 0.2s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
  font-size: 0.94rem;
  color: var(--teal-300);
}
.textlink svg { transition: transform 0.2s ease; }
.textlink:hover svg { transform: translateX(3px); }

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 12, 20, 0.72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.nav.is-stuck {
  background: rgba(5, 9, 15, 0.93);
  border-bottom-color: var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  flex-shrink: 0;
}
.brand:hover { color: #fff; }
.brand__mark { width: 38px; height: 38px; flex-shrink: 0; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.brand__name em {
  font-style: normal;
  font-weight: 400;
  color: var(--teal-400);
}
.brand__sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 400;
  margin-top: 3px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav__links a {
  color: var(--text-2);
  font-size: 0.9rem;
  font-weight: 450;
  padding: 9px 13px;
  border-radius: 8px;
  transition: color 0.18s ease, background 0.18s ease;
}
.nav__links a:hover { color: #fff; background: rgba(255, 255, 255, 0.055); }
.nav__links a.is-active { color: #fff; }

.nav__cta { margin-left: 14px; }

.nav__burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav__burger span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--text);
  position: relative;
  transition: background 0.18s ease;
}
.nav__burger span::before,
.nav__burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 17px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.22s ease;
}
.nav__burger span::before { top: -6px; }
.nav__burger span::after { top: 6px; }
.nav__burger[aria-expanded="true"] span { background: transparent; }
.nav__burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav__burger { display: inline-flex; }
  .nav__links {
    position: absolute;
    top: 76px;
    left: var(--gutter);
    right: var(--gutter);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    background: rgba(8, 13, 22, 0.985);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-3);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px 14px; font-size: 0.98rem; }
  .nav__cta { margin: 8px 0 4px; justify-content: center; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding: clamp(64px, 8vw, 112px) 0 clamp(72px, 8vw, 112px);
  background:
    radial-gradient(70% 90% at 88% 6%, rgba(23, 168, 159, 0.16), transparent 62%),
    radial-gradient(58% 70% at 6% 96%, rgba(201, 168, 106, 0.075), transparent 66%),
    var(--ink-950);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}

.hero h1 { font-size: clamp(2.25rem, 4.5vw, 3.6rem); }

.hero__stamp {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  max-width: 100%;
  gap: 10px;
  padding: 7px 15px 7px 11px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 26px;
}
.hero__stamp b { color: #fff; font-weight: 500; }

.hero h1 { margin-bottom: 24px; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--teal-300), var(--teal-500) 62%, var(--brass));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lede {
  font-size: clamp(1.04rem, 1.5vw, 1.2rem);
  color: var(--text-2);
  max-width: 56ch;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero__fact {
  font-size: 0.83rem;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__fact svg { width: 15px; height: 15px; color: var(--teal-500); flex-shrink: 0; }

/* --- hero console --- */

.console {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-l);
  background: linear-gradient(168deg, rgba(19, 32, 46, 0.96), rgba(8, 14, 22, 0.98));
  box-shadow: var(--shadow-3);
  overflow: hidden;
}
.console::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal-400), var(--brass-soft), transparent);
  opacity: 0.65;
}

.console__bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.022);
}
.console__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-400);
  box-shadow: 0 0 0 0 var(--teal-glow);
  animation: pulse 2.8s ease-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(56, 205, 192, 0.45); }
  70% { box-shadow: 0 0 0 9px rgba(56, 205, 192, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 205, 192, 0); }
}
.console__title {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-2);
}
.console__tag {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--brass);
  border: 1px solid var(--brass-soft);
  border-radius: 999px;
  padding: 3px 10px;
}

.console__body { padding: 22px 20px 8px; }

.meter { margin-bottom: 20px; }
.meter__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 9px;
}
.meter__label { font-size: 0.87rem; color: var(--text-2); }
.meter__value {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}
.meter__track {
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.075);
  overflow: hidden;
}
.meter__fill {
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--teal-600), var(--teal-400));
  transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.meter--brass .meter__fill { background: linear-gradient(90deg, #8a7237, var(--brass)); }

.console__foot {
  border-top: 1px solid var(--line);
  padding: 14px 20px;
  font-size: 0.76rem;
  color: var(--text-3);
  background: rgba(255, 255, 255, 0.016);
}

/* ==========================================================================
   Ticker strip
   ========================================================================== */

.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-900);
  padding: 20px 0;
}
.strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 26px;
}
.strip__item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.strip__item::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--teal-500);
}

/* ==========================================================================
   Cards & grids
   ========================================================================== */

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative;
  padding: clamp(24px, 2.6vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.022);
  transition: border-color 0.24s ease, transform 0.24s ease, background 0.24s ease;
}
.card:hover {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-3px);
}
.band--light .card { background: #fff; box-shadow: 0 1px 2px rgba(16, 26, 36, 0.05); }
.band--light .card:hover { box-shadow: 0 18px 40px -26px rgba(16, 26, 36, 0.5); background: #fff; }

.card__num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--brass);
  display: block;
  margin-bottom: 16px;
}

.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  border: 1px solid var(--line-2);
  background: rgba(23, 168, 159, 0.1);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--teal-400);
}
.card__icon svg { width: 21px; height: 21px; }
.band--light .card__icon { color: var(--teal-600); background: rgba(13, 132, 128, 0.08); }

.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-2); font-size: 0.945rem; }

.card__list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
.card__list li {
  position: relative;
  padding-left: 19px;
  font-size: 0.875rem;
  color: var(--text-3);
  margin-bottom: 7px;
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.63em;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--teal-500);
  transform: rotate(45deg);
}

/* ==========================================================================
   Pillars (approach)
   ========================================================================== */

.pillar {
  padding: clamp(26px, 2.8vw, 36px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}
.band--light .pillar { box-shadow: 0 1px 2px rgba(16, 26, 36, 0.05); }
.pillar__k {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.4vw, 2.85rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--teal-600);
  display: block;
  margin-bottom: 4px;
}
.pillar__k small { font-size: 0.42em; font-weight: 500; letter-spacing: 0.01em; color: var(--text-3); margin-left: 4px; }
.pillar h3 { margin: 12px 0 8px; }
.pillar p { color: var(--text-2); font-size: 0.93rem; }

/* ==========================================================================
   Split feature
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}
.split--wide-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }

.checklist { list-style: none; padding: 0; margin: 26px 0 0; }
.checklist li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 15px;
  color: var(--text-2);
  font-size: 0.96rem;
}
.checklist li strong { display: block; color: #fff; font-weight: 550; margin-bottom: 2px; font-size: 1rem; }
.band--light .checklist li strong { color: #08131c; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  border: 1px solid var(--teal-500);
  background:
    linear-gradient(45deg, transparent 46%, var(--teal-400) 46%, var(--teal-400) 56%, transparent 56%) no-repeat 4px 6px / 6px 6px,
    linear-gradient(-45deg, transparent 46%, var(--teal-400) 46%, var(--teal-400) 56%, transparent 56%) no-repeat 7px 2px / 9px 9px;
}

/* ==========================================================================
   Panel (dark instrument box reused across pages)
   ========================================================================== */

.panel {
  border: 1px solid var(--line-2);
  border-radius: var(--radius-l);
  background: linear-gradient(165deg, rgba(20, 34, 48, 0.9), rgba(8, 14, 22, 0.96));
  padding: clamp(26px, 3vw, 38px);
  box-shadow: var(--shadow-2);
}
.band--light .panel {
  background: linear-gradient(165deg, #0d1622, #070c14);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
}
.band--light .panel h3,
.band--light .panel h4 { color: #fff; }
.band--light .panel p { color: #a6b6c7; }

.panel__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
}
.panel__row:last-child { border-bottom: 0; padding-bottom: 0; }
.panel__row dt { color: #a6b6c7; margin: 0; }
.panel__row dd {
  margin: 0;
  text-align: right;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ==========================================================================
   Timeline / process rail
   ========================================================================== */

.rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  counter-reset: rail;
}
.rail__step {
  position: relative;
  padding: 46px 26px 4px 0;
  counter-increment: rail;
}
.rail__step::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line-2);
}
.rail__step::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ink-900);
  border: 1px solid var(--teal-500);
}
.band--light .rail__step::after { background: #f2f4f5; }
.rail__step:last-child::before { background: linear-gradient(90deg, var(--line-2) 40%, transparent); }
.rail__k {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  display: block;
  margin-bottom: 9px;
}
.rail__step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.rail__step p { font-size: 0.9rem; color: var(--text-2); padding-right: 8px; }

/* ==========================================================================
   Tiers table
   ========================================================================== */

.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 22px); }
.tier {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 2.8vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.022);
}
.tier--feature {
  border-color: rgba(23, 168, 159, 0.45);
  background: linear-gradient(170deg, rgba(23, 168, 159, 0.1), rgba(255, 255, 255, 0.022));
  box-shadow: 0 24px 60px -34px rgba(23, 168, 159, 0.55);
}
.tier__name {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}
.tier__for { font-size: 0.87rem; color: var(--text-3); margin-bottom: 20px; }
.tier__list { list-style: none; padding: 0; margin: 0 0 22px; }
.tier__list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9rem;
  color: var(--text-2);
  margin-bottom: 10px;
}
.tier__list li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border: 1px solid var(--teal-500);
  border-radius: 2px;
}
.tier__foot { margin-top: auto; }
.tier__badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  border: 1px solid var(--brass-soft);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 14px;
}

/* ==========================================================================
   Stats
   ========================================================================== */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  background: var(--ink-850);
  padding: clamp(24px, 2.6vw, 34px);
}
.band--light .stat { background: #fff; }
.stat__k {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  color: #fff;
  line-height: 1;
  margin-bottom: 10px;
}
.band--light .stat__k { color: #08131c; }
.stat__l { font-size: 0.87rem; color: var(--text-2); }

/* ==========================================================================
   Sector chips
   ========================================================================== */

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.chip:hover { border-color: var(--teal-500); color: #fff; }
.chip svg { width: 15px; height: 15px; color: var(--teal-500); }
.band--light .chip { background: #fff; }
.band--light .chip:hover { color: #08131c; }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  background: none;
  border: 0;
  padding: 24px 4px;
  cursor: pointer;
  color: inherit;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  font-weight: 550;
  letter-spacing: -0.014em;
  transition: color 0.18s ease;
}
.faq__q:hover { color: var(--teal-300); }
.faq__q::after {
  content: "";
  flex-shrink: 0;
  width: 11px;
  height: 11px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  opacity: 0.6;
  transition: transform 0.26s ease;
}
.faq__item.is-open .faq__q::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.34s ease, padding 0.34s ease;
  padding: 0 4px;
  color: var(--text-2);
  font-size: 0.96rem;
}
.faq__item.is-open .faq__a { padding: 0 4px 26px; max-height: 640px; }
.faq__a p { max-width: 74ch; }

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-card {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.8vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.022);
}
.contact-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.contact-card p { font-size: 0.93rem; color: var(--text-2); }
.contact-card__mail {
  margin-top: auto;
  padding-top: 18px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  word-break: break-all;
}

address {
  font-style: normal;
  color: var(--text-2);
  line-height: 1.85;
}

/* ==========================================================================
   Legal / prose pages
   ========================================================================== */

.page-head {
  padding: clamp(56px, 7vw, 92px) 0 clamp(30px, 4vw, 52px);
  background:
    radial-gradient(60% 90% at 84% 0%, rgba(23, 168, 159, 0.13), transparent 62%),
    var(--ink-950);
  border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); margin-bottom: 18px; }
.page-head .lede { max-width: 68ch; }

.crumbs {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 18px;
}
.crumbs a { color: var(--text-3); }
.crumbs a:hover { color: var(--teal-400); }
.crumbs span { margin: 0 8px; opacity: 0.5; }

.prose { max-width: 860px; }
.prose h2 {
  font-size: clamp(1.32rem, 2.1vw, 1.62rem);
  margin-top: 2.4em;
  padding-top: 1.6em;
  border-top: 1px solid var(--line);
}
.prose h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1.06rem; margin-top: 1.9em; }
.prose p, .prose li { color: var(--text-2); font-size: 0.975rem; }
.prose ul { padding-left: 1.15em; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4em 0;
  font-size: 0.92rem;
}
.prose th, .prose td {
  text-align: left;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.prose th {
  color: #fff;
  font-weight: 550;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}
.prose td { color: var(--text-2); }

.note {
  border-left: 2px solid var(--brass);
  padding: 4px 0 4px 20px;
  margin: 1.6em 0;
  color: var(--text-2);
  font-size: 0.94rem;
}

.updated {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta {
  position: relative;
  padding: clamp(60px, 7vw, 96px) 0;
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(23, 168, 159, 0.18), transparent 66%),
    var(--ink-950);
  border-top: 1px solid var(--line);
  text-align: center;
}
.cta h2 { max-width: 20ch; margin-left: auto; margin-right: auto; }
.cta .lede { max-width: 62ch; margin: 0 auto 30px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta__mail {
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-3);
}
.cta__mail a { color: var(--teal-300); }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--ink-950);
  border-top: 1px solid var(--line);
  padding: clamp(52px, 6vw, 76px) 0 34px;
  font-size: 0.9rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 54px);
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}
.footer__about p { color: var(--text-3); font-size: 0.88rem; max-width: 38ch; margin-top: 16px; }
.footer h4 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 9px; }
.footer a { color: var(--text-2); font-size: 0.9rem; }
.footer a:hover { color: var(--teal-300); }
.footer address { color: var(--text-3); font-size: 0.87rem; line-height: 1.75; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  color: var(--text-3);
  font-size: 0.8rem;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer__legal a { font-size: 0.8rem; color: var(--text-3); }

/* ==========================================================================
   404
   ========================================================================== */

.notfound {
  min-height: 72vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 0;
  background:
    radial-gradient(60% 80% at 50% 10%, rgba(23, 168, 159, 0.14), transparent 62%),
    var(--ink-950);
}
.notfound__code {
  font-family: var(--font-mono);
  font-size: clamp(3.6rem, 12vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-3);
  margin-bottom: 18px;
}

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-in { opacity: 1; transform: none; }

@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;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .split, .split--wide-left { grid-template-columns: minmax(0, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiers { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero__stamp { font-size: 0.64rem; letter-spacing: 0.08em; }
  .console__tag { margin-left: 0; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .rail { grid-template-columns: minmax(0, 1fr); }
  .rail__step { padding-right: 0; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__actions .btn, .cta__actions .btn { flex: 1 1 100%; }
}
