/* ==========================================================================
   The Fog - shared funnel design system (OTOs, downsells, delivery)
   Same tokens as sales-v2.html: "First Light", night blue on bone paper.
   Loaded by every post-purchase page so the buyer never feels handed off to
   a different company mid-funnel.
   ========================================================================== */

@font-face{
  font-family:"Newsreader";
  src:url("../fonts/newsreader.woff2") format("woff2-variations");
  font-weight:300 700; font-style:normal; font-display:swap;
}
@font-face{
  font-family:"Newsreader";
  src:url("../fonts/newsreader-italic.woff2") format("woff2-variations");
  font-weight:300 700; font-style:italic; font-display:swap;
}
@font-face{
  font-family:"Karla";
  src:url("../fonts/karla.woff2") format("woff2-variations");
  font-weight:400 700; font-style:normal; font-display:swap;
}

:root{
  --paper:#F1F2EF; --paper-deep:#E7E9E5; --surface:#FFFFFF;
  --ink:#12161A; --ink-soft:#464D54; --ink-faint:#5C636A;
  --accent:#25476B; --accent-deep:#183149; --accent-wash:#E2E8EF; --accent-line:#C3D0DE;
  --line:#DCDFD9; --line-strong:#C6CAC2;
  --ok:#2B5233; --ok-wash:#DFEAE0;
  --shadow-sm:0 1px 2px rgba(18,22,26,.05), 0 2px 8px rgba(18,22,26,.05);
  --shadow-lg:0 4px 8px rgba(18,22,26,.07), 0 22px 56px rgba(18,22,26,.14);
  --shadow-cta:0 2px 4px rgba(24,49,73,.22), 0 12px 28px rgba(24,49,73,.24);
  --shadow-cta-hover:0 4px 8px rgba(24,49,73,.24), 0 18px 38px rgba(24,49,73,.28);
  --cta-fg:#F7F9FB;
  --serif:"Newsreader","Iowan Old Style",Palatino,Georgia,serif;
  --sans:"Karla",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  --measure:44rem; --measure-wide:56rem;
  --ease:cubic-bezier(.16,1,.3,1);
  --r-panel:14px; --r-control:12px; --r-chip:8px;
}
@media (prefers-color-scheme: dark){
  :root{
    --paper:#0F1317; --paper-deep:#0A0D10; --surface:#171C21;
    --ink:#EDF0F2; --ink-soft:#AEB6BD; --ink-faint:#89929A;
    --accent:#7FA9D6; --accent-deep:#9CC0E4; --accent-wash:#1A242E; --accent-line:#2C3B4A;
    --line:#242B31; --line-strong:#333C44;
    --ok:#9DC3A6; --ok-wash:#18251C;
    --shadow-sm:0 1px 2px rgba(0,0,0,.4), 0 2px 8px rgba(0,0,0,.3);
    --shadow-lg:0 4px 8px rgba(0,0,0,.5), 0 22px 56px rgba(0,0,0,.55);
    --shadow-cta:0 2px 4px rgba(0,0,0,.5), 0 12px 28px rgba(0,0,0,.45);
    --shadow-cta-hover:0 4px 8px rgba(0,0,0,.55), 0 18px 38px rgba(0,0,0,.5);
    --cta-fg:#0C1116;
  }
}

*{margin:0;padding:0;box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{animation-duration:.001ms !important;transition-duration:.001ms !important;}
}
body{
  background:var(--paper); color:var(--ink);
  font-family:var(--serif); font-optical-sizing:auto;
  font-size:1.1875rem; line-height:1.66; font-weight:380;
  -webkit-font-smoothing:antialiased;
}
.wrap{max-width:var(--measure);margin:0 auto;padding:0 1.5rem;}
.wrap-wide{max-width:var(--measure-wide);margin:0 auto;padding:0 1.5rem;}
.center{text-align:center;}

/* ---- order-confirmed bar: the first anxiety killer after payment ---- */
.confirmed{
  background:var(--ok-wash); border-bottom:1px solid var(--line);
  padding:.85rem 0; font-family:var(--sans); font-size:.875rem; color:var(--ok);
}
.confirmed .wrap-wide{display:flex;align-items:center;justify-content:center;gap:.5rem;text-align:center;}
.confirmed svg{width:16px;height:16px;flex:none;}
.confirmed b{font-weight:700;}

/* ---- headings ---- */
h1{
  font-family:var(--serif); font-variation-settings:"opsz" 72;
  font-size:clamp(1.75rem,4.4vw,2.7rem); line-height:1.12; font-weight:560;
  letter-spacing:-.022em; text-wrap:balance; margin:0 auto .9rem; max-width:19em;
}
h1 em{font-style:italic;font-weight:500;}
h2{
  font-family:var(--serif); font-variation-settings:"opsz" 72;
  font-size:clamp(1.4rem,3.5vw,1.95rem); line-height:1.2; font-weight:540;
  letter-spacing:-.016em; text-wrap:balance; margin:2.5rem 0 1rem;
}
.eyebrow{
  font-family:var(--sans); font-size:.75rem; font-weight:700;
  letter-spacing:.18em; text-transform:uppercase; color:var(--ink-faint);
  margin-bottom:.9rem;
}
.lede{font-size:clamp(1.05rem,2.6vw,1.28rem);line-height:1.55;color:var(--ink-soft);max-width:34rem;margin:0 auto 1.5rem;text-wrap:pretty;}
.lede strong{color:var(--ink);font-weight:600;}
p{margin-bottom:1.25rem;text-wrap:pretty;}
p strong{font-weight:640;}
em{font-style:italic;}

/* ---- the single decision ---- */
.cta{
  display:block; width:100%; max-width:32rem; margin:0 auto;
  padding:1.15rem 1.5rem;
  background:var(--accent); color:var(--cta-fg);
  font-family:var(--sans); font-size:1.0625rem; font-weight:700;
  text-align:center; text-decoration:none;
  border:0; border-radius:var(--r-control); cursor:pointer;
  box-shadow:var(--shadow-cta);
  transition:transform 240ms var(--ease), box-shadow 240ms var(--ease), background 240ms var(--ease);
}
.cta:hover{transform:translateY(-2px);background:var(--accent-deep);box-shadow:var(--shadow-cta-hover);}
.cta:active{transform:translateY(0);}
.cta:focus-visible{outline:3px solid var(--ink);outline-offset:3px;}
.cta .cta-sub{display:block;font-size:.8125rem;font-weight:500;opacity:.92;margin-top:.3rem;}

/* The decline link is deliberately plain and respectful. Shame-worded opt-outs
   ("no thanks, I like being confused") are standard in this niche and would be a
   brand-ending move with a buyer whose whole wound is being manipulated. */
.decline{
  display:block; text-align:center; margin:1.4rem auto 0;
  font-family:var(--sans); font-size:.9375rem; color:var(--ink-faint);
  text-decoration:underline; text-underline-offset:3px;
  padding:.6rem; min-height:44px;
}
.decline:hover{color:var(--ink-soft);}

/* ---- assurances ---- */
.assurances{display:flex;flex-wrap:wrap;justify-content:center;gap:.7rem 1.5rem;padding:1.2rem 0 0;
  font-family:var(--sans);font-size:.8125rem;color:var(--ink-soft);list-style:none;}
.assurances li{display:flex;align-items:center;gap:.45rem;}
.assurances svg{width:14px;height:14px;flex:none;color:var(--accent);}

/* ---- content blocks ---- */
.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-panel);
  padding:1.75rem 1.5rem;box-shadow:var(--shadow-sm);margin:1.75rem 0;}
@media(min-width:48rem){.panel{padding:2rem 2.25rem;}}
.panel h3{font-size:1.2rem;font-weight:600;letter-spacing:-.01em;margin-bottom:.5rem;}

.stack .item{padding:1.2rem 0;border-top:1px solid var(--line);}
.stack .item:first-child{border-top:0;padding-top:0;}
.stack .item-head{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin-bottom:.4rem;}
.stack h3{font-size:1.22rem;font-weight:600;letter-spacing:-.012em;}
.stack .meta{font-family:var(--sans);font-size:.6875rem;font-weight:700;letter-spacing:.12em;
  text-transform:uppercase;color:var(--ink-faint);white-space:nowrap;flex:none;}
.stack p{color:var(--ink-soft);font-size:1.0625rem;line-height:1.58;margin-bottom:0;}
.stack p strong{color:var(--ink);font-weight:600;}

.pull{margin:2rem auto;max-width:30rem;text-align:center;
  font-size:clamp(1.2rem,3.4vw,1.5rem);line-height:1.36;font-weight:500;
  letter-spacing:-.013em;color:var(--accent);text-wrap:balance;}

.note{font-family:var(--sans);font-size:.875rem;line-height:1.6;color:var(--ink-soft);
  background:var(--accent-wash);border-radius:var(--r-chip);padding:1rem 1.15rem;
  max-width:32rem;margin:1.5rem auto;}

/* ---- price ---- */
.price{font-family:var(--serif);font-variation-settings:"opsz" 72;
  font-size:clamp(2.6rem,8vw,3.8rem);line-height:1;font-weight:520;
  letter-spacing:-.035em;margin-bottom:.3rem;}
.price-was{font-family:var(--sans);font-size:.9375rem;color:var(--ink-faint);
  margin-bottom:1.4rem;}
.price-was s{opacity:.75;}

/* ---- honest-terms block (required for anything sold as "lifetime") ---- */
.terms{border-top:1px solid var(--line);border-bottom:1px solid var(--line);
  padding:1.35rem 0;margin:2rem 0;font-family:var(--sans);font-size:.875rem;
  line-height:1.6;color:var(--ink-soft);}
.terms h3{font-family:var(--sans);font-size:.75rem;font-weight:700;letter-spacing:.16em;
  text-transform:uppercase;color:var(--ink-faint);margin-bottom:.8rem;}
.terms ul{list-style:none;display:grid;gap:.55rem;}
.terms li{display:flex;gap:.6rem;}
.terms li svg{width:14px;height:14px;flex:none;margin-top:.42em;color:var(--accent);}

/* ---- footer ---- */
footer{border-top:1px solid var(--line);margin-top:3rem;padding:2rem 0 3.5rem;background:var(--paper-deep);}
footer p{font-family:var(--sans);font-size:.8125rem;line-height:1.65;color:var(--ink-soft);margin-bottom:.9rem;}
footer p:last-child{margin-bottom:0;color:var(--ink-faint);}
footer a{color:var(--accent);text-decoration:underline;text-underline-offset:2px;}
.safety{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-panel);
  padding:1.1rem 1.25rem;font-size:.9375rem;line-height:2.05;}
.safety strong{color:var(--ink);}
/* Sized past 44px rather than at it: the hotline is the one link on these pages where
   a missed tap has real consequences, and sub-pixel rounding was landing it exactly on
   the threshold. */
.safety a{display:inline-flex;align-items:center;min-height:46px;
  padding:.45rem .7rem;margin:.1rem 0;border-radius:var(--r-chip);
  background:var(--accent-wash);color:var(--accent);font-weight:700;text-decoration:none;}
.safety a:hover{background:var(--accent);color:var(--cta-fg);}

section{padding:2.5rem 0 0;}
.hero{padding:3rem 0 0;text-align:center;}

/* ==========================================================================
   Legal, support and delivery documents
   These pages are read by someone deciding whether to trust us with a card on
   a device she may share. They get the same typography as the sales page
   rather than the usual 12px grey legal dump: readable is part of the promise.
   ========================================================================== */

.doc{padding-top:2rem;}
.doc h1{font-size:clamp(1.9rem,5vw,2.5rem);margin-bottom:.5rem;}
.doc .updated{font-family:var(--sans);font-size:.8125rem;letter-spacing:.04em;
  color:var(--ink-faint);margin-bottom:2rem;}
.doc h2{font-size:1.35rem;margin:2.4rem 0 .75rem;}
.doc h3{font-size:1.1rem;font-weight:640;margin:1.6rem 0 .5rem;}
.doc p,.doc li{font-size:1.0625rem;line-height:1.62;}
.doc ul,.doc ol{margin:0 0 1.25rem 1.1rem;display:grid;gap:.45rem;}
.doc li{padding-left:.2rem;}
.doc a{color:var(--accent);text-decoration:underline;text-underline-offset:2px;}
.doc .panel p:last-child{margin-bottom:0;}

/* Table of contents on the longer documents. */
.toc{font-family:var(--sans);font-size:.9375rem;background:var(--surface);
  border:1px solid var(--line);border-radius:var(--r-panel);padding:1.1rem 1.35rem;
  margin-bottom:2.25rem;}
.toc ol{margin:0;list-style:none;display:grid;gap:.4rem;}
.toc a{color:var(--accent);text-decoration:none;}
.toc a:hover{text-decoration:underline;}

/* Footer legal row. Present on every page: a funnel that sells discretion cannot
   make her hunt for the refund terms. */
.legal-nav{display:flex;flex-wrap:wrap;gap:.4rem 1.1rem;justify-content:center;
  list-style:none;margin-bottom:.9rem;font-family:var(--sans);font-size:.8125rem;}
.legal-nav a{color:var(--ink-soft);text-decoration:none;}
.legal-nav a:hover{color:var(--accent);text-decoration:underline;}

/* Unresolved build placeholder. Deliberately impossible to mistake for copy. */
.todo{background:#FFE3E3;color:#8A1C1C;border:1px dashed #C25555;border-radius:4px;
  padding:0 .3em;font-family:var(--sans);font-size:.85em;font-weight:700;}
@media (prefers-color-scheme: dark){
  .todo{background:#3A1414;color:#FFB4B4;border-color:#7A3030;}
}
