/* The Switched ON Library — brand system per brand-design-guidelines (v2) */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  --black: #050309;
  --cream: #F5F0FF;
  --lavender: #9D8AA8;
  --orange: #FF8C42;
  --red: #E63946;
  --hot-pink: #FF1493;
  --magenta: #C71585;
  --purple: #7B2FBE;
  --blue: #2D7DD2;
  --lime: #B7FF3C;
  --font-heading: 'Recoleta', 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --spectrum: linear-gradient(135deg, #FF8C42, #E63946, #FF1493, #C71585, #7B2FBE, #2D7DD2);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Signature spectrum hairline, every page */
.spectrum-bar {
  height: 4px;
  background: var(--spectrum);
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 28px; }

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 0 28px;
}
header.site img.wordmark { width: 190px; height: auto; display: block; }
header.site a { text-decoration: none; }
header.site .nav-link {
  font-size: 13px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--lavender);
}
header.site .nav-link:hover { color: var(--cream); }

.eyebrow {
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lavender);
}
.eyebrow.lime { color: var(--lime); }

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.12;
  color: var(--cream);
}

.hero { padding: 72px 0 64px; }
.hero h1 { font-size: clamp(44px, 7vw, 76px); max-width: 15ch; margin: 20px 0 24px; }
.hero .accent-gradient {
  display: inline-block;
  width: fit-content;
  background: var(--spectrum);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.sub { font-size: 19px; max-width: 56ch; color: var(--cream); }
.hero p.meta { margin-top: 18px; color: var(--lavender); font-size: 15px; }

/* Gate */
.gate {
  border: 1px solid rgba(245, 240, 255, 0.28);
  padding: 44px 40px;
  margin: 8px 0 88px;
}
.gate h2 { font-size: 30px; margin: 14px 0 10px; }
.gate p { color: var(--cream); max-width: 60ch; }
.gate .step { margin-top: 32px; }
.gate .step-label {
  font-weight: 700; font-size: 13px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--lime);
}
.gate form { margin-top: 12px; }
.field-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; }
input[type="text"], input[type="email"] {
  background: transparent;
  border: 1px solid rgba(245, 240, 255, 0.4);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 15px 16px;
  flex: 1 1 240px;
  border-radius: 0;
}
input[type="text"]::placeholder, input[type="email"]::placeholder { color: var(--lavender); }
input[type="text"]:focus, input[type="email"]:focus { outline: 2px solid var(--lime); outline-offset: -1px; }

.follow-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--cream);
  font-weight: 500; font-size: 13px; letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 22px;
  text-decoration: none;
  cursor: pointer;
}
.btn-secondary:hover { border-color: var(--lime); color: var(--lime); }

.check-row { display: flex; align-items: flex-start; gap: 12px; margin-top: 16px; }
.check-row input { width: 20px; height: 20px; accent-color: #B7FF3C; margin-top: 3px; }
.check-row label { color: var(--cream); }
.check-row .hush { color: var(--lavender); font-size: 14px; display: block; }

.btn-primary {
  display: inline-block;
  background: var(--cream);
  color: var(--black);
  border: none;
  font-family: var(--font-body);
  font-weight: 700; font-size: 14px; letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 18px 36px;
  margin-top: 28px;
  cursor: pointer;
  border-radius: 0;
}
.btn-primary:hover { background: var(--lime); }
.gate .error { color: var(--hot-pink); margin-top: 14px; font-weight: 500; display: none; }
.gate .fine { color: var(--lavender); font-size: 13.5px; margin-top: 18px; }
.already { margin: -56px 0 80px; }
.already a { color: var(--lime); }

/* Shelves preview on landing */
.shelves-preview { padding-bottom: 96px; }
.shelves-preview h2 { font-size: 34px; margin: 12px 0 30px; }
.shelf-line {
  display: flex; align-items: baseline; gap: 18px;
  padding: 20px 0; border-top: 1px solid rgba(157, 138, 168, 0.35);
}
.shelf-line:last-child { border-bottom: 1px solid rgba(157, 138, 168, 0.35); }
.shelf-line .count { font-family: var(--font-heading); font-size: 26px; min-width: 44px; }
.shelf-line .name { font-weight: 700; font-size: 17px; }
.shelf-line .desc { color: var(--lavender); font-size: 15.5px; }

/* Library */
.lib-head { padding: 56px 0 8px; }
.lib-head h1 { font-size: clamp(38px, 5.5vw, 58px); margin: 16px 0 14px; }
.lib-head p { color: var(--lavender); max-width: 60ch; }
.filter { margin: 30px 0 10px; }
.filter input { max-width: 420px; }

section.shelf { padding: 48px 0 10px; }
.shelf-head { display: flex; align-items: baseline; gap: 16px; border-bottom: 1px solid rgba(157, 138, 168, 0.35); padding-bottom: 14px; }
.shelf-head h2 { font-size: 32px; }
.shelf-head .shelf-eyebrow {
  font-weight: 500; font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
}
.shelf-head .blurb { color: var(--lavender); font-size: 15px; margin-left: auto; text-align: right; max-width: 34ch; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
  padding: 26px 0 22px;
}
a.card {
  display: flex; flex-direction: column; gap: 10px;
  border: 1px solid rgba(245, 240, 255, 0.22);
  padding: 30px 28px;
  text-decoration: none;
  color: var(--cream);
  border-radius: 2px;
  transition: border-color .15s ease, transform .15s ease;
}
a.card:hover { border-color: var(--cream); transform: translateY(-2px); }
.card .card-eyebrow { font-weight: 500; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }
.card h3 { font-size: 24px; line-height: 1.15; }
.card p { color: var(--lavender); font-size: 15px; }
.card .go { margin-top: auto; padding-top: 12px; font-weight: 700; font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cream); }

/* Coming-soon cards (drip mode) */
.card.coming { opacity: 0.55; cursor: default; }
.card.coming:hover { border-color: rgba(245, 240, 255, 0.22); transform: none; }
.card.coming .go { color: var(--lavender); }

/* Kit-page mini-gate: promise visible, meat behind the latch */
.kit-gate { margin: 40px 0 8px; max-width: 70ch; }
.kit-gate .follow-row { margin-top: 18px; }
html.has-pass .kit-gate { display: none; }
html:not(.has-pass) .kit-body { display: none; }

/* Reviewer mode */
.review-banner {
  border: 1px solid var(--lime);
  padding: 22px 26px;
  margin: 30px 0 6px;
  max-width: 70ch;
}
.review-banner .label {
  font-weight: 700; font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--lime); margin-bottom: 8px;
}
.review-banner p { font-size: 15.5px; }
.review-banner .review-actions { margin-top: 12px; }
.review-banner a { color: var(--lime); text-decoration: none; font-size: 14px; }

.rev-list { border-top: 1px solid rgba(157, 138, 168, 0.35); }
.rev-row {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(157, 138, 168, 0.25);
  transition: opacity .15s ease;
}
.rev-row .rev-check { width: 20px; height: 20px; accent-color: #B7FF3C; flex-shrink: 0; cursor: pointer; }
.rev-row .rev-shelf {
  font-size: 11px; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; width: 190px; flex-shrink: 0;
}
.rev-row .rev-title { color: var(--cream); text-decoration: none; font-size: 17px; flex: 1; }
.rev-row .rev-title:hover { color: var(--lime); }
.rev-row .rev-when { font-size: 13px; text-align: right; flex-shrink: 0; }

@media (max-width: 720px) {
  .rev-row { flex-wrap: wrap; gap: 8px 12px; }
  .rev-row .rev-shelf { width: auto; }
  .rev-row .rev-title { flex: 1 1 100%; order: 3; }
  .rev-row .rev-when { order: 4; text-align: left; }
}

@media print { .review-banner { display: none !important; } }

/* Resource pages */
article.kit { padding: 48px 0 40px; }
article.kit .promise { font-size: 20px; color: var(--cream); margin-top: 18px; max-width: 56ch; }
article.kit h1 { font-size: clamp(38px, 5.5vw, 60px); margin-top: 16px; max-width: 20ch; }
article.kit .meta { color: var(--lavender); font-size: 14.5px; margin-top: 14px; letter-spacing: 0.06em; }
article.kit .intro { margin-top: 34px; max-width: 66ch; }
article.kit .intro p + p { margin-top: 16px; }
article.kit section { margin-top: 48px; max-width: 70ch; }
article.kit section h2 { font-size: 30px; margin-bottom: 14px; }
article.kit section p { margin-bottom: 14px; max-width: 66ch; }
article.kit ul.items { list-style: none; margin-top: 8px; }
article.kit ul.items li {
  padding: 13px 0 13px 26px;
  border-bottom: 1px solid rgba(157, 138, 168, 0.25);
  position: relative;
  font-size: 16.5px;
}
article.kit ul.items li::before {
  content: "";
  position: absolute; left: 2px; top: 24px;
  width: 8px; height: 8px;
  background: var(--kit-accent, #B7FF3C);
}
article.kit ul.items li strong { color: var(--cream); }
.do-today {
  border: 1px solid var(--kit-accent, #B7FF3C);
  padding: 30px 32px;
  margin-top: 56px;
  max-width: 70ch;
}
.do-today .label { font-weight: 700; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--kit-accent, #B7FF3C); }
.do-today p { margin-top: 10px; font-size: 18px; }

.kit-nav {
  display: flex; justify-content: space-between; gap: 16px;
  border-top: 1px solid rgba(157, 138, 168, 0.35);
  margin-top: 64px; padding: 26px 0 10px;
}
.kit-nav a { color: var(--lavender); text-decoration: none; font-size: 14.5px; }
.kit-nav a:hover { color: var(--cream); }
.print-row { margin-top: 26px; }

footer.site {
  border-top: 1px solid rgba(157, 138, 168, 0.35);
  margin-top: 88px;
  padding: 36px 0 56px;
  color: var(--lavender);
  font-size: 14px;
}
footer.site a { color: var(--cream); text-decoration: none; }
footer.site a:hover { color: var(--lime); }
footer.site .foot-row { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 10px; }

@media (max-width: 640px) {
  .shelf-head { flex-wrap: wrap; }
  .shelf-head .blurb { margin-left: 0; text-align: left; }
  .gate { padding: 32px 22px; }
}

/* Print: kits become clean one-pagers (doc rules: light surface for print) */
@media print {
  .spectrum-bar, header.site, .kit-nav, .print-row, footer.site { display: none !important; }
  body { background: #fff; color: #050309; font-size: 12pt; }
  h1, h2, h3, article.kit .promise, article.kit section p, .card p { color: #050309; }
  article.kit .meta, article.kit ul.items li { color: #050309; border-color: #ccc; }
  .do-today { border-color: #050309; }
  .do-today .label { color: #050309; }
}

/* Parked mode (9 Oct 2026): the box first, the kit title underneath; once unlocked, the title sits above the kit */
.kit.parked .kit-gate { margin-top: 24px; }
.kit.parked .parked-title { margin-top: 28px; }
html.has-pass .kit.parked .parked-title { margin-top: 0; }
.parked-done { font-size: 1.15rem; margin: 24px 0 48px; }

/* phone fit (9 Oct 2026) */
*, *::before, *::after { box-sizing: border-box; }
.gate, .kit-gate { max-width: 100%; }
.gate input[type=email], .gate input[type=text] { max-width: 100%; min-width: 0; }
.check-row label { min-width: 0; overflow-wrap: anywhere; }

/* Light kits (opt in per kit with "theme": "light"). White page so it prints well,
   brand pastel panels to break up the sections, cherry headings. Added 12 Oct 2026. */
body:has(article.kit.light) { background: #FFFFFF; color: #1C1026; }
body:has(article.kit.light) header.site .nav-link,
body:has(article.kit.light) footer.site { color: #6B5470; }
body:has(article.kit.light) footer.site a { color: #A81254; }
body:has(article.kit.light) footer.site { border-top-color: #EBD9E3; }
article.kit.light { --kit-accent: #A81254; }
article.kit.light h1, article.kit.light h2 { color: #5E0F1E; }
article.kit.light .promise, article.kit.light ul.items li strong, article.kit.light .gate p,
article.kit.light .check-row label { color: #1C1026; }
article.kit.light .eyebrow { color: #A81254 !important; }
article.kit.light .intro { font-size: 18px; }
article.kit.light section { max-width: 76ch; padding: 30px 32px 22px; border-radius: 22px; margin-top: 28px; }
article.kit.light section:nth-of-type(4n+1) { background: #FBE3EE; }
article.kit.light section:nth-of-type(4n+2) { background: #EEE6FA; }
article.kit.light section:nth-of-type(4n+3) { background: #FFE9DC; }
article.kit.light section:nth-of-type(4n+4) { background: #E3EEFB; }
article.kit.light section.tone-card { background: #FFFFFF; border: 3px solid #A81254; }
article.kit.light ul.items li { border-bottom-color: rgba(94, 15, 30, 0.14); }
article.kit.light ul.items li:last-child { border-bottom: 0; }
article.kit.light .do-today { background: #5E0F1E; color: #F5F0FF; border: 0; border-radius: 22px; }
article.kit.light .do-today .label { color: #F4FF2E; }
article.kit.light .btn-secondary { color: #5E0F1E; border-color: #5E0F1E; background: transparent; }
article.kit.light .kit-gate input[type=email] { background: #FFFFFF; color: #1C1026; border-color: #C9A9B8; }
article.kit .shots { display: flex; flex-direction: column; gap: 18px; margin: 16px 0 10px; }
article.kit .shot { margin: 0; }
article.kit .shot img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 10px 30px rgba(40, 0, 15, 0.18); }
article.kit .shot figcaption { font-size: 14px; margin-top: 8px; color: #6B5470; }
@media print {
  body:has(article.kit.light) { background: #FFFFFF !important; }
  article.kit.light section, article.kit.light .do-today { -webkit-print-color-adjust: exact; print-color-adjust: exact; break-inside: avoid; }
}

/* Light kits, round 2 (12 Oct 2026): hero band, "on this page" card, numbered sections,
   step screenshots and copy buttons, after the Actionable AI guide and PDF benchmarks. */
article.kit.light .parked-title { background: #FBE3EE; border-radius: 26px; padding: 34px 34px 30px; margin-top: 22px; }
article.kit.light .parked-title h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.02; }
article.kit.light .parked-title .eyebrow { margin: 0; }
article.kit.light .inside { margin-top: 30px; max-width: 76ch; background: #FFFFFF; border: 2px solid #1C1026; border-left: 10px solid #A81254; border-radius: 6px; box-shadow: 10px 10px 0 #1C1026; padding: 22px 26px 18px; }
article.kit.light .inside .label { font-weight: 700; font-size: 12.5px; letter-spacing: 0.2em; text-transform: uppercase; color: #A81254; }
article.kit.light .inside ol { list-style: none; margin-top: 10px; }
article.kit.light .inside li + li { border-top: 1px solid #EBD9E3; }
article.kit.light .inside a { display: flex; gap: 14px; padding: 9px 0; color: #1C1026; text-decoration: none; font-weight: 500; }
article.kit.light .inside a span { color: #A81254; font-weight: 700; font-variant-numeric: tabular-nums; }
article.kit.light .inside a:hover { color: #A81254; }
article.kit.light section { scroll-margin-top: 20px; }
article.kit.light section h2 { display: flex; align-items: baseline; gap: 16px; padding-bottom: 12px; border-bottom: 4px solid #1C1026; margin-bottom: 18px; }
article.kit.light .sec-num { font-family: var(--font-body); font-weight: 700; font-size: 20px; color: #A81254; letter-spacing: 0.04em; }
article.kit.light .shots { counter-reset: step; }
article.kit.light .shot { counter-increment: step; background: #FFFFFF; border-radius: 16px; padding: 14px; box-shadow: 0 8px 24px rgba(40, 0, 15, 0.10); }
article.kit.light .shot figcaption { font-size: 15.5px; font-weight: 700; color: #1C1026; margin: 0 0 10px; display: flex; gap: 10px; align-items: center; }
article.kit.light .shot figcaption::before { content: counter(step, decimal-leading-zero); background: #5E0F1E; color: #F5F0FF; font-size: 13px; padding: 4px 9px; border-radius: 6px; }
article.kit.light .shot { display: flex; flex-direction: column-reverse; }
article.kit.light .shot img { box-shadow: none; }
.copy-btn { font: 700 13.5px var(--font-body); letter-spacing: 0.04em; background: #5E0F1E; color: #F5F0FF; border: 0; border-radius: 999px; padding: 8px 16px; cursor: pointer; margin: 4px 0 14px; display: inline-block; }
section.copy-quotes li .copy-btn { margin: 10px 0 0; display: block; }
.copy-btn:hover { background: #A81254; }
@media print { .copy-btn { display: none !important; } article.kit.light .inside { box-shadow: none; } }
article.kit.light ul.items li::before { background: #A81254; }
article.kit.light .btn-primary { background: #A81254; color: #FFFFFF; } article.kit.light .btn-primary:hover { background: #5E0F1E; }

/* 13 Oct 2026: this page is not gated. Everything shows without a sign-up. */
.kit-open { display: block; }
