/* CampaignLedger: marked-up proof
   Ballpoint blue for checks and notes, highlighter yellow for the #ad,
   cool white paper. One type family, condensed for headlines. */

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  src: url("fonts/instrument-sans.woff2") format("woff2-variations"),
       url("fonts/instrument-sans.woff2") format("woff2");
}

:root {
  --paper: #ffffff;
  --band: #f1f4fa;
  --ink: #131a33;
  --ink-2: #4b5470;
  --line: #dce1ec;
  --blue: #2443d6;
  --blue-deep: #1a2f9e;
  --marker: #ffe14d;
  --ok: #1d7a4e;
  --ok-bg: #e3f3ea;
  --fix: #b8361f;
  --fix-bg: #fbe7e2;

  --font: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 7rem);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--blue); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-deep); text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 {
  margin: 0;
  font-stretch: 82%;
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: 1.25rem; font-stretch: 90%; line-height: 1.25; }

p { margin: 0; text-wrap: pretty; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  z-index: 10;
}
.skip:focus { top: 1rem; color: #fff; }

/* ---------- Header ---------- */

.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  font-stretch: 85%;
  font-size: 1.25rem;
  letter-spacing: -0.005em;
}
.brand:hover { color: var(--ink); }
.brand svg { width: 1.6rem; height: 1.6rem; flex: none; }

.nav { display: flex; gap: 1.75rem; }
.nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.975rem;
}
.nav a:hover { color: var(--ink); text-decoration: underline; }

@media (max-width: 40rem) {
  .nav { display: none; }
}

/* ---------- Hero ---------- */

.hero { padding-block: clamp(3rem, 7vw, 5.5rem) var(--section); }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
  padding: 0.35rem 0.85rem 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.925rem;
  color: var(--ink-2);
  background: var(--paper);
}
.status::before {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--marker);
  box-shadow: 0 0 0 2px #e6c41f inset;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-stretch: 78%;
  font-weight: 680;
  line-height: 0.98;
  letter-spacing: -0.015em;
  max-width: 13ch;
}

.lede {
  margin-top: 1.6rem;
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  max-width: 34rem;
}

.hero-note {
  margin-top: 1.25rem;
  max-width: 34rem;
  color: var(--ink-2);
}

/* ---------- Proof concept (hero visual) ---------- */

.proof { margin: 0; }

.proof-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 12.5rem) minmax(0, 1fr);
  gap: 2.25rem;
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 24px;
  background:
    linear-gradient(var(--band), var(--band)) padding-box;
  border: 1px solid var(--line);
}

.post {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 0.85rem;
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(19, 26, 51, 0.35);
}

.post-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}
.avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: conic-gradient(from 200deg, #ffb48a, #ff7aa8, #8f8cff, #ffb48a);
  flex: none;
}
.post-handle {
  display: grid;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.25;
}
.post-sub { font-weight: 400; color: var(--ink-2); font-size: 0.78rem; }

.post-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(160deg, #ffd9c7 0%, #f6b8c9 45%, #c9c3ff 100%);
}
.post-media::before {
  /* product bottle */
  content: "";
  position: absolute;
  left: 50%;
  bottom: 16%;
  width: 26%;
  height: 46%;
  transform: translateX(-50%);
  border-radius: 14px 14px 10px 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f3eefc 100%);
  box-shadow: 0 10px 24px -10px rgba(19, 26, 51, 0.45);
}
.post-media::after {
  /* cap */
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(16% + 46%);
  width: 12%;
  height: 9%;
  transform: translateX(-50%);
  border-radius: 6px 6px 2px 2px;
  background: #2b2f45;
}

.post-caption {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  line-height: 1.45;
}
.post-caption mark {
  color: var(--ink);
  font-weight: 600;
  padding: 0 0.15em;
  background: linear-gradient(var(--marker), var(--marker)) no-repeat 0 60% / 100% 78%;
}

.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.7rem 0.85rem;
  background: var(--paper);
  border: 1.5px solid var(--blue);
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.35;
}
.check::before {
  /* note line pointing back to the post */
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  width: 2.25rem;
  border-top: 1.5px dashed var(--blue);
}
.check::after {
  content: "";
  position: absolute;
  right: calc(100% + 2.25rem - 4px);
  top: calc(50% - 4px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.tick {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.05rem;
  border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

.check strong { display: block; font-weight: 600; }
.check-meta {
  display: block;
  color: var(--ink-2);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}

.badge {
  display: inline-block;
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}
.badge-ok { color: var(--ok); background: var(--ok-bg); }

.proof figcaption {
  margin-top: 0.85rem;
  font-size: 0.875rem;
  color: var(--ink-2);
}

/* one orchestrated moment: the #ad gets highlighted, then the checks land */
@media (prefers-reduced-motion: no-preference) {
  .post-caption mark { animation: highlight 650ms 350ms cubic-bezier(.3,.7,.2,1) both; }
  .check { animation: land 420ms cubic-bezier(.2,.8,.2,1) both; }
  .check:nth-child(1) { animation-delay: 1000ms; }
  .check:nth-child(2) { animation-delay: 1180ms; }
  .check:nth-child(3) { animation-delay: 1360ms; }
  .check:nth-child(4) { animation-delay: 1540ms; }
}
@keyframes highlight { from { background-size: 0% 78%; } to { background-size: 100% 78%; } }
@keyframes land { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */

.section { padding-block: var(--section); }
.section-band { background: var(--band); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.intro { margin-top: 1.25rem; max-width: 30rem; color: var(--ink-2); }

.places {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}
.places li {
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-size: 0.9rem;
  color: var(--ink-2);
}
.places li:nth-child(odd) { transform: rotate(-2deg); }
.places li:nth-child(even) { transform: rotate(1.5deg) translateY(3px); }

.slips {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.slips li {
  padding: 1.1rem 0 1.1rem 2.25rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-size: 1.075rem;
}
.slips li::before {
  /* an empty, dashed box: proof that never got filed */
  content: "";
  position: absolute;
  left: 0;
  top: 1.3rem;
  width: 1.15rem;
  height: 1.15rem;
  border: 1.5px dashed #9aa3bd;
  border-radius: 4px;
}
.slips-close {
  margin-top: 1.5rem;
  font-weight: 600;
}

/* How it works */

.head { max-width: 40rem; }
.head p { margin-top: 1rem; color: var(--ink-2); }

.steps {
  list-style: none;
  counter-reset: step;
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  right: 1.2rem;
  border-top: 1.5px solid var(--line);
}
.steps li { counter-increment: step; position: relative; }
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--blue);
  color: var(--blue);
  font-weight: 650;
  position: relative;
}
.steps h3 { margin-bottom: 0.5rem; }
.steps p { color: var(--ink-2); font-size: 1rem; }

.scope {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
}
.scope h3 { font-size: 1.35rem; }
.features {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  columns: 2;
  column-gap: 3rem;
}
.features li {
  break-inside: avoid;
  position: relative;
  padding: 0.45rem 0 0.45rem 1.9rem;
}
.features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 1.1rem;
  height: 1.1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.6l3.1 3L13 4.6' fill='none' stroke='%232443d6' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

/* Offer */

.offer {
  background: var(--blue);
  color: #fff;
}
.offer h2 {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-stretch: 78%;
  max-width: 18ch;
}
.offer-lede {
  margin-top: 1.25rem;
  max-width: 36rem;
  font-size: 1.15rem;
  color: #e4e9ff;
}
.offer-grid {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}
.offer-card {
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.offer-card-get {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.offer-card h3 { margin-bottom: 0.9rem; }
.offer-card p + ul, .offer-card ul { margin: 0.9rem 0 0; padding-left: 1.2rem; }
.offer-card li { margin-top: 0.45rem; }
.offer-card li::marker { color: currentColor; }
.offer a { color: #fff; font-weight: 600; text-decoration-thickness: 2px; }
.offer a:hover { color: #fff; text-decoration-color: var(--marker); }
.offer :focus-visible { outline-color: var(--marker); }

.get-list { list-style: none; padding: 0 !important; }
.get-list li {
  position: relative;
  padding-left: 1.9rem;
  margin-top: 0.75rem;
}
.get-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.get-list li:first-child strong {
  background: linear-gradient(var(--marker), var(--marker)) no-repeat 0 70% / 100% 45%;
}

/* Who */

.who {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 6vw, 5rem);
}
.who h2 { font-size: clamp(1.75rem, 3.4vw, 2.4rem); }
.who p { margin-top: 1rem; max-width: 32rem; }
.who p + p { color: var(--ink-2); }
.who > div + div {
  border-left: 1px solid var(--line);
  padding-left: clamp(2.5rem, 6vw, 5rem);
}

/* FAQ */

.faq .split { align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.2rem 0;
  font-weight: 600;
  font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 0.65rem 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 0.65rem no-repeat;
  transition: transform 200ms ease, background-color 200ms ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--band);
}
.faq details p {
  padding: 0 2.5rem 1.4rem 0;
  color: var(--ink-2);
  max-width: 40rem;
}
@media (prefers-reduced-motion: reduce) {
  .faq summary::after { transition: none; }
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 2.5rem 3rem;
  font-size: 0.95rem;
  color: var(--ink-2);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer a { color: var(--ink-2); }
.site-footer a:hover { color: var(--ink); }

/* ---------- Text pages (privacy, 404) ---------- */

.doc { padding-block: clamp(3rem, 7vw, 5rem) var(--section); }
.doc .wrap { max-width: 46rem; }
.doc h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); font-stretch: 80%; }
.doc .updated { margin-top: 0.75rem; color: var(--ink-2); }
.doc h2 {
  font-size: 1.45rem;
  font-stretch: 88%;
  margin-top: 2.75rem;
}
.doc p, .doc ul { margin-top: 0.9rem; }
.doc ul { padding-left: 1.25rem; }
.doc li { margin-top: 0.4rem; }
.doc li::marker { color: var(--blue); }
.summary {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--blue);
  background: var(--band);
  border-radius: 0 12px 12px 0;
}
.summary p { margin: 0; }

.notfound { min-height: 60vh; display: grid; align-content: center; }
.notfound p { margin-top: 1rem; color: var(--ink-2); }

/* ---------- Responsive ---------- */

@media (max-width: 60rem) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: 14ch; }
  .proof { max-width: 34rem; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
  .steps::before { display: none; }
  .offer-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 48rem) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .who { grid-template-columns: minmax(0, 1fr); }
  .who > div + div { border-left: 0; padding-left: 0; padding-top: 2.5rem; border-top: 1px solid var(--line); }
  .features { columns: 1; }
}

@media (max-width: 34rem) {
  body { font-size: 1rem; }
  .status { font-size: 0.82rem; padding-inline: 0.6rem 0.75rem; }
  .proof-stage { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .post { max-width: 15rem; margin-inline: auto; width: 100%; }
  .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
  .check { padding: 0.6rem 0.65rem; font-size: 0.84rem; }
  .check::before, .check::after { display: none; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .faq details p { padding-right: 0; }
}
