/* ============================================================================
   Free book samples — reading pages.
   Only what the sample pages need; style.css still carries the site itself.
   Built 17 Oct 2026.
   ========================================================================= */

/* A reading column, not a web page. Around 66 characters is where the eye
   stops having to hunt for the start of the next line. */
.sample-wrap{max-width:820px;margin:0 auto;padding:0 20px 80px}

.sample-hero{text-align:center;padding-bottom:28px}
.sample-hero .lead{max-width:660px;margin-left:auto;margin-right:auto}
.sample-what{color:var(--ink-3);font-size:.94rem;margin-top:14px}

.sample-read{font-size:1.085rem;line-height:1.85;color:var(--ink)}
.sample-read p{margin:0 0 1.15em}
.sample-read strong{color:#fff;font-weight:600}
.sample-read em{color:var(--ink);font-style:italic}

.ch-head{margin:54px 0 30px;padding-bottom:20px;border-bottom:1px solid var(--line)}
.ch-head:first-child{margin-top:18px}
.ch-num{font-family:var(--f-head,'Sora',sans-serif);font-size:.8rem;font-weight:700;
  letter-spacing:.16em;text-transform:uppercase;display:block;margin-bottom:10px}
.ch-title{font-family:var(--f-head,'Sora',sans-serif);font-size:clamp(1.5rem,3.4vw,2.05rem);
  line-height:1.25;margin:0;color:#fff}

.sample-read h2{font-family:var(--f-head,'Sora',sans-serif);font-size:1.32rem;line-height:1.35;
  color:#fff;margin:2.2em 0 .7em}
.sample-read h3{font-family:var(--f-head,'Sora',sans-serif);font-size:1.08rem;color:var(--honey-soft);
  margin:1.9em 0 .6em}
.sample-read hr{border:none;border-top:1px solid var(--line);margin:2.4em 0}

.sample-read ul,.sample-read ol{margin:0 0 1.3em;padding-left:1.35em}
.sample-read li{margin-bottom:.55em}
.sample-read ul li::marker{color:var(--honey)}
.sample-read ol li::marker{color:var(--honey);font-weight:600}

.sample-table{overflow-x:auto;margin:0 0 1.6em;-webkit-overflow-scrolling:touch}
.sample-table table{border-collapse:collapse;width:100%;font-size:.95rem;min-width:420px}
.sample-table th,.sample-table td{border:1px solid var(--line);padding:9px 13px;text-align:left}
.sample-table th{background:var(--panel);color:#fff;font-weight:600}

/* The email gate. It sits between the chapters, so it must read as an offer and
   not as a wall — the chapter title above it is the thing being offered. */
.sample-gate{margin:50px 0 10px}
.gate-card{background:var(--panel);border:1px solid var(--line-2);border-radius:18px;
  padding:30px 28px;text-align:center}
.gate-card h3{font-family:var(--f-head,'Sora',sans-serif);font-size:1.3rem;color:#fff;
  margin:8px 0 12px}
.gate-card p{color:var(--ink-2);font-size:.98rem;line-height:1.7;max-width:480px;
  margin:0 auto 18px}
.gate-fine{font-size:.84rem;color:var(--ink-3);margin-top:16px!important;margin-bottom:0!important}
.gate-soon{background:var(--bg-2);border:1px dashed var(--line-2);border-radius:12px;
  padding:16px 18px}
.gate-soon p{margin:0;font-size:.94rem}

.sample-end{margin-top:58px;padding:30px 28px;background:var(--panel);
  border:1px solid var(--line);border-radius:18px;text-align:center}
.sample-end h3{font-family:var(--f-head,'Sora',sans-serif);font-size:1.22rem;color:#fff;margin:0 0 10px}
.sample-end p{color:var(--ink-2);margin:0 0 18px}

/* The subscribe band that replaces "Coming Soon" on the homepage. */
.sub-form{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:20px}
.sub-form input[type=email]{flex:1 1 280px;max-width:340px;padding:14px 22px;border-radius:999px;
  border:1px solid var(--line-2);background:var(--bg-2);color:var(--ink);font:inherit;font-size:1rem;
  transition:border-color .16s,box-shadow .16s}
.sub-form input[type=email]::placeholder{color:var(--ink-3)}
.sub-form input[type=email]:focus{outline:none;border-color:var(--honey);
  box-shadow:0 0 0 3px rgba(224,168,46,.25)}
/* Chrome paints an autofilled field white and ignores background; the inset shadow is the only
   way to keep it dark for a reader whose browser already knows their address. */
.sub-form input[type=email]:-webkit-autofill,
.sub-form input[type=email]:-webkit-autofill:hover,
.sub-form input[type=email]:-webkit-autofill:focus{-webkit-text-fill-color:var(--ink);
  -webkit-box-shadow:0 0 0 1000px var(--bg-2) inset;caret-color:var(--ink)}

/* ---- the gate's own form ----
   This had NO styling whatsoever until 26 Oct 2026. Its input and button fell back to the
   browser's defaults - a white 19px-tall box with an inset grey border, and a grey 19px button,
   on a dark navy card - across all seven sample and reader pages. That is the form that
   collects subscribers. Matched here to the weekly-note box so the site's two signup forms
   read as the same thing. */
.ml-gate{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:20px}
.ml-gate input[type=email]{flex:1 1 280px;max-width:340px;padding:14px 22px;border-radius:999px;
  border:1px solid var(--line-2);background:var(--bg-2);color:var(--ink);font:inherit;
  font-size:1rem;transition:border-color .16s,box-shadow .16s}
.ml-gate input[type=email]::placeholder{color:var(--ink-3)}
.ml-gate input[type=email]:focus{outline:none;border-color:var(--honey);
  box-shadow:0 0 0 3px rgba(224,168,46,.25)}
.ml-gate input[type=email]:-webkit-autofill,
.ml-gate input[type=email]:-webkit-autofill:hover,
.ml-gate input[type=email]:-webkit-autofill:focus{-webkit-text-fill-color:var(--ink);
  -webkit-box-shadow:0 0 0 1000px var(--bg-2) inset;caret-color:var(--ink)}
.ml-gate button{padding:14px 26px;border:0;border-radius:999px;background:var(--honey);
  color:#241A03;font:inherit;font-size:1rem;font-weight:700;cursor:pointer;
  transition:transform .14s,filter .14s}
.ml-gate button:hover{filter:brightness(1.06)}
.ml-gate button:active{transform:translateY(1px)}
@media (max-width:620px){
  .ml-gate input[type=email]{flex:1 1 100%;max-width:none}
  .ml-gate button{width:100%}
}
.sub-fine{font-size:.86rem;color:var(--ink-3);margin-top:12px}

@media (max-width:640px){
  .sample-wrap{padding:0 16px 60px}
  .sample-read{font-size:1.04rem;line-height:1.8}
  .gate-card,.sample-end{padding:24px 18px}
}

/* Same message on the plain sample pages: the confirmation email a reader must click. */
.gate-confirm{max-width:760px;margin:0 auto 26px;padding:12px 16px;
  background:rgba(224,168,46,.14);border:1px solid rgba(224,168,46,.45);border-radius:12px;
  color:var(--ink);font-size:.93rem;line-height:1.6}
.gate-confirm b{color:var(--honey)}
