/* ============================================================
   Quvora Deal — "Bold Deal Broadsheet"
   Hand-written CSS (no framework)
   ============================================================ */

:root {
  --olive: #5E6B27;
  --olive-dark: #46511E;
  --raspberry: #B81E55;
  --raspberry-dark: #8E1340;
  --gold: #E7A731;
  --cream: #FAF6EE;
  --ink: #241F15;

  --cream-2: #F3ECDD;
  --line: #E2D9C6;
  --shadow: 0 18px 40px rgba(36, 31, 21, .12);
  --shadow-sm: 0 6px 18px rgba(36, 31, 21, .10);

  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Source Sans 3", system-ui, -apple-system, sans-serif;

  --maxw: 1140px;
}

* { box-sizing: border-box; }

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--body);
  font-weight: 400;
  font-size: 1.06rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--raspberry-dark); }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.015em;
  color: var(--ink);
  margin: 0 0 .5em;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------- Fade-in (script.js) ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1;
  text-decoration: none;
  padding: 15px 26px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease;
}
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-lg { padding: 18px 34px; font-size: 1.12rem; }

.btn-primary {
  background: var(--raspberry);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--raspberry-dark); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--olive-dark);
  border-color: var(--olive);
}
.btn-ghost:hover { background: var(--olive); color: #fff; transform: translateY(-2px); }

.btn-light {
  background: var(--cream);
  color: var(--raspberry-dark);
  box-shadow: var(--shadow);
}
.btn-light:hover { background: #fff; transform: translateY(-2px); }

/* Focus states */
a:focus-visible,
.btn:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Tag / chip ---------- */
.tag {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
  position: relative;
}
.tag-gold {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 2px 0 rgba(36, 31, 21, .18);
}

/* ---------- Topbar ---------- */
.top-bar {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 9px 12px;
}

/* ---------- Header (non-sticky) ---------- */
.site-header {
  position: static;
  background: var(--cream);
  border-bottom: 3px solid var(--ink);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand-logo { height: 52px; width: auto; }

/* ---------- Hero ---------- */
.hero { padding-bottom: 0; }
.hero-band {
  background: var(--olive);
  background-image: linear-gradient(180deg, var(--olive) 0%, var(--olive-dark) 100%);
  color: var(--cream);
  padding: 64px 0 56px;
  position: relative;
  z-index: 1;
}
.hero-head { text-align: center; max-width: 880px; margin: 0 auto; }
.hero-band .tag-gold { margin-bottom: 22px; }
.hero-title {
  color: #fff;
  font-size: clamp(2.2rem, 5.2vw, 3.7rem);
  margin-bottom: .35em;
}
.hero-sub {
  font-size: clamp(1.08rem, 2.2vw, 1.3rem);
  color: #F0EAD9;
  max-width: 720px;
  margin: 0 auto 1.8em;
}
.hero-cta { margin-bottom: 1.4em; }
.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: .92rem;
  color: #E2DCC8;
  font-weight: 600;
}
.hero-meta .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}
.hero-stage {
  margin-top: -28px;
  position: relative;
  z-index: 2;
}
.hero-figure {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  max-width: 920px;
  border: 4px solid var(--ink);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-figure img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }

/* ---------- Article (multi-column) ---------- */
.article {
  padding: 64px 0 40px;
}
.reading {
  max-width: 1000px;
  column-count: 2;
  column-gap: 48px;
}
.reading > * { break-inside: avoid-column; }
.reading > p { margin: 0 0 1.1em; }

.lead {
  font-size: 1.28rem;
  line-height: 1.55;
  font-weight: 600;
  color: var(--olive-dark);
  column-span: all;
  -webkit-column-span: all;
  border-left: 5px solid var(--raspberry);
  padding-left: 18px;
  margin-bottom: 1.4em;
}
.reading h2 {
  column-span: all;
  -webkit-column-span: all;
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  margin: .8em 0 .55em;
  position: relative;
  display: table; /* shrink the swipe to text width */
}
.reading h2::after {
  content: "";
  display: block;
  height: 7px;
  width: 100%;
  margin-top: 8px;
  background: var(--raspberry);
  border-radius: 3px;
}
.reading h2:first-of-type { margin-top: 0; }

.article-figure {
  column-span: all;
  -webkit-column-span: all;
  margin: 1.4em 0 1.6em;
  border: 4px solid var(--ink);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.article-figure img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.article-figure figcaption {
  font-size: .9rem;
  color: #6b6452;
  padding: 12px 16px;
  background: var(--cream-2);
  border-top: 2px solid var(--ink);
}

.inline-cta {
  column-span: all;
  -webkit-column-span: all;
  background: var(--cream-2);
  border: 2px dashed var(--olive);
  border-radius: 14px;
  padding: 26px 28px;
  margin: 1.6em 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.inline-cta p {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--olive-dark);
  flex: 1 1 280px;
}

/* ---------- Generic sections ---------- */
.section { padding: 70px 0; }
.section-soft { background: var(--cream-2); }
.section-head {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}
.section-head .tag-gold { margin-bottom: 16px; }
.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  display: inline-block;
}
.section-head p { color: #5a5343; margin: .6em 0 0; }

/* Raspberry swipe underline under section headings */
.swipe { position: relative; }
.swipe::after {
  content: "";
  display: block;
  width: 96px;
  height: 7px;
  margin: 14px auto 0;
  background: var(--raspberry);
  border-radius: 3px;
}

/* ---------- Features (price-tag cards) ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.price-tag {
  position: relative;
  background: var(--raspberry);
  color: #fff;
  border: 3px solid var(--ink);
  padding: 40px 28px 32px;
  box-shadow: var(--shadow-sm);
  /* notched/clipped top-left corner, echoing a price tag */
  border-radius: 0 16px 16px 16px;
  clip-path: polygon(26px 0, 100% 0, 100% 100%, 0 100%, 0 26px);
}
/* gold punch-hole circle near the notched corner */
.price-tag .tag-hole {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: inset 0 0 0 3px var(--raspberry-dark);
}
.tag-ic {
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--gold);
  color: var(--raspberry-dark);
  margin: 6px 0 18px auto;
}
.tag-ic svg { width: 28px; height: 28px; }
.price-tag h3 { font-size: 1.28rem; color: #fff; }
.price-tag p { margin: 0; color: #FBEAF1; }

/* ---------- Steps (horizontal stepper) ---------- */
.stepper {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
}
.stepper .step {
  flex: 1 1 0;
  background: var(--olive);
  background-image: linear-gradient(180deg, var(--olive) 0%, var(--olive-dark) 100%);
  color: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 16px;
  padding: 30px 26px;
  position: relative;
}
.step-num {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.6rem;
  margin-bottom: 16px;
}
.stepper .step h3 { font-size: 1.28rem; color: #fff; }
.stepper .step p { margin: 0; color: #E9E4D2; }
.step-arrow {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  align-self: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--gold);
  padding: 0 14px;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 14px;
  margin-bottom: 16px;
  overflow: hidden;
}
.section-soft .faq-item { background: var(--cream); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.14rem;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .sign {
  font-size: 1.6rem;
  color: var(--raspberry);
  line-height: 1;
  transition: transform .2s ease;
  flex: none;
}
.faq-item[open] .sign { transform: rotate(45deg); }
.faq-body { padding: 0 24px 20px; }
.faq-body p { margin: 0; color: #4f4938; }

/* ---------- Bottom CTA (split layout) ---------- */
.cta-final {
  background: var(--cream-2);
  padding: 84px 0;
}
.cta-split {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  border: 4px solid var(--ink);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.cta-panel {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cta-panel-rasp {
  background: var(--raspberry);
  background-image: linear-gradient(150deg, var(--raspberry) 0%, var(--raspberry-dark) 100%);
  color: #fff;
}
.cta-panel-olive {
  background: var(--olive);
  background-image: linear-gradient(150deg, var(--olive) 0%, var(--olive-dark) 100%);
  align-items: center;
  text-align: center;
}
.cta-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  background: #fff;
  border-radius: 14px;
  padding: 12px 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.cta-logo-badge img { height: 26px; width: auto; }
.cta-panel-rasp h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
}
.cta-panel-rasp p {
  font-size: 1.1rem;
  color: #FBEAF1;
  margin: 0;
}
.cta-disclaimer {
  font-size: .84rem;
  color: #6b6452;
  max-width: 820px;
  margin: 26px auto 0;
  text-align: center;
  line-height: 1.55;
}
.cta-disclaimer a {
  color: var(--raspberry-dark);
  font-weight: 600;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--olive-dark);
  color: #E7E0CE;
  padding: 52px 0 40px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 26px;
  margin-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}
.footer-logo {
  height: 46px;
  width: auto;
  background: var(--cream);
  padding: 7px 12px;
  border-radius: 8px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.footer-nav a {
  color: #E7E0CE;
  text-decoration: none;
  font-weight: 600;
  font-size: .96rem;
}
.footer-nav a:hover { color: var(--gold); text-decoration: underline; }
.footer-business p { margin: .25em 0; font-size: .95rem; color: #D6CEBA; }
.footer-business .biz-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
}
.footer-business a { color: var(--gold); }
.footer-copy { margin-top: 18px !important; font-size: .88rem !important; color: #B8B099 !important; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr; }
  .price-tag { clip-path: polygon(26px 0, 100% 0, 100% 100%, 0 100%, 0 26px); }
  .stepper { flex-direction: column; align-items: stretch; }
  .step-arrow { transform: rotate(90deg); padding: 10px 0; }
  .cta-split { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .reading { column-count: 1; }
  .hero-band { padding: 48px 0 48px; }
  .hero-stage { margin-top: -24px; }
  .inline-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  body { font-size: 1.02rem; }
  .btn { width: 100%; justify-content: center; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
  }
}
