/* ==========================================================================
   BODY BY BANG — pricing / link-in-bio page
   Mobile-first. Primary target: 375px. Secondary: 1280px.
   ========================================================================== */

:root {
  --ink:        #0c0c0d;   /* near-black base */
  --ink-2:      #131315;   /* raised surface */
  --ink-3:      #1b1b1e;   /* card surface */
  --line:       #2a2a2e;
  --line-2:     #3a3a40;
  --paper:      #f4f1ea;   /* warm off-white text */
  --paper-dim:  #a9a5a0;
  --paper-dimr: #7c7975;
  --amber:      #e8a318;   /* single accent */
  --amber-deep: #b97d09;
  --amber-soft: rgba(232,163,24,.12);

  --font-display: 'Clash Display', 'Arial Narrow', system-ui, sans-serif;
  --font-body: 'Satoshi', 'Inter', system-ui, -apple-system, sans-serif;

  --text-xs: .75rem;
  --text-sm: .875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-3xl: 2.625rem;

  --wrap: 1120px;
  --pad: 20px;
  --r: 14px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* room for sticky bar on mobile */
  padding-bottom: 84px;
}
@media (min-width: 860px) { body { padding-bottom: 0; } }

img, svg { max-width: 100%; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.wrap.narrow { max-width: 680px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--amber); color: #000; padding: 12px 16px; z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

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

/* ---------- type ---------- */
.h1, .h2, .h3, .h4, .card-title { font-family: var(--font-display); font-weight: 600; letter-spacing: -.015em; }
.h1 {
  /* 9.8vw keeps the longest word (CONSHOHOCKEN) inside a 320-420px viewport.
     Raising this will clip it on phones - re-test the hero if you change it. */
  font-size: clamp(1.875rem, 9.8vw, 4.75rem);
  line-height: .95;
  overflow-wrap: break-word;
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: -.02em;
}
.h2 {
  font-size: clamp(1.75rem, 7.2vw, var(--text-3xl));
  line-height: 1.05;
  margin: 0 0 20px;
}
.h3 { font-size: var(--text-xl); line-height: 1.15; margin: 0 0 8px; }
.h4 { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--paper-dim); margin: 0 0 14px; }

.eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 12px;
}
.eyebrow-dark { color: rgba(0,0,0,.62); }
.sec-sub { color: var(--paper-dim); max-width: 58ch; margin: -6px 0 34px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
  border-radius: 999px;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.btn-primary {
  background: var(--amber);
  color: #14100a;
  box-shadow: 0 8px 30px -12px rgba(232,163,24,.55);
}
.btn-primary:hover { background: #f2b02b; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-lg { min-height: 58px; font-size: var(--text-lg); padding: 16px 32px; }

.link-arrow {
  display: inline-flex; align-items: center;
  min-height: 44px;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid var(--line-2);
}
.link-arrow:hover { color: var(--amber); border-color: var(--amber); }

/* ---------- texture ---------- */
.grain {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: .45;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 26px 0 44px;
  background:
    radial-gradient(120% 80% at 8% -10%, rgba(232,163,24,.16) 0%, rgba(232,163,24,0) 55%),
    radial-gradient(90% 70% at 100% 0%, rgba(255,255,255,.05) 0%, rgba(255,255,255,0) 60%),
    linear-gradient(180deg, #101012 0%, var(--ink) 100%);
  border-bottom: 1px solid var(--line);
}
.hero .wrap { position: relative; }

.logo {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  margin-bottom: 46px;
  color: var(--paper);
}
/* Real Body By Bang emblem, masked so it can take any brand colour.
   logo-mark-bold.svg = thickened strokes, legible down to ~30px.
   logo-mark.svg      = hairline original, used large only. */
.logo-mark {
  width: 38px; height: 35px;
  flex: none;
  background-color: var(--amber);
  -webkit-mask: url("logo-mark-bold.svg") center / contain no-repeat;
          mask: url("logo-mark-bold.svg") center / contain no-repeat;
}
.logo-mark.small { width: 26px; height: 24px; }
@media (min-width: 720px) {
  .logo-mark { width: 44px; height: 40px; }
}
.logo-type {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.logo-thin { font-weight: 500; color: var(--paper-dim); margin: 0 2px; }

.lede { font-size: var(--text-lg); line-height: 1.45; margin: 0 0 16px; max-width: 30ch; color: #e6e2da; }
.meta {
  font-size: var(--text-sm);
  color: var(--paper-dim);
  letter-spacing: .04em;
  margin: 0 0 30px;
}
.hero-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.hero-cta .btn { width: 100%; }

/* ---------- credibility strip ---------- */
.credstrip {
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.credstrip::-webkit-scrollbar { display: none; }
.credstrip-list {
  display: flex; align-items: center; gap: 0;
  list-style: none;
  margin: 0;
  padding: 14px var(--pad);
  width: max-content;
  min-width: 100%;
}
.credstrip-list li {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--paper-dim);
  white-space: nowrap;
  padding: 0 16px;
  border-right: 1px solid var(--line);
}
.credstrip-list li:last-child { border-right: 0; }
.credstrip-list li:first-child { padding-left: 0; color: var(--paper); }

/* ---------- sections ---------- */
.sec { padding: 62px 0; }
.sec-alt { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.qual { list-style: none; margin: 0; padding: 0; }
.qual li {
  position: relative;
  padding: 16px 0 16px 26px;
  border-top: 1px solid var(--line);
  color: #ddd8d0;
}
.qual li:last-child { border-bottom: 1px solid var(--line); }
.qual li::before {
  content: "";
  position: absolute; left: 0; top: 26px;
  width: 10px; height: 1px;
  background: var(--amber);
}

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.steps li { border-top: 1px solid var(--line); padding-top: 18px; }
.steps p { margin: 0; color: var(--paper-dim); }
.step-n {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--amber);
  margin-bottom: 6px;
}
.inline-cta { margin: 30px 0 0; }
.inline-cta.center { margin-top: 34px; text-align: center; }
.inline-cta.center .btn { width: 100%; }
.cta-sub { display: block; margin-top: 12px; font-size: var(--text-sm); color: var(--paper-dim); }

/* ---------- package cards ---------- */
.cards { display: grid; gap: 18px; }
.card {
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px 20px 20px;
}
.card-title { font-size: var(--text-xl); margin: 0 0 10px; }
.card-outcome { margin: 0 0 14px; color: #ddd8d0; }
.card-note {
  margin: 0 0 16px;
  font-size: var(--text-xs);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--paper-dimr);
  font-weight: 700;
}
.tiers { list-style: none; margin: 0; padding: 0; }
.tier {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 2px;
}
.tier-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tier-name { font-size: var(--text-sm); font-weight: 500; color: var(--paper-dim); letter-spacing: .04em; }
.tier-rate {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.01em;
}
.tier-rate .per {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0;
  color: var(--paper-dim);
  margin-left: 6px;
}
.tier-total { font-size: var(--text-sm); color: var(--paper-dimr); }

.tier-best {
  position: relative;
  background: var(--amber-soft);
  border: 1px solid rgba(232,163,24,.42);
  border-radius: 10px;
  margin: 10px 0;
  padding: 16px 14px;
}
.tier-best .tier-rate { color: var(--amber); font-size: 2rem; }
.tier-best .tier-name { color: #efe9dd; }
.tier-best .tier-total { color: var(--paper-dim); }
.badge {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #14100a;
  background: var(--amber);
  padding: 4px 8px;
  border-radius: 999px;
}
.tier-single .tier-rate { font-size: 1.375rem; }

/* ---------- prepay band ---------- */
.prepay {
  background: linear-gradient(135deg, var(--amber) 0%, #d99510 100%);
  color: #14100a;
  padding: 44px 0;
}
.prepay-h { color: #14100a; }
.prepay-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.prepay-list li {
  display: flex; align-items: baseline; gap: 12px;
  border-top: 1px solid rgba(0,0,0,.22);
  padding-top: 12px;
}
.prepay-pct {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.25rem;
  line-height: 1;
}
.prepay-txt { font-weight: 500; }

/* ---------- terms ---------- */
.terms { padding: 40px 0; border-bottom: 1px solid var(--line); }
.terms-list { list-style: none; margin: 0; padding: 0; }
.terms-list li {
  font-size: var(--text-sm);
  color: var(--paper-dimr);
  padding: 6px 0;
}

/* ---------- testimonials (placeholder) ---------- */
.placeholder-flag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #ffd27a;
  border: 1px dashed rgba(232,163,24,.6);
  background: rgba(232,163,24,.08);
  border-radius: 6px;
  padding: 8px 12px;
  margin: -6px 0 26px;
}
.testi-grid { display: grid; gap: 16px; }
.testi {
  margin: 0;
  padding: 22px 20px;
  border: 1px dashed var(--line-2);
  border-radius: var(--r);
  background: rgba(255,255,255,.02);
}
.testi blockquote {
  margin: 0 0 14px;
  font-size: var(--text-base);
  color: var(--paper-dim);
  font-style: italic;
}
.testi figcaption {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--amber);
}

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px;
  padding: 16px 0;
  font-size: var(--text-lg);
  font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--amber);
  flex: none;
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--amber); }
.faq-body { padding: 0 0 20px; }
.faq-body p { margin: 0; color: var(--paper-dim); max-width: 62ch; }

/* ---------- final cta ---------- */
.final {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 70px 0 76px;
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(232,163,24,.18) 0%, rgba(232,163,24,0) 62%),
    linear-gradient(180deg, #121214 0%, var(--ink) 100%);
  border-top: 1px solid var(--line);
}
.final .wrap { position: relative; }
.final-h { font-size: clamp(2.125rem, 10.5vw, 4rem); }
.final .btn { width: 100%; }
.final-alt { margin: 20px 0 0; font-size: var(--text-sm); color: var(--paper-dim); }
.final-alt a { color: var(--amber); text-decoration: none; border-bottom: 1px solid rgba(232,163,24,.5); }

/* ---------- footer ---------- */
.foot { padding: 28px 0 34px; border-top: 1px solid var(--line); }
.foot .wrap { display: flex; flex-direction: column; gap: 10px; }
.foot-mark {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--paper);
}
.foot-mark .logo-mark { color: var(--amber); }
.foot-meta { font-size: var(--text-xs); color: var(--paper-dimr); }
.foot-meta a { color: var(--paper-dim); text-decoration: none; }

/* ---------- sticky mobile CTA bar ---------- */
.stickybar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: rgba(12,12,13,.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom));
}
.stickybar-in { display: flex; align-items: center; gap: 12px; max-width: var(--wrap); margin: 0 auto; }
.stickybar-txt {
  display: none;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--paper-dim);
  white-space: nowrap;
}
.btn-sticky { flex: 1; min-height: 52px; font-size: .9375rem; }
@media (min-width: 480px) { .stickybar-txt { display: inline; } }
@media (min-width: 860px) { .stickybar { display: none; } }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* ==================== desktop / tablet ==================== */
@media (min-width: 620px) {
  .hero-cta { flex-direction: row; align-items: center; gap: 20px; }
  .hero-cta .btn { width: auto; }
  .inline-cta.center .btn, .final .btn { width: auto; }
  .cards { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .prepay-list { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .testi-grid { grid-template-columns: repeat(3, 1fr); }
  .foot .wrap { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 1024px) {
  :root { --pad: 40px; }
  .hero { padding: 34px 0 96px; }
  .sec { padding: 96px 0; }
  .cards { grid-template-columns: repeat(4, 1fr); }
  .card { padding: 30px 24px 24px; }
  .lede { font-size: 1.375rem; max-width: 34ch; }
  .credstrip-list { justify-content: flex-start; }
  .prepay { padding: 64px 0; }
}

/* ---------- sr-only ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Group + Offsite band ---------- */
.groupband {
  margin-top: 18px;
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px 20px 20px;
}
.groupband-intro { max-width: 56ch; }
.groupband .card-note { margin-bottom: 18px; }

.gtable-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.gtable {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.gtable th,
.gtable td {
  padding: 12px 10px;
  text-align: right;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.gtable thead th {
  font-size: var(--text-xs);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--paper-dim);
  font-weight: 600;
  border-bottom-color: var(--line-2);
}
.gtable thead th:first-child,
.gtable tbody th { text-align: left; }
.gtable tbody th {
  font-weight: 500;
  color: #ddd8d0;
  font-size: var(--text-sm);
}
.gtable tbody td {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--paper);
}
.gtable tbody tr:last-child th,
.gtable tbody tr:last-child td { border-bottom: 0; }
.gtable tbody tr:last-child td { font-weight: 600; color: #ddd8d0; }
.gtable-best td { color: var(--amber); }
.gtable-best th .badge { margin-left: 8px; }

@media (max-width: 460px) {
  .gtable th, .gtable td { padding: 11px 8px; }
  .gtable tbody td { font-size: var(--text-base); }
  .gtable-best th .badge { display: block; margin: 4px 0 0; }
}
@media (min-width: 900px) {
  .groupband {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 1.4fr;
    gap: 32px;
    align-items: start;
    padding: 28px 26px;
  }
}
@media (max-width: 520px) {
  .th-ppl { display: none; }
  .gtable thead th:first-child { font-size: .68rem; }
}

/* ---------- weekly cadence label on each tier ---------- */
.tier-freq {
  display: block;
  margin-top: 2px;
  font-size: var(--text-xs);
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--paper-dimr);
  font-weight: 500;
}


/* ================== BRAND MARK PLACEMENTS ================== */

/* Hero watermark — the hairline original, big and quiet.
   Sits behind the copy; decorative only. */
.hero-watermark {
  position: absolute;
  right: -26%;
  top: 12%;
  width: 74vw;
  max-width: 620px;
  aspect-ratio: 1202 / 1101;
  pointer-events: none;
  opacity: .07;
  background-color: var(--paper);
  -webkit-mask: url("logo-mark.svg") center / contain no-repeat;
          mask: url("logo-mark.svg") center / contain no-repeat;
}
@media (min-width: 720px) {
  .hero-watermark { right: 3%; top: 9%; width: 38vw; max-width: 400px; opacity: .085; }
}
@media (min-width: 1080px) {
  .hero-watermark { right: 5%; top: 7%; width: 34vw; max-width: 430px; }
}

/* Full lockup above the closing CTA — large enough for the wordmark to read. */
.lockup {
  display: block;
  width: 190px; height: 187px;
  margin: 0 auto 26px;
  background-color: var(--amber);
  -webkit-mask: url("logo-lockup.svg") center / contain no-repeat;
          mask: url("logo-lockup.svg") center / contain no-repeat;
}
@media (min-width: 720px) {
  .lockup { width: 232px; height: 229px; margin-bottom: 30px; }
}
