/* Kit shop and detail pages.
   The palette and the two typefaces are the site's — navy and amber, Instrument
   Serif for headings, Inter for everything else — so a page that asks for money
   (or an email) does not look like it came from somewhere else. */

:root {
  --navy: #0F1F3D;
  --navy-mid: #1A3260;
  --amber: #E8A838;
  --amber-light: #F5C05A;
  --cream: #FBF9F5;
  --white: #fff;
  --line: #E5E0D8;
  --muted: #6B7280;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1a1a1a;
  background: var(--cream);
  line-height: 1.6;
}

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }
.block { padding: 56px 24px; }
.block > h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(24px, 4vw, 34px);
  color: var(--navy);
  margin: 0 0 24px;
}

/* ── Navigation, matching the homepage ─────────────────────────────────── */
nav {
  background: var(--navy);
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.brand {
  font-family: 'Instrument Serif', serif;
  font-size: 22px;
  color: var(--white);
  text-decoration: none;
}
.nav-links { display: flex; gap: 24px; flex-wrap: wrap; }
.nav-link {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-link:hover { color: var(--white); }

@media (max-width: 640px) {
  nav { padding: 14px 16px; flex-direction: column; align-items: flex-start; gap: 8px; }
  .nav-links { width: 100%; justify-content: space-between; gap: 10px; }
  .nav-link { font-size: 11px; }
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.kit-hero {
  background: var(--navy);
  color: var(--white);
  padding: 64px 24px 72px;
  text-align: center;
}
.kit-hero h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(30px, 6vw, 50px);
  margin: 0 0 14px;
  line-height: 1.15;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 12px;
  font-weight: 600;
}
.kit-hero .lede {
  font-size: clamp(17px, 2.4vw, 21px);
  color: var(--amber-light);
  max-width: 700px;
  margin: 0 auto 16px;
}
.kit-hero .summary {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 640px;
  margin: 0 auto 28px;
}
.beta-flag {
  display: inline-block;
  margin: 14px 0 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(232, 168, 56, 0.16);
  border: 1px solid rgba(232, 168, 56, 0.4);
  color: var(--amber-light);
  font-size: 13px;
  font-weight: 600;
}
.kit-card .beta-flag {
  display: block;
  margin: 10px 0 0;
  text-align: center;
  background: #FEF3C7;
  border-color: #E8A838;
  color: #7C4A03;
}
.beta-lede { font-size: 15px !important; }
.beta-why {
  max-width: 560px;
  margin: 22px auto 0;
  padding: 16px 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  text-align: left;
  line-height: 1.65;
}

.kit-hero .meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin: 18px 0 0;
}

.btn-primary {
  display: inline-block;
  background: var(--amber);
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}
.btn-primary:hover { background: var(--amber-light); transform: translateY(-1px); }

/* ── The shop grid ─────────────────────────────────────────────────────── */
.kit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.kit-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
  display: flex;
  flex-direction: column;
}
.kit-card h2 {
  font-family: 'Instrument Serif', serif;
  font-size: 25px;
  margin: 0 0 8px;
}
.kit-card h2 a { color: var(--navy); text-decoration: none; }
.kit-card h2 a:hover { text-decoration: underline; }
.kit-card .tagline { font-weight: 600; color: var(--navy); margin: 0 0 10px; font-size: 15px; }
.kit-card .summary { font-size: 14px; color: #444; margin: 0 0 14px; }
.kit-card .meta { font-size: 12px; color: var(--muted); margin: 0 0 20px; }
.kit-card .btn-primary { margin-top: auto; text-align: center; }

/* ── Problems and reasons ──────────────────────────────────────────────── */
.problems, .reasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.problem, .reason {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: 8px;
  padding: 22px 24px;
}
.problem h3, .reason h3 {
  font-size: 16px;
  color: var(--navy);
  margin: 0 0 10px;
}
.problem p, .reason p { margin: 0; font-size: 14.5px; color: #333; }

.ticks { list-style: none; padding: 0; margin: 0; max-width: 760px; }
.ticks li {
  padding: 11px 0 11px 30px;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-size: 15px;
}
.ticks li::before {
  content: "→";
  position: absolute;
  left: 4px;
  color: var(--amber);
  font-weight: 700;
}
.ticks li:last-child { border-bottom: none; }

.scope { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.scope p { max-width: 780px; font-size: 14.5px; color: #444; }

.muted { color: var(--muted); font-size: 14.5px; max-width: 720px; }
.tools { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.tools a {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px;
  color: var(--navy);
  text-decoration: none;
}
.tools a:hover { border-color: var(--navy); }

/* ── The email gate ────────────────────────────────────────────────────── */
.gate {
  background: var(--navy);
  color: var(--white);
  border-radius: 14px;
  padding: 44px 32px;
  text-align: center;
}
.gate h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(24px, 4vw, 32px);
  margin: 0 0 12px;
}
.gate > p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 auto 24px;
  font-size: 15px;
}
.gate-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 520px;
  margin: 0 auto;
}
.gate-form input {
  flex: 1 1 260px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: 15px;
  font-family: inherit;
}
.gate-form input::placeholder { color: rgba(255, 255, 255, 0.4); }
.gate-form input:focus { outline: 2px solid var(--amber); border-color: transparent; }
.gate-form button {
  background: var(--amber);
  color: var(--navy);
  border: none;
  padding: 13px 26px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}
.gate-form button:hover { background: var(--amber-light); }
.gate-form button[disabled] { opacity: 0.6; cursor: default; }

#paypal-button-container {
  max-width: 320px;
  margin: 0 auto;
}

.gate-status {
  flex-basis: 100%;
  margin: 6px 0 0;
  font-size: 14px;
  min-height: 20px;
  color: var(--amber-light);
}
.gate-status a { color: var(--white); font-weight: 600; }
.gate-status.error { color: #FCA5A5; }

.fineprint { font-size: 12.5px; color: rgba(255, 255, 255, 0.45); margin: 20px 0 0; }
.fineprint a { color: rgba(255, 255, 255, 0.7); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ── The card that appears beside tools and articles ───────────────────── */
.kit-promo {
  max-width: 760px;
  margin: 40px auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber);
  border-radius: 10px;
  padding: 24px 26px;
}
.kit-promo .eyebrow { color: var(--navy); opacity: 0.55; }
.kit-promo h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 21px;
  color: var(--navy);
  margin: 0 0 8px;
}
.kit-promo p { font-size: 14.5px; color: #444; margin: 0 0 16px; }
.kit-promo a.btn-small {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 7px;
  text-decoration: none;
}
.kit-promo a.btn-small:hover { background: var(--navy-mid); }

/* ── Footer ────────────────────────────────────────────────────────────── */
footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.55);
  padding: 32px 24px;
  text-align: center;
  font-size: 13px;
}
footer a { color: rgba(255, 255, 255, 0.75); }
footer .disclaimer { font-size: 12px; opacity: 0.65; margin: 8px 0 0; }
