/* ============================================================
   WellServe — components.css
   The component library. Every visual pattern used more than
   once lives here, named as a component (not tied to a page).
   ============================================================ */

img{ border-radius: 0; } /* placeholder — overridden per-component below where needed */

/* ============================================================
   LOGO / HEADER
   ============================================================ */
header{ background: var(--navy); border-bottom: 1px solid var(--rule-dark); }
.logo{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.logo::after{ content:""; width:7px; height:7px; border-radius:50%; background: var(--amber); margin-left:6px; align-self:center; }

nav.links a{
  color: rgba(255,255,255,0.82);
  font-size: .95rem;
  font-weight: 500;
}
nav.links a:hover{ color: #fff; }
nav.links a.cta{
  background: var(--color-primary);
  color: #fff;
  padding: 9px 18px;
  border-radius: var(--radius-small);
  font-weight: 600;
}
nav.links a.cta:hover{ background: var(--color-primary-dark); }

/* ============================================================
   BUTTON
   Base: .btn   Modifiers: .btn-primary .btn-secondary .btn-outline
   .btn-dark .btn-light   Sizes: .btn-small .btn-large
   (legacy modifier names .primary/.ghost/.outline/.amber kept as
   aliases so existing markup keeps working during migration)
   ============================================================ */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-small);
  font-weight: 600;
  font-size: .97rem;
  border: 1.5px solid transparent;
  transition: transform var(--duration) var(--ease), background var(--duration) var(--ease), border-color var(--duration) var(--ease);
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }

.btn-primary, .btn.primary{ background: var(--color-primary); color: #fff; }
.btn-primary:hover, .btn.primary:hover{ background: var(--color-primary-dark); }

.btn-secondary, .btn.amber{ background: var(--amber); color: var(--navy); }
.btn-secondary:hover, .btn.amber:hover{ filter: brightness(.95); }

.btn-outline, .btn.outline{ border-color: var(--navy); color: var(--navy); }
.btn-outline:hover, .btn.outline:hover{ background: var(--navy); color: #fff; }

.btn-dark{ background: var(--navy); color: #fff; }
.btn-dark:hover{ background: var(--navy-soft); }

.btn-light, .btn.ghost{ border-color: rgba(255,255,255,0.4); color: #fff; }
.btn-light:hover, .btn.ghost:hover{ border-color: #fff; }

.btn-small{ padding: 9px 16px; font-size: .87rem; }
.btn-large{ padding: 16px 30px; font-size: 1.05rem; }

.buttons{ display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }

/* ============================================================
   HERO
   ============================================================ */
.hero{
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-soft) 65%, #2c3a52 100%);
  color: #fff;
  padding: var(--space-9) 0 var(--space-8);
}
.hero .container{ max-width: 780px; }
.hero h1, .hero h2, .hero h3{ color: #fff; }
.hero p.lede{ color: rgba(255,255,255,0.78); }
.hero.hero-xl{ padding: clamp(72px,12vw,140px) 0 clamp(56px,8vw,96px); }
.hero.hero-xl h1{ font-size: var(--fs-display); max-width: 900px; }
.hero.hero-xl .container{ max-width: 900px; }
.hero.hero-xl .container.hero-flex{
  display:flex; align-items:center; justify-content:space-between; gap:56px; max-width:1120px;
}
.hero.hero-xl .container.hero-flex .hero-copy{ flex:1; min-width:280px; }
.hero.hero-xl .container.hero-flex h1{ max-width:none; }

/* ============================================================
   PUBLICATION FAN — decorative visual anchor for the homepage hero
   ============================================================ */
.pub-fan{ position:relative; width:240px; height:240px; flex-shrink:0; }
.pub-fan-card{
  position:absolute; width:120px; height:180px; background:var(--navy-soft);
  border:1px solid rgba(255,255,255,0.16); border-radius:6px; box-sizing:border-box;
}
.pub-fan-card-3{ left:62px; top:38px; transform:rotate(12deg); z-index:1; border-color:rgba(255,255,255,0.14); }
.pub-fan-card-2{ left:31px; top:19px; transform:rotate(6deg); z-index:2; }
.pub-fan-card-1{ left:0; top:0; z-index:3; padding:16px; border-color:rgba(255,255,255,0.22); }
.pub-fan-num{ position:absolute; top:11px; right:11px; font-family:var(--font-mono); font-weight:700; font-size:12px; color:var(--teal); }
.pub-fan-accent{ width:20px; height:4px; background:var(--amber); border-radius:2px; margin-bottom:10px; }
.pub-fan-tag{ font-family:var(--font-mono); font-size:8px; letter-spacing:.04em; color:#9FD8D0; display:block; }
.pub-fan-title{ font-family:var(--font-display); font-weight:700; color:#fff; font-size:14px; line-height:1.22; margin-top:8px; }
.pub-fan-issue{ position:absolute; bottom:13px; left:16px; font-family:var(--font-mono); font-size:7px; color:rgba(255,255,255,0.5); }

/* ============================================================
   KICKER — editorial section marker (label + rule)
   ============================================================ */
.kicker{ display: flex; align-items: center; gap: 14px; margin-bottom: 1.1rem; }
.kicker span{ font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--color-primary-dark); white-space: nowrap; }
.kicker::after{ content: ""; flex: 1; height: 1px; background: var(--rule); }
.kicker.on-dark span{ color: #9FD8D0; }
.kicker.on-dark::after{ background: rgba(255,255,255,0.18); }

/* ============================================================
   DOC-TAG — document-control style reference badge
   ============================================================ */
.doc-tag{
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--color-primary-dark);
  background: rgba(42,157,143,0.09);
  border: 1px solid rgba(42,157,143,0.25);
  border-radius: 4px; padding: 5px 10px; margin-bottom: 1rem;
}
.doc-tag::before{ content:""; width:6px; height:6px; border-radius:50%; background: var(--amber); }
.doc-tag.on-dark{ color:#CFE9E5; background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.18); }

/* ============================================================
   BADGE
   ============================================================ */
.badge{
  display: inline-block; font-family: var(--font-mono); font-size: .65rem;
  text-transform: uppercase; letter-spacing: .05em; border-radius: 4px; padding: 3px 8px;
}
.badge-soon, .badge{ background: rgba(233,168,32,0.18); color: #7a5410; margin-left: 8px; vertical-align: middle; }

/* ============================================================
   CARD (base) — the shared surface every card variant builds on
   ============================================================ */
.card{
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.card:hover{ box-shadow: var(--shadow); transform: translateY(-3px); }
.card h3{ margin-bottom: .4rem; }
.card .tag{
  display: inline-block; font-family: var(--font-mono); font-size: .68rem;
  letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: .7rem;
}
.card a.card-link{
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--color-primary-dark); text-decoration: none; font-weight: 600; font-size: .92rem;
}

/* Guide Card — a Knowledge Centre article (currently just .card; this
   class documents the role and can carry guide-specific styling later) */
.guide-card{ }

/* Publication Card — featured/cornerstone treatment */
.card.featured, .publication-card{ border-left: 3px solid var(--amber); }

/* Resource Card — downloads / "coming soon" items */
.card.soon, .resource-card.soon{ opacity: .72; }

/* Feature Card — used generically, alias of base card */
.feature-card{ }

.cat-head{ border-bottom: 2px solid var(--navy); }
.cat-head h2{ margin-bottom: 0; }
.cat-head .count{ font-family: var(--font-mono); font-size: .8rem; color: var(--color-text-muted); }

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.product-card{
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: 12px; overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.product-card:hover{ box-shadow: var(--shadow); transform: translateY(-3px); }
.product-card .cover{
  height: 76px; background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  display: flex; align-items: center; justify-content: center; position: relative;
}
.product-card .cover span{ font-family: var(--font-mono); font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.product-card .body{ padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-card .who{ font-size: .82rem; color: var(--color-text-muted); margin: .2em 0 .8em; }
.product-card .meta-row{ display: flex; justify-content: space-between; align-items: baseline; font-size: .78rem; color: var(--color-text-muted); border-top: 1px solid var(--color-border); margin-top: auto; padding-top: 12px; }

.product-card.large .cover{ height: 108px; }
.product-card.large .body{ padding: 26px; }
.product-card.large h3{ font-size: 1.2rem !important; margin-bottom: .3em; }
.product-card.large p{ font-size: .95rem !important; }
.product-card.large .who{ font-size: .85rem; }

/* ============================================================
   PUBLICATION CARD (feature panel) — the dominant homepage treatment
   ============================================================ */
.pub-feature, .publication-card--feature{
  position: relative; overflow: hidden; background: var(--navy); border-radius: var(--radius-large);
  padding: clamp(44px,8vw,88px);
}
.pub-feature::after{
  content: "001"; position: absolute; right: 28px; top: -6px;
  font-family: var(--font-display); font-weight: 700; font-size: 9rem; line-height: .8;
  color: rgba(255,255,255,0.055); pointer-events: none;
}
.pub-feature h2{ color: #fff; font-size: var(--fs-heading-xl); max-width: 620px; position: relative; }
.pub-feature p{ color: rgba(255,255,255,0.75); position: relative; }
.pub-feature .lede{ font-size: 1.25rem; max-width: 560px; }

/* ============================================================
   STATISTIC
   ============================================================ */
.stat-row{ display: flex; gap: 32px; flex-wrap: wrap; margin: 1.6rem 0; }
.stat .num{ font-family: var(--font-display); font-size: 1.7rem; color: var(--color-text); font-weight: 600; line-height: 1; }
.stat .label{ font-size: .74rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: .05em; font-family: var(--font-mono); display: block; margin-top: .3em; }
.stat-row.on-dark .num{ color: #fff; }
.stat-row.on-dark .label{ color: rgba(255,255,255,0.55); }

/* ============================================================
   ALERT — base + variants (.alert-note = old .callout,
   .alert-tip = old .tip, .alert-example = old .example-box)
   ============================================================ */
.alert{ border-radius: var(--radius-small); padding: 18px 22px; margin: 1.8em 0; }
.alert p{ margin: 0; color: var(--navy); }
.alert p:last-child{ margin-bottom: 0; }

.alert-note, .callout{ background: rgba(233,168,32,0.1); border-left: 4px solid var(--amber); border-radius: 6px; padding: 18px 22px; margin: 1.8em 0; }
.alert-note p, .callout p{ margin: 0; color: var(--navy); }

.alert-tip, .tip{ background: rgba(42,157,143,0.08); border-left: 4px solid var(--teal); border-radius: 6px; padding: 16px 22px; margin: 1.8em 0; }
.alert-tip .tip-label, .tip .tip-label{ display: block; font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--color-primary-dark); margin-bottom: .4em; }
.alert-tip p, .tip p{ margin: 0; color: var(--navy); }

.alert-example, .example-box{ background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 20px 24px; margin: 1.8em 0; }
.alert-example .tip-label, .example-box .tip-label{ display: block; font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--color-text-muted); margin-bottom: .5em; }
.alert-example p:last-child, .example-box p:last-child{ margin-bottom: 0; }

/* ============================================================
   CTA PANEL — dark, centred closing section
   ============================================================ */
.cta-panel{ text-align: center; max-width: 640px; margin: 0 auto; }
.cta-panel .buttons{ justify-content: center; }

/* ============================================================
   NEWSLETTER CARD
   ============================================================ */
.newsletter, .newsletter-card{
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-large); padding: clamp(32px,5vw,48px) 40px; text-align: center;
}

/* ============================================================
   FORM
   ============================================================ */
.form-group{ display: flex; gap: 10px; max-width: 420px; margin: 1.5rem auto 0; flex-wrap: wrap; justify-content: center; }
.newsletter form{ display: flex; gap: 10px; max-width: 420px; margin: 1.5rem auto 0; flex-wrap: wrap; justify-content: center; }
.form-input, .newsletter input[type=email]{
  flex: 1; min-width: 220px; height: 48px; padding: 0 16px;
  border: 1.5px solid var(--color-border); border-radius: var(--radius-small);
  font-family: var(--font-body); font-size: .95rem; background: var(--color-background); color: var(--color-text);
}
.form-input:focus, .newsletter input[type=email]:focus{
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(42,157,143,0.15);
}
.newsletter .btn{ height: 48px; }
.newsletter small{ display: block; margin-top: .9rem; color: var(--color-text-muted); font-size: .78rem; }

/* ============================================================
   CHECKLIST — signature tick-box list style
   ============================================================ */
ul.checklist{ list-style: none; margin: 0 0 1.4em; padding: 0; }
ul.checklist li{ position: relative; padding-left: 30px; margin-bottom: .7em; color: var(--color-text-muted); }
ul.checklist li::before{
  content: ""; position: absolute; left: 0; top: .18em; width: 18px; height: 18px;
  border: 1.5px solid var(--teal); border-radius: 4px; background: rgba(42,157,143,0.08);
}
ul.checklist li::after{
  content: ""; position: absolute; left: 5px; top: .45em; width: 8px; height: 4px;
  border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg);
}

/* ============================================================
   ARTICLE / PUBLICATION
   ============================================================ */
.article-hero{ background: var(--navy); color: #fff; padding: 64px 0 56px; }
.article-hero .container{ max-width: 760px; }
.article-hero h1{ color: #fff; }
.article-meta{ display: flex; gap: 18px; flex-wrap: wrap; font-size: .88rem; color: rgba(255,255,255,0.65); margin-top: 1rem; }
.article-body{ max-width: 720px; margin: 0 auto; padding: 56px 0; }
.article-body h2{ margin-top: 2.2em; padding-top: .2em; }
.article-body h2:first-child{ margin-top: 0; }
.article-body h3{ margin-top: 1.6em; }
.article-body p{ font-size: 1.05rem; }
.article-body .lede{ font-size: 1.2rem; color: var(--navy); }

.toc{ background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 22px 26px; margin: 2.4rem 0; }
.toc h4{ margin-bottom: .7em; font-family: var(--font-mono); text-transform: uppercase; font-size: .78rem; letter-spacing: .06em; color: var(--color-text-muted); }
.toc ol{ margin: 0; padding-left: 1.2em; color: var(--color-text-muted); list-style: decimal; }
.toc a{ color: var(--ink); font-weight: 500; text-decoration: none; }
.toc a:hover{ color: var(--color-primary-dark); }

.pull-product{
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: 22px 24px; margin: 2em 0;
}
.disclaimer{ font-size: .85rem; color: var(--color-text-muted); border-top: 1px solid var(--color-border); padding-top: 1.4em; margin-top: 3em; }

.faq-item{ border-bottom: 1px solid var(--color-border); padding: 1.2em 0; }
.faq-item:last-child{ border-bottom: none; }
.faq-item h3{ margin-bottom: .35em; font-size: 1.05rem; }
.faq-item p{ margin: 0; }

/* ============================================================
   ONBOARDING JOURNEY STEP (Start Here)
   ============================================================ */
.journey-step{ display: flex; gap: 22px; padding: 30px 0; border-bottom: 1px solid var(--color-border); }
.journey-step:last-child{ border-bottom: none; }
.journey-step .step-num{ font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; color: var(--teal); min-width: 54px; }

/* ============================================================
   PRODUCT DETAIL (price tag, spec box)
   ============================================================ */
.price-tag{ font-family: var(--font-display); font-weight: 600; color: var(--navy); font-size: 1.6rem; }
.price-tag .pence{ font-size: 1rem; font-weight: 500; }
.product-hero{ padding: 64px 0 12px; }
.spec-box{
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: 28px; position: sticky; top: 96px;
}
.spec-box .price-tag{ margin-bottom: .2rem; }
.spec-box .btn{ width: 100%; justify-content: center; margin-top: 14px; }
.spec-row{ display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--color-border); font-size: .92rem; }
.spec-row span:first-child{ color: var(--color-text-muted); }

/* ============================================================
   KNOWLEDGE CENTRE JUMP NAV
   ============================================================ */
.kc-jump{ display: flex; flex-wrap: wrap; gap: 10px; margin: 1.6rem 0 3rem; }
.kc-jump a{ font-size: .85rem; font-weight: 600; color: var(--navy); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 20px; padding: 7px 16px; text-decoration: none; }
.kc-jump a:hover{ border-color: var(--teal); color: var(--color-primary-dark); }

/* ============================================================
   TRUST BAR — quiet, persistent, on every page
   ============================================================ */
.trust-bar{
  background: var(--navy-soft);
  border-bottom: 1px solid var(--rule-dark);
}
.trust-bar .container{
  display: flex; justify-content: center; flex-wrap: wrap; gap: 24px;
  padding: 9px 0; font-size: .78rem; color: rgba(255,255,255,0.68);
  font-family: var(--font-mono); letter-spacing: .01em;
}

/* ============================================================
   DIFFICULTY BADGE — Knowledge Centre reading level
   ============================================================ */
.difficulty{
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--color-text-muted); margin-left: 8px;
}
.difficulty.beginner::before{ content:"\1F7E2"; }
.difficulty.intermediate::before{ content:"\1F7E1"; }
.difficulty.advanced::before{ content:"\1F535"; }

/* ============================================================
   NEXT STEPS — a short, explicit "what should I do next" chain
   ============================================================ */
.next-steps{ display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 2em 0; }
.next-steps .step-label{ font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--color-text-muted); width: 100%; margin-bottom: .3em; }
.next-steps a{
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 20px;
  padding: 8px 16px; font-size: .85rem; font-weight: 600; color: var(--navy); text-decoration: none;
}
.next-steps a:hover{ border-color: var(--teal); color: var(--color-primary-dark); }
.next-steps .arrow{ color: var(--color-text-muted); font-size: .8rem; }

/* ============================================================
/* ============================================================
   BREADCRUMB
   ============================================================ */
.crumb{ font-size: .85rem; color: var(--color-text-muted); margin-bottom: 1.2rem; }
.crumb a{ color: var(--color-text-muted); text-decoration: none; }
.crumb a:hover{ color: var(--color-primary-dark); }

/* ============================================================
   FOOTER NEWSLETTER — compact signup embedded in the trust hub
   ============================================================ */
.foot-newsletter{ margin-top: 18px; max-width: 320px; }
.foot-newsletter-label{ display:block; font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: rgba(255,255,255,0.5); margin-bottom: 8px; }
.foot-newsletter form{ display:flex; gap:8px; }
.foot-newsletter input[type=email]{
  flex:1; min-width:0; height:38px; padding:0 12px; font-size:.85rem;
  border:1px solid rgba(255,255,255,0.2); border-radius:var(--radius-small);
  background:rgba(255,255,255,0.06); color:#fff;
}
.foot-newsletter input[type=email]::placeholder{ color:rgba(255,255,255,0.45); }
.foot-newsletter input[type=email]:focus{ outline:none; border-color:var(--teal); }
.foot-newsletter .btn{ height:38px; padding:0 16px; }

/* ============================================================
/* ============================================================
   FOOTER
   ============================================================ */
footer{ background: var(--navy); color: rgba(255,255,255,0.7); padding: 56px 0 30px; }
footer h2{ color: #fff; font-size: 1.4rem; }
.foot-col h4{ font-family: var(--font-mono); text-transform: uppercase; font-size: .75rem; letter-spacing: .06em; color: rgba(255,255,255,0.5); margin-bottom: .9em; }
.foot-col a{ display: block; color: rgba(255,255,255,0.75); font-size: .92rem; margin-bottom: .6em; text-decoration: none; }
.foot-col a:hover{ color: #fff; }
.foot-bottom{ border-top: 1px solid var(--rule-dark); font-size: .82rem; }

/* ============================================================
   ACCESSIBILITY — focus states (component-level, not reset-level)
   ============================================================ */
a:focus-visible, button:focus-visible, input:focus-visible{
  outline: 2.5px solid var(--amber);
  outline-offset: 2px;
}

/* ============================================================
   PACK COVER v2 — editorial document cover for product cards.
   Same family as the hero pub-fan: navy field, coloured spine.
   Spine colour encodes tier: teal = pack, amber = bundle.
   ============================================================ */
.product-card .cover.cover-v2{
  height: auto; min-height: 150px; padding: 20px 20px 14px;
  background: var(--navy);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start;
  text-align: left;
}
.product-card .cover.cover-v2::before{
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--teal);
}
.product-card .cover.cover-v2.cover-bundle::before{ background: var(--amber); }
.product-card .cover.cover-v2 .cover-tag{
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .08em;
  text-transform: uppercase; color: #9FD8D0;
}
.product-card .cover.cover-v2.cover-bundle .cover-tag{ color: var(--amber); }
.product-card .cover.cover-v2 .cover-title{
  font-family: var(--font-display); font-weight: 600; font-size: 1.08rem;
  line-height: 1.25; color: var(--cream); margin-top: 8px; text-transform: none; letter-spacing: 0;
}
.product-card .cover.cover-v2 .cover-foot{
  margin-top: auto; padding-top: 10px; width: 100%;
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid rgba(255,255,255,0.16);
  font-family: var(--font-mono); font-size: .6rem; letter-spacing: .1em;
  text-transform: uppercase; color: #9FD8D0;
}
.product-card .cover.cover-v2.cover-bundle .cover-foot{ color: var(--amber); }

/* ============================================================
   LOOK INSIDE — proof-of-quality module for product pages.
   A CSS-drawn page from the pack, annotated. The amber dashed
   fields are the "you edit this" signal.
   ============================================================ */
.look-inside{ display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; }
.li-doc{
  background: var(--paper); border: 1px solid var(--rule); border-radius: 6px;
  padding: 22px 20px; box-shadow: var(--shadow-sm);
}
.li-doc-head{
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  border-bottom: 2px solid var(--navy); padding-bottom: 9px;
}
.li-doc-head .li-title{ font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--navy); }
.li-doc-head .li-ref{ font-family: var(--font-mono); font-size: .6rem; color: var(--teal-dark); letter-spacing: .05em; }
.li-fields{ display: flex; gap: 10px; margin-top: 12px; }
.li-field{ flex: 1; background: var(--cream); border-radius: 4px; padding: 7px 9px; }
.li-field span{ font-size: .62rem; color: var(--ink-muted); display: block; }
.li-edit{ height: 9px; background: rgba(233,168,32,0.18); border: 1px dashed var(--amber); border-radius: 3px; margin-top: 5px; }
.li-table{ width: 100%; margin-top: 14px; border-collapse: collapse; font-size: .66rem; color: var(--ink-muted); table-layout: fixed; }
.li-table th{ background: var(--navy); color: var(--cream); font-weight: 500; text-align: left; padding: 6px 8px; }
.li-table td{ padding: 6px 8px; border-bottom: 1px solid var(--rule); }
.li-table tr:last-child td{ border-bottom: none; }
.risk{ display: inline-block; padding: 1px 7px; border-radius: 3px; font-size: .6rem; font-weight: 500; }
.risk.med{ background: rgba(233,168,32,0.22); color: #7a5410; }
.risk.low{ background: rgba(42,157,143,0.14); color: var(--teal-dark); }
.li-line{ height: 6px; background: var(--rule); opacity: .55; border-radius: 3px; margin-top: 9px; }
.li-line.short{ width: 72%; }
.li-points{ display: flex; flex-direction: column; gap: 18px; }
.li-point{ display: flex; gap: 12px; align-items: flex-start; }
.li-point p{ margin: 0; color: var(--color-text); font-size: 1rem; line-height: 1.55; }
.li-dot{
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  color: #fff; font-size: .78rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.li-dot-teal{ background: var(--teal); }
.li-dot-amber{ background: var(--amber); }
.li-dot-navy{ background: var(--navy); }

/* ============================================================
   LEAD BAND — the WellServe Ready checklist capture, homepage.
   Tilted paper thumbnail (pub-fan energy) + one email field.
   ============================================================ */
.lead-band{
  background: var(--navy); border-radius: var(--radius-large);
  padding: clamp(28px,5vw,44px);
  display: grid; grid-template-columns: 150px 1fr; gap: 38px; align-items: center;
}
.lead-band h2{ color: #fff; margin-bottom: .3em; }
.lead-band p{ color: rgba(255,255,255,0.75); max-width: 520px; }
.lead-thumb{
  background: var(--cream); border-radius: 5px; padding: 14px 12px;
  transform: rotate(-2deg); box-shadow: var(--shadow);
}
.lead-thumb .lt-ref{ font-family: var(--font-mono); font-size: .58rem; color: var(--teal-dark); letter-spacing: .05em; }
.lead-thumb .lt-title{ font-family: var(--font-display); font-weight: 600; font-size: .84rem; line-height: 1.25; color: var(--navy); margin-top: 5px; }
.lt-rows{ margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.lt-row{ display: flex; gap: 6px; align-items: center; }
.lt-row i{ width: 9px; height: 9px; border: 1.5px solid var(--teal); border-radius: 2px; flex-shrink: 0; }
.lt-row b{ height: 4px; background: var(--rule); border-radius: 2px; flex: 1; }
.lt-row:nth-child(2) b{ flex: .8; } .lt-row:nth-child(3) b{ flex: .9; } .lt-row:nth-child(4) b{ flex: .7; }
.lead-band form{ display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.lead-band input[type=email]{
  flex: 1; min-width: 210px; height: 48px; padding: 0 16px;
  border: 1.5px solid transparent; border-radius: var(--radius-small);
  background: var(--cream); color: var(--ink); font-size: .95rem;
}
.lead-band input[type=email]:focus{ outline: none; border-color: var(--teal); }

/* ============================================================
   SPEC TRUST — founder credibility line inside the spec box
   ============================================================ */
.spec-trust{
  font-size: .84rem; color: var(--color-text-muted);
  border-top: 1px solid var(--color-border); margin-top: 14px; padding-top: 13px;
}
.spec-trust::before{ content: "\1F528\00a0"; }

/* ============================================================
   BUNDLE SAVE BADGE
   ============================================================ */
.save-badge{
  display: inline-block; font-family: var(--font-mono); font-size: .64rem;
  letter-spacing: .05em; text-transform: uppercase;
  background: rgba(233,168,32,0.16); color: #7a5410;
  border-radius: 4px; padding: 3px 8px; margin-left: 8px; vertical-align: middle;
}

/* ============================================================
   TRADE GRID — the 12-trade selector. Each item deep-links to
   that trade's Payhip checkout.
   ============================================================ */
.trade-grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.trade-item{
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-small);
  padding: 15px 17px;
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.trade-item:hover{ border-color: var(--teal); box-shadow: var(--shadow-sm); }
.trade-item .t-name{ font-weight: 500; color: var(--ink); font-size: .95rem; }
.trade-item .t-buy{ font-family: var(--font-mono); font-size: .72rem; color: var(--teal-dark); white-space: nowrap; }

/* ============================================================
   CONSENT BAR — GDPR/PECR banner for Google Analytics.
   Injected by main.js only when no choice has been stored.
   ============================================================ */
.consent-bar{
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  max-width: 720px; margin: 0 auto;
  background: var(--navy); color: #fff;
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.consent-bar p{ margin: 0; color: rgba(255,255,255,0.85); font-size: .92rem; max-width: 440px; }
.consent-actions{ display: flex; gap: 10px; }
.consent-decline{
  background: none; border: 1px solid rgba(255,255,255,0.35); color: #fff;
  border-radius: var(--radius-small); padding: 8px 16px; font-size: .85rem;
}
.consent-decline:hover{ border-color: rgba(255,255,255,0.7); }

/* ============================================================
   CHECKLIST GATE — reusable email-first download gate.
   Same MailerLite endpoint as the newsletter; main.js swaps
   .cg-default for .cg-thanks on submit.
   ============================================================ */
.checklist-gate form{ display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.checklist-gate input[type=email]{
  flex: 1; min-width: 200px; max-width: 340px; height: 46px; padding: 0 14px;
  border: 1.5px solid var(--rule); border-radius: var(--radius-small);
  background: #fff; color: var(--ink); font-size: .93rem;
}
.checklist-gate input[type=email]:focus{ outline: none; border-color: var(--teal); }
.lead-band .checklist-gate input[type=email]{ border-color: transparent; }
.cg-thanks p{ margin: 0; }

/* ============================================================
   SERIES LIST — contents/schedule for serialised publications.
   Live parts link; future parts show their release date.
   ============================================================ */
.series-list{ border-top: 1px solid var(--rule); margin-top: .6rem; }
.series-item{
  display: flex; align-items: baseline; gap: 16px;
  padding: 15px 0; border-bottom: 1px solid var(--rule);
}
.series-item .s-num{
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .05em;
  color: var(--ink-muted); min-width: 58px;
}
.series-item .s-title{ flex: 1; font-weight: 500; color: var(--ink); }
.series-item .s-title a{ text-decoration: none; color: var(--teal-dark); }
.series-item .s-title a:hover{ text-decoration: underline; }
.series-item .s-status{
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .07em;
  text-transform: uppercase; color: var(--ink-muted); white-space: nowrap;
}
.series-item.live .s-num, .series-item.live .s-status{ color: var(--teal-dark); }
.series-item.upcoming .s-title{ color: var(--ink-muted); font-weight: 400; }
