:root {
  --lpt-bg: #f6f8fb;
  --lpt-card: #ffffff;
  --lpt-ink: #0f172a;
  --lpt-sub: #475569;
  --lpt-blue: #2563eb;
  --lpt-blue-dark: #1d4ed8;
  --lpt-teal: #0f766e;
  --lpt-teal-bright: #14b8a6;
  --lpt-line: #dbe3ef;
  --lpt-rad: 14px;
  --lpt-sh-1: 0 1px 2px rgba(0, 0, 0, .06);
  --lpt-sh-2: 0 8px 24px rgba(0, 0, 0, .08);
  --lpt-font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.lpt-body {
  margin: 0;
  background: var(--lpt-bg);
  color: var(--lpt-ink);
  font-family: var(--lpt-font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lpt-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.lpt-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.lpt-prose { max-width: 70ch; }

/* Header */
.lpt-topbar {
  background: var(--lpt-card);
  border-bottom: 1px solid var(--lpt-line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.lpt-topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
}
.lpt-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--lpt-ink);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.lpt-logo:hover { text-decoration: none; }
.lpt-logo-dot {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--lpt-blue);
  box-shadow: inset 0 0 0 4px var(--lpt-teal-bright);
  flex-shrink: 0;
}
.lpt-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.lpt-nav-link {
  color: var(--lpt-sub);
  font-size: 14px;
  font-weight: 600;
}
.lpt-nav-link:hover { color: var(--lpt-blue); text-decoration: none; }

/* Hero */
.lpt-hero {
  padding: 32px 0 48px;
}
.lpt-hero-top {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 24px;
}
.lpt-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--lpt-bg);
  border: 1px solid var(--lpt-line);
  color: var(--lpt-blue-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.lpt-h1 {
  font-size: 40px;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.lpt-h2 {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
}
.lpt-lead {
  margin: 0;
  color: var(--lpt-sub);
  font-size: 17px;
  max-width: 62ch;
}
.lpt-meta-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.lpt-meta-list li {
  background: var(--lpt-card);
  border: 1px solid var(--lpt-line);
  border-radius: 10px;
  padding: 12px;
  box-shadow: var(--lpt-sh-1);
}
.lpt-meta-list strong {
  display: block;
  font-size: 16px;
  color: var(--lpt-ink);
}
.lpt-meta-list span {
  display: block;
  font-size: 12px;
  color: var(--lpt-sub);
}

.lpt-stage-card {
  background: var(--lpt-card);
  border: 1px solid var(--lpt-line);
  border-radius: var(--lpt-rad);
  box-shadow: var(--lpt-sh-2);
  padding: 32px;
}

/* Controls */
.lpt-btn-solid, .lpt-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 10px;
  font-family: var(--lpt-font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
  text-decoration: none;
}
.lpt-btn-solid {
  background: var(--lpt-blue);
  color: #ffffff;
}
.lpt-btn-solid:hover { background: var(--lpt-blue-dark); text-decoration: none; }
.lpt-btn-outline {
  background: var(--lpt-card);
  color: var(--lpt-ink);
  border-color: var(--lpt-line);
}
.lpt-btn-outline:hover { border-color: var(--lpt-blue); color: var(--lpt-blue); text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--lpt-teal-bright);
  outline-offset: 2px;
}
.lpt-text-btn {
  background: none;
  border: none;
  color: var(--lpt-blue);
  font-size: 14px;
  font-weight: 600;
  padding: 4px 0;
  cursor: pointer;
}


/* Social Strip */
.lpt-social-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.lpt-like-btn[data-gf-liked] {
  border-color: var(--lpt-blue);
  background: var(--lpt-bg);
  color: var(--lpt-blue-dark);
}
.lpt-status-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--lpt-teal);
}

/* Bands */
.lpt-band { padding: 56px 0; }
.lpt-band-white {
  background: var(--lpt-card);
  border-top: 1px solid var(--lpt-line);
  border-bottom: 1px solid var(--lpt-line);
}
.lpt-band-intro {
  color: var(--lpt-sub);
  max-width: 68ch;
  margin: 0 0 24px;
}

/* Numbered 7-Trait List */
.lpt-trait-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.lpt-trait-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--lpt-bg);
  border: 1px solid var(--lpt-line);
  border-radius: var(--lpt-rad);
  padding: 20px;
}
.lpt-trait-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--lpt-blue);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.lpt-trait-card h3 { margin: 0 0 6px; font-size: 18px; }
.lpt-trait-card p { margin: 0; font-size: 14px; color: var(--lpt-sub); }

/* Showcase */
.lpt-chart-showcase {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: center;
}
.lpt-figure { margin: 0; }
.lpt-figure figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: var(--lpt-sub);
}
.lpt-check-list {
  padding-left: 20px;
  margin: 16px 0 0;
}
.lpt-check-list li { margin-bottom: 10px; }

/* Prose & FAQ */
.lpt-prose h2 { margin-top: 32px; font-size: 26px; }
.lpt-prose h2:first-child { margin-top: 0; }
.lpt-prose ul, .lpt-prose ol { padding-left: 22px; }
.lpt-prose li { margin-bottom: 8px; }

.lpt-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.lpt-faq-card {
  background: var(--lpt-card);
  border: 1px solid var(--lpt-line);
  border-radius: var(--lpt-rad);
  padding: 20px;
  box-shadow: var(--lpt-sh-1);
}
.lpt-faq-card h3 { margin: 0 0 8px; font-size: 17px; }
.lpt-faq-card p { margin: 0; font-size: 15px; color: var(--lpt-sub); }

/* Comments */
.lpt-form {
  background: var(--lpt-bg);
  border: 1px solid var(--lpt-line);
  border-radius: var(--lpt-rad);
  padding: 20px;
  margin-bottom: 24px;
}
.lpt-field { display: grid; gap: 6px; margin-bottom: 14px; }
.lpt-field label { font-size: 14px; font-weight: 600; }
.lpt-field input, .lpt-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--lpt-line);
  border-radius: 8px;
  background: var(--lpt-card);
  color: var(--lpt-ink);
  font-family: var(--lpt-font);
  font-size: 16px;
}
.lpt-form-bar { display: flex; align-items: center; gap: 14px; }
.lpt-comments { display: grid; gap: 12px; }
.lpt-comments[data-gf-empty]::before {
  content: "No reflections yet. Finish the 28-statement quiz and share your top trait below.";
  display: block;
  padding: 16px;
  border: 1px dashed var(--lpt-line);
  border-radius: var(--lpt-rad);
  color: var(--lpt-sub);
  font-size: 14px;
}
.lpt-comment {
  background: var(--lpt-bg);
  border: 1px solid var(--lpt-line);
  border-radius: var(--lpt-rad);
  padding: 16px;
}
.lpt-comment[data-gf-owner] { border-color: var(--lpt-blue); }
.lpt-comment-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--lpt-sub);
  margin-bottom: 6px;
}
.lpt-comment-head strong { color: var(--lpt-ink); }
.lpt-owner-pill {
  background: var(--lpt-blue);
  color: #ffffff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
}
.lpt-comment-text { margin: 0 0 8px; }
.lpt-replies { margin-top: 10px; padding-left: 16px; border-left: 2px solid var(--lpt-line); display: grid; gap: 8px; }

/* Inner Docs & Footer */
.lpt-doc-wrap { padding: 48px 0 64px; }
.lpt-crumb { display: flex; gap: 8px; font-size: 14px; color: var(--lpt-sub); margin-bottom: 16px; }
.lpt-updated { color: var(--lpt-sub); margin-top: 0; margin-bottom: 24px; }
.lpt-doc-cta { margin-top: 32px; }

.lpt-foot {
  background: var(--lpt-ink);
  color: var(--lpt-line);
  padding: 40px 0 28px;
  font-size: 14px;
}
.lpt-foot-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.lpt-foot-name { display: block; color: var(--lpt-card); font-size: 18px; margin-bottom: 6px; }
.lpt-foot-sub { margin: 0; color: var(--lpt-line); }
.lpt-foot-nav { display: flex; flex-wrap: wrap; gap: 16px; }
.lpt-foot-nav a { color: var(--lpt-card); }
.lpt-foot-copy { padding-top: 18px; color: var(--lpt-line); }
.lpt-foot-copy p { margin: 0; }

/* Quiz Widget */
.lpt-q-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
}
.lpt-q-count { font-weight: 700; color: var(--lpt-ink); }
.lpt-q-trait { color: var(--lpt-teal); font-weight: 600; }
.lpt-progress {
  height: 8px;
  background: var(--lpt-line);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 24px;
}
.lpt-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--lpt-blue);
  transition: width .2s ease;
}
.lpt-q-prompt {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 24px;
  min-height: 60px;
}
.lpt-scale {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.lpt-opt {
  min-height: 52px;
  padding: 10px 8px;
  border: 1px solid var(--lpt-line);
  border-radius: 10px;
  background: var(--lpt-bg);
  color: var(--lpt-ink);
  font-family: var(--lpt-font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.lpt-opt:hover { border-color: var(--lpt-blue); background: var(--lpt-card); }
.lpt-opt.is-active { background: var(--lpt-blue); border-color: var(--lpt-blue); color: #ffffff; }
.lpt-q-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.lpt-kbd-hint { font-size: 12px; color: var(--lpt-sub); }

/* Result Layout */
.lpt-res-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
}
.lpt-score-ring {
  background: var(--lpt-bg);
  border: 1px solid var(--lpt-line);
  border-radius: var(--lpt-rad);
  padding: 16px 20px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}
.lpt-score-num { font-size: 36px; font-weight: 700; color: var(--lpt-blue-dark); }
.lpt-score-cap { font-size: 14px; font-weight: 600; color: var(--lpt-sub); }
.lpt-radar-box {
  background: var(--lpt-bg);
  border: 1px solid var(--lpt-line);
  border-radius: var(--lpt-rad);
  padding: 12px;
}
.lpt-res-name { font-size: 32px; margin: 4px 0 8px; }
.lpt-res-summary { color: var(--lpt-sub); margin: 0 0 18px; }
.lpt-bars { display: grid; gap: 10px; margin-bottom: 18px; }
.lpt-bar-head { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 4px; }
.lpt-bar-track { height: 8px; background: var(--lpt-line); border-radius: 999px; overflow: hidden; }
.lpt-bar-fill { height: 100%; background: var(--lpt-blue); border-radius: 999px; }
.lpt-growth-box {
  background: var(--lpt-bg);
  border: 1px solid var(--lpt-teal-bright);
  color: var(--lpt-ink);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
  margin-bottom: 18px;
}
.lpt-res-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.lpt-community-stat { margin-top: 14px; font-size: 14px; color: var(--lpt-sub); }

@media (max-width: 860px) {
  .lpt-hero-top, .lpt-chart-showcase, .lpt-res-layout { grid-template-columns: 1fr; }
  .lpt-trait-list, .lpt-faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .lpt-wrap { padding: 0 16px; }
  .lpt-h1 { font-size: 28px; }
  .lpt-h2 { font-size: 24px; }
  .lpt-topbar-row { flex-wrap: wrap; padding: 10px 0; gap: 10px; }
  .lpt-nav { gap: 14px; flex-wrap: wrap; }
  .lpt-meta-list { grid-template-columns: 1fr; }
  .lpt-stage-card { padding: 20px 16px; }
  .lpt-q-prompt { font-size: 19px; min-height: auto; }
  .lpt-scale { grid-template-columns: 1fr; }
  .lpt-res-btns .lpt-btn-solid, .lpt-res-btns .lpt-btn-outline { width: 100%; }
  .lpt-foot-grid { flex-direction: column; }
}


/* Editorial Hero Art & Card Polish */
.lpt-hero-top {
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
}
.lpt-hero-copy .lpt-meta-list {
  margin-top: 18px;
  max-width: 520px;
}
.lpt-hero-art {
  margin: 0;
  border-radius: var(--lpt-rad);
  overflow: hidden;
  border: 1px solid var(--lpt-line);
  background: var(--lpt-card);
  box-shadow: var(--lpt-sh-1);
}
.lpt-hero-art img {
  width: 100%;
  max-height: 230px;
  object-fit: cover;
}
.lpt-stage-card {
  border-top: 4px solid var(--lpt-blue);
}
.lpt-opt {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 56px;
  box-shadow: var(--lpt-sh-1);
}
.lpt-opt:hover { transform: translateY(-1px); }
.lpt-banner-art {
  margin: 0 0 28px;
  border-radius: var(--lpt-rad);
  overflow: hidden;
  border: 1px solid var(--lpt-line);
  background: var(--lpt-bg);
}
.lpt-banner-art img {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
}
.lpt-trait-card {
  transition: border-color .15s ease, transform .15s ease;
}
.lpt-trait-card:hover {
  border-color: var(--lpt-blue);
  transform: translateY(-2px);
}
@media (max-width: 860px) {
  .lpt-hero-top { grid-template-columns: 1fr; }
  .lpt-hero-art img { max-height: 200px; }
}
