/* Cobalt Solutions — site styles */
:root {
  --bg: #070b14;
  --bg-elev: #0c1220;
  --bg-alt: #0a1224;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.055);
  --border: rgba(226, 236, 255, 0.1);
  --border-strong: rgba(61, 150, 255, 0.35);
  --text: #eef3fb;
  --muted: #93a0b8;
  --cobalt: #0f76f0;
  --cobalt-bright: #3d96ff;
  --cobalt-deep: #143a8c;
  --cobalt-ink: #0e2a66;
  --glow: rgba(15, 118, 240, 0.35);
  --warn: #f0a070;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --max: 1120px;
  --nav-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1rem; color: var(--muted); }
h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  font-weight: 600;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.02em; font-weight: 600; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--cobalt);
  color: white;
  padding: 0.75rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 2px solid var(--cobalt-bright);
  outline-offset: 3px;
}
.btn--sm { padding: 0.55rem 1rem; font-size: 0.9rem; }
.btn--lg { padding: 0.95rem 1.4rem; font-size: 1rem; }
.btn--primary {
  background: linear-gradient(180deg, var(--cobalt-bright), var(--cobalt));
  color: #fff;
  box-shadow: 0 10px 30px rgba(15, 118, 240, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(15, 118, 240, 0.38); }
.btn--ghost {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: rgba(61, 150, 255, 0.45);
  background: rgba(61, 150, 255, 0.08);
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background 0.2s ease, border-color 0.2s ease, backdrop-filter 0.2s ease;
  border-bottom: 1px solid transparent;
}
.nav[data-scrolled="true"] {
  background: rgba(7, 11, 20, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.nav__inner {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  line-height: 0;
  /* Transparent reverse lockup — no plate (Design Division ban) */
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  transition: opacity 0.15s ease;
}
.brand:hover {
  opacity: 0.92;
  transform: none;
  box-shadow: none;
}
.brand:focus-visible {
  outline: 2px solid var(--cobalt-bright);
  outline-offset: 4px;
  border-radius: 6px;
}
.brand__logo {
  display: block;
  height: 40px;
  width: auto;
  max-width: min(220px, 52vw);
  object-fit: contain;
}
.brand--footer .brand__logo {
  height: 44px;
  max-width: min(240px, 70vw);
}
@media (max-width: 640px) {
  .brand__logo { height: 34px; }
}
.nav__links {
  display: none;
  align-items: center;
  gap: 1.35rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.nav__links a:hover { color: var(--text); }
.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.nav__toggle {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  gap: 5px;
  padding: 0;
}
.nav__toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav__toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}
.nav__mobile {
  display: grid;
  gap: 0.35rem;
  padding: 0.5rem 1.25rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 11, 20, 0.96);
}
.nav__mobile a {
  padding: 0.85rem 0.75rem;
  border-radius: 12px;
  color: var(--muted);
}
.nav__mobile a:hover,
.nav__mobile a:focus-visible {
  background: var(--surface-2);
  color: var(--text);
}
.nav__mobile .btn { margin-top: 0.5rem; }

@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__toggle { display: none; }
  .nav__mobile { display: none !important; }
  .nav__actions .btn--ghost { display: inline-flex; }
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 4.5rem 0 4rem;
  min-height: calc(92vh - var(--nav-h));
  display: flex;
  align-items: center;
}
.hero__glow {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(42rem 30rem at 12% 10%, rgba(15, 118, 240, 0.28), transparent 60%),
    radial-gradient(36rem 28rem at 88% 18%, rgba(61, 150, 255, 0.18), transparent 62%),
    radial-gradient(40rem 28rem at 55% 95%, rgba(20, 58, 140, 0.35), transparent 60%),
    linear-gradient(180deg, #070b14 0%, #0a1224 55%, #070b14 100%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  opacity: 0.55;
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cobalt-bright);
  margin: 0 0 1rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--cobalt-bright);
}
.lead {
  max-width: 42rem;
  font-size: 1.1rem;
  color: #b7c3d8;
  margin-bottom: 1.75rem;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.75rem;
}
.hero__stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  max-width: 46rem;
}
.hero__stats div {
  padding: 0.25rem 0;
}
.hero__stats dt {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}
.hero__stats dd {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}
@media (min-width: 700px) {
  .hero { padding: 5.5rem 0 5rem; }
  .hero__stats { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

/* Strip */
.strip {
  border-block: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
  overflow: hidden;
}
.strip__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  padding: 1rem 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.strip__inner span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cobalt);
  margin-right: 0.55rem;
  vertical-align: 1px;
  box-shadow: 0 0 10px var(--glow);
}

/* Sections */
.section {
  padding: 5rem 0;
}
.section--alt {
  background:
    radial-gradient(40rem 24rem at 100% 0%, rgba(15, 118, 240, 0.08), transparent 60%),
    var(--bg-alt);
  border-block: 1px solid var(--border);
}
.section__head {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}
.section__sub {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0;
}

.split {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media (min-width: 860px) {
  .split {
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: end;
  }
}
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--text); font-weight: 600; }

.pain-grid,
.service-grid,
.system-grid,
.proof-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 760px) {
  .pain-grid { grid-template-columns: repeat(3, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .system-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1020px) {
  .system-grid { grid-template-columns: repeat(4, 1fr); }
}

.card,
.service,
.system,
.proof-card,
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow);
}
.card__num {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  color: var(--cobalt-bright);
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
}
.card h3,
.service h3,
.system h3,
.proof-card h3 {
  margin-bottom: 0.5rem;
}
.card p,
.service p,
.system p,
.proof-card p {
  margin: 0;
  font-size: 0.96rem;
}

.service__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, rgba(61, 150, 255, 0.18), rgba(20, 58, 140, 0.25));
  border: 1px solid var(--border-strong);
  margin-bottom: 1rem;
  color: var(--cobalt-bright);
}
.service__icon svg {
  width: 20px;
  height: 20px;
}
.service ul {
  margin-top: 1rem;
  display: grid;
  gap: 0.45rem;
}
.service li {
  position: relative;
  padding-left: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.service li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cobalt);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
}
.step__n {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  color: #fff;
  background: linear-gradient(160deg, var(--cobalt-bright), var(--cobalt-deep));
  box-shadow: 0 0 0 5px rgba(15, 118, 240, 0.12);
}
.step p { margin: 0; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}

.system {
  position: relative;
  min-height: 100%;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.system:hover {
  border-color: rgba(61, 150, 255, 0.4);
  transform: translateY(-2px);
}
.system--flagship {
  border-color: rgba(61, 150, 255, 0.45);
  background:
    radial-gradient(14rem 10rem at 100% 0%, rgba(15, 118, 240, 0.16), transparent 70%),
    var(--surface-2);
}
.system__chip {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cobalt-bright);
  border: 1px solid rgba(61, 150, 255, 0.35);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  margin-bottom: 0.65rem;
}

/* Mid-page conversion band */
.section--band {
  padding: 2.5rem 0;
  border-block: 1px solid var(--border);
  background:
    radial-gradient(28rem 14rem at 0% 50%, rgba(15, 118, 240, 0.14), transparent 65%),
    var(--bg-elev);
}
.band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}
.band__title {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  margin: 0 0 0.35rem;
}
.band__sub {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 40rem;
}

/* Honest trust row */
.trust-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 760px) {
  .trust-row { grid-template-columns: repeat(3, 1fr); }
}
.trust-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 1.1rem 1.2rem;
}
.trust-card__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cobalt-bright);
  margin: 0 0 0.45rem;
}
.trust-card__claim {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 0.4rem;
  line-height: 1.25;
}
.trust-card__claim--sm {
  font-size: 0.98rem;
  font-weight: 500;
  font-family: var(--font);
  letter-spacing: -0.01em;
}
.trust-card__note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.proof-card--featured {
  grid-column: 1 / -1;
  background:
    radial-gradient(30rem 18rem at 0% 0%, rgba(61, 150, 255, 0.16), transparent 60%),
    linear-gradient(160deg, rgba(20, 58, 140, 0.45), rgba(14, 42, 102, 0.35));
  border-color: rgba(61, 150, 255, 0.35);
}
.proof-card--featured h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  max-width: 28ch;
}
.proof-card--featured p:last-child {
  max-width: 60ch;
}

.industries {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.chips span {
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 500;
}

.pricing {
  display: grid;
  gap: 2rem;
}
.price-cards {
  display: grid;
  gap: 1rem;
}
@media (min-width: 860px) {
  .price-cards { grid-template-columns: repeat(3, 1fr); }
}
.price-card__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cobalt-bright);
  margin: 0 0 0.5rem;
}
.price-card__value {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.25rem;
  letter-spacing: -0.02em;
}
.price-card--hot .price-card__value,
.price-card:first-child .price-card__value {
  font-size: 1.45rem;
}
.price-card__meta {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.price-card p:last-child { margin: 0; }
.cta__panel strong { color: var(--text); font-weight: 600; }
.price-card--hot {
  border-color: rgba(61, 150, 255, 0.45);
  background:
    radial-gradient(18rem 12rem at 100% 0%, rgba(15, 118, 240, 0.2), transparent 70%),
    var(--surface-2);
}

/* FAQ */
.faq__list {
  display: grid;
  gap: 0.75rem;
  max-width: 48rem;
}
.faq__list details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 0.35rem 1rem;
}
.faq__list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  padding: 0.9rem 0;
  color: var(--text);
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+";
  float: right;
  color: var(--cobalt-bright);
  font-weight: 500;
}
.faq__list details[open] summary::after { content: "–"; }
.faq__list details p {
  margin: 0 0 1rem;
  padding-right: 1.5rem;
}

/* CTA */
.cta { padding-bottom: 5.5rem; }
.cta__panel {
  display: grid;
  gap: 2rem;
  padding: 2rem;
  border-radius: 28px;
  border: 1px solid rgba(61, 150, 255, 0.35);
  background:
    radial-gradient(30rem 20rem at 10% 0%, rgba(61, 150, 255, 0.22), transparent 60%),
    linear-gradient(155deg, #0e2a66 0%, #0a1224 55%, #070b14 100%);
  box-shadow: var(--shadow);
}
.cta__panel h2 { max-width: 16ch; }
.cta__panel > div > p { max-width: 46ch; }
.cta__meta {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
  color: #c5d4ea;
}
.cta__meta a { color: var(--cobalt-bright); font-weight: 600; }
.cta__meta a:hover { text-decoration: underline; }
.cta__actions {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}
.fineprint {
  font-size: 0.85rem;
  color: #8fa0bb;
  margin: 0.25rem 0 0;
}
@media (min-width: 900px) {
  .cta__panel {
    grid-template-columns: 1.2fr 0.9fr;
    padding: 2.75rem;
    align-items: center;
  }
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 0 2.25rem;
}
.footer__inner {
  display: grid;
  gap: 1rem;
  align-items: center;
}
.footer__copy {
  margin: 0;
  font-size: 0.9rem;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.footer__links a:hover { color: var(--text); }
@media (min-width: 800px) {
  .footer__inner {
    grid-template-columns: 1fr auto auto;
    gap: 2rem;
  }
}

/* Selection */
::selection {
  background: rgba(15, 118, 240, 0.45);
  color: white;
}
