/* Invoice Builder — marketing landing page */

.ib-landing {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: #1d2327;
  background: #fff;
  line-height: 1.5;
}

.ib-landing a {
  color: var(--ib-landing-accent, #0b3b6e);
}

.ib-landing-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e5e7eb;
}

.ib-landing-header__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.ib-landing-logo {
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  color: #1d2327;
}

.ib-landing-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.ib-landing-nav a {
  text-decoration: none;
  color: #3c434a;
  font-size: 14px;
}

.ib-landing-nav a:hover {
  color: var(--ib-landing-accent, #0b3b6e);
}

.ib-landing-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
}

.ib-landing-btn--sm {
  padding: 8px 14px;
  font-size: 14px;
}

.ib-landing-btn--lg {
  padding: 14px 24px;
  font-size: 16px;
}

.ib-landing-btn--primary {
  background: var(--ib-landing-accent, #0b3b6e);
  color: #fff;
  border-color: var(--ib-landing-accent, #0b3b6e);
}

.ib-landing-btn--primary:hover,
.ib-landing-btn--primary:focus {
  background: #094a8a;
  border-color: #094a8a;
  color: #fff;
}

.ib-landing-btn--outline {
  background: transparent;
  color: var(--ib-landing-accent, #0b3b6e);
  border-color: var(--ib-landing-accent, #0b3b6e);
}

.ib-landing-hero .ib-landing-btn--primary,
.ib-landing-cta .ib-landing-btn--primary {
  background: #fff;
  color: var(--ib-landing-accent, #0b3b6e);
  border-color: #fff;
}

.ib-landing-hero .ib-landing-btn--primary:hover,
.ib-landing-hero .ib-landing-btn--primary:focus,
.ib-landing-cta .ib-landing-btn--primary:hover,
.ib-landing-cta .ib-landing-btn--primary:focus {
  background: #f4f6f8;
  border-color: #f4f6f8;
  color: var(--ib-landing-accent, #0b3b6e);
}

.ib-landing-hero {
  background: linear-gradient(160deg, var(--ib-landing-accent, #0b3b6e) 0%, #145da0 55%, #f4f6f8 55%);
  padding: 48px 20px 72px;
}

.ib-landing-hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.ib-landing-hero__copy h1 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  color: #fff;
}

.ib-landing-hero__copy p {
  margin: 0 0 24px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.92);
}

.ib-landing-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.ib-landing-hero__actions .ib-landing-btn--outline {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.ib-landing-hero__bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

.ib-landing-hero__bullets li {
  margin: 6px 0;
  padding-left: 20px;
  position: relative;
}

.ib-landing-hero__bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
}

.ib-landing-mockup {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.ib-landing-mockup__bar {
  height: 12px;
  width: 40%;
  background: var(--ib-landing-accent, #0b3b6e);
  border-radius: 4px;
  margin-bottom: 20px;
}

.ib-landing-mockup__line {
  height: 10px;
  background: #e5e7eb;
  border-radius: 4px;
  margin-bottom: 10px;
  width: 70%;
}

.ib-landing-mockup__line--wide {
  width: 90%;
}

.ib-landing-mockup__table {
  display: grid;
  gap: 8px;
  margin: 20px 0;
}

.ib-landing-mockup__table span {
  display: block;
  height: 28px;
  background: #f4f6f8;
  border-radius: 4px;
}

.ib-landing-mockup__total {
  height: 14px;
  width: 35%;
  margin-left: auto;
  background: var(--ib-landing-accent, #0b3b6e);
  border-radius: 4px;
  opacity: 0.7;
}

.ib-landing-section {
  padding: 64px 20px;
}

.ib-landing-section--alt {
  background: #f4f6f8;
}

.ib-landing-section__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.ib-landing-section h2 {
  text-align: center;
  margin: 0 0 12px;
  font-size: 32px;
}

.ib-landing-section__lead {
  text-align: center;
  color: #50575e;
  margin: 0 0 32px;
}

.ib-landing-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.ib-landing-feature {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
}

.ib-landing-section--alt .ib-landing-feature {
  background: #fff;
}

.ib-landing-feature .dashicons {
  font-size: 28px;
  width: 28px;
  height: 28px;
  color: var(--ib-landing-accent, #0b3b6e);
  margin-bottom: 12px;
}

.ib-landing-feature h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.ib-landing-feature p {
  margin: 0;
  color: #50575e;
  font-size: 14px;
}

.ib-landing-skip {
  position: absolute;
  left: -9999px;
  top: auto;
}

.ib-landing-skip:focus {
  left: 16px;
  top: 16px;
  z-index: 200;
  background: #fff;
  padding: 8px 12px;
  border-radius: 4px;
}

.ib-landing-eyebrow {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ib-landing-hero__lead {
  margin: 0 0 24px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.92);
}

.ib-landing-sa {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: start;
}

.ib-landing-sa__list {
  margin: 16px 0 24px;
  padding-left: 20px;
  line-height: 1.8;
}

.ib-landing-sa__card {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.ib-landing-sa__card h3 {
  margin: 0 0 12px;
}

.ib-landing-free__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.ib-landing-free__item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.ib-landing-free__item strong {
  display: block;
  font-size: 22px;
  color: var(--ib-landing-accent, #0b3b6e);
  margin-bottom: 4px;
}

.ib-landing-free__item span {
  font-size: 14px;
  color: #50575e;
}

.ib-landing-faq {
  max-width: 800px;
  margin: 32px auto 0;
}

.ib-landing-faq__item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 10px;
  padding: 0 16px;
}

.ib-landing-faq__item summary {
  cursor: pointer;
  padding: 14px 0;
  list-style: none;
}

.ib-landing-faq__item summary::-webkit-details-marker {
  display: none;
}

.ib-landing-faq__item summary h3 {
  margin: 0;
  font-size: 16px;
  display: inline;
  font-weight: 600;
}

.ib-landing-faq__item p {
  margin: 0 0 16px;
  color: #50575e;
  font-size: 15px;
  line-height: 1.6;
}

.ib-landing-cta {
  background: var(--ib-landing-accent, #0b3b6e);
  color: #fff;
  padding: 56px 20px;
  text-align: center;
}

.ib-landing-cta__inner {
  max-width: 640px;
  margin: 0 auto;
}

.ib-landing-cta h2 {
  margin: 0 0 12px;
  font-size: 28px;
}

.ib-landing-cta p {
  margin: 0 0 24px;
  opacity: 0.9;
}

.ib-landing a.ib-landing-btn {
  color: inherit;
}

.ib-landing-header .ib-landing-btn--primary {
  color: #fff;
}

.ib-landing-footer {
  padding: 24px 20px;
  border-top: 1px solid #e5e7eb;
}

.ib-landing-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  color: #646970;
}

.ib-landing-footer nav {
  display: flex;
  gap: 16px;
}

@media (max-width: 900px) {
  .ib-landing-hero__inner,
  .ib-landing-features,
  .ib-landing-sa,
  .ib-landing-free__grid {
    grid-template-columns: 1fr;
  }

  .ib-landing-hero {
    background: linear-gradient(180deg, var(--ib-landing-accent, #0b3b6e) 0%, #145da0 100%);
    padding-bottom: 48px;
  }

  .ib-landing-hero__visual {
    display: none;
  }
}
