/* the free ebook sign-up card (ebook-signup.js), on /skills and /ebook. Tokens from bread.css; amber is the book's own colour. */
@font-face{font-family:"Instrument Serif";src:url(/fonts/instrument-serif-2.woff2) format("woff2");font-display:swap}
.eb{--eb-amber:#E39A2D;--eb-amber-ink:#956005;--eb-crumb:#FFF6E8;--eb-edge:#F3DFC0;
  display:grid;grid-template-columns:minmax(180px,260px) minmax(0,1fr);gap:32px;align-items:center;padding:30px;border-radius:22px;
  background:linear-gradient(180deg,#ffffff 0%,var(--eb-crumb) 100%);border:1px solid var(--eb-edge)}
.eb-art{line-height:0}
.eb-art img{display:block;width:100%;height:auto;border-radius:10px;transform:rotate(-2deg);
  box-shadow:0 1px 2px rgba(60,40,10,.10),0 22px 44px -16px rgba(120,80,20,.38)}
.eb-eyebrow{margin:0 0 6px;font-size:13px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--eb-amber-ink)}
.eb-h{margin:0 0 10px;font-family:"Instrument Serif",Georgia,serif;font-weight:400;font-size:36px;line-height:1.08;letter-spacing:-.005em;color:#111}
.eb-lead{margin:0 0 14px;font-size:16px;line-height:1.6;color:#4b4b4b}
.eb-lead b{color:#111;font-weight:600}
.eb-in{margin:0 0 20px;padding:0;list-style:none;display:grid;gap:7px}
.eb-in li{position:relative;padding-left:26px;font-size:15.5px;line-height:1.5;color:#111}
.eb-in li::before{content:"";position:absolute;left:2px;top:5px;width:14px;height:14px;border-radius:50%;background:var(--eb-amber);
  -webkit-mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="black" fill-rule="evenodd" d="M8 0a8 8 0 110 16A8 8 0 018 0zm3.4 5.7a.95.95 0 00-1.37-1.3L6.8 7.8 5.27 6.27a.95.95 0 10-1.34 1.34l2.2 2.2a.95.95 0 001.36-.02z"/></svg>') center/contain no-repeat;mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="black" fill-rule="evenodd" d="M8 0a8 8 0 110 16A8 8 0 018 0zm3.4 5.7a.95.95 0 00-1.37-1.3L6.8 7.8 5.27 6.27a.95.95 0 10-1.34 1.34l2.2 2.2a.95.95 0 001.36-.02z"/></svg>') center/contain no-repeat}
.eb-form{display:grid;gap:10px;max-width:560px}
.eb-lbl{font-size:14px;font-weight:600;color:#111}
.eb-row{display:flex;gap:10px;flex-wrap:wrap}
.eb-email{flex:1 1 240px;min-width:0;height:46px;font-size:16px;background:#fff}
.eb-go{height:46px;padding:0 18px;font-size:16px;white-space:nowrap}
.eb-go[disabled]{opacity:.5;cursor:not-allowed}
.eb-consent{display:flex;gap:10px;align-items:flex-start;font-size:15px;line-height:1.5;color:#2b2b2b;cursor:pointer}
.eb-consent input{flex:0 0 auto;width:19px;height:19px;margin:2px 0 0;accent-color:#111}
.eb-msg{margin:0;min-height:1px;font-size:15px;color:#4b4b4b}
.eb-msg.err{color:#a3261b}
.eb-fine{margin:12px 0 0;font-size:13.5px;line-height:1.5;color:#6b6b6b}
.eb-fine a{color:inherit}
.eb-sent{display:flex;gap:14px;align-items:flex-start;padding:16px 18px;background:#fff;border:1px solid var(--eb-edge);border-radius:14px}
.eb-sent > div > b{display:block;font-size:17px;margin-bottom:2px;color:#111}
.eb-sent span b{color:#111;font-weight:600}
.eb-sent span{font-size:15px;line-height:1.55;color:#4b4b4b}
.eb-ok{flex:0 0 auto;width:34px;height:34px;border-radius:50%;background:var(--eb-amber);color:#111;display:inline-flex;align-items:center;justify-content:center;line-height:0}
.eb-ok .ico{width:18px;height:18px}
@media (max-width:720px){
  .eb{grid-template-columns:1fr;gap:22px;padding:22px}
  .eb-art{max-width:200px;margin:0 auto}
  .eb-h{font-size:30px}
  .eb-go{flex:1 1 100%;justify-content:center}
  .eb-row{display:contents}
  .eb-lbl{order:0}.eb-email{order:1}.eb-consent{order:2}.eb-go{order:3}.eb-msg{order:4}
}
[data-theme="dark"] .eb{background:linear-gradient(180deg,#1f1e1b 0%,#2a2117 100%);border-color:#3c3127}
[data-theme="dark"] .eb-h,[data-theme="dark"] .eb-in li,[data-theme="dark"] .eb-lbl,[data-theme="dark"] .eb-lead b,[data-theme="dark"] .eb-sent b{color:#f1efe9}
[data-theme="dark"] .eb-lead,[data-theme="dark"] .eb-consent,[data-theme="dark"] .eb-msg,[data-theme="dark"] .eb-sent span{color:#c6c2b8}
[data-theme="dark"] .eb-fine{color:#a19c91}
[data-theme="dark"] .eb-eyebrow{color:#e8b25e}
[data-theme="dark"] .eb-email{background:#141311}
[data-theme="dark"] .eb-sent{background:#1a1917;border-color:#3c3127}
[data-theme="dark"] .eb-consent input{accent-color:#E39A2D}
[data-theme="dark"] .eb-msg.err{color:#ff8a7a}
