/* MaGrouper site, paper look: warm paper, ink, serif headings. The classic look is css/style-classic.css. */

:root {
  --bg: #f6f1e7;
  --bg-alt: #efe8da;
  --paper: #fbf8f2;
  --text: #1c1a17;
  --muted: #5d574d;
  --line: #d9cfbd;
  --line-strong: #1c1a17;
  --accent: #3b37a8;
  --accent-ink: #2b2880;
  --accent-soft: rgba(59, 55, 168, .1);
  --mark: #ffd166;
  --nav-bg: #f6f1e7;
  --hard: 6px 6px 0 var(--line-strong);
  --shadow-lg: 10px 10px 0 var(--line-strong);
  --nav-h: 68px;
  --serif: "Sitka Heading", "Sitka Display", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #171512; --bg-alt: #1f1c17; --paper: #221f1a; --text: #f1ead9; --muted: #b3aa98; --line: #3a352c; --line-strong: #f1ead9;
    --accent: #a9a5ff; --accent-ink: #c9c6ff; --accent-soft: rgba(169, 165, 255, .12); --mark: #b8860b; --nav-bg: #171512;
    --hard: 6px 6px 0 #000; --shadow-lg: 10px 10px 0 #000;
  }
}
:root[data-theme="dark"] {
  --bg: #171512; --bg-alt: #1f1c17; --paper: #221f1a; --text: #f1ead9; --muted: #b3aa98; --line: #3a352c; --line-strong: #f1ead9;
  --accent: #a9a5ff; --accent-ink: #c9c6ff; --accent-soft: rgba(169, 165, 255, .12); --mark: #b8860b; --nav-bg: #171512;
  --hard: 6px 6px 0 #000; --shadow-lg: 10px 10px 0 #000;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
h1, h2, h3 { line-height: 1.12; margin: 0; }
h1, h2, .spot-text h3, .speed h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.06; text-wrap: balance; }
h2 { text-wrap: balance; }
h2 { font-size: clamp(30px, 3.8vw, 46px); }
h3 { font-size: 19px; font-weight: 650; }
p { margin: 0; }
/* the demo keeps the headings it was drawn with */
.stage h2, .stage h3 { font-family: var(--sans); line-height: 1.15; letter-spacing: -.02em; text-wrap: wrap; font-variant-numeric: normal; }
.stage h2 { font-weight: 720; }
.stage h3 { font-weight: 650; }
.wrap { width: min(1180px, 100% - 32px); margin: 0 auto; }
.sp { flex: 1; }
.lead { font-size: clamp(17px, 1.5vw, 19.5px); color: var(--muted); max-width: 640px; }

/* the little label above a heading: a number and a word between rules */
.tag, .eyebrow { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.tag span { font-family: var(--serif); font-size: 15px; letter-spacing: 0; color: var(--text); border: 1.5px solid var(--line-strong); border-radius: 4px; padding: 0 6px; line-height: 1.5; }
.tag::after { content: ""; flex: 1; max-width: 120px; height: 1.5px; background: var(--line-strong); opacity: .35; }

/* a highlighter stroke behind the words that matter */
.hero h1 br { display: none; }
mark { color: inherit; background: linear-gradient(transparent 58%, var(--mark) 58%, var(--mark) 92%, transparent 92%); padding: 0 .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* buttons: square-ish, solid, with a hard offset shadow */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-size: 15px; font-weight: 650; border-radius: 6px; padding: 10px 18px; border: 2px solid var(--line-strong); cursor: pointer; transition: transform .12s, box-shadow .12s, background .15s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn-lg { font-size: 16.5px; padding: 13px 24px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 4px 4px 0 var(--line-strong); }
.btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--line-strong); }
.btn-primary:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--line-strong); }
.btn-ghost { background: var(--paper); color: var(--text); box-shadow: 4px 4px 0 var(--line-strong); }
.btn-ghost:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--line-strong); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-primary { color: #15131f; } }
:root[data-theme="dark"] .btn-primary { color: #15131f; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--mark); outline-offset: 3px; }
.link-btn { font: inherit; font-weight: 650; color: var(--text); background: none; border: 0; border-bottom: 2px solid var(--mark); padding: 0 0 1px; cursor: pointer; margin-top: 18px; }
.link-btn:hover { background: var(--mark); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .link-btn:hover { color: #171512; } }

/* nav: a plain full-width bar with a ruled edge */
.nav { position: sticky; top: 0; z-index: 100; height: var(--nav-h); background: var(--nav-bg); border-bottom: 1.5px solid var(--line); transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line-strong); }
.nav-in { height: 100%; width: min(1180px, 100% - 32px); margin: 0 auto; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--serif); font-weight: 650; font-size: 21px; }
.brand img { border-radius: 7px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--text); font-size: 15px; font-weight: 550; padding: 4px 0; border-bottom: 2px solid transparent; transition: border-color .15s; }
.nav-links a:hover { border-bottom-color: var(--line); }
.nav-links a.active { border-bottom-color: var(--mark); }
.nav-cta { padding: 7px 14px; font-size: 14.5px; box-shadow: 3px 3px 0 var(--line-strong); }
.gh-btn { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 54px; height: 54px; border-radius: 6px; background: var(--paper); color: var(--text); border: 2px solid var(--line-strong); box-shadow: 4px 4px 0 var(--line-strong); transition: transform .12s, box-shadow .12s; }
.gh-btn svg { width: 26px; height: 26px; fill: currentColor; }
.gh-btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--line-strong); }
.gh-btn.gh-sm { width: 40px; height: 40px; box-shadow: 3px 3px 0 var(--line-strong); margin-left: -12px; }
.gh-btn.gh-sm svg { width: 21px; height: 21px; }
.nav-links .nav-dl-m { display: none; }
.nav-menu { display: none; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; padding: 0 9px; }
.nav-menu span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s; }
.nav.open .nav-menu span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.open .nav-menu span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* hero: text on the left, a short list of facts on the right, the demo below */
.hero { position: relative; padding: 64px 0 40px; overflow: hidden; }
.hero-grid { margin-bottom: 48px; }
.hero-text { max-width: 820px; }
.hero-text .lead { margin-top: 22px; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 22px 0 0; padding: 0; }
.hero-facts li { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; color: var(--muted); border: 1.5px solid var(--line); border-radius: 999px; padding: 5px 13px; }
.hero-facts b { color: var(--text); font-weight: 750; }
.hero-facts .hf-main { color: var(--text); font-weight: 700; border-color: var(--accent); }
.hero-facts svg { width: 17px; height: 17px; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
/* walkthrough video: one compact row under the demo, the player opens in a pop-up */
.video-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; margin-top: 22px; padding: 14px 18px 14px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); }
.video-thumb { position: relative; width: 148px; aspect-ratio: 16 / 9; border: 0; border-radius: 6px; cursor: pointer; overflow: hidden; background: linear-gradient(135deg, #1e2a5a, #10275a); display: grid; place-items: center; padding: 0; }
.video-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-play { position: relative; }
.video-play { width: 42px; z-index: 1; height: 42px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.35); transition: transform .15s; }
.video-play svg { width: 18px; height: 18px; fill: #1e2a5a; margin-left: 3px; }
.video-thumb:hover .video-play { transform: scale(1.08); }
.video-len { z-index: 1; position: absolute; right: 6px; bottom: 6px; font-size: 11.5px; font-weight: 700; color: #fff; background: rgba(0,0,0,.7); border-radius: 3px; padding: 1px 5px; }
.video-text h3 { font-size: 17.5px; margin: 0 0 3px; }
.video-text p { color: var(--muted); font-size: 15px; margin: 0; }
.video-btn svg { fill: currentColor; stroke: none; }
.video-dlg { width: min(1100px, 94vw); padding: 0; border: 2px solid var(--line-strong); border-radius: 10px; background: #000; box-shadow: var(--shadow-lg); }
.video-dlg::backdrop { background: rgba(10, 9, 8, .82); }
.video-frame { aspect-ratio: 16 / 9; background: #000; }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; background: var(--paper); }
.video-bar a { font-size: 14.5px; font-weight: 600; }
@media (max-width: 760px) {
  .video-row { grid-template-columns: auto 1fr; gap: 14px; }
  .video-thumb { width: 116px; }
  .video-play { width: 32px; height: 32px; }
  .video-play svg { width: 14px; height: 14px; margin-left: 2px; }
  .video-len { font-size: 10.5px; right: 4px; bottom: 4px; }
  .video-btn { display: none; }
  .video-text { display: contents; }
  .video-text h3 { margin: 0; }
  .video-text p { font-size: 14px; grid-column: 1 / -1; }
}
.demo-note { color: var(--muted); font-size: 14px; margin-top: 16px; display: none; }
.hero .demo { box-shadow: var(--shadow-lg); border: 2px solid var(--line-strong); }
.hero .demo.is-fs, .hero .demo.pseudo-fs { border: 0; box-shadow: none; }

/* sections */
.section { padding: 104px 0; }
#about { padding-top: 52px; }
.section.alt { background: var(--bg-alt); border-top: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 56px; align-items: end; margin-bottom: 56px; }
.section-head .tag { grid-column: 1 / -1; margin-bottom: 0; }
.section-head .lead { margin-top: 0; }

/* About: three columns divided by rules, no boxes, a plain line icon on top */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--line-strong); }
.about-card { padding: 28px 28px 8px 0; }
.about-card + .about-card { padding-left: 28px; border-left: 1px solid var(--line); }
.about-card h3 { margin: 16px 0 8px; font-size: 20px; }
.about-card p { color: var(--muted); }
.about-ico { width: 34px; height: 34px; color: var(--accent); }
.about-ico svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Features: picture and words side by side, the picture in a framed print */
.spot { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; margin-bottom: 96px; }
.spot.flip .spot-art { order: 2; }
.spot-art { border-radius: 8px; padding: 14px; background: var(--paper); border: 2px solid var(--line-strong); box-shadow: var(--hard); }
.spot-art svg { display: block; width: 100%; height: auto; border-radius: 4px; }
.spot-shot img { display: block; width: 100%; height: auto; border-radius: 4px; }
.spot-text h3 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 16px; }
.spot-text p { color: var(--muted); margin-bottom: 12px; }
.sa-fly { animation: breathe 5s ease-in-out infinite; transform-origin: 180px 200px; }
@keyframes breathe { 50% { transform: scaleX(1.06) scaleY(.96); } }

/* The smaller features: a ruled table of cells rather than cards */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--line-strong); border-left: 1px solid var(--line); }
.feat { padding: 26px 26px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s; display: grid; grid-template-columns: 26px 1fr; column-gap: 14px; align-content: start; }
.feat:hover { background: var(--paper); }
.feat h3 { font-size: 17.5px; margin: 0 0 6px; grid-column: 2; }
.feat p { color: var(--muted); font-size: 15.5px; grid-column: 2; }
.feat-ico { grid-row: 1 / span 2; width: 26px; height: 26px; color: var(--accent); }
.feat-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Lightweight: big serif numbers on a highlighter colored strip */
.speed { margin-top: 96px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding: 48px; border-radius: 8px; background: var(--mark); color: #1c1a17; border: 2px solid #1c1a17; box-shadow: 10px 10px 0 #1c1a17; }
.speed .tag { color: #1c1a17; }
.speed .tag span { color: #1c1a17; border-color: #1c1a17; }
.speed .tag::after { background: #1c1a17; }
.speed h3 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 14px; }
.speed-text p:last-child { color: #3a352c; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 2px solid #1c1a17; }
.stat { padding: 18px 20px 4px 0; }
.stat + .stat { padding-left: 20px; border-left: 1px solid rgba(28, 26, 23, .35); }
.stat b { display: block; font-family: var(--serif); font-size: 76px; font-weight: 600; line-height: 1; }
.stat span { display: block; margin-top: 10px; font-size: 14.5px; color: #3a352c; line-height: 1.45; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .speed { background: #e9c46a; box-shadow: 10px 10px 0 #000; } }
:root[data-theme="dark"] .speed { background: #e9c46a; box-shadow: 10px 10px 0 #000; }

/* Download: an ink block, left aligned */
.dl-card { display: grid; grid-template-columns: auto 1fr; column-gap: 40px; align-items: start; padding: 56px; border-radius: 8px; background: #1c1a17; color: #f6f1e7; border: 2px solid #1c1a17; box-shadow: 10px 10px 0 var(--accent); }
.dl-card > * { grid-column: 2; }
.dl-logo { grid-column: 1; grid-row: 1 / span 5; border-radius: 22px; }
.dl-card .tag { color: #b3aa98; }
.dl-card .tag span { color: #f6f1e7; border-color: #f6f1e7; }
.dl-card .tag::after { background: #f6f1e7; }
.dl-card h2 { color: #fff; }
.dl-card .lead { margin: 16px 0 0; color: #cfc6b4; }
.dl-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.dl-card .btn, .dl-card .gh-btn { border-color: #f6f1e7; box-shadow: 4px 4px 0 #f6f1e7; }
.dl-card .btn-ghost, .dl-card .gh-btn { background: #1c1a17; color: #f6f1e7; }
.dl-card .btn-primary { background: #ffd166; color: #1c1a17; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .dl-card { background: #0d0c0a; border-color: #f1ead9; } }
:root[data-theme="dark"] .dl-card { background: #0d0c0a; border-color: #f1ead9; }
.dl-card .btn:hover, .dl-card .gh-btn:hover { box-shadow: 6px 6px 0 #f6f1e7; }
.dl-meta { margin-top: 20px; font-size: 14px; color: #b3aa98; }

.foot { border-top: 2px solid var(--line-strong); padding: 40px 0 28px; font-size: 14px; color: var(--muted); }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--text); }
.foot .brand { font-size: 17px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-brand p { margin: 10px 0 0; }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.foot-col h3 { margin: 0 0 2px; font: 600 12px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--text); }
.foot-copy { margin: 32px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; } }

.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 48px; height: 48px; border-radius: 6px; border: 2px solid var(--line-strong); cursor: pointer; background: var(--paper); color: var(--text); box-shadow: 4px 4px 0 var(--line-strong); display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .25s, transform .25s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translate(-2px, -2px); }
.to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease-out, transform .6s ease-out; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .section-head, .spot, .speed { grid-template-columns: 1fr; gap: 28px; }
  .spot.flip .spot-art { order: 0; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-card, .about-card + .about-card { padding: 24px 0 12px; border-left: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links { position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 16px 16px; background: var(--bg); border-bottom: 2px solid var(--line-strong); display: none; }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav-menu { display: flex; margin-left: auto; margin-right: -9px; }
  .gh-btn.gh-sm { display: none; }
  .hero-ctas { gap: 10px; flex-wrap: nowrap; }
  .hero-ctas .btn-lg { padding: 13px 14px; font-size: 16px; }
  .hero-ctas .gh-btn { width: 50px; height: 50px; }
  .nav-cta { display: none; }
  .nav-links .nav-dl-m { display: block; color: var(--accent); }
  .hero { padding: 36px 0 28px; }
  .hero-grid { margin-bottom: 32px; }
  .hero .demo { box-shadow: 5px 5px 0 var(--line-strong); }
  .section { padding: 64px 0; }
  #about { padding-top: 32px; }
  .feat-grid, .stats { grid-template-columns: 1fr; }
  .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid rgba(28, 26, 23, .35); }
  .speed { padding: 28px 22px; box-shadow: 6px 6px 0 #1c1a17; }
  .dl-card { grid-template-columns: 1fr; padding: 32px 22px; box-shadow: 6px 6px 0 var(--accent); }
  .dl-card > *, .dl-logo { grid-column: 1; grid-row: auto; }
  .dl-logo { width: 72px; height: 72px; margin-bottom: 18px; }
  .demo-note { display: block; }
  .demo-label { display: none; }
  .to-top { right: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .sa-fly { animation: none; }
}

/* Store: the price card's fine print and the Buy button while checkout is not open yet */
.dl-card .dl-fine { margin-top: 10px; font-size: 13px; line-height: 1.55; max-width: 62ch; }
.dl-card .dl-fine a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.dl-card button.btn[disabled] { cursor: default; opacity: .7; box-shadow: none; transform: none; }

/* The free classic version: a small, quiet line under the price card with a "What's this?" panel */
.dl-card .dl-classic { margin-top: 14px; font-size: 13.5px; max-width: 62ch; }
.dl-card .dl-classic summary { cursor: pointer; list-style: none; opacity: .85; }
.dl-card .dl-classic summary::-webkit-details-marker { display: none; }
.dl-card .dl-classic summary:hover { opacity: 1; }
.dl-card .dl-what { margin-left: 6px; text-decoration: underline; text-underline-offset: 2px; }
.dl-card .dl-classic[open] .dl-what { display: none; }
.dl-card .dl-classic-body { margin-top: 10px; padding: 14px 16px; border: 1px solid currentColor; border-radius: 6px; line-height: 1.55; }
.dl-card .dl-classic-body p, .dl-card .dl-classic-body li { margin: 0 0 8px; }
.dl-card .dl-classic-body ul { margin: 0 0 8px; padding-left: 20px; text-align: left; }
.dl-card .dl-classic-link { display: inline-block; margin-top: 4px; color: inherit; font-weight: 650; text-decoration: underline; text-underline-offset: 2px; }

/* Narrow phones: the Buy button gets its own full-width row above Live demo and GitHub. */
@media (max-width: 430px) {
  .hero-facts { gap: 6px; }
  .hero-facts li { font-size: 13px; padding: 4px 10px; gap: 5px; }
  .hero-ctas { flex-wrap: wrap; }
  .hero-ctas [data-buy] { order: -1; flex: 1 1 100%; justify-content: center; }
}

/* "Already bought it? Download again": under the Buy button, and beside Paddle's checkout while it's open. */
.dl-card .dl-again { margin-top: 8px; color: #cfc6b4; }
.dl-card .dl-again a { color: #ffd166; text-decoration: underline; text-underline-offset: 2px; }
/* Paddle's checkout is a full-window frame with its own legal footer at the bottom, so nothing of ours may sit on it.
   Instead the frame moves down 44px and the line sits in that strip at the top, at every window size. */
.co-again { position: fixed; top: 0; left: 0; right: 0; height: 44px; z-index: 2147483647; margin: 0; padding: 0 16px;
  display: flex; align-items: center; justify-content: center; gap: .3em; background: #1c1a17; color: #e9e2d2;
  font: 14px/1.3 var(--sans); white-space: nowrap; }
.co-again a { color: #ffd166; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
body.co-open .paddle-frame-overlay { top: 44px !important; height: calc(100% - 44px) !important; }
