/* Cookie banner and checkout trust. The banner sits at the top so the buy
   button stays free at the bottom. Aceitar and Rejeitar share one style. */

.ck {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  box-sizing: border-box;
  padding: 6px 8px;
  pointer-events: none;
}

.ck[hidden] {
  display: none !important;
}

.ck-in {
  pointer-events: auto;
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  background: #0f172a;
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 8px 10px;
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.22);
}

.ck-in p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.35;
  font-weight: 500;
}

.ck-in a {
  color: #bfdbfe;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ck-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
}

.ck-b {
  min-height: 44px;
  width: 100%;
  margin: 0;
  border-radius: 10px;
  padding: 8px 10px;
  font-family: inherit;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  background: #fff;
  color: #0f172a;
  border: 1px solid #fff;
  cursor: pointer;
}

.ck-b:hover {
  background: #e2e8f0;
}

.ck-b:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 2px;
}

body:has(#ck:not([hidden])) {
  padding-top: var(--ck-offset, 0px);
}

body:has(#ck:not([hidden])) header.sticky,
body:has(#ck:not([hidden])) .offer-page > header {
  top: var(--ck-offset, 0px);
}

@media (min-width: 800px) {
  .ck-in {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
  }

  .ck-btns {
    width: 280px;
    flex: 0 0 280px;
  }
}

.receive {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto 1.25rem;
  text-align: left;
  color: #0f172a;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 18px 18px 6px;
  box-shadow: 0 18px 40px -28px rgba(15, 23, 42, 0.55);
}

.receive-kicker {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1d4ed8;
}

.receive h2 {
  margin: 0 0 8px;
  font-size: 1.2rem !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: #0f172a;
}

.receive-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.receive-list li {
  padding: 10px 0;
  border-top: 1px solid #e2e8f0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #1e293b;
}

.receive-list li:first-child {
  border-top: 0;
}

.receive-list b {
  color: #0f172a;
}

#checkout .receive {
  grid-column: 1 / -1;
  max-width: none;
  margin-bottom: 28px;
}

.pay-note,
.tool-note {
  margin: 0.75rem auto 0;
  max-width: 36rem;
  color: #475569;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  text-wrap: balance;
}

.tool-note {
  margin-top: 0.35rem;
}

.pay-note a {
  color: #1d4ed8;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

a[href^="mailto:"] {
  display: inline;
  width: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: normal;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pay-note-on-dark,
.tool-note-on-dark,
.pay-note-on-dark a {
  color: #dbe7f8;
}

.inapp-note {
  margin: 0.45rem auto 0;
  max-width: 28rem;
  color: #64748b;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}

.inapp-note-on-dark {
  color: #94a3b8;
}

.mobile-cta {
  flex-wrap: nowrap;
  align-items: center;
}

.mobile-cta .pay-note,
.mobile-cta .tool-note,
.mobile-cta .inapp-note {
  display: none;
}

@media (max-width: 640px) {
  header.sticky > .wrap {
    height: 48px;
    min-height: 48px;
  }

  .mobile-spacer,
  .h-20.sm\:hidden {
    height: 5.25rem;
  }
}

@media (min-width: 641px) {
  .mobile-spacer {
    height: 0;
  }
}

/* Contrast. Navy bands keep a white headline and a light subheadline.
   Blue and green CTAs keep a white label. Muted text stays above WCAG AA:
   4.5:1 for body, 3:1 for large type. The struck €47 price stays. */

.text-slate-500,
.text-\[\#64748b\] {
  color: #475569 !important;
}

.hero .hero-card .text-slate-500,
.hero .bg-white .text-slate-500,
.receive .text-slate-500,
.receive .text-\[\#64748b\],
.bg-white .text-slate-500,
.checkout-gradient .bg-white .text-slate-500 {
  color: #475569 !important;
}

.hero .text-slate-500,
.hero s,
.offer .text-slate-500,
.bg-slate-900 .text-slate-500,
.bg-slate-950 .text-slate-500,
.checkout-gradient .text-slate-500,
[class*="0f172a"] .text-\[\#64748b\],
[class*="0f172a"] s,
.bg-slate-900 s,
.bg-slate-950 s,
footer.bg-slate-900 .text-slate-500,
footer.bg-slate-950 .text-slate-500 {
  color: #cbd5e1 !important;
}

.hero .hero-card .text-slate-500,
.hero .hero-card s,
.receive .text-slate-500,
.receive s,
.bg-white .text-slate-500,
.checkout-gradient .bg-white .text-slate-500,
.checkout-gradient .bg-white s {
  color: #475569 !important;
}

.receive {
  color: #0f172a !important;
}

.receive-list,
.receive-list li {
  color: #1e293b !important;
}

.receive-list b,
.receive h2 {
  color: #0f172a !important;
}

footer.bg-slate-950,
footer.bg-slate-900,
.legal-note {
  color: #cbd5e1 !important;
}

.hero h1,
.bg-slate-900 h1,
.bg-slate-950 h1,
[class*="0f172a"] h1,
[class*="0f172a"] h2 {
  color: #ffffff;
}

.hero h1 .text-transparent,
.bg-slate-900 h1 .text-transparent {
  color: transparent;
}

a.bg-blue-600,
a.bg-blue-700,
a.bg-\[\#1d4ed8\],
a.bg-emerald-600,
a.bg-emerald-700,
a.bg-emerald-800,
.btn,
.head-cta {
  color: #ffffff !important;
}

a.bg-emerald-600,
a.bg-emerald-500 {
  background-color: #047857 !important;
}

a.bg-emerald-600:hover,
a.bg-emerald-500:hover {
  background-color: #065f46 !important;
  color: #ffffff !important;
}

a.bg-blue-500 {
  background-color: #1d4ed8 !important;
  color: #ffffff !important;
}

a.bg-blue-500:hover {
  background-color: #1e40af !important;
  color: #ffffff !important;
}

/* Local marks beside ChatGPT and Claude when the copy names them as tools.
   Masks use the SVGs in this folder. No remote image. */
.tool-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.22em;
  white-space: nowrap;
  vertical-align: baseline;
}

.tool-mark::before {
  content: "";
  width: 0.95em;
  height: 0.95em;
  flex: 0 0 auto;
  background-color: currentColor;
  -webkit-mask: var(--tool-icon) center / contain no-repeat;
  mask: var(--tool-icon) center / contain no-repeat;
}

.tool-chatgpt {
  --tool-icon: url("logo-chatgpt.svg");
}

.tool-claude {
  --tool-icon: url("logo-claude.svg");
}

@media (max-width: 640px) {
  .tool-mark {
    gap: 0.16em;
  }

  .tool-mark::before {
    width: 0.85em;
    height: 0.85em;
  }
}
