/* Brightwell Bookkeeping landing page. Every rule is scoped under .lp-page. */

.lp-page {
  --lp-bg: #fbfaf7;
  --lp-ink: #1d2b2a;
  --lp-muted: #5a6766;
  --lp-accent: #2f6f5e;
  --lp-accent-hover: #255a4c;
  --lp-surface: #eef3ef;
  --lp-line: #dde5df;
  --lp-white: #ffffff;
  --lp-font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --lp-font-body: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --lp-max: 1160px;
  --lp-gap: 64px;
  --lp-radius: 16px;
  --lp-gutter: 20px;

  display: block;
  margin: 0;
  background: var(--lp-bg);
  color: var(--lp-ink);
  font-family: var(--lp-font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.lp-page *,
.lp-page *::before,
.lp-page *::after { box-sizing: border-box; }

.lp-page img { max-width: 100%; height: auto; display: block; }

.lp-page h1,
.lp-page h2,
.lp-page h3,
.lp-page p,
.lp-page ul,
.lp-page ol { margin: 0; }

.lp-page h1,
.lp-page h2 {
  font-family: var(--lp-font-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--lp-ink);
}

.lp-page h1 { font-size: 38px; line-height: 1.08; }
.lp-page h2 { font-size: 30px; line-height: 1.15; }
.lp-page h3 { font-family: var(--lp-font-body); font-size: 18px; font-weight: 600; line-height: 1.35; }

.lp-page a { color: var(--lp-accent); text-underline-offset: 3px; }
.lp-page a:hover { color: var(--lp-accent-hover); }

.lp-page a:focus-visible,
.lp-page summary:focus-visible {
  outline: 3px solid var(--lp-accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.lp-page .lp-container {
  width: 100%;
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: 0 var(--lp-gutter);
}

/* Buttons */
.lp-page .lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 10px;
  background: var(--lp-accent);
  color: var(--lp-white);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.lp-page .lp-btn:hover { background: var(--lp-accent-hover); color: var(--lp-white); }
.lp-page .lp-btn--small { min-height: 40px; padding: 9px 16px; font-size: 15px; }
.lp-page .lp-btn--onDark:focus-visible { outline-color: var(--lp-white); }

.lp-page .lp-link-secondary {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

/* Nav */
.lp-page .lp-nav { border-bottom: 1px solid var(--lp-line); }
.lp-page .lp-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.lp-page .lp-nav__brand {
  font-family: var(--lp-font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--lp-ink);
  text-decoration: none;
  white-space: nowrap;
}
.lp-page .lp-nav__brand:hover { color: var(--lp-ink); }
.lp-page .lp-nav__inner > a:last-child { white-space: nowrap; }
@media (min-width: 720px) { .lp-page .lp-nav__brand { font-size: 20px; } }

/* Hero */
.lp-page .lp-hero { padding: 48px 0 64px; }
.lp-page .lp-hero__grid { display: grid; gap: 40px; }
.lp-page .lp-hero__sub {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--lp-muted);
  max-width: 34em;
}
.lp-page .lp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 32px;
}
.lp-page .lp-hero__panel {
  display: flex;
  align-items: center;
  background: var(--lp-surface);
  border-radius: var(--lp-radius);
  padding: 32px 28px;
}
.lp-page .lp-hero__points { list-style: none; padding: 0; width: 100%; }
.lp-page .lp-hero__points li {
  padding: 18px 0 18px 32px;
  position: relative;
  font-size: 18px;
  font-weight: 500;
  border-top: 1px solid var(--lp-line);
}
.lp-page .lp-hero__points li:first-child { border-top: 0; }
.lp-page .lp-hero__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 8px;
  margin-top: -6px;
  border-left: 2px solid var(--lp-accent);
  border-bottom: 2px solid var(--lp-accent);
  transform: rotate(-45deg);
}

/* Sections */
.lp-page .lp-section { padding-top: var(--lp-gap); }
.lp-page .lp-section__head { margin-bottom: 32px; max-width: 40em; }
.lp-page .lp-intro { margin-top: 12px; color: var(--lp-muted); font-size: 18px; }

/* Cards */
.lp-page .lp-cards { display: grid; gap: 20px; }
.lp-page .lp-card {
  background: var(--lp-surface);
  border-radius: var(--lp-radius);
  padding: 28px;
}
.lp-page .lp-card p { margin-top: 10px; color: var(--lp-muted); }

/* Steps */
.lp-page .lp-steps__grid { display: grid; gap: 32px; }
.lp-page .lp-steps__list {
  list-style: none;
  padding: 0;
  counter-reset: lp-step;
}
.lp-page .lp-steps__list li {
  counter-increment: lp-step;
  position: relative;
  padding: 24px 0 24px 64px;
  border-top: 1px solid var(--lp-line);
}
.lp-page .lp-steps__list li:last-child { border-bottom: 1px solid var(--lp-line); }
.lp-page .lp-steps__list li::before {
  content: counter(lp-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 22px;
  font-family: var(--lp-font-display);
  font-size: 26px;
  line-height: 1;
  color: var(--lp-accent);
}
.lp-page .lp-steps__list p { margin-top: 6px; color: var(--lp-muted); }

/* Pricing */
.lp-page .lp-plan {
  display: flex;
  flex-direction: column;
  background: var(--lp-white);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  padding: 32px 28px;
}
.lp-page .lp-plan h3 { color: var(--lp-muted); font-size: 16px; font-weight: 600; letter-spacing: 0.02em; }
.lp-page .lp-plan__price { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; }
.lp-page .lp-plan__amount {
  font-family: var(--lp-font-display);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.lp-page .lp-plan__amount--text { font-size: 26px; line-height: 1.25; }
.lp-page .lp-plan__period { color: var(--lp-muted); font-size: 16px; }
.lp-page .lp-plan__list {
  list-style: none;
  padding: 0;
  margin: 24px 0 28px;
  flex: 1 1 auto;
}
.lp-page .lp-plan__list li {
  padding: 10px 0;
  border-top: 1px solid var(--lp-line);
  font-size: 16px;
}
.lp-page .lp-plan .lp-btn { align-self: flex-start; }

/* FAQ */
.lp-page .lp-faq__list { display: grid; gap: 12px; max-width: 820px; }
.lp-page .lp-faq__item {
  background: var(--lp-white);
  border: 1px solid var(--lp-line);
  border-radius: 12px;
}
.lp-page .lp-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
}
.lp-page .lp-faq__item summary::-webkit-details-marker { display: none; }
.lp-page .lp-faq__item summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 24px;
  line-height: 1;
  color: var(--lp-accent);
  transition: transform 0.15s ease;
}
.lp-page .lp-faq__item[open] summary::after { transform: rotate(45deg); }
.lp-page .lp-faq__item summary h3 { font-size: 17px; }
.lp-page .lp-faq__item p { padding: 0 22px 22px; color: var(--lp-muted); max-width: 40em; }

/* Closing CTA */
.lp-page .lp-cta { padding-top: var(--lp-gap); }
.lp-page .lp-cta__band {
  background: var(--lp-ink);
  color: var(--lp-white);
  border-radius: 20px;
  padding: 48px 24px;
  text-align: center;
}
.lp-page .lp-cta__band h2 { color: var(--lp-white); max-width: 18em; margin: 0 auto; }
.lp-page .lp-cta__band p {
  margin: 16px auto 28px;
  max-width: 34em;
  color: #d3dcda;
  font-size: 18px;
}

/* Footer */
.lp-page .lp-footer { padding: 48px 0; }
.lp-page .lp-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: baseline;
  font-size: 14px;
  color: var(--lp-muted);
}
.lp-page .lp-footer__inner p { flex: 1 1 320px; max-width: 60em; }
.lp-page .lp-footer__links { list-style: none; padding: 0; display: flex; gap: 20px; }
.lp-page .lp-footer__links a { color: var(--lp-muted); }
.lp-page .lp-footer__links a:hover { color: var(--lp-ink); }

/* Tablet and up */
@media (min-width: 720px) {
  .lp-page { --lp-gutter: 32px; --lp-gap: 96px; }
  .lp-page h1 { font-size: 48px; }
  .lp-page h2 { font-size: 36px; }
  .lp-page .lp-nav__inner { min-height: 76px; }
  .lp-page .lp-hero { padding: 72px 0 96px; }
  .lp-page .lp-cards--four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .lp-page .lp-cards--three { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .lp-page .lp-steps__grid { grid-template-columns: 1fr 2fr; gap: 56px; }
  .lp-page .lp-cta__band { padding: 56px; }
}

/* Desktop */
@media (min-width: 960px) {
  .lp-page h1 { font-size: 56px; line-height: 1.05; }
  .lp-page .lp-hero__grid { grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
  .lp-page .lp-hero__panel { min-height: 340px; padding: 40px; }
  .lp-page .lp-cards--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
  .lp-page .lp-cards--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .lp-page .lp-btn,
  .lp-page .lp-faq__item summary::after { transition: none; }
}
