/* ==========================================================================
   Loading Studios — design system
   Simple, clean, dark. Cyan accent drawn from the Loading Tools brand.
   ========================================================================== */

:root {
  --bg: #05080d;
  --bg-soft: #0a0e15;
  --surface: #0d1320;
  --surface-2: #121a29;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --accent: #36c3ff;
  --accent-deep: #00bcff;
  --accent-soft: rgba(54, 195, 255, 0.12);
  --text: #e9eef6;
  --muted: #93a1b5;
  --muted-dim: #6b7889;

  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --wrap: 1140px;
  --radius: 14px;
  --radius-sm: 9px;

  --sect-y: clamp(4.5rem, 9vw, 8rem);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* Author-level display rules (.form__row is a grid) would otherwise override the
   browser default for [hidden]. Keep the attribute authoritative. */
[hidden] { display: none !important; }

a { color: var(--accent); text-decoration: none; transition: color .18s ease, opacity .18s ease; }
a:hover { color: #7ad7ff; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: .01em;
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 5.4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { margin: 0 0 1.1em; }

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

::selection { background: var(--accent); color: #04121b; }

/* ---------- layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1.35rem;
}

.section { padding-block: var(--sect-y); }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section--soft { background: var(--bg-soft); }
.section--divided { border-top: 1px solid var(--border); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--accent);
  color: #04121b;
  padding: .7rem 1.1rem;
  font-weight: 600;
}
.skip-link:focus { left: .5rem; top: .5rem; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 8, 13, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.06rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand:hover { color: var(--text); opacity: .8; }
.brand img { height: 26px; width: auto; }
.brand span { font-weight: 500; }
.brand strong { color: var(--accent); font-weight: 500; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--muted);
  font-size: .95rem;
  font-weight: 500;
  padding-block: .4rem;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--text); }
.nav-links a[aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  cursor: pointer;
  padding: .5rem .75rem;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 500;
}
.nav-toggle:hover { border-color: var(--accent); color: var(--accent); }
.nav-toggle .bars {
  display: inline-block;
  width: 16px;
  height: 2px;
  background: currentColor;
  position: relative;
}
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
}
.nav-toggle .bars::before { top: -5px; }
.nav-toggle .bars::after { top: 5px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.btn--primary {
  background: var(--accent);
  color: #04121b;
}
.btn--primary:hover {
  background: #63d2ff;
  color: #04121b;
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.btn--sm { padding: .6rem 1.15rem; font-size: .875rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2rem;
}

/* ---------- text helpers ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 .9rem;
}
.lede {
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.75;
}
.section-head { max-width: 68ch; margin-bottom: clamp(2.2rem, 4vw, 3.2rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lede { margin-inline: auto; }
.muted { color: var(--muted); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(4.5rem, 12vw, 8.5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: .5;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(115% 85% at 50% 8%, rgba(54, 195, 255, 0.16), transparent 62%),
    linear-gradient(180deg, rgba(5, 8, 13, 0.55) 0%, rgba(5, 8, 13, 0.82) 55%, var(--bg) 100%);
}
.hero__inner { text-align: center; }
.hero__logo {
  height: clamp(38px, 6vw, 54px);
  width: auto;
  margin: 0 auto 1.6rem;
}
.hero h1 {
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(.95rem, 1.9vw, 1.2rem);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 auto 1.5rem;
}
.hero__copy {
  max-width: 58ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}
.hero .btn-row { justify-content: center; }

/* ---------- stat strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  background: var(--bg-soft);
  padding: 1.7rem 1.3rem;
  text-align: center;
}
.stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--accent);
  line-height: 1.2;
}
.stat__label {
  display: block;
  font-size: .84rem;
  color: var(--muted);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: .3rem;
}

/* ---------- generic grid + cards ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.7rem;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}
.card h3 { margin-bottom: .5rem; }
.card p:last-child { margin-bottom: 0; }
.card__tag {
  font-family: var(--font-display);
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: .8rem;
}
.card__link {
  display: inline-block;
  margin-top: 1.1rem;
  font-size: .92rem;
  font-weight: 600;
}
.card--accent {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border-color: rgba(54, 195, 255, 0.35);
}

/* number/icon marker */
.marker {
  font-family: var(--font-display);
  font-size: .82rem;
  letter-spacing: .12em;
  color: var(--accent);
  border: 1px solid rgba(54, 195, 255, 0.4);
  border-radius: 999px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

/* ---------- feature (image + text) rows ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.8rem, 5vw, 4rem);
  align-items: center;
}
.feature + .feature { margin-top: clamp(3.2rem, 7vw, 5.5rem); }
.feature--flip .feature__media { order: 2; }
.feature__media {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.feature__media img { width: 100%; }
.feature h3 { margin-bottom: .7rem; }
.feature__sub { color: var(--muted); margin-bottom: 1.1rem; }

/* ---------- checklist ---------- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.checklist li {
  position: relative;
  padding-left: 1.55rem;
  color: var(--muted);
  font-size: .965rem;
  line-height: 1.55;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.checklist--dense { gap: .42rem; }
.checklist--dense li { font-size: .92rem; }

/* ---------- client logo wall ---------- */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}
.logo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.5rem 1.2rem;
  min-height: 104px;
  transition: border-color .2s ease, background .2s ease;
}
.logo-tile:hover { border-color: var(--border-strong); background: var(--surface-2); }
.logo-tile img {
  max-height: 44px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  opacity: .82;
  transition: opacity .2s ease;
}
.logo-tile:hover img { opacity: 1; }

/* ---------- case study ---------- */
.case {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(1.6rem, 4vw, 3.2rem);
  padding-block: clamp(2.4rem, 5vw, 3.6rem);
  border-top: 1px solid var(--border);
}
.case:first-of-type { border-top: 0; padding-top: 0; }
.case__meta { display: flex; flex-direction: column; gap: 1.2rem; }
.case__logo {
  max-height: 52px;
  width: auto;
  object-fit: contain;
}
.case__client {
  font-family: var(--font-display);
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin: 0;
}
.case__client a { color: var(--accent); }
.case h3 { margin-bottom: .3rem; }
.case__supported-label {
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin: 0 0 .7rem;
}

/* ---------- pricing ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  max-width: 880px;
  margin-inline: auto;
}
.price-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1100px;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.1rem 1.9rem;
  display: flex;
  flex-direction: column;
}
.price-card--featured {
  border-color: rgba(54, 195, 255, 0.4);
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  position: relative;
}
.price-card__icon {
  width: 34px;
  height: 34px;
  color: var(--accent);
  margin-bottom: .9rem;
}
.price-card__icon svg { width: 100%; height: 100%; display: block; }
.price-card__badge {
  position: absolute;
  top: -11px;
  left: 1.9rem;
  background: var(--accent);
  color: #04121b;
  font-family: var(--font-display);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .25rem .7rem;
  border-radius: 999px;
}
.price-card h3 {
  color: var(--accent);
  margin-bottom: .2rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.price-card__unit { color: var(--muted); font-size: .92rem; margin: 0 0 1.4rem; }
.price-row {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  padding: .85rem 0;
  border-top: 1px solid var(--border);
}
.price-row__amount {
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--text);
  line-height: 1;
  min-width: 4.4rem;
}
.price-row__term { color: var(--muted); font-size: .92rem; }
.price-row__save { color: var(--accent); font-size: .84rem; }
.price-note {
  margin: 1.4rem 0 0;
  font-size: .88rem;
  color: var(--muted-dim);
}

/* dual amount display: $10 / $100 side by side */
.price-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  padding: .9rem 0 1rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.2rem;
}
.price-pair__item { display: flex; flex-direction: column; gap: .15rem; }
.price-pair__amount {
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--text);
}
.price-pair__label {
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-dim);
}
.price-pair__save {
  font-size: .78rem;
  color: var(--accent);
  line-height: 1.35;
  align-self: center;
  max-width: 8ch;
}
.price-pair--single { flex-direction: column; gap: .3rem; }
.price-pair--single .price-pair__label { text-transform: uppercase; }

.price-features {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: .55rem;
  flex: 1;
}
.price-features li {
  position: relative;
  padding-left: 1.4rem;
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.5;
}
.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-size: .85rem;
  font-weight: 700;
}
.price-card .btn { width: 100%; margin-top: auto; }

/* ---------- Loading Tools Hub showcase ---------- */
.hub-hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(3rem, 7vw, 5rem) clamp(2.5rem, 6vw, 4rem);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hub-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hub-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hub-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(5, 8, 13, 0.42) 0%, rgba(5, 8, 13, 0.78) 62%, var(--bg) 100%);
}
.hub-hero__logo {
  width: clamp(230px, 42vw, 380px);
  height: auto;
  margin-bottom: 1.6rem;
}

/* app window frame for product screenshots */
.hub-shot {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9);
}
.hub-shot__bar {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .6rem .85rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.hub-shot__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.hub-shot__title {
  margin-left: .5rem;
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-dim);
}
.hub-shot img { width: 100%; height: auto; display: block; }
.hub-shot figcaption {
  padding: .8rem 1rem;
  font-size: .84rem;
  color: var(--muted-dim);
  border-top: 1px solid var(--border);
}

/* installer list */
.installer {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.3rem;
}
.installer + .installer { margin-top: .9rem; }
.installer__icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border: 1px solid rgba(54, 195, 255, 0.3);
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--accent);
}
.installer__body { flex: 1; min-width: 0; }
.installer__body h3 {
  font-size: 1.05rem;
  margin: 0 0 .2rem;
  text-transform: none;
  letter-spacing: 0;
}
.installer__body p {
  margin: 0;
  font-size: .89rem;
  color: var(--muted);
}
.installer__status {
  display: inline-block;
  margin-top: .35rem;
  font-size: .76rem;
  color: var(--accent);
  letter-spacing: .04em;
}
.installer .btn { flex: 0 0 auto; }

/* ---------- note / callout ---------- */
.callout {
  background: var(--accent-soft);
  border: 1px solid rgba(54, 195, 255, 0.28);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
}
.callout p:last-child { margin-bottom: 0; }
.callout h3 { margin-bottom: .4rem; }

/* ---------- tags ---------- */
.tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag {
  font-size: .82rem;
  color: var(--muted);
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: .32rem .85rem;
}

/* ---------- forms ---------- */
.form { display: grid; gap: 1.15rem; }
.form__row { display: grid; gap: 1.15rem; }
.form__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field label {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.field .req { color: var(--accent); }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: .78rem .9rem;
  width: 100%;
  transition: border-color .18s ease, background .18s ease;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--muted-dim); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface-2);
}
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
                    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% + 2px), calc(100% - 15px) calc(50% + 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.4rem;
}
.field select option { background: #0d1320; color: var(--text); }
.field__hint { font-size: .82rem; color: var(--muted-dim); }
.form__actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

.form-status {
  border-radius: var(--radius-sm);
  padding: .95rem 1.1rem;
  font-size: .94rem;
  display: none;
}
.form-status[data-state="visible"] { display: block; }
.form-status[data-tone="success"] {
  background: rgba(54, 195, 255, 0.12);
  border: 1px solid rgba(54, 195, 255, 0.35);
  color: #cdeeff;
}
.form-status[data-tone="error"] {
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.35);
  color: #ffd6d6;
}
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- definition list (credits) ---------- */
.credits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .1rem;
}
.credits li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .4rem 1.4rem;
  padding: .85rem .2rem;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}
.credits li span:first-child { color: var(--text); }

/* ---------- contact split ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.info-list { list-style: none; margin: 0 0 1.8rem; padding: 0; display: grid; gap: 1.4rem; }
.info-list dt {
  font-family: var(--font-display);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .25rem;
}
.info-list dd { margin: 0; color: var(--muted); }
.socials { display: flex; gap: .7rem; flex-wrap: wrap; }
.socials a {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: .55rem 1rem;
  font-size: .88rem;
  font-weight: 500;
  color: var(--muted);
}
.socials a:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- CTA band ---------- */
.cta-band {
  border-top: 1px solid var(--border);
  background:
    radial-gradient(90% 130% at 50% 0%, rgba(54, 195, 255, 0.14), transparent 60%),
    var(--bg-soft);
  text-align: center;
}
.cta-band .btn-row { justify-content: center; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding-block: clamp(2.6rem, 5vw, 3.6rem) 1.8rem;
  font-size: .95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 2.4rem;
}
.footer-grid h2 {
  font-family: var(--font-display);
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin-bottom: .9rem;
}
.footer-brand .brand { margin-bottom: .9rem; }
.footer-brand p { color: var(--muted); max-width: 34ch; font-size: .93rem; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-nav a { color: var(--muted); font-size: .93rem; }
.footer-nav a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .8rem;
  color: var(--muted-dim);
  font-size: .87rem;
}
.footer-bottom p { margin: 0; }

/* ==========================================================================
   LOADING TOOLS — product site components
   ========================================================================== */

/* ---------- hero: left-aligned copy over background media ---------- */
.hero--left .hero__inner { text-align: left; }
.hero--left .hero__logo { margin-inline: 0; }
.hero--left .hero__tagline { margin-inline: 0; }
.hero--left .hero__copy { margin-inline: 0; }
.hero--left .btn-row { justify-content: flex-start; }
/* Keep the copy readable over whatever media sits behind it. */
.hero--left::after {
  background:
    linear-gradient(90deg, rgba(5, 8, 13, 0.95) 0%, rgba(5, 8, 13, 0.78) 46%, rgba(5, 8, 13, 0.34) 100%),
    linear-gradient(180deg, rgba(5, 8, 13, 0.5) 0%, transparent 40%, rgba(5, 8, 13, 0.95) 100%);
}
.hero--left .hero__inner { position: relative; z-index: 1; }

/* Background video (used once the hero clip replaces the still image) */
.hero__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .55;
  display: block;
}

/* ---------- 15-day trial band ---------- */
.trial-band {
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(80% 140% at 50% 0%, rgba(54, 195, 255, 0.11), transparent 62%),
    var(--bg-soft);
  text-align: center;
  padding-block: clamp(2.6rem, 5vw, 3.8rem);
}
.trial-band h2 { font-size: clamp(1.55rem, 3.6vw, 2.35rem); margin-bottom: .55rem; }
.trial-band .lede {
  margin-inline: auto;
  font-size: clamp(.95rem, 1.5vw, 1.05rem);
  color: var(--muted);
  max-width: 54ch;
}
.trial-band .btn-row { justify-content: center; margin-top: 1.5rem; }

/* ---------- showcase heading ---------- */
.showcase-head {
  text-align: center;
  max-width: 68ch;
  margin: 0 auto clamp(2.2rem, 4vw, 3rem);
}
.showcase-head h2 { margin-bottom: .5rem; }
.showcase-head .lede { margin-inline: auto; }

/* ---------- carousel ---------- */
.carousel { position: relative; }
.carousel__viewport { overflow: hidden; border-radius: var(--radius); }
.carousel__track {
  display: flex;
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
}
.carousel__track:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.slide {
  flex: 0 0 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.4rem);
}
.slide__body h3 { margin-bottom: .35rem; }
.slide__sub {
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 .9rem;
}
.slide__body p { color: var(--muted); font-size: .96rem; }
.slide__media { min-width: 0; }

/* 16:9 video placeholder — swap for a real <video> or embed later */
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(54, 195, 255, 0.14), transparent 60%),
    #04070c;
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
}
.video-frame__play {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 34px -10px rgba(54, 195, 255, 0.7);
}
.video-frame__play::before {
  content: "";
  display: block;
  margin-left: 3px;
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #04121b;
}
.video-frame__label {
  position: absolute;
  bottom: .65rem;
  left: .8rem;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-dim);
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }

.carousel__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin-top: 1.5rem;
}
.carousel__btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1rem;
  line-height: 1;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.carousel__btn:hover { border-color: var(--accent); color: var(--accent); }
.carousel__dots { display: flex; align-items: center; gap: .5rem; }
.carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--border-strong);
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.carousel__dot[aria-selected="true"] { background: var(--accent); transform: scale(1.25); }
.carousel__count {
  font-size: .84rem;
  color: var(--muted-dim);
  min-width: 5ch;
  text-align: center;
}

/* ---------- software cards ---------- */
.software-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}
.software-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.7rem;
  display: flex;
  flex-direction: column;
}
.software-card__mark {
  font-family: var(--font-display);
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .7rem;
}
.software-card h3 { margin-bottom: .55rem; }
.software-card > p { color: var(--muted); font-size: .94rem; }
.software-card .checklist { margin-top: 1rem; }
.software-card .btn { margin-top: 1.4rem; }

/* ---------- billing toggle ---------- */
.billing { display: flex; justify-content: center; margin-bottom: clamp(1.8rem, 3vw, 2.4rem); }
.billing__group {
  display: inline-flex;
  gap: .2rem;
  padding: .3rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
}
.billing__btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  padding: .52rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease;
}
.billing__btn:hover { color: var(--text); }
.billing__btn[aria-pressed="true"] { background: var(--accent); color: #04121b; }
.billing__save { font-size: .8rem; font-weight: 600; }
.billing__btn[aria-pressed="true"] .billing__save { color: #04121b; }

/* price amount swaps with the Monthly/Yearly toggle */
.price-pair__amount { transition: opacity .18s ease; }

/* ---------- pricing card (v2 layout, matches the plan mockup) ---------- */
.price-amount {
  display: flex;
  align-items: baseline;
  gap: .3rem;
  margin: .3rem 0 .35rem;
}
.price-amount__value {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 2.9rem);
  line-height: 1;
  color: var(--text);
}
.price-amount__term { font-size: .92rem; color: var(--muted); }
.price-save {
  font-size: .84rem;
  color: var(--accent);
  margin: 0 0 1.2rem;
  min-height: 1.25em;
}
.price-save:empty { min-height: 0; margin-bottom: .8rem; }
#pricing .price-card h3 {
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.5rem;
  margin-bottom: .15rem;
}
#pricing .price-card__unit { margin-bottom: 1rem; }
#pricing .price-features { margin-top: .3rem; }

/* ---------- payments note ---------- */
.payments {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-top: clamp(1.8rem, 3vw, 2.4rem);
  font-size: .82rem;
  color: var(--muted-dim);
}
.payments strong { font-weight: 600; color: var(--muted); margin-right: .2rem; }
.payments span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .33rem .8rem;
}

/* ---------- FAQ accordion ---------- */
.faq-wrap { max-width: 860px; }
.faq { display: grid; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item:first-child { border-top: 1px solid var(--border); }
.faq__item > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  gap: .85rem;
  padding: 1.05rem 0;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  transition: color .18s ease;
}
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary:hover { color: var(--accent); }
.faq__item > summary::before {
  content: "▸";
  flex: 0 0 auto;
  color: var(--accent);
  font-size: .8rem;
  line-height: 1.6;
  transition: transform .2s ease;
}
.faq__item[open] > summary { color: var(--accent); }
.faq__item[open] > summary::before { content: "▾"; }
.faq__body {
  padding: 0 0 1.25rem 1.7rem;
  color: var(--muted);
  font-size: .96rem;
  max-width: 68ch;
}
.faq__body p:last-child { margin-bottom: 0; }

/* ---------- features page: sub-tabs ---------- */
.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: clamp(1.8rem, 3vw, 2.4rem);
}
.subnav a {
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: .45rem 1rem;
  font-size: .87rem;
  font-weight: 600;
  color: var(--muted);
}
.subnav a:hover { border-color: var(--accent); color: var(--accent); }

/* collapsible software sections */
.tool-section {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: .9rem;
  overflow: hidden;
}
.tool-section > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: 1.15rem 1.4rem;
  transition: background .18s ease;
}
.tool-section > summary::-webkit-details-marker { display: none; }
.tool-section > summary:hover { background: var(--surface-2); }
.tool-section__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: .03em;
  color: var(--text);
}
.tool-section__count {
  font-size: .76rem;
  color: var(--muted-dim);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .12rem .6rem;
}
.tool-section__chev { margin-left: auto; color: var(--accent); font-size: .85rem; }
.tool-section[open] > summary { border-bottom: 1px solid var(--border); }
.tool-section__body { padding: 1rem 1.4rem 1.4rem; }

/* filter chips */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: 1.1rem;
}
.chip {
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 500;
  padding: .34rem .85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #04121b;
}

/* tool rows */
.tool-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.tool-item {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
}
.tool-item__tag {
  display: block;
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .3rem;
}
.tool-item h4 {
  margin: 0 0 .25rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: .02em;
}
.tool-item p { margin: 0; font-size: .875rem; color: var(--muted); line-height: 1.55; }
.tool-empty { padding: 1rem 0; color: var(--muted-dim); font-size: .9rem; margin: 0; }

/* ==========================================================================
   Account / license manager (demo test mode)
   ========================================================================== */

/* ---------- login ---------- */
.auth-shell {
  min-height: calc(100vh - 68px);
  display: grid;
  place-items: center;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
.auth-card {
  width: 100%;
  max-width: 430px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.3rem);
}
.auth-card__logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.auth-card__logo strong { color: var(--accent); font-weight: 500; }
.auth-card h1 { font-size: clamp(1.5rem, 4vw, 1.9rem); margin-bottom: .4rem; }
.auth-card > p { color: var(--muted); font-size: .94rem; margin-bottom: 1.5rem; }
.auth-card .btn { width: 100%; }
.auth-note {
  margin-top: 1.3rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
  font-size: .82rem;
  color: var(--muted-dim);
  line-height: 1.6;
}
.auth-signed {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .9rem;
  color: var(--muted);
}

/* ---------- manager layout ---------- */
.manager-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: clamp(1.8rem, 4vw, 2.6rem);
}
.manager-head h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: .3rem; }
.manager-head p { color: var(--muted); margin: 0; font-size: .95rem; }

/* account summary strip */
.acct-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: clamp(1.8rem, 4vw, 2.6rem);
}
.acct-stat { background: var(--bg-soft); padding: 1.15rem 1.25rem; }
.acct-stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1.15;
  color: var(--accent);
}
.acct-stat__label {
  display: block;
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin-top: .2rem;
}

/* create-license grid */
.create-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}
.create-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
}
.create-card--locked { opacity: .62; }
.create-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .8rem;
  margin-bottom: .35rem;
}
.create-card h3 { margin: 0; font-size: 1.12rem; }
.create-card__pitch { color: var(--muted); font-size: .88rem; margin: 0 0 1rem; }
.create-card .field { margin-bottom: .8rem; }
.create-card .field label { font-size: .76rem; }
.create-card .field input { padding: .6rem .75rem; font-size: .94rem; }
.create-card .field__hint { font-size: .78rem; }
.create-card .btn { margin-top: auto; }

.badge {
  display: inline-block;
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: .66rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  padding: .2rem .55rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--muted);
  white-space: nowrap;
}
.badge--limit { border-color: rgba(54, 195, 255, .45); color: var(--accent); }
.badge--full { border-color: rgba(255, 107, 107, .4); color: #ff9d9d; }

/* issued license rows */
.license-list { display: grid; gap: .7rem; margin-top: 1rem; }
.license-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .85rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .9rem 1.1rem;
}
.license-row__main { flex: 1 1 240px; min-width: 0; }
.license-row__type {
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: .18rem;
}
.license-row__key {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .92rem;
  color: var(--text);
  letter-spacing: .02em;
  word-break: break-all;
}
.license-row__meta {
  display: block;
  font-size: .8rem;
  color: var(--muted-dim);
  margin-top: .2rem;
  word-break: break-word;
}
.license-row__actions { display: flex; gap: .4rem; flex: 0 0 auto; }
.icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: .86rem;
  transition: border-color .18s ease, color .18s ease;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn--danger:hover { border-color: #ff6b6b; color: #ff9d9d; }

.lic-empty {
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 1.4rem;
  text-align: center;
  color: var(--muted-dim);
  font-size: .9rem;
  margin: 0;
}

/* demo-mode notice */
.demo-banner {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  background: var(--accent-soft);
  border: 1px solid rgba(54, 195, 255, .28);
  border-radius: var(--radius-sm);
  padding: .85rem 1.05rem;
  font-size: .86rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1.8rem;
}
.demo-banner strong { color: var(--text); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
    padding: .4rem 1.35rem 1.1rem;
    display: none;
  }
  .nav-links[data-open="true"] { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    width: 100%;
    padding: .85rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }
  .nav-links a[aria-current="page"] { border-bottom-color: var(--border); color: var(--accent); }
  .nav-links li:last-child a { border-bottom: 0; }

  .grid--3,
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Three licence tiers stay readable as one centred column on tablets
     rather than three cramped ~280px cards. */
  .price-grid--3 {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
  }

  .feature,
  .case,
  .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .feature--flip .feature__media { order: 0; }

  /* product components */
  .slide { grid-template-columns: minmax(0, 1fr); }
  .software-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-list { grid-template-columns: minmax(0, 1fr); }
  .create-grid { grid-template-columns: minmax(0, 1fr); }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .price-grid { grid-template-columns: minmax(0, 1fr); }
  .form__row--2 { grid-template-columns: minmax(0, 1fr); }
  .hero__bg img { object-position: center 28%; }
  .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-tile { min-height: 90px; padding: 1.1rem .8rem; }
  .logo-tile img { max-height: 34px; }
  .btn { width: 100%; }
  .btn-row .btn { width: 100%; }
  .form__actions .btn { width: 100%; }

  /* Installer rows: .btn is full-width on phones, so let it wrap onto its own
     line instead of overflowing the card. */
  .installer { flex-wrap: wrap; padding: 1.1rem; }
  .installer .btn { margin-top: .5rem; }

  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

@media print {
  .site-header, .site-footer, .hero__bg, .btn-row { display: none; }
  body { background: #fff; color: #000; }
}
