/* ===== CONTENT GATE (.cg-) =====
 * Shared stylesheet for /starter-kit and any future opt-in
 * content gate. Class prefix is .cg- everywhere to avoid colliding with
 * theme.css (.hero, .feature-, etc) or other page-scoped sheets.
 *
 * Design tokens come from /css/theme.css:
 *   --cream, --blush, --accent, --accent-soft, --bg-warm, --bg-accent,
 *   --sage, --fg, --fg-muted, --fg-light, --font-display, --font-body,
 *   --radius, --radius-sm
 */

.cg-shell {
  min-height: 100vh;
  background: var(--bg);
}

/* Nav */
.cg-nav {
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 900px;
  margin: 0 auto;
}
.cg-nav-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
}
.cg-nav-brand em { color: var(--accent); font-style: italic; }
.cg-nav-back {
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.cg-nav-back:hover { color: var(--accent); }

/* Hero */
.cg-hero {
  max-width: 760px;
  margin: 0 auto;
  padding: 52px 24px 0;
  text-align: center;
}
.cg-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1.5px solid var(--accent-soft);
  padding: 7px 20px;
  border-radius: 100px;
  margin-bottom: 32px;
}
.cg-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: 20px;
}
.cg-hero h1 em { color: var(--accent); font-style: italic; }
.cg-hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--fg-muted);
  font-weight: 300;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 20px;
}
.cg-no-hustle {
  font-size: 0.88rem;
  color: var(--fg-light);
  font-weight: 400;
  margin-bottom: 44px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.cg-no-hustle span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(184,197,178,0.2);
  padding: 5px 14px;
  border-radius: 100px;
}

/* ===== WHAT'S INSIDE (benefit stack) ===== */
.cg-inside {
  max-width: 720px;
  margin: 0 auto 52px;
  padding: 0 24px;
}
.cg-inside-label {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--fg-light);
  margin-bottom: 28px;
}
.cg-inside-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.cg-inside-item {
  background: var(--cream);
  border: 1px solid var(--blush);
  border-radius: 12px;
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cg-inside-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196,133,108,0.1);
}
.cg-inside-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}
.cg-inside-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 4px;
  line-height: 1.4;
}
.cg-inside-text span {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.5;
  font-weight: 300;
}
.cg-inside-item.cg-playbook-card {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #FDF0E8 0%, var(--blush) 100%);
  border-color: var(--accent-soft);
  align-items: center;
}
.cg-playbook-card .cg-inside-icon { font-size: 24px; }
.cg-playbook-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(196,133,108,0.1);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 6px;
}

/* ===== ASPIRATIONAL USE-CASE PROOF BAND ===== */
.cg-proof {
  background: var(--bg-warm);
  padding: 60px 24px;
  margin-bottom: 0;
}
.cg-proof-inner {
  max-width: 800px;
  margin: 0 auto;
}
.cg-proof-label {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--fg-light);
  margin-bottom: 12px;
}
.cg-proof-heading {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 40px;
  line-height: 1.3;
}
.cg-proof-heading em { color: var(--accent); font-style: italic; }
.cg-proof-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cg-proof-card {
  background: var(--cream);
  border: 1px solid var(--bg-accent);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.cg-proof-card-icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: block;
}
.cg-proof-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
  line-height: 1.4;
}
.cg-proof-card p {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.7;
  font-weight: 300;
}

/* ===== FORM ===== */
.cg-form-section {
  padding: 60px 24px 80px;
}
.cg-form-wrap {
  max-width: 520px;
  margin: 0 auto;
}
.cg-form-card {
  background: linear-gradient(135deg, var(--cream) 0%, #FDF0E8 100%);
  border: 1px solid var(--blush);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 4px 32px rgba(196,133,108,0.08);
}
.cg-form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
  text-align: center;
  line-height: 1.3;
}
.cg-form-title em { color: var(--accent); font-style: italic; }
.cg-form-sub {
  font-size: 0.9rem;
  color: var(--fg-muted);
  text-align: center;
  margin-bottom: 28px;
  font-weight: 300;
  line-height: 1.6;
}
.cg-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cg-input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--fg);
  background: #fff;
  border: 1.5px solid var(--bg-accent);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.cg-input:focus { border-color: var(--accent-soft); }
.cg-input::placeholder { color: var(--fg-light); }
.cg-submit {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 100px;
  padding: 17px 24px;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.3px;
}
.cg-submit:hover {
  background: #B87560;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(196,133,108,0.35);
}
.cg-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.cg-privacy {
  text-align: center;
  font-size: 0.78rem;
  color: var(--fg-light);
  margin-top: 10px;
}
.cg-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 2px 4px 10px;
  color: var(--fg-muted);
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: left;
}
.cg-consent input { margin-top: 3px; accent-color: var(--accent); }

/* Confirmation state — fallback inline CTA goes to <confirmCtaPath> */
.cg-confirm {
  display: none;
  text-align: center;
  padding: 16px 0;
}
.cg-confirm-icon { font-size: 40px; margin-bottom: 16px; }
.cg-confirm h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}
.cg-confirm h3 em { color: var(--accent); font-style: italic; }
.cg-confirm p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  font-weight: 300;
}
.cg-confirm-cta {
  display: inline-block;
  background: var(--fg);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 100px;
  text-decoration: none;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 16px rgba(44,36,32,0.18);
  transition: all 0.2s;
}
.cg-confirm-cta:hover {
  background: #1f1814;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(44,36,32,0.28);
}
@media (max-width: 600px) {
  .cg-confirm-cta { font-size: 0.95rem; padding: 14px 24px; }
}

/* Shapes */
.cg-shapes {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.cg-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
}
.cg-shape-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--blush) 0%, transparent 70%);
  top: -15%; right: -12%;
}
.cg-shape-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--sage) 0%, transparent 70%);
  bottom: -10%; left: -8%;
  opacity: 0.2;
}
.cg-content { position: relative; z-index: 1; }

/* ===== MOBILE ===== */
@media (max-width: 640px) {
  .cg-nav { padding: 16px 20px; }
  .cg-hero { padding: 36px 20px 0; }
  .cg-inside { padding: 0 16px; margin-bottom: 40px; }
  .cg-inside-grid { grid-template-columns: 1fr; }
  .cg-inside-item.cg-playbook-card { grid-column: 1; }
  .cg-proof { padding: 48px 20px; }
  .cg-proof-cards { grid-template-columns: 1fr; gap: 12px; }
  .cg-form-section { padding: 48px 16px 60px; }
  .cg-form-card { padding: 28px 22px; }
  .cg-no-hustle { gap: 6px; }
}
@media (min-width: 641px) and (max-width: 900px) {
  .cg-proof-cards { grid-template-columns: 1fr 1fr; }
}
