/* =========================================================
   LOAD Labs LLC — site styles
   Single stylesheet, no dependencies.
   ========================================================= */

:root {
  --bg:           #07130e;
  --bg-soft:      #0b1c14;
  --surface:      #0e2218;
  --surface-2:    #14301f;
  --border:       #1e4030;
  --text:         #e8f4ec;
  --text-muted:   #9cb8a8;
  --text-dim:     #6a8576;
  --brand:        #5fd49a;
  --brand-2:      #2bae84;
  --brand-soft:   rgba(95, 212, 154, 0.13);
  --accent:       #97ebb6;
  --danger:       #ff6b6b;
  --radius:       14px;
  --radius-lg:    22px;
  --maxw:         1120px;
  --shadow:       0 18px 50px -20px rgba(0, 0, 0, 0.6);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
          Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

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

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.18rem; font-weight: 650; }

p { margin: 0 0 1rem; color: var(--text-muted); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #05231a;
  box-shadow: 0 10px 30px -12px rgba(43, 174, 132, 0.7);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--surface-2); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  background: rgba(11, 15, 23, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  font-size: 1.08rem;
}
.brand:hover { text-decoration: none; }
.brand .mark { width: 30px; height: 30px; }
.wordmark { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.02em; color: var(--text); }
.wordmark b {
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-cta { margin-left: 6px; }
/* keep the primary-button dark text on the nav CTA (overrides .nav-links a color) */
.nav-links a.nav-cta,
.nav-links a.nav-cta:hover { color: #05231a; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 12vw, 140px) 0 clamp(60px, 9vw, 110px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -30% 30% auto -10%;
  height: 620px;
  background: radial-gradient(closest-side, rgba(95, 212, 154, 0.20), transparent 70%);
  filter: blur(10px);
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: -20% -10% auto 40%;
  height: 560px;
  background: radial-gradient(closest-side, rgba(43, 174, 132, 0.16), transparent 70%);
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero p.lead {
  font-size: 1.18rem;
  color: var(--text-muted);
  max-width: 38ch;
}
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 34px;
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  color: var(--text-dim);
  font-size: 0.86rem;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }

/* Hero visual card */
.hero-visual {
  background: linear-gradient(160deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 22px;
}
.window-bar { display: flex; gap: 7px; margin-bottom: 18px; }
.window-bar i {
  width: 11px; height: 11px; border-radius: 50%;
  background: #2c3650; display: inline-block;
}
.window-bar i:nth-child(1) { background: #ff5f57; }
.window-bar i:nth-child(2) { background: #febc2e; }
.window-bar i:nth-child(3) { background: #28c840; }
.metric-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.metric {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.metric .k { font-size: 0.76rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; }
.metric .v { font-size: 1.5rem; font-weight: 700; color: var(--text); margin-top: 4px; }
.metric .v small { font-size: 0.8rem; color: var(--accent); font-weight: 600; }
.spark {
  grid-column: 1 / -1;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 14px;
}
.spark svg { width: 100%; height: 80px; }

/* Studio portfolio mock (hero visual) */
.app-stack { display: flex; flex-direction: column; gap: 12px; }
.app-row {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.app-ico {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-weight: 800;
  color: #fff;
  font-size: 1.1rem;
  background: linear-gradient(135deg, var(--c1, var(--brand)), var(--c2, var(--brand-2)));
}
.app-ico.lg { width: 52px; height: 52px; border-radius: 14px; font-size: 1.35rem; }
.app-meta { display: flex; flex-direction: column; line-height: 1.3; flex: 1; }
.app-meta b { color: var(--text); font-size: 1rem; }
.app-meta small { color: var(--text-dim); font-size: 0.82rem; }
/* Skeleton placeholder bars (abstract, reveals no product detail) */
.app-meta .skel {
  display: block;
  height: 9px;
  border-radius: 5px;
  background: linear-gradient(90deg, #1d3b2a, #275035, #1d3b2a);
}
.app-meta .skel + .skel { margin-top: 7px; height: 7px; opacity: 0.6; }
.skel.w-70 { width: 70%; } .skel.w-60 { width: 60%; } .skel.w-50 { width: 50%; }
.skel.w-45 { width: 45%; } .skel.w-40 { width: 40%; } .skel.w-35 { width: 35%; }

.badge {
  font-size: 0.72rem; font-weight: 650;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  white-space: nowrap;
}
.badge-soon { color: var(--accent); border-color: rgba(95, 212, 154, 0.35); background: rgba(95, 212, 154, 0.08); }

/* Product cards */
.product .product-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.product h3 { color: var(--text); }

/* ---------- Sections ---------- */
section { padding: clamp(64px, 9vw, 110px) 0; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.08rem; }

/* ---------- Feature grid ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: #33436b; transform: translateY(-3px); }
.card .icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 18px;
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { color: var(--text); }
.card p { margin-bottom: 0; font-size: 0.97rem; }

/* ---------- Split / about ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.bg-soft { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.checklist { list-style: none; padding: 0; margin: 22px 0 0; }
.checklist li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0;
  color: var(--text-muted);
}
.checklist li svg { flex: none; width: 22px; height: 22px; color: var(--accent); margin-top: 1px; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.stat .num {
  font-size: 2.2rem; font-weight: 750;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat .label { color: var(--text-muted); font-size: 0.94rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 16px;
}
.step h3 { color: var(--text); }
.step p { margin-bottom: 0; font-size: 0.96rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, rgba(95,212,154,0.13), rgba(43,174,132,0.13));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 60px);
  text-align: center;
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { max-width: 52ch; margin: 0 auto 26px; font-size: 1.06rem; }

/* ---------- Contact ---------- */
.contact-simple { text-align: center; }
.contact-simple .btn { font-size: 1rem; }
.contact-meta {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 8px 14px; margin-top: 22px;
  color: var(--text-muted); font-size: 0.95rem;
}
.contact-meta span[aria-hidden] { color: var(--text-dim); }

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.contact-card + .contact-card { margin-top: 16px; }
.contact-card .label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); }
.contact-card .value { font-size: 1.06rem; color: var(--text); font-weight: 600; margin-top: 4px; }
.contact-card .value a { color: var(--text); }

form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-size: 0.86rem; font-weight: 600; color: var(--text-muted); margin: 14px 0 6px; }
input, textarea, select {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.96rem;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
textarea { resize: vertical; min-height: 120px; }
form .btn { margin-top: 20px; }
.form-note { font-size: 0.82rem; color: var(--text-dim); margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 56px 0 34px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer-grid p { font-size: 0.94rem; max-width: 34ch; }
.footer-col h4 {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-dim); margin: 0 0 14px;
}
.footer-col a { display: block; color: var(--text-muted); font-size: 0.95rem; padding: 5px 0; }
.footer-col a:hover { color: var(--text); text-decoration: none; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  color: var(--text-dim);
  font-size: 0.88rem;
}

/* ---------- Legal pages ---------- */
.legal { padding: clamp(56px, 8vw, 90px) 0; }
.legal .container { max-width: 800px; }
.legal h1 { margin-bottom: 8px; }
.legal .updated { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 36px; }
.legal h2 { font-size: 1.35rem; margin-top: 40px; }
.legal h3 { margin-top: 26px; color: var(--text); }
.legal p, .legal li { color: var(--text-muted); }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .features, .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { order: -1; }
}
@media (max-width: 680px) {
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 18px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-links .nav-cta { margin: 12px 0 0; }
  .nav-toggle {
    display: inline-grid; place-items: center;
    width: 42px; height: 42px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    cursor: pointer;
  }
  .features, .steps, .stat-grid, .footer-grid, form .row { grid-template-columns: 1fr; }
  .metric-row { grid-template-columns: 1fr 1fr; }
}
