/* Shared landing chrome + homepage sections (sitewide via footer include) */

/* —— Banner —— */
.landing-banner {
  padding: 3.25rem 0;
  background: var(--green, #0fbc49);
  text-align: center;
}
.landing-banner-inner {
  max-width: 40rem;
  margin: 0 auto;
}
.landing-banner-title {
  margin: 0 0 0.55rem;
  font-family: var(--main-font, "Roboto", sans-serif);
  color: #fff;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.landing-banner-lead {
  margin: 0 0 1.35rem;
  font-family: var(--main-font, "Roboto", sans-serif);
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  line-height: 1.5;
}
.landing-banner-btn,
.landing-banner-btn:focus,
.landing-banner-btn:active {
  background: #111111 !important;
  border-color: #111111 !important;
  color: #fff !important;
  max-width: 100%;
  white-space: normal;
  height: auto;
  line-height: 1.3;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}
.landing-banner-btn:hover {
  background: #000 !important;
  border-color: #000 !important;
  color: #fff !important;
}
.landing-banner-btn .btn-text,
.landing-banner-btn .anim-txt {
  white-space: normal;
}
@media (max-width: 575px) {
  .landing-banner {
    padding: 2.5rem 0;
  }
  .landing-banner-btn {
    font-size: 0.95rem;
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }
}

/* —— Footer —— */
.landing-footer {
  padding: 3.25rem 0 1.75rem;
  background: #000;
  color: #cbd5e1;
  font-family: var(--main-font, "Roboto", sans-serif);
}
.landing-footer-inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
  box-sizing: border-box;
}
.landing-footer-top {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2rem 1.5rem;
  align-items: start;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}
.landing-footer-brand {
  max-width: none;
}
.landing-footer-nav {
  display: grid;
  grid-column: 2 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem 1.5rem;
  align-items: start;
}
.landing-footer-col--makers {
  grid-column: span 2;
}
.landing-footer-makers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.5rem;
}
.landing-footer-logo-link {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.95rem;
  text-decoration: none;
  line-height: 1;
}
.landing-footer-mark {
  display: block;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 10px;
  background: #000;
}
.landing-footer-tagline {
  margin: 0;
  color: #94a3b8;
  font-size: 0.98rem;
  line-height: 1.55;
}
.landing-footer-col {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}
.landing-footer-heading {
  display: block;
  margin: 0 0 0.75rem;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  list-style: none;
  cursor: default;
}
.landing-footer-heading::-webkit-details-marker,
.landing-footer-heading::marker {
  display: none;
  content: "";
}
.landing-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.landing-footer-links li {
  margin: 0 0 0.45rem;
}
.landing-footer-links a {
  color: #94a3b8;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.15s;
}
.landing-footer-links a:hover {
  color: #fff;
}
.landing-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
  padding-top: 1.25rem;
}
.landing-footer-copy,
.landing-footer-note {
  margin: 0;
  color: #64748b;
  font-size: 0.86rem;
  line-height: 1.4;
}
@media (max-width: 991px) {
  .landing-footer-top {
    grid-template-columns: 1fr;
    gap: 1.75rem 1.5rem;
  }
  .landing-footer-nav {
    grid-column: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 1.5rem;
  }
  .landing-footer-col--product { grid-column: 1; grid-row: 1; }
  .landing-footer-col--company { grid-column: 2; grid-row: 1; }
  .landing-footer-col--makers { grid-column: 1 / -1; grid-row: 2; }
}
@media (min-width: 768px) {
  .landing-footer-heading {
    pointer-events: none;
  }
}
@media (max-width: 767px) {
  .landing-footer {
    padding: 2rem 0 1.25rem;
  }
  .landing-footer-top {
    gap: 1.15rem;
    padding-bottom: 1.15rem;
  }
  .landing-footer-logo-link {
    margin-bottom: 0.65rem;
  }
  .landing-footer-mark {
    width: 44px;
    height: 44px;
    border-radius: 8px;
  }
  .landing-footer-tagline {
    font-size: 0.9rem;
    line-height: 1.45;
    color: #a8b3c4;
  }
  .landing-footer-top {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .landing-footer-brand {
    max-width: none;
    padding-bottom: 0.35rem;
  }
  .landing-footer-nav {
    display: block;
    grid-column: auto;
  }
  .landing-footer-col--makers {
    grid-column: auto;
  }
  .landing-footer-makers {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .landing-footer-col {
    width: 100%;
    border-top: 1px solid rgba(148, 163, 184, 0.22);
  }
  .landing-footer-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    margin: 0;
    padding: 0.9rem 0;
    font-size: 0.84rem;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }
  .landing-footer-heading::after {
    content: "";
    flex: 0 0 auto;
    width: 0.45rem;
    height: 0.45rem;
    margin-top: -0.15rem;
    border-right: 2px solid #94a3b8;
    border-bottom: 2px solid #94a3b8;
    transform: rotate(45deg);
    transition: transform 0.18s ease;
  }
  .landing-footer-col[open] > .landing-footer-heading::after {
    margin-top: 0.15rem;
    transform: rotate(-135deg);
  }
  .landing-footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 0 0.95rem;
  }
  .landing-footer-links li {
    margin: 0;
  }
  .landing-footer-links a {
    display: block;
    padding: 0.35rem 0;
    font-size: 0.9rem;
    line-height: 1.35;
    white-space: normal;
  }
  .landing-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding-top: 1rem;
  }
}

/* Shared split-section helpers */
.landing-split-eyebrow,
.landing-host-eyebrow,
.landing-dashboard-eyebrow,
.landing-media-eyebrow,
.landing-why-eyebrow,
.landing-templates-eyebrow,
.landing-bookshelf-eyebrow {
  margin: 0 0 0.65rem;
  color: var(--green, #0fbc49);
  font-family: var(--main-font, "Roboto", sans-serif);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.landing-split-title,
.landing-host-title,
.landing-dashboard-title,
.landing-media-title,
.landing-why-title,
.landing-templates-title,
.landing-bookshelf-title {
  margin: 0 0 0.9rem;
  font-family: var(--main-font, "Roboto", sans-serif);
  color: var(--header-color, #111111);
  font-size: clamp(1.75rem, 2.6vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.landing-split-lead,
.landing-host-lead,
.landing-dashboard-lead,
.landing-media-lead,
.landing-why-lead,
.landing-templates-lead,
.landing-bookshelf-lead {
  margin: 0 0 1.25rem;
  font-family: var(--main-font, "Roboto", sans-serif);
  color: var(--text-color, #111111);
  font-size: 1.05rem;
  line-height: 1.65;
}
.landing-split-points,
.landing-dashboard-points,
.landing-media-points,
.landing-why-points,
.landing-bookshelf-points {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.landing-split-points li,
.landing-dashboard-points li,
.landing-media-points li,
.landing-why-points li,
.landing-bookshelf-points li {
  position: relative;
  padding-left: 1.55rem;
  font-family: var(--main-font, "Roboto", sans-serif);
  color: var(--text-color, #111111);
  font-size: 0.98rem;
  line-height: 1.45;
}
.landing-split-points li::before,
.landing-dashboard-points li::before,
.landing-media-points li::before,
.landing-why-points li::before,
.landing-bookshelf-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--green, #0fbc49);
}

/* —— Host on website —— */
.landing-host {
  position: relative;
  padding: 5rem 0 5.25rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(15, 188, 73, 0.1), transparent 55%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 45%, #f8fafc 100%);
  overflow: hidden;
}
.landing-host-head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2.75rem;
}
.landing-host-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}
.landing-host-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid rgba(15, 188, 73, 0.1);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(17, 24, 39, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.landing-host-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(15, 188, 73, 0.12);
}
.landing-host-visual {
  background: #ecfdf3;
  border-bottom: 1px solid #eef2f7;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.landing-host-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.landing-host-copy {
  padding: 1.25rem 1.35rem 1.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1 1 auto;
}
.landing-host-num {
  color: var(--green, #0fbc49);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.landing-host-card-title {
  margin: 0;
  font-family: var(--main-font, "Roboto", sans-serif);
  color: var(--header-color, #111111);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.landing-host-card-desc {
  margin: 0;
  font-family: var(--main-font, "Roboto", sans-serif);
  color: var(--text-color, #111111);
  font-size: 0.95rem;
  line-height: 1.55;
}
@media (max-width: 991px) {
  .landing-host-grid {
    grid-template-columns: 1fr;
    max-width: 26rem;
    margin: 0 auto;
  }
}
@media (max-width: 767px) {
  .landing-host {
    padding: 3.5rem 0 3rem;
  }
}

/* —— Dashboard (floating graphic) / Media / Why / Bookshelf —— */
.landing-dashboard,
.landing-media,
.landing-why,
.landing-bookshelf {
  position: relative;
  padding: 5rem 0 4.5rem;
  overflow: hidden;
}
.landing-dashboard {
  padding: 5.75rem 0 5rem;
  background:
    radial-gradient(ellipse 60% 65% at 8% 42%, rgba(15, 188, 73, 0.07), transparent 55%),
    #ffffff;
  border-top: 1px solid rgba(17, 24, 39, 0.07);
}
.landing-dashboard::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  width: min(7.5rem, 28vw);
  height: 3px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: var(--green, #0fbc49);
  box-shadow: 0 0 0 6px #fff;
}
.landing-media {
  padding: 5.5rem 0 5rem;
  background:
    radial-gradient(ellipse 60% 65% at 88% 42%, rgba(15, 188, 73, 0.08), transparent 55%),
    #ffffff;
  border-top: 1px solid rgba(17, 24, 39, 0.07);
}
.landing-media.landing-media--enrich {
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(15, 188, 73, 0.07), transparent 55%),
    #ffffff;
}

/* —— Consolidated “Add to any page” tabs —— */
.landing-enrich-intro {
  max-width: 40rem;
  margin: 0 auto 2rem;
  text-align: center;
}
.landing-enrich-intro .landing-media-title {
  margin-bottom: 0.75rem;
}
.landing-enrich-lead {
  margin-bottom: 0;
}
.landing-enrich-tabs-wrap {
  margin: 0 0 1.75rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.landing-enrich-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.15rem;
  min-width: min-content;
  padding: 0 0.15rem;
  border-bottom: 1px solid rgba(17, 24, 39, 0.1);
  justify-content: center;
}
.landing-enrich-tab {
  appearance: none;
  border: 0;
  background: transparent;
  margin: 0;
  padding: 0.7rem 0.8rem 0.8rem;
  color: #4b5563;
  font-family: var(--main-font, "Roboto", sans-serif);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.landing-enrich-tab:hover {
  color: var(--header-color, #111111);
}
.landing-enrich-tab.is-active,
.landing-enrich-tab[aria-selected="true"] {
  color: var(--green, #0fbc49);
  border-bottom-color: var(--green, #0fbc49);
}
.landing-enrich-tab:focus-visible {
  outline: 2px solid var(--green, #0fbc49);
  outline-offset: 2px;
  border-radius: 4px;
}
.landing-enrich-more {
  margin: 0 0 1.1rem;
  font-family: var(--main-font, "Roboto", sans-serif);
  font-size: 0.98rem;
  line-height: 1.4;
}
.landing-enrich-more a {
  color: var(--green, #0fbc49);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.landing-enrich-more a:hover {
  color: var(--header-color, #111111);
}
.landing-enrich-panel .landing-media-actions {
  margin-top: 0;
}
.landing-enrich-panel[hidden] {
  display: none !important;
}
.landing-enrich-panel-title {
  margin: 0 0 0.75rem;
  font-family: var(--main-font, "Roboto", sans-serif);
  color: var(--header-color, #111111);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.landing-enrich-panel .landing-media-points {
  margin-bottom: 1.35rem;
}
.landing-enrich-panel .landing-media-lead {
  margin-bottom: 1rem;
}
@media (max-width: 991px) {
  .landing-enrich-tabs {
    justify-content: flex-start;
  }
  .landing-enrich-intro {
    margin-bottom: 1.5rem;
    text-align: left;
  }
}

/* —— Publish, Share & Measure (accordion) —— */
.landing-publish {
  position: relative;
  padding: 5.5rem 0 5rem;
  overflow: hidden;
  background: #ffffff;
  border-top: 1px solid rgba(17, 24, 39, 0.07);
}
.landing-publish::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  width: min(7.5rem, 28vw);
  height: 3px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: var(--green, #0fbc49);
  box-shadow: 0 0 0 6px #fff;
}
.landing-publish-intro {
  max-width: 40rem;
  margin: 0 auto 2.25rem;
  text-align: center;
  position: relative;
  z-index: 2;
}
.landing-publish-eyebrow {
  margin: 0 0 0.65rem;
  color: var(--green, #0fbc49);
  font-family: var(--main-font, "Roboto", sans-serif);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.landing-publish-title {
  margin: 0 0 0.75rem;
  font-family: var(--main-font, "Roboto", sans-serif);
  color: var(--header-color, #111111);
  font-size: clamp(1.75rem, 2.6vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.landing-publish-lead {
  margin: 0;
  font-family: var(--main-font, "Roboto", sans-serif);
  color: var(--text-color, #111111);
  font-size: 1.05rem;
  line-height: 1.65;
}
.landing-publish-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.92fr);
  gap: 2.5rem 2.75rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
.landing-publish-accordion {
  order: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-top: 1px solid rgba(17, 24, 39, 0.1);
}
.landing-publish-item {
  border-bottom: 1px solid rgba(17, 24, 39, 0.1);
}
.landing-publish-trigger {
  appearance: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding: 1.05rem 0.15rem;
  border: 0;
  background: transparent;
  color: var(--header-color, #111111);
  font-family: var(--main-font, "Roboto", sans-serif);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: color 0.15s ease;
}
.landing-publish-trigger:hover {
  color: var(--green, #0fbc49);
}
.landing-publish-item.is-open .landing-publish-trigger {
  color: var(--green, #0fbc49);
}
.landing-publish-trigger:focus-visible {
  outline: 2px solid var(--green, #0fbc49);
  outline-offset: 2px;
  border-radius: 4px;
}
.landing-publish-chevron {
  flex: 0 0 auto;
  width: 0.65rem;
  height: 0.65rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  opacity: 0.7;
}
.landing-publish-item.is-open .landing-publish-chevron {
  transform: rotate(-135deg);
  margin-top: 0.25rem;
}
.landing-publish-panel {
  padding: 0 0.15rem 1.25rem;
}
.landing-publish-panel[hidden] {
  display: none !important;
}
.landing-publish-panel-lead {
  margin: 0 0 1rem;
  font-family: var(--main-font, "Roboto", sans-serif);
  color: #3f4652;
  font-size: 0.98rem;
  line-height: 1.55;
}
.landing-publish-url {
  display: inline;
  color: var(--green, #0fbc49);
  font-weight: 600;
  word-break: break-all;
}
.landing-publish-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.landing-publish-points li {
  position: relative;
  padding-left: 1.55rem;
  display: grid;
  gap: 0.15rem;
}
.landing-publish-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--green, #0fbc49);
}
.landing-publish-points li strong {
  display: block;
  font-family: var(--main-font, "Roboto", sans-serif);
  color: var(--header-color, #111111);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.landing-publish-points li span {
  display: block;
  font-family: var(--main-font, "Roboto", sans-serif);
  color: #3f4652;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.5;
}
.landing-publish-visuals {
  order: 2;
  position: relative;
  min-width: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.landing-publish-visual {
  margin: 0;
  width: 100%;
  max-width: 28rem;
  padding: 1.85rem 1.65rem;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
  box-sizing: border-box;
}
.landing-publish-visual[hidden] {
  display: none !important;
}
.landing-publish-visual picture {
  display: block;
  width: 100%;
}
.landing-publish-img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0 auto;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  object-fit: contain;
}
@media (max-width: 991px) {
  .landing-publish-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .landing-publish-visuals {
    order: -1;
    max-width: 28rem;
    margin: 0 auto;
    width: 100%;
  }
  .landing-publish-visual {
    max-width: none;
    padding: 1.5rem 1.35rem;
  }
  .landing-publish-accordion {
    order: 2;
  }
  .landing-publish-intro {
    margin-bottom: 1.5rem;
    text-align: left;
  }
}
@media (max-width: 767px) {
  .landing-publish {
    padding: 3.5rem 0 3rem;
  }
  .landing-publish-trigger {
    font-size: 1.05rem;
  }
}

.landing-media-actions,
.landing-domain-actions,
.landing-statistics-actions,
.landing-bookshelf-actions,
.landing-host-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}
.landing-host-actions {
  margin-top: 1.75rem;
  justify-content: center;
}
.landing-media::before,
.landing-why::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  width: min(7.5rem, 28vw);
  height: 3px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: var(--green, #0fbc49);
  box-shadow: 0 0 0 6px #fff;
}
.landing-why {
  padding: 5.5rem 0 5rem;
  background:
    radial-gradient(ellipse 60% 65% at 88% 42%, rgba(15, 188, 73, 0.08), transparent 55%),
    #ffffff;
  border-top: 1px solid rgba(17, 24, 39, 0.07);
}
.landing-why.landing-why--flip {
  background:
    radial-gradient(ellipse 60% 65% at 12% 42%, rgba(15, 188, 73, 0.08), transparent 55%),
    #ffffff;
}
.landing-bookshelf {
  padding: 5.5rem 0 5rem;
  background:
    radial-gradient(ellipse 65% 70% at 18% 48%, rgba(15, 188, 73, 0.09), transparent 58%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
}
.landing-dashboard-grid,
.landing-media-grid,
.landing-why-grid,
.landing-bookshelf-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.75rem 3rem;
  align-items: center;
  position: relative;
}
.landing-dashboard-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.5rem 2rem;
  align-items: center;
}
.landing-media-grid,
.landing-why-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem 3.5rem;
  align-items: center;
}
.landing-media-grid--flip {
  /* Image left / copy right — alternates with the page-videos section */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.landing-why-grid--flip {
  /* Image left / copy right — alternates with the leads section above */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.landing-bookshelf-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem 3.5rem;
  align-items: center;
}
.landing-dashboard-copy {
  position: relative;
  z-index: 2;
  max-width: 34rem;
}
.landing-media-copy,
.landing-why-copy,
.landing-bookshelf-copy {
  position: relative;
  z-index: 2;
  max-width: none;
  width: 100%;
}
.landing-dashboard-visual {
  position: relative;
  z-index: 1;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  pointer-events: none;
}
.landing-dashboard-img {
  display: block;
  width: 155%;
  max-width: none;
  height: auto;
  margin-left: 0;
  border-radius: 0;
  box-shadow: none;
  transform: translateX(4%);
}
.landing-media-visual,
.landing-why-visual {
  position: relative;
  z-index: 1;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 18px;
  box-shadow: none;
  overflow: hidden;
}
.landing-media-visual picture,
.landing-why-visual picture {
  display: block;
  width: 100%;
}
.landing-media-img,
.landing-why-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.1);
  background: #ffffff;
  object-fit: contain;
}
.landing-enrich-panel .landing-media-img {
  border-radius: 12px;
}
/* Enrich tabs: image left / copy right, larger product graphic */
.landing-enrich-panel .landing-media-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 2rem 2.25rem;
}
.landing-enrich-panel .landing-media-visual {
  order: 1;
}
.landing-enrich-panel .landing-media-copy {
  order: 2;
}
.landing-bookshelf-visual {
  min-width: 0;
  border-radius: 18px;
  overflow: hidden;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.landing-bookshelf-visual picture {
  display: block;
  width: 100%;
}
.landing-bookshelf-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.1);
}
.landing-media-points,
.landing-why-points,
.landing-bookshelf-points {
  margin-bottom: 1.6rem;
  gap: 1rem;
}
.landing-media-points li,
.landing-why-points li,
.landing-bookshelf-points li {
  padding-left: 1.65rem;
  display: grid;
  gap: 0.2rem;
}
.landing-media-points li strong,
.landing-why-points li strong,
.landing-bookshelf-points li strong {
  display: block;
  font-family: var(--main-font, "Roboto", sans-serif);
  color: var(--header-color, #111111);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.landing-media-points li span,
.landing-why-points li span,
.landing-bookshelf-points li span {
  display: block;
  font-family: var(--main-font, "Roboto", sans-serif);
  color: #3f4652;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
}
.landing-media-points li::before,
.landing-why-points li::before,
.landing-bookshelf-points li::before {
  top: 0.55rem;
}
.landing-why-compare {
  margin: 1rem 0 0;
  font-family: var(--main-font, "Roboto", sans-serif);
  font-size: 0.98rem;
  line-height: 1.4;
}
.landing-why-compare a {
  color: var(--green, #0fbc49);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.landing-why-compare a:hover {
  color: var(--header-color, #111111);
}
.landing-dashboard-trust {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
}
.landing-dashboard-avatars {
  display: block;
  width: auto;
  height: 40px;
}
.landing-dashboard-trust-text {
  margin: 0;
  font-family: var(--main-font, "Roboto", sans-serif);
  color: var(--text-color, #111111);
  font-size: 0.95rem;
  line-height: 1.4;
}
@media (max-width: 1199px) {
  .landing-dashboard-img {
    width: 135%;
  }
  .landing-media-grid,
  .landing-why-grid {
    gap: 2rem 2.5rem;
  }
}
@media (max-width: 991px) {
  .landing-dashboard-grid,
  .landing-media-grid,
  .landing-why-grid,
  .landing-bookshelf-grid,
  .landing-enrich-panel .landing-media-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .landing-dashboard-copy,
  .landing-media-copy,
  .landing-why-copy,
  .landing-bookshelf-copy {
    max-width: none;
    padding-right: 0;
  }
  .landing-dashboard-visual,
  .landing-media-visual,
  .landing-why-visual,
  .landing-bookshelf-visual {
    max-width: 34rem;
    margin: 0 auto;
  }
  .landing-enrich-panel .landing-media-visual {
    max-width: 44rem;
  }
  .landing-dashboard-visual {
    order: -1;
    pointer-events: auto;
  }
  .landing-bookshelf-visual,
  .landing-media-visual,
  .landing-why-visual {
    order: -1;
  }
  /* Why flipbooks: image already first in DOM */
  .landing-why--flip .landing-why-visual {
    order: 0;
  }
  .landing-why--flip .landing-why-copy {
    order: 1;
  }
  .landing-dashboard-img {
    width: 100%;
    transform: none;
    margin: 0 auto;
  }
}
@media (max-width: 767px) {
  .landing-dashboard,
  .landing-media,
  .landing-why,
  .landing-bookshelf {
    padding: 3.5rem 0 3rem;
  }
}

/* —— Templates (7 styles, demo icons) —— */
.landing-templates {
  position: relative;
  padding: 5rem 0 4.5rem;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(15, 188, 73, 0.1), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
  overflow: hidden;
}
.landing-templates-head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 2.35rem;
}
.landing-templates-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: stretch;
}
.landing-templates-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 1.1rem 0.65rem 1.15rem;
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.04);
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.landing-templates-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 188, 73, 0.35);
  box-shadow: 0 14px 32px rgba(15, 188, 73, 0.12);
  text-decoration: none;
  color: inherit;
}
.landing-templates-card:focus-visible {
  outline: 2px solid var(--green, #0fbc49);
  outline-offset: 3px;
}
.landing-templates-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 7.5rem;
  aspect-ratio: 200 / 132;
  margin: 0 auto 0.85rem;
  padding: 0.35rem;
  background: linear-gradient(180deg, #f3fbf6 0%, #eaf8f0 100%);
  border-radius: 12px;
}
.landing-templates-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.landing-templates-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  width: 100%;
}
.landing-templates-card-title {
  margin: 0;
  font-family: var(--main-font, "Roboto", sans-serif);
  color: var(--header-color, #111111);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.landing-templates-card-desc {
  margin: 0;
  font-family: var(--main-font, "Roboto", sans-serif);
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
}
.landing-templates-cta {
  margin-top: 2rem;
  text-align: center;
}
@media (max-width: 1199px) {
  .landing-templates-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 991px) {
  .landing-templates-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .landing-templates {
    padding: 3.5rem 0 3rem;
  }
  .landing-templates-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    max-width: 26rem;
    margin: 0 auto;
  }
  .landing-templates-card {
    padding: 1rem 0.55rem 1.05rem;
  }
  .landing-templates-card-title {
    font-size: 0.88rem;
  }
}

/* —— Site header (landing chrome) —— */
.landing-header .wsmainfull {
  transition: box-shadow 0.2s ease, padding 0.2s ease;
}
.tra-menu .landing-header .wsmainfull {
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}
.tra-menu .landing-header .wsmainfull.scroll {
  padding: 10px 0;
  box-shadow: 0 8px 28px rgba(17, 24, 39, 0.06);
}
.landing-header .desktoplogo img {
  max-height: 32px;
}
@media (min-width: 992px) {
  /*
   * Match homepage hero content edges:
   * section pad + .container-xxl max 1800 → outer shell = 1800 + 2×pad
   */
  .header-wrapper.landing-header .wsmainwp,
  .landing-header .wsmainwp {
    max-width: calc(var(--site-max-width, 1800px) + 2 * clamp(1.75rem, 4.5vw, 4.5rem)) !important;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    padding-left: clamp(1.75rem, 4.5vw, 4.5rem) !important;
    padding-right: clamp(1.75rem, 4.5vw, 4.5rem) !important;
  }
  .landing-header .wsmenu {
    margin-left: clamp(0.85rem, 1.6vw, 2rem);
    min-width: 0;
  }
  .landing-header .wsmenu > .wsmenu-list {
    column-gap: 0.15rem;
  }
  .landing-header .wsmenu > .wsmenu-list > li > a.h-link {
    padding: 0 clamp(0.55rem, 1.05vw, 1.05rem);
    margin: 0;
  }
  .landing-header .wsmenu > .wsmenu-list > li a.btn {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    margin-left: 0.4rem;
    margin-right: 0.4rem;
  }
  /* Keep the two CTAs clearly separated + same vertical center */
  .landing-header .wsmenu > .wsmenu-list > li.reg-fst-link a.btn {
    margin: 0 0.45rem 0 0.85rem !important;
  }
  .landing-header .wsmenu > .wsmenu-list > li.mobile-last-link a.btn {
    margin: 0 0 0 0.45rem !important;
  }
}
/* Laptops / 14" MacBook: slightly tighter type/CTAs; keep same content width as hero */
@media (min-width: 992px) and (max-width: 1519px) {
  .header-wrapper.landing-header .wsmainwp,
  .landing-header .wsmainwp {
    max-width: calc(var(--site-max-width, 1800px) + 2 * clamp(1.75rem, 4.5vw, 4.5rem)) !important;
    padding-left: clamp(1.75rem, 4.5vw, 4.5rem) !important;
    padding-right: clamp(1.75rem, 4.5vw, 4.5rem) !important;
  }
  .landing-header .wsmenu {
    margin-left: 0.85rem;
  }
  .landing-header .wsmenu > .wsmenu-list > li > a.h-link {
    padding: 0 0.65rem;
    font-size: 0.84rem;
  }
  .landing-header .wsmenu > .wsmenu-list > li a.btn {
    min-height: 2.2rem;
    height: 2.2rem;
    padding: 0 0.9rem !important;
    font-size: 0.8rem;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  .landing-header .wsmenu > .wsmenu-list > li.reg-fst-link a.btn {
    margin: 0 0.5rem 0 0.75rem !important;
  }
  .landing-header .wsmenu > .wsmenu-list > li.mobile-last-link a.btn {
    margin: 0 0 0 0.5rem !important;
  }
  .landing-header .wsmenu > .wsmenu-list > li.is-current > a.h-link::after {
    left: 0.65rem;
    right: 0.65rem;
  }
}
.landing-header .wsmenu > .wsmenu-list > li > a.h-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.22em;
  font-family: var(--main-font, "Roboto", sans-serif);
  font-size: 0.9rem; /* ~14.4px — Flipsnack-like */
  font-weight: 500;
  letter-spacing: 0;
  color: #000;
}
.landing-header .wsmenu > .wsmenu-list > li > a.h-link .wsarrow {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.55em;
  height: 0.55em;
  flex-shrink: 0;
  margin: 0;
  line-height: 0;
}
/* Flipsnack-style line chevron (not filled triangle) */
.landing-header .wsmenu > .wsmenu-list > li > a.h-link .wsarrow::after {
  content: "";
  display: block;
  position: static;
  float: none;
  top: auto;
  right: auto;
  width: 0.38em;
  height: 0.38em;
  margin: -0.12em 0 0;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  border-left: 0;
  border-top: 0;
  border-radius: 0;
  transform: rotate(45deg);
  background: none;
}
.landing-header .wsmenu > .wsmenu-list > li > a.h-link:hover {
  color: #0fbc49;
}
.landing-header .wsmenu > .wsmenu-list > li.is-current > a.h-link {
  color: #0fbc49;
}
.landing-header .wsmenu > .wsmenu-list > li.is-current > a.h-link::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 10px;
  height: 2px;
  border-radius: 999px;
  background: #0fbc49;
}
.landing-header .wsmenu > .wsmenu-list > li > ul.sub-menu {
  border-radius: 12px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 14px 40px rgba(17, 24, 39, 0.1);
  padding: 0.65rem 0.85rem;
}
.landing-header .wsmenu > .wsmenu-list > li a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 2.35rem;
  height: 2.35rem;
  padding: 0 1.05rem !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  border-radius: 999px;
  border-width: 1.5px;
  font-family: var(--main-font, "Roboto", sans-serif);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  vertical-align: middle;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
@media (min-width: 992px) {
  .landing-header .wsmenu > .wsmenu-list > li.reg-fst-link,
  .landing-header .wsmenu > .wsmenu-list > li.mobile-last-link {
    display: inline-flex;
    align-items: center;
    align-self: center;
    line-height: 0;
  }
}
.landing-header .wsmenu > .wsmenu-list > li.reg-fst-link a.btn--tra-green {
  color: #15803d !important;
  background: #ffffff !important;
  border-color: rgba(15, 188, 73, 0.55) !important;
  box-shadow: none;
}
.landing-header .wsmenu > .wsmenu-list > li.reg-fst-link a.btn--tra-green:hover,
.landing-header .wsmenu > .wsmenu-list > li.reg-fst-link a.hover--green:hover {
  color: #ffffff !important;
  background: #0fbc49 !important;
  border-color: #0fbc49 !important;
  box-shadow: 0 8px 18px rgba(15, 188, 73, 0.22);
  transform: translateY(-1px);
}
.landing-header .wsmenu > .wsmenu-list > li.reg-fst-link a.btn--green {
  color: #ffffff !important;
  background: #0fbc49 !important;
  border-color: #0fbc49 !important;
  box-shadow: 0 6px 16px rgba(15, 188, 73, 0.22);
}
.landing-header .wsmenu > .wsmenu-list > li.reg-fst-link a.btn--green:hover {
  background: #0eaa42 !important;
  border-color: #0eaa42 !important;
  box-shadow: 0 8px 18px rgba(15, 188, 73, 0.28);
  transform: translateY(-1px);
}
.landing-header .wsmenu > .wsmenu-list > li.mobile-last-link a.btn--green {
  color: #ffffff !important;
  background: #0fbc49 !important;
  border-color: #0fbc49 !important;
  box-shadow: 0 6px 16px rgba(15, 188, 73, 0.22);
}
.landing-header .wsmenu > .wsmenu-list > li.mobile-last-link a.btn--green:hover {
  background: #0eaa42 !important;
  border-color: #0eaa42 !important;
  box-shadow: 0 8px 18px rgba(15, 188, 73, 0.28);
  transform: translateY(-1px);
}

/* —— Mobile nav drawer —— */
@media (max-width: 991px) {
  /* Slightly shorter mobile chrome so hero CTAs fit above the fold */
  .landing-header .wsmobileheader {
    height: 52px;
  }
  .landing-header .wsmobileheader .smllogo {
    margin-top: 12px;
  }
  .landing-header .wsmobileheader .smllogo img {
    max-height: 24px;
  }
  .landing-header .wsanimated-arrow {
    margin-top: 10px;
    padding: 12px 18px 12px 0;
  }

  .landing-header .wsmenu > .wsmenu-list > li.is-current > a.h-link::after {
    display: none;
  }

  .landing-header .wsmenu > .wsmenu-list {
    width: min(22rem, 86vw);
    margin-right: calc(-1 * min(22rem, 86vw));
    text-align: left;
    padding: 4.25rem 0 1.75rem;
    box-shadow: -16px 0 48px rgba(17, 24, 39, 0.14);
  }

  .wsactive .landing-header .wsmenu > .wsmenu-list {
    margin-right: 0;
  }

  .wsactive .landing-header .wsmobileheader {
    margin-right: min(22rem, 86vw);
  }

  .landing-header .wsmenu .overlapblackbg {
    width: calc(100% - min(22rem, 86vw));
    background-color: rgba(17, 24, 39, 0.42);
  }

  /* Close (X) — clearer hit target when drawer is open */
  .wsactive .landing-header .wsanimated-arrow {
    padding: 1.1rem 1.15rem;
    margin: 0.55rem 0.65rem 0 0;
  }
  .wsactive .landing-header .wsanimated-arrow span:before,
  .wsactive .landing-header .wsanimated-arrow span:after {
    background: #475569;
    width: 1.35rem;
  }

  .landing-header .wsmenu > .wsmenu-list > li > a.h-link {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    padding: 1rem 3.25rem 1rem 1.4rem;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: #111827;
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  }

  .landing-header .wsmenu > .wsmenu-list > li > a.h-link:hover,
  .landing-header .wsmenu > .wsmenu-list > li > a.h-link:focus-visible {
    color: #0fbc49;
    background: rgba(15, 188, 73, 0.04);
  }

  .landing-header .wsmenu > .wsmenu-list > li.is-current > a.h-link {
    color: #0fbc49;
    background: rgba(15, 188, 73, 0.06);
  }

  /* One chevron only — hide desktop caret next to label */
  .landing-header .wsmenu > .wsmenu-list > li > a.h-link .wsarrow {
    display: none;
  }

  /* Expand control sits on the right; label remains tappable for navigation */
  .landing-header .wsmenu > .wsmenu-list > li > .wsmenu-click {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 100%;
    min-height: 3.4rem;
  }

  .landing-header .wsmenu > .wsmenu-list > li > .wsmenu-click > i {
    float: none;
    width: 0.55rem;
    height: 0.55rem;
    margin: 0;
    transform: rotate(45deg);
  }

  .landing-header .wsmenu > .wsmenu-list > li > .wsmenu-click > i:before {
    border-width: 0 2px 2px 0;
    border-color: #64748b;
    transform-origin: 50% 50%;
  }

  .landing-header .wsmenu > .wsmenu-list > li .wsmenu-click.ws-activearrow > i {
    transform: rotate(-135deg);
    margin-top: 0;
  }

  .landing-header .wsmenu > .wsmenu-list > li.reg-fst-link,
  .landing-header .wsmenu > .wsmenu-list > li.mobile-last-link {
    padding: 0 1.25rem;
  }

  .landing-header .wsmenu > .wsmenu-list > li.reg-fst-link {
    margin-top: 0.35rem;
    padding-top: 1.35rem;
  }

  .landing-header .wsmenu > .wsmenu-list > li.mobile-last-link {
    padding-bottom: 0.5rem;
  }

  .landing-header .wsmenu > .wsmenu-list > li.reg-fst-link > a,
  .landing-header .wsmenu > .wsmenu-list > li.mobile-last-link > a,
  .landing-header .wsmenu > .wsmenu-list > li.reg-fst-link > a.btn,
  .landing-header .wsmenu > .wsmenu-list > li.mobile-last-link > a.btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0.95rem 1.15rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    border-radius: 12px !important;
    border-bottom: none !important;
  }

  .landing-header .wsmenu > .wsmenu-list > li.reg-fst-link > a.btn {
    margin-bottom: 0.7rem;
  }

  .landing-header .wsmenu > .wsmenu-list > li.reg-fst-link a.btn--green {
    box-shadow: 0 8px 20px rgba(15, 188, 73, 0.28);
  }
}

/* —— Landing auth modal (above flipbook lightbox z-index: 99999) —— */
html.pf-auth-modal-open,
html.pf-auth-modal-open body {
  overflow: hidden;
}
.pf-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 100050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.5rem, 2vh, 1.25rem);
}
.pf-auth-modal[hidden] {
  display: none !important;
}
.pf-auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.48);
  backdrop-filter: blur(2px);
}
.pf-auth-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 24.5rem;
  max-height: min(94vh, 40rem);
  height: auto;
  overflow: hidden; /* never scroll the sign-in/sign-up form on main devices */
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(17, 24, 39, 0.22);
  padding: clamp(1rem, 2vh, 1.5rem) clamp(1.1rem, 2.4vw, 1.5rem) clamp(0.85rem, 1.6vh, 1.15rem);
  animation: pf-auth-in 0.18s ease-out;
  box-sizing: border-box;
}
.pf-auth-modal__dialog::-webkit-scrollbar {
  width: 0;
  height: 0;
}
@keyframes pf-auth-in {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.pf-auth-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  color: #6b7280;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 8px;
}
.pf-auth-modal__close:hover {
  color: #111827;
  background: #f3f4f6;
}
.pf-auth-modal__eyebrow {
  margin: 0 0 0.35rem;
  color: var(--green, #0fbc49);
  font-family: var(--main-font, "Roboto", sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pf-auth-modal__eyebrow[hidden] {
  display: none !important;
}
.pf-auth-modal__title {
  margin: 0 0 0.25rem;
  font-size: clamp(1.25rem, 2.6vh, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--header-color, #111827);
  line-height: 1.2;
}
.pf-auth-modal__desc {
  margin: 0 0 clamp(0.75rem, 1.8vh, 1.2rem);
  color: #5b6472;
  font-size: clamp(0.88rem, 1.7vh, 0.98rem);
  line-height: 1.4;
}
.pf-auth-form .form-floating {
  margin-bottom: clamp(0.4rem, 1vh, 0.5rem) !important;
}
.pf-auth-form .form-control {
  border-color: #d1d5db;
  min-height: clamp(44px, 6.2vh, 50px);
}
.pf-auth-pass-wrap {
  position: relative;
}
.pf-auth-pass-wrap .form-control {
  padding-right: 2.75rem;
}
.pf-auth-pass-toggle {
  position: absolute;
  top: 50%;
  right: 0.65rem;
  z-index: 5;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
}
.pf-auth-pass-toggle:hover {
  color: var(--green, #0fbc49);
  background: #f3f4f6;
}
.pf-auth-pass-toggle .pf-auth-eye {
  display: block;
}
.pf-auth-pass-toggle .pf-auth-eye[hidden] {
  display: none !important;
}
.pf-auth-form .form-control:focus {
  border-color: var(--green, #0fbc49);
  box-shadow: 0 0 0 0.2rem rgba(15, 188, 73, 0.15);
}
.pf-auth-terms-note {
  margin: clamp(0.4rem, 1vh, 0.65rem) 0 0;
  text-align: center;
  font-size: 0.72rem;
  line-height: 1.4;
  color: #9ca3af;
}
.pf-auth-terms-note a {
  color: #6b7280;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pf-auth-terms-note a:hover {
  color: #374151;
}
.pf-auth-form__error {
  margin: 0 0 0.75rem;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  background: #fff3cd;
  color: #856404;
  font-size: 0.82rem;
}
.pf-auth-form__error[hidden] {
  display: none !important;
}
.pf-auth-form__success {
  margin: 0 0 0.75rem;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  background: #dcfce7;
  color: #166534;
  font-size: 0.82rem;
  line-height: 1.45;
}
.pf-auth-form__success[hidden] {
  display: none !important;
}
.pf-auth-modal__meta {
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 0.85rem;
}
.pf-auth-modal__meta a {
  color: #5b6472;
  text-decoration: none;
}
.pf-auth-modal__meta a:hover {
  color: var(--green, #0fbc49);
  text-decoration: underline;
}
.pf-auth-modal__switch {
  margin: clamp(0.65rem, 1.5vh, 1rem) 0 0;
  padding-top: clamp(0.55rem, 1.3vh, 0.85rem);
  border-top: 1px solid #eef0f3;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: #374151;
}
.pf-auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: clamp(0.55rem, 1.3vh, 0.85rem) 0 clamp(0.45rem, 1.1vh, 0.7rem);
  color: #9ca3af;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pf-auth-divider::before,
.pf-auth-divider::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: #eef0f3;
}
.pf-auth-google-wrap {
  display: block;
  width: 100%;
  min-height: 0;
  max-height: 44px;
  overflow: hidden;
  line-height: 0;
}
.pf-auth-form .btn {
  min-height: clamp(40px, 5.4vh, 46px);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
/* Signup: Google on top, then form. Pack so fields + switch stay visible without scroll */
#pf-auth-signup .pf-auth-modal__desc {
  margin-bottom: 0.7rem;
}
#pf-auth-signup > .pf-auth-google-wrap {
  margin-bottom: 0.15rem;
}
#pf-auth-signup .pf-auth-terms-note {
  margin-top: 0.35rem;
}
#pf-auth-signup .pf-auth-divider {
  margin: 0.55rem 0 0.65rem;
}
#pf-auth-signup .pf-auth-modal__switch {
  margin-top: 0.55rem;
  padding-top: 0.5rem;
}
.pf-auth-google-wrap .pf-auth-google-btn {
  width: 100%;
  display: block;
}
.pf-auth-link {
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  color: var(--green, #0fbc49);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.pf-auth-link:hover {
  text-decoration: underline;
}
.pf-auth-panel[hidden] {
  display: none !important;
}
@media (max-width: 480px) {
  .pf-auth-modal {
    padding: 0.5rem;
    align-items: flex-end;
  }
  .pf-auth-modal__dialog {
    max-height: min(92vh, 40rem);
    border-radius: 16px 16px 12px 12px;
  }
}
/* Short laptop / MacBook heights: pack the form so every field stays visible */
@media (max-height: 820px) {
  .pf-auth-modal__dialog {
    padding: 1.05rem 1.25rem 0.95rem;
  }
  .pf-auth-modal__eyebrow {
    margin-bottom: 0.2rem;
    font-size: 0.72rem;
  }
  .pf-auth-modal__title {
    font-size: 1.28rem;
  }
  .pf-auth-modal__desc {
    margin-bottom: 0.7rem;
    font-size: 0.88rem;
  }
  .pf-auth-form .form-control {
    min-height: 44px;
  }
  .pf-auth-form .form-floating > label {
    padding-top: 0.7rem;
  }
  .pf-auth-google-wrap {
    min-height: 40px;
  }
}
@media (max-height: 700px) {
  .pf-auth-modal__dialog {
    padding: 0.85rem 1.1rem 0.8rem;
  }
  .pf-auth-modal__title {
    font-size: 1.15rem;
  }
  .pf-auth-modal__desc {
    margin-bottom: 0.5rem;
    font-size: 0.82rem;
    line-height: 1.3;
  }
  .pf-auth-form .form-floating {
    margin-bottom: 0.3rem !important;
  }
  .pf-auth-form .form-control {
    min-height: 40px;
    font-size: 0.92rem;
  }
  .pf-auth-form .btn {
    min-height: 40px;
    font-size: 0.92rem;
  }
  .pf-auth-terms-note {
    font-size: 0.66rem;
    margin-top: 0.3rem;
  }
  .pf-auth-modal__switch {
    margin-top: 0.45rem;
    padding-top: 0.45rem;
    font-size: 0.82rem;
  }
}
