/* The landing page (landing.html), to the launch marketing plan's mockup.
   Inter, the header, the buttons and the footer are in brand.css, shared
   with the help, legal and sign-in pages; this is the rest
   (docs/marketing/TallyBeacon Landing Page Refresh.html). Every size, color
   and space here is the mockup's own, moved from its inline styles into
   classes: the CSP allows no inline styles. The page loads only brand.css
   and this, so the app's styles never reach it. The only additions are
   what a live page needs and a mockup doesn't show: the invite form, the
   demo button's states, focus outlines, and smaller headings on a phone. */

/* Boxes size as the mockup's do, the browser's default (content-box): a
   1200px-wide area plus its padding. */

body.lp {
  margin: 0;
  background: #F5F7FA;
  font-family: "Inter", system-ui, sans-serif;
  color: #111827;
  line-height: 1.55;
  font-size: 17px;
}

/* The mockup's link colors, at the lowest priority (:where), so every
   button's and the header's own colors win, as the mockup's inline ones did. */
:where(.lp) a {
  color: #2563eb;
}

:where(.lp) a:where(:hover) {
  color: #1e3a8a;
}

.lp summary {
  cursor: pointer;
  list-style: none;
}

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

.lp :focus-visible {
  outline: 3px solid #f5a524;
  outline-offset: 2px;
}

.lp-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* ---- Bands -------------------------------------------------------------------- */

.lp-band-white {
  background: #FFFFFF;
}

.lp-band-navy {
  background: #1e3a8a;
  color: #FFFFFF;
}

/* ---- Hero --------------------------------------------------------------------- */

.lp-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 24px 80px;
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: center;
}

.lp-hero-copy {
  flex: 1 1 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lp-eyebrow {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #92400e;
}

.lp-h1 {
  margin: 0;
  font-size: 56px;
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.lp-lede {
  margin: 0;
  font-size: 20px;
  color: #3C4A5E;
  max-width: 520px;
}

.lp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.lp-note {
  margin: 0;
  font-size: 14px;
  color: #4A5568;
}

.lp-demo-error {
  color: #B03A0A;
}

/* The private beta's invite request (landing.js). */
.lp-link-button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: #2563eb;
  text-decoration: underline;
  cursor: pointer;
}

.lp-invite-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lp-invite-form[hidden] {
  display: none;
}

.lp-invite-form input {
  font: inherit;
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  min-width: 0;
  flex: 1 1 200px;
}

.lp-invite-form .lp-note {
  flex-basis: 100%;
}

/* The forecast picture. */
.lp-hero-visual {
  flex: 1 1 480px;
  min-width: 0;
}

.lp-mock {
  margin: 0;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.06);
}

.lp-mock-title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: #4A5568;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.lp-mock-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.lp-mock-tile {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #E2E8F0;
  flex: 1 1 140px;
  min-width: 0;
}

.lp-mock-tile span {
  font-size: 12px;
  color: #4A5568;
}

.lp-mock-tile strong {
  font-size: 20px;
}

.lp-mock-tile.is-low {
  border-color: #F3C9A8;
  background: #FFF7ED;
}

.lp-mock-tile.is-low strong {
  color: #B03A0A;
}

.lp-mock-chart {
  display: block;
}

.lp-mock-advice {
  margin: 12px 0 0;
  font-size: 15px;
  color: #111827;
}

.lp-mock-caption {
  margin-top: 8px;
  font-size: 12px;
  color: #4A5568;
}

/* ---- Switching band ----------------------------------------------------------- */

.lp-switch {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}

.lp-switch-copy {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lp-switch-h {
  margin: 0;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.lp-switch-p {
  margin: 0;
  font-size: 18px;
  color: #cbd5e1;
}

.lp-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lp-pill {
  border: 1px solid #60a5fa;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 14px;
  font-weight: 600;
}

.lp a.lp-switch-link {
  color: #f5a524;
  font-weight: 700;
  text-decoration: none;
}

.lp-quote {
  flex: 1 1 360px;
  min-width: 0;
  margin: 0;
  padding: 24px 28px;
  border-radius: 16px;
  background: #172554;
}

.lp-quote p {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.45;
  font-weight: 600;
}

.lp-quote footer {
  font-size: 15px;
  color: #cbd5e1;
}

/* ---- Sections ----------------------------------------------------------------- */

.lp-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 88px 24px;
  display: flex;
  flex-direction: column;
}

.lp-section-80 {
  padding: 80px 24px;
}

.lp-stack-40 {
  gap: 40px;
}

.lp-stack-36 {
  gap: 36px;
}

.lp-stack-32 {
  gap: 32px;
}

.lp-section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 680px;
}

.lp-head-720 {
  max-width: 720px;
}

.lp-head-center {
  text-align: center;
}

.lp-h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

/* A heading of two sentences, one per line ("Plus" starts its own, so it reads
   as the plan's name); on a phone each wraps evenly instead of leaving one word. */
.lp-h2-lines span {
  display: block;
  text-wrap: balance;
}

.lp-section-p {
  margin: 0;
  font-size: 18px;
  color: #3C4A5E;
}

/* ---- Features ----------------------------------------------------------------- */

.lp-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.lp-feature {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* A screenshot from demo mode, where the mockup has its placeholder: the
   same 160px tall box with 12px corners, filled edge to edge. */
.lp-shot {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  background: #EDF2F8;
}

.lp-feature h3 {
  margin: 0;
  font-size: 21px;
}

.lp-feature p {
  margin: 0;
  color: #3C4A5E;
}

/* ---- How it works ------------------------------------------------------------- */

.lp-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.lp-steps li {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lp-step-num {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #1e3a8a;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.lp-step-num.is-goal {
  background: #f5a524;
  color: #111827;
}

.lp-steps strong {
  font-size: 19px;
}

.lp-steps li > span:last-child {
  color: #3C4A5E;
}

/* ---- How we compare ----------------------------------------------------------- */

.lp-compare-wrap {
  overflow-x: auto;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
}

.lp-compare {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  font-size: 16px;
}

.lp-compare thead tr {
  text-align: left;
  border-bottom: 1px solid #E2E8F0;
}

.lp-compare thead th {
  padding: 18px 20px;
  font-weight: 700;
}

.lp-compare thead th.is-us {
  background: #eff6ff;
  color: #1e3a8a;
  font-weight: 800;
}

.lp-compare tbody tr {
  border-bottom: 1px solid #EDF2F7;
}

.lp-compare tbody tr:last-child {
  border-bottom: 0;
}

.lp-compare tbody th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
}

.lp-compare tbody td {
  padding: 16px 20px;
}

.lp-compare tbody td.is-us {
  background: #eff6ff;
  font-weight: 700;
  color: #1e3a8a;
}

.lp-fine {
  margin: 0;
  font-size: 13px;
  color: #4A5568;
}

/* ---- Pricing ------------------------------------------------------------------ */

.lp-pricing {
  gap: 36px;
  align-items: center;
}

.lp-plans {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  width: 100%;
}

.lp-plan {
  flex: 1 1 340px;
  max-width: 460px;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #FFFFFF;
}

.lp-plan.is-plus {
  border: 2px solid #1e3a8a;
  background: #f8fafc;
}

.lp-plan h3 {
  margin: 0 0 6px;
  font-size: 22px;
}

.lp-plan-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.lp-badge {
  background: #f5a524;
  color: #111827;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.lp-price {
  margin: 0;
}

.lp-price-big {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.lp-price-per {
  color: #4A5568;
}

/* The founding price (landing.js): the banner, and the Plus card's price. */
.lp-offer-bar {
  display: block;
  padding: 10px 20px;
  background: #f5a524;
  color: #111827;
  font-size: 15px;
  text-align: center;
  text-decoration: none;
}

.lp-offer-bar[hidden] {
  display: none;
}

.lp-offer-link {
  font-weight: 700;
  text-decoration: underline;
  white-space: nowrap;
}

.lp-founding-tag {
  display: inline-block;
  margin: 0 0 8px;
  padding: 4px 10px;
  border-radius: 6px;
  background: #fdf0d5;
  color: #111827;
  font-size: 14px;
  font-weight: 700;
}

.lp-price-per strong {
  color: #111827;
  font-size: 20px;
}

.lp-price-was {
  margin: 8px 0 0;
  color: #3C4A5E;
  font-size: 15px;
}

.lp-plan-list {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #2D3748;
}

.lp a.lp-plan-btn-outline {
  margin-top: auto;
  text-align: center;
  text-decoration: none;
  border: 1.5px solid #2563eb;
  color: #2563eb;
  padding: 14px;
  border-radius: 12px;
  font-weight: 700;
}

.lp a.lp-plan-btn {
  margin-top: auto;
  text-align: center;
  text-decoration: none;
  background: #2563eb;
  color: #FFFFFF;
  padding: 15px;
  border-radius: 12px;
  font-weight: 700;
}

.lp-pricing-fine {
  margin: 0;
  font-size: 15px;
  color: #3C4A5E;
  text-align: center;
}

/* ---- Data promise ------------------------------------------------------------- */

.lp-promise {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 48px;
}

.lp-promise-copy {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lp-promise-card {
  flex: 1 1 420px;
  min-width: 0;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 28px;
}

.lp-promise-card h3 {
  margin: 0 0 16px;
  font-size: 20px;
}

.lp-checks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 17px;
}

.lp-checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.lp-checks svg {
  flex: none;
  margin-top: 2px;
}

/* ---- Questions ---------------------------------------------------------------- */

.lp-faq-wrap {
  max-width: 860px;
  gap: 28px;
}

.lp-faq {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #E2E8F0;
}

.lp-faq details {
  border-bottom: 1px solid #E2E8F0;
  padding: 20px 0;
}

.lp-faq summary {
  font-size: 19px;
  font-weight: 700;
}

.lp-faq details p {
  margin: 12px 0 0;
  color: #3C4A5E;
}

.lp-faq .lp-notify-form {
  margin-top: 14px;
}

.lp-notify-form input[hidden],
.lp-notify-form button[hidden] {
  display: none;
}

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

.lp-cta {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.lp-cta-h {
  margin: 0;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.lp a.lp-cta-btn {
  text-decoration: none;
  background: #f5a524;
  color: #111827;
  padding: 16px 28px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 18px;
}

.lp-cta-note {
  margin: 0;
  color: #cbd5e1;
  font-size: 15px;
}

/* ---- Phones: the mockup is a desktop canvas; its headings scale down here. ---- */

@media (max-width: 640px) {
  .lp-h1 {
    font-size: 40px;
  }

  .lp-h2,
  .lp-cta-h {
    font-size: 30px;
  }

  .lp-switch-h {
    font-size: 28px;
  }

  .lp-hero {
    padding: 48px 20px 56px;
    gap: 40px;
  }

  .lp-section,
  .lp-section-80 {
    padding: 64px 20px;
  }

  .lp-features {
    grid-template-columns: 1fr;
  }
}
