/* Legal Foundry — Public site styles */
:root {
  --lf-dark: #0f1c2e;
  --lf-dark-hover: #162640;
  --lf-orange: #c5521e;
  --lf-orange-light: #e5743e;
  --lf-orange-bg: #fbeae1;
  --lf-text: #0f1c2e;
  --lf-text-secondary: #51596a;
  --lf-text-muted: #8a8f99;
  --lf-bg: #ffffff;
  --lf-bg-warm: #f8f7f4;
  --lf-bg-sunk: #f1efea;
  --lf-border: #eae7e0;
  --lf-border-strong: #d9d5cd;
  --lf-green: #3fb984;
  --lf-green-dark: #1f6b45;
  --lf-red-del: #b0524a;
  --lf-red-bg: #fbe7e2;
  --lf-green-ins: #2c8b5b;
  --lf-green-bg: #e4f3ea;
  --lf-radius: 8px;
  --lf-radius-lg: 14px;
  --lf-shadow: 0 30px 60px -30px rgba(15, 28, 46, 0.28);
  --lf-shadow-sm: 0 1px 3px rgba(15, 28, 46, 0.06);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
}

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

body {
  background: var(--lf-bg);
  color: var(--lf-text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

/* ---- Layout ---- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
}

/* ---- Mono label ---- */
.mono {
  font-family: var(--font-mono);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lf-text-muted);
}
.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--lf-orange);
  display: inline-block;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  padding: 15px 26px;
  border-radius: 9px;
  border: 1px solid transparent;
  transition: background 150ms, border-color 150ms, transform 100ms;
  white-space: nowrap;
  text-decoration: none;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--lf-dark);
  color: #fff;
  border-color: var(--lf-dark);
}
.btn-primary:hover { background: var(--lf-dark-hover); }
.btn-primary.btn-orange {
  background: var(--lf-orange);
  border-color: var(--lf-orange);
}
.btn-primary.btn-orange:hover { background: #b04a1a; }
.btn-ghost {
  background: #fff;
  color: var(--lf-text);
  border-color: var(--lf-border-strong);
}
.btn-ghost:hover { background: var(--lf-bg-warm); border-color: var(--lf-border-strong); }
.btn-sm { font-size: 14px; padding: 11px 20px; }
.btn-lg { font-size: 16px; padding: 16px 30px; }

/* ---- Header ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--lf-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}
.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--lf-text);
}
.brand-name .brand-tld {
  color: var(--lf-orange);
}
.brand-divider {
  width: 1px;
  height: 20px;
  background: var(--lf-border-strong);
  margin-left: 7px;
}
.brand-suffix {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--lf-text-muted);
}
.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav a {
  font-size: 14.5px;
  color: var(--lf-text-secondary);
  font-weight: 500;
  transition: color 120ms;
}
.nav a:hover { color: var(--lf-text); }
.header-cta { display: flex; gap: 12px; align-items: center; }

@media (max-width: 880px) {
  .nav { display: none; }
  .brand-divider, .brand-suffix { display: none; }
}

/* ---- Hero ---- */
.hero {
  padding: 72px 0 84px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.5fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: 60px;
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--lf-text);
  margin: 24px 0 0;
}
.hero-lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--lf-text-secondary);
  max-width: 470px;
  margin: 26px 0 0;
}
.hero-cta {
  display: flex;
  gap: 13px;
  margin-top: 34px;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lf-text-muted);
}
.hero-meta::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--lf-border-strong);
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { font-size: 40px; }
  .hero-preview { display: none; }
}

/* Hero preview card */
.hero-preview {
  position: relative;
  background: var(--lf-bg-sunk);
  border: 1px solid var(--lf-border);
  border-radius: 14px;
  overflow: hidden;
  min-height: 380px;
}
.hero-preview-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(#e6e3dc 1px, transparent 1px);
  background-size: 100% 32px;
  opacity: 0.6;
}
.hero-preview-back {
  position: absolute;
  top: 96px;
  left: 130px;
  right: 50px;
  height: 330px;
  background: #fff;
  border: 1px solid var(--lf-border);
  border-radius: 6px;
  transform: rotate(3deg);
  box-shadow: 0 20px 40px -24px rgba(15, 28, 46, 0.25);
}
.hero-preview-doc {
  position: absolute;
  top: 74px;
  left: 84px;
  right: 84px;
  background: #fff;
  border: 1px solid var(--lf-border);
  border-radius: 8px;
  box-shadow: 0 34px 64px -28px rgba(15, 28, 46, 0.34);
  overflow: hidden;
}
.hero-preview-doc-bar {
  height: 6px;
  background: var(--lf-orange);
}
.hero-preview-doc-body {
  padding: 28px 30px 32px;
}
.hero-preview-badge {
  position: absolute;
  bottom: 44px;
  right: 64px;
  background: var(--lf-dark);
  color: #fff;
  padding: 11px 15px;
  border-radius: 10px;
  box-shadow: 0 18px 36px -16px rgba(15, 28, 46, 0.45);
  display: flex;
  align-items: center;
  gap: 9px;
}
.hero-preview-badge .check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--lf-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

/* ---- Trust bar ---- */
.trust-bar {
  border-top: 1px solid var(--lf-border);
  border-bottom: 1px solid var(--lf-border);
  background: var(--lf-bg-warm);
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding: 30px 0;
}
.trust-bar-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--lf-text-muted);
}
.trust-bar-logos {
  display: flex;
  align-items: center;
  gap: 42px;
  opacity: 0.7;
  flex-wrap: wrap;
}
.trust-bar-logos span {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #9a9388;
}

/* ---- How It Works ---- */
.how-section {
  padding: 96px 0;
}
.how-section .section-title {
  text-align: center;
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--lf-text);
  margin: 18px 0 0;
}
.how-section .section-subtitle {
  text-align: center;
  font-size: 17px;
  line-height: 1.55;
  color: var(--lf-text-secondary);
  max-width: 560px;
  margin: 16px auto 0;
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 58px;
  position: relative;
}
.how-steps::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--lf-border-strong) 0px, var(--lf-border-strong) 6px, transparent 6px, transparent 12px);
}
.how-step {
  position: relative;
}
.how-step-num {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--lf-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
}
.how-step-num.accent {
  background: var(--lf-orange);
}
.how-step h4 {
  font-size: 19px;
  font-weight: 700;
  color: var(--lf-text);
  margin: 20px 0 8px;
}
.how-step p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--lf-text-secondary);
  margin: 0;
}

@media (max-width: 880px) {
  .how-steps { grid-template-columns: repeat(2, 1fr); }
  .how-steps::before { display: none; }
}
@media (max-width: 560px) {
  .how-steps { grid-template-columns: 1fr; }
}

/* ---- Feature sections (2-col showcase) ---- */
.feature-section {
  padding: 96px 0;
}
.feature-section.bg-warm {
  background: var(--lf-bg-warm);
  border-top: 1px solid var(--lf-border);
  border-bottom: 1px solid var(--lf-border);
}
.feature-section.bg-dark {
  background: var(--lf-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.feature-section.bg-dark .glow {
  position: absolute;
  top: -100px;
  left: -60px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(197, 82, 30, 0.22), transparent 65%);
  pointer-events: none;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.feature-grid.reverse {
  direction: rtl;
}
.feature-grid.reverse > * {
  direction: ltr;
}
.feature-text .eyebrow { margin-bottom: 0; }
.feature-text h2 {
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--lf-text);
  margin: 18px 0 0;
}
.feature-section.bg-dark .feature-text h2 { color: #fff; }
.feature-section.bg-dark .feature-text .eyebrow { color: var(--lf-orange-light); }
.feature-text p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--lf-text-secondary);
  margin: 20px 0 0;
  max-width: 480px;
}
.feature-section.bg-dark .feature-text p { color: #a9b4c5; }

/* Feature check list */
.feature-checks {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.feature-check {
  display: flex;
  gap: 14px;
}
.feature-check-icon {
  margin-top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: var(--lf-orange-bg);
  color: var(--lf-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}
.feature-section.bg-dark .feature-check-icon {
  background: rgba(229, 116, 62, 0.18);
  color: #f0a883;
}
.feature-check h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--lf-text);
  margin: 0 0 2px;
}
.feature-section.bg-dark .feature-check h5 { color: #fff; }
.feature-check p {
  font-size: 15px;
  color: var(--lf-text-secondary);
  line-height: 1.5;
  margin: 0;
}
.feature-section.bg-dark .feature-check p { color: #c8d1de; }

/* Dark feature - simple list */
.feature-list {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.feature-list-item {
  display: flex;
  gap: 13px;
  align-items: center;
}
.feature-list-item .check-sm {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: rgba(229, 116, 62, 0.18);
  color: #f0a883;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}
.feature-list-item span {
  font-size: 15.5px;
  color: #c8d1de;
}

/* Feature 2x2 mini grid */
.feature-mini-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
}
.feature-mini-grid h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--lf-text);
  margin: 0 0 4px;
}
.feature-mini-grid p {
  font-size: 14.5px;
  color: var(--lf-text-secondary);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 980px) {
  .feature-grid,
  .feature-grid.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 40px;
  }
  .feature-text h2 { font-size: 30px; }
}

/* ---- Mockup frames ---- */
.mock-frame {
  background: #fff;
  border: 1px solid var(--lf-border);
  border-radius: var(--lf-radius-lg);
  box-shadow: var(--lf-shadow);
  overflow: hidden;
}
.mock-frame.dark {
  background: #16263e;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 80px -34px rgba(0, 0, 0, 0.6);
}
.mock-header {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--lf-border);
}
.mock-frame.dark .mock-header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lf-orange);
  animation: lfpulse 2s infinite ease;
}
.mock-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--lf-text-muted);
  text-transform: uppercase;
}
.mock-frame.dark .mock-title { color: #8a8f99; }
.mock-body {
  padding: 20px 18px;
}

/* Chat mockup */
.chat-msg {
  max-width: 78%;
  font-size: 14px;
  line-height: 1.5;
  padding: 11px 14px;
  border-radius: 13px;
  margin-bottom: 14px;
}
.chat-msg.user {
  align-self: flex-end;
  margin-left: auto;
  background: var(--lf-dark);
  color: #eaf0f8;
  border-radius: 13px 13px 4px 13px;
}
.chat-msg.ai {
  align-self: flex-start;
  max-width: 88%;
  background: #f4f2ee;
  color: #2b3344;
  border-radius: 13px 13px 13px 4px;
}
.chat-redline {
  border: 1px solid var(--lf-border);
  border-radius: 11px;
  padding: 13px 14px;
  background: #fff;
  margin-top: 14px;
}
.chat-redline-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lf-text-muted);
  margin-bottom: 9px;
}
.chat-redline-text {
  font-size: 13.5px;
  line-height: 1.6;
  color: #2b3344;
}
.chat-redline-text .del {
  text-decoration: line-through;
  color: var(--lf-red-del);
  background: var(--lf-red-bg);
  padding: 0 2px;
  border-radius: 2px;
}
.chat-redline-text .ins {
  color: var(--lf-green-ins);
  background: var(--lf-green-bg);
  padding: 0 2px;
  border-radius: 2px;
}
.chat-actions {
  display: flex;
  gap: 9px;
  margin-top: 13px;
}
.chat-actions .action-btn {
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 7px;
  border: none;
}
.chat-actions .action-btn.primary {
  background: var(--lf-orange);
  color: #fff;
}
.chat-actions .action-btn.ghost {
  background: #fff;
  color: var(--lf-text-secondary);
  border: 1px solid var(--lf-border-strong);
}
.chat-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--lf-border);
  border-radius: 10px;
  padding: 11px 14px;
  background: #fbfaf8;
  margin-top: 18px;
}
.chat-input span {
  font-size: 13.5px;
  color: #a7a29b;
}

/* Editor mockup */
.editor-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  height: 40px;
  background: var(--lf-bg-sunk);
  border-bottom: 1px solid var(--lf-border);
}
.editor-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e0dcd3;
}
.editor-title {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--lf-text-muted);
}
.editor-body {
  padding: 26px 28px 30px;
  position: relative;
}
.editor-line {
  height: 7px;
  border-radius: 3px;
  background: #eceae4;
  margin-bottom: 12px;
}
.editor-redline {
  margin-bottom: 12px;
  line-height: 1.7;
  font-size: 13.5px;
  color: #2b3344;
}
.editor-comment {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-top: 22px;
  border-top: 1px dashed var(--lf-border);
  padding-top: 18px;
}
.editor-comment-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--lf-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.editor-comment-bubble {
  background: #f4f2ee;
  border-radius: 4px 12px 12px 12px;
  padding: 10px 13px;
  font-size: 13px;
  color: #2b3344;
  line-height: 1.5;
}

/* Signature mockup (dark) */
.sig-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sig-header .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #8fa0b8;
  text-transform: uppercase;
}
.sig-header .status {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #7fd3a8;
}
.sig-list {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.sig-row {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #1b2c45;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 11px;
  padding: 14px 15px;
}
.sig-row.pending {
  border-color: rgba(229, 116, 62, 0.4);
  box-shadow: 0 0 0 1px rgba(229, 116, 62, 0.12);
}
.sig-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #22406a;
  color: #9fb6d6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.sig-row.pending .sig-avatar {
  background: #3a2417;
  color: #f0a883;
}
.sig-info { flex: 1; }
.sig-info .name {
  font-size: 14.5px;
  font-weight: 600;
  color: #e7edf5;
}
.sig-info .role {
  font-size: 12px;
  color: #7e8da3;
}
.sig-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #1f6b45;
  color: #7fd3a8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.sig-awaiting {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #f0a883;
  text-transform: uppercase;
}

/* ---- Features grid ---- */
.features-grid-section {
  padding: 96px 0;
}
.features-grid-section h2 {
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--lf-text);
  margin: 18px 0 46px;
  max-width: 640px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--lf-border);
  border: 1px solid var(--lf-border);
  border-radius: var(--lf-radius-lg);
  overflow: hidden;
}
.feature-cell {
  background: #fff;
  padding: 30px 28px;
}
.feature-cell-icon {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: #f4f2ee;
  border: 1px solid var(--lf-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--lf-orange);
  letter-spacing: 0.04em;
}
.feature-cell h5 {
  font-size: 18px;
  font-weight: 700;
  color: var(--lf-text);
  margin: 18px 0 8px;
}
.feature-cell p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--lf-text-secondary);
  margin: 0;
}

@media (max-width: 880px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ---- Pricing ---- */
.pricing-section {
  padding: 96px 0;
  background: var(--lf-bg-warm);
  border-top: 1px solid var(--lf-border);
  border-bottom: 1px solid var(--lf-border);
}
.pricing-section .section-title {
  text-align: center;
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--lf-text);
  margin: 18px 0 0;
}
.pricing-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}
.pricing-toggle-pills {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: #fff;
  border: 1px solid var(--lf-border);
  border-radius: 999px;
  box-shadow: var(--lf-shadow-sm);
}
.pricing-toggle-pills button {
  appearance: none;
  border: none;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 9px 20px;
  border-radius: 999px;
  background: transparent;
  color: #6b7280;
  transition: 0.15s;
}
.pricing-toggle-pills button.active {
  background: var(--lf-dark);
  color: #fff;
}
.pricing-toggle-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lf-text-muted);
}
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
  align-items: stretch;
}
.pricing-card {
  background: #fff;
  border: 1px solid var(--lf-border);
  border-radius: 16px;
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
}
.pricing-card.featured {
  background: var(--lf-dark);
  border-color: var(--lf-dark);
  color: #fff;
  position: relative;
  box-shadow: 0 30px 60px -30px rgba(15, 28, 46, 0.4);
}
.pricing-card .badge {
  position: absolute;
  top: 20px;
  right: 22px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--lf-orange);
  padding: 5px 10px;
  border-radius: 6px;
}
.pricing-card .tier {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.pricing-card .tier-desc {
  font-size: 14px;
  color: var(--lf-text-secondary);
  line-height: 1.5;
  margin: 8px 0 22px;
}
.pricing-card.featured .tier-desc { color: #9fb0c9; }
.pricing-card .price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.pricing-card .price .amount {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.pricing-card .price .period {
  font-size: 14px;
  color: var(--lf-text-muted);
  font-weight: 500;
}
.pricing-card.featured .price .period { color: #7e8da3; }
.pricing-card .divider {
  height: 1px;
  background: var(--lf-border);
  margin: 24px 0;
}
.pricing-card.featured .divider { background: rgba(255, 255, 255, 0.12); }
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}
.pricing-feature {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  color: #3a4252;
}
.pricing-card.featured .pricing-feature { color: #d2dae6; }
.pricing-feature .check {
  color: var(--lf-orange);
  font-weight: 800;
}
.pricing-card.featured .pricing-feature .check { color: #f0a883; }
.pricing-card .card-cta {
  margin-top: 26px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  padding: 13px;
  border-radius: 9px;
  display: block;
}
.pricing-card .card-cta.ghost {
  background: #fff;
  color: var(--lf-text);
  border: 1px solid var(--lf-border-strong);
}
.pricing-card .card-cta.orange {
  background: var(--lf-orange);
  color: #fff;
  border: none;
}

@media (max-width: 880px) {
  .pricing-cards { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
}

/* ---- CTA ---- */
.cta-section {
  text-align: center;
  padding: 104px 0;
  background: #fff;
}
.cta-section h2 {
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--lf-text);
  margin: 20px auto 0;
  max-width: 720px;
}
.cta-section .cta-buttons {
  display: flex;
  gap: 13px;
  justify-content: center;
  margin-top: 34px;
}
.cta-section .cta-meta {
  margin-top: 30px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lf-text-muted);
}

/* ---- Footer ---- */
.footer {
  background: var(--lf-dark);
  color: #fff;
}
.footer-inner {
  padding: 54px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}
.footer-brand .name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.footer-brand .tld { color: var(--lf-orange-light); }
.footer-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: #8fa0b8;
  margin: 18px 0 0;
  max-width: 300px;
}
.footer-by {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5c6b82;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5c6b82;
  margin: 0 0 16px;
  font-weight: 500;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-col ul a {
  font-size: 14.5px;
  color: #aeb9c9;
  transition: color 120ms;
}
.footer-col ul a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-bottom span:first-child {
  font-size: 13px;
  color: #6f7e94;
}
.footer-bottom span:last-child {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5c6b82;
}

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---- Animation ---- */
@keyframes lfpulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ---- Skeleton bars (for doc mockups) ---- */
.skel {
  height: 7px;
  border-radius: 3px;
  background: #eceae4;
  margin-bottom: 11px;
}
.skel-dark {
  height: 12px;
  border-radius: 3px;
  background: var(--lf-dark);
  margin: 13px 0 22px;
}
.skel-colored {
  display: inline-block;
  height: 7px;
  border-radius: 3px;
  vertical-align: middle;
}
