/* 4D4 Labs - site stylesheet
   Light, warm, high-contrast. Burgundy brand carried over from the original site.
   No frameworks, no external requests. */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/space-grotesk-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  --paper: #FBF8F5;
  --paper-2: #F4EDE8;
  --card: #FFFFFF;
  --ink: #2E2126;
  --ink-2: #5D4B52;
  --ink-3: #6E5A62;
  --line: #E8DCD6;
  --line-2: #DCCCC5;
  --brand: #8B2942;
  --brand-dark: #6B1E3A;
  --brand-tint: #F6E7EB;
  --wine: #2A171E;
  --wine-2: #3A2029;
  --on-wine: #F5EBEE;
  --on-wine-2: #CBB2BA;
  --ok: #2E6E4A;
  --err: #A8231C;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(46, 33, 38, .05), 0 10px 30px -18px rgba(46, 33, 38, .25);
  --font-display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.3rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.15rem); font-weight: 700; }
h3 { font-size: 1.28rem; font-weight: 600; }
h4 { font-size: 1.06rem; font-weight: 600; }
p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }
a { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
ul, ol { padding-left: 1.3em; margin: 0 0 1.05em; }
li { margin-bottom: .35em; }
strong { color: var(--ink); }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--wine); color: #fff; padding: .7rem 1.2rem; z-index: 100;
  border-radius: 0 0 var(--radius-sm) 0; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ---------- Layout ---------- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
.container-narrow { max-width: 780px; margin: 0 auto; padding: 0 1.25rem; }
section { padding: clamp(3.2rem, 7vw, 5.5rem) 0; }
.section-tight { padding: clamp(2.2rem, 5vw, 3.2rem) 0 clamp(1.4rem, 3vw, 2rem); }
/* A title block followed by a plain section reads as one unit; without this
   the two paddings stack into a dead zone (flagged on /about and the case study). */
.section-tight + section:not(.section-alt):not(.band) { padding-top: .5rem; }
.section-alt { background: var(--paper-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display);
  font-size: .8rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ''; width: 1.6rem; height: 2px; background: var(--brand); border-radius: 2px; }

.lede { font-size: clamp(1.1rem, 2vw, 1.25rem); color: var(--ink-2); max-width: 46ch; }
.center { text-align: center; }
.center .lede, .center .eyebrow { margin-left: auto; margin-right: auto; }
.center .eyebrow::before { display: none; }
.muted { color: var(--ink-3); }
.small { font-size: .92rem; }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 245, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 4.25rem; }
.brand {
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem;
  color: var(--ink); text-decoration: none; letter-spacing: -0.02em;
}
.brand span { color: var(--brand); }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a:not(.btn) {
  font-size: .98rem; font-weight: 500; color: var(--ink-2);
  text-decoration: none; padding: .3rem 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:not(.btn):hover { color: var(--ink); border-bottom-color: var(--brand); }
.nav-links a[aria-current="page"] { color: var(--brand); border-bottom-color: var(--brand); }

.nav-menu { display: none; position: relative; }
.nav-menu summary {
  list-style: none; cursor: pointer; padding: .5rem;
  display: flex; align-items: center; border-radius: var(--radius-sm);
}
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary:hover { background: var(--paper-2); }
.nav-menu[open] summary .bars { background: transparent; }
.nav-menu[open] summary .bars::before { transform: translateY(0) rotate(45deg); }
.nav-menu[open] summary .bars::after { transform: translateY(0) rotate(-45deg); }
.bars, .bars::before, .bars::after {
  display: block; width: 22px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform .2s ease, background .2s ease;
  content: '';
}
.bars { position: relative; }
.bars::before { position: absolute; transform: translateY(-7px); }
.bars::after { position: absolute; transform: translateY(7px); }
.nav-drop {
  position: absolute; right: 0; top: calc(100% + .6rem);
  min-width: 230px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: .6rem;
  display: flex; flex-direction: column; gap: .1rem;
}
.nav-drop a {
  text-decoration: none; color: var(--ink); font-weight: 500;
  padding: .65rem .9rem; border-radius: var(--radius-sm);
}
.nav-drop a:hover { background: var(--paper-2); }
.nav-drop a[aria-current="page"] { color: var(--brand); }
.nav-drop .btn { margin-top: .5rem; text-align: center; }

@media (max-width: 800px) {
  .nav-links { display: none; }
  .nav-menu { display: block; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--brand); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: .85rem 1.7rem; border-radius: 999px;
  text-decoration: none; border: 2px solid var(--brand);
  cursor: pointer; transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--brand-tint); color: var(--brand-dark); }
.btn-sm { padding: .55rem 1.15rem; font-size: .92rem; }
.btn-lg { padding: 1rem 2.1rem; font-size: 1.08rem; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.cta-row { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }

/* ---------- Cards ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem); }
[id] { scroll-margin-top: 5.5rem; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } }
.hero .lede { margin-bottom: 1.8rem; }
.hero-note { margin-top: 1rem; font-size: .92rem; color: var(--ink-3); }

/* Text-message card: the promise, illustrated */
.chat {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 22px; box-shadow: var(--shadow);
  padding: 1.3rem 1.2rem 1.2rem; max-width: 380px; margin-left: auto;
}
.chat-head {
  display: flex; align-items: center; gap: .7rem;
  border-bottom: 1px solid var(--line); padding-bottom: .8rem; margin-bottom: 1rem;
}
.chat-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: .85rem;
}
.chat-head strong { display: block; font-size: .95rem; line-height: 1.2; }
.chat-head .small { line-height: 1.2; }
.msg {
  max-width: 85%; padding: .6rem .95rem; border-radius: 16px;
  font-size: .95rem; line-height: 1.45; margin-bottom: .55rem;
}
.msg-them { background: var(--paper-2); color: var(--ink); border-bottom-left-radius: 5px; }
.msg-me { background: var(--brand); color: #fff; margin-left: auto; border-bottom-right-radius: 5px; }
.msg-time { font-size: .74rem; color: var(--ink-3); text-align: center; margin: .7rem 0 .4rem; }
@media (max-width: 880px) { .chat { margin: 0 auto; } }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--wine); color: var(--on-wine); padding: 1.6rem 0; }
.trustbar p {
  margin: 0; text-align: center; text-wrap: balance;
  font-family: var(--font-display); font-size: clamp(1.02rem, 2vw, 1.2rem); font-weight: 500;
}
.trustbar strong { color: #fff; }

/* ---------- Doors ---------- */
.door {
  display: block; text-decoration: none; color: var(--ink);
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform .18s ease, border-color .18s ease;
}
.door:hover { transform: translateY(-3px); border-color: var(--brand); color: var(--ink); }
.door h3 { color: var(--ink); margin-bottom: .5rem; }
.door p { color: var(--ink-2); margin-bottom: 1rem; }
.door .go { font-family: var(--font-display); font-weight: 600; color: var(--brand); text-decoration: none; }
.door:hover .go { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Dark band (diagnostic / AI strip) ---------- */
.band { background: var(--wine); color: var(--on-wine); }
.band h2, .band h3 { color: #fff; }
.band p { color: var(--on-wine); }
.band .muted { color: var(--on-wine-2); }
.band a:not(.btn) { color: #F0A9BB; }
.band a:not(.btn):hover { color: #fff; }
.band .btn { background: #fff; border-color: #fff; color: var(--brand-dark); }
.band .btn:hover { background: var(--paper); border-color: var(--paper); }

/* ---------- Steps / flow ---------- */
.flow { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; padding: 0; margin: 1.2rem 0; list-style: none; }
.flow li {
  background: var(--paper-2); border: 1px solid var(--line);
  padding: .5rem 1rem; border-radius: 999px;
  font-size: .95rem; font-weight: 500; margin: 0;
}
.flow li:not(:last-child)::after { content: '→'; margin-left: 1rem; color: var(--brand); font-weight: 700; }
.band .flow li { background: var(--wine-2); border-color: rgba(255,255,255,.14); color: var(--on-wine); }

.steps { counter-reset: step; padding: 0; margin: 1.4rem 0 0; list-style: none; }
.steps li {
  counter-increment: step; position: relative;
  padding: 0 0 1.4rem 3.2rem; margin: 0;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -.1rem;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--brand-tint); color: var(--brand);
  font-family: var(--font-display); font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.steps li:not(:last-child)::after {
  content: ''; position: absolute; left: 1rem; top: 2.3rem; bottom: .2rem;
  width: 2px; background: var(--line);
}
.steps h4 { margin-bottom: .25rem; }
.steps p { color: var(--ink-2); }

/* ---------- Tiers ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: stretch; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }
.tier {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.9rem;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  position: relative;
}
.tier-featured { border-color: var(--brand); border-width: 2px; }
.tier-flag {
  position: absolute; top: -0.85rem; left: 1.6rem;
  background: var(--brand); color: #fff;
  font-family: var(--font-display); font-size: .78rem; font-weight: 600;
  letter-spacing: .04em; padding: .25rem .8rem; border-radius: 999px;
}
.tier h3 { margin-bottom: .2rem; }
.tier .for { color: var(--ink-2); min-height: 3.2em; }
.tier-price { margin: 1rem 0 .4rem; }
.tier-price .build { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--ink); }
.tier-price .build small { font-size: .95rem; font-weight: 500; color: var(--ink-3); }
.tier-price .monthly { display: block; font-weight: 600; color: var(--brand); }
.tier ul { list-style: none; padding: 0; margin: 1rem 0 1.4rem; }
.tier ul li { padding-left: 1.5rem; position: relative; margin-bottom: .5rem; color: var(--ink-2); }
.tier ul li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--brand); font-weight: 700;
}
.tier .btn { margin-top: auto; }

/* ---------- Case study ---------- */
.case-meta {
  display: flex; flex-wrap: wrap; gap: .5rem 1.6rem;
  font-size: .92rem; color: var(--ink-3); margin-bottom: 1.5rem;
}
.case-meta strong { color: var(--ink-2); font-weight: 600; }
.pull {
  border-left: 4px solid var(--brand);
  background: var(--brand-tint);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.1rem 1.4rem; margin: 1.6rem 0;
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 500;
  color: var(--brand-dark); text-wrap: balance;
}

/* ---------- Forms ---------- */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.5rem, 4vw, 2.5rem); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .4rem; }
.field .optional { font-weight: 400; color: var(--ink-3); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea {
  width: 100%; padding: .8rem 1rem;
  border: 1.5px solid var(--line-2); border-radius: var(--radius-sm);
  background: var(--paper); color: var(--ink);
  font: inherit; transition: border-color .15s ease;
}
.field input:focus, .field textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px var(--brand-tint); }
.field textarea { min-height: 5.5rem; resize: vertical; }
fieldset.field { border: 0; padding: 0; margin: 0 0 1.2rem; }
fieldset.field legend { font-weight: 600; font-size: .95rem; margin-bottom: .4rem; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chips label {
  position: relative; cursor: pointer;
  padding: .55rem 1.2rem; border-radius: 999px;
  border: 1.5px solid var(--line-2); background: var(--paper);
  font-weight: 500; font-size: .95rem;
  transition: border-color .15s ease, background .15s ease;
}
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label:has(input:checked) { background: var(--brand); border-color: var(--brand); color: #fff; }
.chips label:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 2px; }
.chips label:hover { border-color: var(--brand); }
/* Browsers without :has() get the native radio dot instead of pill state. */
@supports not selector(:has(*)) {
  .chips input { position: static; opacity: 1; pointer-events: auto; margin-right: .35rem; }
}
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; font-weight: 500; }
.form-status.err { color: var(--err); }
.form-success { text-align: center; padding: 1.5rem 0; }
.form-success h3 { color: var(--ok); }
#form-error { display: none; background: #FBEAE9; border: 1px solid var(--err); color: var(--err); border-radius: var(--radius-sm); padding: .9rem 1.2rem; margin-bottom: 1.2rem; font-weight: 500; }
#form-error:target { display: block; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 600; font-size: 1.08rem;
  padding: 1.1rem .2rem; position: relative; padding-right: 2.2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: .4rem; top: 50%;
  transform: translateY(-50%);
  color: var(--brand); font-size: 1.5rem; font-weight: 500;
  transition: transform .15s ease;
}
.faq details[open] summary::after { content: '−'; }
.faq .faq-body { padding: 0 .2rem 1.3rem; color: var(--ink-2); max-width: 65ch; }

/* ---------- Copy email / toast ---------- */
.copy-line { display: inline-flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.copy-btn {
  font: inherit; font-weight: 600; cursor: pointer;
  border: 1.5px solid var(--line-2); background: var(--card); color: var(--brand);
  padding: .45rem 1rem; border-radius: 999px;
  transition: border-color .15s ease;
}
.copy-btn:hover { border-color: var(--brand); }
.toast {
  position: fixed; bottom: 1.6rem; left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--wine); color: #fff;
  padding: .7rem 1.4rem; border-radius: 999px; font-weight: 500; font-size: .95rem;
  opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease;
  z-index: 90;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Timeline (about) ---------- */
.jobs { list-style: none; padding: 0; margin: 0; }
.jobs li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.jobs li:last-child { border-bottom: 0; }
.jobs .where { font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.jobs .what { color: var(--ink-2); }

/* ---------- Footer ---------- */
.site-foot { background: var(--wine); color: var(--on-wine-2); padding: 3rem 0 2rem; margin-top: 0; }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; align-items: flex-start; }
.site-foot .brand { color: #fff; font-size: 1.25rem; }
.site-foot .brand span { color: #E48BA0; }
.foot-tag { max-width: 34ch; margin-top: .6rem; font-size: .95rem; }
.foot-links { display: flex; gap: 3.5rem; flex-wrap: wrap; }
.foot-links h4 { color: #fff; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .8rem; }
.foot-links ul { list-style: none; padding: 0; margin: 0; }
.foot-links li { margin-bottom: .45rem; }
.foot-links a { color: var(--on-wine-2); text-decoration: none; }
.foot-links a:hover { color: #fff; }
.foot-legal {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 2.2rem; padding-top: 1.4rem;
  display: flex; flex-wrap: wrap; gap: .8rem 2rem; justify-content: space-between;
  font-size: .88rem;
}
.foot-legal a { color: var(--on-wine-2); }
.foot-legal a:hover { color: #fff; }

/* ---------- Prose (long-form pages) ---------- */
.prose { max-width: 68ch; }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }

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

/* ---------- Statement band (the deal, above pricing) ---------- */
.statement { font-size: clamp(1.8rem, 4.2vw, 2.8rem); max-width: 16ch; margin-left: auto; margin-right: auto; }
.band .eyebrow { color: #F0A9BB; }
.band .eyebrow::before { background: #F0A9BB; }

/* ---------- Site preview card (The Cle Fix, live) ----------
   A hand-built recreation of theclefix.com panels in its own brand palette,
   framed as a browser window. Crisper than a screenshot and keeps the
   no-external-assets rule; swap for an <img> only if a real capture is added. */
.site-preview {
  display: block; text-decoration: none;
  background: #191613; color: #F2EDE4;
  border: 1px solid #2E2822; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .18s ease;
}
.site-preview:hover { transform: translateY(-3px); color: #F2EDE4; }
.sp-bar {
  display: flex; align-items: center; gap: .7rem;
  padding: .55rem .9rem; background: #0F0D0B;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.sp-dots { display: flex; gap: .35rem; }
.sp-dots span { width: .6rem; height: .6rem; border-radius: 50%; background: #3A332C; }
.sp-url {
  font-size: .8rem; color: #C8BFB2; background: #191613;
  border: 1px solid #2E2822; border-radius: 999px; padding: .1rem .85rem;
}
.sp-body { padding: 1.4rem 1.4rem 1.5rem; }
.sp-script { font-family: Georgia, 'Times New Roman', serif; font-style: italic; color: #C9A24B; margin-bottom: .35rem; }
.sp-title {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  color: #fff; font-size: clamp(1.35rem, 2.6vw, 1.8rem); line-height: 1.12;
  letter-spacing: .01em; margin: 0 0 1.1rem; text-wrap: balance;
}
.sp-kicker {
  font-family: var(--font-display); font-size: .72rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: #C9A24B; margin-bottom: .35rem;
}
.sp-when { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: #fff; margin-bottom: .9rem; }
.sp-count { display: flex; gap: .5rem; margin-bottom: 1.2rem; }
.sp-count div {
  background: #241F1A; border: 1px solid #2E2822; border-radius: 8px;
  padding: .45rem .55rem; text-align: center; min-width: 3.4rem;
}
.sp-count strong { display: block; font-family: var(--font-display); font-size: 1.15rem; color: #fff; }
.sp-count small { font-size: .58rem; letter-spacing: .1em; color: #A79E90; text-transform: uppercase; }
.sp-menu { border-top: 1px solid #2E2822; padding-top: 1rem; }
.sp-row { display: flex; align-items: center; gap: .5rem; padding: .28rem 0; font-size: .95rem; }
.sp-row .price { margin-left: auto; color: #C8BFB2; }
.sp-tag {
  font-size: .6rem; letter-spacing: .05em; background: #2A251F; color: #B5AC9E;
  border-radius: 4px; padding: .1rem .38rem;
}
.sp-ctas { display: flex; flex-wrap: wrap; gap: .7rem; }
.sp-btn {
  display: inline-block; background: #C9A24B; color: #191613;
  font-family: var(--font-display); font-weight: 600; font-size: .9rem;
  border-radius: 8px; padding: .55rem 1.15rem;
}
.sp-btn-ghost { background: transparent; color: #F2EDE4; border: 1px solid #3A332C; }
.sp-note { margin-top: 1.2rem; font-size: .85rem; color: #A79E90; }
.sp-note span { color: #C9A24B; font-weight: 600; }

/* The Cle Fix stamp badge inside preview cards */
.sp-body { position: relative; }
.sp-stamp {
  position: absolute; top: 1.2rem; right: 1.2rem;
  width: 92px; height: 92px;
  opacity: .9;
  transform: rotate(6deg);
}
@media (max-width: 560px) {
  .sp-stamp { width: 64px; height: 64px; opacity: .45; }
}
