/* ==========================================================================
   VolumeAtPrice.com — Shared Stylesheet
   Palette: Ink #0B1220 · Paper #F7F5F0 · Signal Red #E2493B ·
            Profile Gray #8A94A6 · Confirm Green #1F8A5D
   Type: Inter (UI/body) · Fraunces (editorial headlines), Georgia fallback
   ========================================================================== */

:root {
  --ink: #0B1220;
  --ink-soft: #17233a;
  --paper: #F7F5F0;
  --paper-soft: #efece4;
  --signal: #E2493B;
  --signal-dark: #c23a2e;
  --gray: #8A94A6;
  --green: #1F8A5D;
  --white: #ffffff;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;

  --max-w: 1100px;
  --radius: 10px;
  --shadow-card: 0 1px 2px rgba(11,18,32,0.06), 0 8px 24px rgba(11,18,32,0.06);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; margin: 0 0 0.5em; }
p { margin: 0 0 1.2em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.4em; }
button { font-family: inherit; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--signal);
  color: var(--white);
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
}

/* ---------- Layout helpers ---------- */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 88px 0;
}
.section--tight { padding: 56px 0; }
.section--dark {
  background: var(--ink);
  color: var(--paper);
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--white); }
.section--light {
  background: var(--paper);
  color: var(--ink);
}
.section--soft {
  background: var(--paper-soft);
}
.center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--signal);
  margin-bottom: 18px;
}
.section--dark .eyebrow { color: var(--signal); }
.lede {
  font-size: 20px;
  color: var(--gray);
  max-width: 700px;
}
.section--dark .lede { color: #c4cadb; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.site-header .logo-link { display: flex; align-items: center; }
.site-header .logo-link svg { height: 28px; width: auto; }
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav a {
  color: var(--paper);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  opacity: 0.85;
}
.nav a:hover { opacity: 1; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--paper);
  font-size: 24px;
  cursor: pointer;
  padding: 4px 8px;
}
.btn-nav {
  background: var(--signal);
  color: var(--white) !important;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600 !important;
  opacity: 1 !important;
}
.btn-nav:hover { background: var(--signal-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  font-size: 17px;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.06s ease, background 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--signal);
  color: var(--white);
}
.btn-primary:hover { background: var(--signal-dark); }
.btn-secondary {
  background: transparent;
  color: var(--paper);
  border-color: rgba(247,245,240,0.35);
}
.btn-secondary:hover { border-color: var(--paper); }
.section--light .btn-secondary, .section--soft .btn-secondary {
  color: var(--ink);
  border-color: rgba(11,18,32,0.25);
}
.section--light .btn-secondary:hover, .section--soft .btn-secondary:hover {
  border-color: var(--ink);
}
.btn-ghost {
  background: none;
  color: var(--signal);
  padding: 8px 0;
  font-weight: 600;
  text-decoration: underline;
}
.btn-block { display: block; width: 100%; }
.btn-lg { padding: 18px 36px; font-size: 18px; }

/* ---------- Hero ---------- */
.hero {
  background: var(--ink);
  color: var(--paper);
  padding: 96px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-content { max-width: 780px; }
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  color: var(--white);
  margin-bottom: 24px;
}
.hero .lede { font-size: 22px; margin-bottom: 36px; color: #d7dcea; max-width: 680px; }
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 32px;
}
.hero-secondary-link {
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid var(--signal);
  padding-bottom: 2px;
}
.hero-secondary-link:hover { color: var(--signal); }
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: 14px;
  color: #aab2c7;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  margin-top: 8px;
}
.trust-bar span { white-space: nowrap; }

/* Decorative volume-profile histogram motif */
.hero-motif {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  opacity: 0.5;
  pointer-events: none;
}
@media (max-width: 900px) {
  .hero-motif { display: none; }
}

/* ---------- Stat grid ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.stat-card {
  background: var(--white);
  border: 1px solid rgba(11,18,32,0.08);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow-card);
}
.stat-card .stat-num {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 700;
  color: var(--signal);
  display: block;
  margin-bottom: 10px;
  line-height: 1.1;
}
.stat-card p { margin: 0; font-size: 15.5px; color: var(--ink); }
@media (max-width: 860px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .stat-grid { grid-template-columns: 1fr; }
}

/* ---------- Pull quote ---------- */
.pull-quote {
  border-left: 4px solid var(--signal);
  padding: 8px 0 8px 28px;
  margin: 48px 0 0;
  font-family: var(--font-head);
  font-size: 24px;
  font-style: italic;
  max-width: 760px;
}
.section--dark .pull-quote { color: var(--white); }

/* ---------- Method steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 48px;
  counter-reset: step;
}
.step-card {
  background: var(--paper);
  border: 1px solid rgba(11,18,32,0.08);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.step-card .step-num {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--signal);
  margin-bottom: 10px;
  display: block;
}
.step-card h3 { font-size: 18px; margin-bottom: 8px; }
.step-card p { font-size: 15.5px; color: var(--gray); margin: 0; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- Curriculum module cards ---------- */
.module-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 44px;
}
.module-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  background: var(--white);
  border: 1px solid rgba(11,18,32,0.08);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow-card);
}
.module-card .module-index {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--signal);
  line-height: 1;
}
.module-card.bonus .module-index { color: var(--green); font-size: 20px; }
.module-card h3 { font-size: 19px; margin-bottom: 6px; }
.module-card p { margin: 0; color: var(--gray); font-size: 15.5px; }
.format-line {
  margin-top: 36px;
  text-align: center;
  font-size: 15px;
  color: var(--gray);
  font-weight: 500;
}
@media (max-width: 620px) {
  .module-card { grid-template-columns: 44px 1fr; padding: 20px; gap: 14px; }
  .module-card .module-index { font-size: 22px; }
}

/* ---------- For / Not-for ---------- */
.filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 44px;
}
.filter-card {
  border-radius: var(--radius);
  padding: 30px 28px;
}
.filter-card.is-for {
  background: rgba(31,138,93,0.08);
  border: 1px solid rgba(31,138,93,0.3);
}
.filter-card.is-not {
  background: rgba(226,73,59,0.06);
  border: 1px solid rgba(226,73,59,0.25);
}
.filter-card h3 { font-size: 18px; margin-bottom: 14px; }
.filter-card.is-for h3 { color: var(--green); }
.filter-card.is-not h3 { color: var(--signal-dark); }
.filter-card ul { padding-left: 1.2em; margin: 0; }
.filter-card li { margin-bottom: 10px; font-size: 16px; }
@media (max-width: 720px) {
  .filter-grid { grid-template-columns: 1fr; }
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 44px;
  align-items: stretch;
}
.price-card {
  background: var(--white);
  border: 1px solid rgba(11,18,32,0.1);
  border-radius: 14px;
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.price-card.is-featured {
  border: 2px solid var(--signal);
  position: relative;
}
.price-card .price-badge {
  position: absolute;
  top: -14px;
  left: 28px;
  background: var(--signal);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}
.price-card h3 { font-size: 22px; margin-bottom: 6px; }
.price-card .price-amount {
  font-family: var(--font-head);
  font-size: 42px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
}
.price-card .price-amount span { font-size: 16px; color: var(--gray); font-weight: 400; }
.price-card ul { flex-grow: 1; margin-bottom: 24px; padding-left: 1.2em; }
.price-card li { margin-bottom: 10px; font-size: 16px; }
.price-note {
  text-align: center;
  margin-top: 32px;
  color: var(--gray);
  font-size: 15.5px;
}
@media (max-width: 760px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ---------- Guarantee ---------- */
.guarantee-box {
  max-width: 760px;
  margin: 44px auto 0;
  text-align: center;
  background: rgba(31,138,93,0.08);
  border: 1px solid rgba(31,138,93,0.3);
  border-radius: var(--radius);
  padding: 40px 36px;
}
.guarantee-box .badge-check {
  color: var(--green);
  font-size: 40px;
  margin-bottom: 12px;
  display: block;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 44px auto 0; }
.faq-item {
  border-bottom: 1px solid rgba(11,18,32,0.12);
  padding: 6px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 17.5px;
  padding: 18px 36px 18px 0;
  position: relative;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 16px;
  font-size: 24px;
  color: var(--signal);
  font-weight: 400;
  transition: transform 0.15s ease;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-answer {
  padding: 0 0 22px;
  color: var(--gray);
  font-size: 16.5px;
}
.section--dark .faq-item .faq-answer { color: #c4cadb; }
.section--dark .faq-item { border-color: rgba(255,255,255,0.14); }

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; }
.final-cta .btn { margin-top: 8px; }
.final-cta .price-note { color: #aab2c7; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #aab2c7;
  padding: 56px 0 32px;
  font-size: 14.5px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-links a {
  color: #c4cadb;
  text-decoration: none;
}
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.compliance-footer {
  font-size: 13px;
  line-height: 1.7;
  color: #8590a8;
  max-width: 900px;
  margin-bottom: 20px;
}
.footer-copy { font-size: 13px; color: #77809a; }

/* ---------- Generic content pages (legal, about) ---------- */
.page-hero {
  background: var(--ink);
  color: var(--paper);
  padding: 64px 0 48px;
}
.page-hero h1 { color: var(--white); font-size: clamp(28px, 4vw, 40px); }
.page-hero .lede { font-size: 18px; }
.prose {
  max-width: 760px;
}
.prose h2 {
  font-size: 26px;
  margin-top: 2em;
}
.prose h3 { font-size: 20px; margin-top: 1.6em; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 15.5px;
}
.prose th, .prose td {
  border: 1px solid rgba(11,18,32,0.15);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}
.prose th { background: var(--paper-soft); }
.prose blockquote {
  border-left: 4px solid var(--signal);
  margin: 1.5em 0;
  padding: 4px 0 4px 20px;
  color: var(--ink);
  font-weight: 600;
}
.legal-meta {
  color: var(--gray);
  font-size: 15px;
  margin-bottom: 2em;
}

/* ---------- About page specific ---------- */
.timeline {
  margin-top: 44px;
  border-left: 2px solid rgba(226,73,59,0.35);
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.timeline-item { position: relative; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--signal);
}
.timeline-item .tl-year {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--signal);
  font-size: 15px;
  display: block;
  margin-bottom: 4px;
}
.timeline-item h3 { font-size: 18px; margin-bottom: 6px; }
.timeline-item p { color: var(--gray); margin: 0; font-size: 15.5px; }

.photo-placeholder {
  background: var(--paper-soft);
  border: 1px dashed var(--gray);
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  max-width: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 14px;
  text-align: center;
  padding: 20px;
}

/* ---------- Opt-in / form pages ---------- */
.optin-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
.optin-bullets { margin-top: 32px; display: flex; flex-direction: column; gap: 22px; }
.optin-bullet { display: flex; gap: 16px; }
.optin-bullet .bullet-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(226,73,59,0.12);
  color: var(--signal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-head);
}
.optin-bullet h3 { font-size: 17px; margin-bottom: 4px; }
.optin-bullet p { margin: 0; font-size: 15.5px; color: var(--gray); }
.section--dark .optin-bullet p { color: #c4cadb; }

.form-card {
  background: var(--white);
  color: var(--ink);
  border-radius: 14px;
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
}
.form-card h2 { font-size: 22px; }
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}
.form-field input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(11,18,32,0.2);
  border-radius: 8px;
  font-size: 16px;
  font-family: var(--font-body);
}
.form-field input:focus {
  outline: 2px solid var(--signal);
  outline-offset: 1px;
}
.form-fine {
  font-size: 13px;
  color: var(--gray);
  margin-top: 14px;
  margin-bottom: 0;
}
@media (max-width: 820px) {
  .optin-grid { grid-template-columns: 1fr; }
}

/* ---------- Thank you page ---------- */
.ty-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(31,138,93,0.12);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 24px;
}
.next-steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 44px;
}
.next-step-card {
  background: var(--white);
  border: 1px solid rgba(11,18,32,0.08);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-card);
  text-align: left;
}
.next-step-card h3 { font-size: 18px; }
.next-step-card p { color: var(--gray); font-size: 15.5px; }
@media (max-width: 700px) {
  .next-steps-grid { grid-template-columns: 1fr; }
}

/* ---------- Calculator placeholder ---------- */
.placeholder-box {
  border: 2px dashed var(--gray);
  border-radius: 14px;
  padding: 64px 32px;
  text-align: center;
  background: var(--white);
}
.placeholder-box .ph-icon { font-size: 44px; margin-bottom: 16px; }

/* ---------- Mobile nav ---------- */
@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    display: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; width: 100%; }
  .btn-nav { margin-top: 8px; }
}

/* ---------- Responsive section spacing ---------- */
@media (max-width: 700px) {
  .section { padding: 56px 0; }
  .hero { padding: 64px 0 48px; }
  h1 { font-size: 30px; }
}

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.text-gray { color: var(--gray); }
.small { font-size: 14px; }
