/* Figtree (SIL Open Font License), served from here rather than Google Fonts. */
@font-face {
  font-family: "Figtree";
  src: url("/static/fonts/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #FFFFFF;
  --soft: #F3F5F3;
  --soft-2: #E6EAE6;
  --ink: #111815;
  --ink-2: #55615A;
  --line: #DDE3DD;
  --field: #C3CCC4;
  --accent: #1E7A4E;
  --accent-deep: #155C3A;
  --accent-2: #6FC79A;
  --accent-soft: #DDF1E5;
  --accent-softer: #EEF8F2;
  --band: #10302A;
  --danger: #B3261E;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 100px; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { margin: 0; color: inherit; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.04; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }
.lede { margin-top: 20px; font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--ink-2); }
.center .lede { max-width: 42ch; margin-inline: auto; }

/* Floating header */
.topbar-wrap { position: sticky; top: 12px; z-index: 20; padding-inline: var(--gutter); margin-top: 12px; }
.topbar {
  max-width: var(--wrap);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 8px 8px 20px;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: 22px;
  box-shadow: 0 2px 18px rgba(18, 25, 27, 0.10);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.015em; white-space: nowrap; }
/* Two stacked ad tiles, like the hero wall: one placement in front of another */
.brand-mark { width: 26px; height: 26px; flex: none; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav-link { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--accent-deep); }

/* Keyboard users can jump past the header; the link only shows while it has focus */
.skip-link { position: absolute; top: 20px; left: -9999px; z-index: 30; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; }
.skip-link:focus { left: var(--gutter); }
main:focus { outline: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2A3436; color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--soft); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent-soft); color: var(--ink); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 15px; }
.short { display: none; }

/* Hero */
.hero { padding-top: clamp(56px, 9vw, 104px); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* Collage of example ads, Pinterest style */
/* As many whole columns as fit the screen (--n), sized to fill it, so no ad is ever cut off */
.collage-clip { --n: 5; --gap: 16px; container-type: inline-size; max-width: 1800px; margin: clamp(48px, 7vw, 72px) auto 0; padding-inline: var(--gutter); overflow: hidden; }
.collage {
  --col: calc((100cqi - (var(--n) - 1) * var(--gap)) / var(--n));
  display: grid;
  grid-template-columns: repeat(var(--n), var(--col));
  gap: var(--gap);
  justify-content: center;
  align-items: start;
}
.collage-col { container-type: inline-size; display: grid; gap: var(--gap); margin-top: calc(var(--col) * var(--o)); text-align: left; animation: rise 0.8s cubic-bezier(.2, .7, .2, 1) both; }
.collage-col:nth-child(1) { --o: 0.32; animation-delay: 0.2s; }
.collage-col:nth-child(2) { --o: 0.1; animation-delay: 0.1s; }
.collage-col:nth-child(3) { --o: 0; animation-delay: 0s; }
.collage-col:nth-child(4) { --o: 0.14; animation-delay: 0.1s; }
.collage-col:nth-child(5) { --o: 0.36; animation-delay: 0.2s; }
.collage-col:nth-child(6) { --o: 0.2; animation-delay: 0.3s; }
.collage-col:nth-child(n + 6) { display: none; }
@media (min-width: 1680px) {
  .collage-clip { --n: 6; }
  .collage-col:nth-child(n + 6) { display: grid; }
}
@media (max-width: 1199px) {
  .collage-clip { --n: 4; }
  .collage-col:nth-child(n + 5) { display: none; }
}
@media (max-width: 879px) {
  .collage-clip { --n: 3; }
  .collage-col:nth-child(n + 4) { display: none; }
}
@media (max-width: 559px) {
  .collage-clip { --n: 2; --gap: 12px; }
  .collage-col:nth-child(n + 3) { display: none; }
}
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.collage-note { margin-top: 14px; font-size: 14px; color: var(--ink-2); }

.ad {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  border-radius: 18px;
  padding: 7cqi 7cqi 7.5cqi;
  background: var(--ad-bg);
  color: var(--ad-ink);
  overflow: hidden;
}
.ad-rect { aspect-ratio: 300 / 250; }
.ad-brand { font-size: clamp(11px, 5.6cqi, 15px); font-weight: 700; line-height: 1.2; opacity: 0.9; }
.ad-line { font-size: clamp(15px, 9cqi, 26px); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; }
.ad-cta { align-self: flex-start; font-size: clamp(11px, 5cqi, 14px); font-weight: 700; padding: 0.55em 1.1em; border-radius: 999px; background: var(--ad-ink); color: var(--ad-bg); }

.ad-dating { --ad-bg: #5B3FD9; --ad-ink: #FFFFFF; --photo: url("/static/img/nearbi.webp"); }
.ad-underwear { --ad-bg: #EFE3D3; --ad-ink: #3A2A1C; --photo: url("/static/img/pouch.webp"); }
.ad-health { --ad-bg: #DCE8F5; --ad-ink: #12305A; }
.ad-vpn { --ad-bg: #2F3E5C; --ad-ink: #E8EEF8; }
.ad-live { --ad-bg: #8C2F39; --ad-ink: #FFFFFF; }
.ad-toys { --ad-bg: #8E1F5C; --ad-ink: #FFFFFF; --photo: url("/static/img/deepend.webp"); }

/* Example ads with an image behind the text */
.ad.ad-photo { --ad-ink: #FFFFFF; background: linear-gradient(to bottom, rgba(10, 2, 6, 0.5), rgba(10, 2, 6, 0) 30%), linear-gradient(to top, rgba(10, 2, 6, 0.8), rgba(10, 2, 6, 0) 72%), var(--photo) center / cover no-repeat, var(--ad-bg); }
.ad-photo .ad-line { margin-top: auto; }
.ad-photo .ad-cta { background: #fff; color: var(--ink); }
.ad-fans { --ad-bg: #FFD23F; --ad-ink: #2B2300; --photo: url("/static/img/fanvault.webp"); }
.ad-lube { --ad-bg: #E6E0F2; --ad-ink: #2E2554; }
.ad-gear { --ad-bg: #4A2C1A; --ad-ink: #F5E6D8; }
.ad-party { --ad-bg: #FF8A2B; --ad-ink: #2A1300; }
.ad-den { --ad-bg: #FFD23F; --ad-ink: #2B2300; }
.ad-supps { --ad-bg: #1D3C8F; --ad-ink: #FFFFFF; }
.ad-hotel { --ad-bg: #6E2A8C; --ad-ink: #FFFFFF; }
.ad-sauna { --ad-bg: #4B3A6E; --ad-ink: #FFFFFF; }

/* A shared spot: two ads stacked. The bottom one stays opaque and the top one fades over it, so no
   page background shows through. The old text leaves first, the colour changes, then the new text
   arrives, so the two never overlap. */
.rotator { position: relative; aspect-ratio: 300 / 250; }
.rotator > .ad { position: absolute; inset: 0; }
.rotator > .ad:last-child { transition: opacity 0.9s ease; }
.rotator > .ad:last-child:not(.is-on) { opacity: 0; }
.rotator > .ad > * { transition: opacity 0.35s ease 0.5s; }
.rotator > .ad:not(.is-on) > * { opacity: 0; transition: opacity 0.25s ease; }

.report-card {
  border-radius: 18px;
  padding: 7cqi;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px -14px rgba(18, 25, 27, 0.35);
}
.report-title { font-size: 6.4cqi; font-weight: 700; }
.report-card svg { display: block; width: 100%; height: auto; margin: 4cqi 0; }
.report-rows { display: grid; gap: 3cqi; }
.report-row { display: grid; grid-template-columns: 38% 1fr; align-items: center; gap: 3cqi; font-size: 5cqi; color: var(--ink-2); }
.report-row i { display: block; height: 3.2cqi; border-radius: 99px; background: var(--accent); transform-origin: left center; animation: bar-grow 0.8s cubic-bezier(.2, .7, .2, 1) both; }
.report-row:nth-child(1) i { animation-delay: 0.95s; }
.report-row:nth-child(2) i { animation-delay: 1.1s; }
.report-row:nth-child(3) i { animation-delay: 1.25s; }
.report-row .w-100 { width: 100%; }
.report-row .w-72 { width: 72%; }
.report-row .w-22 { width: 22%; }

/* Once, after the wall lands: the chart line draws in, then the area under it and the bars fill */
.report-line { stroke-dasharray: 1; animation: line-draw 1.3s 0.75s ease-out both; }
.report-area { opacity: 0.1; animation: area-in 0.6s 1.7s ease-out both; }
@keyframes line-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes area-in { from { opacity: 0; } to { opacity: 0.1; } }
@keyframes bar-grow { from { transform: scaleX(0); } to { transform: none; } }

/* Sections */
.section { padding-block: clamp(64px, 8vw, 96px); }
.section-head { max-width: 760px; }
.section-head.center { margin-inline: auto; }

/* Why */
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.why-card { padding: 28px 24px 30px; border-radius: 24px; background: var(--soft); }
.why-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: #fff; color: var(--accent); margin-bottom: 22px; }
.why-icon svg { width: 24px; height: 24px; }
.why-card p { margin-top: 8px; font-size: 16px; color: var(--ink-2); }

/* Ad sizes */
.sizes-panel { margin-top: 48px; padding: clamp(28px, 5vw, 56px); border-radius: 32px; background: var(--soft); }
.sizes { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 36px 44px; }
.size { margin: 0; display: grid; gap: 12px; max-width: 100%; }
.slot {
  display: grid;
  place-items: center;
  width: calc(var(--w) * 0.5px);
  max-width: 100%;
  aspect-ratio: var(--w) / var(--h);
  border: 1.5px dashed var(--accent);
  border-radius: 10px;
  background: repeating-linear-gradient(135deg, var(--accent-soft) 0 8px, var(--accent-softer) 8px 16px);
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.slot-728x90 { --w: 728; --h: 90; }
.slot-300x250 { --w: 300; --h: 250; }
.slot-320x100 { --w: 320; --h: 100; }
.slot-300x100 { --w: 300; --h: 100; }
.slot-320x50 { --w: 320; --h: 50; }
.size figcaption { font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.size figcaption b { display: block; color: var(--ink); font-size: 16px; }
.sizes-note { margin-top: 36px; text-align: center; font-size: 15px; color: var(--ink-2); }

/* How it works */
.how { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 96px); align-items: start; }
.steps { list-style: none; margin: 40px 0 0; padding: 0; counter-reset: step; display: grid; gap: 26px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 18px; }
.steps li::before {
  content: counter(step);
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
}
.steps p { margin-top: 4px; color: var(--ink-2); max-width: 52ch; }
.counting { padding: 32px; border-radius: 28px; background: var(--soft); }
.counting dl { margin: 18px 0 0; display: grid; gap: 14px; }
.counting dt { font-weight: 700; }
.counting dd { margin: 2px 0 0; color: var(--ink-2); font-size: 16px; }
.counting p { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }

/* Websites band on the home page */
.band { background: var(--band); color: #fff; padding-block: clamp(48px, 6vw, 72px); }
.band-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 56px; align-items: center; }
.band h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
.band .lede { margin-top: 12px; max-width: 40ch; font-size: 1.06rem; color: #C6D9CF; }
.band .btn { margin-top: 24px; }
.logo-tiles { display: flex; gap: 12px; }
.logo-tile { display: grid; place-items: center; flex: none; width: 220px; height: 88px; padding: 0 24px; border-radius: 20px; background: #fff; }
@media (max-width: 900px) {
  .band-inner { grid-template-columns: minmax(0, 1fr); }
  .logo-tile { flex: 1 1 0; width: auto; min-width: 0; max-width: 240px; }
}

.logo { display: block; width: 100%; height: auto; }

/* Contact */
.contact-panel { padding: clamp(28px, 5vw, 64px); border-radius: 32px; background: var(--soft); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
/* One explicit column, so a wide child such as the spam-check widget cannot widen every field */
.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 32px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
/* Rows pack at the top, so a wrapped label or an error beside a field never stretches its neighbour */
.field { display: grid; align-content: start; gap: 7px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field-label, .field legend { font-weight: 700; font-size: 15px; padding: 0; }
.field-label em, .field legend em { font-style: normal; font-weight: 500; color: var(--ink-2); }
.input {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--field);
  border-radius: 14px;
  padding: 12px 16px;
}
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(30, 122, 78, 0.2); }
textarea.input { resize: vertical; min-height: 132px; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: right 20px top 50%, right 15px top 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 44px; }

.checks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 7px; }
.check { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 14px; border: 1.5px solid var(--field); border-radius: 999px; background: #fff; cursor: pointer; font-weight: 600; font-size: 16px; }
.check:has(input:checked) { border-color: var(--ink); background: var(--ink); color: #fff; }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent-2); }
.hint { font-size: 14px; color: var(--ink-2); }
.from-hint { margin-top: 8px; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* The widget is 300px at its narrowest; on the smallest phones its right edge is trimmed rather than the page scrolling sideways */
.cf-turnstile { width: 100%; max-width: 360px; min-height: 65px; overflow: hidden; }
.form-submit { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; justify-items: start; }
.input.is-invalid { border-color: var(--danger); }
.field-error { display: block; font-size: 14px; font-weight: 600; color: var(--danger); }
.form-error { padding: 14px 18px; border-radius: 14px; background: #FBE9E7; color: #7A1B14; font-size: 15px; }
.form-error a { color: inherit; }
.btn[disabled] { opacity: 0.6; cursor: default; }

.sent { margin-top: 32px; padding: 32px; border-radius: 24px; background: #fff; animation: sent-in 0.35s ease-out both; }
.sent:focus { outline: none; }
.sent p { margin: 8px 0 22px; color: var(--ink-2); }
@keyframes sent-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.direct { display: grid; gap: 12px; }
.direct h3 { margin-bottom: 6px; }
.direct-link { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: #fff; color: var(--ink); text-decoration: none; line-height: 1.35; font-weight: 700; }
.direct-link:hover { box-shadow: 0 0 0 1.5px var(--ink); color: var(--ink); }
.direct-link svg { width: 22px; height: 22px; flex: none; color: var(--accent); }
.direct-link small { display: block; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.direct-link span { min-width: 0; overflow-wrap: anywhere; }
.notice { margin-top: 10px; font-size: 15px; color: var(--ink-2); }
.notice b { color: var(--ink); }

/* Websites page */
.page-head { padding-top: clamp(56px, 9vw, 104px); }
.sites { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.site { display: flex; flex-direction: column; gap: 22px; padding: clamp(24px, 4vw, 36px); border-radius: 28px; background: var(--soft); }
.site .logo { width: 210px; max-width: 100%; }
.site-desc { color: var(--ink-2); }
.reach { display: grid; gap: 2px; padding: 22px 24px; border-radius: 20px; background: #fff; }
.reach-figure { font-weight: 800; font-size: clamp(2.4rem, 4.4vw, 3.2rem); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.reach-figure.is-pending { font-size: 1.5rem; letter-spacing: -0.01em; padding-block: 0.35em; }
.reach-label { font-weight: 700; }
.reach-source { font-size: 14px; color: var(--ink-2); }
.placements { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.placements li { display: flex; align-items: center; gap: 14px; font-size: 16px; }
.placements b { flex: none; min-width: 6.6em; padding: 6px 12px; border-radius: 999px; background: #fff; font-size: 14px; text-align: center; font-variant-numeric: tabular-nums; }
.site-extra { font-size: 16px; color: var(--ink-2); }
.site-link { margin-top: auto; font-weight: 700; }
.cta-panel { margin-top: 20px; padding: clamp(32px, 6vw, 64px); border-radius: 32px; background: var(--band); color: #fff; text-align: center; }
.cta-panel .lede { color: #C6D9CF; }
.cta-panel .hero-actions { margin-top: 28px; }
.cta-panel .btn-outline { color: #fff; border-color: #fff; }
.cta-panel .btn-outline:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* Plain pages: privacy, thank-you, not found */
.prose { max-width: 68ch; margin-inline: auto; padding-block: clamp(56px, 9vw, 104px) clamp(40px, 6vw, 72px); }
.prose h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.prose h2 { font-size: 1.5rem; margin-top: 40px; }
.prose p, .prose li { margin-top: 14px; color: var(--ink-2); }
.prose ul { padding-left: 1.2em; }
.prose .hero-actions { justify-content: flex-start; }
.prose-meta { margin-top: 12px; font-size: 15px; color: var(--ink-2); }

/* Footer */
.footer { padding-block: 36px 44px; font-size: 15px; color: var(--ink-2); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 28px; border-top: 1px solid var(--line); }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer a { color: var(--ink-2); }
.footer a[aria-current="page"] { color: var(--ink); }

@media (max-width: 1000px) {
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .how, .contact-grid, .sites { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .desktop-only { display: none; }
  .nav { gap: 18px; }
  .long { display: none; }
  .short { display: inline; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .why { grid-template-columns: minmax(0, 1fr); }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .topbar { padding-left: 16px; }
  .brand { font-size: 1.05rem; }
  .contact-panel { padding: 28px 20px; }
}
