/* Focused marketing/contact corrections loaded after the core product styles. */

/* The hero preview starts with the protected-link chrome; the official brand now
   belongs to the site header, not inside the example destination. */
.landing-hero .hero-visual {
  padding-top: 22px;
}

/* A concise operational promise gives the marketing page a stronger bridge
   between the product story and the publisher workflow. */
.publisher-assurance {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 32px clamp(18px, 6vw, 88px) 12px;
  background: #fff;
}

.publisher-assurance::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 420px;
  height: 420px;
  right: -190px;
  top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 181, 143, .13), transparent 68%);
}

.publisher-assurance-card {
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(480px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid #dfe4f0;
  border-radius: 26px;
  background:
    radial-gradient(circle at 2% 0, rgba(101, 92, 255, .09), transparent 35%),
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(247, 249, 253, .98));
  box-shadow: 0 24px 70px rgba(25, 33, 69, .09);
}

.publisher-assurance-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #5850dc;
}

.publisher-assurance-copy .eyebrow i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b58f;
  box-shadow: 0 0 0 5px rgba(16, 181, 143, .11);
}

.publisher-assurance-copy h2 {
  max-width: 610px;
  margin: 14px 0 14px;
  font-size: clamp(2rem, 3.7vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.publisher-assurance-copy p {
  max-width: 640px;
  margin: 0 0 18px;
  color: #667188;
  font-size: .88rem;
  line-height: 1.72;
}

.publisher-assurance-copy .text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #5147d7;
  font-size: .78rem;
  font-weight: 850;
}

.publisher-assurance-flow {
  display: grid;
  gap: 10px;
}

.publisher-assurance-flow article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 82px;
  padding: 14px 16px;
  border: 1px solid #e0e5ef;
  border-radius: 16px;
  background: rgba(255, 255, 255, .86);
}

.publisher-assurance-flow article > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #efedff;
  color: #5a51e2;
  font-size: .7rem;
  font-weight: 900;
}

.publisher-assurance-flow strong,
.publisher-assurance-flow small {
  display: block;
}

.publisher-assurance-flow strong {
  color: #20273d;
  font-size: .82rem;
}

.publisher-assurance-flow small {
  margin-top: 4px;
  color: #727d94;
  font-size: .7rem;
  line-height: 1.5;
}

.publisher-assurance-flow .assurance-highlight {
  border-color: rgba(16, 181, 143, .3);
  background: linear-gradient(135deg, #edfbf6, #f6f5ff);
  box-shadow: 0 12px 30px rgba(16, 181, 143, .08);
}

.publisher-assurance-flow .assurance-highlight > span {
  background: linear-gradient(135deg, #655cff, #10b58f);
  color: #fff;
}

/* Core styles target every direct span in a plan card as a badge. Keep only the
   explicit popular marker floating and return descriptive notes to normal flow. */
.plans-grid article > .plan-popular {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  width: auto;
  min-width: 0;
  align-items: center;
  justify-content: center;
  padding: 6px 9px;
  border-radius: 999px;
  background: #fff;
  color: #5147ea;
  font-size: .58rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .04em;
  white-space: nowrap;
}

.plans-grid article > .plan-note {
  position: static;
  inset: auto;
  display: block;
  width: auto;
  min-width: 0;
  margin-top: 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #aeb7cb;
  font-size: .68rem;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: 0;
  white-space: normal;
}

.plans-grid article.featured > .plan-note {
  color: rgba(255, 255, 255, .78);
}

/* Clear public entry into Premium and the personal account. */
.landing-page .topnav-premium,
.topnav-premium {
  color: #5148d9;
  font-weight: 900;
}

.premium-entry-card {
  width: min(960px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  margin: 32px auto 0;
  padding: clamp(22px, 3.4vw, 34px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0, rgba(16, 181, 143, .15), transparent 16rem),
    rgba(255, 255, 255, .065);
  box-shadow: 0 22px 60px rgba(4, 8, 25, .18);
}

.premium-entry-card h3 {
  margin: 7px 0 7px;
  color: #fff;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  letter-spacing: -.025em;
}

.premium-entry-card p {
  max-width: 680px;
  margin: 0;
  color: #aeb7cb;
  font-size: .8rem;
  line-height: 1.65;
}

.premium-entry-card .button {
  white-space: nowrap;
}

.plans-grid article {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 32px;
}

.plans-grid {
  max-width: 1100px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.plans-grid article.featured {
  transform: none;
}

.plans-grid article > p {
  min-height: 3.2em;
  margin-bottom: 0;
  line-height: 1.6;
}

.plans-grid article > strong span {
  display: inline;
  margin-left: 3px;
  font-size: .42em;
  font-weight: 700;
  letter-spacing: 0;
  color: #9fa8bc;
}

.plans-grid article.featured > strong span {
  color: rgba(255, 255, 255, .82);
}

.plans-grid article > .plan-once {
  background: #eef1f6;
  color: #525d73;
}

.plans-grid .premium-plan-cta {
  position: static;
  inset: auto;
  width: 100%;
  min-height: 50px;
  height: auto;
  flex: 0 0 auto;
  margin-top: auto;
  padding: 11px 13px;
  border-radius: 11px;
  font-size: .7rem;
  letter-spacing: -.01em;
  white-space: normal;
}

.plans-grid .button.light,
.premium-account-entry .button.light {
  border-color: #fff;
  background: #fff;
  color: #5147db;
  box-shadow: 0 12px 30px rgba(3, 7, 24, .16);
}

.premium-attribution-note {
  width: min(920px, 100%);
  margin: 14px auto 0;
  color: #8993aa;
  font-size: .62rem;
  line-height: 1.55;
  text-align: center;
}

.premium-account-entry {
  grid-template-columns: minmax(0, 1fr) minmax(210px, auto);
  align-items: end;
}

.premium-account-copy > p {
  max-width: 760px;
}

.premium-account-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 21px;
}

.premium-account-features > span {
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  gap: 0 9px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 13px;
  background: rgba(255, 255, 255, .045);
}

.premium-account-features b {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(126, 116, 255, .2);
  color: #c3bdff;
  font-size: .72rem;
}

.premium-account-features strong,
.premium-account-features small {
  display: block;
}

.premium-account-features strong {
  color: #fff;
  font-size: .66rem;
}

.premium-account-features small {
  margin-top: 2px;
  color: #929db4;
  font-size: .55rem;
  line-height: 1.35;
}

.premium-account-actions {
  display: flex;
  min-width: 230px;
  flex-direction: column;
  align-items: stretch;
  gap: 11px;
}

.premium-account-login {
  color: #b7c0d4;
  font-size: .65rem;
  font-weight: 800;
  text-align: center;
}

.premium-account-login:hover {
  color: #fff;
}

@media (max-width: 760px) {
  .premium-entry-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .premium-entry-card .button {
    width: 100%;
  }

  .premium-account-features {
    grid-template-columns: 1fr;
  }

  .premium-account-actions {
    min-width: 0;
  }
}

.revenue-fineprint strong {
  color: #38445f;
}

.revenue-definition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 920px;
  margin: 28px auto 18px;
}

.revenue-definition-grid p,
.publisher-revenue-definitions p {
  margin: 0;
  padding: 16px;
  border: 1px solid #dde4f3;
  border-radius: 16px;
  background: rgba(255, 255, 255, .82);
}

.revenue-definition-grid strong,
.revenue-definition-grid span,
.publisher-revenue-definitions strong,
.publisher-revenue-definitions span {
  display: block;
}

.revenue-definition-grid strong,
.publisher-revenue-definitions strong {
  color: #252d47;
  font-size: .78rem;
}

.revenue-definition-grid span,
.publisher-revenue-definitions span {
  margin-top: 5px;
  color: #69758e;
  font-size: .75rem;
  line-height: 1.55;
}

.publisher-revenue-definitions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.publisher-revenue-definitions p {
  padding: 13px;
  background: #f8f9fd;
}

.cpm-readiness-note {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #e4d9ad;
  border-radius: 15px;
  background: #fffaf0;
}

.cpm-readiness-note > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: #f2e5b4;
  color: #765d08;
  font-size: .7rem;
  font-weight: 900;
}

.cpm-readiness-note strong,
.cpm-readiness-note small {
  display: block;
}

.cpm-readiness-note strong {
  color: #55470f;
  font-size: .8rem;
}

.cpm-readiness-note small {
  margin-top: 4px;
  color: #776a39;
  font-size: .7rem;
  line-height: 1.5;
}

/* Prevent the current-rate label and value from sharing the same visual space. */
.share-rate-badge {
  display: grid;
  grid-template-columns: minmax(118px, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-width: 270px;
  max-width: 100%;
  padding: 14px 18px;
  white-space: normal;
}

.share-rate-badge small {
  max-width: none;
  min-width: 0;
  line-height: 1.35;
}

.share-rate-badge strong {
  position: static;
  justify-self: end;
  min-width: 72px;
  text-align: right;
  white-space: nowrap;
}

/* Contact */
.contact-page {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100vh - 70px);
  padding: clamp(64px, 8vw, 112px) clamp(18px, 6vw, 88px);
  background:
    radial-gradient(circle at 10% 4%, rgba(101, 92, 255, .16), transparent 30%),
    radial-gradient(circle at 93% 92%, rgba(16, 181, 143, .12), transparent 31%),
    linear-gradient(180deg, #fff 0%, #f6f7fc 100%);
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(440px, 1.22fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: start;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.contact-intro {
  position: sticky;
  top: 98px;
}

.contact-intro h1 {
  max-width: 620px;
  margin: 14px 0 18px;
  font-size: clamp(2.7rem, 5.3vw, 4.9rem);
  line-height: 1;
  letter-spacing: -.055em;
}

.contact-intro > p {
  max-width: 560px;
  color: #64708a;
  font-size: 1rem;
  line-height: 1.75;
}

.contact-direct-channels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 24px 0 0;
}

.contact-direct-channels > a {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid rgba(205, 211, 228, .95);
  border-radius: 15px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 8px 24px rgba(31, 38, 79, .05);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.contact-direct-channels > a:hover {
  transform: translateY(-2px);
  border-color: #c8c2ff;
  box-shadow: 0 12px 30px rgba(70, 61, 173, .1);
}

.contact-channel-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, #655cff, #4c9eea);
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
}

.contact-channel-icon.email { background: linear-gradient(135deg, #21335d, #10b58f); }
.contact-direct-channels small,.contact-direct-channels strong { display: block; }
.contact-direct-channels small { color: #8a93a8; font-size: .54rem; font-weight: 900; letter-spacing: .1em; }
.contact-direct-channels strong { margin-top: 2px; overflow-wrap: anywhere; color: #1a2137; font-size: .76rem; }
.contact-card-heading a { color: var(--primary); font-weight: 800; }

.contact-route-list {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
}

.contact-route-list > div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  align-items: start;
  padding: 15px;
  border: 1px solid rgba(216, 222, 236, .9);
  border-radius: 16px;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(12px);
}

.contact-route-list span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #efedff;
  color: #5c52df;
  font-size: .72rem;
  font-weight: 900;
}

.contact-route-list strong,
.contact-route-list small {
  display: block;
}

.contact-route-list strong {
  color: #1a2137;
  font-size: .86rem;
}

.contact-route-list small {
  margin-top: 4px;
  color: #748099;
  line-height: 1.5;
}

.contact-card {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(216, 222, 236, .96);
  border-radius: 26px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 26px 80px rgba(24, 34, 75, .12);
}

.contact-card-heading {
  margin-bottom: 26px;
}

.contact-card-heading h2 {
  margin: 0 0 7px;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.contact-card-heading p {
  margin: 0;
  color: #6b7690;
  font-size: .86rem;
}

.contact-success {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 15px;
  align-items: start;
  margin-bottom: 24px;
  padding: 17px;
  border: 1px solid #bcebdc;
  border-radius: 17px;
  background: #edfbf6;
  color: #105f4c;
}

.contact-success > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: #16a77e;
  color: #fff;
  font-weight: 900;
}

.contact-success strong,
.contact-success small {
  display: block;
}

.contact-success small {
  margin-top: 4px;
  line-height: 1.5;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #30394f;
  font-size: .78rem;
  font-weight: 760;
}

.contact-form label > span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.contact-form label small {
  color: #8a93a7;
  font-weight: 550;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d9dfeb;
  border-radius: 12px;
  background: #fff;
  color: #171e32;
  font: inherit;
  font-weight: 500;
  outline: 0;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.contact-form input,
.contact-form select {
  min-height: 48px;
  padding: 0 13px;
}

.contact-form textarea {
  min-height: 180px;
  padding: 13px;
  line-height: 1.55;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #746cff;
  box-shadow: 0 0 0 4px rgba(101, 92, 255, .11);
}

.contact-form .privacy-check {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  padding: 14px;
  border: 1px solid #e1e5ee;
  border-radius: 13px;
  background: #f8f9fc;
  color: #5f6980;
  font-size: .74rem;
  font-weight: 550;
  line-height: 1.55;
}

.contact-form .privacy-check input {
  width: 17px;
  min-height: 0;
  height: 17px;
  margin: 2px 0 0;
  accent-color: #655cff;
}

.contact-form .privacy-check a {
  color: #5148ca;
  font-weight: 750;
}

.contact-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.contact-form-footer p {
  max-width: 330px;
  margin: 0;
  color: #828ba0;
  font-size: .7rem;
  line-height: 1.5;
}

.contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 820px) {
  .publisher-assurance-card {
    grid-template-columns: 1fr;
  }

  .contact-shell {
    grid-template-columns: 1fr;
  }

  .contact-intro {
    position: static;
  }

  .contact-route-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-route-list > div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .plans-grid {
    width: min(540px, 100%);
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .plans-grid {
    grid-template-columns: 1fr;
  }
  .publisher-assurance {
    padding: 22px 14px 0;
  }

  .publisher-assurance-card {
    padding: 24px 18px;
    border-radius: 21px;
  }

  .share-rate-badge {
    width: 100%;
    min-width: 0;
  }

  .contact-page {
    padding: 56px 16px 74px;
  }

  .revenue-definition-grid,
  .publisher-revenue-definitions {
    grid-template-columns: 1fr;
  }

  .contact-route-list,
  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-form-footer .button {
    width: 100%;
  }
}

@media (max-width: 410px) {
  .share-rate-badge {
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 12px 14px;
  }

  .share-rate-badge strong {
    min-width: 60px;
    font-size: 1.7rem;
  }
}
