/* =========================================================
   GOLDEN HOUSE — BEAUTY BUSINESS CARD (SALES PAGE)
   FULL CSS
========================================================= */

:root {
  --gh-book-white: #ffffff;
  --gh-book-cream: #fbf9f5;
  --gh-book-black: #111111;
  --gh-book-text: #383838;
  --gh-book-muted: #737373;
  --gh-book-gold: #bd8a34;
  --gh-book-gold-dark: #93671f;
  --gh-book-gold-soft: rgba(189, 138, 52, 0.12);
  --gh-book-border: #e8e3dc;
  --gh-book-green: #3f7a4f;
}

.gh-book-page {
  width: 100%;

  background: var(--gh-book-white);
  color: var(--gh-book-text);

  font-family: var(--gh-body-font);
}

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

.gh-book-page a {
  color: inherit;
}

.gh-book-page button {
  font: inherit;
  cursor: pointer;
}


/* =========================================================
   HERO
========================================================= */

.gh-book-hero {
  padding: 70px 5vw 50px;
}

.gh-book-hero-grid {
  width: min(100%, 1240px);
  margin: 0 auto;

  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 60px;
  align-items: center;
}


/* Cover card */

.gh-book-cover {
  position: relative;

  aspect-ratio: 4 / 5;
  padding: 46px 34px;
  border-radius: 18px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;

  background: linear-gradient(160deg, #1a1a1a 0%, #0a0a0a 100%);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.28);
}

.gh-book-cover-eyebrow {
  color: var(--gh-book-gold);

  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.gh-book-cover-title {
  margin: 0;

  color: var(--gh-book-gold);

  font-family: var(--gh-heading-font);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-transform: uppercase;
}

.gh-book-cover-divider {
  width: 46px;
  height: 2px;

  background: var(--gh-book-gold);
}

.gh-book-cover-subtitle {
  max-width: 260px;
  margin: 0;

  color: rgba(255, 255, 255, 0.75);

  font-size: 0.86rem;
  line-height: 1.6;
}

.gh-book-cover-monogram {
  position: absolute;
  bottom: 30px;

  color: var(--gh-book-gold);

  font-family: var(--gh-heading-font);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}


/* Copy */

.gh-book-eyebrow {
  display: inline-block;
  margin-bottom: 12px;

  color: var(--gh-book-gold-dark);

  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gh-book-hero-copy h1 {
  margin: 0;

  color: var(--gh-book-black);

  font-family: var(--gh-heading-font);
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.gh-book-hero-divider {
  display: block;
  width: 60px;
  height: 2px;
  margin: 22px 0 26px;

  background: var(--gh-book-gold);
}

.gh-book-hero-copy p {
  max-width: 560px;
  margin: 0 0 16px;

  color: var(--gh-book-muted);

  font-size: 1rem;
  line-height: 1.75;
}

.gh-book-checklist {
  margin: 26px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--gh-book-border);
  list-style: none;

  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gh-book-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;

  color: var(--gh-book-text);

  font-size: 0.92rem;
}

.gh-book-checklist i {
  color: var(--gh-book-gold);
}


/* =========================================================
   PURCHASE PANEL
========================================================= */

.gh-book-purchase {
  padding: 20px 5vw 70px;
}

.gh-book-purchase-inner {
  width: min(100%, 1240px);
  margin: 0 auto;
  padding: 44px;
  border-radius: 18px;

  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 50px;

  background: var(--gh-book-cream);
  border: 1px solid var(--gh-book-border);
}

.gh-book-purchase-left h2 {
  margin: 0 0 4px;

  color: var(--gh-book-black);

  font-family: var(--gh-heading-font);
  font-size: 1.9rem;
  font-weight: 600;
}

.gh-book-purchase-note {
  margin: 0 0 18px;

  color: var(--gh-book-muted);

  font-size: 0.88rem;
}

.gh-book-price {
  margin: 0 0 22px;

  color: var(--gh-book-black);

  font-family: var(--gh-heading-font);
  font-size: 2.6rem;
  font-weight: 700;
}

.gh-book-purchase-state {
  min-height: 46px;

  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gh-book-purchase-state[hidden] {
  display: none;
}

.gh-book-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--gh-book-border);
  border-top-color: var(--gh-book-gold);
  border-radius: 50%;

  animation: ghBookSpin 0.8s linear infinite;
}

@keyframes ghBookSpin {
  to {
    transform: rotate(360deg);
  }
}

#bookStateLoading {
  flex-direction: row;
  align-items: center;

  color: var(--gh-book-muted);

  font-size: 0.86rem;
}

.gh-book-cta-button {
  width: 100%;
  padding: 17px 26px;
  border: 0;
  border-radius: 8px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  background: var(--gh-book-gold);
  color: var(--gh-book-white);
  text-decoration: none;

  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;

  transition: background-color 0.25s ease;
}

/* Higher specificity than `.gh-book-page a { color: inherit; }`,
   otherwise the anchor variants of this button (Sign In / Read
   the Book) inherit the page's dark body text instead of white. */
a.gh-book-cta-button {
  color: var(--gh-book-white);
}

.gh-book-cta-button:hover {
  background: var(--gh-book-gold-dark);
}

.gh-book-cta-button.is-owned {
  background: var(--gh-book-black);
}

.gh-book-cta-button.is-owned:hover {
  background: #000000;
}

.gh-book-cta-button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.gh-book-purchase-hint {
  display: flex;
  align-items: flex-start;
  gap: 8px;

  color: var(--gh-book-muted);

  font-size: 0.8rem;
  line-height: 1.6;
}

.gh-book-purchase-hint[hidden] {
  display: none;
}

.gh-book-purchase-hint i {
  margin-top: 2px;

  color: var(--gh-book-gold);
}

.gh-book-purchase-hint a {
  color: var(--gh-book-gold-dark);
  font-weight: 600;
}

#bookStateOwned .gh-book-purchase-hint i {
  color: var(--gh-book-green);
}

.gh-book-secure-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 22px 0 0;

  color: var(--gh-book-muted);

  font-size: 0.76rem;
}

.gh-book-secure-note i {
  color: var(--gh-book-gold);
}


/* Feature list */

.gh-book-purchase-right {
  display: flex;
  flex-direction: column;
  gap: 26px;
  justify-content: center;
}

.gh-book-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.gh-book-feature i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;

  display: grid;
  place-items: center;

  background: var(--gh-book-gold-soft);
  color: var(--gh-book-gold-dark);

  font-size: 1rem;
}

.gh-book-feature h3 {
  margin: 0 0 4px;

  color: var(--gh-book-black);

  font-size: 0.94rem;
  font-weight: 700;
}

.gh-book-feature p {
  margin: 0;

  color: var(--gh-book-muted);

  font-size: 0.84rem;
  line-height: 1.6;
}


/* =========================================================
   WHAT YOU'LL LEARN
========================================================= */

.gh-book-learn {
  padding: 40px 5vw 80px;
}

.gh-book-learn-heading,
.gh-book-toc-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 44px;
}

.gh-book-learn-heading span,
.gh-book-toc-heading span {
  width: 46px;
  height: 1px;

  background: var(--gh-book-gold);
}

.gh-book-learn-heading h2,
.gh-book-toc-heading h2 {
  margin: 0;

  color: var(--gh-book-black);

  font-family: var(--gh-heading-font);
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  font-weight: 600;
  text-align: center;
}

.gh-book-learn-grid {
  width: min(100%, 1240px);
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 30px;
}

.gh-book-learn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;

  text-align: center;
}

.gh-book-learn-item i {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin-bottom: 6px;

  display: grid;
  place-items: center;

  border: 1px solid var(--gh-book-gold);
  color: var(--gh-book-gold);

  font-size: 1.2rem;
}

.gh-book-learn-item h4 {
  margin: 0;

  color: var(--gh-book-black);

  font-size: 0.92rem;
  font-weight: 700;
}

.gh-book-learn-item p {
  margin: 0;

  color: var(--gh-book-muted);

  font-size: 0.8rem;
  line-height: 1.6;
}


/* =========================================================
   INSIDE THE BOOK — TOC PREVIEW
========================================================= */

.gh-book-toc {
  padding: 20px 5vw 90px;
}

.gh-book-toc-list {
  width: min(100%, 820px);
  margin: 0 auto;
  padding: 0;
  list-style: none;

  display: flex;
  flex-direction: column;
}

.gh-book-toc-list li {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--gh-book-border);

  color: var(--gh-book-black);

  font-size: 1rem;
  font-weight: 500;
}

.gh-book-toc-list li:last-child {
  border-bottom: 0;
}

.gh-book-toc-list li span {
  color: var(--gh-book-gold);

  font-family: var(--gh-heading-font);
  font-size: 1rem;
  font-weight: 700;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 980px) {
  .gh-book-hero-grid {
    grid-template-columns: 1fr;
  }

  .gh-book-cover {
    max-width: 340px;
    margin: 0 auto;
  }

  .gh-book-hero-copy {
    text-align: center;
  }

  .gh-book-hero-divider {
    margin-left: auto;
    margin-right: auto;
  }

  .gh-book-hero-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .gh-book-checklist li {
    justify-content: center;
  }

  .gh-book-purchase-inner {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }

  .gh-book-learn-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 20px;
  }
}

@media (max-width: 560px) {
  .gh-book-hero {
    padding: 44px 5vw 30px;
  }

  .gh-book-learn-grid {
    grid-template-columns: 1fr;
  }

  .gh-book-toc-list li {
    font-size: 0.9rem;
  }
}
