/* ==========================================================================
   Pullwise landing page. Visual style follows brand-direction.md
   (it wins over the spec where they conflict).
   1. Design tokens  2. Base  3. Layout  4. Components  5. Sections
   ========================================================================== */

/* 1. Design tokens ------------------------------------------------------- */
:root {
  color-scheme: dark;

  /* Color: dark, cyan-tinted ink with CMYK process accents.
     Roles: cyan = action/brand, magenta = labels/structure, yellow = proof/reward. */
  --paper: #10161a;
  --paper-alt: #162028;
  --surface: #18222a;
  --ink: #eef3f6;
  --ink-muted: #a9b7c1;
  --cyan: #2fb4e9;
  --cyan-deep: #1fa2da;
  --magenta: #f0388f;
  --yellow: #ffd23f;
  --accent: var(--cyan);
  --accent-ink: #0b1a22;    /* text on cyan */
  --accent-2: var(--cyan);
  --line: rgba(238, 243, 246, 0.16);
  --focus: #7fcaf5;
  --halftone: rgba(255, 210, 63, 0.22);
  --halftone-on-accent: rgba(11, 26, 34, 0.18);

  /* Type */
  --font-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-label: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
  --fs-xl: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  --fs-2xl: clamp(2.5rem, 1.5rem + 4.6vw, 4.75rem);
  --lh-tight: 1.05;
  --lh-body: 1.6;
  --tracking-display: -0.015em;
  --tracking-label: 0.1em;

  /* Spacing (4px base) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 5rem;
  --sp-9: 7rem;
  --gutter: var(--sp-5);    /* consistent gap between panels */

  /* Shape */
  --radius: 10px;
  --border-w: 1.5px;
  --border: var(--border-w) solid var(--line);
  --lift: 0 10px 24px -12px rgba(0, 0, 0, 0.6);

  --container: 72rem;
  --header-h: 4rem;
}


/* 2. Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-padding-top: calc(var(--header-h) + var(--sp-4));
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-stretch: 75%;
  font-weight: 800;
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-display);
  word-spacing: 0.1em;
  margin: 0 0 var(--sp-4);
}
h1 { font-size: var(--fs-2xl); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); font-weight: 700; line-height: 1.15; }
p { margin: 0 0 var(--sp-4); }
a { color: var(--accent-2); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -4rem;
  background: var(--ink);
  color: var(--paper);
  padding: var(--sp-2) var(--sp-4);
  font-weight: 700;
  z-index: 100;
}
.skip-link:focus { top: var(--sp-2); }

/* 3. Layout -------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-4);
}
@media (min-width: 768px) { .container { padding-inline: var(--sp-6); } }

.section { padding-block: var(--sp-8); }
@media (min-width: 900px) { .section { padding-block: var(--sp-9); } }
.section--alt { background: var(--paper-alt); border-block: var(--border); }

.split { display: grid; gap: var(--sp-6); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--sp-7); }
  .split--reverse > :first-child { order: 2; }
}

/* Small labels: uppercase, letter-spaced */
.eyebrow,
.caption-box {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  line-height: 1.2;
}
.eyebrow { color: var(--accent); margin-bottom: var(--sp-3); }
.eyebrow::before { content: ""; display: inline-block; width: 1.5rem; height: 3px; background: currentColor; vertical-align: middle; margin-right: var(--sp-2); }

/* Caption box: rectangular label tab on a card */
.caption-box {
  position: absolute;
  top: calc(var(--border-w) * -1);
  left: var(--sp-4);
  transform: translateY(-50%);
  background: var(--ink);
  color: var(--paper);
  padding: var(--sp-1) var(--sp-3);
  border-radius: 0;
}

/* 4. Components ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: var(--sp-3) var(--sp-5);
  font: 700 var(--fs-base)/1.2 var(--font-body);
  text-decoration: none;
  text-align: center;
  background: var(--accent);
  color: var(--accent-ink);
  border: var(--border);
  border-color: var(--accent);
  border-radius: var(--radius);
  cursor: pointer;
}
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--sm { min-height: 44px; padding: var(--sp-2) var(--sp-4); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-4); }
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: transform 0.15s ease, box-shadow 0.15s ease; }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 4px 0 -1px var(--line); }
}

.card {
  position: relative;
  background: var(--surface);
  border: var(--border);
  border-radius: var(--radius);
  padding: var(--sp-5);
}
.card > :last-child { margin-bottom: 0; }
@media (prefers-reduced-motion: no-preference) {
  .card { transition: transform 0.15s ease, box-shadow 0.15s ease; }
  .card:hover { transform: translateY(-3px); box-shadow: var(--lift); }
}

/* Panel grids: even gutters, varied widths on desktop, stacked on mobile */
.panels { display: grid; gap: var(--gutter); }
@media (min-width: 768px) {
  .panels--steps { grid-template-columns: 5fr 4fr 4fr; }
  .panels--trio  { grid-template-columns: 4fr 5fr 4fr; }
}

.checklist { list-style: none; margin: 0 0 var(--sp-4); padding: 0; }
.checklist li { position: relative; padding-left: 2rem; margin-bottom: var(--sp-3); }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.3em;
  width: 1.1rem; height: 1.1rem;
  background: var(--accent);
  border-radius: 1px;
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 0.4rem; top: 0.38em;
  width: 0.3rem; height: 0.6rem;
  border: solid var(--accent-ink);
  border-width: 0 2px 2px 0;
  transform: rotate(40deg);
}

/* Halftone dot accent (hero corner, closing CTA only) */
.halftone { position: relative; isolation: isolate; }
.halftone::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0; right: 0;
  width: min(26rem, 70%);
  height: 18rem;
  background-image: radial-gradient(circle, var(--halftone) 1.6px, transparent 2px);
  background-size: 11px 11px;
  -webkit-mask-image: radial-gradient(ellipse at top right, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at top right, #000 0%, transparent 70%);
  pointer-events: none;
}

/* Placeholder panels (screenshots, mockups) */
.ph {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 16rem;
  padding: var(--sp-5);
  text-align: center;
  background: var(--surface);
  border: var(--border);
  border-radius: var(--radius);
  font-weight: 700;
}
.ph small { font-weight: 500; color: var(--ink-muted); max-width: 28rem; }
.ph--tall { min-height: 22rem; }
.ph--phone { max-width: 18rem; margin-inline: auto; min-height: 28rem; }
figure { margin: 0; }

/* 5. Sections ------------------------------------------------------------ */

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: var(--border);
  transition: box-shadow 0.2s;
}
.site-header.is-scrolled { box-shadow: 0 4px 0 -1px var(--line); }
.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  min-height: var(--header-h);
}
.wordmark {
  font-family: var(--font-display);
  font-stretch: 75%;
  font-weight: 800;
  font-size: 1.75rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: var(--tracking-display);
}
.wordmark span { color: var(--accent); }

.nav-toggle {
  margin-left: auto;
  min-width: 44px; min-height: 44px;
  padding: 0 var(--sp-3);
  font: 700 var(--fs-sm) var(--font-body);
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  display: none; /* shown only when JS is running */
}
.js .nav-toggle { display: inline-flex; align-items: center; }

.site-nav { width: 100%; order: 3; }
.site-nav ul { list-style: none; margin: 0; padding: var(--sp-3) 0; display: flex; flex-direction: column; gap: var(--sp-1); }
.site-nav a {
  display: block;
  padding: var(--sp-3) var(--sp-2);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 3px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--accent); }

.js .site-nav { display: none; }
.js .site-nav.is-open { display: block; }

@media (min-width: 960px) {
  .site-header__inner { flex-wrap: nowrap; }
  .nav-toggle, .js .nav-toggle { display: none; }
  .site-nav, .js .site-nav { display: block; width: auto; order: 0; margin-left: auto; }
  .site-nav ul { flex-direction: row; padding: 0; gap: var(--sp-2); }
  .site-nav a { padding: var(--sp-2) var(--sp-3); }
}
@media (max-width: 420px) {
  .site-header .btn--sm { padding-inline: var(--sp-3); font-size: var(--fs-sm); }
  .wordmark { font-size: 1.5rem; }
}

/* Hero */
.hero { padding-block: var(--sp-7) var(--sp-8); }
@media (min-width: 900px) { .hero { padding-block: var(--sp-8) var(--sp-9); } }
.hero__sub { font-size: var(--fs-md); color: var(--ink-muted); max-width: 36rem; margin-bottom: var(--sp-5); }
.hero h1 em { font-style: normal; color: var(--accent); }

/* Steps strip */
.steps { list-style: none; margin: var(--sp-7) 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; padding-top: var(--sp-7); }
.steps li::before {
  content: counter(step);
  position: absolute;
  top: var(--sp-4);
  left: var(--sp-5);
  font-family: var(--font-display);
  font-stretch: 75%;
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--accent);
}
.steps h3 { margin-bottom: var(--sp-2); }

/* Follow example card */
.follow-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-block: var(--sp-5);
  background: var(--ink);
  color: var(--paper);
}
.follow-card strong { font-family: var(--font-display); font-stretch: 75%; font-weight: 800; font-size: var(--fs-lg); }
.takeaway { border-left: 4px solid var(--accent); padding-left: var(--sp-4); font-weight: 600; }

/* Loop diagram */
.loop { list-style: none; margin: var(--sp-5) 0 0; padding: 0; display: grid; gap: var(--sp-5); }
.loop li {
  position: relative;
  padding: var(--sp-3) var(--sp-4);
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  font-weight: 600;
}
.loop li:not(:last-child)::after {
  content: "↓";
  position: absolute;
  left: 50%; bottom: -1.65rem;
  transform: translateX(-50%);
  color: var(--accent);
  font-size: 1.4rem;
  line-height: 1;
}
@media (min-width: 768px) {
  .loop { grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
  .loop li:not(:last-child)::after { content: "→"; left: auto; right: -1.7rem; bottom: auto; top: 50%; transform: translateY(-50%); }
}
.site-examples { display: grid; gap: var(--gutter); margin-top: var(--sp-7); }
@media (min-width: 600px) { .site-examples { grid-template-columns: 5fr 4fr 5fr; } }
.site-examples .ph { min-height: 11rem; }

/* Callout */
.callout {
  margin: var(--sp-7) 0 0;
  padding: var(--sp-5);
  background: var(--surface);
  border: var(--border);
  border-left: 12px solid var(--accent);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: var(--fs-md);
}
.callout .flag { display: block; font-size: var(--fs-sm); font-weight: 500; color: var(--ink-muted); margin-top: var(--sp-2); }

/* Proof */
.proof { margin-bottom: var(--sp-8); }
.proof blockquote { margin: 0 0 var(--sp-4); font-size: var(--fs-lg); font-weight: 600; line-height: 1.35; }
.proof__stat { font-family: var(--font-display); font-stretch: 75%; font-weight: 800; font-size: var(--fs-xl); color: var(--accent); line-height: 1.05; }

/* Pricing */
.pricing { display: grid; gap: var(--gutter); margin-top: var(--sp-6); }
@media (min-width: 768px) { .pricing { grid-template-columns: 5fr 6fr; align-items: stretch; } }
.plan { display: flex; flex-direction: column; }
.plan--featured { border-color: var(--accent); }
.plan__price { font-family: var(--font-display); font-stretch: 75%; font-weight: 800; font-size: var(--fs-2xl); line-height: 1; margin: var(--sp-3) 0; }
.plan__price small { font-family: var(--font-body); font-stretch: 100%; font-size: var(--fs-base); font-weight: 600; color: var(--ink-muted); }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan .checklist { margin-bottom: var(--sp-5); }

/* Starburst behind the Recommended badge (the page's one burst) */
.plan__badge {
  position: absolute;
  top: -3rem; right: -1rem;
  width: 8rem; height: 8rem;
  display: grid; place-items: center;
  padding: 0;
  transform: rotate(8deg);
  font-size: 0.6875rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--accent-ink);
  z-index: 1;
}
.plan__badge::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--accent);
  clip-path: polygon(50% 0%, 61% 14%, 79% 8%, 80% 26%, 97% 31%, 88% 47%, 100% 61%, 83% 69%, 85% 87%, 67% 85%, 57% 100%, 46% 86%, 28% 94%, 24% 76%, 6% 72%, 15% 55%, 2% 41%, 19% 33%, 20% 15%, 38% 19%);
}
@media (max-width: 420px) { .plan__badge { right: -0.25rem; } }

.pricing-notes { list-style: none; padding: 0; margin: var(--sp-6) 0 0; display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5); font-weight: 600; }
.pricing-notes li::before { content: ""; display: inline-block; width: 0.5rem; height: 0.5rem; background: var(--accent); margin-right: var(--sp-2); vertical-align: middle; }

/* FAQ */
.faq { max-width: 48rem; }
.faq details {
  background: var(--surface);
  border: var(--border);
  border-radius: var(--radius);
  margin-bottom: var(--gutter);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: var(--sp-4) var(--sp-5);
  padding-right: 3rem;
  font-weight: 700;
  position: relative;
  min-height: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: var(--sp-5); top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem; line-height: 1;
  color: var(--accent);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 var(--sp-5) var(--sp-4); margin: 0; color: var(--ink-muted); }

/* Closing CTA */
.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--accent);
  color: var(--accent-ink);
  border-block: var(--border);
  padding-block: var(--sp-8);
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 0;
  width: min(22rem, 60%);
  background-image: radial-gradient(circle, var(--halftone-on-accent) 1.6px, transparent 2px);
  background-size: 11px 11px;
  -webkit-mask-image: radial-gradient(ellipse at bottom left, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at bottom left, #000 0%, transparent 70%);
}
.cta-band h2 {
  max-width: 42rem;
  margin-inline: auto;
  margin-bottom: var(--sp-5);
}
.cta-band .btn-row { justify-content: center; }
.cta-band .btn { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Footer */
.site-footer { padding-block: var(--sp-6); font-size: var(--fs-sm); color: var(--ink-muted); }
.site-footer .container { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); justify-content: space-between; }
.site-footer p { margin: 0; }
.site-footer strong { color: var(--ink); }

/* 6. Brand refresh -------------------------------------------------------
   Dark CMYK palette, soft organic panels, faint gradients.
   Color roles: cyan = action/brand · magenta = labels/structure ·
   yellow = proof/reward. Keep magenta small; yellow only as shapes or large type.
   ------------------------------------------------------------------------ */

/* Panels: thin light borders, slightly uneven corners, faint sheen */
.card, .ph, .plan, .callout, .faq details, .loop li {
  border-radius: 12px 10px 13px 9px;
  background-image: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0) 60%);
}
.btn { border-radius: 8px; }
.btn--ghost { border-color: rgba(238, 243, 246, 0.4); }
.btn:not(.btn--ghost) {
  background: linear-gradient(180deg, #45c2f0, var(--cyan-deep));
  border-color: var(--cyan-deep);
}
.caption-box { border-radius: 4px; background: var(--magenta); color: #fff; }
.callout { border-left-width: 4px; border-left-color: var(--yellow); }
.section--alt { border-block: 0; background: linear-gradient(180deg, #162028, #121a21); }

/* Hero: soft cyan glow, faint magenta warmth */
.hero {
  background:
    radial-gradient(60rem 30rem at 85% 10%, rgba(47, 180, 233, 0.12), transparent 60%),
    radial-gradient(40rem 24rem at 0% 100%, rgba(240, 56, 143, 0.06), transparent 60%),
    var(--paper);
}

/* Magenta: labels and structure */
.eyebrow { color: var(--magenta); }
.takeaway { border-left-color: var(--magenta); }
.faq summary::after { color: var(--magenta); }

/* Step numbers: magenta badge above the title */
.steps li { padding-top: var(--sp-5); }
.steps li::before {
  position: static;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: var(--sp-4);
  border-radius: 50%;
  background: linear-gradient(135deg, #f5509e, #c81e72);
  color: #fff;
  font-size: 1.25rem;
}

/* Yellow: proof and reward */
.checklist li::before { background: var(--yellow); border-radius: 4px; }
.checklist li::after { border-color: var(--paper); }
.proof__stat { color: var(--yellow); }
.pricing-notes li::before { background: var(--yellow); }

/* Pricing: three plans, featured middle */
@media (min-width: 900px) { .pricing { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) and (max-width: 899px) {
  .pricing { grid-template-columns: 1fr 1fr; }
  .plan--partner { grid-column: 1 / -1; }
}
.plan--featured {
  border-width: 2px;
  background-image: linear-gradient(160deg, rgba(47, 180, 233, 0.12), rgba(47, 180, 233, 0) 55%);
}
.plan--partner {
  background-image: linear-gradient(160deg, rgba(240, 56, 143, 0.08), rgba(240, 56, 143, 0) 55%);
}
.plan__limit {
  margin: 0 0 var(--sp-5);
  font-size: var(--fs-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--magenta);
}

/* Recommended: word balloon as one SVG (ellipse + tail, solid white).
   The shape is a background on ::before so the drop-shadow follows the whole
   outline, tail included, and never touches the text. Box ratio matches the
   SVG (152x84 ellipse, tail hangs 14.3% below). */
.plan__badge {
  top: -2.75rem;
  right: -1.25rem;
  width: 9.5rem;
  height: 5.25rem;
  transform: rotate(-6deg);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--paper);
}
.plan__badge::before {
  inset: 0 0 -14.3% 0;
  clip-path: none;
  border-radius: 0;
  box-shadow: none;
  background: url("assets/recommended-balloon.svg") center / 100% 100% no-repeat;
  filter: drop-shadow(0 7px 7px rgba(0, 0, 0, 0.45));
}
.plan__badge::after { content: none; }

/* FAQ: centered */
#faq .container { display: flex; flex-direction: column; align-items: center; }
#faq h2 { text-align: center; }
.faq { width: 100%; margin-inline: auto; }

/* Closing band: cyan gradient, dark button */
.cta-band { background: linear-gradient(135deg, #3bc0f0 0%, #1c98d0 100%); }
.cta-band .btn,
.cta-band .btn:not(.btn--ghost) { background: var(--paper); color: var(--ink); border-color: var(--paper); }
@media (max-width: 480px) { .plan__badge { right: -0.25rem; width: 8.5rem; height: 4.7rem; } }
/* Room for the balloon above the featured plan */
@media (min-width: 768px) {
  .pricing { margin-top: var(--sp-8); }
  .plan__badge { top: -3.5rem; right: -1.5rem; }
  .plan--featured h3 { padding-right: 5.5rem; }
}
@media (max-width: 767px) { .plan--featured { margin-top: var(--sp-6); } }

/* 7. Brand audit fixes ---------------------------------------------------
   AA contrast for small magenta text, soft (not hard-offset) shadows,
   yellow halftone on the closing band. */
:root { --magenta-text: #f65aa3; } /* lighter magenta for small text on dark panels (5.3:1+) */
.eyebrow, .plan__limit { color: var(--magenta-text); }
.caption-box { color: var(--paper); } /* 4.9:1 on magenta; white was 3.7:1 */
.site-header.is-scrolled { box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.7); }
@media (prefers-reduced-motion: no-preference) {
  .btn:hover { box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.6); }
}
.cta-band::before {
  background-image: radial-gradient(circle, rgba(255, 210, 63, 0.35) 1.6px, transparent 2px);
}

/* Logo: Sofia Sans Condensed wordmark with the lifted "l" (assets/logo/).
   One color by default; the lifted "l" takes --logo-accent. */
.wordmark { display: inline-flex; align-items: center; line-height: 0; color: var(--ink); --logo-accent: var(--cyan); }
.wordmark span { color: inherit; }
.wordmark__svg { display: block; height: 2.25rem; width: auto; }
@media (max-width: 767px) { .wordmark__svg { height: 1.85rem; } }

/* 8. Comic panel texture (assets/textures/README.md) ----------------------
   Public-domain panels in dark-blue monotone, always under a dark scrim
   that is heaviest behind the text column. */
.comic-bg {
  --comic-pos: -420px -880px;
  background:
    linear-gradient(90deg, rgba(16, 22, 26, 0.95) 0%, rgba(16, 22, 26, 0.82) 40%, rgba(16, 22, 26, 0.5) 100%),
    var(--paper) url("assets/textures/pullwise-comic-tile.jpg") var(--comic-pos) / 800px auto repeat;
  background:
    linear-gradient(90deg, rgba(16, 22, 26, 0.95) 0%, rgba(16, 22, 26, 0.82) 40%, rgba(16, 22, 26, 0.5) 100%),
    var(--paper) image-set(url("assets/textures/pullwise-comic-tile.webp") type("image/webp"), url("assets/textures/pullwise-comic-tile.jpg") type("image/jpeg")) var(--comic-pos) / 800px auto repeat;
}
.hero.comic-bg {
  background:
    radial-gradient(60rem 30rem at 85% 10%, rgba(47, 180, 233, 0.12), transparent 60%),
    radial-gradient(40rem 24rem at 0% 100%, rgba(240, 56, 143, 0.06), transparent 60%),
    linear-gradient(90deg, rgba(16, 22, 26, 0.95) 0%, rgba(16, 22, 26, 0.82) 40%, rgba(16, 22, 26, 0.5) 100%),
    var(--paper) image-set(url("assets/textures/pullwise-comic-tile.webp") type("image/webp"), url("assets/textures/pullwise-comic-tile.jpg") type("image/jpeg")) var(--comic-pos) / 800px auto repeat;
}
/* Customers: a different part of the tile so the two sections don't repeat each other */
.comic-bg--alt { --comic-pos: -60px -260px; }
/* Phones: text spans the full width, so darken evenly */
@media (max-width: 767px) {
  .comic-bg, .hero.comic-bg {
    background:
      linear-gradient(rgba(16, 22, 26, 0.86), rgba(16, 22, 26, 0.86)),
      var(--paper) url("assets/textures/pullwise-comic-tile.jpg") var(--comic-pos) / 600px auto repeat;
  }
}

/* Closing band: cyan comic panel colorway (assets/textures/README.md).
   Matching cyan scrim keeps the line work subdued behind the heading. */
.cta-band {
  --comic-pos: -200px -520px;
  background:
    linear-gradient(135deg, rgba(59, 192, 240, 0.82) 0%, rgba(28, 152, 208, 0.82) 100%),
    var(--cyan) url("assets/textures/pullwise-comic-tile-cyan.jpg") var(--comic-pos) / 800px auto repeat;
  background:
    linear-gradient(135deg, rgba(59, 192, 240, 0.82) 0%, rgba(28, 152, 208, 0.82) 100%),
    var(--cyan) image-set(url("assets/textures/pullwise-comic-tile-cyan.webp") type("image/webp"), url("assets/textures/pullwise-comic-tile-cyan.jpg") type("image/jpeg")) var(--comic-pos) / 800px auto repeat;
}
@media (max-width: 767px) {
  .cta-band {
    background:
      linear-gradient(135deg, rgba(59, 192, 240, 0.86) 0%, rgba(28, 152, 208, 0.86) 100%),
      var(--cyan) url("assets/textures/pullwise-comic-tile-cyan.jpg") var(--comic-pos) / 600px auto repeat;
  }
}

/* 9. Parallax (main.js sets --py on textured sections) -------------------
   Only the tile layer moves; gradients and scrims stay put. Tile repeats, so
   the offset never shows a gap. With --py unset the positions match the
   originals above. */
.comic-bg { --cx: -420px; --cy: -880px; }
.comic-bg--alt { --cx: -60px; --cy: -260px; }
.cta-band { --cx: -200px; --cy: -520px; }
.comic-bg,
.hero.comic-bg,
.cta-band { background-position: 0 0, var(--cx) calc(var(--cy) + var(--py, 0px)); }
@media (min-width: 768px) {
  .hero.comic-bg { background-position: 0 0, 0 0, 0 0, var(--cx) calc(var(--cy) + var(--py, 0px)); }
}

/* 9. Product screenshots ---------------------------------------------------
   Real Pullwise pages (from a live shop site, rebranded as demo shops). */
.shot { margin: 0; overflow: hidden; background: #0b1013; border: var(--border); border-radius: 12px 10px 13px 9px; box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.7); }
.shot img { display: block; width: 100%; height: auto; }
.shot__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #1b262e; border-bottom: 1px solid var(--line); }
.shot__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(238, 243, 246, 0.22); }
.shot__bar span { margin-left: 10px; padding: 2px 10px; border-radius: 6px; background: var(--paper); color: var(--ink-muted); font-size: 11px; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot--phone { max-width: 17rem; margin-inline: auto; padding: 10px; border-radius: 34px; background: #0b1013; border: 1.5px solid rgba(238, 243, 246, 0.22); }
.shot--phone img { border-radius: 24px; }
.site-examples .shot figcaption { padding: 10px 14px; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-muted); border-top: 1px solid var(--line); }
@media (min-width: 600px) { .site-examples { grid-template-columns: repeat(3, 1fr); align-items: start; } }
