/* HypeTribe — public site
   Locked palette (Kairn-inspired). Cream-only surfaces, charcoal type,
   periwinkle/saffron/coral accents. No dark surfaces. */

:root {
  --cream: #F7F5ED;
  --cream-2: #EFEBE0;
  --white: #FFFFFF;
  --ink: #222325;
  --muted: #6F6E68;
  --periwinkle: #7F9DFF;
  --periwinkle-deep: #5B7BD9;
  --saffron: #FFC73C;
  --coral: #FC7557;
  --sage: #64C67E;
  --rule: #222325;
  --rule-soft: rgba(34, 35, 37, 0.14);
  --max-w: 1180px;
  --max-w-narrow: 820px;
  --serif: "Fraunces", "Times New Roman", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--periwinkle); color: #fff; }
i, cite, blockquote { font-style: normal; }

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; border-bottom: 1px solid currentColor; }
a:hover { color: var(--periwinkle-deep); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--ink);
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 500; }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
h4 { font-size: 1.1rem; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.narrow { max-width: var(--max-w-narrow); margin: 0 auto; padding: 0 32px; }

/* Eyebrow (label above section headlines) */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--periwinkle-deep);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--periwinkle-deep);
  display: inline-block;
}

.lead {
  font-family: var(--sans);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.5;
  color: var(--muted);
  max-width: 56ch;
}

/* Buttons — pill, charcoal or periwinkle */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-bottom: 0;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); border-bottom: 0; }
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: var(--periwinkle-deep); color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }

/* ── HEADER ─────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--rule-soft);
}
.nav-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px; gap: 18px; max-width: var(--max-w); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); border-bottom: 0; font-weight: 600; }
.brand:hover { color: var(--ink); }
.brand .glyph { width: 28px; height: 28px; }
.brand-name { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; letter-spacing: -0.01em; }
.brand-descriptor {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted); margin-left: 6px;
}
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--muted); border-bottom: 0; font-size: 0.95rem; }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } .brand-descriptor { display: none; } }

/* ── HERO ───────────────────────────────────────────────────────────── */
.hero {
  padding: 80px 0 100px;
  border-bottom: 1px solid var(--rule-soft);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.hero h1 {
  font-size: clamp(2.8rem, 7vw, 6rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 8px 0 24px;
  max-width: 12ch;
}
.hero h1 em { font-style: italic; color: var(--periwinkle-deep); font-weight: 400; }
.hero .descriptor {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.4;
  color: var(--ink);
  max-width: 40ch;
  margin: 0 0 32px;
}
/* Hero metadata strip — full-width band at the bottom of the hero */
.hero { padding-bottom: 0; }
.hero-strip {
  border-top: 1px solid var(--rule-soft);
  margin-top: 80px;
}
.hero-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-strip-inner strong {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.18em;
}
@media (max-width: 760px) {
  .hero-strip-inner { justify-content: flex-start; gap: 18px 28px; }
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-illustration {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1/1; max-width: 480px; margin: 0 auto;
}

/* ── OBJECTION CARDS ────────────────────────────────────────────────── */
.section { padding: 100px 0; border-bottom: 1px solid var(--rule-soft); }
.section h2 { max-width: 22ch; }
.section h2 em { font-style: italic; color: var(--periwinkle-deep); font-weight: 500; }

.objections-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px;
}
@media (max-width: 800px) { .objections-grid { grid-template-columns: 1fr; } }
.objection {
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-radius: 14px;
  padding: 28px 26px 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.objection .icon { width: 40px; height: 40px; }
.objection .quote {
  font-family: var(--serif); font-style: normal; font-weight: 400;
  font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.015em; color: var(--ink);
}
.objection .who { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-top: auto; }

/* ── BENEFITS ──────────────────────────────────────────────────────── */
.benefits-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px;
}
@media (max-width: 800px) { .benefits-grid { grid-template-columns: 1fr; } }
.benefit {
  border-radius: 14px;
  padding: 40px 32px 36px;
  display: flex; flex-direction: column; gap: 14px;
  color: var(--ink);
}
.benefit:nth-child(1) { background: var(--periwinkle); }
.benefit:nth-child(2) { background: var(--saffron); }
.benefit:nth-child(3) { background: var(--coral); }
.benefit-num {
  font-family: var(--serif); font-size: 2.6rem; line-height: 1;
  letter-spacing: -0.04em; font-weight: 400;
  color: var(--ink);
  margin-bottom: 8px;
}
.benefit h3 { margin: 0; font-weight: 500; font-size: 1.5rem; line-height: 1.15; color: var(--ink); }
.benefit p { margin: 0; color: var(--ink); opacity: 0.78; font-size: 0.98rem; line-height: 1.55; }

/* ── PROCESS (Find · Sign · Nurture · Protect) ──────────────────────── */
.process { background: var(--cream-2); }
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: 56px;
  border: 1px solid var(--rule-soft); border-radius: 14px; overflow: hidden;
  background: var(--white);
}
@media (max-width: 900px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .process-grid { grid-template-columns: 1fr; } }
.process-step { padding: 32px 28px; border-right: 1px solid var(--rule-soft); display: flex; flex-direction: column; gap: 12px; }
.process-grid > .process-step:last-child { border-right: 0; }
@media (max-width: 900px) {
  .process-grid > .process-step:nth-child(2n) { border-right: 0; }
  .process-grid > .process-step:nth-child(-n+2) { border-bottom: 1px solid var(--rule-soft); }
}
.process-step .num {
  font-family: var(--serif); font-weight: 400; font-size: 2.6rem; line-height: 1;
  color: var(--saffron); letter-spacing: -0.04em;
}
.process-step h3 { margin: 0; font-weight: 500; }
.process-step p { margin: 0; font-size: 0.95rem; line-height: 1.5; color: var(--muted); }

/* ── POWER LAW ──────────────────────────────────────────────────────── */
.power-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  margin-top: 24px;
}
@media (max-width: 900px) { .power-grid { grid-template-columns: 1fr; gap: 40px; } }
.power-numerals {
  display: flex; align-items: center; justify-content: center;
  gap: 36px; padding: 48px 0;
  background: var(--white);
  border: 1px solid var(--rule-soft); border-radius: 14px;
}
.power-numerals .big {
  font-family: var(--serif); font-weight: 400; font-style: normal;
  font-size: clamp(4rem, 11vw, 8rem); line-height: 0.9; letter-spacing: -0.04em;
}
.power-numerals .one { color: var(--ink); }
.power-numerals .ninety { color: var(--saffron); }
.power-numerals .arrow { color: var(--periwinkle); width: 56px; height: 56px; flex-shrink: 0; }

/* ── MANIFESTO PULL-QUOTE ──────────────────────────────────────────── */
.manifesto-quote {
  margin: 32px 0 0;
  padding: 8px 0 8px 32px;
  border-left: 4px solid var(--periwinkle);
  max-width: 26ch;
}
.manifesto-quote p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.028em;
  color: var(--ink);
  margin: 0;
}
.manifesto-quote em { font-style: italic; color: var(--periwinkle-deep); font-weight: 400; }
.manifesto-quote strong { font-weight: 500; }

/* ── CTA BANNER ─────────────────────────────────────────────────────── */
.cta-banner {
  background: var(--saffron);
  padding: 80px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.cta-banner .container {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center;
}
@media (max-width: 800px) { .cta-banner .container { grid-template-columns: 1fr; } }
.cta-banner h2 { max-width: 18ch; margin: 0 0 16px; }
.cta-banner p { max-width: 50ch; color: var(--ink); margin: 0 0 24px; font-size: 1.05rem; }

/* ── PAGE HERO (single + list) ─────────────────────────────────────── */
.page-hero {
  padding: 80px 0 56px;
  border-bottom: 1px solid var(--rule-soft);
}
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { margin-top: 18px; }
.page-hero .meta { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-top: 16px; }

/* ── PROSE ──────────────────────────────────────────────────────────── */
.prose {
  padding: 56px 0 100px;
  max-width: 720px;
}
.prose .cover { border-radius: 14px; margin-bottom: 32px; }
.prose h2 { margin: 56px 0 16px; font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
.prose h3 { margin: 36px 0 10px; }
.prose h5 {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--periwinkle-deep);
  font-weight: 600; margin: 28px 0 8px;
}
.prose p, .prose li { font-family: var(--sans); font-size: 1.05rem; line-height: 1.65; color: var(--ink); }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1.2em; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--periwinkle-deep); border-bottom: 1px solid currentColor; }
.prose a:hover { color: var(--ink); }
.prose img { border-radius: 12px; margin: 24px 0; }
.prose strong { font-weight: 600; }

/* ── BLOG LIST ──────────────────────────────────────────────────────── */
.post-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  padding: 48px 0 96px;
}
@media (max-width: 800px) { .post-grid { grid-template-columns: 1fr; } }
.post-card {
  display: flex; flex-direction: column; gap: 0;
  background: var(--white); border: 1px solid var(--rule-soft); border-radius: 16px;
  overflow: hidden; color: var(--ink); border-bottom: 1px solid var(--rule-soft);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.post-card:hover { transform: translateY(-3px); border-color: var(--periwinkle); color: var(--ink); }
.post-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; border-radius: 0; margin: 0; }
.post-card-body { padding: 24px 26px 28px; }
.post-card .meta { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.post-card h3 { margin: 0 0 10px; font-size: 1.5rem; line-height: 1.15; }
.post-card p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.5; }

/* ── CONTACT ────────────────────────────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  padding: 56px 0 100px;
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-radius: 16px;
  padding: 36px 32px;
}
.contact-card.feature { background: var(--coral); color: var(--white); border-color: var(--coral); }
.contact-card.feature h3, .contact-card.feature p { color: var(--white); }
.contact-card.feature a { color: var(--white); border-color: rgba(255,255,255,0.6); }
.contact-card.feature a:hover { color: var(--saffron); border-color: var(--saffron); }
.contact-card.feature .btn { background: var(--white); color: var(--ink); }
.contact-card.feature .btn:hover { background: var(--saffron); color: var(--ink); }
.contact-info { display: grid; gap: 18px; margin-top: 22px; }
.contact-info .label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-card.feature .contact-info .label { color: rgba(255,255,255,0.7); }

/* ── FOOTER ─────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--cream-2);
  padding: 64px 0 32px;
  border-top: 1px solid var(--rule-soft);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px;
  max-width: var(--max-w); margin: 0 auto; padding: 0 32px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand h4 { font-family: var(--serif); font-size: 1.4rem; margin: 0 0 8px; }
.footer-brand p { color: var(--muted); max-width: 32ch; font-size: 0.92rem; line-height: 1.55; }
.footer-grid h4 { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; color: var(--ink); margin: 0 0 12px; font-family: var(--sans); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--muted); border-bottom: 0; font-size: 0.95rem; }
.footer-grid a:hover { color: var(--ink); border-bottom: 1px solid currentColor; }
.footer-bottom {
  margin-top: 56px; padding: 20px 32px 0;
  max-width: var(--max-w); margin-left: auto; margin-right: auto;
  border-top: 1px solid var(--rule-soft);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}

/* ── UTILITIES ──────────────────────────────────────────────────────── */
.tribe-glyph { color: var(--periwinkle); }
