/* PitchPilot — polished app + landing */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@500;600;700&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap');

:root {
  --pp-primary: #2563eb;
  --pp-primary-soft: rgba(37, 99, 235, 0.16);
  --pp-bg: #0b1220;
  --pp-bg-elev: #0f172a;
  --pp-panel: #111827;
  --pp-panel-2: #151e2e;
  --pp-border: rgba(148, 163, 184, 0.12);
  --pp-text: #f8fafc;
  --pp-muted: #94a3b8;
  --pp-success: #10b981;
  --pp-warning: #f59e0b;
  --pp-danger: #ef4444;
  --pp-info: #38bdf8;
  --pp-radius: 12px;
  --pp-radius-sm: 8px;
  --pp-sidebar: 260px;
  --pp-font: 'Manrope', sans-serif;
  --pp-display: 'Sora', sans-serif;
  --pp-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body.pp-app {
  margin: 0;
  font-family: var(--pp-font);
  background: var(--pp-bg);
  color: var(--pp-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.pp-app.pp-light {
  --pp-bg: #f1f5f9;
  --pp-bg-elev: #ffffff;
  --pp-panel: #ffffff;
  --pp-panel-2: #f8fafc;
  --pp-border: rgba(15, 23, 42, 0.08);
  --pp-text: #0f172a;
  --pp-muted: #64748b;
}
a { color: var(--pp-info); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }

/* —— Shell —— */
.pp-shell { display: flex; min-height: 100vh; }
.pp-sidebar {
  width: var(--pp-sidebar);
  background: #0a101c;
  border-right: 1px solid var(--pp-border);
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 40;
  transition: transform .22s ease;
}
body.pp-light .pp-sidebar { background: #fff; }
.pp-sidebar-brand {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 16px 14px; min-height: 64px;
}
.pp-logo {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--pp-text); text-decoration: none;
}
.pp-logo:hover { text-decoration: none; }
.pp-logo-text { font-family: var(--pp-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -.02em; }
.pp-logo-mark {
  width: 32px; height: 32px; border-radius: 9px;
  display: inline-grid; place-items: center;
  background: linear-gradient(145deg, #3b82f6, #1d4ed8);
  flex-shrink: 0;
}
.pp-logo-mark.sm { width: 26px; height: 26px; }
.pp-nav { padding: 8px 10px 16px; overflow: auto; flex: 1; }
.pp-nav-link, .pp-nav-group > a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 10px;
  color: var(--pp-muted); text-decoration: none; margin-bottom: 2px;
  font-weight: 500; font-size: .94rem;
}
.pp-nav-link .pp-ico, .pp-nav-group summary .pp-ico { opacity: .75; flex-shrink: 0; }
.pp-nav-link:hover, .pp-nav-group > a:hover {
  background: rgba(148,163,184,.08); color: var(--pp-text); text-decoration: none;
}
.pp-nav-link.is-active, .pp-nav-group > a.is-active {
  background: var(--pp-primary-soft); color: var(--pp-text); text-decoration: none;
}
.pp-nav-link.is-active .pp-ico, .pp-nav-group > a.is-active { color: #93c5fd; }
.pp-nav-group { margin: 4px 0 8px; }
.pp-nav-group summary {
  list-style: none; cursor: pointer; padding: 9px 12px; border-radius: 10px;
  color: var(--pp-muted); font-weight: 600; font-size: .94rem;
  display: flex; align-items: center; gap: 10px;
}
.pp-nav-group summary::-webkit-details-marker { display: none; }
.pp-nav-group summary::after { content: ''; margin-left: auto; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: .5; }
.pp-nav-group[open] summary::after { transform: rotate(-135deg); }
.pp-nav-group > a { padding-left: 42px; font-size: .9rem; }
.pp-nav-section-label {
  margin: 18px 12px 8px; font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--pp-muted); font-weight: 700;
}
.pp-sidebar-foot {
  padding: 12px 14px 16px; border-top: 1px solid var(--pp-border);
  display: grid; gap: 4px;
}
.pp-sidebar-foot a {
  color: var(--pp-muted); text-decoration: none; padding: 8px 10px; border-radius: 8px; font-size: .9rem; font-weight: 500;
}
.pp-sidebar-foot a:hover { background: rgba(148,163,184,.08); color: var(--pp-text); }

.pp-main { flex: 1; margin-left: var(--pp-sidebar); min-width: 0; display: flex; flex-direction: column; }
.pp-topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 22px; min-height: 56px;
  border-bottom: 1px solid var(--pp-border);
  background: rgba(11, 18, 32, 0.82); backdrop-filter: blur(12px);
}
body.pp-light .pp-topbar { background: rgba(255,255,255,.88); }
.pp-topbar-brand { display: none; align-items: center; gap: 8px; color: var(--pp-text); text-decoration: none; }
.pp-topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.pp-icon-btn {
  width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--pp-border);
  background: transparent; color: var(--pp-muted); cursor: pointer;
  display: inline-grid; place-items: center;
}
.pp-icon-btn:hover { color: var(--pp-text); background: rgba(148,163,184,.08); }
.pp-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 13px;
  background: var(--pp-primary); color: #fff;
}
.pp-sidebar-close { display: none; }

.pp-content {
  padding: 28px 32px 64px;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
}

/* —— Typography & chrome —— */
.pp-breadcrumb {
  display: flex; gap: 8px; align-items: center;
  color: var(--pp-muted); font-size: .85rem; margin-bottom: 12px;
}
.pp-breadcrumb a { color: var(--pp-muted); }
.pp-page-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  margin-bottom: 22px; flex-wrap: wrap;
}
.pp-h1 {
  margin: 0; font-family: var(--pp-display);
  font-size: clamp(1.55rem, 2.2vw, 1.85rem);
  letter-spacing: -.03em; font-weight: 700;
}
.pp-sub { margin: 6px 0 0; color: var(--pp-muted); max-width: 54ch; font-size: .95rem; }
.pp-muted { color: var(--pp-muted); }
.pp-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.pp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; border-radius: 10px; border: 1px solid var(--pp-border);
  background: var(--pp-panel); color: var(--pp-text); cursor: pointer; text-decoration: none;
  font-weight: 600; font-size: .92rem; line-height: 1.2; white-space: nowrap;
}
.pp-btn:hover { text-decoration: none; border-color: rgba(148,163,184,.28); }
.pp-btn-primary {
  background: var(--pp-primary); border-color: transparent; color: #fff;
}
.pp-btn-primary:hover { filter: brightness(1.08); }
.pp-btn-danger { background: rgba(239,68,68,.12); color: #fca5a5; border-color: rgba(239,68,68,.22); }
.pp-btn-sm { padding: 7px 12px; font-size: .85rem; border-radius: 8px; }

.pp-card, .pp-panel {
  background: var(--pp-panel);
  border: 1px solid var(--pp-border);
  border-radius: var(--pp-radius);
}
.pp-panel { padding: 20px 22px; }

.pp-stat-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px;
}
.pp-stat {
  display: flex; align-items: center; gap: 14px; padding: 18px 16px;
  background: var(--pp-panel); border: 1px solid var(--pp-border); border-radius: var(--pp-radius);
}
.pp-stat-ico {
  width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center; background: var(--pp-primary-soft); color: #93c5fd;
}
.pp-stat-ico.amber { background: rgba(245,158,11,.15); color: #fbbf24; }
.pp-stat-ico.teal { background: rgba(20,184,166,.15); color: #2dd4bf; }
.pp-stat-ico.rose { background: rgba(244,63,94,.14); color: #fb7185; }
.pp-stat strong { display: block; font-size: 1.5rem; line-height: 1; letter-spacing: -.03em; font-family: var(--pp-display); }
.pp-stat span { color: var(--pp-muted); font-size: .88rem; font-weight: 500; }

.pp-table-wrap {
  overflow: auto; border-radius: var(--pp-radius);
  border: 1px solid var(--pp-border); background: var(--pp-panel);
}
.pp-table { width: 100%; border-collapse: collapse; min-width: 700px; }
.pp-table th, .pp-table td {
  padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--pp-border); vertical-align: middle;
}
.pp-table th {
  font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--pp-muted); background: rgba(15, 23, 42, 0.45); font-weight: 700;
}
body.pp-light .pp-table th { background: #f8fafc; }
.pp-table tr:last-child td { border-bottom: 0; }
.pp-table tr:hover td { background: rgba(148,163,184,.04); }
.pp-table a.name { color: var(--pp-text); font-weight: 600; text-decoration: none; }
.pp-table a.name:hover { color: #93c5fd; }

.pp-badge {
  display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 6px;
  font-size: .75rem; font-weight: 700; background: rgba(148,163,184,.14); color: #cbd5e1;
}
.pp-badge-audited, .pp-badge-demo_ready, .pp-badge-opened { background: rgba(37,99,235,.2); color: #93c5fd; }
.pp-badge-won { background: rgba(16,185,129,.16); color: #6ee7b7; }
.pp-badge-lost, .pp-badge-auditing { background: rgba(245,158,11,.14); color: #fcd34d; }
.pp-badge-new { background: rgba(148,163,184,.14); color: #e2e8f0; }
.pp-score { color: #fbbf24; font-weight: 700; font-family: var(--pp-mono); font-size: .95rem; }

.pp-toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; align-items: center; }
.pp-input, .pp-select, .pp-textarea {
  width: 100%; padding: 10px 12px; border-radius: 10px;
  border: 1px solid var(--pp-border); background: rgba(2,6,23,.4); color: var(--pp-text);
}
body.pp-light .pp-input, body.pp-light .pp-select, body.pp-light .pp-textarea { background: #fff; }
.pp-input::placeholder, .pp-textarea::placeholder { color: #64748b; }
.pp-input:focus, .pp-select:focus, .pp-textarea:focus {
  outline: none; border-color: rgba(37,99,235,.55); box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.pp-field { display: grid; gap: 6px; margin-bottom: 14px; }
.pp-field label { font-weight: 600; font-size: .9rem; }
.pp-field .hint { color: var(--pp-muted); font-size: .82rem; }
.pp-form-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; }
.pp-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pp-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.pp-empty {
  padding: 40px 20px; text-align: center; color: var(--pp-muted);
  border: 1px dashed var(--pp-border); border-radius: var(--pp-radius);
}
.pp-alert {
  padding: 14px 16px; border-radius: 10px; margin-bottom: 16px;
  background: rgba(56,189,248,.08); border: 1px solid rgba(56,189,248,.2); color: #bae6fd;
  font-size: .92rem;
}
.pp-alert a { color: #fff; font-weight: 600; }

.pp-accordion details {
  border: 1px solid var(--pp-border); border-radius: 10px; background: var(--pp-panel); margin-bottom: 10px;
}
.pp-accordion summary {
  cursor: pointer; padding: 14px 16px; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
}
.pp-accordion summary::-webkit-details-marker { display: none; }
.pp-accordion .acc-body { padding: 0 16px 16px; }
.pp-kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0; }
.pp-kpi { padding: 16px; border-radius: 10px; border: 1px solid var(--pp-border); background: rgba(15,23,42,.35); }
.pp-kpi label { display: block; color: var(--pp-muted); font-size: .8rem; margin-bottom: 4px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.pp-kpi strong { font-size: 1.35rem; font-family: var(--pp-display); }

.pp-timeline { list-style: none; margin: 0; padding: 0; }
.pp-timeline li {
  position: relative; padding: 0 0 18px 22px; border-left: 2px solid var(--pp-border); margin-left: 8px;
}
.pp-timeline li::before {
  content: ''; position: absolute; left: -5px; top: 4px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--pp-primary);
}
.pp-timeline strong { display: block; }
.pp-timeline span { color: var(--pp-muted); font-size: .85rem; }

/* —— Pipeline —— */
.pp-kanban {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr);
  gap: 12px; overflow-x: auto; padding-bottom: 12px; align-items: start;
}
.pp-kanban-col {
  background: rgba(15, 23, 42, 0.55); border: 1px solid var(--pp-border);
  border-radius: 12px; min-height: 380px; padding: 12px;
}
body.pp-light .pp-kanban-col { background: #eef2f7; }
.pp-kanban-col h3 {
  margin: 0 0 12px; font-size: .82rem; display: flex; justify-content: space-between;
  color: var(--pp-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
}
.pp-kanban-card {
  background: var(--pp-panel); border: 1px solid var(--pp-border); border-radius: 10px;
  padding: 12px; margin-bottom: 8px; cursor: grab;
  transition: border-color .15s ease, transform .15s ease;
}
.pp-kanban-card:hover { border-color: rgba(37,99,235,.35); }
.pp-kanban-card:active { cursor: grabbing; }
.pp-kanban-card.dragging { opacity: .55; transform: scale(.98); }
.pp-kanban-card .title { font-weight: 700; color: var(--pp-text); text-decoration: none; display: block; margin-bottom: 4px; font-size: .92rem; }
.pp-kanban-card .url { color: var(--pp-muted); font-size: .78rem; word-break: break-all; }
.pp-closed-split { display: grid; gap: 10px; }
.pp-closed-split > div { min-height: 100px; padding: 8px; border-radius: 8px; background: rgba(2,6,23,.3); }
.pp-closed-split h4 { margin: 0 0 8px; font-size: .72rem; color: var(--pp-muted); text-transform: uppercase; letter-spacing: .05em; }

.pp-discovery { display: grid; grid-template-columns: 340px 1fr; gap: 16px; align-items: stretch; }
.pp-map { height: 540px; border-radius: 12px; border: 1px solid var(--pp-border); overflow: hidden; background: #0f172a; }
.pp-result-item {
  display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start;
  padding: 12px; border-bottom: 1px solid var(--pp-border);
}
.pp-result-list { max-height: 420px; overflow: auto; }

.pp-theme-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pp-theme-card {
  border: 1px solid var(--pp-border); border-radius: 10px; padding: 12px; cursor: pointer;
  background: rgba(2,6,23,.25);
}
.pp-theme-card.is-selected { outline: 2px solid var(--pp-primary); outline-offset: 1px; }
.pp-check-row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.pp-check-pass { color: #6ee7b7; }
.pp-check-fail { color: #fca5a5; }
.pp-demo-frame { width: 100%; min-height: 70vh; border: 1px solid var(--pp-border); border-radius: 12px; background: #fff; }

.pp-toast {
  position: fixed; right: 18px; bottom: 18px; z-index: 99;
  background: #0f172a; color: #fff; border: 1px solid var(--pp-border);
  padding: 12px 16px; border-radius: 10px;
}
.pp-dropdown { position: relative; display: inline-block; }
.pp-dropdown-menu {
  position: absolute; right: 0; top: calc(100% + 6px); min-width: 150px; z-index: 10;
  background: var(--pp-bg-elev); border: 1px solid var(--pp-border); border-radius: 10px;
  padding: 6px; display: none;
}
.pp-dropdown.open .pp-dropdown-menu { display: grid; }
.pp-dropdown-menu button, .pp-dropdown-menu a {
  display: block; width: 100%; text-align: left; padding: 8px 10px; border: 0; background: transparent;
  color: var(--pp-text); border-radius: 8px; cursor: pointer; text-decoration: none; font-size: .9rem;
}
.pp-dropdown-menu button:hover, .pp-dropdown-menu a:hover { background: rgba(148,163,184,.12); }
.pp-loading { opacity: .55; pointer-events: none; }

.pp-help {
  margin: 0 0 16px; color: var(--pp-muted); font-size: .88rem; max-width: 70ch;
}

@media (max-width: 1100px) {
  .pp-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .pp-discovery { grid-template-columns: 1fr; }
  .pp-kpi-row, .pp-grid-2, .pp-grid-3, .pp-theme-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .pp-sidebar { transform: translateX(-105%); }
  .pp-shell.sidebar-open .pp-sidebar { transform: none; box-shadow: 20px 0 40px rgba(0,0,0,.4); }
  .pp-main { margin-left: 0; }
  .pp-topbar-brand { display: inline-flex; }
  .pp-sidebar-close { display: inline-grid; }
  .pp-content { padding: 18px 14px 40px; }
  .pp-stat-grid, .pp-kpi-row, .pp-grid-2, .pp-grid-3, .pp-theme-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   LANDING PAGE
   ========================================================= */
body.pp-landing {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: #0f1b2d;
  background: #e8eef6;
  -webkit-font-smoothing: antialiased;
}
.pp-lp { overflow-x: hidden; }
.pp-lp-nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 56px);
}
.pp-lp-nav .brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: #07111f;
}
.pp-lp-nav .brand-mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(145deg, #3b82f6, #0ea5e9);
  display: grid; place-items: center;
}
.pp-lp-nav .brand-name {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700; font-size: 1.45rem; letter-spacing: -.03em;
}
.pp-lp-nav-actions { display: flex; gap: 10px; align-items: center; }
.pp-lp-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 18px; border-radius: 999px; font-weight: 700; font-size: .92rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
}
.pp-lp-btn-ghost { color: #0f1b2d; background: transparent; border-color: rgba(15,27,45,.15); }
.pp-lp-btn-ghost:hover { background: rgba(255,255,255,.5); text-decoration: none; }
.pp-lp-btn-solid {
  color: #fff; background: #0b3d91;
  box-shadow: 0 10px 24px rgba(11, 61, 145, 0.25);
}
.pp-lp-btn-solid:hover { filter: brightness(1.06); text-decoration: none; color: #fff; }

.pp-lp-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  padding: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(56, 189, 248, 0.28), transparent 55%),
    radial-gradient(ellipse 70% 50% at 15% 80%, rgba(251, 191, 36, 0.18), transparent 50%),
    linear-gradient(165deg, #dbe7f5 0%, #c5d8ef 42%, #a8c4e4 100%);
}
.pp-lp-hero-inner {
  position: relative; z-index: 2;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 120px 0 56px;
  display: grid;
  gap: 28px;
}
.pp-lp-brand-hero {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(3.2rem, 9vw, 6.2rem);
  line-height: .92;
  letter-spacing: -.045em;
  font-weight: 700;
  color: #07111f;
  margin: 0;
  max-width: 12ch;
  animation: ppFadeUp .8s ease both;
}
.pp-lp-hero-copy {
  max-width: 36ch;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #334155;
  margin: 0;
  animation: ppFadeUp .8s .12s ease both;
}
.pp-lp-cta {
  display: flex; gap: 12px; flex-wrap: wrap;
  animation: ppFadeUp .8s .2s ease both;
}
.pp-lp-hero-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.pp-lp-hero-art svg {
  position: absolute;
  right: -4%;
  top: 8%;
  width: min(62vw, 720px);
  height: auto;
  opacity: .95;
}

@keyframes ppFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes ppFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes ppPulse {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}
@keyframes ppDraw {
  to { stroke-dashoffset: 0; }
}
@keyframes ppOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.pp-lp-float { animation: ppFloat 5s ease-in-out infinite; }
.pp-lp-float-delayed { animation: ppFloat 6s 1s ease-in-out infinite; }
.pp-lp-pulse { animation: ppPulse 3s ease-in-out infinite; }
.pp-lp-orbit { transform-origin: 360px 280px; animation: ppOrbit 28s linear infinite; }
.pp-lp-draw {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: ppDraw 1.6s .4s ease forwards;
}

.pp-lp-section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}
.pp-lp-section h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -.03em;
  margin: 0 0 12px;
  color: #07111f;
  max-width: 18ch;
}
.pp-lp-section .lead {
  margin: 0 0 40px; color: #475569; max-width: 46ch; font-size: 1.05rem;
}
.pp-lp-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.pp-lp-feature {
  padding: 8px 4px 4px;
}
.pp-lp-feature .ico {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center; margin-bottom: 16px;
}
.pp-lp-feature .ico svg { width: 26px; height: 26px; }
.pp-lp-feature h3 {
  margin: 0 0 8px; font-family: 'Sora', sans-serif;
  font-size: 1.1rem; letter-spacing: -.02em; color: #0f172a;
}
.pp-lp-feature p { margin: 0; color: #64748b; font-size: .95rem; line-height: 1.55; }
.pp-lp-ico-blue { background: #dbeafe; color: #1d4ed8; }
.pp-lp-ico-amber { background: #fef3c7; color: #b45309; }
.pp-lp-ico-teal { background: #ccfbf1; color: #0f766e; }
.pp-lp-ico-rose { background: #ffe4e6; color: #be123c; }
.pp-lp-ico-violet { background: #ede9fe; color: #6d28d9; }
.pp-lp-ico-lime { background: #ecfccb; color: #4d7c0f; }

.pp-lp-section-alt { background: rgba(255,255,255,.45); }
.pp-lp-section-alt .pp-lp-section,
section.pp-lp-section-alt { width: 100%; padding-left: 0; padding-right: 0; }
section.pp-lp-section-alt {
  padding: 88px 0;
}
section.pp-lp-section-alt > h2,
section.pp-lp-section-alt > .lead,
section.pp-lp-section-alt > .pp-lp-features,
section.pp-lp-section-alt > .pp-lp-steps {
  width: min(1120px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}
section.pp-lp-section-alt > h2 { margin-bottom: 12px; }
section.pp-lp-section-alt > .lead { margin: 0 auto 40px; }

.pp-lp-features-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.pp-lp-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.pp-lp-step { position: relative; }
.pp-lp-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px;
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: .9rem;
  margin-bottom: 14px;
}
.pp-lp-step-ico {
  width: 64px; height: 64px; border-radius: 18px;
  display: grid; place-items: center; margin-bottom: 16px;
}
.pp-lp-step-ico svg { width: 36px; height: 36px; }
.pp-lp-step h3 {
  margin: 0 0 8px; font-family: 'Sora', sans-serif; font-size: 1.15rem; color: #0f172a;
}
.pp-lp-step p { margin: 0; color: #64748b; }

.pp-lp-split {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.pp-lp-split-rev { direction: rtl; }
.pp-lp-split-rev > * { direction: ltr; }
.pp-lp-eyebrow {
  font-size: .8rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; margin: 0 0 10px;
}
.pp-lp-split-copy h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -.03em; margin: 0 0 12px; color: #07111f;
}
.pp-lp-split-copy .lead { margin: 0 0 20px; color: #475569; max-width: 42ch; }
.pp-lp-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pp-lp-checklist li {
  display: flex; align-items: center; gap: 10px;
  color: #334155; font-weight: 600; font-size: .95rem;
}
.pp-lp-checklist .dot {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
}
.pp-lp-split-art svg { width: 100%; height: auto; display: block; }

.pp-lp-stages {
  display: flex; flex-wrap: wrap; gap: 10px 6px; align-items: stretch;
}
.pp-lp-stage {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid rgba(15,27,45,.08);
  border-radius: 14px; padding: 12px 14px;
  min-width: 120px; flex: 1 1 120px;
  position: relative;
}
.pp-lp-stage-ico {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; flex-shrink: 0;
}
.pp-lp-stage strong { font-size: .85rem; color: #0f172a; }
.pp-lp-stage-arrow {
  position: absolute; right: -10px; color: #94a3b8; font-size: 14px; z-index: 1;
}

.pp-lp-integrate {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.pp-lp-integrate-wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pp-lp-integrate-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 4px;
}
.pp-lp-integrate-item .ico {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; flex-shrink: 0;
}
.pp-lp-integrate-item .ico svg { width: 22px; height: 22px; }
.pp-lp-integrate-item strong { display: block; color: #0f172a; margin-bottom: 4px; }
.pp-lp-integrate-item p { margin: 0; color: #64748b; font-size: .9rem; }

.pp-lp-footer-nav { display: flex; flex-wrap: wrap; gap: 14px; }
.pp-lp-footer-nav a { color: #0b3d91; font-weight: 600; text-decoration: none; }

/* App integrations grid */
.pp-int-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.pp-int-card-head {
  display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px;
}
.pp-int-ico {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; flex-shrink: 0;
}

.pp-lp-band {
  background: linear-gradient(120deg, #0b3d91 0%, #0e7490 100%);
  color: #fff;
  padding: 72px 0;
}
.pp-lp-band .pp-lp-section { padding: 0; }
.pp-lp-band h2 { color: #fff; }
.pp-lp-band .lead { color: rgba(255,255,255,.78); }
.pp-lp-band .pp-lp-btn-solid {
  background: #fff; color: #0b3d91; box-shadow: none;
}
.pp-lp-band .pp-lp-btn-solid:hover { color: #0b3d91; }

.pp-lp-footer {
  padding: 28px clamp(20px, 5vw, 56px) 40px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: #64748b; font-size: .88rem;
  border-top: 1px solid rgba(15,27,45,.08);
  background: #e8eef6;
}
.pp-lp-footer a { color: #0b3d91; font-weight: 600; text-decoration: none; }

@media (max-width: 1100px) {
  .pp-lp-features-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-lp-integrate-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .pp-lp-features, .pp-lp-features-4, .pp-lp-steps, .pp-lp-integrate, .pp-lp-integrate-wide { grid-template-columns: 1fr; }
  .pp-lp-split, .pp-lp-split-rev { grid-template-columns: 1fr; direction: ltr; gap: 28px; }
  .pp-lp-hero-art svg {
    right: -20%; top: 0; width: 90vw; opacity: .35;
  }
  .pp-lp-hero-inner { padding-top: 110px; padding-bottom: 48px; }
  .pp-int-grid { grid-template-columns: 1fr; }
  .pp-lp-stage-arrow { display: none; }
}
@media (max-width: 560px) {
  .pp-lp-nav-actions .pp-lp-btn-ghost { display: none; }
}
