/**
 * Digital Pilots — high-intent SaaS landing.
 * Visual layer only. Does not rename app chrome classes.
 */
body.pictor-landing {
  background: #f4f6f9 !important;
  color: #0f172a;
}

html:has(body.pictor-landing) {
  scroll-behavior: smooth;
  scroll-padding-top: 4.6rem;
}

body.pictor-landing .lp-page {
  --lp-navy: #071422;
  --lp-navy-2: #0c1d30;
  --lp-ink: #0f172a;
  --lp-muted: #5b6b7f;
  --lp-line: #dbe3ee;
  --lp-canvas: #f4f6f9;
  --lp-surface: #ffffff;
  --lp-teal: #0f766e;
  --lp-teal-2: #14b8a6;
  --lp-teal-soft: #ecfdf8;
  --lp-warn: #c2410c;
  --lp-shadow: 0 24px 60px rgba(7, 20, 34, 0.18);
  overflow-x: clip;
}

body.pictor-landing .lp-page a:focus-visible,
body.pictor-landing .lp-page button:focus-visible,
body.pictor-landing .lp-page summary:focus-visible {
  outline: 2px solid var(--lp-teal-2);
  outline-offset: 3px;
}

.lp-skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: #fff;
  color: var(--lp-ink);
  padding: 0.5rem 0.8rem;
  border-radius: 0.4rem;
}
.lp-skip:focus {
  top: 0.75rem;
}

.lp-wrap {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

/* ——— Nav ——— */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 20, 34, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.lp-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.1rem;
}
.lp-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #f8fafc !important;
  text-decoration: none !important;
  min-width: 0;
}
.lp-brand strong {
  display: block;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  line-height: 1.1;
}
.lp-brand small {
  display: block;
  color: #7dd3c7;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.lp-nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}
.lp-nav-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}
.lp-nav-links a:hover {
  color: #fff;
}
.lp-nav-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.lp-nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: #fff;
  border-radius: 0.55rem;
  cursor: pointer;
  font-size: 1.2rem;
}
.lp-drawer {
  display: none;
}
.lp-drawer.is-open {
  display: grid;
  gap: 0.35rem;
  padding: 0 0 1rem;
}
.lp-drawer a {
  color: #e2e8f0;
  text-decoration: none;
  padding: 0.7rem 0.2rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* ——— Buttons ——— */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.85rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  font-weight: 750;
  font-size: 0.92rem;
  text-decoration: none !important;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.lp-btn:hover {
  transform: translateY(-1px);
}
.lp-btn-lg {
  min-height: 3.15rem;
  padding: 0.8rem 1.35rem;
  font-size: 1rem;
}
.lp-btn-primary {
  background: linear-gradient(180deg, #14b8a6 0%, #0f766e 100%);
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.35);
}
.lp-btn-primary:hover {
  background: #0d9488;
  color: #fff !important;
}
.lp-btn-ghost {
  background: transparent;
  color: #e2e8f0 !important;
  border-color: rgba(255, 255, 255, 0.18);
}
.lp-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff !important;
}
.lp-btn-light {
  background: #fff;
  color: var(--lp-navy) !important;
  border-color: var(--lp-line);
}
.lp-btn-outline {
  background: #fff;
  color: var(--lp-teal) !important;
  border-color: #99f6e4;
}
.lp-btn-outline:hover {
  background: var(--lp-teal-soft);
}

/* ——— Hero ——— */
.lp-hero {
  background:
    radial-gradient(900px 420px at 85% 10%, rgba(20, 184, 166, 0.22), transparent 55%),
    radial-gradient(700px 380px at 0% 100%, rgba(194, 65, 12, 0.12), transparent 50%),
    var(--lp-navy);
  color: #f8fafc;
  padding: 3.4rem 0 4.2rem;
  overflow: hidden;
}
.lp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
  gap: 2.5rem;
  align-items: center;
}
.lp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.14);
  color: #5eead4;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lp-hero h1 {
  margin: 1rem 0 0.9rem;
  font-size: clamp(2.15rem, 4.6vw, 3.55rem);
  font-weight: 800;
  letter-spacing: -0.048em;
  line-height: 1.05;
  max-width: 10.8em;
  color: #f8fafc !important;
}
.lp-hero .lp-lead {
  max-width: 38rem;
  color: #94a3b8;
  font-size: 1.08rem;
  line-height: 1.55;
  margin-bottom: 1.4rem;
}
.lp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
}
.lp-hero-note {
  color: #7dd3c7;
  font-size: 0.84rem;
  font-weight: 600;
}
.lp-hero-note code {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0.1rem 0.4rem;
  border-radius: 0.3rem;
  font-size: 0.8rem;
}
.lp-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.75rem;
  max-width: 28rem;
}
.lp-hero-stat {
  padding: 0.75rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.lp-hero-stat b {
  display: block;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  color: #f8fafc;
}
.lp-hero-stat span {
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 600;
}

.lp-hero-visual {
  position: relative;
  transform: perspective(1400px) rotateY(-9deg) rotateX(5deg);
  transform-origin: center right;
}
.lp-hero-glow {
  position: absolute;
  inset: 12% -8% -18% 8%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.35), transparent 70%);
  filter: blur(18px);
  pointer-events: none;
}

/* ——— Product chrome ——— */
.lp-frame {
  position: relative;
  background: #0b1724;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  box-shadow: var(--lp-shadow);
  overflow: hidden;
}
.lp-frame-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.8rem;
  background: #0a1522;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 650;
}
.lp-dot {
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 50%;
  background: #334155;
}
.lp-dot:nth-child(1) { background: #f43f5e; }
.lp-dot:nth-child(2) { background: #f59e0b; }
.lp-dot:nth-child(3) { background: #10b981; }
.lp-ui {
  display: grid;
  grid-template-columns: 9.2rem minmax(0, 1fr);
  min-height: 22.5rem;
  background: #f3f5f8;
  color: var(--lp-ink);
}
.lp-ui-side {
  background: var(--lp-navy);
  color: #94a3b8;
  padding: 0.75rem 0.55rem;
  font-size: 0.68rem;
  overflow: hidden;
}
.lp-ui-side .lp-side-label {
  margin: 0.55rem 0.4rem 0.25rem;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 700;
}
.lp-ui-side a,
.lp-ui-side span.lp-side-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.45rem;
  border-radius: 0.4rem;
  color: #94a3b8;
  text-decoration: none;
}
.lp-ui-side .is-on {
  background: rgba(20, 184, 166, 0.14);
  color: #f8fafc;
}
.lp-ui-main {
  min-width: 0;
  padding: 0.7rem 0.75rem 0.85rem;
}
.lp-ui-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}
.lp-ui-top h3 {
  margin: 0;
  font-size: 0.92rem;
  letter-spacing: -0.03em;
}
.lp-ui-top p {
  margin: 0.1rem 0 0;
  color: var(--lp-muted);
  font-size: 0.68rem;
}
.lp-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: var(--lp-teal);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
}
.lp-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
  margin-bottom: 0.55rem;
}
.lp-kpi {
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: 0.5rem;
  padding: 0.45rem 0.5rem 0.4rem;
}
.lp-kpi small {
  display: block;
  color: var(--lp-muted);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.lp-kpi b {
  display: block;
  font-size: 0.92rem;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.lp-kpi.warn b { color: var(--lp-warn); }
.lp-kpi.ok b { color: var(--lp-teal); }
.lp-panel-card {
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: 0.55rem;
  overflow: hidden;
}
.lp-mini-head {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0.55rem;
  border-bottom: 1px solid var(--lp-line);
  font-size: 0.68rem;
  font-weight: 700;
  color: #334155;
}
.lp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.68rem;
}
.lp-table th,
.lp-table td {
  padding: 0.38rem 0.55rem;
  text-align: left;
  border-bottom: 1px solid #eef2f6;
  white-space: nowrap;
}
.lp-table th {
  color: #64748b;
  font-weight: 700;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.lp-table tr:last-child td { border-bottom: 0; }
.lp-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.08rem 0.38rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 750;
}
.lp-badge-teal { background: #ccfbf1; color: #0f766e; }
.lp-badge-amber { background: #ffedd5; color: #c2410c; }
.lp-badge-rose { background: #ffe4e6; color: #be123c; }
.lp-badge-slate { background: #e2e8f0; color: #334155; }
.lp-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.28rem;
  height: 4.6rem;
  padding: 0.55rem 0.65rem 0.45rem;
}
.lp-bars span {
  flex: 1;
  border-radius: 0.25rem 0.25rem 0 0;
  background: linear-gradient(180deg, #2dd4bf, #0f766e);
  min-height: 18%;
}
.lp-follow {
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
  padding: 0.4rem 0.55rem;
  border-bottom: 1px solid #eef2f6;
  font-size: 0.68rem;
}
.lp-follow:last-child { border-bottom: 0; }
.lp-follow b { display: block; }
.lp-follow small { color: var(--lp-muted); }

/* ——— Sections ——— */
.lp-section {
  padding: 4.25rem 0;
}
.lp-section-kicker {
  color: var(--lp-teal);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}
.lp-section h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -0.04em;
  font-weight: 800;
  margin: 0 0 0.7rem;
  max-width: 18ch;
  line-height: 1.12;
}
.lp-section .lp-sub {
  color: var(--lp-muted);
  font-size: 1.02rem;
  max-width: 40rem;
  margin-bottom: 1.8rem;
  line-height: 1.55;
}

.lp-pain {
  background: #fff;
  border-top: 1px solid var(--lp-line);
  border-bottom: 1px solid var(--lp-line);
}
.lp-pain-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}
.lp-pain-card {
  background: var(--lp-canvas);
  border: 1px solid var(--lp-line);
  border-radius: 1rem;
  padding: 1.15rem 1.1rem 1.2rem;
  min-height: 100%;
}
.lp-pain-card i {
  color: var(--lp-warn);
  font-size: 1.35rem;
}
.lp-pain-card h3 {
  font-size: 1.02rem;
  margin: 0.7rem 0 0.4rem;
  letter-spacing: -0.03em;
}
.lp-pain-card p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

/* ——— Dashboard tour ——— */
.lp-tour {
  background: #eef3f7;
}
.lp-tabs {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  margin-bottom: 1rem;
  scrollbar-width: thin;
}
.lp-tab {
  flex: 0 0 auto;
  border: 1px solid var(--lp-line);
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: 0.48rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  min-height: 2.5rem;
  cursor: pointer;
  font-family: inherit;
}
.lp-tab[aria-selected="true"] {
  background: var(--lp-navy);
  color: #fff;
  border-color: var(--lp-navy);
}
.lp-tour-copy {
  display: grid;
  grid-template-columns: 16rem minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}
.lp-tour-note h3 {
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  margin: 0 0 0.45rem;
}
.lp-tour-note p,
.lp-tour-note li {
  color: var(--lp-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}
.lp-tour-note ul {
  margin: 0.6rem 0 1rem;
  padding-left: 1.05rem;
}
.lp-panel[hidden] { display: none !important; }
.lp-tour .lp-hero-visual,
.lp-split .lp-hero-visual {
  transform: none;
}
.lp-tour .lp-ui {
  min-height: 24rem;
}

/* ——— Splits & modules ——— */
.lp-split-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 2rem;
  align-items: center;
  margin-bottom: 3.2rem;
}
.lp-split-row:last-child { margin-bottom: 0; }
.lp-split-row.is-flip {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}
.lp-split-row.is-flip .lp-split-copy { order: 2; }
.lp-check {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.25rem;
}
.lp-check li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin-bottom: 0.55rem;
  color: #334155;
  font-weight: 550;
  font-size: 0.95rem;
}
.lp-check i {
  color: var(--lp-teal);
  margin-top: 0.15rem;
}

.lp-modules {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}
.lp-mod {
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: 0.95rem;
  padding: 1.05rem 1rem 1.1rem;
}
.lp-mod i {
  font-size: 1.25rem;
  color: var(--lp-teal);
}
.lp-mod h3 {
  font-size: 0.98rem;
  margin: 0.55rem 0 0.3rem;
  letter-spacing: -0.02em;
}
.lp-mod p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.lp-flow {
  background: var(--lp-navy);
  color: #f8fafc;
}
.lp-flow h2 { color: #f8fafc !important; }
.lp-flow .lp-section-kicker { color: #5eead4; }
.lp-flow .lp-sub { color: #94a3b8; }
.lp-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
}
.lp-step {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.9rem;
  padding: 1rem 0.9rem;
}
.lp-step b {
  display: block;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  color: #5eead4;
  font-size: 0.72rem;
  margin-bottom: 0.35rem;
}
.lp-step strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}
.lp-step span {
  color: #94a3b8;
  font-size: 0.8rem;
  line-height: 1.4;
}

.lp-desks {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}
.lp-desk {
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: 1rem;
  padding: 1.15rem 1rem;
}
.lp-desk i { color: var(--lp-teal); font-size: 1.3rem; }
.lp-desk h3 { font-size: 1rem; margin: 0.55rem 0 0.35rem; }
.lp-desk p { margin: 0; color: var(--lp-muted); font-size: 0.84rem; }

.lp-band {
  background:
    radial-gradient(600px 240px at 100% 0%, rgba(20, 184, 166, 0.18), transparent 60%),
    var(--lp-navy);
  color: #fff;
}
.lp-band-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
.lp-band h2 {
  max-width: 16ch;
  color: #f8fafc !important;
}
.lp-band .lp-sub { color: #94a3b8; margin-bottom: 0; }

.lp-faq details {
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: 0.85rem;
  padding: 0.95rem 1.1rem;
  margin-bottom: 0.55rem;
}
.lp-faq summary {
  cursor: pointer;
  font-weight: 750;
  letter-spacing: -0.02em;
  list-style: none;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq details p {
  margin: 0.55rem 0 0;
  color: var(--lp-muted);
  line-height: 1.5;
}

.lp-footer {
  padding: 1.6rem 0 5.5rem;
  color: #64748b;
  font-size: 0.82rem;
}
.lp-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.lp-footer a { color: var(--lp-teal); font-weight: 650; text-decoration: none; }

.lp-sticky {
  display: none;
}

@media (max-width: 1100px) {
  .lp-pain-grid,
  .lp-modules,
  .lp-steps,
  .lp-desks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lp-hero-grid,
  .lp-tour-copy,
  .lp-split-row,
  .lp-split-row.is-flip,
  .lp-band-inner {
    grid-template-columns: 1fr;
  }
  .lp-split-row.is-flip .lp-split-copy { order: 0; }
  .lp-hero-visual { transform: none; }
  .lp-hero h1 { max-width: 18ch; }
  .lp-nav-links { gap: 0.85rem; }
}

@media (max-width: 860px) {
  .lp-nav-links { display: none; }
  .lp-nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
}

@media (max-width: 767.98px) {
  .lp-hero { padding: 2rem 0 2.4rem; }
  .lp-section { padding: 2.8rem 0; }
  .lp-hero-stats,
  .lp-kpis,
  .lp-pain-grid,
  .lp-modules,
  .lp-steps,
  .lp-desks {
    grid-template-columns: 1fr 1fr;
  }
  .lp-ui { grid-template-columns: 1fr; }
  .lp-ui-side { display: none; }
  .lp-nav-cta .lp-btn-ghost { display: none; }
  .lp-brand small { display: none; }
  .lp-brand strong {
    white-space: nowrap;
    font-size: 0.72rem;
  }
  .lp-nav-inner { gap: 0.5rem; }
  .lp-nav-cta .lp-btn-primary {
    min-height: 2.5rem;
    padding: 0.5rem 0.85rem;
    font-size: 0.82rem;
  }
  .lp-sticky {
    display: flex;
    position: fixed;
    inset: auto 0 0 0;
    z-index: 60;
    gap: 0.5rem;
    padding: 0.7rem 0.9rem calc(0.7rem + env(safe-area-inset-bottom));
    background: rgba(7, 20, 34, 0.94);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .lp-sticky .lp-btn { flex: 1; }
}

@media (max-width: 479.98px) {
  .lp-hero-stats { grid-template-columns: 1fr; }
  .lp-kpis { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-btn,
  .lp-hero-visual {
    transition: none;
    transform: none;
  }
}
