/* ===================================================
   TitheTrade — Brand Stylesheet
   Trade with discipline. Give from the increase.
   =================================================== */

:root {
  /* Core palette */
  --ink: #0B0F14;
  --navy: #0F1621;
  --slate: #1B2432;
  --steel: #2A3547;
  --gold: #C9A227;
  --lamp: #E7C35A;
  --parch: #F4EFE3;
  --ash: #9AA4B2;
  --green: #3FB27F;
  --red: #D9534F;

  /* Semantic aliases */
  --bg-base: var(--ink);
  --bg-surface: var(--navy);
  --bg-elevated: var(--slate);
  --border: var(--steel);
  --accent: var(--gold);
  --accent-hi: var(--lamp);
  --text: var(--parch);
  --text-muted: var(--ash);
  --gain: var(--green);
  --loss: var(--red);

  /* Fonts */
  --font-head: 'Chakra Petch', 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--parch);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(1200px 600px at 80% -10%, rgba(201,162,39,.05), transparent 60%);
}

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

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.6em;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); color: var(--parch); }
h3 { font-size: 1.15rem; color: var(--ash); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

p { color: var(--ash); margin: 0 0 1.2em; font-size: 1rem; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Kicker / section label ---------- */
.kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
  margin-bottom: 14px;
}

/* ---------- Nav ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 20, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--steel);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--parch);
}
.brand svg { width: 32px; height: 32px; }
.brand .wb { color: var(--parch); }
.brand .wg { color: var(--gold); }
.brand:hover { text-decoration: none; }

.nav-links { display: flex; gap: 20px; align-items: center; flex-wrap: nowrap; white-space: nowrap; margin-left: auto; }
.nav-links a {
  color: var(--ash);
  font-weight: 500;
  font-size: 0.88rem;
}
.nav-links a:hover, .nav-links a.active { color: var(--parch); text-decoration: none; }
.nav-cta {
  background: var(--gold);
  color: #1a1400 !important;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--lamp); text-decoration: none; }

.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-links {
    position: fixed; top: 60px; left: 0; right: 0; background: var(--navy);
    flex-direction: column; align-items: flex-start; padding: 20px 24px; gap: 16px;
    border-bottom: 1px solid var(--steel);
    display: none; white-space: normal;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 0.95rem; }
  .nav-toggle {
    display: flex; align-items: center; justify-content: center;
    background: none; border: 1px solid var(--gold); color: var(--parch);
    font-size: 1.1rem; border-radius: 6px; padding: 6px 10px; cursor: pointer;
  }
  .nav-toggle svg { width: 18px; height: 18px; display: block; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 100px 0 80px;
  text-align: center;
}
.hero .token {
  width: 88px; height: 88px;
  margin: 0 auto 28px;
  display: block;
}
.hero .wordmark {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  letter-spacing: 0.01em;
  line-height: 1;
  margin-bottom: 14px;
}
.hero .wordmark .a { color: var(--parch); }
.hero .wordmark .b { color: var(--gold); }
.hero .desc {
  color: var(--ash);
  font-size: 1.1rem;
  margin-bottom: 26px;
}
.hero .tag {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--parch);
  margin-bottom: 8px;
}
.hero .verse {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 36px;
}
.hero .cta-row {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}
@media (max-width: 620px) {
  .hero .cta-row { flex-direction: column; align-items: stretch; gap: 12px; padding: 0 8px; }
  .hero .cta-row .btn { width: 100%; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary {
  background: var(--gold);
  color: #1a1400;
  box-shadow: 0 6px 20px rgba(201,162,39,0.25);
}
.btn-primary:hover { background: var(--lamp); box-shadow: 0 8px 26px rgba(231,195,90,0.3); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover { background: rgba(201,162,39,0.1); }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-tight { padding: 40px 0; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 820px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}
.card {
  background: var(--navy);
  border: 1px solid var(--steel);
  border-radius: 14px;
  padding: 26px;
}
.card h3 { color: var(--parch); margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }

/* ---------- Pillar cards ---------- */
.pillar {
  text-align: left;
}
.pillar .pillar-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  display: block;
}
.pillar h3 {
  font-size: 1.3rem;
  color: var(--parch);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
}
.pillar svg { width: 40px; height: 40px; margin-bottom: 16px; display: block; }

/* ---------- Stat strip ---------- */
.stat-strip {
  display: flex; gap: 36px; justify-content: center; flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  margin: 20px 0;
}
.stat-strip .stat-item .stat-label {
  color: var(--ash);
  font-family: var(--font-body);
  font-size: 0.8rem;
  display: block;
  margin-bottom: 4px;
}
.stat-strip .stat-item .stat-value {
  color: var(--gold);
  font-weight: 700;
  font-size: 1.4rem;
}

/* ---------- Positioning (for / against) ---------- */
.positioning {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 700px) {
  .positioning { grid-template-columns: 1fr; }
}
.positioning .card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.positioning .card ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--steel);
  font-size: 0.95rem;
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.positioning .card ul li:last-child { border-bottom: none; }
.positioning .card ul li .yes { color: var(--green); font-weight: 700; }
.positioning .card ul li .no { color: var(--red); font-weight: 700; }
.positioning .card h3.for { color: var(--green); }
.positioning .card h3.against { color: var(--red); }

/* ---------- Desk preview ---------- */
.desk-preview {
  background: var(--navy);
  border: 1px solid var(--steel);
  border-radius: 14px;
  overflow: hidden;
}
.desk-preview .desk-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--steel);
  display: flex;
  align-items: center;
  gap: 10px;
}
.desk-preview .desk-head .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.desk-preview .desk-head .label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash);
}
.desk-preview .desk-body {
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
@media (max-width: 700px) {
  .desk-preview .desk-body { grid-template-columns: 1fr; }
}
.desk-stat {
  background: var(--slate);
  border: 1px solid var(--steel);
  border-radius: 10px;
  padding: 16px;
}
.desk-stat .k {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash);
}
.desk-stat .v {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.5rem;
  margin-top: 6px;
  color: var(--parch);
}
.desk-stat .v.gain { color: var(--green); }
.desk-stat .v.gold { color: var(--gold); }

/* ---------- Email capture ---------- */
.email-capture {
  background: var(--slate);
  border: 1px solid var(--steel);
  border-radius: 14px;
  padding: 32px;
  max-width: 560px;
  margin: 0 auto;
}
.email-capture h3 {
  color: var(--parch);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.email-capture p {
  font-size: 0.92rem;
  margin-bottom: 18px;
}
.email-capture form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.email-capture input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  background: var(--ink);
  border: 1px solid var(--steel);
  border-radius: 10px;
  color: var(--parch);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
}
.email-capture input[type="email"]:focus {
  border-color: var(--gold);
}
.email-capture .hp { display: none; }
.email-capture .consent {
  font-size: 0.78rem;
  color: var(--ash);
  margin-top: 12px;
  opacity: 0.8;
}
.email-capture .status {
  font-size: 0.88rem;
  margin-top: 10px;
  color: var(--gold);
}

/* ---------- Disclaimer ---------- */
.callout {
  border-left: 4px solid var(--gold);
  background: rgba(201,162,39,0.06);
  border-radius: 8px;
  padding: 18px 22px;
  margin: 30px 0;
}
.callout strong { color: var(--gold); }
.callout p { margin: 6px 0 0; color: var(--ash); font-size: 0.92rem; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--steel);
  padding: 40px 0 30px;
  margin-top: 60px;
}
footer .foot-grid {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin-bottom: 24px;
}
footer .foot-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700;
}
footer .foot-brand svg { width: 28px; height: 28px; }
footer .foot-brand .wb { color: var(--parch); }
footer .foot-brand .wg { color: var(--gold); }
footer .foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
footer .foot-links a { color: var(--ash); font-size: 0.9rem; }
footer .disclaimer {
  font-size: 0.78rem;
  color: rgba(154,164,178,0.65);
  border-top: 1px solid var(--steel);
  padding-top: 18px;
  line-height: 1.7;
}
footer .copyright {
  font-size: 0.78rem;
  color: rgba(154,164,178,0.45);
  margin-top: 10px;
}

/* ---------- Responsive nav breadcrumb ---------- */
@media (max-width: 900px) {
  .nav-links { top: 56px; }
}

section h2[id] { scroll-margin-top: 80px; }
