/* ==========================================================================
   Page-specific styles: homepage + Field Kit
   ========================================================================== */

/* ---------- Blueprint background ---------- */
.blueprint {
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(21, 94, 102, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 94, 102, .06) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
}

/* ---------- Home hero ---------- */
.hero { padding: clamp(40px, 6vw, 84px) 0 clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.hero::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 140px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(250,250,247,0), var(--bg));
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 64px); align-items: center; position: relative; z-index: 2; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.hero .h1 { margin: 18px 0 22px; }
.hero .lede { margin-bottom: 30px; }
.hero-fine { font-size: 14px; color: var(--muted); margin-top: 14px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 0; margin-top: 36px; border-top: 1px solid var(--line-2); padding-top: 22px; justify-content: start; }
.hero-stat { padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--line-2); }
.hero-stat:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-stat b { display: block; font-family: var(--font-display); font-stretch: 110%; font-size: 30px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.hero-stat span { font-size: 13px; color: var(--muted); }
@media (max-width: 560px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .hero-stat { margin-right: 0; padding-right: 12px; border-right: 0; }
}
.hero-visual { position: relative; }
.hero-img {
  background: #fff; border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 16px; position: relative;
}
.hero-img img { border-radius: 12px; }
.chip {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  padding: 10px 14px; font-size: 13px; line-height: 1.3; display: flex; gap: 10px; align-items: center; max-width: 250px;
}
.chip b { display: block; font-size: 14px; }
.chip-dot { width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-family: var(--font-mono); font-weight: 700; font-size: 13px; }
.chip-1 { left: -22px; top: 12%; }
.chip-1 .chip-dot { background: var(--teal); }
.chip-2 { right: -18px; bottom: 14%; }
.chip-2 .chip-dot { background: var(--rust); }
@media (max-width: 1100px) { .chip-1 { left: 8px; } .chip-2 { right: 8px; } }
@media (max-width: 520px) { .chip { position: static; margin-top: 10px; max-width: none; } .hero-chips { display: grid; gap: 0; } }

.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.trust-strip .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; padding-top: 18px; padding-bottom: 18px; }
.trust-item { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.trust-item svg { width: 20px; height: 20px; color: var(--teal); flex-shrink: 0; }

/* ---------- Commitments ---------- */
.commit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .commit-grid { grid-template-columns: 1fr; } }
.commit { padding: 30px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.commit-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--teal-50); color: var(--teal); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.commit-icon svg { width: 28px; height: 28px; }
.commit h3 { margin-bottom: 10px; }
.commit p { color: var(--ink-2); font-size: 16px; }

/* ---------- Curriculum ---------- */
.mod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 860px) { .mod-grid { grid-template-columns: 1fr; } }
.mod-card {
  display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 24px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: inherit; position: relative;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
a.mod-card:hover { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-2px); }
.mod-num {
  width: 64px; height: 64px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--surface-2); font-family: var(--font-mono); color: var(--muted); font-size: 10px; letter-spacing: .1em; font-weight: 700;
}
.mod-num b { font-family: var(--font-display); font-stretch: 110%; font-size: 26px; color: var(--ink); letter-spacing: -0.02em; line-height: 1; margin-top: 2px; }
.mod-card.free .mod-num { background: var(--teal); color: rgba(255,255,255,.75); }
.mod-card.free .mod-num b { color: #fff; }
.mod-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 6px; }
.mod-top h3 { font-family: var(--font-display); font-stretch: 106%; font-size: 21px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
.mod-card p { font-size: 15px; color: var(--ink-2); }
.mod-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; font-size: 14px; }
.mod-hours { white-space: nowrap; font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.mod-link { font-weight: 700; color: var(--teal); }
.mod-locked { color: var(--muted); font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.mod-locked svg { width: 14px; height: 14px; }
.curr-summary { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; padding: 18px 22px; border-radius: 12px; background: var(--surface-2); font-size: 15px; color: var(--ink-2); justify-content: space-between; align-items: center; }

/* ---------- Excerpt ---------- */
.excerpt-page {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: clamp(26px, 4vw, 48px); position: relative;
}
.excerpt-page::before { content: ''; position: absolute; left: 0; top: 24px; bottom: 24px; width: 4px; background: var(--rust); border-radius: 0 4px 4px 0; }
.excerpt-meta { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-bottom: 14px; margin-bottom: 20px; border-bottom: 1px dashed var(--line-2); }
.excerpt-meta strong { color: var(--teal); }
.excerpt-page h3 { font-family: var(--font-display); font-stretch: 108%; font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; }
.excerpt-page p { color: var(--ink-2); margin-bottom: 14px; font-size: 17px; }
.excerpt-page p strong { color: var(--ink); }
.excerpt-rule { background: var(--night); color: #fff; border-radius: 10px; padding: 20px 22px; margin: 22px 0; font-size: 16px; line-height: 1.55; border-left: 4px solid var(--amber); }
.excerpt-rule span { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: 6px; font-weight: 700; }

/* ---------- Kit promo band ---------- */
.kit-band { background: linear-gradient(135deg, var(--teal-700) 0%, var(--night) 100%); color: #fff; overflow: hidden; position: relative; }
.kit-band::before {
  content: ''; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 32px 32px;
}
.kit-band .wrap { position: relative; }
.kit-band .stack { overflow: visible; }
@media (max-width: 600px) { .kit-band .stack { transform: scale(.9); transform-origin: center top; } }
.kit-band .lede { margin-bottom: 26px; }
.kit-band .check-list { margin-bottom: 30px; }

/* ---------- Signup ---------- */
.signup-section { background: var(--night); color: #fff; }
.signup-section .h2 { margin-bottom: 16px; }
.signup-steps { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; margin: 26px 0 34px; font-size: 15px; color: rgba(255,255,255,.8); }
.signup-steps span { display: inline-flex; align-items: center; gap: 8px; }
.signup-steps b { width: 26px; height: 26px; border-radius: 50%; background: var(--amber); color: var(--night); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 13px; }
.signup-fine { font-size: 13px; color: rgba(255,255,255,.55); margin-top: 18px; }

/* ==========================================================================
   Field Kit page
   ========================================================================== */
.kit-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); text-align: center; }
.kit-hero .h1 { margin: 16px auto 20px; max-width: 16ch; }
.kit-hero .lede { margin: 0 auto 10px; }
.kit-hero .stack { margin: 34px auto 26px; }
.kit-hero-cats { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.kit-hero-cats span { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.kit-hero-fine { font-size: 14px; color: var(--muted); margin-top: 14px; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; }
.kit-hero-fine span { display: inline-flex; align-items: center; gap: 6px; }
.kit-hero-fine svg { width: 16px; height: 16px; color: var(--teal); }

.vol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .vol-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .vol-grid { grid-template-columns: 1fr; } }
.vol { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.vol-cover { background: var(--surface-2); padding: 26px 20px 22px; display: flex; justify-content: center; border-bottom: 1px solid var(--line); }
.vol-cover .book { width: 128px; }
.vol-cover .book .book-title { font-size: 14px; }
.vol-body { padding: 22px 24px 26px; }
.vol-num { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rust); }
.vol-body h3 { font-family: var(--font-display); font-stretch: 106%; font-size: 21px; font-weight: 800; margin: 6px 0 8px; letter-spacing: -0.01em; }
.vol-body p { font-size: 15px; color: var(--ink-2); }

.bonus-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 1080px) { .bonus-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .bonus-grid { grid-template-columns: 1fr; } }
.bonus { background: var(--night-2); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); padding: 24px 22px; }
.bonus-icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(226,165,41,.14); color: var(--amber); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.bonus-icon svg { width: 26px; height: 26px; }
.bonus-num { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--amber); }
.bonus h3 { font-family: var(--font-display); font-stretch: 106%; font-size: 18px; font-weight: 700; color: #fff; margin: 6px 0 8px; line-height: 1.25; }
.bonus p { font-size: 14px; color: rgba(255,255,255,.7); }

.offer {
  max-width: 640px; margin: 0 auto; background: var(--surface); border: 2px solid var(--teal); border-radius: 20px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.offer-head { background: var(--teal); color: #fff; padding: 22px 28px; text-align: center; }
.offer-head .eyebrow { color: #cfe6e6; justify-content: center; }
.offer-head h3 { font-family: var(--font-display); font-stretch: 108%; font-size: 26px; font-weight: 800; margin-top: 6px; letter-spacing: -0.01em; }
.offer-body { padding: 28px clamp(20px, 4vw, 36px) 32px; }
.offer-list { list-style: none; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 26px; }
.offer-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
.offer-list li:last-child { border-bottom: 0; }
.offer-list li span:last-child { font-family: var(--font-mono); font-size: 12px; color: var(--teal); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.offer-price { text-align: center; margin-bottom: 18px; }
.offer-price .num { font-family: var(--font-display); font-stretch: 105%; font-size: 72px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.offer-price .num sup { font-size: 32px; vertical-align: top; position: relative; top: 10px; margin-right: 2px; }
.offer-price .note { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.offer-pay { display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-top: 14px; }
.offer-pay svg { width: 16px; height: 16px; }

.guarantee { display: grid; grid-template-columns: 88px 1fr; gap: 22px; align-items: center; max-width: 760px; margin: 0 auto; padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px dashed var(--line-2); }
.guarantee-seal { width: 88px; height: 88px; border-radius: 50%; background: var(--amber); color: var(--night); display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--font-display); font-stretch: 110%; font-weight: 800; line-height: 1; box-shadow: inset 0 0 0 5px rgba(255,255,255,.4); }
.guarantee-seal b { font-size: 30px; }
.guarantee-seal span { font-family: var(--font-mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; margin-top: 3px; }
.guarantee h3 { margin-bottom: 6px; }
.guarantee p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 560px) { .guarantee { grid-template-columns: 1fr; text-align: center; } .guarantee-seal { margin: 0 auto; } }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }
.compare .card h3 { margin: 10px 0 8px; }
.compare .card p { color: var(--ink-2); font-size: 15px; margin-bottom: 18px; }
