/* ==========================================================================
   Laborplace Adapter — landing styles
   Clean, modern, responsive. Indigo + slate palette.
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-muted: #f6f7fb;
  --bg-dark: #0f172a;
  --text: #1e293b;
  --text-soft: #475569;
  --text-faint: #64748b;
  --border: #e2e8f0;
  --primary: #4f46e5;
  --primary-strong: #4338ca;
  --primary-soft: #eef2ff;
  --accent: #06b6d4;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .04);
  --shadow-md: 0 10px 25px -10px rgba(15, 23, 42, .25);
  --shadow-lg: 0 24px 60px -24px rgba(79, 70, 229, .45);
  --container: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--primary-strong); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }

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

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: inherit; font-weight: 600; cursor: pointer;
  padding: 12px 22px; border-radius: var(--radius-sm);
  border: 1px solid transparent; transition: all .18s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--primary-strong); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--bg-muted); }
.btn-light { background: #fff; color: var(--primary-strong); }
.btn-light:hover { background: #f1f5f9; }
.btn-sm { padding: 9px 16px; font-size: .95rem; }
.btn-block { width: 100%; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; }
.brand:hover { text-decoration: none; }
.brand-mark { color: var(--primary); display: inline-flex; }
.brand-name { font-size: 1.1rem; letter-spacing: -.02em; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--text-soft); font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-cta { margin-left: 8px; }
.nav-toggle {
  display: none; margin-left: auto;
  flex-direction: column; gap: 5px; padding: 8px;
  background: none; border: 0; cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .2s; }
.mobile-menu {
  display: none; /* hidden by default; toggle via .is-open (CSS beats [hidden]) */
  flex-direction: column; gap: 12px;
  padding: 16px 24px 22px; border-bottom: 1px solid var(--border);
  background: #fff;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a { color: var(--text); font-weight: 600; padding: 6px 0; }
.mobile-menu .btn { margin-top: 6px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 480px at 78% -8%, rgba(79, 70, 229, .16), transparent 60%),
    radial-gradient(800px 420px at 8% 0%, rgba(6, 182, 212, .12), transparent 55%),
    var(--bg);
  padding: 84px 0 72px;
}
.hero-inner { max-width: 820px; }
.eyebrow {
  display: inline-block; margin: 0 0 14px;
  font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--primary-strong);
  background: var(--primary-soft); padding: 6px 12px; border-radius: 999px;
}
.hero h1 { margin-bottom: 18px; }
.hero .lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--text-soft); max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 26px; }
.hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero-points li { color: var(--text-soft); font-weight: 500; }
.hero-points span { color: var(--primary); font-weight: 800; margin-right: 6px; }

/* ---------- metrics ---------- */
.metrics { border-block: 1px solid var(--border); background: var(--bg-muted); }
.metrics-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
}
.metric { background: var(--bg-muted); padding: 28px 16px; text-align: center; }
.metric-value { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; color: var(--primary-strong); }
.metric-label { color: var(--text-faint); font-size: .92rem; margin-top: 4px; }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section-muted { background: var(--bg-muted); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head-left { margin-left: 0; text-align: left; }
.section-sub { color: var(--text-faint); font-size: 1.05rem; }

/* ---------- feature cards ---------- */
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.5rem; background: var(--primary-soft); margin-bottom: 16px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-soft); margin: 0; font-size: .98rem; }

/* ---------- steps ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  counter-reset: step;
}
.steps li { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 800; margin-bottom: 14px;
}
.steps p { color: var(--text-soft); margin: 0; font-size: .98rem; }

/* ---------- cta band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, #6366f1 55%, var(--accent) 130%);
  color: #fff; padding: 64px 0;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: rgba(255, 255, 255, .9); margin: 0; }

/* ---------- contacts ---------- */
.contacts-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.contact-label { display: block; color: var(--text-faint); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.contact-list a, .contact-list span:last-child { color: var(--text); font-size: 1.05rem; }
.contact-form {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--text);
  padding: 11px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79, 70, 229, .15);
}
.form-note { margin: 12px 0 0; color: var(--primary-strong); font-weight: 600; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-dark); color: #cbd5e1; padding: 48px 0 32px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; align-items: start; }
.footer-brand .brand-name { color: #fff; font-weight: 800; font-size: 1.1rem; }
.footer-brand p { color: #94a3b8; margin-top: 8px; max-width: 320px; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: #cbd5e1; }
.footer-nav a:hover { color: #fff; }
.copyright { color: #94a3b8; font-size: .9rem; align-self: end; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .contacts-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .section { padding: 60px 0; }
  .hero { padding: 60px 0 52px; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr; }
  .copyright { align-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
  .btn:hover, .card:hover { transform: none; }
}
