@font-face{font-family:'Lato';font-style:normal;font-weight:400;font-display:swap;src:url(/brands/assets/lato-latin-400-normal-918b7dc3e2.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:'Lato';font-style:normal;font-weight:700;font-display:swap;src:url(/brands/assets/lato-latin-700-normal-c447dd7677.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:'Lato';font-style:normal;font-weight:900;font-display:swap;src:url(/brands/assets/lato-latin-900-normal-08664859ba.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}
/* MUFFO brand page, in the look of muffo.dk's quote page (muffo-repairportal/src/QuoteInfo.css): white page,
   soft #f7f6f2 sections, Georgia headings, Lato text, black pill buttons and the pink dot. Few icons (round 3).
   @font-face rules are prepended by build.mjs. */
:root {
  --ink: #292c29;
  --muted: #4c504b;
  --bg: #fff;
  --bg-soft: #f7f6f2;
  --icon-bg: #fde4ec;
  --icon: #c8325f;
  --serif: Georgia, 'Times New Roman', serif;
  --white: #fff;
  --pink: #fa648a;
  --pink-soft: #f2cbd9;
  --line: #e7e4dc;
  --focus: #aa5277;
  --radius: 16px;
  --shadow: 0 24px 50px -30px rgb(41 44 41 / 32%), 0 2px 6px rgb(41 44 41 / 5%);
  --wrap: min(1152px, 100% - 64px);
  color-scheme: light;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 84px; }
body { margin: 0; min-width: 320px; background: var(--bg); font-size: 17px; line-height: 1.55; }
img { max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input { font: inherit; }
main:focus { outline: none; }

a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; z-index: 50; top: 8px; left: 8px; padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; transform: translateY(-160%);
}
.skip:focus { transform: none; }
.wrap { width: var(--wrap); margin-inline: auto; }
[hidden] { display: none !important; }

/* Type: Georgia headings as on the quote page; the pink dot closes a heading */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; text-wrap: balance; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.12; }
.dot { color: var(--pink); }
.lead { max-width: 56ch; margin-top: 18px; color: var(--muted); font-size: 19px; line-height: 1.55; text-wrap: pretty; }
.subhead { font-size: clamp(26px, 3vw, 34px); line-height: 1.15; }
.heading-logo { display: inline-block; width: auto; height: .9em; vertical-align: -.14em; }

/* Icons: only functional ones (arrow, new window, menu chevron, expand/close, receipt); see template.mjs */
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--small { width: 16px; height: 16px; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 14px 28px; border: 1.5px solid transparent; border-radius: 999px;
  font-size: 17px; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.button .icon { width: 18px; height: 18px; stroke-width: 2; transition: transform .15s ease; }
.button:hover .icon { transform: translateX(3px); }
.button--primary, .button--small:not(.button--outline) { background: var(--ink); color: #fff; }
.button--primary:hover, .button--small:not(.button--outline):hover { background: #000; }
.button--outline { border-color: #cecec5; color: var(--ink); }
.button--outline:hover { border-color: var(--ink); }
.button--small { min-height: 44px; padding: 8px 18px; font-size: 15px; }
.button--small .icon { display: none; }
.button--full { width: 100%; }
.button:disabled { opacity: .6; cursor: progress; }
.text-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 18px; font-weight: 700;
  text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.text-link:hover { text-decoration-color: currentColor; }
.text-link--small { font-size: 15px; }

/* Header: white, as on the quote page */
.site-header {
  position: sticky; top: 0; z-index: 20; background: #fffffff2; border-bottom: 1px solid #ebe8e1;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.header-row { display: flex; align-items: center; gap: 32px; min-height: 72px; }
.brand-home { display: inline-flex; align-items: center; min-height: 44px; flex: none; border-radius: 6px; }
.brand-home img { display: block; width: 112px; height: auto; }
.site-nav { display: flex; gap: 28px; margin-inline: auto; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 700; text-decoration: none; background: linear-gradient(var(--pink), var(--pink)) no-repeat 0 calc(100% - 8px) / 0 2px; transition: background-size .2s ease; }
.site-nav a:hover { background-size: 100% 2px; }
.header-end { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.site-nav + .header-end { margin-left: 0; }
/* Language menu: the quote page's pill select, as a <details> with two links */
.lang-menu { position: relative; }
.lang-menu summary {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px 8px 16px;
  border: 1px solid #cecec5; border-radius: 999px; font-size: 15px; font-weight: 700; cursor: pointer; list-style: none; user-select: none;
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .lang-menu[open] summary { border-color: var(--ink); }
.lang-menu summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.lang-menu summary .icon { stroke-width: 2.2; transition: transform .15s ease; }
.lang-menu[open] summary .icon { transform: rotate(180deg); }
.lang-list {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 30; min-width: 168px; padding: 6px;
  border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow);
}
.lang-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 8px 12px;
  border-radius: 10px; font-size: 15px; font-weight: 700; text-decoration: none;
}
.lang-list a:hover { background: var(--bg-soft); }
.lang-list a[aria-current] { color: var(--ink); }
.lang-list a[aria-current] .icon { color: var(--icon); stroke-width: 2.4; }

/* Icon in the pink circle from muffo.dk's quote page; used in a few chosen places only (template.mjs SECTION_ICONS) */
.badge { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--icon-bg); color: var(--icon); }
.badge .icon { width: 26px; height: 26px; stroke-width: 1.8; }

/* Photographs: real photos, cropped to their place */
.photo { margin: 0; overflow: hidden; border-radius: 24px; background: var(--bg-soft); }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo--band { aspect-ratio: 21 / 8; margin-bottom: 72px; }
.photo--band img { object-position: 50% 38%; }
.photo--tailor { aspect-ratio: 16 / 10; margin-top: 40px; }
.photo--tailor img { object-position: 50% 26%; }

/* Hero */
.hero { padding: 72px 0 80px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 64px; }
.hero-kicker { margin-bottom: 22px; font-size: clamp(20px, 2vw, 26px); font-weight: 900; letter-spacing: -.01em; }
.hero h1 { font-size: clamp(38px, 4.8vw, 58px); line-height: 1.08; }
.hero-lead { max-width: 46ch; margin-top: 28px; color: var(--muted); font-size: 20px; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-media { padding: 28px; border-radius: 24px; background: var(--bg-soft); }
.shot--hero .shot-frame { border-radius: 12px; }

/* Screenshots: clean frames, no fake browser chrome */
.shot { min-width: 0; }
.shot-frame { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.shot-frame img { display: block; width: 100%; height: auto; }
.shot--portrait { max-width: 400px; margin-inline: auto; }
.shot--portrait .shot-frame { border-radius: 24px; }
.shot picture { display: block; }
.shot--tailor { margin-top: 44px; }
/* Dense screenshots open larger (lightbox.js); the badge says so */
.shot-zoom { position: relative; display: block; color: inherit; cursor: zoom-in; }
.shot-zoom-badge {
  position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; background: rgb(41 44 41 / 82%); color: #fff; opacity: .9; transition: opacity .15s ease, transform .15s ease;
}
.shot-zoom-badge .icon { width: 18px; height: 18px; stroke-width: 2; }
.shot-zoom:hover .shot-zoom-badge, .shot-zoom:focus-visible .shot-zoom-badge { opacity: 1; transform: scale(1.06); }
.shot-zoom:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.shot-placeholder { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; background: var(--bg-soft); }
.shot-placeholder i { width: 34px; height: 34px; border-radius: 50%; background: var(--pink); opacity: .55; }
.shot-placeholder i + i { margin-left: -10px; background: var(--pink-soft); opacity: 1; mix-blend-mode: multiply; }

/* Brand band */
/* White band on every width, so logos delivered on white never show a box (owner 2026-11-30) */
.customers { padding: 36px 0 32px; border-block: 1px solid var(--line); background: #fff; }
.customers-row { display: flex; flex-direction: column; align-items: stretch; gap: 24px; }
.customers-title { max-width: none; text-align: center; color: var(--ink); font-family: var(--serif); font-size: clamp(20px, 2.2vw, 26px); font-weight: 400; line-height: 1.3; letter-spacing: -.01em; }
.marquee {
  position: relative; flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; }
.logos { display: flex; align-items: center; gap: 56px; padding-right: 56px; }
.logos li { display: flex; align-items: center; min-height: 48px; }
.logos img { display: block; width: auto; height: 34px; max-width: 132px; object-fit: contain; filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; }
.logo-text { color: #5d625c; font-size: 20px; font-weight: 900; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 48s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { width: auto; }
  .marquee-track .logos { flex-wrap: wrap; gap: 20px 40px; padding: 0; }
  .marquee-track .logos[aria-hidden] { display: none; }
}

/* Overview: the four areas as clickable cards, on a soft section like the quote page's USPs */
.overview { padding: 104px 0 96px; background: var(--bg-soft); }
.overview-head { max-width: 760px; }
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 52px; }
.pillar a {
  display: flex; flex-direction: column; height: 100%; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.pillar a:hover { border-color: #cfccc3; box-shadow: 0 18px 40px -30px rgb(41 44 41 / 45%); transform: translateY(-2px); }
.pillar .badge { margin-bottom: 24px; }
.pillar h3 { margin: 0 0 14px; font-size: 28px; line-height: 1.15; }
.pillar p { font-size: 16px; font-weight: 700; line-height: 1.4; }
.pillar .pillar-sub { margin-top: 8px; color: var(--muted); font-weight: 400; }
.pillar-arrow { display: flex; margin-top: auto; padding-top: 24px; color: var(--icon); }
.pillar-arrow .icon { stroke-width: 2; transition: transform .15s ease; }
.pillar a:hover .pillar-arrow .icon { transform: translateX(4px); }
/* What it is built on: three typographic columns under a hairline each, no icons */
.foundation-title { margin-top: 64px; color: var(--muted); font-family: 'Lato', Arial, sans-serif; font-size: 15px; font-weight: 700; letter-spacing: 0; }
.foundation { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 64px; }
.foundation-title + .foundation { margin-top: 20px; }
.foundation li { padding-top: 22px; border-top: 2px solid var(--ink); }
.foundation h3 { font-size: 24px; line-height: 1.2; }
.foundation p { margin-top: 10px; max-width: 34ch; color: var(--muted); font-size: 16px; line-height: 1.5; }

/* Feature sections */
.feature { padding: 112px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 72px; }
.feature--flip .feature-copy { order: 2; }
.feature--flip .feature-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
/* Points: a ruled list, the hairline does the work an icon did */
.points { display: grid; margin-top: 36px; border-bottom: 1px solid var(--line); }
.points li { padding: 18px 0 20px; border-top: 1px solid var(--line); }
.points h3 { font-size: 21px; line-height: 1.25; }
.points p { margin-top: 6px; color: var(--muted); font-size: 16px; line-height: 1.5; }
/* …or in a row of columns, each under its own rule */
.points--row { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 0 32px; border-bottom: 0; }
.points--row li { padding: 20px 0 0; border-top: 2px solid var(--ink); }
.points--four { --cols: 4; }
.points--icons .badge { margin-bottom: 18px; }
.points--row.points--icons li { padding-top: 24px; }

/* Claims: the try-it-yourself flow, then the decision screens */
.feature--resolve { padding-top: 0; }
.outcome { padding-top: 88px; border-top: 1px solid var(--line); }
.outcome-head { max-width: 760px; }
/* Outcome picker (outcome-picker.js): one small crop per outcome, the case timeline beside it */
.outcome-media { display: grid; grid-template-columns: minmax(0, 570px) minmax(0, 350px); justify-content: center; align-items: start; gap: 72px; margin-top: 44px; }
.outcome-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-bottom: 20px; padding: 4px; border-radius: 999px; background: var(--bg-soft); }
.outcome-tabs [role="tab"] {
  min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--muted);
  font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; transition: background-color .15s ease, color .15s ease;
}
.outcome-tabs [role="tab"]:hover { color: var(--ink); }
.outcome-tabs [role="tab"][aria-selected="true"] { background: var(--ink); color: #fff; }
.outcome-tabs [role="tab"]:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.outcome-panel[hidden] { display: none; }
.shot--timeline { padding-top: 68px; }
/* Tall crops keep the column width and the normal frame, not the phone frame */
.shot--readable.shot--portrait { max-width: none; margin-inline: 0; }
.shot--readable.shot--portrait .shot-frame { border-radius: var(--radius); }
.outcome .points { --cols: 2; max-width: 860px; margin-top: 52px; }
/* Traditional claims process next to MUFFO */
.compare { margin-top: 88px; padding-top: 88px; border-top: 1px solid var(--line); }
.compare-table { width: 100%; max-width: 960px; margin-top: 36px; border-collapse: collapse; font-size: 17px; line-height: 1.45; }
.compare-table thead th { padding: 0 24px 14px 0; border-bottom: 2px solid var(--ink); font-size: 15px; font-weight: 700; text-align: left; vertical-align: bottom; }
.compare-table thead th:first-child { color: var(--muted); }
.compare-table td { width: 50%; padding: 18px 24px 18px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table tbody th { width: 50%; padding: 18px 24px 18px 0; text-align: left; border-bottom: 1px solid var(--line); color: var(--muted); font-size: inherit; font-weight: 400; vertical-align: top; }
.compare-table td { font-weight: 700; }
.compare-after { display: flex; align-items: flex-start; gap: 10px; }
.compare-after .icon { margin-top: 3px; color: var(--icon); stroke-width: 2.2; }

/* Store Workbench: a soft section with one big screenshot and the facts in a row under it */
.store { padding: 112px 0; background: var(--bg-soft); }
/* Heading left, lead right: used by the wide sections (store, resale) */
.split-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 24px 72px; margin-bottom: 52px; }
.split-head .lead { margin-top: 0; }
.shot--wide .shot-frame { border-radius: 20px; }
.store .points { margin-top: 56px; }

/* Repair network: three reasons as words with the pink dot, then "we make it easy" */
.reasons { display: grid; margin: 36px 0 0; }
.reasons div { display: grid; grid-template-columns: auto 10.5rem minmax(0, 1fr); align-items: center; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.reasons div:last-child { border-bottom: 1px solid var(--line); }
.reasons dt { font-family: var(--serif); font-size: 28px; line-height: 1.15; letter-spacing: -.02em; }
.reasons dd { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
.easy { margin-top: 32px; padding: 26px 28px; border-radius: var(--radius); background: var(--bg-soft); }
.easy h3 { font-size: 24px; line-height: 1.2; }
.easy p { margin-top: 8px; color: var(--muted); font-size: 16px; line-height: 1.5; }

/* Resale: heading, points in a row, then the flowchart at full width (its own styles: flow-diagram.css, rf-) */
.feature--monetize .points { margin-top: 0; }
.monetize-flow { margin-top: 64px; }

/* Pitaya case */
.case { padding: 0 0 96px; }
.case-card { padding: 56px; border-radius: 24px; background: var(--bg-soft); }
.case-card blockquote p { max-width: 32ch; font-family: var(--serif); font-size: clamp(24px, 3vw, 36px); line-height: 1.25; }
.case-card figcaption { display: flex; align-items: center; gap: 18px; margin-top: 28px; color: var(--muted); font-size: 16px; }
.case-card figcaption img { height: 32px; width: auto; }

/* Price + in-page booking */
.closing { padding: 104px 0; background: var(--bg-soft); }
.closing-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 20px; align-items: start; }
.price-card { display: flex; flex-direction: column; align-items: flex-start; padding: 40px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.price-title { color: var(--muted); font-family: 'Lato', Arial, sans-serif; font-size: 15px; font-weight: 700; letter-spacing: 0; }
.price-value { margin: 14px 0 10px; font-family: var(--serif); font-size: clamp(40px, 4.4vw, 56px); line-height: 1; letter-spacing: -.02em; }
.price-mail { margin-top: 2px; color: var(--muted); font-size: 15px; }
.price-included-title { margin: 22px 0 12px; color: var(--muted); font-family: 'Lato', Arial, sans-serif; font-size: 15px; font-weight: 700; letter-spacing: 0; }
.price-included { display: grid; gap: 10px; font-size: 16px; line-height: 1.4; }
.price-included li { display: flex; align-items: flex-start; gap: 10px; }
.price-included .icon { margin-top: 2px; color: var(--icon); stroke-width: 2.2; }
.demo-card { padding: 40px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.demo-card h2 { font-size: clamp(30px, 3.4vw, 42px); }
.demo-text { max-width: 52ch; margin: 14px 0 28px; color: var(--muted); font-size: 18px; }
.booking { display: grid; justify-items: start; gap: 16px; padding: 32px; border-radius: var(--radius); background: var(--bg-soft); }
.booking-frame { display: block; width: 100%; height: 780px; border: 0; border-radius: var(--radius); background: #fff; }

/* Tailor page: the pitch, the form right after it, then the photos. On a wide screen the form sits beside both. */
.tailors { padding: 112px 0; }
.tailors h1 { font-size: clamp(38px, 4.8vw, 58px); line-height: 1.08; }
.page-tailors .tailors { padding-top: 72px; }
.tailors-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 40px 72px; }
.tailors-grid .signup-card { grid-column: 2; grid-row: 1 / span 2; }
.tailors-media { grid-column: 1; }
.tailors-media > :first-child { margin-top: 0; }
@media (max-width: 900px) {
  .tailors-grid .signup-card, .tailors-media { grid-column: auto; grid-row: auto; }
}
.kicker {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  color: var(--muted); font-size: 15px; font-weight: 700;
}
.tailor-points { display: grid; gap: 14px; margin-top: 32px; }
.tailor-points li { display: flex; align-items: flex-start; gap: 14px; font-size: 17px; font-weight: 700; line-height: 1.45; }
.tailor-points .icon { width: 22px; height: 22px; margin-top: 1px; color: var(--icon); stroke-width: 2; }
.signup-card { padding: 40px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.signup { display: grid; gap: 18px; }
.signup-title { font-size: 26px; }
.field { display: grid; gap: 8px; }
.field span { font-size: 15px; font-weight: 700; }
.field input {
  width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid #8a8d86; border-radius: 12px;
  background: #fff; color: var(--ink); font-size: 16px;
}
.field input:hover { border-color: #5f625c; }
.field input:focus-visible { outline-offset: 1px; border-color: var(--ink); }
.field input[aria-invalid='true'] { border-color: #b3261e; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.signup-error { padding: 12px 16px; border-radius: 12px; background: #fdecea; color: #8a1c12; font-size: 15px; font-weight: 700; }
.signup-privacy { color: var(--muted); font-size: 14px; line-height: 1.5; }
.signup-privacy a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-underline-offset: 3px; }
.signup-success { display: grid; justify-items: start; gap: 10px; padding: 12px 0; }
.signup-success:focus { outline: none; }
.icon--success { width: 26px; height: 26px; padding: 13px; border-radius: 50%; background: var(--icon-bg); color: var(--icon); stroke-width: 2.4; box-sizing: content-box; }
.signup-success h2 { margin-top: 8px; font-size: 28px; }
.signup-success p { color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding: 36px 0 48px; color: var(--muted); font-size: 15px; }
.footer-row img { width: 92px; height: auto; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-left: auto; }
.footer-row nav a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--ink); font-weight: 700; text-underline-offset: 4px; }

@media (min-width: 901px) {
  .signup-card { position: sticky; top: 100px; }
}

/* Tablet */
@media (max-width: 1080px) {
  .site-nav { gap: 20px; }
  .hero-grid { gap: 44px; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid, .feature--flip .feature-grid { gap: 48px; }
  .points--four { --cols: 2; gap: 32px; }
  .foundation { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --wrap: min(1152px, 100% - 40px); }
  .site-nav { display: none; }
  .header-end, .site-nav + .header-end { margin-left: auto; }
  .hero { padding: 48px 0 56px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .customers-row { gap: 20px; }
  .marquee { width: 100%; }
  .feature, .overview, .tailors, .closing, .store { padding: 80px 0; }
  .feature-grid, .feature--flip .feature-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .feature--flip .feature-copy { order: 0; }
  .foundation { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 48px; }
  .outcome { padding-top: 64px; }
  .outcome-media { grid-template-columns: minmax(0, 570px); justify-content: start; }
  .shot--timeline { max-width: 350px; padding-top: 0; }
  .outcome .points { margin-top: 44px; }
  .split-head { grid-template-columns: minmax(0, 1fr); margin-bottom: 36px; }
  .monetize-flow { margin-top: 48px; }
  .store .points { margin-top: 44px; }
  .closing-grid, .tailors-grid { grid-template-columns: minmax(0, 1fr); }
  .tailors-grid { gap: 44px; }
}

/* Phone */
@media (max-width: 560px) {
  :root { --wrap: calc(100% - 32px); }
  body { font-size: 16px; }
  .header-row { gap: 12px; min-height: 64px; }
  .brand-home img { width: 96px; }
  .header-end { gap: 8px; }
  .button--small { padding: 8px 14px; font-size: 14px; }
  .hero { padding: 36px 0 44px; }
  .hero h1, .tailors h1 { font-size: clamp(32px, 9.4vw, 40px); }
  .hero-lead { margin-top: 20px; font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: stretch; margin-top: 28px; }
  .hero-media { padding: 14px; border-radius: 18px; }
  .shot--hero .shot-frame { border-radius: 8px; }
  h2 { font-size: clamp(28px, 8vw, 34px); }
  .lead { font-size: 17px; margin-top: 14px; }
  .feature, .overview, .tailors, .closing, .store { padding: 64px 0; }
  .pillars { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 32px; }
  .pillar a { position: relative; padding: 18px 52px 18px 76px; }
  .pillar .badge { position: absolute; top: 18px; left: 18px; width: 42px; height: 42px; margin: 0; }
  .pillar .badge .icon { width: 22px; height: 22px; }
  .pillar h3 { margin: 0 0 6px; font-size: 23px; }
  .pillar p { font-size: 15px; }
  .pillar-arrow { position: absolute; top: 50%; right: 18px; padding: 0; transform: translateY(-50%); }
  .points { margin-top: 28px; }
  .points--row, .points--four, .outcome .points { --cols: 1; gap: 24px; }
  .reasons div { grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; align-items: start; }
  .reasons .badge { grid-row: span 2; width: 42px; height: 42px; }
  .reasons .badge .icon { width: 22px; height: 22px; }
  .photo { border-radius: 18px; }
  .photo--band { aspect-ratio: 16 / 10; margin-bottom: 40px; }
  .photo--band img { object-position: 38% 40%; }
  .points--icons li { position: relative; padding-left: 58px; }
  .points--icons .badge { position: absolute; top: 24px; left: 0; width: 42px; height: 42px; margin: 0; }
  .points--icons .badge .icon { width: 22px; height: 22px; }
  .reasons dt { font-size: 25px; }
  .shot-zoom-badge { right: 8px; bottom: 8px; width: 36px; height: 36px; }
  .lightbox { max-width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius: 10px; }
  .lightbox-image { max-height: none; }
  .shot-frame { border-radius: 12px; }
  .shot--has-mobile { max-width: 300px; margin-inline: auto; }
  .shot--has-mobile .shot-frame { max-height: 560px; overflow: hidden; border-radius: 24px; }
  .shot--has-mobile .shot-frame img { width: 100%; height: auto; }
  .outcome { padding-top: 48px; }
  .outcome-media { margin-top: 32px; gap: 32px; }
  .outcome-tabs { display: grid; grid-template-columns: 1fr 1fr; border-radius: 26px; }
  .outcome-tabs [role="tab"] { padding: 0 12px; }
  .logos { gap: 36px; padding-right: 36px; }
  .logos img { height: 28px; max-width: 112px; }
  .case-card { padding: 32px 22px; }
  .price-card, .demo-card { padding: 26px 20px; border-radius: 20px; }
  .booking { padding: 22px 18px; }
  .booking .button { width: 100%; }
  .booking-frame { height: 900px; }
  .signup-card { padding: 26px 20px; border-radius: 20px; }
  .footer-row nav { margin-left: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .pillar a:hover { transform: none; }
}

/* Claims: the real portal flow (brand 4) embedded straight into the page, no frame around it; points at the side */
.resolve-head { max-width: 760px; margin-bottom: 44px; }
.resolve-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; gap: 56px; }
.claim-embed iframe { display: block; width: 100%; height: 720px; border: 0; background: transparent; }
.resolve-usps-title { font-size: 24px; }
.resolve-usps .points { margin-top: 20px; }

/* Lightbox (lightbox.js): native <dialog>, the backdrop closes it */
.lightbox {
  width: fit-content; max-width: min(1600px, 100vw - 32px); max-height: calc(100dvh - 32px); padding: 0; overflow: auto;
  border: 0; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 0 30px 80px rgb(0 0 0 / 35%);
}
.lightbox::backdrop { background: rgb(26 28 26 / 82%); }
.lightbox-image { display: block; width: auto; max-width: 100%; height: auto; max-height: calc(100dvh - 96px); margin: 0 auto; cursor: zoom-out; }
.lightbox-caption { padding: 14px 64px 16px 20px; color: var(--muted); font-size: 15px; font-weight: 700; }
.lightbox-close {
  position: sticky; z-index: 1; float: right; top: 10px; display: grid; place-items: center; width: 44px; height: 44px; margin: 10px 10px -54px 0;
  border: 0; border-radius: 50%; background: rgb(41 44 41 / 88%); color: #fff; cursor: pointer;
}
.lightbox-close:hover { background: #000; }
.lightbox-close:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 6px var(--focus); }
.lightbox-close .icon { stroke-width: 2.2; }
@media (prefers-reduced-motion: no-preference) {
  .lightbox[open] { animation: lightbox-in .18s ease-out; }
  .lightbox[open]::backdrop { animation: lightbox-fade .18s ease-out; }
}
@keyframes lightbox-in { from { opacity: 0; transform: scale(.98); } }
@keyframes lightbox-fade { from { opacity: 0; } }
.feature--resolve { padding-top: 112px; }
.feature--resolve .outcome { margin-top: 96px; }
@media (max-width: 900px) {
  .resolve-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .feature--resolve { padding-top: 80px; }
  .feature--resolve .outcome { margin-top: 64px; }
}
@media (max-width: 560px) {
  .feature--resolve { padding-top: 64px; }
}

/* "GLS" in running text is GLS's own logo at the height of the capitals (as on muffo.dk's quote page) */
.inline-logo { display: inline-block; width: auto; height: .72em; vertical-align: baseline; }

/* Integrations: the partners' own logos in one row under the overview */
.integrations { display: flex; align-items: center; gap: 24px 40px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.integrations-title { flex: none; color: var(--muted); font-family: 'Lato', Arial, sans-serif; font-size: 15px; font-weight: 700; letter-spacing: 0; }
/* One row: the logos shrink with the viewport instead of wrapping (owner 2026-11-29); phones wrap. */
.integration-logos { --logo-h: clamp(12px, 2.1vw, 26px); display: flex; flex: 1; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: clamp(12px, 2.4vw, 36px); }
.integration-logos li { display: flex; flex: none; align-items: center; min-height: 40px; }
.integration-logos img { display: block; width: auto; height: var(--logo-h); max-width: calc(var(--logo-h) * 5.4); object-fit: contain; }
@media (max-width: 900px) {
  .integrations { flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 44px; }
}
@media (max-width: 560px) {
  .integration-logos { --logo-h: 22px; flex-wrap: wrap; justify-content: flex-start; gap: 16px 32px; }
}
.integration-named { gap: calc(var(--logo-h) * 0.3); color: var(--ink); font-size: calc(var(--logo-h) * 0.77); font-weight: 900; white-space: nowrap; }
.integration-logos .integration-named img { height: calc(var(--logo-h) * 1.15); }
.integration-logos .integration-dark img { filter: brightness(0); }

/* Short desktop screens (1366x768, scaled laptops): the overview was 1048 px, far more than one screen.
   Tighter spacing so the heading and the four cards sit in one view with the next row showing under them. */
@media (min-width: 901px) and (max-height: 860px) {
  .overview { padding: 64px 0 56px; }
  .pillars { margin-top: 36px; }
  .pillar a { padding: 22px 22px 20px; }
  .pillar .badge { width: 44px; height: 44px; margin-bottom: 16px; }
  .pillar .badge .icon { width: 22px; height: 22px; }
  .pillar h3 { margin-bottom: 10px; font-size: 25px; }
  .pillar-arrow { padding-top: 16px; }
  .foundation { margin-top: 44px; }
  .foundation li { padding-top: 18px; }
  .foundation h3 { font-size: 22px; }
  .integrations { margin-top: 36px; padding-top: 22px; }
}

/* Comparison table, price list and tailor page on smaller screens */
@media (max-width: 900px) {
  .compare { margin-top: 64px; padding-top: 64px; }
  .page-tailors .tailors { padding-top: 48px; }
  .foundation-title { margin-top: 48px; }
}
@media (min-width: 901px) {
  .closing-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
}
@media (min-width: 901px) and (max-height: 860px) {
  .foundation-title { margin-top: 44px; }
}
@media (max-width: 560px) {
  .compare { margin-top: 48px; padding-top: 48px; }
  .compare-table { font-size: 15px; }
  .compare-table thead th { padding-right: 14px; font-size: 14px; }
  .compare-table tbody th, .compare-table td { padding: 14px 14px 14px 0; hyphens: auto; }
  .compare-table tbody th { width: 42%; }
  .compare-after { gap: 8px; }
}

/* Claims calculator: the two fields and the saving per claim side by side, as cards like price and demo */
.calc { border-top: 1px solid var(--line); }
.calc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.calc-form, .calc-result { padding: 40px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.calc-form { display: grid; gap: 18px; }
.calc-result { background: var(--bg-soft); }
.calc-form-title { font-size: 26px; }
.calc-example { margin-top: -10px; color: var(--muted); font-size: 15px; }
.calc-field small { color: var(--muted); font-size: 14px; line-height: 1.4; }
.calc-fixed { padding-top: 16px; border-top: 1px solid var(--line); font-size: 16px; font-weight: 700; }
.calc-amount { margin-top: 14px; font-family: var(--serif); font-size: clamp(34px, 3.8vw, 48px); line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; }
.calc-none { margin-top: 14px; font-family: var(--serif); font-size: clamp(26px, 2.8vw, 34px); line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.calc-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 28px; }
@media (max-width: 900px) {
  .calc-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .calc-form, .calc-result { padding: 26px 20px; border-radius: 20px; }
}

/* "From damaged item to resale" (src/flow-diagram.mjs). Prefix rf- only.
   Top: the process as one white strip of three numbered steps. Then the split sentence and three outcome cards,
   each under a pill with its condition and ending in a result band. Pink marks the resale route.
   Narrow (default): steps stacked; the outcomes hang on a rail down the left side.
   Wide (container >= 820px): steps in a row; a stem from the strip fans out to the three cards side by side. */

.rf {
  --rf-ink: var(--ink, #292c29);
  --rf-muted: var(--muted, #4c504b);
  --rf-bg: var(--bg-soft, #f7f6f2);
  --rf-edge: #dedad0;                 /* card outline and dividers */
  --rf-line: #858980;                 /* connectors: 3.4:1 on the background */
  --rf-go: var(--pink, #fa648a);      /* the resale route */
  --rf-go-bg: var(--icon-bg, #fde4ec);
  --rf-lw: 1.5px;
  --rf-head: 5px;                     /* half the arrowhead width */
  --rf-rail: 9px;                     /* x of the rail in narrow mode */
  --rf-ind: 28px;                     /* indent of the outcomes in narrow mode */
  --rf-up: 18px;                      /* connector above a condition pill */
  --rf-pill: 28px;                    /* height of a condition pill */
  --rf-down: 16px;                    /* connector from the pill to its card */
  --rf-gap: 20px;                     /* between the outcome cards in wide mode */
  container-type: inline-size;
  margin: 0;
  padding: 24px 16px 24px;
  border-radius: 24px;
  background: var(--rf-bg);
  color: var(--rf-ink);
  font-family: 'Lato', Arial, Helvetica, sans-serif;
}
:where(.rf) *, :where(.rf) *::before, :where(.rf) *::after { box-sizing: border-box; }
:where(.rf) :is(p, ol, ul, li) { margin: 0; padding: 0; }
:where(.rf) :is(ol, ul) { list-style: none; }

.rf-caption {
  margin: 0 0 20px;
  font-family: var(--serif, Georgia, 'Times New Roman', serif);
  font-size: 22px; font-weight: 400; line-height: 1.2; letter-spacing: -.01em;
  text-wrap: balance;
}
.rf-sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.rf-icon { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Steps: one strip ---------- */
.rf-steps {
  border: 1px solid var(--rf-edge); border-radius: 16px;
  background: #fff;
}
.rf-step {
  position: relative;
  display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 12px; align-items: start;
  padding: 14px 16px;
}
.rf-step + .rf-step { border-top: 1px solid var(--rf-edge); }
.rf-num {
  grid-row: 1 / span 2; align-self: start;
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--rf-ink); color: #fff;
  font: 700 13px/1 'Lato', Arial, Helvetica, sans-serif;
}
.rf-step-title {
  font-family: var(--serif, Georgia, 'Times New Roman', serif);
  padding-top: 3px; font-size: 18px; line-height: 1.25; letter-spacing: -.005em;
}
.rf-step-text { grid-column: 2; margin-top: 2px; color: var(--rf-muted); font-size: 14px; line-height: 1.45; }

/* ---------- The split ---------- */
.rf-split {
  position: relative;
  padding: 18px 0 4px var(--rf-ind);
  font-size: 15px; font-weight: 700; line-height: 1.35;
}
.rf-split::before { /* narrow: the rail from the strip down to the outcomes */
  content: ''; position: absolute; top: 0; bottom: 0; left: calc(var(--rf-rail) - var(--rf-lw) / 2);
  border-left: var(--rf-lw) solid var(--rf-line);
}

/* ---------- Outcomes ---------- */
.rf-out { position: relative; padding: var(--rf-up) 0 0 var(--rf-ind); }
.rf-out::before, .rf-out::after { content: ''; position: absolute; pointer-events: none; }
.rf-out::before { /* the rail past this outcome */
  top: 0; bottom: 0; left: calc(var(--rf-rail) - var(--rf-lw) / 2);
  border-left: var(--rf-lw) solid var(--rf-line);
}
.rf-out::after { /* the tick into the pill */
  top: calc(var(--rf-up) + var(--rf-pill) / 2 - var(--rf-lw) / 2); left: var(--rf-rail);
  width: calc(var(--rf-ind) - var(--rf-rail));
  border-top: var(--rf-lw) solid var(--rf-line);
}
.rf-out:last-child::before { /* the rail ends by turning into the last pill */
  bottom: auto; height: calc(var(--rf-up) + var(--rf-pill) / 2 + var(--rf-lw) / 2);
  width: calc(var(--rf-ind) - var(--rf-rail) + var(--rf-lw) / 2);
  border-bottom: var(--rf-lw) solid var(--rf-line); border-bottom-left-radius: 8px;
}
.rf-out:last-child::after { display: none; }

.rf-when {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center;
  min-height: var(--rf-pill); padding: 3px 12px;
  border: 1px solid var(--rf-line); border-radius: 999px;
  background: var(--rf-bg);
  font-size: 13px; font-weight: 700; line-height: 1.25;
}
.rf-out--resale .rf-when { border-color: var(--rf-go); background: var(--rf-go-bg); }

.rf-card {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start;
  margin-top: 10px; padding: 18px 18px 18px;
  border: 1px solid var(--rf-edge); border-radius: 18px;
  background: #fff;
}
.rf-out--resale .rf-card { border-color: var(--rf-go); box-shadow: 0 18px 36px -26px rgb(250 100 138 / 70%); }

.rf-badge {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--rf-bg); color: var(--rf-ink);
}
.rf-out--resale .rf-badge { background: var(--rf-go-bg); color: var(--icon, #d93868); }
.rf-badge .rf-icon { width: 22px; height: 22px; }
.rf-title {
  margin-top: 12px;
  font-family: var(--serif, Georgia, 'Times New Roman', serif);
  font-size: 24px; line-height: 1.15; letter-spacing: -.01em; text-wrap: balance;
}
.rf-text { margin-top: 6px; color: var(--rf-muted); font-size: 15px; line-height: 1.5; }

/* Resale: repaired -> prepared -> sold */
.rf-path { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; margin-top: 14px; }
.rf-path li {
  display: inline-flex; align-items: center;
  padding: 4px 9px; border-radius: 999px;
  background: var(--rf-go-bg);
  font-size: 12.5px; font-weight: 700; line-height: 1.3;
}
.rf-path li + li { margin-left: 17px; position: relative; }
.rf-path li + li::before { /* arrow between two parts */
  content: ''; position: absolute; right: calc(100% + 6px); top: 50%;
  width: 6px; height: 6px; margin-top: -3px;
  border: solid var(--rf-go); border-width: var(--rf-lw) var(--rf-lw) 0 0;
  transform: rotate(45deg);
}

/* The end message */
.rf-result {
  align-self: stretch;
  margin-top: auto; padding: 11px 14px 12px; /* pushed to the bottom, so the bands line up across the cards */
  border-radius: 12px;
  background: var(--rf-bg);
}
.rf-card > :nth-last-child(2) { margin-bottom: 16px; }
.rf-result-label {
  display: block; margin-bottom: 2px;
  color: var(--rf-muted);
  font-size: 11.5px; font-weight: 700; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase;
}
.rf-result strong { display: block; font-size: 17px; line-height: 1.3; text-wrap: balance; }
.rf-out--resale .rf-result { background: var(--rf-go); }
.rf-out--resale .rf-result-label { color: var(--rf-ink); }

/* Data and learning */
.rf-loop {
  display: flex; align-items: flex-start; gap: 8px;
  margin-top: 22px;
  color: var(--rf-muted); font-size: 14px; line-height: 1.45;
}
.rf-loop .rf-icon { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.rf-loop strong { color: var(--rf-ink); }

/* ---------- Wide ---------- */
@container (min-width: 820px) {
  .rf-caption { margin: 8px 8px 22px; font-size: 24px; }

  .rf-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rf-step { padding: 18px 20px 18px 26px; }
  .rf-step:first-child { padding-left: 20px; }
  .rf-step + .rf-step { border-top: 0; border-left: 1px solid var(--rf-edge); }
  .rf-step + .rf-step::before { /* chevron on the divider: on to the next step */
    content: ''; position: absolute; left: -7px; top: 50%;
    width: 12px; height: 12px; margin-top: -6px;
    border: solid var(--rf-edge); border-width: 1px 1px 0 0;
    background: #fff;
    transform: rotate(45deg);
  }

  /* Stem from the strip, broken by the sentence, down to the bar over the cards */
  .rf-split {
    display: flex; flex-direction: column; align-items: center;
    padding: 0; text-align: center; font-size: 16px;
  }
  .rf-split::before, .rf-split::after {
    content: ''; position: static; display: block;
    width: 0; height: 18px;
    border-left: var(--rf-lw) solid var(--rf-line);
  }
  .rf-split span { padding: 6px 0; }

  .rf-outs {
    position: relative;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--rf-gap);
  }
  .rf-outs::before { /* the bar from the first card's centre to the last one's */
    content: ''; position: absolute; top: calc(-1 * var(--rf-lw) / 2);
    left: calc((100% - 2 * var(--rf-gap)) / 6); right: calc((100% - 2 * var(--rf-gap)) / 6);
    border-top: var(--rf-lw) solid var(--rf-line);
  }
  .rf-out { display: flex; flex-direction: column; padding: var(--rf-up) 0 0; }
  .rf-out::after, .rf-out:last-child::after { display: none; }
  .rf-out::before, .rf-out:last-child::before { /* the drop through the pill to the card */
    top: 0; bottom: auto; left: calc(50% - var(--rf-lw) / 2);
    width: 0; height: calc(var(--rf-up) + var(--rf-pill) + var(--rf-down));
    border: 0; border-left: var(--rf-lw) solid var(--rf-line); border-radius: 0;
  }
  .rf-when { align-self: center; }
  .rf-card { flex: 1; margin-top: var(--rf-down); padding: 22px 22px 22px; }
  .rf-card::before { /* arrowhead on the card's top edge */
    content: ''; position: absolute; top: -8px; left: calc(50% - var(--rf-head));
    border: solid transparent; border-width: 7px var(--rf-head) 0; border-top-color: var(--rf-line);
  }
  .rf-title { font-size: 26px; }
  .rf-result strong { font-size: 18px; }

  .rf-loop { justify-content: center; margin-top: 24px; }
}

@container (min-width: 1040px) {
  .rf { --rf-gap: 28px; }
}
@media (min-width: 900px) {
  .rf { padding: 28px 28px 28px; }
}
