/* ============================================================
   Garage-sale / price-tag visual identity — loaded ONLY on index.html,
   layered on top of styles.css. Redefines the same custom-property names
   styles.css already uses so the existing component CSS (buttons, cards,
   tables, glow shadows) repaints in the new palette without a rewrite,
   then adds the pieces that need real new markup: price tags, index-card
   testimonials, the bulk CTA band, and a receipt-styled SMS thread.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&family=Space+Mono:wght@400;700&family=Kalam:wght@400;700&display=swap');

:root {
  /* Repaint the design tokens styles.css already reads everywhere */
  --bg-dark: #ddc9a3;
  --bg-dark-gray: #d3bd91;
  --panel-glass: #f4e9d2;
  --panel-glass-light: #efe1c2;

  --ink-primary: #2a1e12;
  --ink-secondary: #4a3820;
  --ink-muted: #7a6748;
  --ink-muted-dark: #97845f;

  --color-blue-bright: #1f5fa8;
  --color-blue-dark: #164a86;
  --color-green-bright: #2f7a3d;
  --color-green-dark: #24632f;
  --color-purple-bright: #7c3aed;
  --color-purple-dark: #6425c9;
  --color-orange-bright: #d94f1e;

  --border-glass: rgba(42, 30, 18, 0.18);
  --border-glass-hover: rgba(42, 30, 18, 0.32);
  --shadow-glow-blue: 4px 4px 0 rgba(42, 30, 18, 0.12);
  --shadow-glow-green: 4px 4px 0 rgba(36, 99, 47, 0.18);
  --radius-xl: 14px;
  --radius-lg: 12px;
  --radius-md: 8px;

  --marker-font: 'Permanent Marker', cursive;
  --mono-font: 'Space Mono', monospace;
  --hand-font: 'Kalam', cursive;
  --paper: #fdf6e6;
}

/* ---- Kraft paper backdrop ---- */
body {
  background-color: var(--bg-dark);
  background-image:
    radial-gradient(circle at 15% 20%, rgba(42, 30, 18, 0.05) 0, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(42, 30, 18, 0.05) 0, transparent 45%),
    repeating-linear-gradient(0deg, rgba(42, 30, 18, 0.025) 0px, transparent 1px, transparent 3px),
    repeating-linear-gradient(90deg, rgba(42, 30, 18, 0.02) 0px, transparent 1px, transparent 3px);
  font-family: 'Inter', sans-serif;
}

.background-glow,
.grid-overlay { display: none; }

/* ---- Sharpie display headlines ----
   Every heading is marker, not just the two big ones — the sub-heads were
   still Outfit, which is what made the page read as "normal site with a
   handwritten hero" rather than one voice throughout. */
h1, h2, h3, h4 {
  font-family: var(--marker-font);
  font-weight: 400;
  letter-spacing: 0;
}

/* Supporting copy in the handwriting face. Deliberately NOT the long-form
   paragraphs (FAQ answers, the comparison verdict) or the buttons and nav —
   those stay Inter, because this audience skews older and a whole page of
   handwriting is where legibility goes. */
.hero-subtitle,
.section-subtitle,
.feature-card p,
.path-col-head p,
.proof-label,
.calc-note,
.slider-label,
.pricing-bottom-info {
  font-family: var(--hand-font);
}

.hero-title,
.section-title,
.cta-box h2,
.cleanout-pack-title,
.pricing-header .section-title {
  font-family: var(--marker-font);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.25;
  text-shadow: 2px 2px 0 rgba(42, 30, 18, 0.08);
}

/* styles.css clips .hero-title to a white gradient (dark-theme only) — repaint
   with solid ink so it's legible on kraft paper. */
.hero-title {
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  color: var(--ink-primary) !important;
}
.hero-title span {
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  color: var(--color-blue-bright) !important;
}

.eyebrow {
  font-family: var(--hand-font);
  color: var(--color-orange-bright);
  transform: rotate(-1deg);
  display: inline-block;
}

/* ---- Buttons: flat pill, subtle hover lift (was a stamped price-tag look
   with a hard offset shadow — feedback from several people reviewing the
   redesign was that it read as informal/bevel-y for a tool handling eBay
   account access, so this is deliberately calmer). ---- */
.btn {
  border-radius: 9999px !important;
  border: none !important;
  box-shadow: 0 1px 2px rgba(42, 30, 18, 0.08) !important;
  font-weight: 700;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(42, 30, 18, 0.16) !important;
}
.btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(42, 30, 18, 0.08) !important;
}
.btn-primary, .btn-green {
  background: var(--color-green-bright) !important;
  color: #fdf6e6 !important;
}
.btn-secondary {
  background: var(--panel-glass) !important;
  color: var(--ink-primary) !important;
  border: 1px solid rgba(42, 30, 18, 0.14) !important;
}

/* ---- Nav ---- */
nav {
  background: var(--panel-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(42, 30, 18, 0.08);
}
.logo-text { color: var(--ink-primary); font-family: var(--marker-font); font-weight: 400; }

/* The collapsed mobile panel in styles.css is painted dark-navy for the
   original theme; repaint it on kraft paper. */
@media (max-width: 900px) {
  .nav-links {
    background: var(--panel-glass) !important;
    border-bottom: 1px solid rgba(42, 30, 18, 0.08) !important;
  }
}

/* ---- Readability pass: the marker font stays for big personality
   headlines (hero, section titles, logo) but functional/small-size text
   people actually have to read closely — FAQ questions, the final CTA
   heading — switches to Inter. Feedback from multiple design reviews
   converged on this exact split. ---- */
.faq-question-btn h3,
.cta-box h2 {
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  text-shadow: none !important;
  letter-spacing: normal !important;
}
.faq-question-btn h3 { font-size: 17px; }

/* ---- Badges / bullets ---- */
.badge, .hero-bullets span {
  background: var(--panel-glass);
  border: 1.5px dashed var(--border-glass-hover);
  color: var(--ink-secondary);
}

/* ---- Cards -> index cards: ruled lines, a hint of alternating rotation ---- */
.feature-card, .path-col, .result-card {
  background:
    repeating-linear-gradient(var(--panel-glass-light) 0px, var(--panel-glass-light) 27px, rgba(42,30,18,0.09) 28px);
  border: 1px solid rgba(42, 30, 18, 0.28);
  box-shadow: 3px 3px 0 rgba(42, 30, 18, 0.10), 0 4px 20px rgba(42, 30, 18, 0.06);
}
.feature-card:nth-child(3n+1) { transform: rotate(-0.6deg); }
.feature-card:nth-child(3n+2) { transform: rotate(0.4deg); }
.feature-card:nth-child(3n)   { transform: rotate(-0.3deg); }
.feature-card:hover { transform: none; }

/* ---- SMS thread mockup -> receipt paper ---- */
.phone-mockup {
  background: #fbf6ea;
  border: 2px solid var(--ink-primary);
  border-radius: 18px;
  box-shadow: 6px 6px 0 rgba(42, 30, 18, 0.18);
}
.phone-header { background: var(--panel-glass-light); border-bottom: 2px dashed var(--border-glass-hover); }
.chat-screen { background: transparent; }
.chat-bubble { font-family: var(--mono-font); font-size: 13.5px; border-radius: 10px; }
.bubble-agent {
  background: var(--panel-glass-light);
  border: 1px solid var(--border-glass);
  color: var(--ink-primary);
}
.bubble-user {
  background: var(--color-green-bright);
  color: #fdf6e6;
}
.status-badge {
  font-family: var(--mono-font);
  background: #fdf6e6;
  border: 1.5px dashed var(--color-green-bright);
  color: var(--color-green-bright);
}
.bubble-image { background: var(--panel-glass-light) !important; }
.simulator-input { background: #fdf6e6 !important; color: var(--ink-primary) !important; }
.proof-section { background: rgba(42, 30, 18, 0.04) !important; }

/* ---- Comparison table -> kraft ledger ---- */
.compare-wrap { background: var(--panel-glass); border: 1.5px solid var(--border-glass); }
.compare-table th, .compare-table td { font-family: var(--mono-font); font-size: 13.5px; }
.compare-table .compare-mine { background: rgba(47, 122, 61, 0.10); }
.compare-verdict { background: var(--panel-glass-light); border-left: 3px solid var(--color-green-bright); }

/* ---- Testimonials -> index cards on a pushpin ---- */
.testimonial-slide {
  background: var(--panel-glass);
  border: 1px solid rgba(42, 30, 18, 0.28);
  border-radius: 6px;
  box-shadow: 4px 4px 0 rgba(42, 30, 18, 0.14), 0 4px 20px rgba(42, 30, 18, 0.06);
  padding: 32px 34px;
  /* Deliberately NOT setting `position` here. styles.css stacks the carousel by
     giving every slide `position: absolute` and only the `.active` one
     `relative`; overriding that to `relative` for all of them made the hidden
     slides take up layout space, leaving a tall empty gap under the visible
     review. `absolute` is still a containing block, so the ::before pushpin
     positions correctly either way. */
}
.testimonial-slide::before {
  content: '';
  position: absolute;
  top: -9px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #e8543a, #b5301b);
  box-shadow: 0 2px 3px rgba(0,0,0,0.35);
}
.testimonial-text { font-family: var(--hand-font); font-size: 18px; color: var(--ink-secondary); }
.testimonial-stars { color: var(--color-orange-bright); }
.author-avatar { background: var(--color-green-bright); color: #fdf6e6; }

/* ---- Hero logo: three-quarters of the viewport, centred ----
   The art is a dark carbon-fibre plate, so on kraft paper it needs to read as
   a framed sign rather than a stray dark rectangle — hence the ink border and
   the same hard offset shadow the buttons and price tags use. */
.hero-logo {
  display: block;
  /* vw, not %: the hero sits in .wrap (1200px cap), so a percentage would size
     against the column rather than the screen. 55 keeps the h1 above the fold
     on a laptop — at 75 the plate pushed the value proposition out of view. */
  width: 55vw;
  max-width: 1408px; /* the file's natural width — never upscale it */
  height: auto;
  margin: 0 auto 32px;
  border: 2px solid var(--ink-primary);
  border-radius: 10px;
  box-shadow: 6px 6px 0 rgba(42, 30, 18, 0.18);
}

/* On a phone the logo runs edge to edge. The negative margins cancel the 24px
   padding .wrap applies, which is what lets a child of a padded container go
   full-bleed; the side border and corner radius come off because a framed box
   only reads as a frame when there's background beside it. */
@media (max-width: 720px) {
  .hero-logo {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-left: none;
    border-right: none;
    border-radius: 0;
    box-shadow: 0 4px 0 rgba(42, 30, 18, 0.18);
  }
}

/* ---- Hero testimonial: an index card pinned under the fold line ---- */
.hero-quote {
  position: relative;
  max-width: 680px;
  margin: 46px auto 0;
  padding: 30px 34px 26px;
  text-align: left;
  background: var(--panel-glass);
  border: 1px solid var(--border-glass);
  border-radius: 6px;
  box-shadow: 4px 4px 0 rgba(42, 30, 18, 0.14);
  transform: rotate(-0.5deg);
}
.hero-quote::before {
  content: '';
  position: absolute;
  top: -9px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #e8543a, #b5301b);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.35);
}
.hero-quote .testimonial-stars { color: var(--color-orange-bright); margin-bottom: 10px; }
.hero-quote blockquote {
  margin: 0 0 18px;
  font-family: var(--hand-font);
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-secondary);
}
.hero-quote figcaption { display: flex; align-items: center; gap: 12px; }
.hero-quote .author-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--color-green-bright); color: #fdf6e6;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.hero-quote .author-name { color: var(--ink-primary); font-weight: 600; font-size: 15px; }

@media (max-width: 720px) {
  .hero-quote { padding: 24px 20px 20px; transform: rotate(0deg); }
  .hero-quote blockquote { font-size: 16.5px; }
}

/* ---- FAQ -> manila folder tabs ---- */
.faq-item {
  background: var(--panel-glass);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-question-btn h3 { font-family: var(--hand-font); font-size: 18px; }
.faq-icon { color: var(--color-orange-bright); }

/* ---- CTA band ---- */
.cta-box {
  background: var(--panel-glass);
  border: 1px solid rgba(42, 30, 18, 0.08);
  box-shadow: 0 4px 20px rgba(42, 30, 18, 0.06);
}

/* ---- Footer ---- */
footer { background: var(--panel-glass-light); border-top: 1px solid rgba(42, 30, 18, 0.08); }
.footer-links a,
.footer-top .logo-text {
  transition: color .15s ease;
}
.footer-links a:hover {
  color: var(--ink-primary) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   Price tags — punch hole + string, per-listing rate in Space Mono
   ============================================================ */
.price-tags {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px 28px;
  max-width: 1020px;
  margin: 52px auto 0;
  padding-top: 18px;
}

.price-tag {
  position: relative;
  background: #f6ecd4;
  border: 2px solid var(--ink-primary);
  border-radius: 4px 16px 4px 16px;
  padding: 34px 22px 26px;
  text-align: center;
  box-shadow: 5px 5px 0 rgba(42, 30, 18, 0.16);
  transform: rotate(-1.5deg);
}
.price-tag:nth-child(2) { transform: rotate(1deg); }
.price-tag:nth-child(3) { transform: rotate(-0.8deg); }
.price-tag:hover { transform: rotate(0deg) translateY(-4px); }

/* punch hole */
.price-tag::before {
  content: '';
  position: absolute;
  top: -11px; left: 26px;
  width: 20px; height: 20px;
  background: var(--bg-dark);
  border: 2px solid var(--ink-primary);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px #f6ecd4;
}
/* string knot */
.price-tag::after {
  content: '';
  position: absolute;
  top: -34px; left: 34px;
  width: 2px; height: 26px;
  background: var(--ink-muted-dark);
  transform: rotate(8deg);
}

.price-tag-label {
  font-family: var(--hand-font);
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 8px;
}
.price-tag-name {
  font-family: var(--marker-font);
  font-weight: 400;
  font-size: 22px;
  color: var(--ink-primary);
  margin-bottom: 10px;
}
.price-tag-amount {
  font-family: var(--mono-font);
  font-weight: 700;
  font-size: 40px;
  color: var(--color-green-bright);
  line-height: 1;
}
.price-tag-amount span {
  font-size: 15px;
  color: var(--ink-muted);
  font-weight: 400;
}
.price-tag-note {
  font-family: var(--mono-font);
  font-size: 12.5px;
  color: var(--ink-secondary);
  margin: 10px 0 18px;
  min-height: 32px;
}
.price-tag-save {
  display: inline-block;
  font-family: var(--hand-font);
  font-size: 12.5px;
  background: var(--color-orange-bright);
  color: #fdf6e6;
  padding: 3px 12px;
  border-radius: 100px;
  transform: rotate(-2deg);
  margin-bottom: 14px;
}
.price-tag--free {
  background: #eaf3e5;
  border-color: var(--color-green-bright);
}
.price-tag--free .price-tag-amount { color: var(--color-green-bright); }

/* ---- "Most popular" pack: accent border, slight scale-up, so the eye
   lands here first ---- */
.price-tag--popular {
  border-color: var(--color-green-bright);
  border-width: 2.5px;
  box-shadow: 6px 6px 0 rgba(47, 122, 61, 0.22);
  transform: rotate(1deg) scale(1.04);
}
.price-tag--popular:hover { transform: rotate(0deg) translateY(-4px) scale(1.04); }
.price-tag--popular .price-tag-save {
  background: var(--ink-primary);
  font-weight: 700;
  box-shadow: 2px 2px 0 rgba(42,30,18,0.2);
}

/* ---- Membership: the one recurring option among one-time packs, given
   an inverted dark card plus a badge so it doesn't get mentally lumped in
   with the packs (decision friction feedback) ---- */
.price-tag--membership {
  background: var(--ink-primary);
  color: var(--paper);
}
.price-tag--membership .price-tag-label,
.price-tag--membership .price-tag-note { color: var(--ink-muted-dark); }
.price-tag--membership .price-tag-name { color: var(--paper); }
.price-tag--membership .price-tag-amount { color: #f6c453; }
.price-tag--membership .price-tag-amount span { color: var(--ink-muted-dark); }
.price-tag-renew-badge {
  font-family: var(--hand-font);
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: #f6c453; color: var(--ink-primary);
  padding: 3px 12px; border-radius: 100px; font-size: 11px; font-weight: 700;
  white-space: nowrap;
}
.price-tag-features {
  list-style: none; margin: 16px 0 0; padding: 0; text-align: left;
  display: flex; flex-direction: column; gap: 7px;
}
.price-tag-features li {
  font-family: var(--body-font, 'Inter', sans-serif);
  font-size: 12px; color: var(--ink-secondary); display: flex; gap: 6px; align-items: flex-start;
}
.price-tag--membership .price-tag-features li { color: var(--ink-muted-dark); }
.price-tag-features li span { color: var(--color-green-bright); flex-shrink: 0; }
.price-tag--membership .price-tag-features li span { color: #f6c453; }
.price-tag-divider {
  width: 1px; background: rgba(42, 30, 18, 0.14); align-self: stretch; margin-top: 10px;
}

@media (max-width: 900px) {
  .price-tags { grid-template-columns: 1fr; max-width: 380px; }
  .price-tag { transform: rotate(0deg) !important; }
  .price-tag--popular { transform: scale(1) !important; }
  .price-tag--popular:hover { transform: translateY(-4px) !important; }
  .price-tag-divider { display: none; }
}
@media (min-width: 901px) {
  .price-tags-with-membership {
    grid-template-columns: repeat(3, 1fr) 1px repeat(1, 1fr) !important;
    max-width: 1160px !important;
  }
}

/* Volume beyond the largest pack is just more packs, so this is a one-line
   note rather than its own call-to-action block. */
.pricing-stacking-note {
  max-width: 1020px;
  margin: 34px auto 0;
  text-align: center;
  font-family: var(--hand-font);
  font-size: 16px;
  color: var(--ink-secondary);
}

/* ---- Calculator slider + results: hardcoded dark-navy in styles.css needs
   a kraft-appropriate repaint, everything else there already reads the
   custom properties above. ---- */
.calc-results {
  background: var(--panel-glass-light) !important;
}
input[type=range] {
  background: var(--panel-glass-light) !important;
  border: 1.5px dashed var(--border-glass-hover) !important;
}
input[type=range]::-webkit-slider-thumb {
  background: var(--color-orange-bright) !important;
  border: 2px solid var(--ink-primary) !important;
  box-shadow: none !important;
}
input[type=range]::-moz-range-thumb {
  background: var(--color-orange-bright) !important;
  border: 2px solid var(--ink-primary) !important;
}

.pricing-first-free {
  max-width: 1020px;
  margin: 0 auto 8px;
  text-align: center;
  font-family: var(--hand-font);
  font-size: 17px;
  color: var(--color-green-bright);
}
