.hp-premium,
.hp-premium-library,
.hp-premium-thanks,
.hp-premium-download-page,
.hp-magic-login {
  --hp-premium-ink: #26312b;
  --hp-premium-green: #245b2a;
  --hp-premium-green-soft: #dbead6;
  --hp-premium-sand: #f4f1e8;
  --hp-premium-line: #dfe5dd;
  --hp-premium-muted: #5d675f;
  color: var(--hp-premium-ink);
}

body.page-slug-houtplatform-premium main.site-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 96px;
  background:
    radial-gradient(circle at 8% 7%, rgba(77, 169, 66, 0.08), transparent 25rem),
    linear-gradient(180deg, #f7f5ee 0, #fff 520px);
}

body.page-slug-houtplatform-premium main.site-main > .page-content,
body.page-slug-houtplatform-premium main.site-main > article,
body.page-slug-houtplatform-premium main.site-main .entry-content {
  width: 100%;
  max-width: none;
  margin: 0;
}

.hp-premium__hero,
.hp-premium__proof,
.hp-premium__final-cta,
.hp-premium-download-page__hero,
.hp-premium-thanks__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 28px;
  align-items: start;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 40px;
  padding: 38px;
  border: 1px solid var(--hp-premium-line);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(77, 169, 66, 0.18), transparent 32%),
    linear-gradient(180deg, #fbfcfa 0%, #fff 100%);
  box-shadow: 0 18px 46px rgba(31, 50, 38, 0.08);
}

.hp-premium__hero {
  margin-top: 36px;
}

.hp-premium__hero h1,
.hp-premium__section-intro h2,
.hp-premium__proof h2,
.hp-premium__final-cta h2,
.hp-premium-library__header h1,
.hp-premium-download-page__hero h1,
.hp-premium-thanks__hero h1 {
  margin: 0 0 14px;
  color: var(--hp-premium-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hp-premium__hero p,
.hp-premium__section-intro p,
.hp-premium__proof p,
.hp-premium-library__header p,
.hp-premium-download-page__hero p,
.hp-premium-thanks__hero p {
  margin: 0 0 18px;
  color: var(--hp-premium-muted);
  font-size: 1.03rem;
  line-height: 1.75;
}

.hp-premium__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--hp-premium-green);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hp-premium__eyebrow::before {
  width: 34px;
  height: 1px;
  background: currentColor;
  content: "";
}

.hp-premium__hero-points,
.hp-premium__hero-card ul,
.hp-premium__proof ul,
.hp-premium-inline-cta ul {
  margin: 0;
  padding-left: 18px;
  color: var(--hp-premium-muted);
  line-height: 1.75;
}

.hp-premium__hero-card,
.hp-premium-inline-cta,
.hp-premium-product-cta,
.hp-premium-home-cta,
.hp-premium-library__card,
.hp-premium__download-card,
.hp-premium__benefits article,
.hp-premium-thanks__grid article {
  border: 1px solid var(--hp-premium-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(31, 50, 38, 0.06);
}

.hp-premium__hero-card {
  padding: 26px;
  background: linear-gradient(180deg, #f4f8f2 0%, #fff 100%);
}

.hp-premium__hero-card strong,
.hp-premium__benefits h2,
.hp-premium__proof h2,
.hp-premium__category h3,
.hp-premium-library__category-head h2,
.hp-premium-library__card h3,
.hp-premium__download-card h4,
.hp-premium-inline-cta h2,
.hp-premium-product-cta h2,
.hp-premium-home-cta h2,
.hp-premium-thanks__grid h2,
.hp-premium-download-copy h2 {
  margin: 0 0 10px;
  color: var(--hp-premium-ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.15;
}

.hp-premium-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.hp-premium-form label {
  display: grid;
  gap: 7px;
  color: var(--hp-premium-ink);
  font-size: 0.88rem;
  font-weight: 700;
}

.hp-premium-form input {
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #bcc8bd;
  border-radius: 10px;
  background: #fff;
  color: var(--hp-premium-ink);
  font-size: 1rem;
}

.hp-premium-form button {
  align-self: end;
}

.hp-premium-form__note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--hp-premium-muted);
  font-size: 0.87rem;
}

.hp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 18px;
  border: 2px solid var(--hp-premium-green);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
}

.hp-button--primary {
  background: var(--hp-premium-green);
  color: #fff !important;
}

.hp-button--primary:hover {
  background: #fff;
  color: var(--hp-premium-green) !important;
}

.hp-button--ghost {
  background: #fff;
  color: var(--hp-premium-green) !important;
}

.hp-button--ghost:hover {
  background: var(--hp-premium-sand);
}

.hp-premium__benefits,
.hp-premium-thanks__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 40px;
}

.hp-premium__benefits article,
.hp-premium-thanks__grid article {
  padding: 24px;
}

.hp-premium__downloads,
.hp-premium__faq,
.hp-premium-library,
.hp-premium-download-page__body {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 42px;
}

.hp-premium__section-intro,
.hp-premium-library__header {
  max-width: 760px;
  margin-bottom: 26px;
}

.hp-premium__category,
.hp-premium-library__category {
  margin-bottom: 34px;
}

.hp-premium__category header,
.hp-premium-library__category-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  margin-bottom: 18px;
}

.hp-premium__grid,
.hp-premium-library__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hp-premium__download-card,
.hp-premium-library__card {
  padding: 22px;
}

.hp-premium__download-card p,
.hp-premium-library__card p,
.hp-premium-inline-cta p,
.hp-premium-product-cta p,
.hp-premium-home-cta p,
.hp-premium-thanks__grid p,
.hp-premium-download-copy p,
.hp-premium-download-copy li,
.hp-premium__faq p {
  color: var(--hp-premium-muted);
  line-height: 1.72;
}

.hp-premium__text-link {
  color: var(--hp-premium-green);
  font-weight: 700;
  text-decoration: none;
}

.hp-premium__proof ul {
  margin-top: 32px;
}

.hp-magic-login {
  width: min(1180px, calc(100% - 40px));
  margin: 32px auto;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--hp-premium-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(32, 60, 37, 0.08);
}

.hp-magic-login__inner {
  max-width: 720px;
}

.hp-magic-login h2 {
  margin: 6px 0 10px;
  color: var(--hp-premium-ink);
  font-family: Georgia, "Times New Roman", serif;
}

.hp-magic-login__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-top: 20px;
}

.hp-magic-login__form label span {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}

.hp-magic-login__form input[type="email"] {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--hp-premium-line);
  border-radius: 9px;
  font: inherit;
}

.hp-magic-login__notice {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-left: 4px solid var(--hp-premium-green);
  background: #f4f8f3;
}

.hp-magic-login-success {
  padding: 12px 20px;
  background: #245b2a;
  color: #fff;
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}

.hp-magic-login-success p {
  margin: 0;
}

.hp-magic-login-success a {
  color: #fff;
  font-weight: 700;
}

.hp-premium__faq details {
  padding: 18px 22px;
  border: 1px solid var(--hp-premium-line);
  border-radius: 14px;
  background: #fff;
}

.hp-premium__faq details + details {
  margin-top: 12px;
}

.hp-premium__faq summary {
  cursor: pointer;
  color: var(--hp-premium-ink);
  font-weight: 700;
}

.hp-premium-library__actions,
.hp-premium-download-page__actions,
.hp-premium-inline-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hp-premium-inline-cta,
.hp-premium-product-cta,
.hp-premium-home-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  margin: 30px 0;
  padding: 24px;
  background: linear-gradient(180deg, #f8fbf7 0%, #fff 100%);
}

.hp-premium-sidebar-cta {
  margin: 0 0 24px;
  padding: 20px;
  border: 1px solid var(--hp-premium-line);
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fbf7 0%, #fff 100%);
  box-shadow: 0 12px 28px rgba(31, 50, 38, 0.06);
}

.hp-premium-sidebar-cta h2 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
}

.hp-premium-sidebar-cta p,
.hp-premium-sidebar-cta li {
  color: var(--hp-premium-muted);
  line-height: 1.65;
}

.hp-premium-sidebar-cta ul {
  margin: 0 0 16px;
  padding-left: 18px;
}

.hp-premium-download-page__body {
  padding: 30px 34px;
  border: 1px solid var(--hp-premium-line);
  border-radius: 18px;
  background: #fff;
}

.hp-premium-download-copy__lead {
  font-size: 1.05rem;
}

.hp-premium-download-copy ul {
  padding-left: 20px;
}

.hp-premium-exit[hidden] {
  display: none !important;
}

.hp-premium-exit {
  position: fixed;
  inset: 0;
  z-index: 99999;
}

.hp-premium-exit__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 33, 26, 0.56);
}

.hp-premium-exit__dialog {
  position: relative;
  z-index: 1;
  width: min(640px, calc(100% - 32px));
  margin: min(10vh, 84px) auto 0;
  padding: 28px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 56px rgba(21, 35, 26, 0.22);
}

.hp-premium-exit__close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--hp-premium-line);
  border-radius: 50%;
  background: #fff;
  color: var(--hp-premium-ink);
  font-size: 1.4rem;
  line-height: 1;
}

@media (max-width: 980px) {
  .hp-premium__hero,
  .hp-premium__proof,
  .hp-premium__final-cta,
  .hp-premium-download-page__hero,
  .hp-premium-inline-cta,
  .hp-premium-product-cta,
  .hp-premium-home-cta,
  .hp-premium-thanks__hero {
    grid-template-columns: 1fr;
  }

  .hp-premium__benefits,
  .hp-premium__grid,
  .hp-premium-library__grid,
  .hp-premium-thanks__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-premium-form {
    grid-template-columns: 1fr;
  }

  .hp-magic-login__form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hp-premium__hero,
  .hp-premium__proof,
  .hp-premium__final-cta,
  .hp-premium-download-page__hero,
  .hp-premium-download-page__body,
  .hp-premium-thanks__hero,
  .hp-premium-exit__dialog {
    width: calc(100% - 32px);
    padding: 24px 20px;
  }

  .hp-premium__benefits,
  .hp-premium__downloads,
  .hp-premium__faq,
  .hp-premium-library,
  .hp-premium-download-page__body,
  .hp-premium-thanks__grid {
    width: calc(100% - 32px);
  }

  .hp-magic-login {
    width: calc(100% - 32px);
    padding: 24px 20px;
  }

  .hp-premium__benefits,
  .hp-premium__grid,
  .hp-premium-library__grid,
  .hp-premium-thanks__grid {
    grid-template-columns: 1fr;
  }

  .hp-premium__category header,
  .hp-premium-library__category-head {
    display: block;
  }
}
