@charset "utf-8";
/* ==========================================================================
   Clean Minds — "NIGHT SHIFT" design system
   A single-column longread. One 720px measure the whole way down, with
   full-bleed image and panel breakouts. Geometric display type over a
   neutral text face, indigo as the primary accent and amber for warnings.

   palette  paper #f5f8f8 · card #FFF · ink #2b343c · text #333c46
            muted #67757e · line #e0e6e8 · indigo #0a7f7c · amber #E08A3C
   type     Outfit (display) + Inter (text)
   ========================================================================== */

:root {
  --paper: #f5f8f8;
  --card: #ffffff;
  --ink: #2b343c;
  --text: #333c46;
  --muted: #67757e;
  --line: #e0e6e8;
  --indigo: #0a7f7c;
  --indigo-dk: #066462;
  --indigo-lt: #e4f2f1;
  --amber: #e08a3c;
  --amber-lt: #fdf3e7;
  --green: #0f9d6e;
  --r: 14px;
  --measure: 720px;
  --wide: 1040px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  font-size: 17px;
  color: var(--text);
  background: var(--paper);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo-dk); }
p { margin: 0 0 1.1em; }

h1, h2, h3, h4 {
  font-family: Outfit, Inter, "Segoe UI", sans-serif;
  font-weight: 700; line-height: 1.22; margin: 0; color: var(--ink);
  letter-spacing: -.02em;
}

/* the single column, and its breakouts */
.col { width: min(var(--measure), 90%); margin-inline: auto; }
.col-wide { width: min(var(--wide), 92%); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--indigo); color: #fff; padding: 10px 16px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 2px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--indigo); color: #fff; text-decoration: none;
  padding: 15px 28px; border: 0; border-radius: 10px;
  font-family: Outfit, Inter, sans-serif; font-weight: 600; font-size: 1rem;
  cursor: pointer; text-align: center;
  box-shadow: 0 6px 18px rgba(10,127,124,.24);
  transition: transform .14s ease, box-shadow .14s ease, background .14s ease;
}
.btn:hover { background: var(--indigo-dk); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(10,127,124,.3); }
.btn:active { transform: translateY(0); }
.btn-block { display: flex; width: 100%; }
.btn-sm { padding: 10px 18px; font-size: .88rem; box-shadow: none; }
.btn-line { background: transparent; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn-line:hover { background: #e9eeee; color: var(--text); transform: none; box-shadow: none; }

/* ---------- progress bar + header ---------- */

.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--indigo), #3fb3ae);
  z-index: 60; transition: width .1s linear;
}

.adbar {
  text-align: center; padding: 8px 12px; background: var(--ink); color: #cfdcdd;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
}

.site-header {
  background: var(--paper); 
  border-bottom: 1px solid var(--line); position: relative;
}
.header-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding: 14px 0;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 50px; width: auto; }

/* ---------- hero ---------- */

.hero { padding: 34px 0 0; }
.kicker {
  display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.kicker .tag { background: var(--indigo-lt); color: var(--indigo-dk); padding: 4px 10px; border-radius: 999px; }
.hero h1 { font-size: clamp(1.85rem, 4.6vw, 3rem); margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--indigo-dk); }
.standfirst { font-size: 1.12rem; color: var(--muted); margin-bottom: 20px; }

.byline { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.byline .av {
  width: 40px; height: 40px; border-radius: 50%; flex: 0 0 auto;
  background: var(--indigo); color: #fff; display: grid; place-items: center;
  font-family: Outfit, sans-serif; font-weight: 700;
}
.byline-t { font-size: .84rem; line-height: 1.45; }
.byline-t strong { display: block; font-size: .9rem; color: var(--ink); }
.byline-t span { color: var(--muted); }

figure.bleed { margin: 26px 0; }
figure.bleed img { width: 100%; border-radius: var(--r); }
figure.bleed figcaption { font-size: .8rem; color: var(--muted); margin-top: 10px; }

/* ---------- article ---------- */

.article { padding: 8px 0 40px; }
.article h2 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  margin: 40px 0 14px;
}
.article h3 { font-size: 1.12rem; margin: 26px 0 8px; }
.article strong { color: var(--ink); font-weight: 600; }
.article ul { margin: 0 0 1.1em; padding: 0; list-style: none; }
.article ul li {
  position: relative; padding-left: 26px; margin: 9px 0;
}
.article ul li::before {
  content: ""; position: absolute; left: 8px; top: .72em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--indigo);
}

/* chapter marker */
.chapter {
  display: flex; align-items: center; gap: 14px; margin: 46px 0 10px;
}
.chapter span {
  font-family: Outfit, sans-serif; font-size: .74rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--indigo);
  flex: 0 0 auto;
}
.chapter::after { content: ""; height: 1px; background: var(--line); flex: 1 1 auto; }

/* pull quote */
.pull {
  margin: 28px 0; padding: 22px 26px;
  background: var(--card); border-left: 3px solid var(--indigo);
  border-radius: 0 var(--r) var(--r) 0;
}
.pull p {
  font-family: Outfit, sans-serif; font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  font-weight: 500; color: var(--ink); margin: 0; line-height: 1.42;
}

/* night panel — the mechanism explainer */
.night {
  background: linear-gradient(160deg, #22303a 0%, #0d4a48 100%);
  color: #cfe0e0; border-radius: 18px; padding: clamp(24px, 4vw, 36px); margin: 30px 0;
}
.night h2, .night h3 { color: #fff; margin-top: 0; }
.night p { color: #a8bcbd; }
.night p:last-child { margin-bottom: 0; }
.night-steps { display: grid; gap: 14px; margin-top: 20px; }
.night-steps div {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: 16px 18px;
}
.night-steps b { display: block; color: #fff; font-family: Outfit, sans-serif; margin-bottom: 4px; }
.night-steps p { margin: 0; font-size: .93rem; }
@media (min-width: 720px) { .night-steps { grid-template-columns: repeat(3, 1fr); } }

/* honest / caveat block */
.honest {
  background: var(--amber-lt); border: 1px solid #f0d9bd;
  border-radius: var(--r); padding: 22px 24px; margin: 30px 0;
}
.honest h3 { font-size: 1.05rem; margin: 0 0 10px; color: #7a4f16; }
.honest p { font-size: .95rem; color: #6b5231; }
.honest p:last-child { margin: 0; }
.honest .row { display: grid; gap: 12px; margin: 14px 0 0; }
.honest .row > div { background: rgba(255,255,255,.7); border-radius: 10px; padding: 13px 15px; }
.honest .row b { display: block; font-family: Outfit, sans-serif; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 5px; }
.honest .row .yes b { color: var(--green); }
.honest .row .no b { color: #c0492b; }
.honest .row p { margin: 0; font-size: .9rem; }
@media (min-width: 680px) { .honest .row { grid-template-columns: 1fr 1fr; } }

/* four-zone list */
.zones { display: grid; gap: 12px; margin: 24px 0; }
.zones > div {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 18px; display: flex; gap: 14px; align-items: flex-start;
}
.zones b.n {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 8px;
  background: var(--indigo-lt); color: var(--indigo-dk);
  display: grid; place-items: center; font-family: Outfit, sans-serif; font-size: .88rem;
}
.zones > div > div { flex: 1 1 auto; }
.zones h3 { font-size: 1rem; margin: 0 0 3px; }
.zones p { margin: 0; font-size: .92rem; color: var(--muted); }

/* ---------- product card ---------- */

.product {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden; margin: 30px 0;
}
.product img { width: 100%; background: #f2f4fa; }
.product-b { padding: 24px; }
.product h2 { font-size: 1.5rem; margin: 0 0 8px; }
.product p { color: var(--muted); font-size: .96rem; }
.guarantee {
  display: flex; gap: 13px; align-items: flex-start;
  background: #f1fbf7; border: 1px solid #cdeee0; border-radius: 12px;
  padding: 14px 16px; margin: 16px 0;
}
.guarantee svg { width: 26px; height: 26px; flex: 0 0 auto; color: var(--green); }
.guarantee p { margin: 0; font-size: .9rem; color: #245c48; }
.guarantee strong { color: #10462f; }
.fine { font-size: .8rem; color: var(--muted); margin: 12px 0 0; }
@media (min-width: 760px) {
  .product { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; }
  .product img { height: 100%; object-fit: cover; }
}

/* ---------- FAQ ---------- */

.faq { margin: 24px 0; }
.faq details {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; margin-bottom: 10px;
}
.faq summary {
  font-family: Outfit, sans-serif; font-weight: 600; font-size: 1.02rem; color: var(--ink);
  cursor: pointer; list-style: none; padding: 16px 18px;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.35rem; color: var(--indigo); font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq .a { padding: 0 18px 16px; font-size: .95rem; color: var(--muted); }
.faq .a p:last-child { margin: 0; }

/* ---------- references ---------- */

.refs { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; margin: 28px 0; }
.refs h2 { font-size: 1.2rem; margin: 0 0 12px; }
.refs ol { margin: 0; padding-left: 20px; }
.refs li { margin: 11px 0; font-size: .9rem; line-height: 1.55; color: var(--muted); }
.refs li b { color: var(--text); font-weight: 600; }

/* ---------- final CTA ---------- */

.final {
  background: linear-gradient(160deg, #22303a 0%, #0d4a48 100%);
  color: #cfe0e0; border-radius: 18px; padding: clamp(26px, 5vw, 42px);
  text-align: center; margin: 34px 0;
}
.final h2 { color: #fff; font-size: clamp(1.4rem, 3.2vw, 2rem); margin-bottom: 12px; }
.final p { color: #9fc4c2; max-width: 54ch; margin-inline: auto; }
.final .btn { background: #fff; color: var(--indigo-dk); box-shadow: none; margin-top: 8px; }
.final .btn:hover { background: #e4f2f1; color: var(--indigo-dk); }
.final-fine { font-size: .78rem; color: #7d9b9a; margin: 18px 0 0; }
.final-fine a { color: #cfe0e0; }

/* ---------- disclaimers ---------- */

.disc {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); padding: 22px 24px; margin: 24px 0;
}
.disc h3 { font-size: .96rem; margin: 0 0 8px; }
.disc p { font-size: .88rem; color: var(--muted); }
.disc p:last-child { margin: 0; }
.disc + .disc { margin-top: 12px; }

/* ---------- footer ---------- */

.site-footer { margin-top: 40px; background: var(--ink); color: #9fb0b4; padding: 34px 0 22px; font-size: 14px; }
.foot-top { display: grid; gap: 26px; grid-template-columns: 1fr; padding-bottom: 24px; }
.foot-brand img { height: 46px; width: auto; margin-bottom: 12px; }
.foot-brand p { margin: 0; color: #7b8f93; font-size: .86rem; max-width: 38ch; }
.foot-h {
  font-family: Outfit, sans-serif; font-size: .7rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: #3fb3ae; margin-bottom: 11px;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-col a { color: #cfdcdd; text-decoration: none; }
.foot-col a:hover { color: #fff; }
.foot-id { font-style: normal; }
.foot-id p { margin: 0 0 4px; color: #7b8f93; font-size: .86rem; line-height: 1.55; }
.foot-id a { color: #cfdcdd; text-decoration: none; }
.foot-id a:hover { color: #fff; }
@media (min-width: 760px) { .foot-top { grid-template-columns: 1.5fr .8fr 1.2fr; } }
@media (min-width: 980px) { .foot-top { grid-template-columns: 1.7fr .7fr .7fr 1.1fr; } }
.foot-bottom { padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); }
.foot-bottom p { margin: 0 0 8px; font-size: 13px; }
.disclaimer, .foot-compliance { font-size: 11.5px; color: #6d8285; line-height: 1.65; margin: 8px 0 0; }

/* ==========================================================================
   Sub-pages
   ========================================================================== */

.page-hero { background: var(--card); border-bottom: 1px solid var(--line); padding: 40px 0 32px; }
.page-hero h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 8px 0 12px; }
.page-hero > .col-wide > p, .page-hero > .col > p { color: var(--muted); max-width: 66ch; margin: 0; }
.crumbs { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0; }
.crumbs a { color: var(--indigo-dk); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.band { padding: 44px 0; }
.band-sand { background: var(--paper); }

.prose { max-width: 72ch; }
.prose h2 { font-size: 1.35rem; margin: 34px 0 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1.06rem; margin: 22px 0 6px; }
.prose ul, .prose ol { margin: 0 0 1.1em; padding-left: 22px; }
.prose li { margin: 7px 0; }

.info-grid { display: grid; gap: 14px; grid-template-columns: 1fr; margin: 16px 0 24px; }
.info-card { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--indigo); border-radius: 12px; padding: 17px 19px; }
.info-card h3 { margin: 0 0 6px; font-size: 1rem; }
.info-card p { margin: 0; font-size: .9rem; color: var(--muted); }
@media (min-width: 780px) { .info-grid { grid-template-columns: repeat(2, 1fr); } }

.form { display: grid; gap: 14px; max-width: 540px; margin-top: 8px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .88rem; }
.field input, .field select, .field textarea {
  font: inherit; color: inherit; padding: 11px 13px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--indigo); outline: none; box-shadow: 0 0 0 3px rgba(10,127,124,.18);
}
.form-note { font-size: .84rem; color: var(--muted); margin: 0; }
.form-status { font-size: .9rem; margin: 0; }

/* ---------- cookie bar ---------- */

.cookie {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 14px;
  width: min(900px, 94%); z-index: 70; background: var(--card);
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 16px 38px rgba(20,22,43,.16);
  padding: 15px 18px; display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center; justify-content: space-between;
}
.cookie[hidden] { display: none; }
.cookie p { margin: 0; font-size: .86rem; color: var(--muted); flex: 1 1 320px; }
.cookie-actions { display: flex; gap: 9px; }

/* ---------- reveals + motion ---------- */

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

@media print { .adbar, .site-header, .cookie, .btn, .progress { display: none !important; } body { background: #fff; } }

/* footer logo chip — the supplied marks are dark artwork on transparency,
   so they need a light ground to stay legible on the dark footer */
.foot-brand img { background: #fff; padding: 7px 11px; border-radius: 8px; }
