/* ============================================================
   The Part-Time Founder's Kit — landing page
   Aesthetic: warm editorial, print-like, calm confidence
   ============================================================ */

:root {
  --bg: #f4ede0;
  --bg-soft: #faf6ee;
  --bg-card: #ffffff;
  --ink: #1a1a1a;
  --ink-soft: #3a3a3a;
  --ink-muted: #6a6a68;
  --rule: #dcd3c1;
  --accent: #b04a2f;          /* muted terracotta */
  --accent-deep: #7a3320;
  --forest: #2d3a2d;
  --term-bg: #1c1a16;
  --term-ink: #e8dfc9;
  --term-green: #9cbf6f;
  --term-amber: #d4a24a;

  --display: "Fraunces", "Georgia", serif;
  --body: "Manrope", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --max-width: 1100px;
  --text-width: 680px;
  --radius: 6px;
}

/* -------- reset -------- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;

  /* Subtle paper-grain texture */
  background-image:
    radial-gradient(rgba(0,0,0,0.018) 1px, transparent 1px),
    radial-gradient(rgba(0,0,0,0.014) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 1px 2px;
}

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

a { color: var(--accent-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

/* -------- layout -------- */

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

section {
  padding: 96px 0;
  border-top: 1px solid var(--rule);
}

section:first-of-type { border-top: none; }

@media (max-width: 640px) {
  section { padding: 64px 0; }
}

/* -------- header -------- */

.site-header {
  position: sticky;
  top: 0;
  background: rgba(244, 237, 224, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
  z-index: 50;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.wordmark {
  font-family: var(--display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  font-variation-settings: "opsz" 24, "SOFT" 40;
}
.header-cta {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  color: var(--bg-soft);
  background: var(--ink);
  padding: 9px 18px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.15s;
}
.header-cta:hover { background: var(--accent); color: var(--bg-soft); }

/* -------- eyebrow / headings -------- */

.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-title,
.section-title,
.closing-title {
  font-family: var(--display);
  font-weight: 400;
  color: var(--ink);
  font-variation-settings: "opsz" 96, "SOFT" 30, "WONK" 0;
  letter-spacing: -0.02em;
  line-height: 1.02;
}

.hero-title {
  font-size: clamp(44px, 8.5vw, 96px);
  margin: 0 0 28px;
  font-weight: 350;
}

.section-title {
  font-size: clamp(36px, 5.5vw, 60px);
  margin: 0 0 24px;
}

.closing-title {
  font-size: clamp(34px, 5vw, 56px);
  margin: 0 0 20px;
}

.hero-subhead,
.section-lede,
.closing-subhead {
  max-width: var(--text-width);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0 0 40px;
}

/* -------- hero -------- */

.hero {
  padding-top: 88px;
  padding-bottom: 72px;
}

.hero-inner { max-width: 900px; }

.price-block {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding-top: 12px;
}

.price {
  font-family: var(--display);
  font-size: 56px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  font-variation-settings: "opsz" 48, "SOFT" 20;
}
.price-note {
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink-muted);
}
.earlybird {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  background: rgba(176, 74, 47, 0.08);
  border: 1px solid rgba(176, 74, 47, 0.28);
  padding: 6px 12px;
  border-radius: 4px;
  margin-left: auto;
}
.earlybird strong { font-weight: 600; }

/* -------- CTAs -------- */

.cta-primary {
  display: inline-block;
  font-family: var(--body);
  font-size: 17px;
  font-weight: 600;
  color: var(--bg-soft);
  background: var(--ink);
  padding: 18px 32px;
  border-radius: 6px;
  text-decoration: none;
  transition: transform 0.15s, background 0.15s;
}
.cta-primary:hover {
  background: var(--accent);
  color: var(--bg-soft);
  transform: translateY(-1px);
}
.cta-primary.big {
  padding: 22px 44px;
  font-size: 19px;
}

.trust-line {
  font-size: 14px;
  color: var(--ink-muted);
  margin-top: 16px;
}

/* -------- terminal demo -------- */

.terminal-frame {
  margin-top: 72px;
  max-width: 880px;
  background: var(--term-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(40, 30, 20, 0.18),
              0 4px 12px rgba(40, 30, 20, 0.08);
}
.terminal-chrome {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: #29241c;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  gap: 8px;
}
.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}
.dot.red { background: #e56a54; }
.dot.amber { background: #d4a24a; }
.dot.green { background: #9cbf6f; }
.terminal-title {
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(232, 223, 201, 0.55);
  margin-left: 14px;
}
.terminal-body {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--term-ink);
  line-height: 1.7;
  padding: 24px 28px 28px;
}
.terminal-body p { margin: 0; }
.terminal-body .prompt { color: var(--term-green); margin-right: 8px; }
.terminal-body .muted { color: rgba(232, 223, 201, 0.55); margin-bottom: 8px; }
.terminal-body .out { color: var(--term-amber); margin: 4px 0 18px; }
.terminal-body .section-head {
  color: var(--term-green);
  margin-top: 14px;
  margin-bottom: 6px;
}
.terminal-body .bullet { padding-left: 20px; position: relative; }
.terminal-body .bullet::before {
  content: "›";
  position: absolute;
  left: 0;
  color: rgba(232, 223, 201, 0.35);
}

/* -------- skills -------- */

.included .section-lede { margin-bottom: 64px; }

.skills {
  list-style: none;
  padding: 0;
  margin: 0 0 72px;
  counter-reset: s;
}
.skill {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 36px 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}
.skill:last-child { border-bottom: 1px solid var(--rule); }
.skill-num {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  font-variation-settings: "opsz" 36;
  padding-top: 6px;
}
.skill h3 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.skill p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 620px;
}

.bonuses {
  border-top: 2px solid var(--ink);
  padding-top: 32px;
  margin-top: 24px;
  max-width: 620px;
}
.bonuses h4 {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 16px;
}
.bonuses ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.bonuses li {
  padding: 10px 0;
  padding-left: 24px;
  position: relative;
  color: var(--ink-soft);
}
.bonuses li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: var(--mono);
}

/* -------- built-for personas -------- */

.personas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.persona {
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  padding: 32px;
  border-radius: var(--radius);
}
.persona h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.persona p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.55;
}

@media (max-width: 720px) {
  .personas { grid-template-columns: 1fr; }
  .persona { padding: 24px; }
}

/* -------- trust section -------- */

.trust { background: var(--bg-soft); }
.trust-paragraph {
  max-width: var(--text-width);
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 20px;
}
.trust-paragraph.muted { color: var(--ink-muted); font-size: 16px; }

/* -------- closing -------- */

.closing {
  text-align: center;
  padding: 128px 0;
  background: var(--ink);
  color: var(--bg-soft);
  border-top: none;
}
.closing .closing-title { color: var(--bg-soft); }
.closing .closing-subhead {
  color: rgba(244, 237, 224, 0.75);
  margin-left: auto;
  margin-right: auto;
}
.closing .cta-primary {
  background: var(--bg-soft);
  color: var(--ink);
  margin-top: 12px;
}
.closing .cta-primary:hover {
  background: var(--accent);
  color: var(--bg-soft);
}
.closing .trust-line { color: rgba(244, 237, 224, 0.55); }

/* -------- FAQ -------- */

.faq-list { margin-top: 40px; max-width: 820px; }
.faq-item {
  border-top: 1px solid var(--rule);
  padding: 24px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--rule); }
.faq-item summary {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: -0.005em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 24px;
  color: var(--accent);
  font-weight: 300;
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item p {
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.6;
  max-width: 700px;
}

/* -------- footer -------- */

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 48px 0 56px;
  font-size: 14px;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
}
.footer-byline { margin: 0; color: var(--ink-soft); max-width: 520px; }
.footer-nav { display: flex; gap: 24px; }
.footer-nav a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); padding-bottom: 2px; }
.footer-nav a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.footer-micro { margin: 0; color: var(--ink-muted); width: 100%; margin-top: 8px; }

/* -------- reveal animation -------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0s !important;
    transition-duration: 0s !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* -------- responsive tweaks -------- */

@media (max-width: 560px) {
  body { font-size: 17px; }
  .hero { padding-top: 56px; padding-bottom: 40px; }
  .price-block { flex-direction: column; align-items: flex-start; gap: 10px; }
  .earlybird { margin-left: 0; }
  .skill { grid-template-columns: 60px 1fr; gap: 16px; padding: 28px 0; }
  .skill-num { font-size: 28px; }
  .skill h3 { font-size: 22px; }
  .cta-primary.big { padding: 18px 28px; font-size: 17px; width: 100%; text-align: center; }
}
