/* ============================================================
   Home page, November 2026 redesign (decision D-1211).
   Scoped to main.rx4; every class is prefixed rx4-, so the shared
   header, footer, styles.css and home3.css (still used by other
   pages) are untouched.

   The idea: the page is made of the product's own stationery.
   A white sheet carries the claim, the app stands on a stone
   plate beside it, one invoice's history is printed as a torn
   slip, and the prices are two tickets.

   Type: Libre Franklin, five sizes (display, h2, lead, body, small).
   Colour: paper ground, white sheets, a stone plate, ink, and the
   brand blue on actions only.
   One radius for sheets and plates (--rx4-r); buttons keep the
   site's shape.
   ============================================================ */

:root{
  --rx4-sheet:#FFFFFF;
  --rx4-stone:#EDE7DB;
  --rx4-soft:color-mix(in srgb,var(--ink) 78%,var(--page));
  --rx4-bezel:#121315;
  --rx4-ease:cubic-bezier(.22,1,.36,1);
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){--rx4-sheet:#1F2124;--rx4-stone:#191B1E;--rx4-bezel:#000}
}
:root[data-theme="dark"]{--rx4-sheet:#1F2124;--rx4-stone:#191B1E;--rx4-bezel:#000}

html[data-font="franklin"]{--f-sans:"Libre Franklin",ui-sans-serif,system-ui,sans-serif}
html[data-font]:not([data-font="inter"]) body{font-feature-settings:normal}

/* ── base ── */
.rx4{
  --t-display:clamp(2.25rem,1.1rem + 4vw,4.75rem);
  --t-h2:clamp(2rem,1.2rem + 2.6vw,3.5rem);
  --t-lead:clamp(1.125rem,1.04rem + .35vw,1.375rem);
  --t-body:1.0625rem;
  --t-small:.875rem;
  --rx4-gut:clamp(16px,3vw,32px);
  --rx4-r:20px;
  --rx4-gap:clamp(96px,11vw,176px);
  display:block;font-size:var(--t-body);line-height:1.55;color:var(--ink)
}
.rx4 :where(h1,h2,h3,p,figure,ol,ul){margin:0}
.rx4 :where(ol,ul){padding:0;list-style:none}
.rx4 :where(h1,h2,h3,p){overflow-wrap:break-word}
.rx4 img{max-width:100%;display:block}
.rx4-wrap{width:min(100% - 2 * var(--rx4-gut),1240px);margin-inline:auto}
.rx4-sec{padding-top:var(--rx4-gap)}
.rx4-band{background:var(--rx4-stone);margin-top:var(--rx4-gap);padding-block:clamp(72px,8vw,128px)}
.rx4-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.rx4-display{font-weight:750;font-size:var(--t-display);line-height:1;letter-spacing:-.035em;text-wrap:balance}
.rx4-h2{font-weight:720;font-size:var(--t-h2);line-height:1.02;letter-spacing:-.032em;text-wrap:balance}
.rx4-lead{font-size:var(--t-lead);line-height:1.45;color:var(--ink);text-wrap:pretty}
.rx4-body{font-size:var(--t-body);line-height:1.6;color:var(--ink);max-width:38rem;text-wrap:pretty}
.rx4-small{font-size:var(--t-small);line-height:1.45;color:var(--rx4-soft)}
.rx4-link{color:var(--ink);font-weight:600;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:4px;text-decoration-color:color-mix(in srgb,currentColor 40%,transparent);transition:text-decoration-color .15s}
.rx4-link:hover{text-decoration-color:currentColor}
.rx4 a:focus-visible,.rx4 button:focus-visible{outline:2px solid var(--primary);outline-offset:3px;border-radius:6px}

/* buttons: the site's .btn, made larger and flat */
.rx4 .rx4-btn{min-height:52px;padding:0 24px;border-radius:12px;font-size:1.0625rem;font-weight:600;box-shadow:none;display:inline-flex;align-items:center;justify-content:center;
  transition:transform .14s var(--rx4-ease),background-color .15s,border-color .15s,text-decoration-color .15s}
.rx4 .rx4-btn:hover{transform:translateY(-1px);box-shadow:none}
.rx4 .rx4-btn:active{transform:scale(.97)}
.rx4 .rx4-btn--quiet,.rx4 .rx4-btn--quiet:hover{background:transparent;border-color:transparent;padding:0 6px;color:var(--ink);
  text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:6px;text-decoration-color:color-mix(in srgb,currentColor 40%,transparent)}
.rx4 .rx4-btn--quiet:hover{text-decoration-color:currentColor}
.rx4 .rx4-btn--line{background:transparent;border:1.5px solid color-mix(in srgb,var(--ink) 30%,transparent);color:var(--ink)}
.rx4 .rx4-btn--line:hover{border-color:var(--ink)}

/* the phone: a dark bezel around a real screenshot */
.rx4-phone{position:relative;aspect-ratio:1206/2622;background:var(--rx4-bezel);border-radius:clamp(30px,13%,54px)/clamp(30px,6%,54px);padding:2.4%}
.rx4-phone img{width:100%;height:100%;object-fit:cover;border-radius:clamp(24px,11%,46px)/clamp(24px,5.2%,46px)}
.rx4-plate{background:var(--rx4-stone);border-radius:var(--rx4-r);overflow:hidden;position:relative}

/* ── 1. hero ── */
.rx4-hero{width:min(100% - 2 * var(--rx4-gut),1376px);margin:clamp(8px,1vw,12px) auto 0;display:grid;grid-template-columns:minmax(0,1.32fr) minmax(0,1fr);gap:12px;
  height:clamp(640px,calc(100svh - 84px),860px)}
.rx4-hero__card{background:var(--rx4-sheet);border-radius:var(--rx4-r);padding:clamp(28px,4vw,56px);display:flex;flex-direction:column;justify-content:space-between;gap:40px}
.rx4-hero__text{display:grid;gap:24px;max-width:40rem}
.rx4-hero__text .rx4-lead{max-width:33rem}
.rx4-cta{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin-top:8px}
.rx4-hero__note{margin-top:-8px}
.rx4-get{display:flex;align-items:center;gap:20px;padding-top:28px;border-top:0;background:none}
.rx4-qr{flex:none;width:104px;height:104px;padding:10px;background:#fff;border-radius:12px}
.rx4-qr svg{width:100%;height:100%;display:block}
.rx4-get__text{display:grid;gap:12px}
.rx4-get__text p{font-size:var(--t-small);line-height:1.45;max-width:22rem}
.rx4-badges{justify-content:flex-start;gap:10px}

.rx4-hero__room{position:relative;contain:size;background:var(--rx4-stone);border-radius:var(--rx4-r);overflow:hidden;display:flex;justify-content:center;align-items:flex-start;padding-top:clamp(64px,9vh,104px)}
.rx4-phone--hero{width:min(380px,74%);flex:none}
.rx4-note{position:absolute;z-index:2;top:clamp(20px,3.4vh,32px);left:50%;width:min(360px,calc(100% - 40px));translate:-50% 0;display:flex;gap:12px;align-items:flex-start;
  padding:12px 14px;border-radius:18px;background:color-mix(in srgb,var(--rx4-sheet) 96%,transparent);color:var(--ink);
  box-shadow:0 1px 2px rgba(0,0,0,.08),0 18px 40px -16px rgba(0,0,0,.35)} /* taste-skill-ignore: a push notification floats over the phone */
.rx4-note img{width:38px;height:38px;border-radius:9px;flex:none}
.rx4-note p{font-size:var(--t-small);line-height:1.4}
.rx4-note__t{display:flex;justify-content:space-between;gap:10px}
.rx4-note__t span{color:var(--rx4-soft)}

/* ── 2. how it works ── */
.rx4-how__grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:clamp(32px,6vw,96px);align-items:center}
.rx4-how__text{display:grid;gap:20px}
.rx4-steps{display:grid;gap:8px;margin-top:20px}
.rx4-steps button{all:unset;box-sizing:border-box;position:relative;display:grid;gap:6px;width:100%;padding:20px 22px 22px;border-radius:14px;cursor:pointer;overflow:hidden;
  transition:background-color .25s var(--rx4-ease)}
.rx4-steps button:hover{background:color-mix(in srgb,var(--rx4-stone) 55%,transparent)}
.rx4-steps button[aria-pressed="true"]{background:var(--rx4-stone)}
.rx4-steps button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
.rx4-steps__t{font-size:var(--t-lead);font-weight:700;letter-spacing:-.015em}
.rx4-steps__d{color:var(--ink);line-height:1.55;max-width:32rem}
.rx4-steps__bar{position:absolute;left:22px;right:22px;bottom:10px;height:3px;border-radius:3px;background:var(--primary);transform:scaleX(0);transform-origin:left;opacity:0}
.rx4-how__plate{aspect-ratio:1/1.04;display:flex;justify-content:center;align-items:flex-start;padding-top:clamp(40px,5vw,64px)}
.rx4-phone--stage{width:min(340px,62%)}
.rx4-phone--stage .rx4-shot{position:absolute;inset:2.4%;width:95.2%;height:95.2%;opacity:0;transition:opacity .6s var(--rx4-ease)}
.rx4-phone--stage .rx4-shot.is-on{opacity:1}

/* ── 3. the money: a slip on the stone band ── */
.rx4-money__grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,5fr);gap:clamp(32px,6vw,96px);align-items:start}
.rx4-money__text{display:grid;gap:20px;padding-top:8px}
.rx4-money__text .rx4-h2{margin-bottom:8px}
.rx4-slip{justify-self:center;width:min(100%,460px);background:var(--rx4-sheet);
  clip-path:polygon(0 0,100% 0,100% calc(100% - 10px),98.214% 100%,96.429% calc(100% - 10px),94.643% 100%,92.857% calc(100% - 10px),91.071% 100%,89.286% calc(100% - 10px),87.500% 100%,85.714% calc(100% - 10px),83.929% 100%,82.143% calc(100% - 10px),80.357% 100%,78.571% calc(100% - 10px),76.786% 100%,75.000% calc(100% - 10px),73.214% 100%,71.429% calc(100% - 10px),69.643% 100%,67.857% calc(100% - 10px),66.071% 100%,64.286% calc(100% - 10px),62.500% 100%,60.714% calc(100% - 10px),58.929% 100%,57.143% calc(100% - 10px),55.357% 100%,53.571% calc(100% - 10px),51.786% 100%,50.000% calc(100% - 10px),48.214% 100%,46.429% calc(100% - 10px),44.643% 100%,42.857% calc(100% - 10px),41.071% 100%,39.286% calc(100% - 10px),37.500% 100%,35.714% calc(100% - 10px),33.929% 100%,32.143% calc(100% - 10px),30.357% 100%,28.571% calc(100% - 10px),26.786% 100%,25.000% calc(100% - 10px),23.214% 100%,21.429% calc(100% - 10px),19.643% 100%,17.857% calc(100% - 10px),16.071% 100%,14.286% calc(100% - 10px),12.500% 100%,10.714% calc(100% - 10px),8.929% 100%,7.143% calc(100% - 10px),5.357% 100%,3.571% calc(100% - 10px),1.786% 100%,0.000% calc(100% - 10px))}
.rx4-slip__in{padding:32px 32px 46px;font-variant-numeric:tabular-nums}
.rx4-slip__head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:var(--t-lead);padding-bottom:6px}
.rx4-slip__head b{font-weight:750;letter-spacing:-.01em}
.rx4-slip__day{font-weight:700;margin-top:26px;margin-bottom:4px}
.rx4-slip__row{display:flex;align-items:baseline;gap:10px;padding:5px 0}
.rx4-slip__row i{flex:1;align-self:center;height:0;border-bottom:4px dotted color-mix(in srgb,var(--ink) 24%,transparent);transform:translateY(3px)}
.rx4-slip__row span:last-child{color:var(--ink)}
.rx4-slip__total{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:28px -32px 0;padding:0 32px;min-height:52px;background:var(--ink);color:var(--page);font-weight:700;font-size:var(--t-lead)}

/* ── 4. who owes you: square plate, spare text ── */
.rx4-owed__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(32px,5vw,80px);align-items:stretch}
.rx4-owed__plate{aspect-ratio:1/1;padding:clamp(28px,4vw,48px) 0 0 clamp(28px,4vw,48px)}
.rx4-web{width:150%;border-radius:12px 0 0 0;overflow:hidden;background:var(--rx4-sheet)}
.rx4-web img{width:100%;height:auto}
.rx4-phone--owed{position:absolute;right:clamp(20px,4%,40px);bottom:-14%;width:38%}
.rx4-owed__text{display:flex;flex-direction:column;justify-content:space-between;gap:40px;padding-block:8px}
.rx4-tabs{display:flex;gap:24px;font-size:var(--t-lead);font-weight:600}
.rx4-tabs a{color:var(--ink);text-decoration:none;border-bottom:2px solid transparent;padding-bottom:2px;transition:border-color .15s}
.rx4-tabs a:hover{border-bottom-color:var(--ink)}
.rx4-owed__mid{display:grid;gap:20px}
.rx4-owed__mid .rx4-h2{margin-bottom:6px}
.rx4-cells{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.rx4-cell{display:flex;align-items:center;justify-content:center;text-align:center;min-height:72px;padding:12px 16px;border-radius:14px;font-weight:650;font-size:1.0625rem;
  background:var(--rx4-stone);color:var(--ink);text-decoration:none;transition:transform .14s var(--rx4-ease),background-color .15s}
.rx4-cell:hover{background:color-mix(in srgb,var(--rx4-stone) 80%,var(--ink))}
.rx4-cell:active{transform:scale(.98)}
.rx4-cell--ink{background:var(--ink);color:var(--page)}
.rx4-cell--ink:hover{background:color-mix(in srgb,var(--ink) 86%,var(--page))}

/* ── 5. countries: names set large ── */
.rx4-where__grid{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:clamp(32px,5vw,80px);align-items:start}
.rx4-where__text{display:grid;gap:20px;position:sticky;top:96px}
.rx4-countries-wrap{overflow:hidden}
.rx4-countries{display:flex;flex-wrap:wrap;gap:4px 0;margin-left:-1.1em;font-size:clamp(1.375rem,1rem + 1.3vw,2.125rem);font-weight:620;line-height:1.3;letter-spacing:-.02em}
.rx4-countries li{white-space:nowrap}
.rx4-countries li::before{content:"·";display:inline-block;width:1.1em;text-align:center;color:color-mix(in srgb,var(--ink) 38%,transparent);font-weight:400}

@media (min-width:900px){.rx4-get__phonetext{display:none}}

/* ── 6. pricing: two tickets ── */
.rx4-price__head{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:20px clamp(32px,5vw,80px);align-items:end;margin-bottom:clamp(36px,4vw,56px)}
.rx4-price__head .rx4-body{max-width:34rem}
.rx4-tickets{display:grid;gap:16px;width:min(100%,960px);margin-inline:auto}
.rx4-ticket{--notch:28px;position:relative;display:grid;grid-template-columns:minmax(0,7fr) minmax(0,3fr);background:var(--rx4-sheet);border-radius:var(--rx4-r);min-height:clamp(220px,24vw,300px)}
.rx4-ticket::before,.rx4-ticket::after{content:"";position:absolute;left:70%;width:var(--notch);height:var(--notch);border-radius:50%;background:var(--rx4-stone);translate:-50% 0}
.rx4-ticket::before{top:calc(var(--notch) / -2)}
.rx4-ticket::after{bottom:calc(var(--notch) / -2)}
.rx4-ticket__main{padding:clamp(24px,3.4vw,40px);display:flex;flex-direction:column;justify-content:space-between;gap:28px}
.rx4-ticket__name{font-size:var(--t-h2);font-weight:750;letter-spacing:-.035em;line-height:1}
.rx4-ticket__lines{columns:2;column-gap:32px}
.rx4-ticket__lines li{break-inside:avoid;padding:4px 0 4px 18px;position:relative;line-height:1.45}
.rx4-ticket__lines li::before{content:"";position:absolute;left:0;top:.72em;width:7px;height:7px;border-radius:50%;background:var(--ink)}
.rx4-ticket__stub{position:relative;padding:clamp(24px,3vw,36px) clamp(18px,2.4vw,28px);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:4px;
  border-left:6px dotted var(--rx4-stone)}
.rx4-ticket__price{font-size:var(--t-h2);font-weight:750;letter-spacing:-.035em;line-height:1;font-variant-numeric:tabular-nums}
.rx4-ticket__go{margin-top:18px;align-self:stretch;display:flex;align-items:center;justify-content:center;min-height:56px;padding:0 14px;border-radius:12px;background:var(--primary);color:var(--on-primary);
  font-weight:650;text-decoration:none;transition:transform .14s var(--rx4-ease),background-color .15s}
.rx4-ticket__go:hover{background:var(--primary-hover)}
.rx4-ticket__go:active{transform:scale(.97)}
.rx4-price__foot{width:min(100%,960px);margin:28px auto 0;font-size:var(--t-small);line-height:1.6;color:var(--ink)}
.rx4-price__foot .rx4-link{white-space:nowrap}

/* ── 7. free tools: a plain list ── */
.rx4-tools__grid{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:clamp(32px,5vw,80px);align-items:start}
.rx4-tools__text{display:grid;gap:20px}
.rx4-toollist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:36px clamp(24px,4vw,56px)}
.rx4-toollist li{display:grid;gap:6px;align-content:start}
.rx4-toollist li > a{font-size:var(--t-lead);font-weight:700;letter-spacing:-.015em;color:var(--ink);justify-self:start;
  text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px;text-decoration-color:color-mix(in srgb,currentColor 22%,transparent);transition:text-decoration-color .2s}
.rx4-toollist li > a:hover{text-decoration-color:currentColor}
.rx4-toollist span{line-height:1.55}
.rx4-toollist span a{color:inherit;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px;text-decoration-color:color-mix(in srgb,currentColor 40%,transparent)}
.rx4-toollist span a:hover{text-decoration-color:currentColor}

/* ── 8. questions as reading text ── */
.rx4-faq__grid{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,9fr);gap:24px clamp(32px,5vw,80px);align-items:start}
.rx4-faq__text{columns:2;column-gap:56px}
.rx4-faq__text p{break-inside:avoid;margin-bottom:22px;line-height:1.6;text-wrap:pretty}
.rx4-faq__text b{font-weight:650}
.rx4-faq__text a{color:inherit;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px;text-decoration-color:color-mix(in srgb,currentColor 40%,transparent)}

/* ── 9. closing: one question, two answers ── */
.rx4-close{background:var(--rx4-stone);margin-top:var(--rx4-gap);padding-block:clamp(88px,11vw,168px)}
.rx4-close__in{display:grid;justify-items:center;text-align:center;gap:clamp(36px,4vw,56px)}
.rx4 .rx4-close__q{font-weight:760;font-size:clamp(3rem,1.2rem + 7.4vw,8.5rem);line-height:.98;letter-spacing:-.045em;max-width:9.5em;text-wrap:balance}
.rx4-close__row{display:flex;align-items:center;justify-content:center;gap:20px;flex-wrap:wrap}
.rx4-close__row .rx4-btn{min-width:200px;min-height:56px}
.rx4-close__or{color:var(--rx4-soft)}
.rx4-close__after{color:var(--ink);margin-top:-20px}
/* the shared footer starts straight after the stone band */
.rx4 + .sitefooter{margin-top:0}

/* ── motion: entrances, only when the script runs and motion is welcome ── */
@media (prefers-reduced-motion:no-preference){
  .rx4-js .rx4 [data-rv]{opacity:0;transform:translateY(24px);transition:opacity .7s var(--rx4-ease),transform .8s var(--rx4-ease);transition-delay:var(--d,0ms)}
  .rx4-js .rx4 [data-rv].is-in{opacity:1;transform:none}
  /* the first screen moves on its own, with no script: the phone settles, then the payment arrives */
  .rx4-phone--hero{animation:rx4-rise .9s var(--rx4-ease) .05s both}
  .rx4-note{animation:rx4-drop .6s var(--rx4-ease) 1.1s both}
  .rx4-js .rx4-slip.is-in .rx4-slip__day,.rx4-js .rx4-slip.is-in .rx4-slip__row,.rx4-js .rx4-slip.is-in .rx4-slip__total{animation:rx4-print .5s var(--rx4-ease) both}
  .rx4-steps.is-auto button[aria-pressed="true"] .rx4-steps__bar{opacity:1;animation:rx4-fill var(--rx4-step,4.5s) linear both}
  .rx4-steps.is-paused button[aria-pressed="true"] .rx4-steps__bar{animation-play-state:paused}
}
@keyframes rx4-rise{from{transform:translateY(32px)}to{transform:none}}
@keyframes rx4-drop{from{opacity:0;transform:translateY(-16px) scale(.97)}to{opacity:1;transform:none}}
@keyframes rx4-print{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes rx4-fill{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.rx4-slip__in > :nth-child(2){animation-delay:.10s}.rx4-slip__in > :nth-child(3){animation-delay:.18s}.rx4-slip__in > :nth-child(4){animation-delay:.26s}
.rx4-slip__in > :nth-child(5){animation-delay:.38s}.rx4-slip__in > :nth-child(6){animation-delay:.46s}.rx4-slip__in > :nth-child(7){animation-delay:.54s}
.rx4-slip__in > :nth-child(8){animation-delay:.66s}.rx4-slip__in > :nth-child(9){animation-delay:.74s}.rx4-slip__in > :nth-child(10){animation-delay:.9s}

/* ── tablet ── */
@media (max-width:1099px){
  .rx4-hero{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
  .rx4-ticket__lines{columns:1}
  .rx4-faq__text{columns:1}
  .rx4-faq__grid{grid-template-columns:minmax(0,1fr)}
  .rx4-faq__text{max-width:44rem}
}

/* ── phone ── */
@media (max-width:899px){
  .rx4{--rx4-r:18px;--rx4-gap:clamp(80px,16vw,112px)}
  .rx4-hero{grid-template-columns:minmax(0,1fr);height:auto}
  .rx4-get__qrtext{display:none}
  .rx4-hero__card{padding:28px 22px 26px;gap:32px}
  .rx4-hero__text{gap:18px}
  .rx4-cta{flex-direction:column;align-items:stretch;gap:6px;max-width:420px}
  .rx4-cta .rx4-btn--quiet{min-height:44px}
  .rx4-hero__note{margin-top:0;text-align:center}
  .rx4-get{padding-top:0}
  .rx4-qr{display:none}
  .rx4-hero__room{contain:none;height:min(560px,132vw);padding-top:84px}
  .rx4-phone--hero{width:min(320px,72%)}

  .rx4-how__grid{grid-template-columns:minmax(0,1fr);gap:28px}
  .rx4-how__text{display:contents}
  .rx4-how__text > .rx4-h2{order:1}
  .rx4-how__intro{order:2}
  .rx4-how__plate{order:3;aspect-ratio:auto;height:min(520px,124vw);padding-top:40px}
  .rx4-steps{order:4;margin-top:0}
  .rx4-steps button{padding:16px 18px 20px}
  .rx4-phone--stage{width:min(300px,66%)}

  .rx4-money__grid{grid-template-columns:minmax(0,1fr);gap:40px}
  .rx4-slip__in{padding:26px 22px 42px}
  .rx4-slip__total{margin-inline:-22px;padding-inline:22px}

  .rx4-owed__grid{grid-template-columns:minmax(0,1fr);gap:32px}
  .rx4-owed__plate{order:2}
  .rx4-owed__text{display:contents}
  .rx4-tabs{order:1}
  .rx4-owed__mid{order:0}
  .rx4-cells{order:3;grid-template-columns:minmax(0,1fr)}
  .rx4-cell{min-height:60px}

  .rx4-where__grid,.rx4-tools__grid,.rx4-price__head{grid-template-columns:minmax(0,1fr)}
  .rx4-where__text{position:static}

  .rx4-ticket{grid-template-columns:minmax(0,1fr);min-height:0}
  .rx4-ticket::before,.rx4-ticket::after{left:auto;top:auto;bottom:calc(var(--stub-h,170px) - var(--notch) / 2);translate:0 0}
  .rx4-ticket::before{left:calc(var(--notch) / -2)}
  .rx4-ticket::after{right:calc(var(--notch) / -2)}
  .rx4-ticket__stub{border-left:0;border-top:6px dotted var(--rx4-stone);min-height:var(--stub-h,170px)}
  .rx4-ticket__main{gap:20px}

  .rx4-toollist{grid-template-columns:minmax(0,1fr);gap:28px}
  .rx4-close__row{flex-direction:column;align-items:stretch;width:min(100%,320px);gap:8px}
  .rx4-close__after{margin-top:-12px}
}
@media (max-width:420px){
  .rx4{--t-display:2.125rem}
}
