/* Amanda Kendall — Capacity Creator
   Premium, editorial, business-serious. White ground, sage accent, black ink.
   Fonts are loaded via <link> in <head>, not @import — avoids a request waterfall. */

:root {
  --ink: #17191a;
  --ink-soft: #4a4f4c;
  --sage: #5f6960;
  --sage-light: #9daf9f;
  --sage-pale: #eef1ee;
  --paper: #ffffff;
  --line: #e4e4e0;
  --btn-bg: #ffffff;
  --btn-bg-hover: #fafcfe;
  --btn-border: #d7d7d3;
  --btn-text: #3f433f;
  --btn-shadow: rgba(140, 188, 224, 0.45);
  --btn-shadow-hover: rgba(140, 188, 224, 0.65);
  --max: 46rem;
  --max-wide: 58rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, .display {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}

a { color: var(--sage); text-decoration-color: var(--sage-light); }
a:hover { color: var(--ink); }

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-wide {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  background: var(--paper);
}
.site-header .row {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 1.35rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand img { height: 65px; width: auto; }
.brand { display: inline-flex; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 1.75rem;
  border-radius: 2px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--btn-bg);
  color: var(--btn-text);
  border: 1px solid var(--btn-border);
  box-shadow: 0 6px 18px var(--btn-shadow);
}
.btn-primary:hover {
  background: var(--btn-bg-hover);
  border-color: var(--btn-border);
  color: var(--btn-text);
  box-shadow: 0 8px 22px var(--btn-shadow-hover);
}

/* Hero */
.hero {
  padding-top: calc(5rem - 25px);
  padding-bottom: 3.5rem;
  text-align: center;
}
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.25rem;
  display: block;
}
.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3rem);
  max-width: 30rem;
  margin-left: auto;
  margin-right: auto;
  animation: drop-in 1.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes drop-in {
  from {
    opacity: 0;
    transform: translateY(-22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero h1 { animation: none; }
}
.hero .sub {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ink-soft);
  margin-top: 0.25rem;
}
.hero .lede {
  max-width: 34rem;
  margin: 1.75rem auto 0;
  color: var(--ink-soft);
}
.hero .cta { margin-top: 2.25rem; }
.hero .cta-note {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* Divider */
.divider {
  width: 46px;
  height: 1px;
  background: var(--sage-light);
  border: none;
  margin: 3rem auto;
}

/* Prose sections */
section.prose {
  padding-top: 0.5rem;
  padding-bottom: 2.5rem;
}
section.prose p { margin: 0 0 1.15rem; }
section.prose p:last-child { margin-bottom: 0; }
.intro-prose { padding-top: 4.5rem; }
.lead-in { padding-top: 4.5rem; }

@media (max-width: 640px) {
  .intro-prose { padding-top: 3rem; }
  .lead-in { padding-top: 3rem; }
}

/* Manifesto lines */
.manifesto {
  text-align: center;
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
}
.manifesto p {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight: 600;
  margin: 0.3rem 0;
  line-height: 1.35;
}

/* Byline / credibility card */
.byline {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  margin: 2rem 0;
  box-shadow: 0 6px 18px var(--btn-shadow);
}
.byline img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--line);
}
.byline .name {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 0.15rem;
}
.byline .role {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0;
}

/* Close section */
.close-section {
  text-align: center;
  padding-top: 3rem;
  padding-bottom: 5rem;
}
.close-section p { color: var(--ink-soft); max-width: 32rem; margin: 0 auto 1.75rem; }
.close-section .urgency {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--sage);
  font-weight: 600;
  margin-top: 1.25rem;
}

/* Invite page specifics */
.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  border: 1px solid var(--sage-light);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1.5rem;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
}
.pillar {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.6rem 1.4rem;
}
.pillar .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--sage);
  color: var(--sage);
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}
.pillar h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.pillar p { font-size: 0.9375rem; color: var(--ink-soft); margin: 0; }

@media (max-width: 700px) {
  .pillars { grid-template-columns: 1fr; }
}

.phase {
  padding: 2.25rem 0;
  border-top: 1px solid var(--line);
}
.phase:first-of-type { border-top: none; }
.phase .phase-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.6rem;
  display: block;
}
.phase h3 { font-size: 1.4rem; margin-bottom: 0.9rem; }
.phase ul { margin: 1rem 0 0; padding-left: 1.2rem; }
.phase li { margin-bottom: 0.5rem; color: var(--ink-soft); }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  text-align: center;
  margin: 2.5rem 0;
}
.stat-row .stat {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.5rem 1rem;
}
.stat-row h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 0.6rem;
}
.stat-row p { margin: 0; font-size: 0.9rem; color: var(--ink-soft); }

@media (max-width: 700px) {
  .stat-row { grid-template-columns: 1fr; }
}

.investment-box {
  border: 1px solid var(--sage-light);
  background: var(--sage-pale);
  border-radius: 4px;
  padding: 2rem;
  text-align: center;
  margin: 2.5rem 0;
}
.investment-box .price {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  font-weight: 700;
  margin: 0.4rem 0;
}
.investment-box p { color: var(--ink-soft); margin: 0.4rem 0 0; }

.steps {
  counter-reset: step;
  list-style: none;
  margin: 2rem 0;
  padding: 0;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.5rem;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.15rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

/* Legal pages */
.legal h2 { font-size: 1.3rem; margin-top: 2.25rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal .updated { font-size: 0.85rem; color: var(--sage); margin-bottom: 2.5rem; display: block; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0;
  margin-top: 2rem;
}
.site-footer .row {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
}
.site-footer .mark { display: inline-flex; align-items: center; justify-content: center; }
.site-footer .mark img { height: 46px; width: auto; }
.site-footer .fine { font-size: 0.8rem; color: var(--ink-soft); line-height: 1.6; }
.site-footer nav a {
  font-size: 0.8rem;
  color: var(--ink-soft);
  text-decoration: none;
  margin: 0 0.6rem;
}
.site-footer nav a:hover { color: var(--sage); }

@media (max-width: 640px) {
  .hero { padding-top: calc(3.5rem - 25px); padding-bottom: 2.5rem; }

  .byline {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 2rem 1.5rem;
  }
  .byline img {
    width: 88px;
    height: 88px;
  }
}
