/* ============================================
   IrishLaw.ai — Landing Page Styles
   Standalone stylesheet; assumes typography.css and tokens.css are loaded first.
   ============================================ */

/* ---- Landing-specific custom properties ---- */
:root {
  --l-navy:        #0F2440;
  --l-navy-deep:   #0C1A2E;
  --l-green:       #166534;
  --l-green-light: #86EFAC;
  --l-gold:        #CA8A04;
  --l-paper:       #FDFAF5;
  --l-paper-warm:  #F9F5EE;
  --l-near-black:  #0D1117;
  --l-stripe:      linear-gradient(90deg, #166534 0%, #CA8A04 100%);
  --l-card-radius: 8px;
}

/* ---- Skip link (keyboard accessibility) ---- */
.l-skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--l-green);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
  transition: top 0.15s;
}
.l-skip-link:focus { top: 0; }

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: #1F2937;
  background: var(--l-near-black);
  overflow-x: hidden;
}

/* ============================================================
   NAV
   ============================================================ */
.l-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 64px;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

.l-nav.scrolled {
  background: rgba(15, 36, 64, 0.9);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.l-nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.l-nav__badge {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--l-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  letter-spacing: -0.5px;
}

.l-nav__wordmark {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  line-height: 1;
}
.l-nav__wordmark em { font-style: normal; color: var(--l-green-light); }

.l-nav__center {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.l-nav__pill {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  padding: 4px 12px;
}
.l-nav__pill--beta {
  background: rgba(22, 101, 52, 0.3);
  border-color: rgba(134, 239, 172, 0.35);
  color: #86EFAC;
}

.l-nav__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}
.l-nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  transition: color 0.2s;
}
.l-nav__links a:hover { color: #fff; }

.l-nav__cta {
  background: var(--l-green);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}
.l-nav__cta:hover { background: #14532D; transform: translateY(-1px); }


/* ============================================================
   SHARED BUTTONS
   ============================================================ */
.l-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--l-green);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(22, 101, 52, 0.35);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.l-btn-primary:hover {
  background: #14532D;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22, 101, 52, 0.45);
}

.l-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: color 0.2s, border-color 0.2s, transform 0.15s;
}
.l-btn-ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}


/* ============================================================
   SHARED SECTION HEADER
   ============================================================ */
.l-section-header { text-align: center; margin-bottom: 3.5rem; }

.l-section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--l-green);
  margin-bottom: 0.75rem;
}

.l-section-title {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--l-navy);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.l-section-sub {
  font-size: 1.0625rem;
  color: #4B5563;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}


/* ============================================================
   HERO
   ============================================================ */
.l-hero {
  position: relative;
  background: var(--l-navy);
  padding: 120px 2rem 96px;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Top gradient stripe */
.l-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--l-stripe);
}

/* Dot-grid texture */
.l-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.l-hero__harp {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.04;
  width: 460px;
  height: auto;
  pointer-events: none;
}

.l-hero__container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* ---- Hero copy ---- */
.l-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--l-green-light);
  margin-bottom: 1.25rem;
}

.l-hero__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--l-green-light);
  animation: dotPulse 2.2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1;   transform: scale(1);    }
  50%       { opacity: 0.4; transform: scale(0.7);  }
}

.l-hero__headline {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 1.25rem;
}
.l-hero__headline em { font-style: italic; color: var(--l-green-light); }

.l-hero__sub {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  max-width: 520px;
}

.l-hero__pain {
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--l-gold);
  border-radius: 0 6px 6px 0;
  padding: 1rem 1.25rem;
  margin-bottom: 2.5rem;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
}
.l-hero__pain strong { color: rgba(255, 255, 255, 0.85); font-weight: 600; }

.l-hero__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.l-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.l-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 4px 8px;
}
.l-trust-badge svg { color: var(--l-green-light); flex-shrink: 0; }

/* ---- Scroll pill ---- */
.l-scroll-pill {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  animation: scrollFloat 2.4s ease-in-out infinite;
  transition: opacity 0.4s ease;
}
.l-scroll-pill:hover {
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.3);
}
.l-scroll-pill.hidden { opacity: 0; pointer-events: none; }

@keyframes scrollFloat {
  0%, 100% { translate: -50% 0;   }
  50%       { translate: -50% 6px; }
}

@media (max-width: 768px) {
  .l-scroll-pill { display: none; }
}

/* ---- Hero mockup ---- */
.l-hero__mockup {
  animation: mockupFloat 6s ease-in-out infinite;
}

@keyframes mockupFloat {
  0%, 100% { transform: translateY(0);    }
  50%       { transform: translateY(-12px); }
}

.l-mockup {
  background: #1A2E4A;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5), 0 4px 16px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  max-width: 480px;
  width: 100%;
}

.l-mockup__chrome {
  background: #152335;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.l-mockup__dots { display: flex; gap: 6px; }
.l-mockup__dot  { width: 11px; height: 11px; border-radius: 50%; }
.l-mockup__dot--red    { background: #FF5F57; }
.l-mockup__dot--yellow { background: #FEBC2E; }
.l-mockup__dot--green  { background: #28C840; }

.l-mockup__url {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 11px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: rgba(255, 255, 255, 0.4);
}

.l-mockup__body { padding: 1.25rem; }

.l-mockup__query-label,
.l-mockup__result-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
  margin-bottom: 0.5rem;
}

.l-mockup__query {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.l-mockup__result {
  background: rgba(22, 101, 52, 0.12);
  border: 1px solid rgba(22, 101, 52, 0.25);
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 0.75rem;
}
.l-mockup__result-text {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0.5rem;
}

.l-mockup__eli {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--l-green-light);
  background: rgba(134, 239, 172, 0.1);
  border-radius: 4px;
  padding: 2px 8px;
}

.l-mockup__typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 0 2px;
}
.l-mockup__typing-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--l-green-light);
  animation: typingBlink 1.4s ease-in-out infinite;
}
.l-mockup__typing-dot:nth-child(2) { animation-delay: 0.2s; }
.l-mockup__typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBlink {
  0%, 80%, 100% { opacity: 0.2; transform: scale(0.75); }
  40%            { opacity: 1;   transform: scale(1);    }
}


/* ============================================================
   STATS BAND
   ============================================================ */
.l-stats {
  background: var(--l-green);
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}
.l-stats::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.l-stats__container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.l-stat__number {
  display: block;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  color: var(--l-gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.l-stat__label {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.4;
}

.l-stat__sub {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.52);
  margin-top: 0.25rem;
}

.l-stats__updated {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.42);
  letter-spacing: 0.03em;
  margin: 2rem auto 0;
}


/* ============================================================
   DEPLOYMENT FLEXIBILITY
   ============================================================ */
.l-deploy {
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 4rem 2rem;
}

.l-deploy__container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.l-deploy__heading {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--l-navy);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.l-deploy__sub {
  font-size: 1rem;
  color: #4B5563;
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

.l-deploy__modes {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.l-deploy__mode {
  flex: 1;
  min-width: 210px;
  max-width: 290px;
  border: 1.5px solid rgba(15, 36, 64, 0.15);
  border-radius: 10px;
  padding: 1.5rem 1.25rem;
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.l-deploy__mode:hover {
  border-color: var(--l-green);
  box-shadow: 0 4px 16px rgba(22, 101, 52, 0.1);
}

.l-deploy__mode-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #DCFCE7;
  color: var(--l-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.l-deploy__mode-label {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--l-navy);
  margin-bottom: 0.25rem;
}

.l-deploy__mode-desc {
  font-size: 0.875rem;
  color: #6B7280;
  line-height: 1.55;
}

.l-deploy__quote {
  border-left: 3px solid var(--l-green);
  background: rgba(22, 101, 52, 0.06);
  border-radius: 0 8px 8px 0;
  padding: 1.125rem 1.5rem;
  margin: 1.75rem auto 2rem;
  max-width: 560px;
}
.l-deploy__quote-text {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.125rem;
  font-weight: 600;
  font-style: italic;
  color: var(--l-navy);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}
.l-deploy__quote-source {
  font-size: 0.8125rem;
  font-style: normal;
  color: #6B7280;
}
.l-deploy__quote-source a {
  color: var(--l-green);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(22, 101, 52, 0.4);
}
.l-deploy__quote-source a:hover { text-decoration-color: var(--l-green); }

.l-deploy__quote-note {
  font-size: 0.775rem;
  color: #9CA3AF;
  font-style: normal;
  margin: 0.5rem 0 0;
  line-height: 1.5;
}

/* ---- Register-interest form ---- */
.l-deploy__interest {
  margin-top: 2.5rem;
  border-top: 1px solid #E5E7EB;
  padding-top: 2rem;
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.l-deploy__interest-heading {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--l-navy);
  margin-bottom: 0.5rem;
}

.l-deploy__interest-sub {
  font-size: 1rem;
  color: #6B7280;
  margin: 0 0 1.25rem;
  line-height: 1.6;
}

.l-deploy__interest-consent {
  font-size: 0.775rem;
  color: #9CA3AF;
  margin: 0.75rem 0 0;
  line-height: 1.5;
}

.l-deploy__interest-consent a {
  color: #6B7280;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 768px) {
  .l-deploy__modes { flex-direction: column; align-items: center; }
  .l-deploy__mode  { max-width: 100%; width: 100%; }
}


/* ============================================================
   FEATURES
   ============================================================ */
.l-features {
  background: var(--l-paper);
  padding: 6rem 2rem;
}

.l-features__container { max-width: 1100px; margin: 0 auto; }

.l-card--hero {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.l-card--hero__content {
  flex: 0 0 52%;
  min-width: 0;
}

.l-card--hero__media {
  flex: 1;
  min-width: 0;
}

.l-card--hero__media video {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  display: block;
}

@media (max-width: 900px) {
  .l-card--hero {
    flex-direction: column;
  }
  .l-card--hero__content {
    flex: none;
    width: 100%;
  }
  .l-card--hero__media {
    width: 100%;
  }
}

.l-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ---- Feature card ---- */
.l-card {
  background: #fff;
  border-radius: var(--l-card-radius);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-left: 3px solid var(--l-green);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-left-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.l-card:hover {
  border-left-color: var(--l-gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.09);
}

.l-card--coming-soon {
  opacity: 0.62;
  border-left-color: #D1D5DB;
}
.l-card--coming-soon:hover {
  border-left-color: #D1D5DB;
  transform: none;
  box-shadow: none;
}
.l-card--coming-soon .l-card__cta,
.l-card--coming-soon a {
  pointer-events: none;
}

.l-live-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #DCFCE7;
  color: #166534;
  border: 1px solid #BBF7D0;
  border-radius: 100px;
  padding: 3px 10px;
  margin-bottom: 0.75rem;
}

.l-coming-soon-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #F3F4F6;
  color: #6B7280;
  border: 1px solid #E5E7EB;
  border-radius: 100px;
  padding: 3px 10px;
  margin-bottom: 0.75rem;
}

.l-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #DCFCE7;
  color: var(--l-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.l-card--coming-soon .l-card__icon { background: #F3F4F6; color: #9CA3AF; }

.l-card__title {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--l-navy);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.l-card__desc {
  font-size: 1rem;
  line-height: 1.65;
  color: #4B5563;
  margin-bottom: 1.25rem;
}

.l-card__example {
  margin-bottom: 1.25rem;
}
.l-card__query-chip {
  display: block;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-left: 2px solid var(--l-green);
  border-radius: 0 6px 6px 0;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-style: italic;
  color: #4B5563;
  line-height: 1.5;
}
.l-card--coming-soon .l-card__query-chip {
  border-left-color: #D1D5DB;
}
.l-card--coming-soon .l-card__example {
  margin-bottom: 0;
}

.l-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--l-green);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: border-color 0.2s, gap 0.2s;
}
.l-card__cta:hover { border-bottom-color: var(--l-green); gap: 10px; }

/* Live card only — filled pill so it reads as a button, not a text link */
.l-card:not(.l-card--coming-soon) .l-card__cta {
  background: var(--l-green);
  color: #fff;
  border-radius: 5px;
  padding: 7px 14px;
  border-bottom: none;
  transition: background 0.2s, gap 0.2s;
}
.l-card:not(.l-card--coming-soon) .l-card__cta:hover {
  background: #14532d;
  gap: 10px;
  border-bottom: none;
}

.l-card__cta--disabled {
  color: #9CA3AF;
  cursor: default;
  border-bottom: none;
}


/* ============================================================
   HOW IT WORKS
   ============================================================ */
.l-how {
  background: var(--l-navy);
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}
.l-how::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.l-how__container { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }

/* Override section-header colours for dark background */
.l-how .l-section-eyebrow { color: var(--l-green-light); }
.l-how .l-section-title   { color: #fff; }
.l-how .l-section-sub     { color: rgba(255, 255, 255, 0.58); }

.l-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  margin-top: 3rem;
}

/* Connecting line */
.l-steps::before {
  content: '';
  position: absolute;
  top: 28px;            /* vertical centre of the 56px circle */
  left: calc(16.67% + 28px);
  right: calc(16.67% + 28px);
  height: 2px;
  background: linear-gradient(90deg, var(--l-green) 0%, var(--l-gold) 100%);
  opacity: 1;
}
[data-reveal] .l-steps::before {
  opacity: 0;
  transition: opacity 0.6s ease 0.3s;
}
[data-reveal] .l-steps.revealed::before { opacity: 1; }

.l-step { text-align: center; position: relative; }

.l-step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--l-green);
  color: #fff;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.375rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(22, 101, 52, 0.25);
}

.l-step__tag {
  display: inline-block;
  font-size: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--l-gold);
  background: rgba(202, 138, 4, 0.1);
  border: 1px solid rgba(202, 138, 4, 0.22);
  border-radius: 4px;
  padding: 2px 8px;
  margin-bottom: 0.5rem;
}

.l-step__title {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.l-step__desc {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.58);
}


/* ============================================================
   PERSONAS
   ============================================================ */
.l-personas {
  background: var(--l-paper-warm);
  padding: 6rem 2rem;
}

.l-personas__container { max-width: 1100px; margin: 0 auto; }

.l-personas__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.l-persona {
  background: #fff;
  border-radius: var(--l-card-radius);
  border: 1px solid rgba(0, 0, 0, 0.07);
  padding: 1.75rem 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.l-persona:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.l-persona__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #DCFCE7;
  color: var(--l-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.l-persona__title {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--l-navy);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.l-persona__desc {
  font-size: 1rem;
  line-height: 1.65;
  color: #4B5563;
}


/* ============================================================
   CTA SECTION
   ============================================================ */
.l-cta {
  background: var(--l-navy-deep);
  padding: 7rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Top gradient stripe (mirrors hero) */
.l-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--l-stripe);
}

.l-cta::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.l-cta__container { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }

.l-cta__title {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.l-cta__sub {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

.l-cta__pricing-link {
  color: var(--l-green-light);
  text-decoration: underline;
  text-decoration-color: rgba(134, 239, 172, 0.4);
  text-underline-offset: 2px;
  white-space: nowrap;
  transition: text-decoration-color 0.2s;
}

.l-cta__pricing-link:hover {
  text-decoration-color: var(--l-green-light);
}

.l-cta__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}


/* ============================================================
   FOOTER
   ============================================================ */
.l-footer {
  background: var(--l-near-black);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 3rem 2rem 2rem;
}

.l-footer__container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: start;
}

.l-footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 0.75rem;
}

.l-footer__badge {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: var(--l-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 700;
  font-size: 12px;
  color: #fff;
}

.l-footer__wordmark {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}
.l-footer__wordmark em { font-style: normal; color: var(--l-green-light); }

.l-footer__tagline {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.36);
  line-height: 1.55;
  max-width: 280px;
  margin-bottom: 1.25rem;
}

.l-footer__legal {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.22);
  line-height: 1.6;
  max-width: 360px;
}

.l-footer__nav { display: flex; gap: 3rem; }

.l-footer__col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
  margin-bottom: 0.875rem;
}

.l-footer__links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.l-footer__links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.48);
  text-decoration: none;
  transition: color 0.2s;
}
.l-footer__links a:hover { color: rgba(255, 255, 255, 0.82); }

.l-footer__bottom {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.l-footer__copy { font-size: 12px; color: rgba(255, 255, 255, 0.22); }

.l-footer__corpus {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.28);
}

.l-footer__corpus-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--l-green-light);
  animation: dotPulse 2.2s ease-in-out infinite;
}


/* ============================================================
   SCROLL-REVEAL  (progressive enhancement — content always visible)
   JS adds .revealed; transitions only play when both classes are present.
   ============================================================ */

/* Step 1: mark elements that CAN animate (JS sets data-reveal on body) */
[data-reveal] .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-reveal] .reveal.revealed {
  opacity: 1;
  transform: none;
}

[data-reveal] .reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-reveal] .reveal-stagger.revealed > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0s;   }
[data-reveal] .reveal-stagger.revealed > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.1s; }
[data-reveal] .reveal-stagger.revealed > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.2s; }
[data-reveal] .reveal-stagger.revealed > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.3s; }


/* ============================================================
   RESPONSIVE
   ============================================================ */

/* 1024 px — hero goes single-column; mockup centres below copy */
@media (max-width: 1024px) {
  .l-hero__container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .l-hero__sub       { margin-left: auto; margin-right: auto; }
  .l-hero__actions   { justify-content: center; }
  .l-hero__trust     { justify-content: center; }
  .l-hero__mockup    { max-width: 480px; margin: 0 auto; }
  .l-hero__harp      { display: none; }
  .l-personas__grid  { grid-template-columns: repeat(2, 1fr); }
}

/* 900 px — 3-col coming-soon grid collapses to 1-col */
@media (max-width: 900px) {
  .l-features__grid { grid-template-columns: 1fr; }
}

/* 768 px — nav links hidden; 1-col grids */
@media (max-width: 768px) {
  .l-nav__links { display: none; }
  .l-nav__pill  { display: none; }

  .l-hero { padding: 100px 1.5rem 64px; min-height: auto; }

  .l-stats__container { grid-template-columns: 1fr; gap: 2.5rem; }

  .l-steps {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .l-steps::before { display: none; }

  .l-footer__container { grid-template-columns: 1fr; }
  .l-footer__nav       { gap: 2rem; }
}

/* Anchor offset: prevent fixed nav (64 px) from covering section headings */
#features,
#how-it-works,
#for-whom {
  scroll-margin-top: 80px;
}

/* Focus-visible: ensure keyboard users can see focus on dark backgrounds */
.l-nav__cta:focus-visible,
.l-btn-primary:focus-visible,
.l-btn-ghost:focus-visible,
.l-card__cta:focus-visible,
.l-footer__links a:focus-visible {
  outline: 2px solid var(--l-green-light);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Reduced motion: disable smooth scroll + key animations */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .l-hero__mockup,
  .l-hero__eyebrow-dot,
  .l-footer__corpus-dot,
  .l-mockup__typing-dot { animation: none; }
  [data-reveal] .reveal,
  [data-reveal] .reveal-stagger > * { transition: none; }
  [data-reveal] .l-steps::before    { transition: none; }
}

/* 480 px — hero padding reduced; CTA stacks; personas 1-col */
@media (max-width: 480px) {
  .l-nav { padding: 0 1rem; }
  .l-hero { padding: 88px 1rem 48px; }

  .l-hero__actions,
  .l-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .l-btn-primary,
  .l-btn-ghost { justify-content: center; }

  .l-personas__grid { grid-template-columns: 1fr; }

  .l-footer__nav    { flex-direction: column; gap: 1.5rem; }
  .l-footer__bottom { flex-direction: column; align-items: flex-start; }

  /* Stat numbers: clamp min (5vw ≈ 20px at 390px) is too small — pin to readable size */
  .l-stat__number { font-size: 2.25rem; }

  /* Hero headline: clamp min (2.25rem/36px) is too large at 390px */
  .l-hero__headline {
    font-size: 1.875rem;
    letter-spacing: -0.5px;
  }
}
