/* Laaly Legal Training — static marketing site */
:root {
  --ink: #0d1b2a;
  --muted: #596779;
  --paper: #f7f8fa;
  --line: #dfe4ea;
  --accent: #163d6b;
  --accent-2: #0c2f55;
  --white: #ffffff;
  --soft: #eef3f8;
  --max: 1160px;
  --radius: 18px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

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

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(223,228,234,.8);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 750;
  letter-spacing: -.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  letter-spacing: .05em;
}

.brand-text { font-size: 16px; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
}

.nav a:not(.nav-cta) { color: #39485b; }
.nav a:hover { opacity: .75; }

.nav-cta {
  padding: 10px 16px;
  color: white;
  background: var(--ink);
  border-radius: 999px;
}

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
}

.hero {
  padding: 92px 0 80px;
  background:
    radial-gradient(circle at 80% 20%, rgba(22,61,107,.10), transparent 30%),
    linear-gradient(180deg, #fff 0%, #f9fbfd 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow.light { color: #b9d0e7; }

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 24px;
  max-width: 850px;
  font-size: clamp(48px, 6vw, 78px);
  line-height: .98;
  letter-spacing: -.055em;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.05;
  letter-spacing: -.04em;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.2;
}

.hero-lede {
  max-width: 700px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  transition: transform .18s ease, opacity .18s ease;
}

.button:hover { transform: translateY(-1px); }

.button.primary {
  background: var(--accent);
  color: var(--white);
}

.button.secondary {
  background: var(--white);
  border: 1px solid var(--line);
}

.microcopy {
  margin-top: 18px;
  max-width: 610px;
  color: #778497;
  font-size: 13px;
}

.hero-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 24px 80px rgba(13,27,42,.08);
}

.status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 20px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3f8f67;
  box-shadow: 0 0 0 5px rgba(63,143,103,.10);
}

.workflow {
  display: grid;
  gap: 4px;
  margin: 18px 0;
}

.workflow-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}

.workflow-item:last-child { border-bottom: 0; }

.workflow-item p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.step {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.card-footer {
  padding-top: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-items {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #718094;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.section { padding: 100px 0; }
.section.alt { background: var(--paper); }

.two-col,
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 76px;
  align-items: start;
}

.body-copy {
  color: var(--muted);
  font-size: 18px;
}

.body-copy p + p { margin-top: 22px; }

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading > p {
  color: var(--muted);
  font-size: 18px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  padding: 30px;
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.feature-card p {
  color: var(--muted);
  font-size: 15px;
}

.feature-number {
  margin-bottom: 52px;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 800;
}

.audience-list {
  border-top: 1px solid var(--line);
}

.audience-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.audience-item span {
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 800;
}

.audience-item strong { font-size: 17px; }

.founder {
  padding: 88px 0;
  background: var(--ink);
  color: var(--white);
}

.founder-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: end;
}

.founder h2 {
  max-width: 760px;
}

.founder p {
  max-width: 720px;
  color: #c7d2df;
  font-size: 17px;
}

.light-button {
  background: var(--white);
  color: var(--ink);
  white-space: nowrap;
}

.contact-section { padding-bottom: 120px; }

.contact-box {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 50px;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--soft);
}

.contact-box h2 { margin-bottom: 8px; }
.contact-box p { color: var(--muted); margin-bottom: 0; }

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.text-link {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

footer {
  padding: 54px 0 30px;
  background: #0a1521;
  color: #dce5ef;
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.footer-grid p {
  color: #8fa2b7;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 22px;
  color: #aebdcb;
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.10);
  color: #7f93a8;
  font-size: 12px;
}

.legal-page {
  min-height: 70vh;
  padding: 80px 0 120px;
}

.legal-page article {
  max-width: 820px;
}

.legal-page h1 {
  font-size: clamp(42px, 6vw, 64px);
}

.legal-page h2 {
  margin-top: 38px;
  font-size: 26px;
  letter-spacing: -.025em;
}

.legal-page p, .legal-page li {
  color: var(--muted);
}

@media (max-width: 880px) {
  .nav { display: none; }
  .nav.open {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 20px 22px;
    background: white;
    border-bottom: 1px solid var(--line);
  }
  .nav.open a { padding: 12px 4px; }
  .nav.open .nav-cta {
    margin-top: 8px;
    padding: 10px 16px;
    text-align: center;
  }
  .menu-button { display: block; }

  .hero-grid,
  .two-col,
  .audience-grid,
  .founder-inner,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .hero { padding-top: 68px; }
  .hero-grid { gap: 44px; }

  .cards { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .feature-number { margin-bottom: 32px; }

  .founder-inner { gap: 28px; }
  .contact-actions { width: 100%; }
  .contact-actions .button { width: 100%; }

  .trust-items {
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px 0;
  }

  .footer-bottom,
  .footer-grid {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .brand-text { font-size: 14px; }
  .hero { padding: 54px 0 60px; }
  h1 { font-size: 47px; }
  .section { padding: 74px 0; }
  .contact-box { padding: 28px; }
  .footer-links { flex-wrap: wrap; }
}
