/* Journey Lab LLC — styles */
:root {
  --bg: #0b0f17;
  --bg-soft: #111725;
  --surface: #141b2b;
  --border: #223049;
  --text: #e8edf5;
  --muted: #9aa7bd;
  --accent: #4f8cff;
  --accent-soft: rgba(79, 140, 255, 0.12);
  --accent-2: #38e1b0;
  --radius: 14px;
  --max: 1120px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 23, 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  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: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 1.05rem;
}
.brand .logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  color: #04121f;
  font-weight: 800;
  font-size: 0.95rem;
}
.brand small {
  display: block;
  font-weight: 500;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.94rem;
}
.nav-links a { color: var(--muted); transition: color 0.15s ease; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  padding: 9px 18px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff !important;
  font-weight: 600;
}
.nav-cta:hover { background: #3f7cf0; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 1.5rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 110px 0 90px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -140px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle at center, rgba(79, 140, 255, 0.22), transparent 62%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -260px;
  left: -160px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle at center, rgba(56, 225, 176, 0.14), transparent 62%);
  pointer-events: none;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(79, 140, 255, 0.25);
}
.hero h1 {
  margin: 22px 0 20px;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 15ch;
}
.hero h1 span { color: var(--accent); }
.hero p.lead {
  font-size: 1.16rem;
  color: var(--muted);
  max-width: 60ch;
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 11px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #3f7cf0; }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-wa { background: #25d366; color: #04231a; }
.btn-wa:hover { background: #1fbe5a; }

.hero-meta {
  margin-top: 46px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-meta div strong { display: block; font-size: 1.6rem; letter-spacing: -0.01em; }
.hero-meta div span { color: var(--muted); font-size: 0.9rem; }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 84px 0; }
.section-head { max-width: 620px; margin-bottom: 48px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}
.section-head p { color: var(--muted); font-size: 1.05rem; }
.alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------- Services grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(79, 140, 255, 0.5); }
.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-size: 1.3rem;
}
.card h3 { font-size: 1.12rem; margin-bottom: 8px; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Approach ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.approach-list { list-style: none; display: flex; flex-direction: column; gap: 22px; }
.approach-list li { display: flex; gap: 16px; }
.approach-list .num {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
}
.approach-list h4 { font-size: 1.02rem; margin-bottom: 3px; }
.approach-list p { color: var(--muted); font-size: 0.94rem; }

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.panel h3 { margin-bottom: 18px; font-size: 1.15rem; }
.stack-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  padding: 7px 14px;
  border-radius: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  font-size: 0.86rem;
  color: var(--muted);
}

/* ---------- Contact ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-card .icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--accent-soft); display: grid; place-items: center; font-size: 1.4rem;
  margin-bottom: 6px;
}
.contact-card h3 { font-size: 1.1rem; }
.contact-card p { color: var(--muted); font-size: 0.94rem; }
.contact-card a.value { color: var(--accent); font-weight: 600; font-size: 1.02rem; word-break: break-word; }

/* ---------- Contact form ---------- */
.form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 0.86rem; color: var(--muted); font-weight: 500; }
.field input, .field textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.96rem;
  transition: border-color 0.15s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid p { color: var(--muted); font-size: 0.92rem; max-width: 40ch; margin-top: 14px; }
.footer-col h5 {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--muted); margin-bottom: 14px;
}
.footer-col a { display: block; color: var(--text); font-size: 0.94rem; margin-bottom: 10px; opacity: 0.85; }
.footer-col a:hover { opacity: 1; color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 0.86rem;
}

/* ---------- Legal pages ---------- */
.legal { padding: 70px 0 90px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: 2.2rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 40px; }
.legal h2 { font-size: 1.25rem; margin: 34px 0 12px; letter-spacing: -0.01em; }
.legal h3 { font-size: 1.05rem; margin: 22px 0 8px; }
.legal p, .legal li { color: var(--muted); font-size: 0.98rem; margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal a { color: var(--accent); }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 0.92rem; margin-bottom: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .grid { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 80px 0 64px; }
  .hero-meta { gap: 26px; }
}
