/* =========================================================
   SAYYESNOW - APPROVAL DESK AND INSTALLMENT LEDGER THEME
   Light theme, yes-stamp magenta accent
   ========================================================= */

/* Design tokens */
:root {
  --cream: #FAF8F3;            /* contract-cream body background */
  --ink: #2B2B33;              /* ledger-ink body text */
  --ink-soft: #3C3C46;
  --paper: #FFFFFF;            /* paper-dock raised panels */
  --graphite: #5E6670;         /* pen-graphite secondary neutral */
  --magenta: #B3356E;          /* yes-stamp magenta accent */
  --magenta-dark: #A02A5E;     /* darkened magenta for headings */
  --gold: #C9A227;             /* approval-gold tertiary (tiny seals) */
  --hairline: #E4DED2;         /* sign-line hairlines */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;             /* explicit, required */
  line-height: 1.7;
  color: #2B2B33;
  background-color: #FAF8F3;
  overflow-x: hidden;
}

body.home-page {
  background-color: #FAF8F3;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }

p { color: #5E6670; }

/* =========================================================
   INK-PAD NAV (.inkpad-nav) — sticky TOP bar
   ========================================================= */
.inkpad-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #FFFFFF;
  border-bottom: 1px solid #E4DED2;
}

.inkpad-nav .stamp-edge {
  height: 8px;
  border-bottom: 2px dashed #B3356E;
  background-color: #FFFFFF;
}

.inkpad-nav .nav-row {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.inkpad-nav .brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #2B2B33;
  text-transform: uppercase;
}

.inkpad-nav .brand-stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-4deg);
  border: 2px double #B3356E;
  border-radius: 4px;
  padding: 2px 8px;
  color: #B3356E;
  font-size: 18px;
  letter-spacing: 0.04em;
}

.inkpad-nav .links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 14px;
  font-weight: 600;
}

.inkpad-nav .links a { color: #2B2B33; padding: 6px 2px; }
.inkpad-nav .links a:hover { text-decoration: underline; text-decoration-color: #B3356E; text-decoration-thickness: 3px; }

.inkpad-nav .links .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background-color: #C9A227; margin: 0 4px;
}

/* Mobile toggle */
.inkpad-nav .nav-toggle {
  display: none;
  background: none;
  border: 1px solid #B3356E;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 16px;
  color: #B3356E;
  cursor: pointer;
  font-family: Georgia, serif;
}

@media (max-width: 768px) {
  .inkpad-nav .nav-toggle { display: inline-block; }
  .inkpad-nav .links {
    display: none;
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
    padding-top: 8px;
  }
  .inkpad-nav .links.open { display: flex; }
  .inkpad-nav .links .dot { display: none; }
}

/* =========================================================
   APPROVAL-DESK HERO (.approval-hero)
   ========================================================= */
.approval-hero {
  background-color: #FAF8F3;
  padding: 72px 24px 96px;
  position: relative;
}

.approval-hero .hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
}

.approval-hero .hero-text { flex: 1 1 55%; }

.approval-hero .eyebrow {
  display: inline-block;
  background-color: #B3356E;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 3px;
  margin-bottom: 22px;
}

.approval-hero h1 {
  font-size: 48px;
  font-weight: 700;
  color: #2B2B33;
  max-width: 640px;
  margin-bottom: 22px;
}

.approval-hero h1 .accent { color: #B3356E; }

.approval-hero .hero-sub {
  font-size: 17px;
  color: #5E6670;
  max-width: 560px;
  margin-bottom: 30px;
}

.approval-hero .hero-sub strong { color: #2B2B33; }

.approval-hero .hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  font-family: Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 0.02em;
}
.btn-magenta { background-color: #B3356E; color: #FFFFFF; border: 1px solid #B3356E; }
.btn-magenta:hover { background-color: #A02A5E; }
.btn-outline { background: transparent; color: #2B2B33; border: 1px solid #2B2B33; }
.btn-outline:hover { border-color: #B3356E; color: #B3356E; }

/* Contract sheet collage */
.approval-hero .hero-art { flex: 1 1 45%; display: flex; align-items: center; justify-content: center; }

.approval-hero .contract-sheet {
  position: relative;
  width: 100%;
  max-width: 430px;
  background-color: #FFFFFF;
  border: 1px solid #E4DED2;
  box-shadow: 0 14px 34px rgba(43,43,51,0.10);
  transform: rotate(2deg);
  padding: 34px 30px 60px;
}

.approval-hero .ledger-lines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 27px,
    #E4DED2 27px,
    #E4DED2 28px
  );
  filter: saturate(0.7);
  pointer-events: none;
}

.approval-hero .sheet-bars {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.approval-hero .bar {
  height: 10px;
  background-color: #5E6670;
  border-radius: 2px;
}
.approval-hero .bar.s1 { width: 82%; }
.approval-hero .bar.s2 { width: 94%; }
.approval-hero .bar.s3 { width: 68%; }
.approval-hero .bar.s4 { width: 88%; height: 9px; }

.approval-hero .signature-line {
  position: relative;
  margin-top: 40px;
  height: 1px;
  background-color: #2B2B33;
  width: 70%;
}
.approval-hero .nib {
  position: absolute;
  right: -8px;
  bottom: -7px;
  width: 16px;
  height: 16px;
  background-color: #2B2B33;
  clip-path: polygon(50% 0, 100% 100%, 50% 76%, 0 100%);
}

/* The big APPROVED stamp */
.approval-hero .stamp {
  position: absolute;
  top: 16px;
  right: -8px;
  transform: rotate(-12deg);
  border: 6px solid #B3356E;
  outline: 2px solid #B3356E;
  outline-offset: 3px;
  padding: 12px 24px;
  background: rgba(179,53,110,0.06);
  color: #B3356E;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  z-index: 2;
}
.approval-hero .stamp-smudge {
  position: absolute;
  bottom: -6px; left: -8px;
  width: 14px; height: 14px;
  background-color: #B3356E; border-radius: 50%;
  filter: saturate(0.55);
  z-index: 3;
}

/* =========================================================
   SPLIT-STRIP LEDGER (.split-ledger)
   ========================================================= */
.split-ledger {
  background-color: #FAF8F3;
  padding: 84px 24px;
}

.split-ledger .ledger-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}

.split-ledger h2 { font-size: 34px; color: #2B2B33; margin-bottom: 14px; }
.split-ledger .ledger-sub { color: #5E6670; }

.ledger-strips {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ledger-strip {
  display: flex;
  align-items: center;
  gap: 22px;
  background-color: #FFFFFF;
  border: 1px solid #E4DED2;
  padding: 24px 28px;
  position: relative;
  overflow: hidden;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 29px,
    #E4DED2 29px,
    #E4DED2 30px
  );
}
.ledger-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #FFFFFF;
  filter: saturate(0.92);
  pointer-events: none;
  z-index: 0;
}
.ledger-strip > * { position: relative; z-index: 1; }

.ledger-strip .check-chip {
  flex: 0 0 34px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background-color: #B3356E;
  display: flex; align-items: center; justify-content: center;
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 700;
}

.ledger-strip .strip-text { flex: 1 1 auto; }
.ledger-strip h3 { font-size: 20px; color: #2B2B33; margin-bottom: 6px; }
.ledger-strip p { color: #5E6670; font-size: 15px; }

.ledger-strip .quarter-tag {
  flex: 0 0 auto;
  text-align: center;
  border: 1px solid #B3356E;
  padding: 6px 10px;
  min-width: 84px;
}
.ledger-strip .quarter-tag .qnum { font-size: 26px; font-weight: 800; color: #B3356E; line-height: 1; }
.ledger-strip .quarter-tag .qcap { font-size: 11px; color: #5E6670; letter-spacing: 0.05em; }

@media (max-width: 720px) {
  .ledger-strip { flex-direction: column; align-items: flex-start; }
  .approval-hero h1 { font-size: 34px; }
  .approval-hero .hero-inner { flex-direction: column; }
}

/* =========================================================
   COUNTER METRIC BAND
   ========================================================= */
.metric-band {
  background-color: #2B2B33;
  padding: 64px 24px;
}

.metric-band .metrics {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.metric-band .metric { text-align: center; padding: 8px 12px; }
.metric-band .metric + .metric { border-left: 1px solid #C9A227; }
.metric-band .metric .num {
  font-size: 42px;
  font-weight: 800;
  color: #C9A227;
  line-height: 1;
}
.metric-band .metric .label {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFFFFF;
}
@media (max-width: 768px) {
  .metric-band .metrics { grid-template-columns: 1fr 1fr; gap: 20px; }
  .metric-band .metric + .metric { border-left: none; }
}

/* =========================================================
   STATEMENT BAND
   ========================================================= */
.statement-band {
  background-color: #FFFFFF;
  padding: 80px 24px;
  border-top: 1px solid #E4DED2;
  border-bottom: 1px solid #E4DED2;
}
.statement-band .statement {
  max-width: 820px;
  margin: 0 auto;
  border-left: 4px solid #B3356E;
  padding-left: 28px;
}
.statement-band .statement blockquote {
  font-size: 22px;
  color: #2B2B33;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
}
.statement-band .statement .attrib {
  color: #5E6670;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: right;
}

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band {
  background-color: #FAF8F3;
  padding: 90px 24px;
  text-align: center;
}
.cta-band h2 { font-size: 34px; color: #B3356E; margin-bottom: 14px; }
.cta-band p { max-width: 560px; margin: 0 auto 28px; color: #5E6670; }

/* =========================================================
   SIGN-OFF FOOTER (.signoff-footer)
   ========================================================= */
.signoff-footer {
  background-color: #2B2B33;
  position: relative;
  z-index: 1;
}
.signoff-footer .ruled-top {
  height: 14px;
  border-top: 1px solid rgba(255,255,255,0.55);
  border-bottom: 1px solid rgba(255,255,255,0.55);
  margin-bottom: 9px;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0, transparent 4px,
    rgba(255,255,255,0.35) 4px, rgba(255,255,255,0.35) 5px
  );
}
.signoff-footer .footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 44px 24px 28px;
  text-align: center;
}
.signoff-footer .inkpad-glyph {
  width: 40px; height: 40px;
  background-color: #B3356E;
  border-radius: 6px;
  margin: 0 auto 16px;
  position: relative;
}
.signoff-footer .inkpad-glyph::after {
  content: "";
  position: absolute; inset: 8px;
  border: 2px solid #FFFFFF;
  border-radius: 3px;
}
.signoff-footer .wordmark {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 22px;
}
.signoff-footer .footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 30px;
}
.signoff-footer .footer-links a { color: #E4DED2; font-size: 14px; }
.signoff-footer .footer-links a:hover { color: #FFFFFF; text-decoration: underline; }
.signoff-footer .sign-line {
  position: relative;
  width: 220px;
  height: 1px;
  background-color: #FFFFFF;
  margin: 0 auto 26px;
}
.signoff-footer .sign-line .mini-nib {
  position: absolute;
  right: -4px; bottom: -7px;
  width: 12px; height: 12px;
  background-color: #FFFFFF;
  clip-path: polygon(50% 0, 100% 100%, 50% 76%, 0 100%);
}
.signoff-footer .sign-line .gold-dot {
  position: absolute;
  left: -6px; top: -3px;
  width: 7px; height: 7px; border-radius: 50%;
  background-color: #C9A227;
}
.signoff-footer .legal-line {
  color: #E4DED2;
  font-size: 13px;
  line-height: 1.8;
}

/* FAQ accordion */
.faq-item .faq-a { display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q::after { content: "\2013"; }

/* Fade-up reveal (safe without JS) */
.fade-up {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .fade-up { opacity: 0; transform: translateY(24px); }
.js .fade-up.visible { opacity: 1; transform: none; }

noscript .fade-up, noscript style { opacity: 1; }

/* =========================================================
   SHARED SECTION HELPERS (non-legal pages)
   ========================================================= */
.section-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
