/* ==========================================================================
   UHIY Tech Solutions — design system
   Palette sampled directly from the brand assets in assets/img/source/.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Fonts — self-hosted, so no request ever leaves this origin.

   These are the variable builds: one file per family covers every weight
   (Inter 100-900, Plus Jakarta Sans 200-800) instead of the seven separate
   static weights the site used to pull from Google. Both are licensed under
   the SIL Open Font License 1.1, which permits self-hosting commercially.

   The unicode-range split means a visitor who never hits an accented
   character only ever downloads the latin file.
   -------------------------------------------------------------------------- */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/jakarta-latin-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/jakarta-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Brand ------------------------------------------------------------ */
  --ink:            #0F2031;   /* logo wordmark */
  --navy:           #0F1A37;   /* robot artwork plate */
  --abyss:          #0B1423;   /* backdrop artwork */
  --brand:          #0A5FB4;   /* logo blue */
  --brand-bright:   #1877D6;
  --brand-deep:     #084A8D;
  --glow:           #3BBED7;   /* robot tablet glow */

  /* Neutrals --------------------------------------------------------- */
  --paper:          #FFFFFF;
  --tint:           #F4F7FC;
  --line:           #E2E9F2;
  --line-strong:    #CBD8E8;
  --body:           #4A5B70;
  --muted:          #6B7C93;

  /* On dark ---------------------------------------------------------- */
  --on-dark:        #EAF2FB;
  --on-dark-muted:  #9DB2CE;
  --dark-line:      rgba(160, 195, 240, .16);
  --dark-card:      rgba(255, 255, 255, .045);

  /* Feedback --------------------------------------------------------- */
  --star:           #FFB020;
  --good:           #17A673;

  /* Type ------------------------------------------------------------- */
  --font-head: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --h1:   clamp(2.35rem, 1.35rem + 3.6vw,  4.15rem);
  --h2:   clamp(1.95rem, 1.35rem + 2.2vw,  3.05rem);
  --h3:   clamp(1.4rem,  1.13rem + 1.0vw,  1.95rem);
  --h4:   clamp(1.1rem,  1.01rem + 0.35vw, 1.3rem);
  --lead: clamp(1.03rem, 0.97rem + 0.3vw,  1.22rem);

  /* Space, shape, motion --------------------------------------------- */
  --shell:   1200px;
  --gutter:  clamp(1.15rem, 4vw, 2.5rem);
  --band:    clamp(4.5rem, 8vw, 7.5rem);

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(15, 32, 49, .05), 0 3px 10px rgba(15, 32, 49, .05);
  --shadow:    0 2px 4px rgba(15, 32, 49, .04), 0 12px 32px rgba(15, 32, 49, .09);
  --shadow-lg: 0 4px 8px rgba(15, 32, 49, .05), 0 28px 60px rgba(15, 32, 49, .14);
  --shadow-brand: 0 8px 24px rgba(10, 95, 180, .32);

  --ease: cubic-bezier(.22, .68, .36, 1);
}

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */

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

* { margin: 0; }

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

/* Author `display` rules outrank the UA sheet's [hidden], so restate it. */
[hidden] { display: none !important; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.022em;
  font-weight: 800;
  text-wrap: balance;
}

h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
h4 { font-size: var(--h4); line-height: 1.3; }

p { text-wrap: pretty; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-bright); }

ul, ol { padding: 0; list-style: none; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--brand-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.dark :focus-visible,
.site-header :focus-visible { outline-color: var(--brand-bright); }

.skip-link {
  position: absolute;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
  z-index: 999;
  padding: .75rem 1.4rem;
  background: var(--brand);
  color: #fff;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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

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

.shell--narrow { max-width: 820px; }

.band { padding-block: var(--band); position: relative; }
.band--tight { padding-block: clamp(3rem, 5.5vw, 4.5rem); }
.band--tint  { background: var(--tint); }

.band--dark {
  background: var(--navy);
  color: var(--on-dark-muted);
}
.band--dark h1, .band--dark h2, .band--dark h3, .band--dark h4 { color: var(--on-dark); }

.stack > * + * { margin-top: 1rem; }

/* Section heading block ---------------------------------------------------- */

.heading {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(2.5rem, 4vw, 3.75rem);
}
.heading--left { margin-inline: 0; text-align: left; }
.heading p {
  font-size: var(--lead);
  margin-top: 1rem;
  color: var(--muted);
}
.band--dark .heading p { color: var(--on-dark-muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--glow));
}
.band--dark .eyebrow { color: var(--glow); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .92rem 1.7rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .98rem;
  line-height: 1.2;
  letter-spacing: -0.005em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background-color .18s var(--ease), border-color .18s var(--ease);
}

.btn--primary {
  background: linear-gradient(135deg, var(--brand-bright), var(--brand-deep));
  box-shadow: var(--shadow-brand);
  color: #fff;
}
.btn--primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(10, 95, 180, .42);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn--ghost:hover {
  color: var(--brand);
  border-color: var(--brand);
  background: rgba(10, 95, 180, .05);
  transform: translateY(-2px);
}

.btn--on-dark {
  background: rgba(255, 255, 255, .07);
  border-color: var(--dark-line);
  color: var(--on-dark);
  backdrop-filter: blur(8px);
}
.btn--on-dark:hover {
  color: #fff;
  background: rgba(255, 255, 255, .13);
  border-color: rgba(59, 190, 215, .55);
  transform: translateY(-2px);
}

.btn--lg { padding: 1.08rem 2.1rem; font-size: 1.05rem; }
.btn--sm { padding: .6rem 1.15rem; font-size: .88rem; }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  align-items: center;
}
.btn-row--center { justify-content: center; }

/* Ragged half-width buttons look accidental on a phone; stack them instead. */
@media (max-width: 479px) {
  .btn-row > .btn { flex: 1 1 100%; }
}

/* Text link with a sliding arrow ------------------------------------------- */

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .96rem;
}
.arrow-link svg { transition: transform .18s var(--ease); }
.arrow-link:hover svg { transform: translateX(4px); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line-strong);
  box-shadow: 0 1px 3px rgba(15, 32, 49, .06), 0 8px 24px rgba(15, 32, 49, .06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 80px;
}

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 40px; width: auto; }

/* The strapline rides in the header's spare vertical space beside the logo, so
   it reads as part of the lockup and adds nothing to the height of the page.
   It wraps to two lines on purpose -- stacked it stays narrow enough to leave
   the nav its room, and 80px of header easily swallows both lines. */
.brand__tagline {
  display: none;
  align-self: center;
  max-width: 9rem;
  padding-left: .85rem;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .085em;
  line-height: 1.4;
  text-transform: uppercase;
}

/* Below this the nav, login and CTA need every pixel of the row. */
@media (min-width: 1180px) { .brand__tagline { display: block; } }

.nav { margin-left: 1.9rem; margin-right: auto; }

.nav__list {
  display: flex;
  align-items: center;
  gap: .45rem;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .6rem .9rem;
  border-radius: var(--r-sm);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.04rem;
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.nav__link:hover,
.nav__link[aria-expanded="true"] {
  color: var(--brand);
  background: rgba(10, 95, 180, .06);
}
.nav__link[aria-current="page"] { color: var(--ink); }

.nav__chevron { transition: transform .2s var(--ease); }
.nav__link[aria-expanded="true"] .nav__chevron { transform: rotate(180deg); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.header__actions .btn { padding-block: .82rem; }

.header__login {
  color: var(--brand);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.04rem;
  padding: .6rem .95rem;
}
.header__login:hover { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 4px; }

/* Products dropdown -------------------------------------------------------- */

.has-menu { position: relative; }

.menu {
  position: absolute;
  top: calc(100% + 12px);
  /* Anchored to the trigger, not centred on it — with the nav left-aligned a
     centred menu hangs off the left edge on narrower desktop widths. */
  left: 0;
  width: min(520px, 90vw);
  padding: .6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.has-menu[data-open="true"] .menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu__item {
  display: flex;
  gap: .7rem;
  padding: .7rem;
  border-radius: var(--r-sm);
  transition: background-color .15s var(--ease);
}
.menu__item:hover { background: var(--tint); }

.menu__icon {
  flex-shrink: 0;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(24,119,214,.14), rgba(59,190,215,.16));
  color: var(--brand);
}
.menu__icon svg { width: 18px; height: 18px; }

.menu__title {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .92rem;
  color: var(--ink);
  line-height: 1.3;
}
.menu__desc {
  display: block;
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.45;
  margin-top: .12rem;
}

/* Mobile toggle ------------------------------------------------------------ */

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle span {
  position: relative;
  display: block;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: background-color .2s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .24s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top:  6px; }

.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    inset: 80px 0 0;
    margin: 0;
    padding: 1.5rem var(--gutter) 3rem;
    background: var(--paper);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  }
  .nav[data-open="true"] { opacity: 1; visibility: visible; transform: none; }

  .nav__list { flex-direction: column; align-items: stretch; gap: .15rem; }

  .nav__link {
    display: flex;             /* inline-flex would shrink to the text width */
    justify-content: space-between;
    padding: .95rem .6rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .menu {
    position: static;
    translate: none;
    width: 100%;
    display: none;
    grid-template-columns: 1fr;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: .4rem 0 .8rem;
  }
  .has-menu[data-open="true"] .menu { display: grid; }
  .menu__item:hover { background: var(--tint); }

  .header__actions { display: none; }

  .nav__cta {
    display: flex;
    flex-direction: column;
    gap: .7rem;
    margin-top: 1.6rem;
  }
}

@media (min-width: 1021px) {
  .nav__cta { display: none; }
}

body.is-locked { overflow: hidden; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  background: var(--abyss);
  color: var(--on-dark-muted);
  overflow: hidden;
  padding-block: clamp(3rem, 6vw, 5.5rem) clamp(3.5rem, 7vw, 6rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url("../img/hero-bg.jpg") center / cover no-repeat;
  opacity: .85;
}

/* Scrim keeps text at AA contrast over the artwork. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(70% 60% at 78% 32%, rgba(59, 190, 215, .17), transparent 62%),
    radial-gradient(58% 55% at 12% 8%,  rgba(24, 119, 214, .22), transparent 65%),
    linear-gradient(180deg, rgba(11, 20, 35, .82) 0%, rgba(11, 20, 35, .62) 45%, rgba(11, 20, 35, .95) 100%);
}

.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
}

.hero h1 { color: #fff; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--glow), #7FD6E8 55%, var(--brand-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  font-size: var(--lead);
  color: #C4D5EC;
  max-width: 34rem;
  margin-top: 1.35rem;
}

.hero .btn-row { margin-top: 2rem; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .42rem .9rem .42rem .5rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--dark-line);
  color: #CFE0F5;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .01em;
  backdrop-filter: blur(8px);
}
.pill__dot {
  width: 20px; height: 20px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(23, 166, 115, .18);
  color: #35D6A0;
}
.pill__dot svg { width: 11px; height: 11px; }

/* Review badges ------------------------------------------------------------ */

.reviews {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem 1.6rem;
  margin-top: 2.4rem;
  padding-top: 1.9rem;
  border-top: 1px solid var(--dark-line);
}
.reviews__item { display: flex; flex-direction: column; gap: .32rem; }
.reviews__name {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  color: #DCE8F7;
  letter-spacing: .01em;
}
.reviews__meta { font-size: .76rem; color: var(--on-dark-muted); }

.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars svg { width: 15px; height: 15px; }

/* Robot ------------------------------------------------------------------- */

.hero__figure {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: center;
}

.hero__figure::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 105%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 190, 215, .26) 0%, rgba(24, 119, 214, .12) 42%, transparent 68%);
  filter: blur(6px);
  animation: pulse 7s var(--ease) infinite;
}

.hero__robot {
  width: min(385px, 76vw);
  filter: drop-shadow(0 26px 44px rgba(0, 0, 0, .48));
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@keyframes pulse {
  0%, 100% { opacity: .75; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.06); }
}

/* Floating stat cards around the robot ------------------------------------- */

.hero__chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .7rem .95rem;
  border-radius: 14px;
  background: rgba(16, 30, 60, .82);
  border: 1px solid rgba(120, 175, 235, .26);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .42);
  backdrop-filter: blur(10px);
  animation: float 8s ease-in-out infinite;
}
.hero__chip--a { top: 12%;  left: -6%;  animation-delay: -2s; }
.hero__chip--b { bottom: 17%; right: -4%; animation-delay: -4.5s; }

.hero__chip svg { width: 17px; height: 17px; color: var(--glow); flex-shrink: 0; }
.hero__chip b {
  display: block;
  font-family: var(--font-head);
  font-size: .92rem;
  color: #fff;
  line-height: 1.2;
}
.hero__chip span { font-size: .73rem; color: var(--on-dark-muted); }

@media (max-width: 600px) {
  .hero__chip--a { left: -2%; }
  .hero__chip--b { right: -2%; }
  .hero__chip { padding: .55rem .75rem; }
}

/* --------------------------------------------------------------------------
   Integration marquee
   -------------------------------------------------------------------------- */

.marquee {
  background: var(--abyss);
  border-top: 1px solid var(--dark-line);
  border-bottom: 1px solid var(--dark-line);
  padding-block: 2.1rem;
  overflow: hidden;
}

.marquee__label {
  text-align: center;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-bottom: 1.35rem;
}

.marquee__viewport {
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.marquee__track {
  display: flex;
  gap: .8rem;
  width: max-content;
  animation: slide 44s linear infinite;
}
.marquee__viewport:hover .marquee__track { animation-play-state: paused; }

@keyframes slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .62rem 1.15rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--dark-line);
  background: rgba(255, 255, 255, .04);
  color: #B9CCE6;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .88rem;
  white-space: nowrap;
}
.chip svg { width: 15px; height: 15px; color: var(--glow); opacity: .85; }

/* --------------------------------------------------------------------------
   Feature rows
   -------------------------------------------------------------------------- */

.feature {
  display: grid;
  gap: clamp(2.25rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .feature { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature--flip .feature__body { order: 2; }
}

.feature + .feature { margin-top: clamp(4rem, 8vw, 7rem); }

.feature__body h2,
.feature__body h3 { margin-bottom: .9rem; }
.feature__hook {
  font-size: var(--lead);
  color: var(--muted);
  margin-bottom: 1.6rem;
}

.ticks { display: grid; gap: .78rem; margin-bottom: 1.9rem; }
.ticks li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-weight: 500;
  color: var(--ink);
}
.ticks svg {
  flex-shrink: 0;
  width: 21px; height: 21px;
  margin-top: 1px;
  color: var(--good);
}
.band--dark .ticks li { color: var(--on-dark); }

/* --------------------------------------------------------------------------
   Hand-built UI mock illustrations
   (swap for real screenshots — see README)
   -------------------------------------------------------------------------- */

.mock {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 90% at 30% 0%, rgba(24, 119, 214, .11), transparent 60%),
    linear-gradient(160deg, #F7FAFE, #E9F0FA);
  border: 1px solid var(--line);
  overflow: hidden;
}
.band--dark .mock {
  background:
    radial-gradient(120% 90% at 30% 0%, rgba(59, 190, 215, .12), transparent 60%),
    linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border-color: var(--dark-line);
}

.mock::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 95, 180, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 95, 180, .05) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000, transparent 72%);
  mask-image: radial-gradient(circle at 50% 40%, #000, transparent 72%);
  pointer-events: none;
}

.mock > * { position: relative; z-index: 1; }

/* Phone frame -------------------------------------------------------------- */

.phone {
  width: min(280px, 100%);
  margin-inline: auto;
  padding: .7rem .55rem;
  border-radius: 32px;
  background: linear-gradient(160deg, #1B2942, #0E1729);
  box-shadow: 0 22px 50px rgba(15, 32, 49, .3), inset 0 0 0 1px rgba(255,255,255,.09);
}
.phone__screen {
  border-radius: 24px;
  background: #fff;
  overflow: hidden;
}
.phone__bar {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem .9rem;
  background: var(--tint);
  border-bottom: 1px solid var(--line);
}
.phone__avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-bright), var(--brand-deep));
  color: #fff;
  font-family: var(--font-head);
  font-size: .74rem;
  font-weight: 800;
}
.phone__who { display: block; font-family: var(--font-head); font-weight: 700; font-size: .82rem; color: var(--ink); line-height: 1.25; }
.phone__sub { display: block; font-size: .68rem; color: var(--muted); }

.thread { display: grid; gap: .5rem; padding: .95rem .8rem 1.1rem; }
.bubble {
  max-width: 84%;
  padding: .6rem .8rem;
  border-radius: 15px;
  font-size: .8rem;
  line-height: 1.45;
}
.bubble--in {
  background: #EEF2F7;
  color: var(--ink);
  border-bottom-left-radius: 5px;
}
.bubble--out {
  margin-left: auto;
  background: linear-gradient(135deg, var(--brand-bright), var(--brand-deep));
  color: #fff;
  border-bottom-right-radius: 5px;
}
.bubble time {
  display: block;
  margin-top: .28rem;
  font-size: .63rem;
  opacity: .62;
}
.bubble--auto {
  border: 1px dashed rgba(255,255,255,.4);
}

.thread__tag {
  justify-self: center;
  padding: .22rem .7rem;
  border-radius: var(--r-pill);
  background: rgba(23, 166, 115, .12);
  color: #0E8259;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}

/* Browser frame ------------------------------------------------------------ */

.browser {
  border-radius: 13px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.browser__bar {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .6rem .8rem;
  background: #EDF1F7;
  border-bottom: 1px solid var(--line);
}
.browser__dots { display: flex; gap: .28rem; }
.browser__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.browser__url {
  flex: 1;
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .26rem .6rem;
  border-radius: var(--r-pill);
  background: #fff;
  font-size: .68rem;
  color: var(--muted);
  overflow: hidden;
  white-space: nowrap;
}
.browser__url svg { width: 10px; height: 10px; color: var(--good); flex-shrink: 0; }

.browser__page { padding: .95rem; display: grid; gap: .7rem; }

.site-nav-mock {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid var(--line);
}
.site-nav-mock b {
  font-family: var(--font-head);
  font-size: .74rem;
  color: var(--ink);
  margin-right: auto;
}
.site-nav-mock i {
  display: block;
  width: 26px; height: 5px;
  border-radius: 3px;
  background: var(--line);
}
.site-nav-mock .call {
  padding: .22rem .55rem;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--brand-bright), var(--brand-deep));
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  white-space: nowrap;
}

.hero-mock {
  padding: .95rem;
  border-radius: 10px;
  background:
    radial-gradient(90% 130% at 20% 0%, rgba(59,190,215,.3), transparent 60%),
    linear-gradient(150deg, #15294A, #0C1729);
  color: #fff;
}
.hero-mock b { display: block; font-family: var(--font-head); font-size: .84rem; line-height: 1.3; }
.hero-mock span { display: block; font-size: .66rem; color: #A9C1DE; margin-top: .3rem; }
.hero-mock .cta {
  display: inline-block;
  margin-top: .6rem;
  padding: .3rem .75rem;
  border-radius: var(--r-pill);
  background: var(--glow);
  color: #06263B;
  font-size: .64rem;
  font-weight: 800;
}

.trust-mock {
  display: flex;
  gap: .45rem;
  align-items: center;
  font-size: .64rem;
  color: var(--muted);
}
.trust-mock .stars svg { width: 11px; height: 11px; }

/* Generic mock card -------------------------------------------------------- */

.card-mock {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 1.15rem 1.25rem;
}
.card-mock + .card-mock { margin-top: .85rem; }

.card-mock__top {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: .8rem;
}
.card-mock__title {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .92rem;
  color: var(--ink);
}
.card-mock__meta { display: block; font-size: .74rem; color: var(--muted); }

.card-mock__body { font-size: .84rem; color: var(--body); line-height: 1.55; }

.mock-offset { margin-left: clamp(0px, 4vw, 38px); }
.mock-offset-r { margin-right: clamp(0px, 4vw, 38px); }

/* Bar meter ---------------------------------------------------------------- */

.meter { display: grid; gap: .55rem; margin-top: .9rem; }
.meter__row { display: grid; grid-template-columns: 92px 1fr 38px; gap: .6rem; align-items: center; }
.meter__label { font-size: .74rem; color: var(--muted); }
.meter__track { height: 7px; border-radius: 4px; background: var(--line); overflow: hidden; }
.meter__fill {
  display: block;      /* a bare span stays inline and ignores width/height */
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--brand), var(--glow));
}
.meter__val { font-size: .74rem; font-weight: 700; color: var(--ink); text-align: right; }

/* Search-result mock ------------------------------------------------------- */

.serp { display: grid; gap: .6rem; }
.serp__row {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .7rem .85rem;
  border-radius: 11px;
  background: #fff;
  border: 1px solid var(--line);
}
.serp__row--you {
  border-color: rgba(10, 95, 180, .4);
  box-shadow: 0 0 0 3px rgba(10, 95, 180, .09);
}
.serp__rank {
  width: 24px; height: 24px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 7px;
  background: var(--tint);
  font-family: var(--font-head);
  font-size: .74rem;
  font-weight: 800;
  color: var(--muted);
}
.serp__row--you .serp__rank {
  background: linear-gradient(135deg, var(--brand-bright), var(--brand-deep));
  color: #fff;
}
.serp__name { display: block; font-family: var(--font-head); font-weight: 700; font-size: .84rem; color: var(--ink); }
.serp__meta { display: block; font-size: .7rem; color: var(--muted); }
.serp__ghost { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }

/* Toggle rows -------------------------------------------------------------- */

.switch-row {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .8rem .95rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
}
.switch-row + .switch-row { margin-top: .55rem; }
.switch-row__text { flex: 1; }
.switch-row__name { display: block; font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--ink); }
.switch-row__meta { display: block; font-size: .72rem; color: var(--muted); }

.switch {
  flex-shrink: 0;
  width: 40px; height: 23px;
  border-radius: var(--r-pill);
  background: var(--line-strong);
  position: relative;
  transition: background-color .2s var(--ease);
}
.switch::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.28);
  transition: transform .22s var(--ease);
}
.switch[data-on="true"] { background: linear-gradient(135deg, var(--brand-bright), var(--brand-deep)); }
.switch[data-on="true"]::after { transform: translateX(17px); }

/* --------------------------------------------------------------------------
   Cards, grids
   -------------------------------------------------------------------------- */

.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

.card {
  padding: 1.7rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}
.card h4 { margin-bottom: .55rem; }
.card p { font-size: .93rem; }

.band--dark .card {
  background: var(--dark-card);
  border-color: var(--dark-line);
}
.band--dark .card:hover {
  background: rgba(255, 255, 255, .075);
  border-color: rgba(120, 175, 235, .3);
  box-shadow: none;
}

.card__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 13px;
  margin-bottom: 1.15rem;
  background: linear-gradient(135deg, rgba(24,119,214,.13), rgba(59,190,215,.17));
  color: var(--brand);
}
.card__icon svg { width: 23px; height: 23px; }
.band--dark .card__icon { color: var(--glow); }

/* Numbered steps ----------------------------------------------------------- */

.steps {
  display: grid;
  gap: 1.5rem;
  counter-reset: step;
}
@media (min-width: 820px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

.step {
  position: relative;
  padding: 2.1rem 1.7rem 1.7rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -20px; left: 1.7rem;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-bright), var(--brand-deep));
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 800;
  box-shadow: var(--shadow-brand);
}
.step__time {
  display: inline-block;
  margin-bottom: .5rem;
  padding: .2rem .65rem;
  border-radius: var(--r-pill);
  background: var(--tint);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--brand);
}
.step h4 { margin-bottom: .5rem; }
.step p { font-size: .93rem; }

.steps--dark .step { background: var(--dark-card); border-color: var(--dark-line); }
.steps--dark .step__time { background: rgba(59,190,215,.13); color: var(--glow); }

/* Channel tiles -------------------------------------------------------------
   Each tile carries its own --c (mark colour) and --cbg (mark background) so
   the real platform colours can sit alongside the brand palette without
   polluting the design tokens.
   -------------------------------------------------------------------------- */

/* Explicit columns rather than auto-fit: eight tiles need to land 4x2, not
   6+2, and the labels need the width to avoid three-line wraps. */
.channels {
  display: grid;
  grid-template-columns: 1fr;
  gap: .85rem;
}
@media (min-width: 480px) {
  .channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .channels { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.channel {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .9rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              border-color .18s var(--ease);
}
.channel:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}

.band--dark .channel {
  background: var(--dark-card);
  border-color: var(--dark-line);
}

.channel__mark {
  flex-shrink: 0;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--cbg, var(--tint));
  color: var(--c, var(--brand));
}
.channel__mark svg { width: 20px; height: 20px; }

.channel__name {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .92rem;
  color: var(--ink);
  line-height: 1.25;
}
.band--dark .channel__name { color: var(--on-dark); }

.channel__meta {
  display: block;
  font-size: .75rem;
  color: var(--muted);
  line-height: 1.4;
  margin-top: .1rem;
}
.band--dark .channel__meta { color: var(--on-dark-muted); }

/* Industry chips ----------------------------------------------------------- */

.trades {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  justify-content: center;
}
.trade {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .68rem 1.15rem;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--line);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
  transition: transform .18s var(--ease), border-color .18s var(--ease),
              box-shadow .18s var(--ease), color .18s var(--ease);
}
.trade:hover {
  transform: translateY(-2px);
  color: var(--brand);
  border-color: rgba(10, 95, 180, .4);
  box-shadow: var(--shadow-sm);
}
.trade svg { width: 15px; height: 15px; color: var(--brand); opacity: .75; }

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */

.toggle {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .3rem;
  border-radius: var(--r-pill);
  background: var(--tint);
  border: 1px solid var(--line);
  margin-inline: auto;
}
.band--dark .toggle { background: rgba(255,255,255,.06); border-color: var(--dark-line); }

.toggle button {
  padding: .55rem 1.25rem;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.toggle button[aria-pressed="true"] {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.band--dark .toggle button[aria-pressed="true"] { background: var(--brand); color: #fff; }

.save-note {
  display: block;
  margin-top: .9rem;
  font-size: .84rem;
  color: var(--good);
  font-weight: 600;
}

.plans {
  display: grid;
  gap: 1.35rem;
  align-items: start;
}
/* Two tiers. Capped and centred so the cards keep card proportions instead of
   stretching to half a 1200px shell each. */
@media (min-width: 900px) {
  .plans {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin-inline: auto;
  }
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  height: 100%;
}
.plan--featured {
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--brand), var(--shadow-lg);
}
@media (min-width: 900px) {
  .plan--featured { transform: scale(1.035); z-index: 1; }
}

.plan__flag {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  padding: .3rem 1rem;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--brand-bright), var(--brand-deep));
  color: #fff;
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan__name { font-size: 1.2rem; margin-bottom: .35rem; }
.plan__pitch { font-size: .88rem; color: var(--muted); min-height: 2.6rem; }

.plan__price {
  display: flex;
  align-items: baseline;
  gap: .35rem;
  margin: 1.3rem 0 .3rem;
}
.plan__amount {
  font-family: var(--font-head);
  font-size: 2.9rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
}
.plan__per { font-size: .9rem; color: var(--muted); font-weight: 600; }
.plan__note { font-size: .78rem; color: var(--muted); }
.plan__setup {
  margin-top: .85rem;
  padding: .55rem .8rem;
  border-radius: var(--r-sm);
  background: var(--tint);
  font-size: .8rem;
  color: var(--body);
}

.plan .btn { margin: 1.5rem 0; }

.plan__list { display: grid; gap: .68rem; font-size: .89rem; }
.plan__list li { display: flex; gap: .6rem; align-items: flex-start; }
.plan__list svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; color: var(--good); }
.plan__list li[data-off] { color: var(--line-strong); }
.plan__list li[data-off] svg { color: var(--line-strong); }

.plan__group {
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-head);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .85rem;
}

/* Comparison table --------------------------------------------------------- */

.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); }

table.compare {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: #fff;
  font-size: .9rem;
}
table.compare th, table.compare td {
  padding: .95rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
table.compare thead th {
  background: var(--tint);
  font-family: var(--font-head);
  font-size: .84rem;
  color: var(--ink);
  white-space: nowrap;
}
table.compare td:not(:first-child),
table.compare th:not(:first-child) { text-align: center; width: 17%; }
table.compare tbody tr:last-child td { border-bottom: 0; }
table.compare .yes { color: var(--good); }
table.compare .no  { color: var(--line-strong); }
table.compare svg { width: 19px; height: 19px; display: inline-block; vertical-align: middle; }
table.compare .group td {
  background: var(--tint);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */

.rail {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-block: .5rem 1.5rem;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }

.rail > * {
  scroll-snap-align: start;
  flex: 0 0 min(370px, 82vw);
}

.quote {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  height: 100%;
}
.band--dark .quote { background: var(--dark-card); border-color: var(--dark-line); }

.quote p { font-size: .96rem; color: var(--ink); line-height: 1.62; flex: 1; }
.band--dark .quote p { color: var(--on-dark); }

.quote__who { display: flex; align-items: center; gap: .8rem; }
.quote__avatar {
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-bright), var(--brand-deep));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .95rem;
}
.quote__name { display: block; font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--ink); line-height: 1.3; }
.band--dark .quote__name { color: var(--on-dark); }
.quote__biz { display: block; font-size: .8rem; color: var(--muted); }

.rail-nav { display: flex; gap: .6rem; justify-content: center; margin-top: .5rem; }
.rail-nav button {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.rail-nav button:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.band--dark .rail-nav button {
  background: rgba(255,255,255,.06);
  border-color: var(--dark-line);
  color: var(--on-dark);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq { max-width: 800px; margin-inline: auto; display: grid; gap: .8rem; }

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.band--dark .faq details { background: var(--dark-card); border-color: var(--dark-line); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.band--dark .faq summary { color: var(--on-dark); }

.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 11px; height: 11px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .22s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }

.faq__answer { padding: 0 1.4rem 1.35rem; font-size: .96rem; }
.faq__answer p + p { margin-top: .8rem; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
  color: var(--on-dark-muted);
  text-align: center;
  padding-block: clamp(3.75rem, 7vw, 6rem);
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 90% at 50% 105%, rgba(59, 190, 215, .2), transparent 62%),
    radial-gradient(45% 70% at 12% 0%,  rgba(24, 119, 214, .22), transparent 65%);
}
.cta h2 { color: #fff; }
.cta p { font-size: var(--lead); color: #BDD0EA; max-width: 40rem; margin: 1.1rem auto 0; }
.cta .btn-row { margin-top: 2.1rem; }

.cta__note { margin-top: 1.5rem; font-size: .86rem; color: var(--on-dark-muted); }

.cta--split { text-align: left; }
.cta--split .shell {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 880px) {
  .cta--split .shell { grid-template-columns: 1.15fr .85fr; }
}
.cta--split p { margin-inline: 0; }
.cta--split .btn-row { justify-content: flex-start; }
.cta__robot {
  width: min(250px, 62vw);
  justify-self: center;
  filter: drop-shadow(0 22px 40px rgba(0,0,0,.5));
}

/* --------------------------------------------------------------------------
   Page hero (interior pages)
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--abyss);
  color: var(--on-dark-muted);
  padding-block: clamp(3rem, 6vw, 4.75rem) clamp(3rem, 6vw, 4.75rem);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../img/hero-bg.jpg") center / cover no-repeat;
  opacity: .55;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(55% 70% at 82% 18%, rgba(59, 190, 215, .17), transparent 62%),
    linear-gradient(180deg, rgba(11,20,35,.9), rgba(11,20,35,.97));
}
.page-hero h1 { color: #fff; }
.page-hero p {
  font-size: var(--lead);
  color: #C4D5EC;
  max-width: 44rem;
  margin-top: 1.15rem;
}
.page-hero--center { text-align: center; }
.page-hero--center p { margin-inline: auto; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
  font-size: .84rem;
  color: var(--on-dark-muted);
  margin-bottom: 1.15rem;
}
.crumbs a { color: var(--on-dark-muted); }
.crumbs a:hover { color: var(--glow); }
.crumbs li { display: flex; gap: .45rem; align-items: center; }
.crumbs li + li::before { content: "/"; opacity: .45; }

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */

.stats {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  text-align: center;
}
.stat__num {
  display: block;              /* bare spans stay inline and ignore margins */
  font-family: var(--font-head);
  font-size: clamp(2rem, 1.5rem + 1.9vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, var(--brand-bright), var(--glow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label { display: block; margin-top: .55rem; font-size: .89rem; }

/* --------------------------------------------------------------------------
   Photography

   Stock photography sits behind a soft brand wash so it reads as part of the
   design rather than pasted into it. Every photo is listed in
   tools/fetch-photos.py with its source and the page it belongs to.
   -------------------------------------------------------------------------- */

.shot {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  background: var(--tint);
  box-shadow: var(--shadow);
}
.shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(10, 95, 180, .14), rgba(11, 20, 35, .20));
  pointer-events: none;
}

/* Wide section opener. Short enough that five of them down a page read as
   chapter marks rather than as a slideshow. */
.shot--band {
  aspect-ratio: 24 / 7;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
@media (max-width: 700px) {
  .shot--band { aspect-ratio: 16 / 9; }
}

.band--dark .shot { box-shadow: none; border: 1px solid var(--dark-line); }
.band--dark .shot::after {
  background: linear-gradient(155deg, rgba(10, 95, 180, .22), rgba(11, 20, 35, .42));
}

/* --------------------------------------------------------------------------
   Growth estimator

   The widget paints its own dark surface rather than inheriting the band, so
   the same markup can be synced into a light page and still look deliberate.
   Every figure in it is derived from the sliders — nothing is hard-coded
   except the no-JS starting values, which match the default slider positions.
   -------------------------------------------------------------------------- */

.est-layout {
  display: grid;
  gap: clamp(2.2rem, 4vw, 3.5rem);
  align-items: center;
}
@media (min-width: 960px) {
  .est-layout { grid-template-columns: 1fr minmax(0, 460px); }
}

.est-intro h2 { margin-top: .75rem; }
.est-intro p  { margin-top: 1rem; color: var(--on-dark-muted); font-size: var(--lead); }
.est-intro .ticks { margin-top: 1.7rem; }

.est {
  display: grid;
  gap: 1.15rem;
  padding: clamp(1.3rem, 3vw, 1.9rem);
  border: 1px solid var(--dark-line);
  border-radius: var(--r-lg);
  background:
    linear-gradient(180deg, rgba(59, 190, 215, .07), rgba(59, 190, 215, 0) 40%),
    var(--navy);
  box-shadow: var(--shadow-lg);
  color: var(--on-dark);
}

/* Head ---------------------------------------------------------------- */

.est__head {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--dark-line);
}
.est__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(59, 190, 215, .12);
  color: var(--glow);
}
.est__titles { flex: 1 1 auto; min-width: 0; }
.est__name {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -0.01em;
}
.est__sub {
  display: block;
  margin-top: .15rem;
  font-size: .84rem;
  color: var(--on-dark-muted);
}
.est__badge {
  flex: none;
  padding: .3rem .6rem;
  border: 1px solid rgba(59, 190, 215, .35);
  border-radius: var(--r-pill);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--glow);
}

/* Fields -------------------------------------------------------------- */

.est__field {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: .5rem .75rem;
}
.est__label {
  font-size: .92rem;
  font-weight: 600;
  color: var(--on-dark);
}
.est__value {
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--glow);
  font-variant-numeric: tabular-nums;
}
.est__scale {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  font-size: .72rem;
  color: var(--on-dark-muted);
}

/* Range input. The filled portion is a gradient stop driven by --fill,
   which main.js updates on input — one mechanism for both engines. */

.est__range {
  grid-column: 1 / -1;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 24px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  --fill: 0%;
  --track: linear-gradient(90deg,
      var(--brand-bright) 0 var(--fill),
      rgba(255, 255, 255, .14) var(--fill) 100%);
}
.est__range::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: var(--r-pill);
  background: var(--track);
}
.est__range::-moz-range-track {
  height: 8px;
  border-radius: var(--r-pill);
  background: var(--track);
}
.est__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -7px;            /* (track 8px − thumb 22px) ÷ 2 */
  border: 5px solid var(--brand-bright);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .45);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.est__range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  box-sizing: border-box;
  border: 5px solid var(--brand-bright);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .45);
}
.est__range:hover::-webkit-slider-thumb  { border-color: var(--glow); }
.est__range:hover::-moz-range-thumb      { border-color: var(--glow); }
.est__range:focus { outline: none; }
.est__range:focus-visible::-webkit-slider-thumb {
  border-color: var(--glow);
  box-shadow: 0 0 0 4px rgba(59, 190, 215, .35);
}
.est__range:focus-visible::-moz-range-thumb {
  border-color: var(--glow);
  box-shadow: 0 0 0 4px rgba(59, 190, 215, .35);
}

/* Result -------------------------------------------------------------- */

.est__result {
  padding: 1.3rem 1rem 1.15rem;
  border: 1px solid rgba(59, 190, 215, .22);
  border-radius: var(--r);
  background: rgba(59, 190, 215, .07);
  text-align: center;
}
.est__result-label {
  display: block;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.est__figure {
  display: block;
  margin-top: .4rem;
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 1.7rem + 2.6vw, 3.3rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, #7FD8E8, var(--glow) 45%, var(--brand-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.est__per {
  display: block;
  margin-top: .45rem;
  font-size: .86rem;
  color: var(--on-dark-muted);
}

/* Supporting rows ----------------------------------------------------- */

/* Doubled-up selectors so the widget survives being dropped inside .prose,
   whose `ul` and `a` rules would otherwise add bullets and underline the CTA. */
.est .est__rows { display: grid; gap: .1rem; margin: 0; padding-left: 0; list-style: none; }
.est .btn { text-decoration: none; }
.est__rows { display: grid; gap: .1rem; margin: 0; padding: 0; list-style: none; }
.est__rows li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .68rem .2rem;
  border-bottom: 1px solid var(--dark-line);
  font-size: .9rem;
  color: var(--on-dark-muted);
}
.est__rows li:last-child { border-bottom: 0; }
.est__rows b {
  font-weight: 700;
  color: var(--on-dark);
  font-variant-numeric: tabular-nums;
}

.est__small {
  margin: 0;
  font-size: .78rem;
  line-height: 1.55;
  color: var(--on-dark-muted);
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.form { display: grid; gap: 1.05rem; }
.form__row { display: grid; gap: 1.05rem; }
@media (min-width: 620px) { .form__row { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: .4rem; }
.field > label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .88rem;
  color: var(--ink);
}
.field .req { color: #D4483B; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .82rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: #fff;
  font-size: .96rem;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(10, 95, 180, .13);
}
.field .hint { font-size: .8rem; color: var(--muted); }

.consent {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: .86rem;
}
.consent input {
  width: 19px; height: 19px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--brand);
}

/* --------------------------------------------------------------------------
   Editorial / prose
   -------------------------------------------------------------------------- */

.prose { max-width: 720px; }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem); margin-top: 2.6rem; }
.prose h3 { font-size: 1.25rem; margin-top: 2rem; }
.prose ul, .prose ol { display: grid; gap: .6rem; padding-left: 1.3rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--brand); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote {
  padding: 1.1rem 1.4rem;
  border-left: 3px solid var(--brand);
  background: var(--tint);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 1.02rem;
  color: var(--ink);
}
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.prose th, .prose td { padding: .7rem .9rem; border: 1px solid var(--line); text-align: left; }
.prose th { background: var(--tint); font-family: var(--font-head); }

/* Article / work cards ----------------------------------------------------- */

.post {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.post__thumb {
  aspect-ratio: 16 / 9;
  position: relative;
  display: grid;
  place-items: center;
  background:
    radial-gradient(90% 120% at 25% 0%, rgba(59,190,215,.28), transparent 62%),
    linear-gradient(150deg, #15294A, #0C1729);
  color: rgba(255,255,255,.35);
}
.post__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(120,175,235,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,175,235,.09) 1px, transparent 1px);
  background-size: 22px 22px;
}
.post__thumb svg { width: 44px; height: 44px; position: relative; z-index: 1; }

.post__body { padding: 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.post__tag {
  align-self: flex-start;
  padding: .22rem .68rem;
  border-radius: var(--r-pill);
  background: rgba(10,95,180,.09);
  color: var(--brand);
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.post__body h3 { font-size: 1.14rem; }
.post__body p { font-size: .92rem; flex: 1; }
.post__meta {
  font-size: .8rem;
  color: var(--muted);
  padding-top: .8rem;
  border-top: 1px solid var(--line);
}

/* Notice banner ------------------------------------------------------------ */

.notice {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  padding: 1.05rem 1.25rem;
  border-radius: var(--r);
  background: rgba(255, 176, 32, .1);
  border: 1px solid rgba(255, 176, 32, .35);
  font-size: .89rem;
  color: #7A5510;
}
.notice svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; color: #B57D14; }
.notice strong { color: #6B4A0D; }

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

.site-footer {
  background: var(--abyss);
  color: var(--on-dark-muted);
  padding-block: clamp(3.25rem, 6vw, 4.75rem) 2rem;
  border-top: 1px solid var(--dark-line);
  font-size: .91rem;
}

.footer__top {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid var(--dark-line);
}
@media (min-width: 780px) {
  .footer__top { grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2rem; }
}

.footer__brand img { height: 44px; width: auto; margin-bottom: 1.15rem; }
.footer__brand p { max-width: 30ch; font-size: .89rem; }

.footer__contact { display: grid; gap: .5rem; margin-top: 1.35rem; font-size: .88rem; }
.footer__contact a { color: var(--on-dark); }
.footer__contact a:hover { color: var(--glow); }
.footer__contact li { display: flex; gap: .55rem; align-items: center; }
.footer__contact svg { width: 15px; height: 15px; color: var(--glow); flex-shrink: 0; }

.footer h5 {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.05rem;
}

.footer__links { display: grid; gap: .62rem; }
.footer__links a { color: var(--on-dark-muted); font-size: .89rem; }
.footer__links a:hover { color: var(--glow); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.85rem;
  font-size: .82rem;
}

.footer__legal { display: flex; flex-wrap: wrap; gap: 1.1rem; }
.footer__legal a { color: var(--on-dark-muted); }
.footer__legal a:hover { color: var(--glow); }

.socials { display: flex; gap: .55rem; }
.socials a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  border: 1px solid var(--dark-line);
  color: var(--on-dark-muted);
  transition: color .18s var(--ease), border-color .18s var(--ease), background-color .18s var(--ease);
}
.socials a:hover {
  color: #fff;
  background: rgba(255,255,255,.08);
  border-color: rgba(120,175,235,.35);
}
.socials svg { width: 18px; height: 18px; }

.footer__company {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--dark-line);
  font-size: .78rem;
  color: #7E93AF;
  line-height: 1.7;
}

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

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */

.text-center { text-align: center; }
.mt-0  { margin-top: 0; }
.mt-1  { margin-top: 1rem; }
.mt-2  { margin-top: 2rem; }
.mt-3  { margin-top: 3rem; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.lead  { font-size: var(--lead); }

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  [data-reveal] { opacity: 1; transform: none; }
  .rail { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   Print
   -------------------------------------------------------------------------- */

@media print {
  .site-header, .site-footer, .cta, .marquee, .nav-toggle { display: none !important; }
  body { color: #000; }
  .band { padding-block: 1rem; }
}
