/* =========================================================================
   SylForge Labs — marketing site design system (v2)
   Premium dark. Hand-crafted, dependency-free, system fonts only.
   Scope: index, truckingops, maintenancehub, clubhub, custom.
   (Staff/login/demos keep using /assets/styles.css.)
   ========================================================================= */

:root {
  /* Surfaces */
  --bg:        #05070e;
  --bg-2:      #070a13;
  --surface:   #0c101c;
  --surface-2: #111726;
  --glass:     rgba(255, 255, 255, 0.028);
  --glass-2:   rgba(255, 255, 255, 0.05);
  --border:    rgba(148, 163, 205, 0.14);
  --border-2:  rgba(148, 163, 205, 0.26);

  /* Text */
  --text:   #f4f7ff;
  --text-2: #c3cce4;
  --muted:  #8a94b0;
  --faint:  #646e8c;

  /* Brand */
  --accent:      #3b82f6;
  --accent-2:    #60a5fa;
  --accent-3:    #22d3ee;
  --violet:      #8b5cf6;
  --glow:        rgba(59, 130, 246, 0.45);
  --glow-soft:   rgba(59, 130, 246, 0.16);
  --ok:          #34d399;

  /* Type — system stack only, no CDNs */
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI",
          Roboto, Helvetica, Arial, system-ui, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI",
          Roboto, Helvetica, Arial, system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SFMono-Regular", Menlo, Consolas,
          "Liberation Mono", monospace;

  /* Geometry */
  --maxw: 1160px;
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Ambient depth: layered glows + faint grid */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1000px 640px at 82% -10%, rgba(59, 130, 246, 0.14), transparent 62%),
    radial-gradient(760px 520px at 4% 2%, rgba(34, 211, 238, 0.08), transparent 55%),
    radial-gradient(900px 700px at 50% 118%, rgba(139, 92, 246, 0.08), transparent 62%);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 85% 62% at 50% 0%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 85% 62% at 50% 0%, #000 25%, transparent 78%);
  pointer-events: none;
  opacity: 0.7;
}

a { color: var(--accent-2); text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: rgba(59, 130, 246, 0.35); color: #fff; }

/* Accessibility */
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 14px; top: -60px;
  background: var(--accent); color: #fff;
  padding: 10px 16px; border-radius: 8px; font-weight: 600; z-index: 400;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 14px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Layout */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { position: relative; }
.section { padding: clamp(64px, 9vw, 116px) 0; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border-2), transparent); border: 0; margin: 0; }

/* Eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-2);
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 14px 2px var(--glow);
}

/* Section headings */
.section-head { max-width: 62ch; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(30px, 4.6vw, 48px);
  line-height: 1.06; letter-spacing: -0.03em; font-weight: 800;
  margin: 16px 0 14px;
}
.section-head p { font-size: clamp(16px, 2vw, 18px); color: var(--muted); margin: 0; }

.gradient-text {
  background: linear-gradient(115deg, var(--accent-2) 5%, var(--accent-3) 60%, #7dd3fc 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* =========================================================================
   Buttons — with sheen sweep micro-interaction
   ========================================================================= */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-size: 15px; font-weight: 600; line-height: 1;
  padding: 14px 24px; border-radius: 12px;
  border: 1px solid var(--border-2);
  background: var(--glass-2);
  color: var(--text);
  cursor: pointer; white-space: nowrap; overflow: hidden;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease),
              background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); border-color: var(--accent); }
.btn:active { transform: translateY(0) scale(0.99); }
.btn svg { width: 17px; height: 17px; flex: none; }

.btn-primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent-2), var(--accent) 55%, #2563eb);
  color: #fff;
  box-shadow: 0 10px 30px -10px var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn-primary::after {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -80%; width: 55%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: skewX(-18deg);
  transition: left 0.55s var(--ease-io);
  pointer-events: none;
}
.btn-primary:hover { box-shadow: 0 16px 42px -10px var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn-primary:hover::after { left: 130%; }

.btn-ghost { background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.04); }
.btn-lg { padding: 17px 30px; font-size: 16px; border-radius: 13px; }
.btn .arr { transition: transform 0.2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

/* =========================================================================
   Sticky translucent header
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(5, 7, 14, 0.6);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--border); background: rgba(5, 7, 14, 0.86); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand .word { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.brand .word b { color: var(--accent-2); font-weight: 800; }
.header-right { display: flex; align-items: center; gap: 12px; }
.header-cta { display: inline-flex; }
@media (max-width: 560px) {
  .header-cta { display: none; }
  .header-inner { height: 64px; }
}

/* Hamburger — morphs into an X */
.menu-btn {
  appearance: none; -webkit-appearance: none;
  width: 46px; height: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--glass-2);
  border: 1px solid var(--border-2);
  border-radius: 12px;
  cursor: pointer; padding: 0;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}
.menu-btn:hover { border-color: var(--accent); transform: translateY(-1px); }
.menu-btn .bars { position: relative; width: 20px; height: 14px; display: block; }
.menu-btn .bars span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease-io), opacity 0.2s var(--ease-io), top 0.3s var(--ease-io);
}
.menu-btn .bars span:nth-child(1) { top: 0; }
.menu-btn .bars span:nth-child(2) { top: 6px; }
.menu-btn .bars span:nth-child(3) { top: 12px; }
.menu-btn[aria-expanded="true"] .bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* =========================================================================
   Right slide-out drawer
   ========================================================================= */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 290;
  background: rgba(3, 5, 10, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0s linear 0.4s;
}
.drawer-backdrop.open { opacity: 1; visibility: visible; transition-delay: 0s; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 300;
  width: min(420px, 92vw);
  display: flex; flex-direction: column;
  background:
    radial-gradient(520px 320px at 100% 0%, rgba(59, 130, 246, 0.14), transparent 60%),
    linear-gradient(200deg, #0b101d 0%, #070a13 100%);
  border-left: 1px solid var(--border-2);
  box-shadow: -40px 0 90px -30px rgba(0, 0, 0, 0.85);
  transform: translateX(103%);
  visibility: hidden;
  transition: transform 0.45s var(--ease), visibility 0s linear 0.45s;
}
.drawer.open { transform: translateX(0); visibility: visible; transition-delay: 0s; }
body.drawer-open { overflow: hidden; }

.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px 14px 26px;
  border-bottom: 1px solid var(--border);
}
.drawer-title {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}
.drawer-close {
  appearance: none; -webkit-appearance: none;
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--border);
  border-radius: 11px; color: var(--text-2); cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.drawer-close:hover { border-color: var(--accent); color: var(--text); transform: rotate(90deg); }
.drawer-close svg { width: 17px; height: 17px; }

.drawer-nav { flex: 1; overflow-y: auto; padding: 18px 12px 12px; }
.drawer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.drawer-nav a {
  display: flex; align-items: baseline; gap: 14px;
  padding: 15px 16px; border-radius: 13px;
  color: var(--text);
  font-family: var(--display);
  font-size: clamp(21px, 2.6vw, 25px);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.15;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), padding-left 0.25s var(--ease);
}
.drawer-nav a .n {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  color: var(--faint); letter-spacing: 0.08em; min-width: 22px;
  transition: color 0.18s var(--ease);
}
.drawer-nav a:hover { background: rgba(59, 130, 246, 0.09); padding-left: 24px; }
.drawer-nav a:hover .n { color: var(--accent-2); }
.drawer-nav a[aria-current="page"] { color: var(--accent-2); background: rgba(59, 130, 246, 0.07); }
.drawer-nav a[aria-current="page"] .n { color: var(--accent-2); }
.drawer-nav .sub { display: block; font-family: var(--sans); font-size: 12.5px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: 1px; }

/* Staggered link entrance while opening */
.drawer-nav li { opacity: 0; transform: translateX(28px); transition: opacity 0.4s var(--ease), transform 0.45s var(--ease); }
.drawer.open .drawer-nav li { opacity: 1; transform: none; }
.drawer.open .drawer-nav li:nth-child(1) { transition-delay: 0.06s; }
.drawer.open .drawer-nav li:nth-child(2) { transition-delay: 0.1s; }
.drawer.open .drawer-nav li:nth-child(3) { transition-delay: 0.14s; }
.drawer.open .drawer-nav li:nth-child(4) { transition-delay: 0.18s; }
.drawer.open .drawer-nav li:nth-child(5) { transition-delay: 0.22s; }
.drawer.open .drawer-nav li:nth-child(6) { transition-delay: 0.26s; }

.drawer-foot {
  padding: 18px 26px 24px;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 6px;
}
.drawer-foot a { color: var(--text-2); font-size: 14px; font-weight: 600; }
.drawer-foot a:hover { color: var(--accent-2); }
.drawer-foot span { font-family: var(--mono); font-size: 11.5px; color: var(--faint); letter-spacing: 0.05em; }

/* =========================================================================
   Hero — with animated aurora background (transform-only, CSS keyframes)
   ========================================================================= */
.hero { position: relative; padding: clamp(76px, 12vw, 148px) 0 clamp(56px, 8vw, 100px); overflow: clip; }
.hero-aurora { position: absolute; inset: -20% -10%; z-index: -1; pointer-events: none; }
.hero-aurora i {
  position: absolute; border-radius: 50%;
  will-change: transform;
}
.hero-aurora i:nth-child(1) {
  width: 56vw; height: 56vw; max-width: 760px; max-height: 760px;
  left: 52%; top: -22%;
  background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.20), transparent 62%);
  animation: drift-a 26s var(--ease-io) infinite alternate;
}
.hero-aurora i:nth-child(2) {
  width: 44vw; height: 44vw; max-width: 600px; max-height: 600px;
  left: -12%; top: 8%;
  background: radial-gradient(circle at 50% 50%, rgba(34, 211, 238, 0.13), transparent 60%);
  animation: drift-b 32s var(--ease-io) infinite alternate;
}
.hero-aurora i:nth-child(3) {
  width: 38vw; height: 38vw; max-width: 520px; max-height: 520px;
  left: 30%; top: 42%;
  background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.10), transparent 60%);
  animation: drift-c 38s var(--ease-io) infinite alternate;
}
@keyframes drift-a { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-9%, 10%, 0) scale(1.12); } }
@keyframes drift-b { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(12%, -7%, 0) scale(1.08); } }
@keyframes drift-c { from { transform: translate3d(0, 0, 0) scale(0.94); } to { transform: translate3d(-7%, -12%, 0) scale(1.1); } }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 500; color: var(--text-2);
  padding: 8px 15px 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 10px 1px rgba(52, 211, 153, 0.7);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.8); opacity: 0.7; } }

.hero h1 {
  font-family: var(--display);
  font-size: clamp(42px, 7.6vw, 84px);
  line-height: 1.0; letter-spacing: -0.04em; font-weight: 800;
  margin: 0 0 24px; max-width: 15ch;
}
.hero .lede {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--text-2);
  max-width: 56ch; margin: 0 0 38px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-meta {
  margin-top: 52px;
  display: flex; flex-wrap: wrap; gap: 14px 42px;
  font-family: var(--mono); font-size: 12.5px;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 9px; }
.hero-meta span::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 8px var(--glow);
}

/* Product-page hero variant: text + framed screenshot */
.hero-product .container {
  display: grid; grid-template-columns: 1fr; gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
@media (min-width: 960px) { .hero-product .container { grid-template-columns: 1.05fr 0.95fr; } }
.hero-product h1 { font-size: clamp(38px, 5.6vw, 64px); max-width: 16ch; }

/* Framed screenshot ("browser chrome") */
.shot-frame {
  position: relative;
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow:
    0 40px 90px -35px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(59, 130, 246, 0.07),
    0 0 80px -20px var(--glow-soft);
  overflow: hidden;
  transform: perspective(1400px) rotateY(0deg);
}
.shot-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-2); }
.shot-bar i:nth-child(1) { background: rgba(251, 113, 133, 0.6); }
.shot-bar i:nth-child(2) { background: rgba(251, 191, 36, 0.6); }
.shot-bar i:nth-child(3) { background: rgba(52, 211, 153, 0.6); }
.shot-bar .addr {
  flex: 1; margin-left: 8px;
  font-family: var(--mono); font-size: 11px; color: var(--faint);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 7px; padding: 4px 10px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.shot-frame img { width: 100%; height: auto; display: block; }

/* =========================================================================
   Cards — glass, hover lift, cursor spotlight (via --mx/--my from site.js)
   ========================================================================= */
.card {
  position: relative;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--glass-2), var(--glass));
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.card::before {
  /* top gradient hairline */
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
  opacity: 0; transition: opacity 0.28s var(--ease);
}
.card::after {
  /* cursor spotlight */
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(96, 165, 250, 0.09), transparent 65%);
  opacity: 0; transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--border-2);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(59, 130, 246, 0.12);
}
.card:hover::before, .card:hover::after { opacity: 1; }

/* Product showcase cards (home) */
.products { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 820px) { .products { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) and (max-width: 819px) { .products { grid-template-columns: 1fr 1fr; } }
.products.two { max-width: 900px; }
@media (min-width: 820px) { .products.two { grid-template-columns: 1fr 1fr; } }

.product-card { display: flex; flex-direction: column; padding: 0 26px 24px; color: var(--text); }
.product-top {
  position: relative;
  margin: 0 -26px 22px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.product-thumb {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform 0.5s var(--ease);
}
.product-card:hover .product-thumb { transform: scale(1.045); }
.product-top .pill { position: absolute; top: 12px; right: 12px; }
.product-card h3 { font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 5px; }
.product-card .kicker { font-family: var(--mono); font-size: 12px; color: var(--accent-2); letter-spacing: 0.05em; margin: 0 0 12px; }
.product-card .desc { color: var(--text-2); font-size: 15px; margin: 0 0 20px; flex: 1; }
.card-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px; color: var(--accent-2);
}
.card-link svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.product-card:hover .card-link svg, .work-card:hover .card-link svg { transform: translateX(4px); }

.pill {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 7px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.pill-live { color: #6ee7b7; background: rgba(8, 20, 16, 0.7); border: 1px solid rgba(16, 185, 129, 0.32); }
.pill-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px rgba(52, 211, 153, 0.8); }

/* Feature tiles */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-grid.four { }
@media (min-width: 980px) { .feature-grid.four { grid-template-columns: repeat(4, 1fr); } }
.feature { padding: 26px 24px; border-radius: var(--r); }
.feature .ic {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.24);
  color: var(--accent-2);
  margin-bottom: 16px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.feature:hover .ic { transform: translateY(-2px) scale(1.05); box-shadow: 0 8px 20px -8px var(--glow); }
.feature .ic svg { width: 20px; height: 20px; }
.feature h3 { font-size: 16.5px; font-weight: 700; margin: 0 0 7px; letter-spacing: -0.01em; }
.feature p { font-size: 14px; color: var(--muted); margin: 0; }

/* Client work cards */
.work-card { display: flex; flex-direction: column; padding: 0 26px 24px; color: var(--text); }
.work-card h3 { font-family: var(--display); font-size: 20px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 4px; }
.work-card .kicker { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.04em; margin: 0 0 12px; }
.work-card .desc { color: var(--text-2); font-size: 14.5px; margin: 0 0 18px; flex: 1; }

/* Stat band */
.stat-band {
  display: grid; gap: 18px; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--glass-2), transparent);
  padding: clamp(24px, 4vw, 40px);
}
@media (min-width: 760px) { .stat-band { grid-template-columns: repeat(4, 1fr); } }
.stat-band .stat { text-align: center; }
.stat-band .n {
  font-family: var(--display);
  font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; letter-spacing: -0.03em;
  background: linear-gradient(115deg, var(--text) 30%, var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-band .l { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

/* Checklist (pricing / included) */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--text-2); }
.check-list li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--ok); }
.check-list li b { color: var(--text); font-weight: 600; }

/* Pricing card */
.pricing-wrap { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: stretch; max-width: 980px; margin: 0 auto; }
@media (min-width: 860px) { .pricing-wrap { grid-template-columns: 1fr 1.1fr; } }
.price-card {
  position: relative;
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: var(--r-lg);
  background:
    radial-gradient(560px 300px at 50% -20%, rgba(59, 130, 246, 0.2), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  padding: clamp(30px, 4.5vw, 44px);
  text-align: center;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), 0 0 60px -20px var(--glow-soft);
}
.price-card .plan { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 18px; }
.price-figure { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin-bottom: 6px; }
.price-figure .cur { font-size: 26px; font-weight: 700; color: var(--text-2); }
.price-figure .amt {
  font-family: var(--display);
  font-size: clamp(64px, 9vw, 88px); font-weight: 800; letter-spacing: -0.05em; line-height: 1;
  background: linear-gradient(115deg, #fff 20%, var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price-figure .per { font-size: 16px; color: var(--muted); font-weight: 500; }
.price-sub { color: var(--muted); font-size: 15px; margin: 0 0 26px; }
.price-note { font-family: var(--mono); font-size: 12px; color: var(--faint); margin-top: 16px; }
.price-includes { padding: clamp(26px, 4vw, 38px); border-radius: var(--r-lg); }
.price-includes h3 { font-family: var(--display); font-size: 20px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 18px; }

/* Download band */
.dl-band {
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px;
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  background:
    radial-gradient(480px 240px at 0% 0%, rgba(34, 211, 238, 0.1), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  padding: clamp(26px, 4vw, 40px);
}
.dl-band .txt { flex: 1 1 380px; }
.dl-band h3 { font-family: var(--display); font-size: clamp(20px, 3vw, 26px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 8px; }
.dl-band p { color: var(--muted); font-size: 15px; margin: 0; max-width: 58ch; }

/* Process steps (custom page) */
.steps { display: grid; grid-template-columns: 1fr; gap: 18px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: 24px 22px; border-radius: var(--r); }
.step .num {
  font-family: var(--mono); font-size: 13px; color: var(--accent-2);
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(59, 130, 246, 0.35);
  background: rgba(59, 130, 246, 0.08);
  margin-bottom: 14px;
}
.step h3 { font-size: 16px; font-weight: 700; margin: 0 0 6px; letter-spacing: -0.01em; }
.step p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* Founder note */
.founder {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background:
    radial-gradient(640px 320px at 100% 0%, rgba(59, 130, 246, 0.11), transparent 60%),
    linear-gradient(180deg, var(--surface), var(--bg-2));
  padding: clamp(32px, 5vw, 58px);
}
.founder blockquote {
  font-family: var(--display);
  font-size: clamp(20px, 3vw, 29px);
  line-height: 1.38; font-weight: 600; letter-spacing: -0.02em;
  margin: 0 0 28px; color: var(--text); max-width: 42ch;
}
.founder-by { display: flex; align-items: center; gap: 14px; }
.founder-by .avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  display: grid; place-items: center;
  font-weight: 800; color: #061018; font-size: 16px;
}
.founder-by .who b { display: block; font-size: 15px; }
.founder-by .who span { font-size: 13px; color: var(--muted); }

/* CTA band */
.cta-band {
  position: relative;
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: var(--r-lg);
  background:
    radial-gradient(860px 420px at 50% -45%, rgba(59, 130, 246, 0.26), transparent 62%),
    radial-gradient(500px 300px at 90% 110%, rgba(34, 211, 238, 0.1), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  padding: clamp(44px, 7vw, 84px) 28px;
  text-align: center;
  overflow: hidden;
}
.cta-band h2 {
  font-family: var(--display);
  font-size: clamp(30px, 4.8vw, 50px); letter-spacing: -0.035em; font-weight: 800;
  margin: 0 0 14px;
}
.cta-band p { font-size: clamp(16px, 2vw, 18px); color: var(--text-2); margin: 0 auto 32px; max-width: 52ch; }
.cta-band .hero-cta { justify-content: center; }

/* =========================================================================
   Footer
   ========================================================================= */
.footer { border-top: 1px solid var(--border); margin-top: 40px; padding: 60px 0 42px; background: rgba(3, 5, 10, 0.4); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px 28px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }
.footer .brand { margin-bottom: 16px; }
.footer .tagline { color: var(--muted); font-size: 14px; max-width: 34ch; }
.footer h4 {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--faint); margin: 0 0 16px; font-weight: 600;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer ul a, .footer ul span { color: var(--text-2); font-size: 14px; transition: color 0.15s; }
.footer ul a:hover { color: var(--accent-2); }
.footer-bottom {
  margin-top: 46px; padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 12.5px; color: var(--muted); font-family: var(--mono); letter-spacing: 0.03em;
}

/* =========================================================================
   Scroll reveal
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
/* Stagger children of a revealed grid */
.reveal-group > * { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal-group.in > * { opacity: 1; transform: none; }
.reveal-group.in > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-group.in > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-group.in > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-group.in > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-group.in > *:nth-child(6) { transition-delay: 0.4s; }

/* =========================================================================
   Reduced motion — kill every non-essential animation
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal, .reveal-group > * { opacity: 1; transform: none; }
  .hero-aurora i { animation: none; }
  .drawer-nav li { opacity: 1; transform: none; }
}
