/* Spreadsheet store: /spreadsheets/*, plus the spreadsheets card on the home page. Loaded after site.css. */
[hidden] { display: none !important; }

/* ------------------------------------------------------------------ prices
   Every price is written twice, for the sale and for the regular price. The head script adds .sx-ended to <html> when the
   sale is over, and store.js re-checks with the server, so a discount never stays on screen after it ends. */
.sx-s-on { display: contents; }
.sx-s-off { display: none; }
html.sx-ended .sx-s-on { display: none; }
html.sx-ended .sx-s-off, .sx-s-off.always { display: contents; }
html.sx-ended .sx-salenote { display: none; }
.sx-amt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-family: var(--display); line-height: 1.05; }
.sx-now { font-weight: 800; letter-spacing: -.03em; font-size: 22px; }
.sx-was { font-family: var(--ui); font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.sx-off { font-family: var(--ui); font-size: 12px; font-weight: 800; letter-spacing: .01em; color: #fff; background: #c2410c; border-radius: 999px; padding: 3px 9px; align-self: center; }
.sx-amt.sm .sx-now { font-size: 17px; } .sx-amt.sm .sx-was { font-size: 13px; } .sx-amt.sm .sx-off { font-size: 11px; padding: 2px 7px; }
.sx-amt.md .sx-now { font-size: 30px; }
.sx-amt.lg .sx-now { font-size: 46px; } .sx-amt.lg .sx-was { font-size: 20px; }
.sx-amt.inline { display: inline-flex; vertical-align: baseline; }
.sx-amt.inline .sx-was, .sx-amt.inline .sx-off { display: none; }
.sx-amt.inline .sx-now { font-size: inherit; letter-spacing: 0; font-family: var(--display); }
.sx-amt.dark .sx-now { color: #fff; } .sx-amt.dark .sx-was { color: #9fb0bf; }
.sx-amt.center { justify-content: center; }
.sx-pi .sx-now { font-family: var(--display); font-size: inherit; letter-spacing: 0; font-weight: 800; }
.sx-salenote { margin: 0; }
.sx-salenote b { display: inline-block; font-size: 13.5px; font-weight: 700; color: #9a3412; background: #ffedd5; border: 1px solid #fed7aa; border-radius: 999px; padding: 6px 14px; }
.sx-hero .sx-salenote { margin: -6px 0 22px; }

/* ------------------------------------------------------------------ category page hero */
.sx-hero { position: relative; padding: 64px 0 84px; overflow: hidden;
  background: radial-gradient(900px 500px at 92% 0%, #e3eaf3 0%, #e3eaf300 70%), radial-gradient(700px 420px at -10% 110%, #f6eedbcc 0%, #f6eedb00 70%); }
.sx-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.sx-hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(38px, 5vw, 62px); line-height: 1.02; letter-spacing: -.04em; margin: 20px 0; }
.sx-hero h1 em { font-family: var(--logo); font-style: italic; font-weight: 600; letter-spacing: -.01em; color: var(--gold-2); font-size: 1.12em; }
.sx-hero .lede { font-size: 19px; color: var(--muted); max-width: 31em; margin: 0 0 24px; }
.sx-hero .ctas .btn { gap: 10px; }
.sx-fan { position: relative; display: block; min-height: 420px; }
.sx-fan img { position: absolute; width: 62%; height: auto; border-radius: 10px; background: #fff; border: 1px solid #fff; box-shadow: 0 22px 50px #15213033, 0 2px 6px #15213014; }
.sx-fan img:nth-child(1) { left: 0; top: 0; transform: rotate(-5deg); }
.sx-fan img:nth-child(2) { right: 0; top: 21%; transform: rotate(4deg); z-index: 2; }
.sx-fan img:nth-child(3) { left: 13%; bottom: 0; transform: rotate(-1.5deg); z-index: 3; }
.sx-facts ul { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); }
@media (min-width: 761px) { .sx-facts[data-n="4"] ul { grid-template-columns: .8fr 1.1fr 1.5fr 1fr; } }

.sx-grid3 { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.sx-grid3 > .sx-card { flex: 0 0 calc((100% - 44px) / 3); min-width: 0; }
.sx-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; text-decoration: none; color: inherit;
  box-shadow: var(--shadow-1); transition: transform .2s, box-shadow .2s; }
.sx-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.sx-cover { display: block; border-bottom: 1px solid var(--line); background: #e8edf1; }
.sx-cover img { display: block; width: 100%; height: auto; }
.sx-card-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.sx-card-body .kicker { margin: 0; }
.sx-card h3 { font-family: var(--display); font-size: 20px; letter-spacing: -.02em; margin: 0; line-height: 1.2; }
.sx-card p { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }
.sx-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; }
.sx-card-foot .go { font-weight: 700; font-size: 14.5px; color: var(--navy-2); white-space: nowrap; }

.sx-bundle { background: var(--navy); color: #fff; position: relative; overflow: hidden; padding: 84px 0; }
.sx-bundle::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 320px at 85% 10%, #c8a24c30, #c8a24c00 70%); pointer-events: none; }
.sx-bundle .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.sx-bundle h2 { color: #fff; }
.sx-b-copy > p { color: #c9d3da; font-size: 18px; margin: 0 0 22px; max-width: 28em; }
.sx-bundle .kicker { color: var(--gold); }
.sx-bundle .sx-save { color: var(--gold); font-weight: 600; font-size: 15px; margin: 12px 0 24px; }
.sx-bundle .ctas .btn.gold { white-space: normal; }
.sx-b-list { list-style: none; margin: 0; padding: 8px 24px; background: #ffffff0d; border: 1px solid #ffffff22; border-radius: 20px; }
.sx-b-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 13px 0; border-bottom: 1px dashed #ffffff2e; }
.sx-b-list li:last-child { border-bottom: 0; }
.sx-b-list a { color: #e4ebf1; text-decoration: none; font-weight: 500; }
.sx-b-list a:hover { color: #fff; text-decoration: underline; }
.sx-b-list .sx-now { color: #fff; font-size: 16px; } .sx-b-list .sx-was { color: #9fb0bf; }

/* ------------------------------------------------------------------ product page */
.sx-prod { padding: 28px 0 64px; }
.sx-prod .crumbs { margin-bottom: 20px; }
.sx-top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); grid-template-areas: "gallery buy" "intro buy"; grid-template-rows: auto 1fr; gap: 28px 44px; align-items: start; }
.sx-gallery, .sx-covers { grid-area: gallery; }
.sx-buy { grid-area: buy; }
.sx-intro { grid-area: intro; }
.sx-intro p { margin: 0; color: var(--muted); font-size: 17px; max-width: 40em; }
.sx-main { position: relative; aspect-ratio: 4 / 3; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-2); }
.sx-main img { display: block; width: 100%; height: 100%; object-fit: contain; }
.sx-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: #ffffffe6; color: var(--ink);
  font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px #15213033; display: grid; place-items: center; padding: 0 0 3px; }
.sx-nav:hover { background: #fff; }
.sx-nav.prev { left: 12px; } .sx-nav.next { right: 12px; }
.sx-count { position: absolute; left: 12px; bottom: 12px; background: #152130c4; color: #fff; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 10px; }
.sx-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.sx-th { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: #fff; cursor: pointer; box-shadow: var(--shadow-1); line-height: 0; }
.sx-th img { width: 100%; height: auto; display: block; }
.sx-th:hover { border-color: var(--line-2); }
.sx-th[aria-current="true"] { border-color: var(--navy); }

.sx-buy { position: sticky; top: 88px; align-self: start; display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px 26px; box-shadow: var(--shadow-1); }
.sx-buy .kicker { margin: 0; }
.sx-buy h1 { font-family: var(--display); font-weight: 800; font-size: clamp(25px, 2.2vw, 30px); line-height: 1.1; letter-spacing: -.03em; margin: 0; }
.sx-pitch { color: var(--muted); font-size: 15.5px; margin: 0; }
.sx-buybtn { width: 100%; }
.sx-bundle .sx-buybtn, .cta-band .sx-buybtn { width: auto; min-width: 260px; }
.sx-ticks { font-size: 14.5px; color: var(--muted); gap: 8px; }
.sx-pay { font-size: 13px; color: var(--muted); margin: 0; }
.sx-bundle-hint { font-size: 14px; margin: 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); }
.sx-bundle-hint a { color: var(--navy-2); font-weight: 600; }
.sx-buy .sx-save { margin: 0; color: var(--ok); font-weight: 600; font-size: 14.5px; }
.sx-buy .pay-err { margin: 0; text-align: left; }
.sx-brand { margin: 18px 0 0; font-size: 14px; color: var(--muted); background: var(--gold-soft); border-radius: 10px; padding: 10px 14px; }
.sx-cross { margin-top: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: grid; gap: 12px; justify-items: start; }
.sx-cross p { margin: 0; color: var(--muted); font-size: 15px; }

.sx-incs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.sx-inc { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; box-shadow: var(--shadow-1); }
.sx-inc h3 { font-family: var(--display); font-size: 18px; letter-spacing: -.015em; margin: 0 0 6px; }
.sx-inc p { margin: 0; color: var(--muted); font-size: 15px; }
.sx-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.sx-box { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px 26px; box-shadow: var(--shadow-1); }
.sx-box h3 { font-family: var(--display); font-size: 19px; letter-spacing: -.015em; margin: 0 0 12px; }
.sx-box p { color: var(--muted); font-size: 15px; margin: 0 0 12px; }
.sx-small { font-size: 13.5px; color: var(--muted); margin: 12px 0 0; }
.sx-files + .sx-small, .sx-chips + .sx-small { margin-top: 16px; }
.sx-files { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sx-files li { display: flex; flex-direction: column; gap: 1px; padding: 10px 14px; background: var(--paper); border-radius: 10px; }
.sx-files span { font-size: 13px; color: var(--muted); word-break: break-all; }
.sx-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sx-chips li { font-size: 13.5px; font-weight: 600; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; color: var(--navy-2); }
.sx-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.sx-steps > div { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
section.alt .sx-steps > div { background: #fff; box-shadow: var(--shadow-1); }
.sx-steps i { font-style: normal; font-family: var(--display); font-weight: 800; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--navy); color: var(--gold); font-size: 16px; }
.sx-steps p { margin: 14px 0 0; color: var(--ink); font-size: 15.5px; }
.sx-split { align-items: start; }
.sx-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 32px; }
.sx-item { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px; text-decoration: none; color: inherit; box-shadow: var(--shadow-1); transition: transform .2s, box-shadow .2s; }
.sx-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.sx-item img { width: 118px; height: auto; border-radius: 8px; flex: none; border: 1px solid var(--line); }
.sx-item b { display: block; font-family: var(--display); font-size: 17px; letter-spacing: -.015em; }
.sx-item em { display: block; font-style: normal; color: var(--muted); font-size: 14px; margin-top: 2px; }
.sx-covers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sx-bc { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-1); line-height: 0; transition: transform .2s, box-shadow .2s; }
.sx-bc:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.sx-bc img { width: 100%; height: auto; display: block; }
.sx-bc:first-child { grid-column: 1 / -1; }
.sx-bc:last-child:nth-child(even), .sx-item:last-child:nth-child(odd) { grid-column: 1 / -1; }      /* an odd one out spans the row, whatever the number of products */
.sx-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.sx-table td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.sx-table td.r { text-align: right; }
.sx-table td.r .sx-amt { justify-content: flex-end; }
.sx-table a { color: var(--ink); text-decoration: none; }
.sx-table a:hover { text-decoration: underline; }
.sx-table tr.tot td { font-weight: 700; border-bottom: 0; padding-top: 14px; }
.sx-table tr.big td { border-top: 2px solid var(--ink); }
.sx-box .sx-save { color: var(--ok); font-weight: 600; margin: 14px 0 0; }
.cta-band .sx-cta-price { margin: 0 auto 24px; }
.cta-band .btn.gold { white-space: normal; }

/* the buy bar that follows you on a phone */
.sx-bar { display: none; }

/* ------------------------------------------------------------------ download page */
.sx-dl { padding: 40px 0 84px; }
.sx-dl-wrap { max-width: 820px; }
.sx-dl h1 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4vw, 44px); line-height: 1.08; letter-spacing: -.035em; margin: 0 0 18px; }
.sx-dl .sx-box { margin-bottom: 16px; }
.sx-lead { font-size: 18px; color: var(--muted); margin: 0 0 22px; }
.sx-prodbox h3 { margin-bottom: 4px; }
.sx-file { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.sx-file:first-of-type { margin-top: 8px; }
.sx-file b { display: block; font-size: 15.5px; }
.sx-file small { display: block; color: var(--muted); font-size: 13px; word-break: break-all; }
.sx-open { margin: 24px 0 16px; }
.sx-open .sx-box { margin: 0; }
.sx-resend form { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.sx-resend input[type="email"] { flex: 1 1 220px; min-width: 0; border: 1.5px solid var(--line-2); background: #fff; border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 15px; }
.sx-resend input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px #1b2a3814; }
.sx-resend .sx-small { margin-top: 12px; }
.sx-resend .ok { color: var(--ok); } .sx-resend .bad { color: #9b3b10; }

/* ------------------------------------------------------------------ home page card */
a.c-art.sx-home-art { display: block; padding: 0; background: radial-gradient(420px 220px at 20% 0%, #fff 0%, #ffffff00 70%), #e8f0ec; }
.sx-fan.sm { min-height: 0; height: 100%; }
.sx-fan.sm img { width: 41%; border-radius: 8px; }
.sx-fan.sm img:nth-child(1) { left: 5%; top: 22px; bottom: auto; transform: rotate(-6deg); }
.sx-fan.sm img:nth-child(2) { left: 29.5%; right: auto; top: 40px; transform: rotate(1.5deg); z-index: 3; }
.sx-fan.sm img:nth-child(3) { left: auto; right: 5%; top: 18px; bottom: auto; transform: rotate(6deg); z-index: 2; }
.sx-home-price { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 2px; color: var(--muted); font-size: 14px; font-weight: 600; }
.c-sheet .sx-salenote { margin: 6px 0 4px; }
.c-sheet .ctas { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; }
.c-sheet .ctas .btn { white-space: normal; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1020px) {
  .sx-grid3 > .sx-card { flex-basis: calc((100% - 22px) / 2); }
  .sx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-top { grid-template-columns: minmax(0, 1fr); grid-template-areas: "gallery" "buy" "intro"; grid-template-rows: auto; gap: 28px; }
  .sx-buy { position: static; }
  .sx-hero .wrap, .sx-bundle .wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .sx-fan { min-height: 380px; max-width: 560px; width: 100%; margin: 0 auto; }
  .sx-covers { max-width: 640px; }
}
@media (max-width: 760px) {
  .sx-incs, .sx-two, .sx-items { grid-template-columns: minmax(0, 1fr); }
  .sx-facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-facts[data-n="3"] ul { grid-template-columns: minmax(0, 1fr); }
  .sx-facts[data-n="3"] li { border-left: 0; border-top: 1px solid var(--line); padding-top: 8px; }
  .sx-facts[data-n="3"] li:first-child { border-top: 0; padding-top: 4px; }
}
@media (max-width: 720px) {
  .sx-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; justify-content: space-between; align-items: center; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fffffff5; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px #15213014; }
  .sx-bar[hidden] { display: none; }
  .sx-bar > div { min-width: 0; }
  .sx-bar b { display: block; font-size: 14px; line-height: 1.25; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sx-bar .sx-was, .sx-bar .sx-off { display: none; }
  .sx-bar .btn, .sx-bar .sx-buybtn { white-space: nowrap; width: auto; flex: none; padding: 12px 24px; }
  body.sx { padding-bottom: 0; }
}
@media (max-width: 560px) {
  .sx-hero { padding: 36px 0 64px; }
  .sx-hero .lede { font-size: 17px; }
  .sx-grid3 > .sx-card { flex-basis: 100%; }
  .sx-steps { grid-template-columns: minmax(0, 1fr); }
  .sx-fan { min-height: 330px; }
  .sx-prod { padding: 20px 0 48px; }
  .sx-buy { padding: 22px 20px; }
  .sx-amt.lg .sx-now { font-size: 40px; }
  .sx-thumbs { gap: 6px; }
  .sx-nav { width: 38px; height: 38px; }
  .sx-bundle { padding: 60px 0; }
  .sx-item img { width: 96px; }
  .sx-file { flex-direction: column; align-items: flex-start; }
  .sx-dl { padding-top: 28px; }
  .sx-card-foot { flex-wrap: wrap; }
  .sx-hero .ctas .btn { white-space: normal; text-align: center; }
}
