/* DM Sans (SIL Open Font License, static/fonts/OFL.txt), served from this site: no request to Google before consent. */
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; font-display: swap;
  src: url(/static/fonts/dm-sans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; font-display: swap;
  src: url(/static/fonts/dm-sans-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Advercase (Bold Boy's display face) for big headlines only; DM Sans for everything else. */
@font-face { font-family: "Advercase"; font-style: normal; font-weight: 400; font-display: swap; src: url(/static/fonts/advercase-regular.woff2) format("woff2"); }
@font-face { font-family: "Advercase"; font-style: normal; font-weight: 700; font-display: swap; src: url(/static/fonts/advercase-bold.woff2) format("woff2"); }

/* swapthat.io: SwapThat's app (colours, icons, widgets, cards: static/app.css) and sales pages (features, trust,
   pricing, top-ups, promotion: static/sales.css), with Bold Boy's display type, buttons, menu box and stretching
   section. This file only adds the site's own layout; it never redefines the app's or the sales pages' components. */
:root {
  --display: "Advercase", Georgia, "Times New Roman", serif;
  --edge: 2px solid #000;             /* Bold Boy: black 2px edge and a hard shadow */
  --hard: 5px 5px 0 #000;
  --hard-in: 2px 1px 0 #000;
  --gutter: 40px;
  --max: 1240px;
  --hero-pad: 24px;
  --stretch-m: var(--hero-pad);       /* grey boxes start at the hero photo's margin and corner, then stretch */
  --stretch-r: 40px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--color-surface); color: var(--color-text); font: 400 16px/1.55 var(--font-sans); overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--color-text); outline-offset: 3px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 10px 16px; border: var(--edge); border-radius: 12px; }
.m-wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
.ratio-4-5 { aspect-ratio: 4 / 5; } .ratio-2-3 { aspect-ratio: 2 / 3; } .ratio-1-1 { aspect-ratio: 1; }
.ratio-3-4 { aspect-ratio: 3 / 4; } .ratio-16-9 { aspect-ratio: 16 / 9; } .ratio-3-2 { aspect-ratio: 3 / 2; }

/* ---------- type ---------- */
.m-display { font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 3.5vw, 6rem); line-height: 1.04;
  letter-spacing: -0.01em; text-wrap: balance; color: var(--color-text); }
.m-title { font-family: var(--display); font-weight: 400; font-size: clamp(1.75rem, 2.4vw, 2.6rem); line-height: 1.08; letter-spacing: -0.005em; }
.m-lead { font-size: clamp(17px, 0.5vw + 14px, 20px); color: var(--color-text-secondary); max-width: 46ch; }

/* ---------- buttons: SwapThat colours, Bold Boy build ---------- */
.btn, .sales .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 0;
  padding: 16px 20px; border: var(--edge); border-radius: 10px; box-shadow: var(--hard);
  font: 700 18px/1 var(--font-sans); letter-spacing: 0; text-transform: uppercase; text-decoration: none; cursor: pointer;
  background: #fff; color: #000; transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease; white-space: nowrap; }
.btn:hover, .sales .btn:hover { transform: translate(4px, 5px); box-shadow: var(--hard-in); }
.btn:active, .sales .btn:active { transform: translate(6px, 6px); box-shadow: none; }
.btn.primary, .sales .btn.primary, .sales form .btn, .sales .card.dark .btn,
.sales .btn.primary:hover, .sales form .btn:hover, .sales .card.dark .btn:hover { background: var(--color-brand); border-color: #000; color: #fff; }
.btn.white, .sales .btn.white, .sales .btn.white:hover, .btn.secondary, .sales .btn.secondary:hover { background: #fff; border-color: #000; color: #000; }
.btn.small, .sales .btn.small { padding: 14px 18px; font-size: 14px; box-shadow: 4px 4px 0 #000; }
.btn.small:hover, .sales .btn.small:hover { box-shadow: 1px 1px 0 #000; transform: translate(3px, 3px); }
.btn svg { flex: none; }
.btn:focus-visible { outline: 3px solid var(--color-brand); outline-offset: 3px; }
.sales .card.dark .btn { border-color: #fff; box-shadow: 6px 6px 0 #fff; }
.sales .card.dark .btn:hover { box-shadow: 2px 1px 0 #fff; }
.link { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- logo and the Bold Boy menu box ---------- */
.m-top { position: relative; z-index: 20; display: flex; align-items: center; height: 120px; padding-inline: var(--gutter); }
.m-logo { display: block; }
.m-logo img { height: 48px; width: auto; }
.m-menu { position: fixed; top: 24px; right: calc(34px + 124px + 12px + 64px + 12px); z-index: 60; width: 64px; display: grid; grid-template-rows: auto 0fr;
  background: #fff; border: var(--edge); border-radius: 12px; box-shadow: var(--hard); overflow: hidden;
  transition: width 0.35s cubic-bezier(0.3, 0.7, 0.2, 1), grid-template-rows 0.35s cubic-bezier(0.3, 0.7, 0.2, 1), transform 0.25s ease, box-shadow 0.25s ease; }
.m-menu-btn { justify-self: end; width: 60px; height: 60px; flex: none; display: grid; place-items: center; padding: 0; border: 0; background: none; cursor: pointer; }
.m-menu-btn img { grid-area: 1 / 1; transition: opacity 0.2s ease, transform 0.25s ease; }
.m-menu-close { opacity: 0; transform: rotate(-90deg); }
.m-menu-list { min-height: 0; overflow: hidden; display: grid; align-content: start; visibility: hidden; transition: visibility 0s 0.35s; }
.m-menu-list a { display: block; padding: 6px 24px; font: 400 clamp(1.25rem, 1.67vw, 1.75rem)/1.25 var(--display); text-decoration: none; white-space: nowrap;
  opacity: 0; transform: translateY(8px); transition: opacity 0.2s ease, transform 0.2s ease; }
.m-menu-list a:last-child { margin-bottom: 20px; }
.m-menu-list a:hover, .m-menu-list a[aria-current="page"] { color: var(--color-brand); }
.m-menu-list .m-menu-cta { color: var(--color-brand); }
.m-menu.open { width: 248px; grid-template-rows: auto 1fr; transform: translate(4px, 5px); box-shadow: var(--hard-in); }
.m-menu.open .m-menu-list { visibility: visible; transition: none; }
.m-menu.open .m-menu-list a { opacity: 1; transform: none; transition-duration: 0.3s; }
.m-menu.open .m-menu-list a:nth-child(1) { transition-delay: 0.1s; } .m-menu.open .m-menu-list a:nth-child(2) { transition-delay: 0.17s; }
.m-menu.open .m-menu-list a:nth-child(3) { transition-delay: 0.24s; } .m-menu.open .m-menu-list a:nth-child(4) { transition-delay: 0.31s; }
.m-menu.open .m-menu-list a:nth-child(5) { transition-delay: 0.38s; } .m-menu.open .m-menu-list a:nth-child(6) { transition-delay: 0.45s; }
.m-menu.open .m-menu-open { opacity: 0; transform: rotate(90deg); }
.m-menu.open .m-menu-close { opacity: 1; transform: none; }
.m-menu:not(.open):hover { transform: translate(4px, 5px); box-shadow: var(--hard-in); }
/* login: the same box as the menu, right of it; it just goes to the app */
.m-login { position: fixed; top: 24px; right: calc(34px + 124px + 12px); z-index: 60; width: 64px; height: 64px; display: grid; place-items: center;
  background: #fff; border: var(--edge); border-radius: 12px; box-shadow: var(--hard); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.m-login:hover, .m-signup:hover { transform: translate(4px, 5px); box-shadow: var(--hard-in); }
/* Sign up: the same box as Login, in red with the word */
.m-signup { position: fixed; top: 24px; right: 34px; z-index: 60; width: 124px; height: 64px; display: grid; place-items: center;
  background: var(--color-brand); color: #fff; border: var(--edge); border-radius: 12px; box-shadow: var(--hard); text-decoration: none;
  font: 700 18px/1 var(--font-sans, "DM Sans", sans-serif); text-transform: uppercase; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.m-signup:focus-visible { outline: 3px solid #000; outline-offset: 3px; }
.m-login:focus-visible { outline: 3px solid var(--color-brand); outline-offset: 3px; }
/* desktop: as on boldboy.nl the box opens sideways, the links in one row to the left of the button */
@media (min-width: 992px) {
  .m-menu { display: flex; flex-direction: row-reverse; align-items: center; grid-template-rows: none; transition: width 0.4s cubic-bezier(0.3, 0.7, 0.2, 1), transform 0.25s ease, box-shadow 0.25s ease; }
  .m-menu-list { display: flex; flex: none; align-items: center; gap: 28px; padding-left: 20px; }
  .m-menu-list a { padding: 0; font-size: clamp(1.125rem, 1.4vw, 1.5rem); transform: translateX(12px); }
  .m-menu-list a:last-child { margin-bottom: 0; }
  .m-menu.open { width: var(--menu-w, 720px); }
}

/* ---------- hero: the photo left, the claim right ---------- */
.m-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; height: clamp(680px, 100svh, 980px); padding: var(--hero-pad); }
.m-hero-media { position: relative; border-radius: 40px; overflow: hidden; background: var(--color-bg-secondary); min-height: 520px; }
.m-slides { position: absolute; inset: 0; }
.m-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.m-slide.on { opacity: 1; }
.m-hero-side { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 96px clamp(24px, 3vw, 56px) 8px; }
.is-home .m-top { position: absolute; top: var(--hero-pad); left: 50%; right: 0; padding-inline: 40px; height: 64px; }
.m-wand { margin-top: auto; display: block; width: clamp(88px, 7.6vw, 112px); animation: m-float 6s ease-in-out infinite; transform-origin: 50% 70%; }
.m-wand svg { width: 100%; height: auto; display: block; }
@keyframes m-float {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  30% { transform: translateY(-14px) rotate(5deg); }
  55% { transform: translateY(0) rotate(-2deg) scale(1.02, 0.98); }
  65% { transform: translateY(-5px) rotate(1deg); }
  75% { transform: translateY(0) rotate(-4deg); }
}
.m-paused, .m-paused * { animation-play-state: paused !important; }
.m-hero h1 { margin-top: 40px; max-width: 12.4em; font-size: clamp(2.2rem, 3.2vw, 3.25rem); line-height: 1.02; text-wrap: wrap; }
/* "real" and "amazing": each its own colour, each with an app sticker that pops up now and then */
.m-hl { position: relative; display: inline-block; }
.m-hl-word { background-clip: text; -webkit-background-clip: text; color: transparent; padding-bottom: 0.08em; }
.m-hl-1 .m-hl-word { background-image: linear-gradient(100deg, #8c0d12 0%, var(--color-brand) 55%, #8c0d12 100%); }
.m-hl-2 .m-hl-word { background-image: linear-gradient(90deg, #1d1d1d 0%, #1d1d1d 25%, var(--color-brand) 45%, #8c0d12 55%, #1d1d1d 75%, #1d1d1d 100%);
  background-size: 250% 100%; animation: m-sheen 7s ease-in-out infinite; }
@keyframes m-sheen { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.m-pop { position: absolute; top: -0.78em; right: -0.62em; width: 0.85em; pointer-events: none; transform: scale(0) rotate(-30deg); opacity: 0;
  animation: m-pop 8s cubic-bezier(0.3, 1.6, 0.5, 1) infinite; }
.m-hl-1 .m-pop { right: auto; left: -0.62em; top: -0.72em; }
.m-hl-2 .m-pop { top: -0.6em; right: -0.35em; animation-delay: 4s; }
.m-pop svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 4px 6px rgba(16, 24, 40, 0.15)); }
@keyframes m-pop {
  0%, 4% { transform: scale(0) rotate(-30deg); opacity: 0; }
  9% { transform: scale(1.15) rotate(8deg); opacity: 1; }
  13%, 38% { transform: scale(1) rotate(-6deg); opacity: 1; }
  44%, 100% { transform: scale(0) rotate(20deg); opacity: 0; }
}
.m-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 20px; margin-top: 44px; }
.m-logos { margin-top: auto; padding-top: 48px; display: grid; gap: 16px; justify-items: center; width: 100%; }
.m-logos p { font-size: 14px; color: var(--color-text-secondary); }
.m-logos ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 24px; }
.m-logos li img { height: 28px; width: auto; filter: grayscale(1); opacity: 0.8; }
.m-logo-ph { display: flex; align-items: center; color: #9a9da3; }
.m-logo-ph svg { height: 20px; width: auto; display: block; }

/* ---------- Possibilities: a grey box that stretches to full width while it is in view ---------- */
.m-poss { padding-block: 16px 80px; }
.m-poss-inner { position: relative; background: var(--page-gradient); background-color: var(--color-page);
  padding: clamp(56px, 6vw, 88px) calc(var(--stretch-m) + clamp(24px, 3.5vw, 56px)) clamp(36px, 4vw, 56px); }
/* any grey box that stretches to full width while it passes (boldboy.nl); site.js moves --m and --r */
.m-stretch { --m: var(--stretch-m); --r: var(--stretch-r); clip-path: inset(0 var(--m) round var(--r)); }
.m-poss-head { display: grid; justify-items: center; gap: 18px; text-align: center; margin-bottom: clamp(36px, 4vw, 56px); }
.m-kicker { display: inline-block; padding: 7px 14px; border-radius: var(--radius-round); background: var(--color-brand); color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; }
.m-kicker:hover { background: var(--color-brand-hover); }
.m-poss-grid { --stage-h: 740px; display: grid; grid-template-columns: minmax(200px, 260px) minmax(0, 1fr) minmax(200px, 260px);
  grid-template-areas: "single stage studio"; gap: clamp(16px, 2vw, 32px); align-items: center; max-width: 1400px; margin: 0 auto; }
.m-poss-col { display: grid; gap: 12px; }
.m-poss-col.single { grid-area: single; } .m-poss-col.studio { grid-area: studio; }
.m-col-label { font-size: 12px; font-weight: 700; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--color-text-muted); padding-left: 4px; }

/* the app's widget as in the app: icon, title and line, as tall as on the app's Home */
.m-widget { width: 100%; font: inherit; text-align: left; cursor: pointer; color: var(--color-text); }
.m-widget::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--color-brand); }
.m-widget[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--color-brand), var(--shadow-hover); }
.m-widget[aria-pressed="true"] .icon.duo .duo-fill { fill: var(--color-brand-tint); }
.m-poss-grid.cycling .m-widget[aria-pressed="true"]::after { animation: m-progress var(--cycle, 5s) linear forwards; }
@keyframes m-progress { to { width: 100%; } }

/* the stage: always the same size; examples fade over each other */
.m-poss-stage { grid-area: stage; position: relative; height: var(--stage-h); }
.m-scene { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: scale(0.97);
  transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s 0.6s; }
.m-scene.on { opacity: 1; visibility: visible; transform: none; transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.m-scene > .img-label { bottom: 16px; left: 50%; transform: translateX(-50%); font-size: 13px; padding: 4px 12px; }
/* the app's generation card, as big as the stage allows */
.m-scene .m-card { width: fit-content; max-width: 100%; }
.m-scene .generation-visual { height: calc(var(--stage-h) - 72px); width: auto; max-width: 100%; }
.m-card .compare-slider { --at: 50%; }
.m-card:hover { transform: none; }
.m-card .generation-foot { text-align: left; }
.m-card .compare-slider img { object-position: 50% 30%; }
/* a framed photo: white edge, like a print */
.m-frame { position: relative; margin: 0; padding: 10px; background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow-panel); }
.m-frame img { border-radius: 14px; width: 100%; height: 100%; object-fit: cover; }
.m-frame > .img-label { left: 20px; bottom: 20px; }

.m-poss-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: clamp(32px, 4vw, 56px); }
.m-made { cursor: default; }
.m-hire { gap: 8px; text-decoration: none; }

/* ---------- the sales pages' sections ---------- */
.m-sales { padding-block: 80px clamp(56px, 6vw, 96px); background: var(--page-gradient); background-color: var(--color-page); }
.m-sales .m-stack { display: grid; gap: 28px; }
.m-sales .card .head h2, .m-sales .beta h2, .m-sales .card > h2 { font-family: var(--display); font-weight: 400; letter-spacing: -0.005em;
  font-size: clamp(1.75rem, 2.4vw, 2.6rem); line-height: 1.08; }
.m-sales .beta { margin-top: 0; }
.m-sales .plan .m-pick { margin-top: auto; justify-self: stretch; }
.m-sales .plan { grid-template-rows: auto auto auto auto 1fr; }
.m-sales .eyebrow { color: var(--color-brand); }
.m-sales .beta .eyebrow { color: #fff; }
.m-fine { text-align: center; font-size: 14px; color: var(--color-text-secondary); }

/* ---------- other pages ---------- */
.m-head { display: grid; justify-items: center; gap: 20px; text-align: center; padding-block: 24px clamp(40px, 5vw, 72px); }
.m-head .m-lead { margin-inline: auto; }
.m-grey { background: var(--page-gradient); background-color: var(--color-page); padding-inline: var(--stretch-m);
  padding-block: clamp(56px, 7vw, 104px); }
.m-jump { display: grid; gap: 10px; width: 100%; max-width: 1100px; margin-top: 12px; text-align: left; }
.m-widgets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.m-flows { display: grid; gap: clamp(56px, 6vw, 96px); }
.m-section-title { text-align: center; margin-bottom: -48px; }
.m-flows > .m-lead { text-align: center; margin-inline: auto; }
.m-flow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.m-flow.flip .m-flow-text { order: 2; }
.m-flow-text { display: grid; gap: 16px; justify-items: start; }
.m-flow-text p { color: var(--color-text-secondary); }
.m-flow-text .m-flow-lead { color: var(--color-text); font-size: 19px; font-weight: 600; }
.m-flow-text ul { margin: 0; padding-left: 20px; color: var(--color-text-secondary); display: grid; gap: 6px; }
.m-more { color: var(--color-brand); font-weight: 700; text-underline-offset: 3px; }
.m-flow-media { display: grid; justify-items: center; }
.m-flow-media .m-card { width: min(100%, 420px); }
.m-thumbs { display: grid; gap: 8px; }
.m-thumbs > div { display: flex; flex-wrap: wrap; gap: 8px; }
.m-thumb { width: 64px; height: 80px; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: var(--shadow-card); }
.m-thumb img { width: 100%; height: 100%; object-fit: cover; }
.m-recipe-row, .m-quality-row { display: grid; gap: 16px; }
.m-recipe-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.m-quality-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.m-recipe-row .m-frame img { aspect-ratio: 4 / 5; }
.m-quality-row .m-frame img { aspect-ratio: 4 / 5; }
/* the closing call to action: the sales pages' promotion box */
.m-band { background: #111314; color: #fff; border-radius: var(--stretch-r); padding: clamp(48px, 6vw, 88px) 24px; display: grid; justify-items: center; gap: 18px; text-align: center; }
.m-band .m-display { color: #fff; }
.m-band p { color: rgba(255, 255, 255, 0.72); max-width: 46ch; }
.m-band .m-cta { margin-top: 16px; }
.m-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.m-chips a { padding: 10px 16px; border: var(--edge); border-radius: var(--radius-round); font-weight: 600; text-decoration: none; background: #fff; }
.m-chips a:hover { background: var(--color-brand); color: #fff; }
.m-faq-group { background: #fff; border-radius: var(--radius-panel); box-shadow: var(--shadow-card); padding: clamp(24px, 3vw, 40px); display: grid; gap: 12px; scroll-margin-top: 24px; }
.m-faq-group > p a { color: var(--color-brand); font-weight: 600; }
.m-grey .m-stack { display: grid; gap: 24px; max-width: 920px; }
.qa { border-bottom: 1px solid var(--color-border); }
.qa:last-child { border-bottom: 0; }
.qa summary { cursor: pointer; list-style: none; padding: 18px 48px 18px 0; font-weight: 700; font-size: 17px; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 8px;
  border: var(--edge); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1.5v9M1.5 6h9' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: transform 0.2s ease; }
.qa[open] summary::after { transform: rotate(45deg); background-color: var(--color-brand-tint); }
.qa summary:hover { color: var(--color-brand); }
.qa-body { padding: 0 48px 20px 0; color: var(--color-text-secondary); display: grid; gap: 10px; }
.qa-body ul { margin: 0; padding-left: 20px; }
.is-page .m-sales { padding-inline: var(--stretch-m); }

/* ---------- footer: near-black, then the red strip ---------- */
.m-foot { margin-top: 0; }
.is-page main > :last-child:not([data-stretch]) { margin-bottom: clamp(48px, 6vw, 96px); }
/* subpages: the grey box runs straight into the footer, the call to action inside it */
.is-page main > [data-stretch]:last-child { margin-bottom: 0; padding-bottom: clamp(56px, 6vw, 96px); }
.m-cta-in { background: none; padding: 0; margin-top: clamp(40px, 5vw, 72px); }
.m-cta-card { margin-top: 0; }
.m-cta-card p { color: rgba(255, 255, 255, 0.9); max-width: 46ch; }
.m-cta-card .m-cta { margin-top: 8px; }
.m-cta-card h2 { font-family: var(--display); font-weight: 400; letter-spacing: -0.005em; font-size: clamp(1.75rem, 2.4vw, 2.6rem); line-height: 1.08; }
.m-foot-main { background: #111314; color: #fff; padding-block: clamp(56px, 6vw, 88px); }
.m-foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.m-foot-grid > * { display: grid; align-content: start; gap: 10px; }
.m-foot-brand img { height: 48px; width: auto; }
.m-foot-claim { font: 400 clamp(0.875rem, 1.1vw, 1.125rem)/1.3 var(--display); max-width: 30ch; margin-top: 12px; }
.m-foot-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; }
.m-foot-cta .btn.white { border-color: #fff; }
.m-foot-cta .btn { box-shadow: 4px 4px 0 #fff; }
.m-foot-cta .btn:hover { box-shadow: 1px 1px 0 #fff; }
.m-foot-h { font: 400 22px/1.2 var(--display); margin-bottom: 6px; }
.m-foot-main nav a, .m-foot-main div > a:not(.btn) { color: rgba(255, 255, 255, 0.72); text-decoration: none; width: fit-content; }
.m-foot-main nav a:hover, .m-foot-main div > a:not(.btn):hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.m-foot-addr { font-size: 13px; color: rgba(255, 255, 255, 0.5); margin-top: 8px; }
.m-foot-strip { background: var(--color-brand); color: #000; padding-block: 18px; font-size: 14px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.04em; }
.m-strip-row p { margin: 0; }
.m-strip-row { display: flex; align-items: center; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; }
.m-strip-row nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.m-strip-row a, .m-strip-row .link { text-decoration: none; font-weight: 400; font-size: 14px; color: #000; text-transform: uppercase; letter-spacing: 0.04em; font-family: inherit; }
.m-strip-row a:hover, .m-strip-row .link:hover { text-decoration: underline; text-underline-offset: 3px; }
.m-made-by { display: inline-flex; align-items: center; gap: 10px; }
.m-made-by img { height: 18px; width: auto; }

/* ---------- cookie choice ---------- */
.consent { position: fixed; left: 24px; bottom: 24px; z-index: 70; max-width: 440px; background: #fff; border: var(--edge); border-radius: 16px;
  box-shadow: var(--hard); padding: 20px; display: grid; gap: 16px; font-size: 14px; }
.consent p { color: var(--color-text-secondary); }
.consent a { color: var(--color-text); font-weight: 600; }
.consent-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consent .btn { padding: 14px 16px; font-size: 14px; box-shadow: 4px 4px 0 #000; }
.consent .btn:hover { box-shadow: 1px 1px 0 #000; transform: translate(3px, 3px); }

/* ---------- Show me ---------- */
.m-video { position: fixed; }
.m-video-soon { display: grid; place-items: center; padding: 24px; text-align: center; color: rgba(255, 255, 255, 0.8); }
.lightbox-close { display: grid; place-items: center; cursor: pointer; }
body.m-locked { overflow: hidden; }

/* the grey boxes: the red glow runs along the whole bottom, straight up (Nathan, 26 Nov), same strength as in the app */
:root { --page-gradient:
  linear-gradient(180deg, rgba(243, 29, 36, 0) calc(100% - 560px), rgba(243, 29, 36, 0.07) calc(100% - 220px), rgba(243, 29, 36, 0.16) 100%),
  linear-gradient(180deg, #f6f6f7 0%, #f1f1f2 100%); }

/* How it works: the video at the top (a placeholder until the video is there), the app's red button made round */
.m-howto-video { position: relative; display: block; width: min(100%, 880px); aspect-ratio: 16 / 9; margin: clamp(28px, 4vw, 48px) auto 0; padding: 0; border: 0;
  border-radius: var(--stretch-r); overflow: hidden; cursor: pointer; background: #e9e9eb; box-shadow: var(--shadow-panel); }
.m-howto-poster { position: absolute; inset: 0; display: grid; align-items: end; justify-items: center; padding-bottom: 24px;
  background: linear-gradient(135deg, #f1f1f2, #e2e2e5); color: var(--color-text-muted); font-size: 14px; font-weight: 600; }
.m-play { position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; display: grid; place-items: center;
  border-radius: 50%; background: var(--color-brand); color: #fff; transition: transform 0.25s ease, background-color 0.2s ease; }
.m-play svg { margin-left: 4px; }
.m-howto-video:hover .m-play { transform: scale(1.06); background: var(--color-brand-hover, #d9141b); }
.m-howto-video:focus-visible { outline: 3px solid var(--color-brand); outline-offset: 4px; }
@media (max-width: 767px) { .m-play { width: 64px; height: 64px; margin: -32px 0 0 -32px; } }

/* ---------- How it works: the grey boxes where the widgets pick the example and its explanation ---------- */
.m-explore { position: relative; background: var(--page-gradient); background-color: var(--color-page); margin-bottom: 24px;
  padding: clamp(48px, 5vw, 72px) calc(var(--stretch-m) + clamp(24px, 3.5vw, 56px)) clamp(32px, 4vw, 48px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.m-explore-head { display: grid; justify-items: center; gap: 14px; text-align: center; margin-bottom: clamp(32px, 4vw, 52px); }
.m-explore-head .m-kicker { cursor: default; white-space: nowrap; }
.m-explore-grid { --stage-h: auto; grid-template-columns: minmax(200px, 260px) minmax(0, 1fr); grid-template-areas: "single stage"; align-items: start; }
.m-explore .m-poss-stage { height: auto; }
.m-explore .m-scene { position: static; display: none; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px);
  align-items: start; place-items: start; opacity: 1; visibility: visible; transform: none; }
.m-explore .m-scene.on { display: grid; animation: m-fade 0.45s ease; }
@keyframes m-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.m-explore-card { width: 100%; }
.m-explore-card .m-card { width: 100%; }
.m-explore .m-scene .generation-visual { height: auto; width: 100%; }
.m-explore .m-flow-text { padding-top: 8px; }
.m-explore .m-flow-text .m-title { font-family: var(--display); font-weight: 400; font-size: clamp(1.75rem, 2.4vw, 2.5rem); line-height: 1.05; }
.m-explore-foot { justify-content: flex-end; margin-top: 24px; }
/* one grey block per plan with the range of swaps (Figma, 26 Nov) */
.sales .yield.m-yield { grid-template-columns: 1fr; }
.sales .m-yield .big { font-size: 22px; }
.sales .m-yield .unit.sub { margin-top: 6px; line-height: 1.45; }
/* the promotion's own Sign up button, top right */
.sales .card.beta { position: relative; }
.sales .m-promo-cta { position: absolute; top: 20px; right: 20px; z-index: 1; }
@media (max-width: 767px) { .sales .m-promo-cta { position: static; justify-self: center; margin-bottom: 8px; } }
/* Home: the plan cards without the pick buttons, as in the design */
.is-home .m-sales .plan { grid-template-rows: auto; }

/* ---------- tablet ---------- */
@media (max-width: 991px) {
  :root { --gutter: 24px; --hero-pad: 16px; --stretch-r: 32px; }
  .m-top, .is-home .m-top { position: relative; top: 0; left: 0; height: 100px; padding-inline: var(--gutter); }
  .m-menu { top: 16px; right: calc(16px + 124px + 10px + 64px + 10px); }
  .m-login { top: 16px; right: calc(16px + 124px + 10px); }
  .m-signup { top: 16px; right: 16px; }
  .m-hero { grid-template-columns: 1fr; height: auto; padding-top: 0; }
  .m-hero-media { min-height: 0; aspect-ratio: 4 / 5; max-height: 72svh; border-radius: 32px; }
  .m-hero-side { padding: 40px 8px 16px; }
  .m-wand { margin-top: 0; }
  .m-poss-grid { --stage-h: clamp(460px, 90vw, 680px); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "stage stage" "single studio"; }
  .m-poss-col { grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; }
  .m-poss-col .m-col-label { grid-column: 1 / -1; }
  .m-explore .m-explore-grid { grid-template-columns: 1fr; grid-template-areas: "single" "stage"; }
  .m-explore .m-poss-col { margin-bottom: 8px; }
  .m-explore .m-scene { grid-template-columns: 1fr; }
  .m-explore-card { max-width: 460px; justify-self: center; }
    .m-poss-stage { margin-bottom: 16px; }
  .m-widgets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m-flow, .m-flow.flip { grid-template-columns: 1fr; }
  .m-flow.flip .m-flow-text { order: 0; }
  .m-foot-grid { grid-template-columns: 1fr 1fr; }
  .m-foot-brand { grid-column: 1 / -1; }
}
/* ---------- phone ---------- */
@media (max-width: 767px) {
  :root { --gutter: 16px; --hero-pad: 12px; --stretch-r: 24px; }
  .m-top, .is-home .m-top { height: 88px; }
  .m-logo img { height: 40px; }
  .m-menu { width: 60px; top: 14px; right: calc(14px + 100px + 8px + 60px + 8px); }
  .m-login { width: 60px; height: 60px; top: 14px; right: calc(14px + 100px + 8px); }
  .m-signup { width: 100px; height: 60px; top: 14px; right: 14px; font-size: 15px; }
  .m-menu-btn { width: 56px; height: 56px; }
  .m-hl-word { padding-bottom: 0.1em; }
  .m-menu.open { width: 220px; }
  .m-hero-media { border-radius: 24px; max-height: 54svh; width: 100%; }
  .m-hero h1 { margin-top: 20px; font-size: clamp(2.2rem, 9vw, 3rem); }
  .m-cta { margin-top: 28px; gap: 14px 16px; }
  .btn, .sales .btn { padding: 15px 18px; font-size: 16px; }
  .m-poss-inner { padding-inline: calc(var(--stretch-m) + 12px); }
  .m-poss-grid { --stage-h: clamp(420px, 130vw, 600px); grid-template-columns: 1fr; grid-template-areas: "stage" "single" "studio"; }
  .m-poss-col { gap: 10px; }
  .m-col-label { padding-top: 8px; }
  .m-widget { min-height: 148px; padding: 14px; }
  .m-widget > .icon.duo { width: 34px; height: 34px; }
  .m-widget strong { font-size: 15px; margin-top: 10px; }
  .m-poss-foot { justify-content: center; }
  .m-section-title { margin-bottom: -32px; }
  .m-recipe-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .m-recipe-row .m-frame, .m-quality-row .m-frame { padding: 6px; }
  .m-recipe-row .img-label { display: none; }
  .m-foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .m-strip-row { flex-direction: column; align-items: flex-start; }
  .consent { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .qa-body { padding-right: 0; }
}
@media (max-width: 479px) {
  .m-widgets { grid-template-columns: 1fr; }
  .m-widget .small { font-size: 12px; }
  .m-cta .btn { flex: 1 1 auto; }
}

/* ---------- less motion: everything still, nothing hidden ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .m-wand { animation: none; transform: rotate(-6deg); }
  .m-slide, .m-scene, .m-menu, .m-menu *, .m-login, .m-signup, .btn { transition: none !important; }
  .m-pop { display: none; }
  .m-hl-2 .m-hl-word { animation: none; background-position: 50% 0; }
  .m-poss-grid.cycling .m-widget[aria-pressed="true"]::after { animation: none; }
}
