/* CyberSeeds landing — elegant polish layer over the base styles.
   Refines buttons, hero, cards, chips and dark sections for a premium,
   trustworthy feel appropriate to government / defence buyers. */

:root {
  --clean-ink: #0f172a;
  --clean-text: #334155;
  --clean-muted: #64748b;
  --clean-line: #dbe2ee;
  --clean-bg: #f6f8fc;
  --clean-surface: #ffffff;
  --clean-primary: #2457c5;
  --clean-primary-2: #193f93;
  --clean-primary-hover: #1d4aae;
  --clean-accent: #0f766e;
  --clean-accent-2: #14b8a6;
  --grad-primary: #2457c5;
  --grad-primary-hover: #1d4aae;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-card: 0 12px 30px rgba(15, 23, 42, 0.07);
  --shadow-card-hover: 0 18px 40px rgba(15, 23, 42, 0.12);
  --shadow-btn: 0 6px 16px rgba(36, 87, 197, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  --shadow-btn-hover: 0 12px 26px rgba(36, 87, 197, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--clean-bg) !important;
  color: var(--clean-text) !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
.lp-section-h2,
.lp-dcard-title,
.lp-cust-card h3,
.lp-tab-text h3 {
  color: var(--clean-ink) !important;
  letter-spacing: -0.01em !important;
}

p,
li,
.lp-hero-sub,
.lp-section-sub,
.lp-dcard-desc,
.lp-cust-card p,
.lp-footer-tagline {
  color: var(--clean-text) !important;
}

/* ── Nav ─────────────────────────────────────────────────────────── */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--clean-line) !important;
  background: rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04) !important;
  backdrop-filter: saturate(140%) blur(12px);
}

.lp-nav-inner {
  min-height: 66px !important;
}

.lp-nav-links a,
.lp-logo-text {
  color: var(--clean-ink) !important;
}

.lp-nav-links a {
  position: relative;
  transition: color 0.18s var(--ease);
}

.lp-nav-links a:hover {
  color: var(--clean-primary) !important;
}

.lp-logo-icon {
  background: var(--grad-primary) !important;
  border-radius: 9px !important;
  box-shadow: 0 4px 12px rgba(36, 87, 197, 0.3) !important;
}

/* ── Buttons ─────────────────────────────────────────────────────── */
.lp-btn-primary,
.lp-btn-cta,
.lp-demo-btn {
  background: var(--grad-primary) !important;
  color: #ffffff !important;
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  box-shadow: var(--shadow-btn) !important;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    filter 0.2s var(--ease) !important;
}

.lp-btn-primary:hover,
.lp-btn-cta:hover,
.lp-demo-btn:hover {
  background: var(--grad-primary-hover) !important;
  box-shadow: var(--shadow-btn-hover) !important;
  transform: translateY(-2px) !important;
}

.lp-btn-primary:active,
.lp-btn-cta:active,
.lp-demo-btn:active {
  transform: translateY(0) !important;
  box-shadow: var(--shadow-btn) !important;
}

.lp-btn-secondary {
  background: #ffffff !important;
  color: var(--clean-primary) !important;
  border: 1px solid #b9c9f4 !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  box-shadow: var(--shadow-sm) !important;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    border-color 0.2s var(--ease), background 0.2s var(--ease) !important;
}

.lp-btn-secondary:hover {
  border-color: var(--clean-primary) !important;
  background: #eaf0ff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(36, 87, 197, 0.14) !important;
}

.lp-btn-signin,
.lp-btn-sm,
.lp-btn-ghost {
  background: transparent !important;
  color: var(--clean-ink) !important;
  border: 1px solid var(--clean-line) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  font-weight: 700 !important;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease),
    background 0.18s var(--ease) !important;
}

.lp-btn-signin:hover,
.lp-btn-sm:hover,
.lp-btn-ghost:hover {
  border-color: var(--clean-primary) !important;
  color: var(--clean-primary) !important;
  background: #f4f6ff !important;
}

.lp-onboarding-choice {
  max-width: 640px;
  margin: -2px 0 18px;
  color: var(--clean-muted);
  font-size: 13px;
  line-height: 1.6;
}

.lp-workspace-signin {
  max-width: 650px;
  margin: 0 0 20px;
  padding: 14px;
  border: 1px solid rgba(15, 98, 254, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.lp-workspace-signin label {
  display: block;
  margin-bottom: 8px;
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
}

.lp-workspace-row {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto auto;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--clean-line);
  border-radius: 7px;
  background: #ffffff;
}

.lp-workspace-row input,
.lp-workspace-row span,
.lp-workspace-row button {
  min-height: 44px;
}

.lp-workspace-row input {
  min-width: 0;
  border: 0;
  padding: 0 12px;
  color: #0f172a;
  font-size: 14px;
  outline: none;
}

.lp-workspace-row span {
  display: inline-flex;
  align-items: center;
  border-left: 1px solid var(--clean-line);
  background: #f8fafc;
  padding: 0 12px;
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
}

.lp-workspace-row button {
  border: 0;
  border-left: 1px solid rgba(15, 98, 254, 0.2);
  background: #0f62fe;
  padding: 0 16px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.lp-workspace-row button:hover {
  background: #0053d6;
}

.lp-workspace-signin p {
  display: none;
  margin: 8px 0 0;
  color: #b42318;
  font-size: 12px;
}

.lp-workspace-signin p.active {
  display: block;
}

/* Make the three hero CTAs visually consistent (identical box metrics).
   The base styles give each a different padding / font-size / border, so
   without this they render at different heights and widths. */
.lp-hero-actions {
  flex-wrap: wrap !important;
  gap: 12px !important;
}

.lp-hero-actions .lp-btn-primary,
.lp-hero-actions .lp-btn-secondary,
.lp-hero-actions .lp-btn-ghost {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-sizing: border-box !important;
  min-height: 50px !important;
  padding: 0 24px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  border-width: 1px !important;
  border-style: solid !important;
  white-space: nowrap !important;
}

/* Tertiary hero action: same tap target as the other two, but no button
   chrome — keeps it from competing visually with the primary/secondary CTAs. */
.lp-hero-actions .lp-btn-ghost {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--clean-primary) !important;
  font-weight: 600 !important;
  padding: 0 4px !important;
}

.lp-hero-actions .lp-btn-ghost:hover {
  border-color: transparent !important;
  background: transparent !important;
  color: var(--clean-primary-hover) !important;
  text-decoration: underline !important;
}

/* ── Support gateway ───────────────────────────────────────────────── */
.lp-support {
  background: #ffffff;
  border-top: 1px solid var(--clean-line);
  border-bottom: 1px solid var(--clean-line);
  padding: 72px 0;
}

.lp-support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 32px;
  align-items: center;
}

.lp-support-copy .lp-section-sub {
  max-width: 720px;
}

.lp-support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.lp-support-panel {
  display: grid;
  gap: 12px;
  border: 1px solid var(--clean-line);
  border-radius: 12px;
  background: var(--clean-bg);
  padding: 18px;
  box-shadow: var(--shadow-card);
}

.lp-support-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid #e4e9f4;
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
}

.lp-support-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--brand-light);
  color: var(--clean-primary);
  font-weight: 800;
}

.lp-support-row strong,
.lp-support-row small {
  display: block;
}

.lp-support-row strong {
  color: var(--clean-ink);
  font-size: 14px;
}

.lp-support-row small {
  margin-top: 2px;
  color: var(--clean-muted);
  font-size: 12px;
  line-height: 1.45;
}

/* ── Section backgrounds ─────────────────────────────────────────── */
.lp-customers,
.lp-frameworks,
.lp-features,
.lp-pain,
.lp-tabs-section,
.lp-how {
  background: var(--clean-bg) !important;
}

.lp-hero-wrap {
  background:
    radial-gradient(1100px 460px at 50% -8%, #e8ecff 0%, rgba(232, 236, 255, 0) 62%),
    var(--clean-bg) !important;
  border-bottom: 1px solid var(--clean-line);
}

.lp-hero {
  min-height: auto !important;
  padding-top: 60px !important;
  padding-bottom: 60px !important;
}

.lp-hero-h1 {
  color: var(--clean-ink) !important;
  letter-spacing: -0.02em !important;
}

.lp-gradient-text {
  background: linear-gradient(115deg, #4655e0 0%, #0f766e 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

.lp-hero-eyebrow,
.lp-section-label {
  color: var(--clean-accent) !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
}

/* subtle elegant hero glow comes from .lp-hero-wrap's radial gradient;
   keep the heavy original glow element hidden */
.lp-hero-glow {
  display: none !important;
}

/* ── Chips ───────────────────────────────────────────────────────── */
.lp-hero-chip {
  border-radius: 999px !important;
  font-weight: 700 !important;
  border: 1px solid transparent !important;
  box-shadow: var(--shadow-sm) !important;
}

.lp-chip-green {
  background: #ecfdf5 !important;
  color: #0f766e !important;
  border-color: #a7f3d0 !important;
}

.lp-chip-indigo {
  background: #eef2ff !important;
  color: #3730a3 !important;
  border-color: #c7d2fe !important;
}

.lp-chip-amber {
  background: #fffbeb !important;
  color: #b45309 !important;
  border-color: #fde68a !important;
}

/* ── Cards & surfaces ────────────────────────────────────────────── */
.lp-hero-mockup,
.lp-cust-card,
.lp-dcard,
.lp-fw-card,
.lp-how-step,
.lp-pain-card,
.lp-demo-form-card,
.lp-tab-mock {
  background: var(--clean-surface) !important;
  border: 1px solid var(--clean-line) !important;
  border-radius: 14px !important;
  box-shadow: var(--shadow-card) !important;
}

.lp-cust-card,
.lp-dcard,
.lp-fw-card,
.lp-how-step {
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
    border-color 0.22s var(--ease) !important;
}

.lp-cust-card:hover,
.lp-dcard:hover,
.lp-fw-card:hover,
.lp-how-step:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--shadow-card-hover) !important;
  border-color: #c5cdec !important;
}

/* ── How it works: one clear focal point per step (the numbered circle),
   brand-aligned color, and a connecting rail so the four cards read as a
   sequence rather than four unrelated features. */
.lp-how-step-label {
  display: none !important;
}

.lp-how-icon {
  background: #eaf0ff !important;
  color: var(--clean-primary) !important;
}

.lp-how-num {
  background: var(--clean-primary) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(36, 87, 197, 0.35) !important;
  z-index: 2 !important;
}

.lp-how-steps::before {
  top: 64px !important;
  background: linear-gradient(90deg, #b9c9f4, var(--clean-primary), #b9c9f4) !important;
  z-index: 1 !important;
}

.lp-hero-mockup {
  border-radius: 16px !important;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.16), 0 2px 8px rgba(15, 23, 42, 0.06) !important;
  overflow: hidden !important;
}

/* Genuine capture of the assessment overview (replaces the hand-built
   mock DOM). Intrinsic 1600×1000 so the hero doesn't reflow on load. */
.lp-mockup-shot {
  display: block;
  width: 100%;
  height: auto;
}

.lp-dcard-featured {
  border-color: var(--clean-primary) !important;
  box-shadow: 0 16px 40px rgba(44, 56, 158, 0.18) !important;
}

/* accent the customer-card icon tiles for a bit of life */
.lp-cust-icon {
  color: var(--clean-primary) !important;
}

/* ── Capability tabs ─────────────────────────────────────────────── */
.lp-tab-btn {
  border-radius: 10px !important;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease),
    color 0.18s var(--ease) !important;
}

.lp-tab-btn.active,
.lp-tab-btn:hover {
  background: #eef2ff !important;
  border-color: var(--clean-primary) !important;
  color: var(--clean-primary) !important;
}

.lp-tab-check {
  color: var(--clean-accent) !important;
}

/* ── Dark sections (deployment header, promise, demo, footer) ────── */
.lp-deploy-hero,
.lp-promise-strip,
.lp-demo-cta,
.lp-footer {
  background: linear-gradient(160deg, #101a30 0%, #0b1220 100%) !important;
  color: #f8fafc !important;
}

.lp-deploy-hero *,
.lp-promise-strip *,
.lp-demo-left *,
.lp-footer * {
  color: #f8fafc !important;
}

.lp-deploy-hero p,
.lp-deploy-hero li,
.lp-deploy-hero span,
.lp-promise-strip span,
.lp-demo-left p,
.lp-demo-list li,
.lp-footer p,
.lp-footer span,
.lp-footer a {
  color: #dbe6f8 !important;
}

.lp-deploy-hero .lp-deploy-eyebrow,
.lp-deploy-hero .lp-section-label,
.lp-demo-cta .lp-section-label,
.lp-promise-strip svg,
.lp-deploy-trust-item svg,
.lp-demo-list li::before {
  color: var(--clean-accent-2) !important;
  stroke: currentColor !important;
}

.lp-promise-item svg {
  color: var(--clean-accent-2) !important;
}

.lp-demo-left h2,
.lp-demo-left p,
.lp-demo-list li,
.lp-demo-cta .lp-section-label {
  color: #f8fafc !important;
}

/* ── Demo form ───────────────────────────────────────────────────── */
.lp-demo-form-card h3,
.lp-demo-form-sub,
.lp-demo-field label {
  color: var(--clean-ink) !important;
}

.lp-demo-input,
.lp-demo-select {
  background: #ffffff !important;
  border: 1px solid var(--clean-line) !important;
  border-radius: 10px !important;
  color: var(--clean-ink) !important;
  min-height: 44px;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease) !important;
}

.lp-demo-input:focus,
.lp-demo-select:focus {
  border-color: var(--clean-primary) !important;
  box-shadow: 0 0 0 3px rgba(58, 73, 207, 0.14) !important;
  outline: none !important;
}

.lp-demo-btn-error {
  background: #b91c1c !important;
  border-color: #b91c1c !important;
}

/* ── Footer ──────────────────────────────────────────────────────── */
.lp-footer h4,
.lp-footer .lp-logo-text {
  color: #ffffff !important;
}

.lp-footer a {
  color: #cbd5e1 !important;
  transition: color 0.16s var(--ease) !important;
}

.lp-footer a:hover {
  color: #ffffff !important;
}

.lp-footer-badge {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  color: #f8fafc !important;
  border-radius: 999px !important;
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .lp-nav-inner {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .lp-nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .lp-nav-actions {
    margin-left: auto;
  }

  .lp-support-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .lp-nav-actions {
    width: 100%;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .lp-hero {
    padding-top: 40px !important;
  }

  .lp-hero-h1 {
    font-size: 38px !important;
    line-height: 1.08 !important;
  }

  .lp-hero-actions {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .lp-workspace-row {
    grid-template-columns: 1fr;
  }

  .lp-workspace-row span,
  .lp-workspace-row button {
    border-left: 0;
    border-top: 1px solid var(--clean-line);
    justify-content: center;
  }

  .lp-support {
    padding: 48px 0;
  }

  .lp-support-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* ══ Design-discipline pass ═══════════════════════════════════════════
   Fixes from the landing design review: nav wrapping, sticky-header
   coverage, anchor clipping, mobile overflow, single-accent palette,
   type-scale restraint, card noise reduction and deployment-card
   alignment. Applied as a layer so the base stylesheet stays untouched. */

/* Nav links must never wrap ("Who it's / for"). Free up row space with
   tighter gaps; the base already hides links below 900px. */
.lp-nav-links a {
  white-space: nowrap !important;
}

.lp-nav-inner {
  gap: 24px !important;
}

.lp-nav-links {
  margin-left: 8px !important;
  gap: 2px !important;
}

/* Near-opaque header: at rgba .85 page text visibly bleeds through where
   backdrop-filter is unsupported (and on mobile behind the two-row header). */
.lp-nav {
  background: rgba(255, 255, 255, 0.97) !important;
}

@media (max-width: 900px) {
  .lp-nav {
    background: #ffffff !important;
  }

  /* Base pins .lp-nav-inner to height:64px; when the actions wrap to a
     second row on small screens the row overflows the nav's painted
     background and page text shows through behind the buttons. */
  .lp-nav-inner {
    height: auto !important;
  }
}

/* Anchor navigation: stop section headings disappearing under the sticky
   header. The base only set this on .lp-how. */
section[id],
footer[id] {
  scroll-margin-top: 84px;
}

@media (max-width: 900px) {
  section[id],
  footer[id] {
    scroll-margin-top: 130px; /* two-row mobile header */
  }
}

/* Kill the ~7px horizontal scroll on small screens. */
html,
body {
  overflow-x: clip;
}

/* ── Type restraint ─────────────────────────────────────────────────── */
/* The last theme generation in styles.css bumps the H1 to 46px/900; cap it
   at 44px/800 with a fluid scale so the media-query steps stay smooth. */
.lp-hero-h1 {
  font-size: clamp(30px, 4.6vw, 44px) !important;
  font-weight: 800 !important;
}

.lp-deploy-h2,
.lp-demo-left h2 {
  font-weight: 800 !important;
}

/* ── Single accent: navy + brand blue ───────────────────────────────── */
/* Solid brand colour instead of the indigo→teal gradient mid-sentence. */
.lp-gradient-text {
  background: none !important;
  -webkit-text-fill-color: var(--clean-primary) !important;
  color: var(--clean-primary) !important;
}

.lp-hero-eyebrow,
.lp-section-label {
  color: var(--clean-primary) !important;
}

/* Dark bands: use a light brand tint (teal reads as a second palette). */
.lp-deploy-hero .lp-deploy-eyebrow,
.lp-deploy-hero .lp-section-label,
.lp-demo-cta .lp-section-label {
  color: #9db9f7 !important;
}

.lp-tab-check {
  color: var(--clean-primary) !important;
}

/* NatSec badge on the featured deployment card: brand, not purple. */
.lp-dcard-badge {
  background: #eaf0ff !important;
  color: var(--clean-primary) !important;
  border: 1px solid #b9c9f4 !important;
}

/* ── Card noise reduction ───────────────────────────────────────────── */
/* Per-card rainbow top bars, emoji watermarks and tag-chip rows on the
   customer cards add colour without information. */
.lp-cust-card::before {
  display: none !important;
}

.lp-cust-flag {
  display: none !important;
}

.lp-cust-tags {
  display: none !important;
}

.lp-cust-icon {
  background: #eaf0ff !important;
  color: var(--clean-primary) !important;
}

/* ── Deployment cards: align the bullet lists ───────────────────────── */
.lp-dcard {
  display: flex !important;
  flex-direction: column !important;
}

.lp-dcard-desc {
  flex-grow: 1 !important;
}

/* ── Hero: quieter workspace finder, inline token link ──────────────── */
.lp-workspace-signin {
  box-shadow: var(--shadow-sm);
  background: #ffffff;
}

.lp-link-inline {
  display: inline;
  border: 0;
  padding: 0;
  background: none;
  color: var(--clean-primary);
  font-size: inherit;
  font-weight: 600;
  cursor: pointer;
}

.lp-link-inline:hover {
  color: var(--clean-primary-hover);
  text-decoration: underline;
}

/* ══ Competitive uplift: stat strip, step outcomes, plans, AI, roles ══ */

/* Product-fact stat strip — the honest substitute for a logo wall. */
.lp-statbar {
  background: #ffffff;
  border-bottom: 1px solid var(--clean-line);
}

.lp-statbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.lp-stat {
  text-align: center;
}

.lp-stat-val {
  color: var(--clean-primary);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.lp-stat-lbl {
  margin-top: 2px;
  color: var(--clean-muted);
  font-size: 12px;
  font-weight: 600;
}

@media (max-width: 900px) {
  .lp-statbar-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 18px 20px;
  }
}

/* Outcome tag on each How-it-works step. */
.lp-how-outcome {
  margin-top: 10px;
  color: var(--clean-primary);
  font-size: 12px;
  font-weight: 700;
}

.lp-how-outcome::before {
  content: "✓ ";
}

/* ── Plans / tier ladder ────────────────────────────────────────────── */
.lp-plans {
  background: var(--clean-bg);
  padding: 72px 0;
}

.lp-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.lp-plan-card {
  display: flex;
  flex-direction: column;
  background: var(--clean-surface);
  border: 1px solid var(--clean-line);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  padding: 24px;
}

.lp-plan-card-featured {
  border-color: var(--clean-primary);
}

.lp-plan-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.lp-plan-card p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.6;
}

.lp-plan-list {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  flex-grow: 1;
}

.lp-plan-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 7px;
  font-size: 13px;
  color: var(--clean-text);
}

.lp-plan-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--clean-primary);
  font-weight: 800;
}

.lp-plan-cta {
  align-self: flex-start;
  min-height: 42px;
  padding: 0 18px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px !important;
}

.lp-plans-compare {
  margin: 22px 0 0;
  font-size: 14px;
}

@media (max-width: 900px) {
  .lp-plans-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Controlled AI ──────────────────────────────────────────────────── */
.lp-ai {
  background: #ffffff;
  border-top: 1px solid var(--clean-line);
  padding: 72px 0;
}

.lp-ai-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 40px;
  align-items: center;
}

.lp-ai-mock {
  border: 1px solid var(--clean-line);
  border-radius: 14px;
  background: var(--clean-bg);
  box-shadow: var(--shadow-card);
  padding: 18px;
  max-width: 420px;
  margin: 0 auto;
}

.lp-ai-mock-hdr {
  font-size: 12px;
  font-weight: 800;
  color: var(--clean-primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.lp-ai-mock-field {
  font-size: 12px;
  font-weight: 700;
  color: var(--clean-ink);
  margin-bottom: 8px;
}

.lp-ai-mock-body {
  display: grid;
  gap: 7px;
  border: 1px solid var(--clean-line);
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
  margin-bottom: 12px;
}

.lp-ai-mock-line {
  height: 8px;
  border-radius: 4px;
  background: #dbe4f6;
}

.lp-ai-mock-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.lp-ai-mock-accept,
.lp-ai-mock-discard {
  font-size: 12px;
  font-weight: 700;
  border-radius: 7px;
  padding: 6px 12px;
}

.lp-ai-mock-accept {
  background: var(--clean-primary);
  color: #ffffff;
}

.lp-ai-mock-discard {
  border: 1px solid var(--clean-line);
  color: var(--clean-muted);
  background: #ffffff;
}

.lp-ai-mock-audit {
  font-size: 11px;
  color: var(--clean-muted);
}

@media (max-width: 900px) {
  .lp-ai-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Role strip ─────────────────────────────────────────────────────── */
.lp-roles {
  background: #ffffff;
  border-top: 1px solid var(--clean-line);
  border-bottom: 1px solid var(--clean-line);
  padding: 64px 0;
}

.lp-roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.lp-role-card {
  border: 1px solid var(--clean-line);
  border-radius: 14px;
  background: var(--clean-bg);
  padding: 20px;
}

.lp-role-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.lp-role-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .lp-roles-grid {
    grid-template-columns: 1fr;
  }
}

/* Seven nav links now — tighten padding a notch below 1140px so they
   keep clearing the actions at the squeeze widths. */
@media (max-width: 1140px) {
  .lp-nav-links a {
    padding: 6px 8px !important;
    font-size: 12.5px !important;
  }
}

/* ══ Hero background: light "blueprint" treatment ═════════════════════
   Layered soft brand glows + a fine engineering grid that fades out
   radially + one slow-drifting light orb. Pure CSS (CSP-safe, no assets).
   Overrides the earlier .lp-hero-wrap background in this same file. */

.lp-hero-wrap {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(820px 460px at 10% -8%, rgba(56, 110, 242, 0.22) 0%, rgba(56, 110, 242, 0) 58%),
    radial-gradient(760px 500px at 92% 2%, rgba(139, 92, 246, 0.2) 0%, rgba(139, 92, 246, 0) 55%),
    radial-gradient(680px 420px at 28% 112%, rgba(34, 211, 238, 0.18) 0%, rgba(34, 211, 238, 0) 60%),
    radial-gradient(560px 380px at 78% 108%, rgba(244, 114, 182, 0.13) 0%, rgba(244, 114, 182, 0) 58%),
    linear-gradient(180deg, #fdfeff 0%, #f0f4fe 100%) !important;
}

/* Fine blueprint grid, strongest under the headline, dissolving outward. */
.lp-hero-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(36, 87, 197, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 87, 197, 0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: radial-gradient(120% 95% at 50% 0%, #000 25%, transparent 72%);
  mask-image: radial-gradient(120% 95% at 50% 0%, #000 25%, transparent 72%);
  pointer-events: none;
}

/* Two soft colour orbs drifting in opposite directions: blue-violet behind
   the mockup, cyan-teal low on the text side. The second reuses the dormant
   .lp-hero-glow element (display:none earlier in this file; re-enabled here). */
.lp-hero-wrap::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: -180px;
  right: -140px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(124, 108, 255, 0.24), rgba(124, 108, 255, 0));
  filter: blur(42px);
  animation: lp-hero-drift 22s ease-in-out infinite alternate;
  pointer-events: none;
}

.lp-hero-glow {
  display: block !important;
  position: absolute;
  /* Lives INSIDE .lp-hero (a z-index:1 stacking context): -1 tucks it behind
     the hero text/mockup while staying above the page background. */
  z-index: -1;
  left: -160px;
  bottom: -220px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(45, 212, 191, 0.2), rgba(45, 212, 191, 0));
  filter: blur(46px);
  animation: lp-hero-drift-2 26s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes lp-hero-drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-70px, 60px, 0);
  }
}

@keyframes lp-hero-drift-2 {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(90px, -50px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-hero-wrap::after,
  .lp-hero-glow {
    animation: none;
  }
}

/* Keep hero content and mockup above the decorative layers. */
.lp-hero {
  position: relative;
  z-index: 1;
}

/* ══ Sign-in dropdown (workspace finder moved out of the hero) ════════ */
.lp-signin-wrap {
  position: relative;
}

.lp-signin-pop {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 300;
  width: min(470px, calc(100vw - 24px));
  background: #ffffff;
  border: 1px solid var(--clean-line);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
  padding: 16px;
}

.lp-signin-pop[hidden] {
  display: none;
}

/* The form reuses .lp-workspace-signin; strip its standalone card chrome
   now that the dropdown provides the surface. */
.lp-signin-pop .lp-workspace-signin {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  max-width: none;
}

@media (max-width: 640px) {
  /* Two-row mobile header: anchor the panel to the viewport under it. */
  .lp-signin-pop {
    position: fixed;
    top: 118px;
    left: 12px;
    right: 12px;
    width: auto;
  }
}

.lp-signin-pop .lp-workspace-row button {
  white-space: nowrap;
}

/* ══ Hero mockup: mirror the real assessment overview page ═══════════ */
/* Real text in the dark command band (replaces skeleton bars). */
.lp-mock-ov-eyebrow {
  color: #9db9f7;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lp-mock-ov-title {
  color: #f8fafc;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Lifecycle strip: Draft -> Fieldwork -> Lead sign-off -> Owner accept -> Closed */
.lp-mock-lc {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px 0;
  flex-wrap: wrap;
}

.lp-mock-lc-step {
  font-size: 8.5px;
  font-weight: 700;
  color: #94a3b8;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 3px 8px;
  background: #ffffff;
  white-space: nowrap;
}

.lp-mock-lc-done {
  color: #15803d;
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.lp-mock-lc-active {
  color: #92400e;
  border-color: #fde68a;
  background: #fffbeb;
}

/* Chart card titles (real overview labels its cards). */
.lp-mock-chart-name {
  font-size: 9px;
  font-weight: 800;
  color: #334155;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

/* Severity breakdown bar colours. */
.lp-sev-crit {
  background: #dc2626 !important;
}

.lp-sev-high {
  background: #ea580c !important;
}

.lp-sev-med {
  background: #d97706 !important;
}

.lp-sev-low {
  background: #94a3b8 !important;
}

/* Open-RFIs gate row (mirrors the sign-off blocker on the real overview). */
.lp-mock-rfi-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 14px 14px;
  padding: 7px 10px;
  border: 1px solid #fde68a;
  border-radius: 8px;
  background: #fffbeb;
}

.lp-mock-rfi-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d97706;
  flex-shrink: 0;
}

.lp-mock-rfi-txt {
  flex: 1;
  font-size: 9px;
  font-weight: 600;
  color: #92400e;
}

.lp-mock-rfi-btn {
  font-size: 8.5px;
  font-weight: 800;
  color: #ffffff;
  background: #d97706;
  border-radius: 6px;
  padding: 3px 8px;
  white-space: nowrap;
}
