/* Professional homepage redesign - 2026-07-18 */
.home-page {
  --home-ink: #102033;
  --home-copy: #35424b;
  --home-muted: #697279;
  --home-copper: #c36c37;
  --home-copper-dark: #9f4f24;
  --home-paper: #f7f7f4;
  --home-white: #ffffff;
  --home-sage: #e9eeeb;
  --home-line: rgba(16, 32, 51, 0.16);
  --home-display: "Source Serif 4", Georgia, serif;
  background: var(--home-paper);
  color: var(--home-copy);
}

.home-page .site-header {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--home-line);
  min-height: 72px;
  padding: 0 24px;
}

.home-page .site-header__inner {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(176px, 220px) minmax(0, 1fr) auto;
  margin: 0 auto;
  min-height: 72px;
  width: min(1280px, 100%);
}

.home-page .brand.bs-logo {
  width: 210px;
}

.home-page .brand.bs-logo img {
  height: auto;
  width: 100%;
}

.home-page .site-nav {
  gap: 26px;
  justify-content: center;
}

.home-page .site-nav a {
  border-radius: 0;
  color: #34414a;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 0;
  text-transform: none;
}

.home-page .site-nav a:hover {
  background: transparent;
  color: var(--home-copper-dark);
}

.home-page .top-actions {
  flex-wrap: nowrap;
  gap: 8px;
}

.home-page .nav-login,
.home-page .nav-primary,
.home-page #logout-button {
  border-radius: 6px;
  box-shadow: none;
  font-size: 0.86rem;
  font-weight: 750;
  min-height: 40px;
  padding: 0 15px;
  white-space: nowrap;
}

.home-page .nav-login {
  background: transparent;
  border-color: transparent;
}

.home-page .nav-primary {
  background: var(--home-ink);
}

.home-page .nav-primary:hover {
  background: #263d54;
}

.home-page main > .hero-section {
  order: 1;
}

.home-page main > .format-strip {
  order: 2;
}

.home-page main > .edition-proof-section {
  order: 3;
}

.home-page main > .feature-section {
  order: 4;
}

.home-page main > .benefits-section {
  order: 5;
}

.home-page main > .workflow-section {
  order: 6;
}

.home-page main > .sample-section {
  order: 7;
}

.home-page main > .pricing-section {
  order: 8;
}

.home-page main > .studio-intro {
  order: 9;
}

.home-page main > .workflow-test-drive,
.home-page main > .free-sample-tools,
.home-page main > .app-shell {
  order: 10;
}

.home-page main > .included-section,
.home-page main > .search-faq-section,
.home-page main > .content-safety-section,
.home-page main > .legal-section,
.home-page main > .about-section,
.home-page main > .book-credit-section,
.home-page main > .greeting-card-maker {
  order: 11;
}

.home-page .hero-section.hero-editorial {
  background-color: #1b232a;
  background-image: url("assets/brand/booksetter-editorial-worktable-hero.webp");
  background-position: center;
  background-size: cover;
  box-shadow: none;
  clip-path: none;
  color: #fff;
  display: block;
  isolation: isolate;
  margin: 0;
  max-width: none;
  min-height: 560px;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 100%;
}

.home-page .hero-section.hero-editorial::before {
  background: rgba(10, 18, 25, 0.42);
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
}

.home-page .hero-shell {
  align-items: center;
  display: flex;
  margin: 0 auto;
  min-height: 560px;
  padding: 42px 0 62px;
  position: relative;
  width: min(1280px, calc(100% - 48px));
}

.home-page .hero-copy {
  max-width: 650px;
}

.home-page .hero-copy .eyebrow {
  color: #f1bc8b;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.home-page .hero-copy h1 {
  color: #ffffff;
  font-family: var(--home-display);
  font-size: 4rem;
  font-weight: 650;
  line-height: 1.02;
  margin-top: 16px;
  max-width: 640px;
  text-wrap: balance;
}

.home-page .hero-lede {
  color: #eef1ef;
  font-size: 1.16rem;
  line-height: 1.6;
  margin-top: 22px;
  max-width: 610px;
}

.home-page .hero-actions {
  gap: 10px;
  margin-top: 30px;
}

.home-page .hero-actions .primary-cta,
.home-page .hero-actions .secondary-cta {
  border-radius: 6px;
  box-shadow: none;
  font-size: 0.92rem;
  font-weight: 750;
  min-height: 48px;
  padding: 0 20px;
}

.home-page .hero-actions .primary-cta {
  background: var(--home-copper);
}

.home-page .hero-actions .primary-cta:hover {
  background: var(--home-copper-dark);
}

.home-page .hero-actions .secondary-cta {
  background: rgba(10, 18, 25, 0.2);
  border-color: rgba(255, 255, 255, 0.58);
  color: #fff;
}

.home-page .hero-actions .secondary-cta:hover {
  background: rgba(10, 18, 25, 0.44);
}

.home-page .hero-fine-print {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  margin-top: 16px;
}

.home-page .hero-build-proof {
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  bottom: 32px;
  display: grid;
  gap: 5px;
  max-width: 390px;
  padding-top: 14px;
  position: absolute;
  right: 0;
}

.home-page .hero-build-proof > span {
  color: #f1bc8b;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.home-page .hero-build-proof strong {
  color: #fff;
  font-family: var(--home-display);
  font-size: 1.04rem;
  font-weight: 600;
}

.home-page .hero-build-proof a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 4px;
}

.home-page .format-strip {
  background: #fff;
  border-bottom: 1px solid var(--home-line);
  border-top: 0;
  margin: 0;
  max-width: none;
  padding: 21px 24px;
  width: 100%;
}

.home-page .format-strip__inner {
  gap: 16px 28px;
  margin: 0 auto;
  width: min(1280px, 100%);
}

.home-page .format-strip strong {
  color: var(--home-muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.home-page .format-strip span {
  color: var(--home-ink);
  font-size: 0.77rem;
  font-weight: 800;
}

.home-page .edition-proof-section {
  align-items: center;
  display: grid;
  gap: 64px;
  grid-template-columns: minmax(280px, 0.72fr) minmax(600px, 1.5fr);
  margin: 0 auto;
  padding: 96px 24px;
  width: min(1328px, 100%);
}

.home-page .edition-proof-copy {
  display: grid;
  gap: 18px;
}

.home-page .edition-proof-copy h2,
.home-page .feature-section .section-heading h2,
.home-page .goals-section h2,
.home-page .workflow-section h2,
.home-page .sample-showcase h2,
.home-page .pricing-section .section-heading h2,
.home-page .studio-intro h2 {
  color: var(--home-ink);
  font-family: var(--home-display);
  font-size: 2.75rem;
  font-weight: 650;
  line-height: 1.08;
  text-wrap: balance;
}

.home-page .edition-proof-copy > p:not(.eyebrow),
.home-page .feature-section .section-heading > p:not(.eyebrow),
.home-page .workflow-section > div > p:not(.eyebrow),
.home-page .sample-showcase-copy > p:not(.eyebrow),
.home-page .pricing-section .section-heading > p:not(.eyebrow) {
  color: var(--home-muted);
  font-size: 1.03rem;
  line-height: 1.68;
}

.home-page .eyebrow {
  color: var(--home-copper-dark);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.home-page .proof-metrics {
  border-bottom: 1px solid var(--home-line);
  border-top: 1px solid var(--home-line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 6px 0 0;
}

.home-page .proof-metrics div {
  padding: 15px 10px 15px 0;
}

.home-page .proof-metrics dt {
  color: var(--home-ink);
  font-family: var(--home-display);
  font-size: 1.65rem;
  font-weight: 650;
}

.home-page .proof-metrics dd {
  color: var(--home-muted);
  font-size: 0.72rem;
  line-height: 1.35;
  margin: 2px 0 0;
}

.home-page .text-link,
.home-page .sample-downloads .download-link {
  color: var(--home-copper-dark);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.home-page .edition-page-gallery {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.home-page .edition-page-gallery figure {
  margin: 0;
  min-width: 0;
}

.home-page .edition-page-gallery figure:nth-child(2) {
  margin-bottom: 34px;
}

.home-page .edition-page-gallery figure:last-child {
  grid-column: span 2;
}

.home-page .edition-page-gallery img {
  aspect-ratio: 2 / 3;
  background: #fff;
  border: 1px solid rgba(16, 32, 51, 0.1);
  box-shadow: 0 18px 36px rgba(16, 32, 51, 0.15);
  display: block;
  object-fit: cover;
  width: 100%;
}

.home-page .edition-page-gallery figure:last-child img {
  aspect-ratio: 3 / 2;
  object-fit: contain;
}

.home-page .edition-page-gallery figcaption {
  color: var(--home-muted);
  font-size: 0.7rem;
  margin-top: 9px;
}

.home-page .feature-section {
  background: #fff;
  margin: 0;
  max-width: none;
  padding: 94px max(24px, calc((100vw - 1280px) / 2));
  width: 100%;
}

.home-page .feature-section .section-heading {
  max-width: 820px;
}

.home-page .feature-section .feature-grid {
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 54px;
}

.home-page .feature-section .feature-grid article {
  background: transparent;
  border: 0;
  border-top: 2px solid var(--home-ink);
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 42px 0 0;
}

.home-page .feature-section .feature-grid article + article {
  border-left: 1px solid var(--home-line);
  padding-left: 42px;
}

.home-page .feature-section .feature-grid .feature-index {
  color: var(--home-copper-dark);
  font-family: var(--bs-font-body, Inter, sans-serif);
  font-size: 0.72rem;
  font-weight: 850;
}

.home-page .feature-section .feature-grid strong {
  color: var(--home-ink);
  font-family: var(--home-display);
  font-size: 1.55rem;
  font-weight: 650;
  line-height: 1.15;
}

.home-page .feature-section .feature-grid p {
  color: var(--home-copy);
  line-height: 1.62;
}

.home-page .feature-section .feature-grid small {
  color: var(--home-muted);
  font-size: 0.78rem;
  line-height: 1.5;
  margin-top: auto;
}

.home-page .goals-section {
  background: var(--home-sage);
  gap: 48px;
  margin: 0;
  max-width: none;
  padding: 86px max(24px, calc((100vw - 1280px) / 2));
  width: 100%;
}

.home-page .benefits-section .goals-grid {
  gap: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-page .goals-grid article {
  background: transparent;
  border: 0;
  border-radius: 0;
  border-top: 1px solid rgba(16, 32, 51, 0.34);
  box-shadow: none;
  padding: 20px 0 0;
}

.home-page .goals-grid article > span {
  color: var(--home-copper-dark);
  font-size: 0.72rem;
  font-weight: 800;
}

.home-page .goals-grid strong {
  font-family: var(--home-display);
  font-size: 1.45rem;
  font-weight: 650;
}

.home-page .workflow-band.workflow-section {
  align-items: start;
  background: var(--home-ink);
  border: 0;
  border-radius: 0;
  color: #fff;
  gap: 64px;
  grid-template-columns: minmax(250px, 0.6fr) minmax(600px, 1.5fr);
  margin: 0;
  max-width: none;
  padding: 92px max(24px, calc((100vw - 1280px) / 2));
  width: 100%;
}

.home-page .workflow-section h2 {
  color: #fff;
}

.home-page .workflow-section .eyebrow {
  color: #f1bc8b;
}

.home-page .workflow-section > div > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
  margin-top: 18px;
}

.home-page .workflow-section .workflow-steps {
  gap: 16px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.home-page .workflow-steps article {
  border-left: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding: 18px 8px 0 0;
}

.home-page .workflow-steps article > span {
  color: #f1bc8b;
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.home-page .workflow-steps strong {
  color: #fff;
  display: block;
  font-size: 0.88rem;
}

.home-page .workflow-steps p {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.78rem;
  line-height: 1.5;
}

.home-page .sample-section {
  background: #edf0ef;
  margin: 0;
  max-width: none;
  padding: 0;
  width: 100%;
}

.home-page .sample-showcase {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  gap: 70px;
  grid-template-columns: minmax(320px, 0.78fr) minmax(520px, 1.22fr);
  margin: 0 auto;
  padding: 96px 24px;
  width: min(1328px, 100%);
}

.home-page .sample-showcase-copy {
  gap: 18px;
}

.home-page .sample-showcase h2 {
  font-size: 2.75rem;
}

.home-page .case-study-results {
  border-bottom: 1px solid var(--home-line);
  list-style: none;
  margin: 8px 0 2px;
  padding: 0;
}

.home-page .case-study-results li {
  align-items: baseline;
  border-top: 1px solid var(--home-line);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(120px, 0.7fr) minmax(0, 1fr);
  padding: 12px 0;
}

.home-page .case-study-results strong {
  color: var(--home-ink);
  font-size: 0.8rem;
}

.home-page .case-study-results span {
  color: var(--home-muted);
  font-size: 0.78rem;
}

.home-page .sample-proof-spread {
  align-items: start;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.home-page .sample-proof-spread img {
  background: #fff;
  box-shadow: 0 24px 46px rgba(16, 32, 51, 0.16);
  display: block;
  width: 100%;
}

.home-page .sample-proof-spread img:first-child {
  transform: translateY(22px);
}

.home-page .sample-proof-spread figcaption {
  color: var(--home-muted);
  font-size: 0.72rem;
  grid-column: 1 / -1;
  margin-top: 34px;
  text-align: center;
}

.home-page .sample-legal-note {
  color: var(--home-muted);
  font-size: 0.72rem !important;
}

.home-page .sample-downloads .secondary-cta {
  background: transparent;
  border: 1px solid rgba(16, 32, 51, 0.22);
  border-radius: 6px;
  box-shadow: none;
  min-height: 42px;
}

.home-page .pricing-section {
  background: #fff;
  margin: 0;
  max-width: none;
  padding: 94px max(24px, calc((100vw - 1280px) / 2));
  width: 100%;
}

.home-page .pricing-section .section-heading {
  max-width: 860px;
}

.home-page .pricing-layout.simple-pricing-layout {
  display: grid;
  gap: 16px;
  grid-template-columns: 1.25fr 0.85fr 0.85fr;
  margin-top: 48px;
}

.home-page .pricing-card {
  border-radius: 6px;
  box-shadow: none;
}

.home-page .pricing-card.white-label-card {
  display: none;
}

.home-page .billing-panel {
  background: var(--home-paper);
  border: 1px solid var(--home-line);
  border-radius: 6px;
  display: block;
  margin-top: 18px;
  padding: 0;
}

.home-page .billing-panel > summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 18px;
}

.home-page .billing-panel > summary::-webkit-details-marker {
  display: none;
}

.home-page .billing-panel > summary span {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.home-page .billing-panel > summary strong {
  color: var(--home-ink);
}

.home-page .billing-panel > summary small {
  color: var(--home-copper-dark);
  font-weight: 750;
}

.home-page .billing-panel > summary span::after {
  color: var(--home-copper-dark);
  content: "+";
  font-size: 1.2rem;
  font-weight: 500;
}

.home-page .billing-panel[open] > summary span::after {
  content: "\2212";
}

.home-page .billing-panel-body {
  border-top: 1px solid var(--home-line);
  display: grid;
  gap: 14px;
  padding: 18px;
}

.home-page .featured-pricing {
  background: var(--home-ink);
  border-color: var(--home-ink);
  color: #fff;
}

.home-page .featured-pricing h3,
.home-page .featured-pricing p,
.home-page .featured-pricing .pricing-label {
  color: #fff;
}

.home-page .featured-pricing .pricing-label {
  opacity: 0.74;
}

.home-page .featured-pricing .plan-button.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: none;
  color: #fff;
}

.home-page .featured-pricing .plan-button.ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.72);
}

.home-page .book-credit-section,
.home-page .about-mascot,
.home-page .comparison-note {
  display: none;
}

.home-page .about-section {
  background: var(--home-sage);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: block;
  margin: 0;
  max-width: none;
  padding: 72px max(24px, calc((100vw - 900px) / 2));
  width: 100%;
}

.home-page .about-copy {
  max-width: 900px;
}

.home-page .auth-card,
.home-page .billing-panel,
.home-page .interface-mode-grid article,
.home-page .workflow-test-drive,
.home-page .free-sample-tools,
.home-page .app-shell {
  border-radius: 8px;
}

.home-page .site-footer {
  background: #0b1725;
  color: rgba(255, 255, 255, 0.72);
  gap: 16px;
  padding: 44px max(24px, calc((100vw - 1280px) / 2));
}

.home-page .site-footer .brand.bs-logo {
  background: #fff;
  border-radius: 6px;
  padding: 8px 10px;
  width: 190px;
}

.home-page .site-footer a {
  color: #fff;
}

@media (max-width: 1080px) {
  .home-page .site-header__inner {
    grid-template-columns: minmax(170px, 210px) minmax(0, 1fr) auto;
  }

  .home-page .site-nav {
    display: none;
  }

  .home-page .edition-proof-section,
  .home-page .sample-showcase {
    gap: 42px;
    grid-template-columns: minmax(270px, 0.72fr) minmax(480px, 1.28fr);
  }

  .home-page .workflow-band.workflow-section {
    gap: 44px;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .home-page .hero-section.hero-editorial,
  .home-page .hero-shell {
    min-height: 590px;
  }

  .home-page .hero-copy h1 {
    font-size: 3.25rem;
    max-width: 560px;
  }

  .home-page .hero-build-proof {
    left: 0;
    right: auto;
  }

  .home-page .edition-proof-section,
  .home-page .sample-showcase {
    grid-template-columns: 1fr;
  }

  .home-page .edition-page-gallery {
    margin-top: 8px;
  }

  .home-page .feature-section .feature-grid {
    grid-template-columns: 1fr;
  }

  .home-page .feature-section .feature-grid article,
  .home-page .feature-section .feature-grid article + article {
    border-left: 0;
    padding: 22px 0 34px;
  }

  .home-page .benefits-section .goals-grid {
    grid-template-columns: 1fr;
  }

  .home-page .workflow-section .workflow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .pricing-layout.simple-pricing-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .home-page .site-header {
    padding: 0 14px;
  }

  .home-page .site-header__inner {
    gap: 8px;
    grid-template-columns: minmax(126px, 1fr) auto;
    min-height: 64px;
  }

  .home-page .brand.bs-logo {
    width: 150px;
  }

  .home-page .top-actions {
    gap: 2px;
  }

  .home-page .nav-login,
  .home-page .nav-primary,
  .home-page #logout-button {
    font-size: 0.74rem;
    min-height: 36px;
    padding: 0 9px;
  }

  .home-page .nav-login {
    padding-inline: 5px;
  }

  .home-page .hero-section.hero-editorial,
  .home-page .hero-shell {
    min-height: 620px;
  }

  .home-page .hero-section.hero-editorial {
    background-position: 62% center;
  }

  .home-page .hero-shell {
    align-items: flex-start;
    padding: 66px 0 130px;
    width: calc(100% - 32px);
  }

  .home-page .hero-copy h1 {
    font-size: 2.55rem;
    line-height: 1.04;
  }

  .home-page .hero-lede {
    font-size: 1rem;
    line-height: 1.55;
  }

  .home-page .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-page .hero-actions .primary-cta,
  .home-page .hero-actions .secondary-cta {
    width: 100%;
  }

  .home-page .hero-build-proof {
    bottom: 25px;
    max-width: 100%;
  }

  .home-page .format-strip__inner {
    justify-content: flex-start;
  }

  .home-page .format-strip strong {
    flex: 0 0 100%;
  }

  .home-page .edition-proof-section,
  .home-page .feature-section,
  .home-page .goals-section,
  .home-page .workflow-band.workflow-section,
  .home-page .sample-showcase,
  .home-page .pricing-section {
    padding-bottom: 68px;
    padding-top: 68px;
  }

  .home-page .edition-proof-copy h2,
  .home-page .feature-section .section-heading h2,
  .home-page .goals-section h2,
  .home-page .workflow-section h2,
  .home-page .sample-showcase h2,
  .home-page .pricing-section .section-heading h2,
  .home-page .studio-intro h2 {
    font-size: 2.15rem;
  }

  .home-page .proof-metrics {
    grid-template-columns: 1fr;
  }

  .home-page .proof-metrics div + div {
    border-top: 1px solid var(--home-line);
  }

  .home-page .edition-page-gallery {
    gap: 9px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .edition-page-gallery figure:nth-child(2) {
    margin-bottom: 18px;
  }

  .home-page .workflow-section .workflow-steps {
    grid-template-columns: 1fr;
  }

  .home-page .workflow-steps article > span {
    margin-bottom: 10px;
  }

  .home-page .sample-proof-spread img:first-child {
    transform: translateY(10px);
  }

  .home-page .case-study-results li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
