/* ==========================================================================
   FlowSense — Design System
   Tokens sampled from the Axiom Africa proposal, page 04.
   Loaded alongside the Tailwind Play CDN (config lives in assets/js/tailwind.config.js)
   ========================================================================== */

:root {
  /* Colour palette — proposal page 04 */
  --fs-ink:        #04070A;  /* Ink / BG        */
  --fs-card:       #0D1116;  /* Card            */
  --fs-card-hi:    #121924;  /* Card Hi         */
  --fs-line:       #212B36;  /* Line            */
  --fs-blue:       #009BEE;  /* Brand Blue      */
  --fs-green:      #75B41C;  /* Brand Green     */
  --fs-cyan:       #18A2DA;  /* Cyan Accent     */
  --fs-text:       #E9F0F5;  /* Text            */
  --fs-muted:      #8CA0B3;  /* Derived: body copy on dark  — 7.50:1 on ink */
  --fs-dim:        #677E92;  /* Derived: labels, meta       — 4.79:1 on ink */

  /* Primary button fill. The brand gradient at full brightness only reaches
     ~3:1 against white label text, so the button uses a one-step-deeper
     version of the same blue→green ramp to clear WCAG AA (4.5:1).
     Headings and icons still use the full-brightness brand colours above. */
  --fs-btn-a:      #0079C2;
  --fs-btn-b:      #127F9E;
  --fs-btn-c:      #43810F;

  --fs-nav-h:      76px;
  --fs-radius:     14px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

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

body {
  margin: 0;
  background-color: var(--fs-ink);
  color: var(--fs-text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: rgba(0, 155, 238, .32);
  color: #fff;
}

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

/* Long unbroken strings (emails, URLs) wrap at sensible points rather than
   mid-word, which is what break-all was doing to sales@flowsense.africa */
.fs-wrap-any {
  overflow-wrap: anywhere;
  word-break: normal;
}

/* No button should be able to push the page wider than the viewport */
.fs-btn { max-width: 100%; }

@media (max-width: 400px) {
  .fs-btn {
    padding-inline: 20px;
    font-size: .88rem;
    white-space: normal;            /* allow a long label to wrap rather than overflow */
    text-align: center;
  }
}

/* Focus visibility — keyboard users only */
:focus-visible {
  outline: 2px solid var(--fs-blue);
  outline-offset: 3px;
  border-radius: 6px;
}
:focus:not(:focus-visible) { outline: none; }

/* Skip link */
.fs-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 20px;
  background: var(--fs-blue);
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 10px 0;
}
.fs-skip:focus { left: 0; }

/* --------------------------------------------------------------------------
   Typography scale — proposal page 04
   -------------------------------------------------------------------------- */

.fs-display {
  font-size: clamp(2.3rem, 3.6vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -.035em;
  font-weight: 800;
}

.fs-h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -.028em;
  font-weight: 700;
}

.fs-h3 {
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.25;
  letter-spacing: -.015em;
  font-weight: 650;
}

.fs-body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--fs-muted);
}

.fs-lead {
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  line-height: 1.7;
  color: var(--fs-muted);
}

/* Eyebrow / label */
.fs-eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--fs-cyan);
}

/* Gradient brand text — blue to green, as per the logo */
.fs-grad {
  background: linear-gradient(100deg, var(--fs-blue) 0%, var(--fs-cyan) 42%, var(--fs-green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.fs-grad-blue {
  background: linear-gradient(100deg, #35B6FF 0%, var(--fs-blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.fs-grad-green {
  background: linear-gradient(100deg, var(--fs-green) 0%, #9BD337 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.fs-shell {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 22px;
}

@media (min-width: 768px) {
  .fs-shell { padding-inline: 40px; }
}

@media (min-width: 1600px) {
  .fs-shell { max-width: 1560px; padding-inline: 48px; }
}

.fs-section { padding-block: clamp(64px, 9vw, 116px); }
.fs-section--tight { padding-block: clamp(48px, 6vw, 76px); }

/* Gradient status-bar motif — proposal page 03 */
.fs-rule {
  height: 3px;
  width: 68px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--fs-blue), var(--fs-green));
}

.fs-hairline {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--fs-line) 18%, var(--fs-line) 82%, transparent);
}

/* --------------------------------------------------------------------------
   Ambient background — circuit / water field
   -------------------------------------------------------------------------- */

.fs-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(1100px 720px at 74% -4%, rgba(0, 106, 168, .30), transparent 60%),
    radial-gradient(760px 560px at 4% 16%,   rgba(12, 62, 100, .34), transparent 62%),
    linear-gradient(180deg, #061019 0%, #04070A 46%, #04070A 100%);
}

/* Section-level glow accent */
.fs-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.fs-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  height: var(--fs-nav-h);
  display: flex;
  align-items: center;
  transition: background-color .35s ease, border-color .35s ease, backdrop-filter .35s ease;
  border-bottom: 1px solid transparent;
}

.fs-nav[data-scrolled='true'] {
  background: rgba(4, 7, 10, .82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--fs-line);
}

.fs-nav__link {
  position: relative;
  font-size: .93rem;
  font-weight: 500;
  color: var(--fs-muted);
  text-decoration: none;
  padding: 8px 2px;
  transition: color .22s ease;
  white-space: nowrap;
}

.fs-nav__link:hover { color: var(--fs-text); }

.fs-nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--fs-blue), var(--fs-green));
  transition: width .28s cubic-bezier(.4, 0, .2, 1);
}

.fs-nav__link:hover::after { width: 100%; }

.fs-nav__link[aria-current='page'] {
  color: var(--fs-text);
  font-weight: 600;
}
.fs-nav__link[aria-current='page']::after { width: 100%; }

/* Mobile drawer */
.fs-drawer {
  position: fixed;
  inset: var(--fs-nav-h) 0 auto 0;
  z-index: 89;
  background: rgba(4, 7, 10, .97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--fs-line);
  transform: translateY(-14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .26s ease, transform .26s ease, visibility .26s;
}

.fs-drawer[data-open='true'] {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

/* 44x44 minimum tap target — the bars stay 22px wide, the button grows */
.fs-burger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}

.fs-burger span {
  display: block;
  height: 2px;
  width: 22px;
  border-radius: 99px;
  background: var(--fs-text);
  transition: transform .28s ease, opacity .2s ease;
}
.fs-burger span + span { margin-top: 5px; }

.fs-burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.fs-burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.fs-burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Buttons — proposal page 04 (Primary / Secondary)
   -------------------------------------------------------------------------- */

.fs-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 999px;                 /* pill — per reference */
  font-size: .93rem;
  font-weight: 600;
  letter-spacing: .012em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .28s ease, background-color .24s ease,
              border-color .24s ease, color .24s ease, filter .24s ease;
}

.fs-btn:active { transform: translateY(1px); }

/* Trailing chevron in a ring, as drawn in the reference */
.fs-btn__chev {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: .75;
  flex-shrink: 0;
  transition: transform .24s ease, opacity .24s ease;
}
.fs-btn:hover .fs-btn__chev { transform: translateX(2px); opacity: 1; }

.fs-btn--primary {
  background: linear-gradient(100deg, var(--fs-btn-a), var(--fs-btn-b) 58%, var(--fs-btn-c));
  color: #fff;
  box-shadow: 0 8px 26px -10px rgba(0, 155, 238, .78);
}
.fs-btn--primary:hover {
  filter: brightness(1.09);
  box-shadow: 0 12px 34px -10px rgba(0, 155, 238, .95);
  transform: translateY(-1px);
}

/* Solid brand-blue pill (hero "Request Demo") */
.fs-btn--blue {
  background: linear-gradient(100deg, #0079C2, #0B6FA8);
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(0, 155, 238, .9);
}
.fs-btn--blue:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 14px 38px -12px rgba(0, 155, 238, 1);
}

/* Outlined pill — nav "Request Demo", "Explore Features", "Learn More" */
.fs-btn--outline {
  background: rgba(4, 7, 10, .45);
  border-color: rgba(0, 155, 238, .55);
  color: var(--fs-text);
}
.fs-btn--outline:hover {
  border-color: var(--fs-blue);
  background: rgba(0, 155, 238, .12);
  transform: translateY(-1px);
  box-shadow: 0 0 22px -6px rgba(0, 155, 238, .55);
}

/* Green-edged outline variant (reference uses this for Explore Features) */
.fs-btn--outline-green {
  background: rgba(4, 7, 10, .45);
  border-color: rgba(117, 180, 28, .55);
  color: var(--fs-text);
}
.fs-btn--outline-green:hover {
  border-color: var(--fs-green);
  background: rgba(117, 180, 28, .12);
  transform: translateY(-1px);
  box-shadow: 0 0 22px -6px rgba(117, 180, 28, .55);
}

.fs-btn--secondary {
  background: rgba(18, 25, 36, .68);
  border-color: var(--fs-line);
  color: var(--fs-text);
}
.fs-btn--secondary:hover {
  border-color: rgba(0, 155, 238, .62);
  background: rgba(0, 155, 238, .1);
  transform: translateY(-1px);
}

.fs-btn--ghost {
  background: transparent;
  color: var(--fs-muted);
  padding-inline: 4px;
}
.fs-btn--ghost:hover { color: var(--fs-blue); }

.fs-btn--wide { width: 100%; }

.fs-btn--wa {
  background: #25D366;
  color: #04241A;
  box-shadow: 0 8px 26px -12px rgba(37, 211, 102, .9);
}
.fs-btn--wa:hover { filter: brightness(1.07); transform: translateY(-1px); }

.fs-btn[disabled],
.fs-btn[aria-busy='true'] {
  opacity: .62;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Hero — artwork plate from the approved design
   The image is 1024x488 in the source comp, where the copy block occupies
   x 58-486, y 100-386. The aspect ratio is locked so the copy always lands
   over the flat area to the left of the tablet.
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   Hero — FULL-WIDTH banner
   The artwork spans the whole viewport at its natural 2560x1220 ratio, so it is
   never cropped. Copy is overlaid on the flat left-hand area, still aligned to
   the same centred container as the nav and every section below.
   -------------------------------------------------------------------------- */

.fs-hero {
  position: relative;
  isolation: isolate;
  background: var(--fs-ink);
}

.fs-hero__art {
  display: block;
  width: 100%;
  line-height: 0;
}

.fs-hero__art img {
  width: 100%;
  height: auto;
  display: block;
}

/* narrow-screen crop is hidden on desktop and vice versa */
.fs-hero__art--sm { display: none; }

/* Left scrim keeps the headline legible over the artwork, plus a soft fade into
   the section below so the banner doesn't end on a hard edge. */
.fs-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Lighter than before — the new artwork already has a clean dark left side,
     so this only needs to guarantee text contrast, not manufacture darkness. */
  background:
    linear-gradient(90deg, rgba(4,7,10,.80) 0%, rgba(4,7,10,.52) 22%, rgba(4,7,10,.16) 38%, transparent 52%),
    linear-gradient(180deg, rgba(4,7,10,.58) 0%, rgba(4,7,10,.12) 14%, transparent 24%),
    linear-gradient(0deg, #04070A 0%, rgba(4,7,10,.3) 6%, transparent 17%);
}

/* Copy overlaid on the banner */
.fs-hero__inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  padding-top: var(--fs-nav-h);
}

/* The copy uses the standard container, so the headline's left edge lines up
   exactly with the nav logo and with every section heading further down the
   page — one consistent vertical line the whole way. */
.fs-hero__copy { max-width: 560px; }

@media (min-width: 1600px) { .fs-hero__copy { max-width: 600px; } }

/* --- Below 1024px the banner is too short to hold the copy, so the layout
       stacks: text first, tablet crop beneath it. --- */
@media (max-width: 1023px) {
  .fs-hero { display: flex; flex-direction: column-reverse; }

  .fs-hero__art     { display: none; }
  .fs-hero__art--sm { display: block; }
  .fs-hero__art--sm img {
    -webkit-mask-image: linear-gradient(180deg, #000 76%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 76%, transparent 100%);
  }

  .fs-hero__scrim { display: none; }

  .fs-hero__inner {
    position: static;
    display: block;
    padding: calc(var(--fs-nav-h) + 30px) 0 8px;
  }

  .fs-hero__copy { max-width: none; }
}

/* --------------------------------------------------------------------------
   Section heading block — centred eyebrow, heading, short blue rule
   (matches the "Why FlowSense? / Built for Water Treatment Excellence" lockup)
   -------------------------------------------------------------------------- */

.fs-kicker {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: #A9BCCB;
}

.fs-underline {
  height: 2px;
  width: 96px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--fs-blue), var(--fs-cyan));
  margin-top: 14px;
}

/* --------------------------------------------------------------------------
   Decorative field patterns — circuit dots, hexagons
   -------------------------------------------------------------------------- */

.fs-hex {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='64' viewBox='0 0 56 64'%3E%3Cpath d='M28 1L54 16v32L28 63 2 48V16z' fill='none' stroke='%2314202C' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 64px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 34%, transparent 66%, #000 100%);
          mask-image: linear-gradient(90deg, #000 0%, transparent 34%, transparent 66%, #000 100%);
}

.fs-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background-image: radial-gradient(circle, rgba(0, 155, 238, .38) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.fs-card {
  position: relative;
  background: linear-gradient(168deg, var(--fs-card-hi), var(--fs-card) 68%);
  border: 1px solid var(--fs-line);
  border-radius: var(--fs-radius);
  padding: 30px 26px;
  overflow: hidden;
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}

.fs-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--fs-blue), var(--fs-green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .42s cubic-bezier(.4, 0, .2, 1);
}

.fs-card:hover {
  border-color: rgba(0, 155, 238, .42);
  transform: translateY(-4px);
  box-shadow: 0 22px 46px -26px rgba(0, 155, 238, .55);
}

.fs-card:hover::before { transform: scaleX(1); }

.fs-card--flat:hover { transform: none; box-shadow: none; }

/* --------------------------------------------------------------------------
   Feature card — the five "Why FlowSense?" tiles
   Neon outline icon, centred copy, short accent rule at the base.
   -------------------------------------------------------------------------- */

.fs-fcard {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 34px 22px 26px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(11, 20, 31, .92), rgba(6, 11, 17, .92));
  border: 1px solid #16222E;
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}

.fs-fcard:hover {
  border-color: rgba(0, 155, 238, .45);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -28px rgba(0, 155, 238, .6);
}

.fs-fcard__icon {
  color: var(--fs-blue);
  margin-bottom: 20px;
  filter: drop-shadow(0 0 9px rgba(0, 155, 238, .7));
}

.fs-fcard__icon--green {
  color: var(--fs-green);
  filter: drop-shadow(0 0 9px rgba(117, 180, 28, .7));
}

.fs-fcard__title {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--fs-text);
  margin-bottom: 12px;
}

.fs-fcard__body {
  font-size: .87rem;
  line-height: 1.65;
  color: var(--fs-muted);
  margin-bottom: 22px;
}

.fs-fcard__rule {
  margin-top: auto;
  height: 2px;
  width: 46px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--fs-blue), var(--fs-cyan));
}

.fs-fcard__rule--green {
  background: linear-gradient(90deg, var(--fs-green), #9BD337);
}

/* Feature cards are buttons that open a detail modal */
button.fs-fcard {
  width: 100%;
  font: inherit;
  cursor: pointer;
  text-align: center;
}

.fs-fcard__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--fs-blue);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .28s ease, transform .28s ease;
}

.fs-fcard:hover .fs-fcard__more,
.fs-fcard:focus-visible .fs-fcard__more { opacity: 1; transform: none; }

/* Always visible on touch, where there is no hover to reveal it */
@media (hover: none) {
  .fs-fcard__more { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Modal — feature detail
   -------------------------------------------------------------------------- */

.fs-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .26s ease, visibility .26s;
}

.fs-modal[data-open='true'] { visibility: visible; opacity: 1; }

.fs-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 5, 8, .82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.fs-modal__panel {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  display: flex;
  flex-direction: column;
  background: linear-gradient(168deg, #101927, #070C13 62%);
  border: 1px solid #1D2B3A;
  border-radius: 16px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9);
  transform: translateY(14px) scale(.985);
  transition: transform .3s cubic-bezier(.16, 1, .3, 1);
  overflow: hidden;
}

.fs-modal[data-open='true'] .fs-modal__panel { transform: none; }

.fs-modal__bar {
  height: 3px;
  flex-shrink: 0;
  background: linear-gradient(90deg, var(--fs-blue), var(--fs-cyan) 48%, var(--fs-green));
}

.fs-modal__head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 26px 26px 20px;
  border-bottom: 1px solid #16222E;
  flex-shrink: 0;
}

.fs-modal__icon {
  flex-shrink: 0;
  color: var(--fs-blue);
  filter: drop-shadow(0 0 9px rgba(0, 155, 238, .55));
}
.fs-modal__icon--green {
  color: var(--fs-green);
  filter: drop-shadow(0 0 9px rgba(117, 180, 28, .55));
}

.fs-modal__title {
  font-size: 1.42rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: 6px;
}

.fs-modal__kicker {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fs-cyan);
  margin-bottom: 8px;
}

.fs-modal__close {
  flex-shrink: 0;
  margin-left: auto;
  width: 44px;
  height: 44px;
  margin-top: -6px;
  margin-right: -8px;
  border: 1px solid var(--fs-line);
  border-radius: 10px;
  background: transparent;
  color: var(--fs-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.fs-modal__close:hover {
  color: var(--fs-text);
  border-color: rgba(0, 155, 238, .5);
  background: rgba(0, 155, 238, .1);
}

.fs-modal__body {
  padding: 24px 26px 26px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.fs-modal__body p {
  font-size: .97rem;
  line-height: 1.75;
  color: var(--fs-muted);
}
.fs-modal__body p + p { margin-top: 13px; }

.fs-modal__body h3 {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--fs-dim);
  margin: 28px 0 14px;
}

.fs-modal__list { list-style: none; padding: 0; display: grid; gap: 12px; }

.fs-modal__list li {
  position: relative;
  padding-left: 26px;
  font-size: .95rem;
  line-height: 1.68;
  color: var(--fs-muted);
}

.fs-modal__list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--fs-blue), var(--fs-green));
}

.fs-modal__list strong { color: var(--fs-text); font-weight: 650; }

/* Spec strip */
.fs-modal__specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1px;
  background: #16222E;
  border: 1px solid #16222E;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 26px;
}

.fs-modal__spec { background: #0A121B; padding: 15px 16px; }

.fs-modal__spec dt {
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--fs-dim);
  margin-bottom: 6px;
}

.fs-modal__spec dd {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--fs-text);
}

.fs-modal__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #16222E;
}

.fs-modal__note {
  font-size: .84rem;
  line-height: 1.6;
  color: var(--fs-dim);
  flex: 1 1 200px;
}

@media (max-width: 640px) {
  .fs-modal { padding: 0; align-items: flex-end; }
  .fs-modal__panel {
    max-width: none;
    max-height: 92vh;
    max-height: 92dvh;
    border-radius: 18px 18px 0 0;
    border-bottom: 0;
    transform: translateY(28px);
  }
  .fs-modal__head { padding: 22px 20px 18px; }
  .fs-modal__body { padding: 20px 20px 28px; }
  .fs-modal__title { font-size: 1.24rem; }
}

body.fs-modal-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   Trusted-by row — inline items split by vertical hairlines
   -------------------------------------------------------------------------- */

.fs-trust {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 0;
}

@media (min-width: 900px) {
  .fs-trust { grid-template-columns: repeat(4, 1fr); gap: 0; }
}

.fs-trust__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 6px 18px;
}

@media (min-width: 900px) {
  .fs-trust__item + .fs-trust__item {
    border-left: 1px solid #1B2733;
  }
}

.fs-trust__label {
  font-size: .95rem;
  font-weight: 600;
  color: var(--fs-text);
  white-space: nowrap;
}

/* Icon tile */
.fs-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: rgba(0, 155, 238, .1);
  border: 1px solid rgba(0, 155, 238, .28);
  color: var(--fs-blue);
  flex-shrink: 0;
}

.fs-icon--green {
  background: rgba(117, 180, 28, .1);
  border-color: rgba(117, 180, 28, .3);
  color: var(--fs-green);
}

/* --------------------------------------------------------------------------
   Form fields — proposal page 04 (Inputs, focused state)
   -------------------------------------------------------------------------- */

.fs-label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fs-dim);
  margin-bottom: 9px;
}

.fs-field {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(4, 7, 10, .7);
  border: 1px solid var(--fs-line);
  color: var(--fs-text);
  /* Must stay >= 16px: iOS Safari zooms the whole page when a focused input
     is smaller than that, which is jarring and hard to zoom back out of. */
  font-size: 1rem;
  font-family: inherit;
  min-height: 48px;
  transition: border-color .22s ease, box-shadow .22s ease, background-color .22s ease;
}

/* Native select needs room for its own dropdown arrow */
select.fs-field {
  padding-right: 40px;
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--fs-muted) 50%),
    linear-gradient(135deg, var(--fs-muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  text-overflow: ellipsis;
}

.fs-field::placeholder { color: #5D7285; }

.fs-field:focus {
  outline: none;
  border-color: var(--fs-blue);
  background: rgba(0, 155, 238, .05);
  box-shadow: 0 0 0 3px rgba(0, 155, 238, .17);
}

.fs-field[aria-invalid='true'] {
  border-color: #E0553F;
  box-shadow: 0 0 0 3px rgba(224, 85, 63, .15);
}

.fs-field--icon { padding-left: 46px; }

textarea.fs-field { resize: vertical; min-height: 138px; line-height: 1.65; }

.fs-error {
  display: none;
  margin-top: 7px;
  font-size: .8rem;
  color: #F08D7B;
}
.fs-error[data-show='true'] { display: block; }

/* --------------------------------------------------------------------------
   Status pills — proposal page 04 (Active / Pending / Offline)
   -------------------------------------------------------------------------- */

.fs-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 99px;
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.fs-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 22%, transparent);
}

.fs-pill--active  { color: var(--fs-green); background: rgba(117, 180, 28, .12); }
.fs-pill--pending { color: #E8A33D;        background: rgba(232, 163, 61, .12); }
.fs-pill--offline { color: #7D8FA0;        background: rgba(125, 143, 160, .12); }

.fs-pill--active::before { animation: fs-pulse 2.2s ease-in-out infinite; }

@keyframes fs-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .35; }
}

/* Eyebrow chip */
.fs-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border-radius: 99px;
  background: rgba(18, 25, 36, .8);
  border: 1px solid var(--fs-line);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fs-muted);
}

/* --------------------------------------------------------------------------
   Dashboard mockup (pure CSS/SVG — no screenshots)
   -------------------------------------------------------------------------- */

.fs-mock {
  position: relative;
  border-radius: 16px;
  background: linear-gradient(168deg, #101823, #070B10 72%);
  border: 1px solid var(--fs-line);
  box-shadow: 0 44px 90px -40px rgba(0, 155, 238, .5),
              0 0 0 1px rgba(0, 155, 238, .07) inset;
  overflow: hidden;
}

.fs-mock__bar {
  height: 3px;
  background: linear-gradient(90deg, var(--fs-blue), var(--fs-cyan) 48%, var(--fs-green));
}

.fs-mock__tile {
  background: rgba(4, 7, 10, .62);
  border: 1px solid var(--fs-line);
  border-radius: 10px;
  padding: 13px 14px;
}

.fs-mock__k {
  font-size: .62rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--fs-dim);
}

.fs-mock__v {
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-top: 4px;
}

/* The KPI tiles get very narrow on small phones — shrink the readout so the
   value and its unit stop colliding with the neighbouring tile. */
@media (max-width: 479px) {
  .fs-mock__v { font-size: 1rem; }
  .fs-mock__u { font-size: .62rem; }
  .fs-mock__tile { padding: 10px 10px; }
}

.fs-mock__u {
  font-size: .68rem;
  font-weight: 500;
  color: var(--fs-dim);
  margin-left: 3px;
}

/* Animated flow line in the chart */
.fs-spark {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: fs-draw 2.6s cubic-bezier(.4, 0, .2, 1) .4s forwards;
}

@keyframes fs-draw { to { stroke-dashoffset: 0; } }

/* --------------------------------------------------------------------------
   WhatsApp floating widget
   -------------------------------------------------------------------------- */

/* The floating button sits over the bottom-right corner, so every footer
   reserves space for it (see .fs-foot-safe) — otherwise it lands on top of
   the Privacy Policy / Terms links when you scroll to the end. */
.fs-wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px 13px 15px;
  border-radius: 99px;
  background: #25D366;
  color: #04241A;
  font-size: .88rem;
  font-weight: 650;
  text-decoration: none;
  box-shadow: 0 14px 34px -12px rgba(37, 211, 102, .78);
  transition: transform .24s ease, box-shadow .24s ease;
}

.fs-wa:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 42px -12px rgba(37, 211, 102, .95);
}

.fs-wa__text { display: none; }

@media (min-width: 640px) {
  .fs-wa__text { display: inline; }
}

/* Clearance so the fixed WhatsApp button never covers the last footer row */
.fs-foot-safe { padding-bottom: 92px; }

@media (min-width: 640px) {
  .fs-foot-safe { padding-bottom: 34px; }
}

/* Below sm the button is a circle centred bottom-right; the bottom bar
   stacks and centres, so it needs the taller clearance above. */
@media (max-width: 639px) {
  .fs-wa { right: 16px; bottom: 16px; padding: 13px; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.fs-foot-link {
  display: inline-block;
  font-size: .92rem;
  color: var(--fs-muted);
  text-decoration: none;
  padding-block: 5px;                /* comfortable tap height in list context */
  transition: color .2s ease, padding-left .2s ease;
}
.fs-foot-link:hover { color: var(--fs-blue); }

/* Social icon buttons — icon stays 19px, hit area becomes 44x44 */
.fs-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: -11px;                /* keeps the visual row left-aligned */
  color: var(--fs-muted);
  transition: color .2s ease;
}
.fs-social:first-child { margin-left: -11px; }
.fs-social:hover { color: var(--fs-blue); }

/* Chevron-bulleted footer list, per the reference */
.fs-foot-chev {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .92rem;
  color: var(--fs-muted);
  text-decoration: none;
  padding-block: 5px;
  transition: color .2s ease, transform .2s ease;
}

.fs-foot-chev::before {
  content: '';
  width: 5px;
  height: 5px;
  border-right: 1.6px solid var(--fs-green);
  border-top: 1.6px solid var(--fs-green);
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: border-color .2s ease;
}

.fs-foot-chev:hover { color: var(--fs-text); transform: translateX(2px); }
.fs-foot-chev:hover::before { border-color: var(--fs-blue); }

/* Footer heading — white, sentence weight (reference uses title, not eyebrow) */
.fs-foot-head {
  font-size: 1rem;
  font-weight: 700;
  color: var(--fs-text);
  letter-spacing: -.01em;
}

/* Pill email capture */
.fs-subscribe {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 5px 5px 18px;
  border-radius: 999px;
  background: rgba(4, 7, 10, .72);
  border: 1px solid rgba(0, 155, 238, .42);
  transition: border-color .22s ease, box-shadow .22s ease;
}

.fs-subscribe:focus-within {
  border-color: var(--fs-blue);
  box-shadow: 0 0 0 3px rgba(0, 155, 238, .16);
}

.fs-subscribe input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  outline: none;
  color: var(--fs-text);
  font-family: inherit;
  font-size: .9rem;
  padding: 8px 0;
}

.fs-subscribe input::placeholder { color: #5D7285; }

.fs-subscribe button {
  flex-shrink: 0;
  width: 46px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0, 155, 238, .55);
  background: rgba(0, 155, 238, .16);
  color: var(--fs-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color .22s ease, color .22s ease;
}

.fs-subscribe button:hover {
  background: var(--fs-blue);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Legal pages — privacy policy, terms of service
   -------------------------------------------------------------------------- */

.fs-legal { max-width: 760px; }

.fs-legal section { scroll-margin-top: calc(var(--fs-nav-h) + 28px); }
.fs-legal section + section { margin-top: 44px; }

.fs-legal h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--fs-text);
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--fs-line);
}

.fs-legal__num {
  flex-shrink: 0;
  font-size: .82rem;
  font-weight: 700;
  color: var(--fs-blue);
  font-variant-numeric: tabular-nums;
}

.fs-legal p {
  font-size: 1rem;
  line-height: 1.78;
  color: var(--fs-muted);
}

.fs-legal p + p,
.fs-legal ul + p,
.fs-legal p + ul { margin-top: 14px; }

.fs-legal ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 11px;
}

.fs-legal li {
  position: relative;
  padding-left: 22px;
  font-size: 1rem;
  line-height: 1.72;
  color: var(--fs-muted);
}

.fs-legal li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: .72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fs-blue);
}

.fs-legal strong { color: var(--fs-text); font-weight: 650; }

.fs-legal a {
  color: var(--fs-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.fs-legal a:hover { color: #35B6FF; }

/* "not yet lawyer-reviewed" banner */
.fs-legal__notice {
  border: 1px solid rgba(232, 163, 61, .34);
  background: rgba(232, 163, 61, .08);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 44px;
  font-size: .93rem;
  line-height: 1.7;
  color: var(--fs-muted);
}
.fs-legal__notice strong { color: #E8A33D; font-weight: 700; }

.fs-legal__contact {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--fs-line);
}

/* Sticky "on this page" index */
.fs-legal-toc {
  position: sticky;
  top: calc(var(--fs-nav-h) + 28px);
}

.fs-legal-toc ul { list-style: none; padding: 0; }

.fs-legal-toc__link {
  display: block;
  font-size: .88rem;
  line-height: 1.5;
  color: var(--fs-muted);
  text-decoration: none;
  padding-left: 13px;
  border-left: 2px solid var(--fs-line);
  transition: color .2s ease, border-color .2s ease;
}

.fs-legal-toc__link:hover,
.fs-legal-toc__link[aria-current='true'] {
  color: var(--fs-text);
  border-left-color: var(--fs-blue);
}

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .72s cubic-bezier(.16, 1, .3, 1),
              transform .72s cubic-bezier(.16, 1, .3, 1);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* Cards animate transform on hover too — give them a combined transition so the
   reveal doesn't clobber the hover lift (both properties share one list). */
.fs-card[data-reveal] {
  transition: opacity .68s cubic-bezier(.16, 1, .3, 1),
              transform .34s cubic-bezier(.4, 0, .2, 1),
              border-color .3s ease,
              box-shadow .3s ease;
}

/* Toast */
.fs-toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 120;
  transform: translate(-50%, 130%);
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 22px;
  border-radius: 12px;
  background: var(--fs-card-hi);
  border: 1px solid rgba(117, 180, 28, .45);
  color: var(--fs-text);
  font-size: .92rem;
  font-weight: 500;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .9);
  transition: transform .42s cubic-bezier(.16, 1, .3, 1);
}

.fs-toast[data-show='true'] { transform: translate(-50%, 0); }

/* --------------------------------------------------------------------------
   Scrollbar
   -------------------------------------------------------------------------- */

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--fs-ink); }
::-webkit-scrollbar-thumb {
  background: #1D2733;
  border-radius: 99px;
  border: 3px solid var(--fs-ink);
}
::-webkit-scrollbar-thumb:hover { background: #2B3947; }

/* --------------------------------------------------------------------------
   Motion & print
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .fs-spark { stroke-dashoffset: 0; }
}

@media print {
  .fs-nav, .fs-wa, .fs-bg, .fs-drawer { display: none !important; }
  body { background: #fff; color: #000; }
}
