/* ============================================================
   StratoCMS — premium SaaS stylesheet
   Light portal/admin + dark hero marketing accents
   Inter Variable — self-hosted (no third-party render-blocking)
   ============================================================ */

/* Self-hosted Inter variable. latin-ext only downloads when those
   glyphs are actually used (unicode-range), so English pages fetch
   one ~48KB file. font-display:swap = no invisible text, no FOIT. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  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: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2');
  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;
}

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

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

body {
  margin: 0;
  font-family: 'Inter', 'InterVariable', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11", "ss01";
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--brand);
  text-decoration: none;
  transition: color .12s ease;
}

a:hover {
  color: var(--brand-2);
}

button {
  font: inherit;
  cursor: pointer;
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.5rem 0;
}

code,
pre,
.mono {
  font-family: ui-monospace, "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-size: .88em;
}

::selection {
  background: rgba(99, 102, 241, .2);
  color: inherit;
}

:root {
  /* Surfaces */
  --bg: #fafbfc;
  --bg-2: #f3f4f8;
  --surface: #ffffff;
  --surface-2: #fafbfd;
  --border: #e8eaf0;
  --border-2: #eff1f5;
  --ink: #0a0b14;
  /* near-black for dark sections */
  --ink-2: #14162a;
  --ink-3: #1c1f3a;

  /* Text */
  --text: #0a0b14;
  --text-2: #2a2d4a;
  --muted: #5b607f;
  --soft: #9095b3;
  --soft-2: #b8bcd4;

  /* Brand */
  --brand: #4f46e5;
  /* indigo-600 */
  --brand-2: #4338ca;
  /* indigo-700 */
  --brand-3: #6366f1;
  /* indigo-500 */
  --accent: #06b6d4;
  /* cyan-500 */
  --accent-2: #8b5cf6;
  /* violet-500 */
  --pink: #ec4899;
  --orange: #f59e0b;

  /* Semantic */
  --green: #10b981;
  --amber: #f59e0b;
  --red: #ef4444;
  --slate: #64748b;

  /* Tokens */
  --radius-xl: 24px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow-sm: 0 1px 2px rgba(10, 11, 20, .04);
  --shadow: 0 2px 4px rgba(10, 11, 20, .03), 0 8px 24px -8px rgba(10, 11, 20, .10);
  --shadow-lg: 0 4px 12px rgba(10, 11, 20, .05), 0 24px 48px -12px rgba(10, 11, 20, .18);
  --shadow-glow: 0 0 0 1px rgba(99, 102, 241, .10), 0 20px 60px -20px rgba(99, 102, 241, .45);
  --ring: 0 0 0 4px rgba(79, 70, 229, .16);
  --maxw: 1200px;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  margin: 0 0 .5em;
  line-height: 1.1;
  letter-spacing: -.025em;
  font-weight: 700;
  color: var(--text);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.25rem);
  letter-spacing: -.035em;
  font-weight: 750;
}

h2 {
  font-size: clamp(1.85rem, 3vw, 2.75rem);
  letter-spacing: -.03em;
}

h3 {
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -.015em;
}

p {
  margin: 0 0 1em;
  color: var(--text-2);
}

.muted {
  color: var(--muted);
}

.soft {
  color: var(--soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: clamp(2rem, 9vw, 2rem) 0;
}

.section--tight {
  padding: 2.5rem 0;
}

.center {
  text-align: center;
}

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

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.grid--2,
.grid--3,
.grid--4 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (min-width: 1100px) {
  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .78rem 1.3rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: .92rem;
  line-height: 1.1;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform .08s ease, background-color .15s ease, border-color .15s ease, box-shadow .2s ease, color .15s ease;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

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

.btn--primary {
  background: linear-gradient(180deg, #5b54ee 0%, var(--brand) 100%);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .18) inset,
    0 0 0 1px rgba(255, 255, 255, .06) inset,
    0 6px 14px -4px rgba(79, 70, 229, .45),
    0 2px 4px rgba(79, 70, 229, .16);
}

.btn--primary:hover {
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 10px 28px -6px rgba(79, 70, 229, .55), 0 4px 8px rgba(79, 70, 229, .18);
  transform: translateY(-1px);
}

.btn--ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.btn--ghost:hover {
  border-color: #c8cee0;
}

.btn--outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}

.btn--outline:hover {
  background: var(--brand);
  color: #fff;
}

.btn--sm {
  padding: .5rem .85rem;
  font-size: .82rem;
  border-radius: 8px;
}

.btn--lg {
  padding: .95rem 1.5rem;
  font-size: 1rem;
  border-radius: 12px;
}

.btn--block {
  width: 100%;
}

.btn--danger {
  background: var(--red);
  color: #fff;
}

.btn--dark {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.btn--dark:hover {
  background: #000;
  color: #fff;
}

/* Button → arrow flourish */
.btn .arr {
  display: inline-block;
  transition: transform .18s ease;
}

.btn:hover .arr {
  transform: translateX(3px);
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.65rem;
  box-shadow: var(--shadow-sm);
}

.card--pad-lg {
  padding: 2.25rem;
}

.card--hover {
  transition: border-color .18s ease, box-shadow .2s ease, transform .15s ease;
}

.card--hover:hover {
  border-color: #c7d2fe;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.card-title {
  font-size: 1.05rem;
  font-weight: 650;
  margin: 0 0 .4rem;
  color: var(--text);
  letter-spacing: -.015em;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-3), var(--accent-2));
  color: #fff;
  margin-bottom: 1.1rem;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 8px 20px -6px rgba(99, 102, 241, .55);
}

/* ---------- Pills / badges ---------- */
.pill {
  display: inline-block;
  padding: .2rem .6rem;
  font-size: .72rem;
  font-weight: 600;
  border-radius: 999px;
  line-height: 1.5;
  letter-spacing: .01em;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid transparent;
}

.pill--green {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}

.pill--amber {
  background: #fffbeb;
  color: #b45309;
  border-color: #fde68a;
}

.pill--red {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}

.pill--blue {
  background: #eef2ff;
  color: #4338ca;
  border-color: #c7d2fe;
}

.pill--slate {
  background: #f1f5f9;
  color: #475569;
  border-color: #e2e8f0;
}

/* ---------- Navigation (public) ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .95rem 1.5rem;
  max-width: var(--maxw);
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.04rem;
  letter-spacing: -.015em;
}

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

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--brand-3) 0%, var(--accent-2) 60%, var(--accent) 100%);
  display: inline-block;
  box-shadow: 0 6px 16px -4px rgba(99, 102, 241, .55), 0 0 0 1px rgba(99, 102, 241, .15) inset;
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .20);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-2);
  font-weight: 500;
  font-size: .93rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-cta {
  display: flex;
  gap: .5rem;
  align-items: center;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--text);
  padding: .25rem .5rem;
  font-size: 1.2rem;
}

@media (max-width: 860px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav--open .nav-links,
  .nav--open .nav-cta {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    padding: 1rem 1.5rem;
    gap: .85rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .nav--open .nav-cta {
    padding-top: 0;
  }
}

/* ============================================================
   DARK HERO + MESH BG
   ============================================================ */
.hero-dark {
  position: relative;
  overflow: hidden;
  color: #e6e8f5;
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(99, 102, 241, .35), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(6, 182, 212, .22), transparent 60%),
    radial-gradient(600px 400px at 50% 100%, rgba(236, 72, 153, .16), transparent 55%),
    linear-gradient(180deg, #0a0b14 0%, #0f1124 50%, #0a0b14 100%);
  padding: clamp(5rem, 9vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
}

.hero-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 35%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 35%, transparent 70%);
  pointer-events: none;
}

.hero-dark .container {
  position: relative;
  z-index: 1;
}

.hero-dark h1 {
  color: #fff;
  letter-spacing: -.035em;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 50%, #aab2d8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-dark .lede {
  color: #a3a9c8;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  max-width: 60ch;
  margin: 0 auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem .55rem .45rem .55rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  color: #d3d7f0;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 500;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin-bottom: 1.5rem;
}

.hero-pill .badge {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .18rem .45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-3), var(--accent-2));
  color: #fff;
}

.hero-pill .arr {
  color: var(--soft-2);
  transition: transform .18s ease;
}

.hero-pill:hover .arr {
  transform: translateX(3px);
}

.hero-dark .hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-top: 2.25rem;
}

.hero-dark .btn--ghost {
  background: rgba(255, 255, 255, .04);
  color: #fff;
  border-color: rgba(255, 255, 255, .15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-dark .btn--ghost:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .25);
}

.hero-dark .hero-stat {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
  color: var(--soft-2);
  font-size: .83rem;
}

.hero-dark .hero-stat strong {
  color: #fff;
  font-size: 1.65rem;
  display: block;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: -.025em;
}

/* Hero product mock (sits half-into next section) */
.hero-mock-wrap {
  position: relative;
  max-width: 1080px;
  margin: 4rem auto -8rem;
  z-index: 2;
}

.hero-mock {
  border-radius: 18px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(99, 102, 241, .6), rgba(6, 182, 212, .45) 60%, rgba(236, 72, 153, .4) 100%);
  box-shadow: 0 30px 80px -16px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .06);
}

.hero-mock-inner {
  background: #0f1124;
  border-radius: 17px;
  overflow: hidden;
  position: relative;
}

.hero-mock-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 400px at 50% -10%, rgba(99, 102, 241, .18), transparent 60%);
  pointer-events: none;
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  background: rgba(255, 255, 255, .02);
}

.mock-bar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #3a3f5a;
}

.mock-bar span:nth-child(1) {
  background: #ff5f57;
}

.mock-bar span:nth-child(2) {
  background: #febc2e;
}

.mock-bar span:nth-child(3) {
  background: #28c840;
}

.mock-url {
  margin-left: 1rem;
  font-size: .78rem;
  color: #7a809c;
  font-family: ui-monospace, monospace;
  background: rgba(255, 255, 255, .04);
  padding: .25rem .65rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, .05);
}

.mock-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 420px;
  color: #e6e8f5;
  position: relative;
}

@media (max-width: 720px) {
  .mock-body {
    grid-template-columns: 1fr;
  }

  .mock-side {
    display: none;
  }
}

.mock-side {
  border-right: 1px solid rgba(255, 255, 255, .06);
  padding: 1rem .75rem;
  background: rgba(255, 255, 255, .015);
}

.mock-side h6 {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #6b7099;
  font-weight: 600;
  padding: .5rem .65rem;
  margin: 0;
}

.mock-side ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .15rem;
}

.mock-side li {
  padding: .5rem .65rem;
  border-radius: 8px;
  font-size: .85rem;
  color: #a8aece;
  display: flex;
  align-items: center;
  gap: .55rem;
}

.mock-side li .d {
  width: 14px;
  height: 14px;
  opacity: .6;
}

.mock-side li.is-active {
  background: rgba(99, 102, 241, .14);
  color: #cbd0ff;
  box-shadow: inset 2px 0 0 var(--brand-3);
}

.mock-side li.is-active .d {
  opacity: 1;
  color: #cbd0ff;
}

.mock-content {
  padding: 1.5rem;
}

.mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.mock-head h5 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: -.015em;
}

.mock-head .b {
  font-size: .7rem;
  padding: .2rem .5rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, .15);
  color: #6ee7b7;
  font-weight: 600;
}

.mock-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin-bottom: 1.1rem;
}

.mock-k {
  background: rgba(255, 255, 255, .025);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 10px;
  padding: .85rem .9rem;
  position: relative;
  overflow: hidden;
}

.mock-k .lbl {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #7a809c;
  font-weight: 600;
}

.mock-k .val {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  margin-top: .25rem;
}

.mock-k .ch {
  font-size: .72rem;
  color: #6ee7b7;
  margin-top: .15rem;
  font-weight: 600;
}

.mock-k .ch.dn {
  color: #fca5a5;
}

.mock-chart {
  height: 160px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 10px;
  padding: .75rem;
  background: rgba(255, 255, 255, .015);
  position: relative;
}

.mock-chart-label {
  position: absolute;
  top: .65rem;
  left: .85rem;
  font-size: .72rem;
  color: #7a809c;
  font-weight: 600;
}

/* ---------- Section: stats marquee ---------- */
.stats-band {
  background: var(--ink);
  color: #fff;
  padding: 11rem 0 4rem;
  border-radius: 0;
}

.stats-band .container {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .stats-band .container {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  border-left: 2px solid rgba(255, 255, 255, .08);
  padding-left: 1.25rem;
}

.stat-num {
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 750;
  letter-spacing: -.03em;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.stat-lbl {
  font-size: .85rem;
  color: var(--soft-2);
  margin-top: .5rem;
}

/* ---------- Logo cloud ---------- */
.cloud-wrap {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.cloud-title {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  margin-bottom: 2rem;
}

.cloud {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 3rem;
  align-items: center;
  justify-items: center;
}

@media (min-width: 720px) {
  .cloud {
    grid-template-columns: repeat(5, 1fr);
  }
}

.cloud-item {
  font-weight: 700;
  letter-spacing: -.025em;
  font-size: 1.2rem;
  color: var(--soft);
  opacity: .85;
  display: flex;
  align-items: center;
  gap: .5rem;
  transition: color .18s ease, opacity .18s ease;
}

.cloud-item:hover {
  color: var(--text-2);
  opacity: 1;
}

.cloud-item .lm {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: inline-block;
}

/* ---------- Bento grid ---------- */
.bento {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .bento {
    grid-template-columns: repeat(6, 1fr);
  }
}

.b-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .25s ease, transform .15s ease;
}

.b-card:hover {
  border-color: #c7d2fe;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.b-card h3 {
  margin: 0 0 .35rem;
  font-size: 1.1rem;
}

.b-card p {
  color: var(--muted);
  font-size: .92rem;
  margin-bottom: 0;
}

.b-tag {
  font-size: .7rem;
  color: var(--brand);
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .6rem;
  display: inline-block;
}

@media (min-width: 1024px) {
  .b-card--lg {
    grid-column: span 4;
  }

  .b-card--md {
    grid-column: span 3;
  }

  .b-card--sm {
    grid-column: span 2;
  }

  .b-card--3 {
    grid-column: span 3;
  }

  .b-card--full {
    grid-column: span 6;
  }
}

.b-art {
  position: relative;
  margin-top: 1.25rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #eef2ff, #ecfeff);
  border: 1px solid var(--border-2);
  padding: 1rem;
  overflow: hidden;
}

.b-art--dark {
  background: linear-gradient(135deg, #0f1124, #1c1f3a);
  border-color: rgba(255, 255, 255, .05);
  color: #dfe2f5;
}

.b-art pre {
  margin: 0;
  font-size: .78rem;
  line-height: 1.6;
  color: #cbd0ff;
}

.b-art pre .k {
  color: #fca5d7;
}

.b-art pre .s {
  color: #86efac;
}

.b-art pre .c {
  color: #6b7099;
}

.b-art pre .n {
  color: #fcd34d;
}

/* ---------- Feature splits ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.split--alt>div:first-child {
  order: 2;
}

@media (min-width: 900px) {
  .split--alt>div:first-child {
    order: 1;
  }
}

.split-art {
  background: linear-gradient(135deg, #eef2ff, #ecfeff);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  min-height: 320px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.split-art::after {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 320px;
  height: 320px;
  background: radial-gradient(closest-side, rgba(99, 102, 241, .30), transparent);
  filter: blur(24px);
  pointer-events: none;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  counter-reset: step;
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  counter-increment: step;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-3), var(--accent-2));
  width: 34px;
  height: 34px;
  border-radius: 10px;
  margin-bottom: 1.1rem;
  box-shadow: 0 8px 18px -6px rgba(99, 102, 241, .6);
}

.step h3 {
  margin-bottom: .5rem;
}

.step p {
  margin: 0;
  color: var(--muted);
}

/* ---------- Comparison table ---------- */
.compare-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
}

.compare th,
.compare td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border-2);
}

.compare thead th {
  background: linear-gradient(180deg, #fafbfd, #f3f4f8);
  font-weight: 600;
  color: var(--text);
  font-size: .92rem;
}

.compare thead th.us {
  color: var(--brand);
  position: relative;
}

.compare thead th.us::after {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-3), var(--accent-2));
  border-radius: 3px;
  margin-top: .5rem;
}

.compare tbody td {
  color: var(--text-2);
}

.compare tbody td:first-child {
  font-weight: 550;
  color: var(--text);
}

.compare tr:last-child td {
  border-bottom: 0;
}

.compare .yes {
  color: var(--green);
  font-weight: 700;
}

.compare .no {
  color: #b8bcd4;
}

.compare .partial {
  color: var(--amber);
}

/* ---------- Pricing tier ---------- */
.tier {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}

.tier:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: #c7d2fe;
}

.tier--featured {
  border: 1.5px solid var(--brand);
  background: linear-gradient(180deg, #ffffff 0%, #fafaff 100%);
  position: relative;
  box-shadow: var(--shadow-glow);
  transform: scale(1.02);
}

.tier--featured:hover {
  transform: scale(1.02) translateY(-3px);
}

.tier--featured::before {
  content: "Most popular";
  position: absolute;
  top: -12px;
  right: 1.5rem;
  background: linear-gradient(135deg, var(--brand-3), var(--accent-2));
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: .32rem .7rem;
  border-radius: 999px;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 8px 22px -6px rgba(99, 102, 241, .6);
}

.tier h3 {
  font-size: 1rem;
  color: var(--text-2);
  margin: 0;
  font-weight: 600;
}

.tier .price {
  font-size: 2.6rem;
  font-weight: 750;
  letter-spacing: -.03em;
  color: var(--text);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.tier .price small {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
}

.tier .price-sub {
  font-size: .85rem;
  color: var(--muted);
  margin: -.5rem 0 0;
}

.tier ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .6rem;
  font-size: .92rem;
  color: var(--text-2);
}

.tier ul li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  margin-right: .55rem;
  display: inline-block;
  width: 1.1em;
}

/* ---------- Testimonial ---------- */
.quote {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.6;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-2);
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-3), var(--accent-2));
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .92rem;
  letter-spacing: -.015em;
  box-shadow: 0 6px 14px -4px rgba(99, 102, 241, .5);
}

.quote-author .name {
  font-weight: 650;
  font-size: .92rem;
  color: var(--text);
  letter-spacing: -.01em;
}

.quote-author .title {
  font-size: .82rem;
  color: var(--muted);
  margin-top: .1rem;
}

.quote-mark {
  font-family: Georgia, serif;
  font-size: 3rem;
  line-height: 1;
  color: var(--brand-3);
  opacity: .18;
  display: block;
  margin-bottom: -.5rem;
}

/* ---------- FAQ ---------- */
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: border-color .18s ease, box-shadow .2s ease;
}

.faq details+details {
  margin-top: .75rem;
}

.faq details[open] {
  border-color: #c7d2fe;
  box-shadow: var(--shadow-sm);
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--text);
  font-size: .98rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--muted);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1;
  transition: transform .2s ease, color .2s ease;
}

.faq details[open] summary::after {
  content: "−";
  color: var(--brand);
}

.faq details>p {
  color: var(--text-2);
  margin: .95rem 0 0;
}

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(800px 300px at 80% 100%, rgba(6, 182, 212, .30), transparent 60%),
    radial-gradient(700px 280px at 0% 0%, rgba(236, 72, 153, .20), transparent 60%),
    linear-gradient(135deg, #1e1b4b 0%, var(--brand-2) 55%, var(--brand) 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 4rem);
  box-shadow: 0 40px 80px -20px rgba(79, 70, 229, .5), 0 0 0 1px rgba(255, 255, 255, .08) inset;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}

.cta-band>* {
  position: relative;
}

.cta-band h2 {
  color: #fff;
  max-width: 22ch;
}

.cta-band p {
  color: rgba(255, 255, 255, .85);
  max-width: 50ch;
  font-size: 1.05rem;
}

.cta-band .btn--primary {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .4);
}

.cta-band .btn--primary:hover {
  background: #f5f5fa;
  color: var(--brand-2);
}

.cta-band .btn--ghost {
  background: rgba(255, 255, 255, .06);
  color: #fff;
  border-color: rgba(255, 255, 255, .25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.cta-band .btn--ghost:hover {
  background: rgba(255, 255, 255, .12);
  border-color: #fff;
  color: #fff;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 4rem 0 1.5rem;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
  }
}

.footer h4 {
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--soft);
  margin-bottom: 1.1rem;
  font-weight: 600;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer li+li {
  margin-top: .6rem;
}

.footer a {
  color: var(--text-2);
  font-weight: 500;
}

.footer a:hover {
  color: var(--brand);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
  font-size: .85rem;
}

/* ============================================================
   FORMS
   ============================================================ */
.form {
  display: grid;
  gap: 1.1rem;
}

.form-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: .4rem;
  color: var(--text-2);
}

.input,
.textarea,
.select {
  width: 100%;
  padding: .72rem .9rem;
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
  box-shadow: var(--shadow-sm);
}

.input::placeholder,
.textarea::placeholder {
  color: var(--soft);
}

.input:hover,
.textarea:hover,
.select:hover {
  border-color: #c8cee0;
}

.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: var(--ring);
}

.textarea {
  min-height: 130px;
  resize: vertical;
}

.select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%235b607f'><path d='M5.5 7.5L10 12l4.5-4.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right .65rem center;
  background-size: 1.1em;
  padding-right: 2.2rem;
}

.help {
  font-size: .78rem;
  color: var(--muted);
  margin-top: .4rem;
}

.field-error {
  color: #b91c1c;
  font-size: .78rem;
  margin-top: .35rem;
}

.flash {
  padding: .9rem 1.1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  border: 1px solid;
  font-size: .92rem;
  font-weight: 500;
}

.flash--success {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}

.flash--error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.flash--info {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e40af;
}

/* ============================================================
   AUTH SCREENS
   ============================================================ */
.auth-shell {
  min-height: calc(100vh - 80px);
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  background:
    radial-gradient(700px 350px at 80% -10%, rgba(99, 102, 241, .10), transparent 60%),
    radial-gradient(500px 280px at 10% 30%, rgba(6, 182, 212, .08), transparent 60%),
    radial-gradient(600px 300px at 60% 100%, rgba(236, 72, 153, .05), transparent 60%);
}

.auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
}

.auth-card h1 {
  font-size: 1.6rem;
  margin-bottom: .4rem;
  letter-spacing: -.02em;
}

.auth-foot {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: .9rem;
}

.otp-input {
  letter-spacing: .5em;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  padding: .85rem 1rem;
}

/* ============================================================
   TABLES
   ============================================================ */
.table-wrap {
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

.table th,
.table td {
  padding: .9rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-2);
}

.table th {
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: .68rem;
  letter-spacing: .06em;
  background: var(--surface-2);
}

.table tr:last-child td {
  border-bottom: 0;
}

.table tbody tr {
  transition: background-color .12s ease;
}

.table tbody tr:hover td {
  background: #fafbfd;
}

.table a {
  font-weight: 550;
}

/* ============================================================
   PORTAL / ADMIN SHELL
   ============================================================ */
.shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  background: var(--bg);
}

.shell-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1.5rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 30;
}

.shell-body {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 980px) {
  .shell-body {
    grid-template-columns: 260px 1fr;
  }
}

.sidebar {
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 1rem .75rem;
  min-height: calc(100vh - 64px);
}

.sidebar h5 {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--soft);
  padding: 1rem .85rem .5rem;
  font-weight: 600;
  margin: 0;
}

.sidebar a {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .55rem .85rem;
  border-radius: 8px;
  color: var(--text-2);
  font-weight: 500;
  font-size: .9rem;
  transition: background-color .12s ease, color .12s ease;
}

.sidebar a:hover {
  background: var(--bg-2);
  color: var(--text);
}

.sidebar a.active {
  background: linear-gradient(180deg, rgba(79, 70, 229, .06), rgba(79, 70, 229, .10));
  color: var(--brand);
  box-shadow: inset 2px 0 0 var(--brand);
}

.sidebar a .ico {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--soft);
  font-size: 1rem;
}

.sidebar a.active .ico,
.sidebar a:hover .ico {
  color: var(--brand);
}

.main {
  padding: 1.75rem 2rem;
  max-width: 1280px;
}

@media (max-width: 720px) {
  .main {
    padding: 1.25rem;
  }
}

.page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.page-head h1 {
  font-size: 1.65rem;
  margin-bottom: .2rem;
  letter-spacing: -.02em;
}

.page-head .sub {
  color: var(--muted);
  margin: 0;
  font-size: .95rem;
}

.kpi {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.kpi:hover {
  border-color: #dbeafe;
  box-shadow: var(--shadow);
}

.kpi::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-3), var(--accent-2));
  opacity: .85;
}

.kpi-label {
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: .5rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.kpi-value {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.kpi-trend {
  font-size: .8rem;
  margin-top: .4rem;
  color: var(--muted);
}

/* ============================================================
   UTILITIES
   ============================================================ */
.hidden {
  display: none !important;
}

.flex {
  display: flex;
}

.between {
  justify-content: space-between;
}

.gap-sm {
  gap: .5rem;
}

.gap {
  gap: 1rem;
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-1 {
  margin-top: .5rem !important;
}

.mt-2 {
  margin-top: 1rem !important;
}

.mt-3 {
  margin-top: 1.5rem !important;
}

.mt-4 {
  margin-top: 2.5rem !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: .5rem !important;
}

.mb-2 {
  margin-bottom: 1rem !important;
}

.mb-3 {
  margin-bottom: 1.5rem !important;
}

.mb-4 {
  margin-bottom: 2.5rem !important;
}

.text-sm {
  font-size: .85rem;
}

.text-right {
  text-align: right;
}

.dropzone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  color: var(--muted);
  background: var(--surface-2);
  transition: border-color .15s ease, background-color .15s ease;
}

.dropzone:hover,
.dropzone.is-hover {
  border-color: var(--brand);
  background: #eff6ff;
  color: var(--brand);
}

@media print {

  .nav,
  .footer,
  .sidebar,
  .shell-topbar {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .card {
    border-color: #ddd;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ---------- Billing toggle ---------- */
.billing-toggle {
  display: inline-flex;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .3rem;
  gap: .25rem;
}

.bt-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .9rem;
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-2);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
  text-decoration: none !important;
  white-space: nowrap;
}

.bt-btn:hover {
  color: var(--text);
  background: var(--surface);
}

.bt-btn.is-active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand-2);
  box-shadow: 0 2px 6px -2px rgba(79, 70, 229, .45);
}

.bt-btn.is-active:hover {
  color: #fff;
}

.save-badge {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .03em;
  padding: .15rem .4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), #059669);
  color: #fff;
  line-height: 1.5;
}

.bt-btn.is-active .save-badge {
  background: rgba(255, 255, 255, .22);
  color: #fff;
}

/* ---------- Team grid ---------- */
.team-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: border-color .18s ease, box-shadow .2s ease, transform .15s ease;
}

.team-card:hover {
  border-color: #c7d2fe;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

/* ---------- Checkout layout ---------- */
.checkout-shell {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  max-width: 960px;
  margin: 2rem auto;
}

@media (min-width: 860px) {
  .checkout-shell {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.order-summary {}

.checkout-form {}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  font-size: .78rem;
  color: var(--muted);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-2);
}

.trust-bar span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

/* ---------- Developer hire grid (pricing page) ---------- */
.dev-hire-grid {
  display: grid;
  gap: .85rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .dev-hire-grid {
    grid-template-columns: 1fr;
  }
}

.dev-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  transition: border-color .18s ease, background .18s ease;
}

.dev-card:hover {
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .08);
}

/* ---------- 4-column steps (services page) ---------- */
@media (min-width: 900px) {
  .steps-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}