/* SellersMath product landing pages — the one stylesheet for the landing vocabulary.
   ------------------------------------------------------------------------------
   Seven pages share one template: /bundle/, /income-expense-tracker/,
   /income-expense-app/, /inventory-tracker-spreadsheet/, /quote-invoice/,
   /reseller-profit-tracker/, /stock-ledger-app/. Five of them shipped with a
   <div class="sec"> and no rule anywhere for it, because each generator carried
   its own inline <style> and apply_theme.py later replaced the head block.

   So: every class the template uses lives HERE, once. Generators link this file
   instead of inlining a copy, and tools/seo_audit.py fails a page that uses a
   landing class without linking it.

   Palette: cream #F8F4E9 · forest #0F2A18 · green #1E5B33 · mint #8FD3A6
   Type: Playfair Display headings, Inter body (both loaded by tools/theme.py).
   Measure: 860px of text inside a 1180px container. */

:root{
  --cream:#F8F4E9; --paper:#FFFDF7; --ink:#132A1C; --forest:#0F2A18;
  --green:#1E5B33; --mint:#8FD3A6; --amber:#EFA92F; --mute:#5E7166;
  --line:#E4DCC9; --rule:#E9E2D2;
  --measure:860px; --container:1180px; --gutter:26px;
}

*,*::before,*::after{box-sizing:border-box}
body{background:var(--cream);color:var(--ink);
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  font-size:16.5px;line-height:1.68;-webkit-font-smoothing:antialiased}

/* the container: centred, 1180 max, 26px gutters — same measure the tool pages
   and the .pagehero use, so a landing page and a tool page share one left edge */
.w{max-width:var(--container);margin-left:auto;margin-right:auto;
  padding-left:var(--gutter);padding-right:var(--gutter)}

/* ---------------------------------------------------------------- hero */
.hero{padding:64px 0 10px}
.kick{font-size:11.5px;letter-spacing:.26em;font-weight:900;color:var(--green);
  text-transform:uppercase;line-height:1.4}
.hero h1{font-family:'Playfair Display',Georgia,'Times New Roman',serif;
  font-weight:900;font-size:58px;line-height:1.02;letter-spacing:-.03em;
  margin:16px 0 0;max-width:var(--measure);color:var(--ink)}
.hero h1 em{font-style:italic;color:var(--green)}
.lede{font-size:19.5px;line-height:1.55;color:#43564A;margin:20px 0 0;
  max-width:var(--measure)}
.pills{display:flex;flex-wrap:wrap;gap:9px;margin:26px 0 0;padding:0;list-style:none}
.pills span{background:var(--paper);border:1px solid var(--line);border-radius:999px;
  padding:8px 15px;font-size:12.5px;font-weight:700;color:#43564A;line-height:1.3}

/* the hero image: never wider than the container, never a fixed height */
.heroshot{margin:42px 0 8px;border:1px solid var(--line);border-radius:16px;
  overflow:hidden;background:#fff;box-shadow:0 26px 56px rgba(15,42,24,.18)}
.heroshot img{display:block;width:100%;max-width:100%;height:auto}

/* ---------------------------------------------------------------- sections */
.sec{padding:52px 0 6px;margin-top:44px;border-top:1px solid var(--rule)}
.skick{font-size:11px;letter-spacing:.24em;font-weight:900;color:var(--green);
  text-transform:uppercase;margin:0 0 12px;line-height:1.4}
.sec h2{font-family:'Playfair Display',Georgia,'Times New Roman',serif;font-weight:900;
  font-size:36px;line-height:1.12;letter-spacing:-.025em;color:var(--ink);
  margin:0 0 16px;max-width:var(--measure)}
.sec p{color:#3C5045;margin:0 0 15px;max-width:var(--measure)}
.sec p b,.sec li b,.sec p strong{color:var(--ink);font-weight:700}
.sec h3{font-family:'Inter',sans-serif;font-size:12.5px;letter-spacing:.16em;
  text-transform:uppercase;color:#8A6A28;margin:0 0 12px}

/* figure + caption: the screenshot is the point, the caption explains it */
.shot{margin:26px 0 0;border:1px solid var(--line);border-radius:14px;overflow:hidden;
  background:#fff;box-shadow:0 20px 44px rgba(15,42,24,.15)}
.shot img{display:block;width:100%;max-width:100%;height:auto}
.cap{font-size:13px;line-height:1.5;color:var(--mute);margin:10px 0 0;font-style:italic;
  max-width:var(--measure)}

/* tick list */
.list{list-style:none;margin:20px 0;padding:0;max-width:var(--measure)}
.list li{position:relative;padding:11px 0 11px 34px;border-bottom:1px solid #EDE7D8;
  color:#3C5045;line-height:1.55}
.list li:last-child{border-bottom:0}
.list li::before{content:"\2713";position:absolute;left:0;top:11px;color:var(--green);
  font-weight:900}

/* pull quote */
.quote{background:var(--paper);border-left:4px solid var(--amber);
  border-radius:0 10px 10px 0;padding:22px 26px;margin:28px 0;
  font-size:17.5px;line-height:1.5;color:#33463B;font-style:italic;max-width:var(--measure)}

/* ---------------------------------------------------------------- bands */
/* mid-page CTA: a dark card that sits in the column, not a full-bleed strip */
.cta{background:linear-gradient(135deg,#12301E,#0B2114);color:#F3EFE3;
  border-radius:16px;padding:34px 34px 32px;margin:34px 0 6px;text-align:center;
  box-shadow:0 20px 44px rgba(15,42,24,.22)}
.cta b{display:block;font-family:'Playfair Display',Georgia,serif;font-weight:900;
  font-size:26px;line-height:1.2;color:#FBF7EC}
.cta span{display:block;font-size:14px;color:#A9C4B0;margin-top:9px}
.cta a{display:inline-block;background:var(--amber);color:#241703;text-decoration:none;
  font-weight:900;font-size:16px;padding:15px 34px;border-radius:10px;margin-top:20px;
  transition:transform .12s ease,box-shadow .12s ease}
.cta a:hover{transform:translateY(-1px);box-shadow:0 12px 26px rgba(0,0,0,.28)}

/* end band: full-bleed, its own .w inside keeps the same measure */
.endcta{background:var(--forest);color:#F3EFE3;margin-top:62px;padding:58px 0;
  text-align:center}
.endcta h2{font-family:'Playfair Display',Georgia,serif;font-weight:900;font-size:38px;
  line-height:1.1;letter-spacing:-.025em;color:#FBF7EC;margin:0 0 14px}
.endcta p{color:#A9C4B0;max-width:560px;margin:0 auto;font-size:16.5px}
.endcta .sub{font-size:13px;color:#8FA694;margin-top:16px}
.big{display:inline-block;background:var(--amber);color:#241703;text-decoration:none;
  font-weight:900;font-size:17px;padding:17px 40px;border-radius:11px;margin-top:26px;
  box-shadow:0 14px 30px rgba(0,0,0,.26);transition:transform .12s ease}
.big:hover{transform:translateY(-1px)}

/* ---------------------------------------------------------------- honest limits */
.limits{background:#FBF6EA;border:1px solid var(--line);border-radius:12px;
  padding:26px 30px;margin:26px 0 0;max-width:var(--measure)}
.limits h3{font-family:'Inter',sans-serif;font-size:12.5px;letter-spacing:.16em;
  font-weight:900;text-transform:uppercase;color:#8A6A28;margin:0 0 14px}
.limits ul{margin:0;padding:0 0 0 20px;list-style:disc}
.limits li{color:#4A5C50;font-size:15px;line-height:1.55;margin:0 0 9px}
.limits li:last-child{margin-bottom:0}

/* ---------------------------------------------------------------- FAQ */
.faq{margin:8px 0 0;max-width:var(--measure)}
.faq details{border-bottom:1px solid #EDE7D8;padding:16px 0}
.faq details:first-child{border-top:1px solid #EDE7D8}
.faq summary{cursor:pointer;font-weight:800;font-size:16.5px;color:var(--ink);
  list-style:none;position:relative;padding-right:26px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:0;top:-2px;color:var(--green);
  font-weight:900;font-size:20px;line-height:1.4}
.faq details[open] summary::after{content:"\2212"}
.faq p{margin:10px 0 0;font-size:15.5px;line-height:1.6;color:#3C5045}

/* ---------------------------------------------------------------- more tools */
.more{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:26px 0 8px}
.more a{background:var(--paper);border:1px solid var(--line);border-radius:11px;
  padding:16px 18px;text-decoration:none;color:var(--ink);font-weight:800;font-size:14.5px;
  line-height:1.35;transition:border-color .12s ease,transform .12s ease}
.more a:hover{border-color:#C9BFA8;transform:translateY(-1px)}
.more a span{display:block;font-weight:600;font-size:12.5px;color:var(--mute);margin-top:4px}

/* ---------------------------------------------------------------- data table */
.tabtable{width:100%;border-collapse:collapse;margin:26px 0 10px;font-size:15px}
.tabtable caption{text-align:left;font-size:12px;letter-spacing:.08em;text-transform:uppercase;
  color:#6B7F70;padding:0 0 10px}
.tabtable th{text-align:left;font-size:12px;letter-spacing:.07em;text-transform:uppercase;
  color:#6B7F70;font-weight:600;border-bottom:1px solid rgba(19,42,28,.14);
  padding:0 12px 8px 0}
.tabtable td{padding:11px 12px 11px 0;border-bottom:1px solid rgba(19,42,28,.08);
  vertical-align:top;line-height:1.45;color:#3C5045}
.tabtable .tn{width:190px;white-space:nowrap;color:var(--ink)}
.tabtable tr:last-child td{border-bottom:0}

/* the email-gated form is styled by /assets/download.css — only its placement is ours */
.dlf{margin:26px 0 8px}

/* ---------------------------------------------------------------- responsive */
@media(max-width:900px){
  .hero{padding:44px 0 8px}
  .hero h1{font-size:44px}
  .lede{font-size:18px}
  .sec{padding-top:42px;margin-top:34px}
  .sec h2{font-size:30px}
  .endcta h2{font-size:31px}
  .endcta{padding:46px 0}
  .more{grid-template-columns:1fr 1fr}
  .limits{padding:22px 22px}
}

@media(max-width:620px){
  body{font-size:16px}
  .w{padding-left:18px;padding-right:18px}
  .hero{padding:34px 0 6px}
  .hero h1{font-size:33px;letter-spacing:-.02em}
  .lede{font-size:17px}
  .pills span{font-size:11.5px;padding:7px 12px}
  .heroshot{margin-top:28px;border-radius:12px}
  .shot{border-radius:10px;margin-top:20px}
  .sec{padding-top:34px;margin-top:26px}
  .sec h2{font-size:26px}
  .cta{padding:26px 20px 24px;border-radius:12px}
  .cta b{font-size:21px}
  .cta a{width:100%;padding:14px 18px;font-size:15px}
  .endcta{padding:38px 0}
  .endcta h2{font-size:26px}
  .big{width:100%;padding:15px 20px;font-size:15.5px}
  .more{grid-template-columns:1fr}
  .limits{padding:18px 16px}
  .limits li{font-size:14.5px}
  .faq summary{font-size:15.5px}
  .faq p{font-size:15px}
  .tabtable{font-size:14px}
  .tabtable .tn{width:auto;white-space:normal}
  .tabtable td,.tabtable th{padding-right:8px}
  .quote{padding:18px 18px;font-size:16.5px}
}

/* ---------------------------------------------------------------- phone ergonomics
   Width-gated only: the desktop render is unchanged. Responsive layout was already
   right at 390px; what was wrong was the size of the things you tap and read. */
@media(max-width:900px){
  .cap{font-size:14px}
  .limits li{font-size:15px}
  .tabtable td{font-size:14.5px}
}
@media(max-width:620px){
  /* the FAQ summary was a 21px line with the +/- hanging off it — unhittable */
  .faq summary{display:flex;align-items:center;min-height:44px;padding:12px 30px 12px 0;
    font-size:16px;line-height:1.35}
  .faq summary::after{top:auto;right:0;line-height:1}
  .faq details{padding:4px 0}
  .faq p{font-size:15.5px}
  .catjump a{min-height:44px;display:inline-flex;align-items:center;font-size:13.5px;
    padding:9px 15px}
  .catgo{min-height:44px;display:inline-flex;align-items:center;font-size:15px}
  .pills span{font-size:12.5px}
  .sec p,.sec li{font-size:16px}
  .limits li{font-size:15px}
  .quote{font-size:17px}
  .endcta .sub{font-size:13.5px}
  .more a{font-size:15px;min-height:44px}
  .more a span{font-size:13px}
  .tabtable th{font-size:12px}
  .kicker,.skick,.kick{font-size:12px}
}
