/* Landing-page layer for /reports and /export.
   Loaded AFTER style.css and used only by those two pages, so nothing here can
   regress index / pricing / privacy / terms / docs. Inherits the palette vars
   from style.css :root — do not redeclare colours here, the two must stay in sync.

   The shape this file exists to impose: centred hero → centred section heads →
   full-bleed alternating bands for rhythm → cards and a two-column "versus"
   instead of prose tables → an accordion FAQ → one closing CTA. Body copy inside
   cards stays LEFT aligned on purpose; centred paragraphs hurt readability. */

/* --- Hero --- */

.lp-hero {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  padding: 84px 24px 56px;
}

.lp-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text3);
  margin: 0 0 20px;
}

.lp-hero h1 {
  font-size: clamp(34px, 5.4vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0 0 22px;
  text-wrap: balance;
}

/* style.css scopes the gradient to .hero-title / .page-header h1; re-declare it for
   the landing hero rather than widening the selector over there. */
.lp-hero h1 .accent {
  background: linear-gradient(96deg, oklch(62% 0.19 290), oklch(70% 0.15 240));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lp-hero .sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text2);
  max-width: 640px;
  margin: 0 auto 30px;
  text-wrap: pretty;
}

.lp-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.lp-cta .btn-primary { font-size: 15px; padding: 13px 26px; }
.lp-cta .btn-secondary { font-size: 15px; padding: 13px 26px; }

.lp-fine { font-size: 13px; color: var(--text3); margin: 18px 0 0; }

/* --- Sections + full-bleed bands --- */

.lp-band {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.lp-section {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 72px 24px;
}

.lp-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }

.lp-head h2 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.022em;
  font-weight: 700;
  margin: 0 0 14px;
  text-wrap: balance;
}

.lp-head p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text2);
  margin: 0;
  text-wrap: pretty;
}

.lp-head p strong { color: var(--text); }

/* --- Feature cards --- */

.lp-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.lp-card {
  padding: 28px 26px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background-color: var(--bg);
}

.lp-band .lp-card { background-color: var(--bg); }

.lp-card .ico { color: var(--accent); display: block; margin-bottom: 16px; }
.lp-card h3 { font-size: 18px; font-weight: 650; margin: 0 0 9px; letter-spacing: -0.01em; }
.lp-card p { font-size: 14.5px; line-height: 1.6; color: var(--text2); margin: 0; }

/* --- Versus block --- */

.lp-versus {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.lp-vcol {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 26px 28px;
  background-color: var(--bg);
}

.lp-vcol.win { border-color: color-mix(in oklch, var(--accent) 50%, var(--border)); }

.lp-vcol > h3 {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text3);
  margin: 0 0 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.lp-vcol.win > h3 { color: var(--accent); }

.lp-vlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }

.lp-vlist li {
  position: relative;
  padding-left: 28px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text2);
}

.lp-vlist li b {
  display: block;
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  margin-bottom: 3px;
}

.lp-vlist li::before {
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.lp-vlist.neg li::before {
  content: '\2013';
  background-color: color-mix(in oklch, var(--text3) 22%, transparent);
  color: var(--text3);
}

.lp-vlist.pos li::before {
  content: '\2713';
  background-color: color-mix(in oklch, var(--accent) 24%, transparent);
  color: var(--accent);
}

/* --- Diagram (many plans -> one file) --- */

.lp-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin: 44px auto 0;
}

.lp-stack { display: grid; grid-template-columns: repeat(3, 58px); gap: 7px; }

.lp-stack span {
  height: 34px;
  border-radius: 5px;
  border: 1px solid var(--border);
  background-color: var(--surface);
}

.lp-arrow { color: var(--text3); font-size: 22px; line-height: 1; }

.lp-file {
  width: 92px;
  height: 112px;
  border-radius: 8px;
  border: 1px solid color-mix(in oklch, var(--accent) 50%, var(--border));
  background-color: var(--surface);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.lp-diagram-cap {
  text-align: center;
  font-size: 13px;
  color: var(--text3);
  margin: 18px 0 0;
}

/* --- Column / route table --- */

.lp-table-wrap {
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  background-color: var(--bg);
  overflow: hidden;
}

.lp-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }

.lp-table th {
  text-align: left;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text3);
  padding: 16px 24px 12px;
  border-bottom: 1px solid var(--border);
}

.lp-table td {
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  color: var(--text2);
  line-height: 1.5;
}

.lp-table tr:last-child td { border-bottom: none; }
.lp-table td.k { color: var(--text); font-weight: 600; white-space: nowrap; }

/* --- Scope pills --- */

.lp-pills { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.lp-pill {
  border: 1px solid var(--border);
  border-radius: 999px;
  background-color: var(--bg);
  padding: 11px 22px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
}

/* --- FAQ accordion --- */

.lp-faq { max-width: 780px; margin: 0 auto; border-top: 1px solid var(--border); }

.lp-faq details { border-bottom: 1px solid var(--border); }

.lp-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 44px 22px 0;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  position: relative;
}

.lp-faq summary::-webkit-details-marker { display: none; }

.lp-faq summary::after {
  content: '';
  position: absolute;
  right: 10px;
  top: 27px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--text3);
  border-bottom: 2px solid var(--text3);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.lp-faq details[open] summary::after { transform: rotate(-135deg); top: 31px; }
.lp-faq summary:hover { color: var(--text); }
.lp-faq summary:hover::after { border-color: var(--text2); }

.lp-faq .ans {
  margin: 0;
  padding: 0 40px 24px 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text2);
}

.lp-faq .ans + .ans { padding-top: 0; margin-top: -8px; }

/* --- Read-more links --- */

.lp-links { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }

.lp-links a {
  display: block;
  padding: 15px 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background-color: var(--bg);
  color: var(--text2);
  font-size: 14.5px;
  line-height: 1.5;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.lp-links a:hover { border-color: var(--text3); color: var(--text); }

/* --- Closing CTA --- */

.lp-final { text-align: center; padding: 84px 24px 92px; max-width: 720px; margin: 0 auto; }

.lp-final h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0 0 16px;
  text-wrap: balance;
}

.lp-final p { font-size: 16.5px; line-height: 1.6; color: var(--text2); margin: 0 0 28px; }

/* --- Inline note --- */

.lp-note {
  max-width: 680px;
  margin: 32px auto 0;
  text-align: center;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text3);
}

/* --- Responsive --- */

@media (max-width: 900px) {
  .lp-cards { grid-template-columns: minmax(0, 1fr); }
  .lp-versus { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .lp-hero { padding: 52px 20px 40px; }
  .lp-hero .sub { font-size: 16.5px; }
  .lp-section { padding: 52px 20px; }
  .lp-head { margin-bottom: 32px; }
  .lp-final { padding: 60px 20px 68px; }
  .lp-cta .btn-primary, .lp-cta .btn-secondary { width: 100%; }
  .lp-table th, .lp-table td { padding: 13px 16px; }
  .lp-faq summary { font-size: 15.5px; padding-right: 36px; }
  .lp-stack { grid-template-columns: repeat(3, 46px); }
}
