/* Shared stylesheet for SmokeFree AI content pages (timeline, calculators,
   glossary, resource hubs). One file so ~130 generated pages stay visually
   consistent and a palette change happens in one place. Brand palette
   matches web/index.html and web/privacy/index.html. */
:root {
  --air: #F6F8FB;
  --sky: #DDE9F5;
  --ink: #0F1D2E;
  --inksoft: #3D4F63;
  --ember: #1A6B8A;
  --emberdeep: #12546E;
  --sage: #2F8C72;
  --line: #E2E9F0;
  --gold: #B07E2E;
  --maxw: 42rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--air);
  color: var(--ink);
  font: 400 18px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
header.site { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 10; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; max-width: 56rem; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; font-size: 17px; }
.brand-dot { width: 20px; height: 20px; border-radius: 50%; background: var(--ember); position: relative; flex: none; }
.brand-dot::after { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: #fff; }
.brand span { color: var(--ember); }
nav.top a { color: var(--inksoft); text-decoration: none; font-size: 14px; font-weight: 600; margin-left: 20px; }
nav.top a:hover { color: var(--ink); }
main { padding: 40px 0 0; }
.eyebrow { color: var(--ember); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 10px; }
h1 { font-size: 34px; line-height: 1.18; letter-spacing: -0.02em; margin: 0 0 14px; text-wrap: balance; }
h2 { font-size: 23px; line-height: 1.3; letter-spacing: -0.01em; margin: 40px 0 12px; }
h3 { font-size: 17px; margin: 24px 0 8px; color: var(--emberdeep); }
p { margin: 0 0 16px; }
ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin: 5px 0; }
a { color: var(--ember); }
strong { font-weight: 700; }
.lede {
  font-size: 20px;
  line-height: 1.55;
  color: var(--inksoft);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
  margin: 0 0 28px;
}
.updated { color: var(--inksoft); font-size: 13.5px; margin: 0 0 26px; }
table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 15px; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); }
th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--inksoft); }
.callout {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--ember);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 0 0 20px;
}
.callout.gold { border-left-color: var(--gold); }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 16px 18px; margin: 0 0 10px; }
.faq-item h3 { margin: 0 0 6px; }
.faq-item p { margin: 0; color: var(--inksoft); }
.day-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 36px 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.day-nav a { text-decoration: none; font-weight: 700; font-size: 14px; }
.day-nav .label { display: block; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--inksoft); margin-bottom: 2px; }
.day-nav .next { text-align: right; margin-left: auto; }
.cta-card {
  background: linear-gradient(180deg, var(--ember), var(--emberdeep));
  color: #fff;
  border-radius: 20px;
  padding: 28px 26px;
  margin: 36px 0;
  text-align: center;
}
.cta-card h2 { color: #fff; margin-top: 0; }
.cta-card p { color: #E4EEF3; }
.cta-btn {
  display: inline-block;
  background: #fff;
  color: var(--emberdeep);
  font-weight: 800;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 999px;
  margin-top: 6px;
}
.timeline-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin: 0 0 24px; }
.timeline-grid a {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}
.timeline-grid a:hover { border-color: var(--ember); color: var(--ember); }
.timeline-grid .soon { color: var(--inksoft); opacity: 0.6; cursor: default; }
.sources { font-size: 13.5px; color: var(--inksoft); }
main > .wrap > footer.page-end { margin: 48px 0 0; }
footer.site { background: #0B1626; color: #AFC6DE; margin-top: 56px; }
footer.site .wrap { max-width: 56rem; padding: 40px 20px; }
footer.site p { color: #AFC6DE; font-size: 13.5px; line-height: 1.6; }
footer.site a { color: #DDE9F5; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 2px; border-radius: 6px; }
