/* Rave Pivot — berry / blush / cream */
:root {
  --berry: #A1245F;
  --berry-deep: #7E1A49;
  --blush: #FBE8EF;
  --cream: #FBF6EF;
  --ink: #2A1A26;
  --ink-soft: #5E4A58;
  --line: #EBDCD8;
  --white: #FFFFFF;
  --teal: #2BA39B;

  --sp-1: 8px; --sp-2: 16px; --sp-3: 24px; --sp-4: 32px;
  --sp-5: 48px; --sp-6: 72px; --sp-7: 104px;

  --r-1: 10px; --r-2: 16px; --r-3: 26px; --r-pill: 999px;

  --sh-1: 0 1px 2px rgba(42,26,38,.06), 0 2px 6px rgba(42,26,38,.04);
  --sh-2: 0 4px 12px rgba(42,26,38,.06), 0 12px 28px rgba(42,26,38,.07);
  --sh-3: 0 10px 24px rgba(42,26,38,.08), 0 30px 60px rgba(161,36,95,.14);

  --max: 1180px;
  --ease: cubic-bezier(.22,.8,.3,1);
  --head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 var(--sp-2); }
::selection { background: var(--berry); color: var(--white); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: fixed; left: var(--sp-2); top: -80px; z-index: 100;
  background: var(--ink); color: var(--white);
  padding: 12px 20px; border-radius: var(--r-pill); font-weight: 600;
  transition: top .2s var(--ease);
}
.skip:focus { top: var(--sp-2); }

/* Type */
h1, h2, h3 { font-family: var(--head); margin: 0; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); font-weight: 800; line-height: 1.03; letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; letter-spacing: -.02em; }
h1 em, h2 em { font-style: normal; color: var(--berry); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 var(--sp-3);
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--berry);
}
.eyebrow span { color: var(--teal); }

/* Wordmark */
.wordmark {
  font-family: var(--head); font-weight: 800; font-size: 1.4rem;
  letter-spacing: -.035em; color: var(--ink); line-height: 1;
}
.wordmark span:not(.dot) { color: var(--berry); }
.wordmark .dot { color: var(--teal); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px max(var(--sp-3), calc((100% - var(--max)) / 2));
  background: rgba(251,246,239,.8);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(235,220,216,.8);
}
.desktop-nav { display: flex; align-items: center; gap: var(--sp-4); font-weight: 500; font-size: .95rem; }
.desktop-nav a:not(.nav-cta) { color: var(--ink-soft); transition: color .2s var(--ease); }
.desktop-nav a:not(.nav-cta):hover { color: var(--berry); }
.nav-cta {
  background: var(--berry); color: var(--white); font-weight: 600;
  padding: 10px 20px; border-radius: var(--r-pill);
  box-shadow: var(--sh-1);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
}
.nav-cta:hover { background: var(--berry-deep); transform: translateY(-2px); box-shadow: var(--sh-2); }
.menu-toggle {
  display: none; font: 600 .9rem var(--body); color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-pill);
  padding: 9px 18px; cursor: pointer;
}
.mobile-menu {
  display: none; position: absolute; left: var(--sp-2); right: var(--sp-2); top: calc(100% + 8px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-2);
  box-shadow: var(--sh-3); padding: var(--sp-1);
}
.mobile-menu.is-open { display: grid; }
.mobile-menu a { padding: 14px 16px; border-radius: var(--r-1); font-weight: 600; }
.mobile-menu a:hover { background: var(--blush); color: var(--berry); }

/* Buttons */
.button {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 1rem var(--body); letter-spacing: -.005em;
  padding: 16px 30px; border-radius: var(--r-pill); border: 0; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
}
.button:hover { transform: translateY(-3px); }
.button:disabled { opacity: .6; cursor: wait; transform: none; }
.button-dark { background: var(--berry); color: var(--white); box-shadow: var(--sh-2); }
.button-dark:hover { background: var(--berry-deep); box-shadow: var(--sh-3); }
.button-light { background: var(--blush); color: var(--berry-deep); box-shadow: var(--sh-2); }
.button-light:hover { background: var(--white); box-shadow: var(--sh-3); }

/* Sections */
section { padding: var(--sp-7) max(var(--sp-3), calc((100% - var(--max)) / 2)); }
.lede, .testimonial-lede { font-size: 1.2rem; color: var(--ink-soft); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: var(--sp-5);
  background:
    radial-gradient(60% 70% at 85% 20%, var(--blush) 0%, rgba(251,232,239,0) 70%),
    var(--cream);
}
.hero-intro { font-size: 1.25rem; color: var(--ink-soft); max-width: 34em; margin: var(--sp-3) 0 var(--sp-4); }
.micro-note { margin: var(--sp-3) 0 0; font-size: .9rem; color: var(--ink-soft); }
.hero-mark {
  color: var(--berry); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-3);
  box-shadow: var(--sh-3); padding: var(--sp-4);
  transform: rotate(2deg);
}
.hero-mark text { fill: var(--ink-soft); }
.side-note {
  grid-column: 1 / -1; padding-top: var(--sp-4); border-top: 1px solid var(--line);
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; color: var(--ink-soft);
}
.side-note span { color: var(--teal); margin: 0 6px; }

/* Signal */
.signal-section { background: var(--white); display: grid; grid-template-columns: .8fr 1.2fr; gap: var(--sp-6); align-items: start; }
.signal-content .lede { margin-bottom: var(--sp-4); }
.chart-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-3);
  box-shadow: var(--sh-2); padding: var(--sp-4);
}
.chart-topline { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: var(--sp-3); font-weight: 700; font-family: var(--head); }
.stuck-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2); }
.stuck-list li { display: flex; gap: var(--sp-2); align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-2); box-shadow: var(--sh-1); padding: var(--sp-2) var(--sp-3); }
.stuck-num { font: 800 .85rem var(--head); color: var(--berry); background: var(--blush); border-radius: var(--r-pill); padding: 4px 10px; letter-spacing: .08em; }
.stuck-list h3 { margin: 0 0 4px; font: 700 1.05rem var(--head); color: var(--ink); }
.stuck-list p { margin: 0; font-size: .95rem; color: var(--ink-soft); }

/* Pain */
.pain-section { background: var(--cream); }
.pain-section h2 { margin-bottom: var(--sp-5); }
.pain-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.pain-list article, .review-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-3);
  box-shadow: var(--sh-1);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.pain-list article { padding: var(--sp-4); }
.pain-list article:hover, .review-card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); }
.pain-list article > span {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: var(--sp-3);
  border-radius: var(--r-1); background: var(--blush); color: var(--berry);
  font: 800 .95rem var(--head);
}
.pain-list h3 { margin-bottom: var(--sp-1); }
.pain-list p { color: var(--ink-soft); margin: 0; }

/* Trust */
.trust-section {
  padding-bottom: calc(var(--sp-7) + 40px);
  position: relative; background: var(--blush);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--sp-5) var(--sp-6); align-items: start;
}
.stamp {
  position: absolute; bottom: var(--sp-4); right: max(var(--sp-3), calc((100% - var(--max)) / 2));
  width: 112px; height: 112px; border-radius: 50%; display: grid; place-content: center;
  text-align: center; font: 800 .68rem/1.2 var(--head); letter-spacing: .14em; color: var(--berry);
  border: 1.5px dashed var(--berry); transform: rotate(10deg); opacity: .85;
}
.trust-copy p:not(.eyebrow) { color: var(--ink-soft); font-size: 1.1rem; }
.trust-copy h2 { margin-bottom: var(--sp-3); }
.trust-points { display: grid; gap: var(--sp-2); }
.trust-points > div {
  display: grid; grid-template-columns: 52px 1fr; column-gap: var(--sp-2);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-2);
  padding: var(--sp-3); box-shadow: var(--sh-1);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.trust-points > div:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.trust-points strong { grid-row: span 2; font: 800 1.6rem/1 var(--head); color: var(--berry); letter-spacing: -.03em; }
.trust-points span { font: 700 1.1rem var(--head); letter-spacing: -.02em; }
.trust-points small { font-size: .95rem; color: var(--ink-soft); line-height: 1.5; }

/* Testimonials */
.testimonial-section { background: var(--white); }
.testimonial-intro { display: flex; justify-content: space-between; align-items: end; gap: var(--sp-4); flex-wrap: wrap; margin-bottom: var(--sp-5); }
.testimonial-lede { max-width: 26em; margin: 0; }
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
.review-card { overflow: hidden; background: var(--cream); display: flex; flex-direction: column; }
.review-video {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  background: linear-gradient(135deg, #3A2336, var(--ink));
}
.review-card-body { padding: var(--sp-4); display: grid; gap: var(--sp-2); flex: 1; }
.review-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .9rem; color: var(--ink-soft); }
.review-meta span:first-child {
  font: 800 .78rem var(--head); color: var(--berry); background: var(--blush);
  padding: 4px 10px; border-radius: var(--r-pill);
}
.review-meta strong { font: 700 1.05rem var(--head); color: var(--ink); letter-spacing: -.02em; }
blockquote { margin: 0; font-size: 1.05rem; line-height: 1.65; color: var(--ink); }

/* Audit (dark) */
.audit-section {
  background:
    radial-gradient(50% 70% at 90% 0%, rgba(161,36,95,.55), rgba(161,36,95,0) 70%),
    var(--ink);
  color: #F3E4EB;
}
.audit-inner { max-width: 720px; margin: 0 auto; }
.audit-section h2 { color: var(--white); margin-bottom: var(--sp-3); }
.audit-section h2 em { color: #F7A8C8; }
.audit-section .eyebrow { color: #F7A8C8; }
.audit-inner > p:not(.eyebrow) { color: #D9C3CE; font-size: 1.15rem; }
.audit-form {
  margin-top: var(--sp-4); display: grid; gap: var(--sp-2);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-3); padding: var(--sp-4);
}
.audit-form label { display: grid; gap: 8px; font-weight: 600; font-size: .92rem; color: var(--white); }
.audit-form input, .audit-form textarea {
  width: 100%; font: 400 1rem var(--body); color: var(--ink);
  background: var(--white); border: 1.5px solid transparent; border-radius: var(--r-1);
  padding: 14px 16px; transition: border-color .2s, box-shadow .2s;
}
.audit-form textarea { resize: vertical; min-height: 120px; }
.audit-form input::placeholder, .audit-form textarea::placeholder { color: #9A8691; }
.audit-form input:focus, .audit-form textarea:focus {
  outline: none; border-color: var(--berry); box-shadow: 0 0 0 4px rgba(247,168,200,.55);
}
.audit-form .button { justify-self: start; margin-top: var(--sp-1); }
.form-note { margin: 0; font-size: .92rem; color: #D9C3CE; }

/* Footer */
footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-2) var(--sp-4);
  padding: var(--sp-5) max(var(--sp-3), calc((100% - var(--max)) / 2));
  background: var(--cream); border-top: 1px solid var(--line);
}
footer .wordmark { font-size: 1.25rem; }
footer p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
footer a:not(.wordmark) { font-weight: 600; color: var(--berry); }
footer a:not(.wordmark):hover { text-decoration: underline; text-underline-offset: 4px; }

/* Tablet */
@media (max-width: 960px) {
  section { padding-block: var(--sp-6); }
  .hero, .signal-section, .trust-section { grid-template-columns: 1fr; }
  .signal-section { gap: var(--sp-4); }
  .hero-mark { max-width: 360px; transform: none; }
  .pain-list { grid-template-columns: 1fr; }
  .stamp { display: none; }
}

/* Mobile */
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-block; }
  .review-grid { grid-template-columns: 1fr; }
  .chart-card, .audit-form { padding: var(--sp-3); }
  .button { width: 100%; justify-content: center; }
  .audit-form .button { justify-self: stretch; }
  footer { flex-direction: column; align-items: flex-start; }
}

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