/* Variante R · Retro illustrata: scrivania anni '90 illustrata (ispirazione: lockerland.com.au).
   Carica dopo base.css. Non usa b3evo.css: qui sotto ci sono anche le regole di struttura che servono a b3evo.js
   (linguette col cambio automatico, casi, entrate, parole del titolo, inclinazione, domande).
   Movimento solo sotto html.motion-ok. CSP default-src 'self': niente stili nella pagina, valori dinamici da JS
   con style.setProperty o Web Animations. */

/* Font pixel per le etichette. Le cifre arrivano da Outfit: nel pixel il 5 si confonde con la S. */
@font-face {
  font-family: 'Pixel R';
  src: url('../fonts/PixelifySans.ttf') format('truetype');
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-002F, U+003A-10FFFF;
}

@font-face {
  font-family: 'Pixel R';
  src: url('../fonts/outfit.ttf') format('truetype');
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0030-0039;
}

@property --p {
  syntax: '<number>';
  inherits: false;
  initial-value: 0;
}

:root {
  --r-terra: #c2370f;
  --r-terra-d: #9b2b0b;
  --r-crema: #fbf1de;
  --r-crema-2: #f3e3c4;
  --r-crema-3: #e2cfa9;
  --r-carta: #fffaf0;
  --r-ink: #1e2228;
  --r-ink-soft: #3b4048;
  --r-coral: #ff5a36;
  --r-senape: #e3b341;
  --r-ardesia: #5e7a8c;
  --r-ardesia-d: #455d6c;
  --r-screen: #22313a;
  --font-px: 'Pixel R', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --focus: var(--r-ink);
  scroll-padding-top: 96px;
}

html:not(.motion-ok) {
  scroll-behavior: auto;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Testo normale a 500 (a 400 era troppo sottile). Titoli, pulsanti ed etichette in pixel hanno il loro peso. */
body.r {
  background: var(--r-crema);
  color: var(--r-ink);
  font-weight: 500;
  overflow-x: clip;
}

::selection {
  background: var(--r-ink);
  color: var(--r-crema);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.b-skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--r-ink);
  color: var(--r-crema);
  font-weight: 700;
  text-decoration: none;
}

.b-skip:focus {
  top: 12px;
}

.r h1,
.r h2,
.r h3 {
  text-wrap: balance;
}

/* ---------- Cursori in pixel (solo con mouse) ---------- */
@media (hover: hover) and (pointer: fine) {
  html {
    cursor: url('cursori/freccia.png') 0 0, default;
    cursor: -webkit-image-set(url('cursori/freccia.png') 1x, url('cursori/freccia@2x.png') 2x) 0 0, default;
    cursor: image-set(url('cursori/freccia.png') 1x, url('cursori/freccia@2x.png') 2x) 0 0, default;
  }

  a[href],
  button,
  summary,
  [role='tab'],
  label[for] {
    cursor: url('cursori/manina.png') 5 0, pointer;
    cursor: -webkit-image-set(url('cursori/manina.png') 1x, url('cursori/manina@2x.png') 2x) 5 0, pointer;
    cursor: image-set(url('cursori/manina.png') 1x, url('cursori/manina@2x.png') 2x) 5 0, pointer;
  }

  /* Attesa: la clessidra si anima solo sull'elemento radice, tutti gli altri la ereditano.
     Nessuna animazione su "*": sostituirebbe quella della barra del cambio automatico. */
  html.is-busy,
  html.motion-ok.is-booting {
    cursor: url('cursori/clessidra-0.png') 15 15, wait;
    cursor: -webkit-image-set(url('cursori/clessidra-0.png') 1x, url('cursori/clessidra-0@2x.png') 2x) 15 15, wait;
    cursor: image-set(url('cursori/clessidra-0.png') 1x, url('cursori/clessidra-0@2x.png') 2x) 15 15, wait;
  }

  html.is-busy *,
  html.motion-ok.is-booting * {
    cursor: inherit !important;
  }

  html.motion-ok.is-busy,
  html.motion-ok.is-booting {
    animation: r-cursor-busy 1.05s steps(1) infinite;
  }
}

@keyframes r-cursor-busy {
  0% { cursor: url('cursori/clessidra-0.png') 15 15, wait; }
  14.28% { cursor: url('cursori/clessidra-1.png') 15 15, wait; }
  28.57% { cursor: url('cursori/clessidra-2.png') 15 15, wait; }
  42.85% { cursor: url('cursori/clessidra-3.png') 15 15, wait; }
  57.14% { cursor: url('cursori/clessidra-4.png') 15 15, wait; }
  71.42% { cursor: url('cursori/clessidra-5.png') 15 15, wait; }
  85.71% { cursor: url('cursori/clessidra-6.png') 15 15, wait; }
}

/* ---------- Superfici: terracotta e crema a quadretti ---------- */
.r-on-terra {
  --focus: var(--r-crema);
  background-color: var(--r-terra);
  background-image:
    linear-gradient(rgb(96 22 4 / 24%) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgb(96 22 4 / 24%) 1.5px, transparent 1.5px);
  background-size: 56px 56px;
  color: var(--r-crema);
  font-weight: 600;
}

/* Sul terracotta il testo è a 600; le finestre crema dentro queste sezioni tornano al peso normale */
.r-on-terra :is(.r-card, .r-win) {
  font-weight: 500;
}

.r-on-crema {
  --focus: var(--r-ink);
  background-color: var(--r-crema);
  background-image:
    linear-gradient(rgb(194 55 15 / 9%) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgb(194 55 15 / 9%) 1.5px, transparent 1.5px);
  background-size: 56px 56px;
  color: var(--r-ink);
}

.r-checker {
  height: 44px;
  background: repeating-conic-gradient(var(--r-crema) 0 25%, var(--r-terra) 0 50%) 0 0 / 44px 44px;
}

.r-checker-ink {
  background: repeating-conic-gradient(var(--r-crema) 0 25%, var(--r-ink) 0 50%) 0 0 / 44px 44px;
}

/* ---------- Elementi comuni ---------- */
.r-px {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: none;
  shape-rendering: crispEdges;
}

.r-px-lg {
  width: 36px;
  height: 36px;
}

.r-px-xl {
  width: 64px;
  height: 64px;
}

.r-label {
  display: inline-flex;
  align-items: center;
  margin: 0 0 16px;
  padding: 4px 12px;
  border: 2px solid currentColor;
  border-radius: 6px;
  font-family: var(--font-px);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.r-btn {
  --bg: var(--r-carta);
  --fg: var(--r-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 2.5px solid var(--r-ink);
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  box-shadow: 4px 4px 0 var(--r-ink);
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: translate 0.12s ease, box-shadow 0.12s ease, background-color 0.15s ease;
}

.r-btn:hover {
  translate: -1px -1px;
  box-shadow: 6px 6px 0 var(--r-ink);
}

.r-btn:active {
  translate: 3px 3px;
  box-shadow: 1px 1px 0 var(--r-ink);
}

.r-btn-big {
  min-height: 58px;
  padding: 0 30px;
  font-size: 1.1rem;
}

.r-btn-ghost {
  --bg: transparent;
  --fg: currentColor;
  border-color: currentColor;
  box-shadow: none;
}

.r-btn-ghost:hover {
  --bg: var(--r-terra-d);
  box-shadow: none;
}

.r-logo-sticker {
  display: inline-flex;
  padding: 10px 16px;
  border: 3px solid var(--r-ink);
  border-radius: 14px;
  background: var(--r-carta);
  box-shadow: 4px 4px 0 var(--r-ink);
  rotate: -2deg;
}

.r-logo-sticker img {
  width: 150px;
  height: auto;
}

/* Finestra anni '90: barra del titolo in pixel, tre tastini decorativi */
.r-win {
  --focus: var(--r-ink);
  display: block;
  position: relative;
  border: 3px solid var(--r-ink);
  border-radius: 12px;
  background: var(--r-carta);
  color: var(--r-ink);
  box-shadow: 6px 6px 0 var(--r-ink);
}

.r-win-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 8px 0 10px;
  border-bottom: 3px solid var(--r-ink);
  border-radius: 9px 9px 0 0;
  background: var(--r-terra);
  color: var(--r-crema);
  font-family: var(--font-px);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.r-win-bar-ink {
  background: var(--r-ink);
}

.r-win-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.r-win-btns {
  display: flex;
  gap: 4px;
}

.r-win-btns i {
  position: relative;
  width: 20px;
  height: 18px;
  border: 2px solid var(--r-ink);
  border-radius: 4px;
  background: var(--r-crema);
  box-shadow: inset -2px -2px 0 var(--r-crema-3);
}

.r-win-btns i:first-child:not(:only-child)::after {
  content: '';
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 3px;
  height: 2px;
  background: var(--r-ink);
}

.r-win-btns i:nth-child(2)::after {
  content: '';
  position: absolute;
  inset: 3px 4px;
  border: 2px solid var(--r-ink);
  border-top-width: 3px;
}

.r-win-btns i:last-child::before,
.r-win-btns i:last-child::after {
  content: '';
  position: absolute;
  left: 3px;
  right: 3px;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background: var(--r-ink);
  rotate: 45deg;
}

.r-win-btns i:last-child::after {
  rotate: -45deg;
}

/* ---------- Struttura che serve a b3evo.js ---------- */
.motion-ok [data-reveal] {
  --rd: calc(var(--i, 0) * 90ms + var(--delay, 0ms));
  opacity: 0;
  translate: 0 26px;
  transition: opacity 0.55s ease var(--rd), translate 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) var(--rd);
}

.motion-ok [data-reveal].is-in {
  opacity: 1;
  translate: none;
}

/* Durante l'apertura l'hero aspetta: niente entrate, parole ferme, cambio automatico in pausa */
.motion-ok.is-booting .b-top [data-reveal].is-in {
  opacity: 0;
  translate: 0 26px;
}

[data-split] .w {
  display: inline-block;
  overflow: clip;
  overflow-clip-margin: 0.14em;
  vertical-align: top;
}

[data-split] .w > span {
  display: inline-block;
}

.motion-ok.is-booting [data-split] .w > span {
  translate: 0 115%;
}

.motion-ok:not(.is-booting) [data-split] .w > span {
  animation: r-word 0.75s cubic-bezier(0.2, 0.9, 0.25, 1.12) both;
  animation-delay: calc(var(--i) * 55ms + 120ms);
}

@keyframes r-word {
  from {
    translate: 0 115%;
  }
}

.b3e-auto {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 4px;
  height: 4px;
  border-radius: 2px;
  background: var(--r-terra);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

.is-auto [aria-selected='true'] .b3e-auto {
  animation: r-auto var(--auto-ms, 5000ms) linear forwards;
}

.is-auto.is-paused [aria-selected='true'] .b3e-auto,
.motion-ok.is-booting [aria-selected='true'] .b3e-auto {
  animation-play-state: paused;
}

@keyframes r-auto {
  to {
    transform: scaleX(1);
  }
}

[data-tilt] {
  --nx: 0;
  --ny: 0;
}

/* ---------- Mascotte: le facce si accendono con le variabili --m-* ---------- */
.r-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.r-mascot {
  display: block;
  width: 150px;
  height: auto;
  overflow: visible;
}

.m-f {
  opacity: 0;
}

.m-neutra {
  opacity: var(--m-neutra, 1);
}

.m-pensa {
  opacity: var(--m-pensa, 0);
}

.m-allerta {
  opacity: var(--m-allerta, 0);
}

.m-sorriso {
  opacity: var(--m-sorriso, 0);
}

.m-clessidra {
  opacity: var(--m-clessidra, 0);
}

.m-eyes {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: var(--m-blink, none);
}

.m-led {
  animation: var(--m-led, none);
}

.motion-ok .r-mascot {
  --m-blink: r-blink 5.2s steps(1) infinite;
  --m-led: r-led 1.6s steps(1) infinite;
}

@keyframes r-blink {
  0%,
  91%,
  95%,
  100% {
    transform: none;
  }

  92%,
  94% {
    transform: scaleY(0.15);
  }
}

@keyframes r-led {
  0%,
  60% {
    opacity: 1;
  }

  61%,
  100% {
    opacity: 0.35;
  }
}

/* ---------- Apertura ---------- */
.r-boot {
  display: none;
}

.motion-ok.is-booting .r-boot {
  display: grid;
  position: fixed;
  inset: 0;
  z-index: 200;
  place-items: center;
  background-color: var(--r-terra);
  background-image:
    linear-gradient(rgb(96 22 4 / 24%) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgb(96 22 4 / 24%) 1.5px, transparent 1.5px);
  background-size: 56px 56px;
}

.r-boot-center {
  display: grid;
  justify-items: center;
  gap: 26px;
}

.r-boot-logo {
  padding: 20px 28px;
  rotate: -3deg;
}

.r-boot-logo img {
  width: 260px;
}

.r-boot-bar {
  display: block;
  width: 272px;
  height: 28px;
  padding: 4px;
  border: 3px solid var(--r-ink);
  border-radius: 6px;
  background: var(--r-carta);
  box-shadow: 4px 4px 0 var(--r-ink);
}

.r-boot-fill {
  display: block;
  height: 100%;
  background: repeating-linear-gradient(90deg, var(--r-terra) 0 18px, transparent 18px 22px);
  transform: scaleX(0);
  transform-origin: left;
}

.r-boot-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--r-crema);
  font-family: var(--font-px);
  font-size: 18px;
  font-weight: 400;
}

.r-hourglass {
  width: 32px;
  height: 32px;
  background: url('cursori/clessidra-0@2x.png') center / 32px 32px no-repeat;
  image-rendering: pixelated;
  animation: r-hg-frames 1.05s steps(1) infinite;
}

@keyframes r-hg-frames {
  0% { background-image: url('cursori/clessidra-0@2x.png'); }
  14.28% { background-image: url('cursori/clessidra-1@2x.png'); }
  28.57% { background-image: url('cursori/clessidra-2@2x.png'); }
  42.85% { background-image: url('cursori/clessidra-3@2x.png'); }
  57.14% { background-image: url('cursori/clessidra-4@2x.png'); }
  71.42% { background-image: url('cursori/clessidra-5@2x.png'); }
  85.71% { background-image: url('cursori/clessidra-6@2x.png'); }
}

.motion-ok.is-booting .r-logo {
  opacity: 0;
}

/* ---------- Header, barra del menu e menu Avvio ---------- */
.r-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: 20px;
}

.r-header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.r-logo {
  display: inline-flex;
  border-radius: 14px;
  text-decoration: none;
}

.r-head-cta {
  position: fixed;
  top: 20px;
  right: max(24px, calc((100vw - var(--wrap)) / 2));
  z-index: 60;
  min-height: 46px;
  padding: 0 20px;
  font-size: 0.98rem;
}

.r-bar {
  --focus: var(--r-ink);
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 3px solid var(--r-ink);
  border-radius: 16px;
  background: var(--r-crema);
  color: var(--r-ink);
  box-shadow: 5px 5px 0 var(--r-ink);
  translate: -50% 0;
}

/* Con JavaScript, in home la barra compare dopo l'hero; resta visibile se riceve il fuoco o se il menu è aperto.
   Nelle pagine interne (r.js) e senza JavaScript è sempre visibile. */
html.r-ready .r-bar {
  transition: transform 0.4s cubic-bezier(0.3, 1.3, 0.5, 1), opacity 0.25s ease;
}

html.r-ready:not(.r-docked) .r-bar:not(:focus-within) {
  transform: translateY(-160%);
  opacity: 0;
}

html:has(#r-start:popover-open) .r-bar {
  transform: none;
  opacity: 1;
}

.r-avvio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px 0 10px;
  border: 2px solid var(--r-ink);
  border-radius: 10px;
  background: var(--r-carta);
  color: var(--r-ink);
  box-shadow: inset -3px -3px 0 var(--r-crema-3);
  font-family: var(--font-px);
  font-size: 18px;
  font-weight: 600;
}

.r-avvio img {
  width: 20px;
  height: 20px;
}

.r-avvio:active,
html:has(#r-start:popover-open) .r-avvio {
  background: var(--r-crema-2);
  box-shadow: inset 3px 3px 0 rgb(30 34 40 / 22%);
}

.r-bar-links {
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.r-bar-links a {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 12px;
  border: 2px solid transparent;
  border-radius: 10px;
  color: var(--r-ink);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.r-bar-links a:hover {
  border-color: var(--r-ink);
  background: var(--r-carta);
}

.r-bar-links a[aria-current] {
  border-color: var(--r-ink);
  background: var(--r-crema-2);
  box-shadow: inset 3px 3px 0 rgb(30 34 40 / 18%);
}

.r-clock {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 10px;
  border: 2px solid var(--r-ink);
  border-radius: 10px;
  background: var(--r-crema-2);
  box-shadow: inset 2px 2px 0 rgb(30 34 40 / 18%);
  font-family: var(--font-px);
  font-size: 17px;
  font-weight: 400;
}

.r-bar-cta {
  display: none;
}

html:not(.r-ready) .r-clock {
  display: none;
}

.r-start {
  --focus: var(--r-ink);
  inset: auto;
  top: var(--pop-y, 86px);
  left: var(--pop-x, 16px);
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 3px solid var(--r-ink);
  border-radius: 14px;
  background: var(--r-carta);
  color: var(--r-ink);
  box-shadow: 6px 6px 0 var(--r-ink);
}

.r-start:popover-open {
  display: flex;
}

.r-start-lists ul {
  margin: 0;
  padding: 6px;
  list-style: none;
}

.r-start-lists ul + ul {
  border-top: 3px solid var(--r-crema-2);
}

.r-start a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  padding: 10px 16px 10px 10px;
  border-radius: 8px;
  color: var(--r-ink);
  font-weight: 650;
  text-decoration: none;
}

.r-start a:hover,
.r-start a:focus-visible {
  background: var(--r-terra);
  color: var(--r-crema);
}

.r-start .r-px {
  width: 24px;
  height: 24px;
}

/* ---------- Hero ---------- */
.r-hero {
  position: relative;
  padding-top: 118px;
  overflow-x: clip;
}

.r-hero-in {
  display: grid;
  justify-items: center;
  text-align: center;
}

.r-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  padding: 7px 14px;
  border-radius: 8px;
  background: var(--r-ink);
  color: var(--r-crema);
  box-shadow: 4px 4px 0 var(--r-terra-d);
  font-family: var(--font-px);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.02em;
  rotate: -1.5deg;
}

.r-chip-dot {
  width: 10px;
  height: 14px;
  background: var(--r-coral);
}

.motion-ok .r-chip-dot {
  animation: r-caret 1.1s steps(1) infinite;
}

@keyframes r-caret {
  50% {
    opacity: 0;
  }
}

.r-hero h1 {
  max-width: 17ch;
  margin: 0;
  font-size: clamp(2.35rem, 5.4vw, 4.6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.r-hero h1 .accent {
  display: inline-block;
  margin-top: 0.12em;
  padding: 0.02em 0.22em 0.1em;
  border-radius: 0.14em;
  background: var(--r-ink);
  color: var(--r-crema);
  box-shadow: 0.07em 0.07em 0 var(--r-terra-d);
  rotate: -2.5deg;
}

.r-lead {
  max-width: 40rem;
  margin: 26px auto 30px;
  font-size: 1.16rem;
  line-height: 1.55;
}

.r-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.r-demo-wrap {
  margin-top: 44px;
}

.r-demo {
  position: relative;
}

.r-fan {
  display: grid;
  justify-items: center;
  align-items: start;
  padding-top: 10px;
}

.b-case {
  --x: 0%;
  --y: 0px;
  --r: 0deg;
  --s: 1;
  grid-area: 1 / 1;
  position: relative;
  z-index: 1;
  width: min(370px, 100%);
  transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(var(--s));
  transform-origin: 50% 85%;
}

.b-case.is-active {
  z-index: 3;
}

.r-fan:has(#caso-0.is-active) #caso-1,
.r-fan:has(#caso-1.is-active) #caso-2,
.r-fan:has(#caso-2.is-active) #caso-0 {
  --x: 74%;
  --y: 38px;
  --r: 8deg;
  --s: 0.9;
  z-index: 2;
}

.r-fan:has(#caso-0.is-active) #caso-2,
.r-fan:has(#caso-1.is-active) #caso-0,
.r-fan:has(#caso-2.is-active) #caso-1 {
  --x: -74%;
  --y: 38px;
  --r: -8deg;
  --s: 0.9;
  z-index: 2;
}

.motion-ok .b-case {
  transition: transform 0.65s cubic-bezier(0.3, 1.25, 0.45, 1);
}

/* Le carte entrano dal basso a ventaglio, dopo l'apertura */
.motion-ok .r-demo .b-case {
  translate: 0 0;
}

.motion-ok .r-demo:not(.is-in) .b-case,
.motion-ok.is-booting .r-demo .b-case {
  translate: 0 120%;
}

.motion-ok .r-demo.is-in .b-case {
  transition:
    transform 0.65s cubic-bezier(0.3, 1.25, 0.45, 1),
    translate 0.9s cubic-bezier(0.25, 1.15, 0.4, 1) var(--card-d, 0ms);
}

.motion-ok .r-demo #caso-1 {
  --card-d: 90ms;
}

.motion-ok .r-demo #caso-2 {
  --card-d: 180ms;
}

.r-card {
  --focus: var(--r-ink);
  overflow: clip;
  border: 3px solid var(--r-ink);
  border-radius: 14px;
  background: var(--r-carta);
  color: var(--r-ink);
  box-shadow: 7px 7px 0 var(--r-ink);
  text-align: left;
}

.b-case:not(.is-active) .r-win-bar {
  background: var(--r-ardesia-d);
}

.r-card-body {
  display: grid;
  gap: 16px;
  padding: 16px 16px 20px;
}

.r-card .review {
  padding: 14px 16px;
  border: 2.5px solid var(--r-ink);
  border-radius: 10px;
  background: #fff;
}

.stars {
  gap: 3px;
  margin: 10px 0 8px;
  color: #e6dcc8;
}

.stars svg {
  width: 18px;
  height: 18px;
}

.stars svg path {
  stroke: var(--r-ink);
  stroke-width: 1.6px;
  stroke-linejoin: round;
}

.stars .on {
  color: var(--r-coral);
}

.b-verdict {
  --v: var(--r-coral);
  display: grid;
  gap: 4px;
  padding: 10px 14px 12px;
  border: 3px solid var(--r-ink);
  border-radius: 10px;
  background: var(--r-crema);
  box-shadow: 4px 4px 0 var(--r-ink);
  transform: rotate(-1.5deg);
}

.b-verdict strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-px);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.b-verdict strong::before {
  content: '';
  width: 14px;
  height: 14px;
  flex: none;
  border: 2px solid var(--r-ink);
  background: var(--v);
}

.b-verdict span {
  font-size: 0.95rem;
  line-height: 1.45;
}

.b-v-2 {
  --v: var(--r-senape);
}

.b-v-3 {
  --v: var(--r-ardesia);
}

.r-fan-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.r-tabs {
  --focus: var(--r-ink);
  display: flex;
  gap: 6px;
  padding: 6px;
  border: 3px solid var(--r-ink);
  border-radius: 14px;
  background: var(--r-crema);
  box-shadow: 4px 4px 0 var(--r-ink);
}

.r-tabs [role='tab'] {
  position: relative;
  padding: 10px 14px 13px;
  border: 2px solid var(--r-ink);
  border-radius: 9px;
  background: var(--r-carta);
  color: var(--r-ink);
  box-shadow: inset -3px -3px 0 var(--r-crema-3);
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.1;
}

.r-tabs [aria-selected='true'] {
  background: var(--r-crema-2);
  box-shadow: inset 3px 3px 0 rgb(30 34 40 / 20%);
}

.r-arrow {
  --focus: var(--r-crema);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 3px solid var(--r-ink);
  border-radius: 50%;
  background: var(--r-carta);
  color: var(--r-ink);
  box-shadow: 3px 3px 0 var(--r-ink);
}

.r-arrow:active {
  translate: 2px 2px;
  box-shadow: 1px 1px 0 var(--r-ink);
}

.r-arrow .r-px {
  width: 24px;
  height: 24px;
}

.r-mascot-hero {
  position: absolute;
  left: 0;
  bottom: -6px;
  z-index: 4;
  width: 158px;
  rotate: -7deg;
}

.r-hero:has(#caso-0.is-active) .r-mascot-hero {
  --m-neutra: 0;
  --m-allerta: 1;
}

.r-hero:has(#caso-1.is-active) .r-mascot-hero {
  --m-neutra: 0;
  --m-pensa: 1;
}

.r-hero:has(#caso-2.is-active) .r-mascot-hero {
  --m-neutra: 0;
  --m-sorriso: 1;
}

.r-principles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 18px;
  margin: 0 auto;
  padding: 54px 0 46px;
  list-style: none;
}

.r-principles li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 12px;
  border: 2.5px solid var(--r-ink);
  border-radius: 999px;
  background: var(--r-carta);
  color: var(--r-ink);
  box-shadow: 3px 3px 0 var(--r-ink);
  font-size: 0.95rem;
  font-weight: 700;
  rotate: var(--rot, -1.5deg);
}

.r-principles li:nth-child(2n) {
  --rot: 1.5deg;
}

.r-principles .r-px {
  color: var(--r-terra);
}

/* ---------- Sezioni ---------- */
.r-sec {
  position: relative;
  padding: 110px 0;
}

.r-sec h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.r-head {
  margin-bottom: 48px;
}

.r-head > p:last-child {
  margin: 0;
  font-size: 1.1rem;
}

.r-head-center {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

/* Insegna appesa (Lockerland) */
.r-sign {
  position: relative;
  display: inline-block;
  margin-top: 30px;
  padding: 18px 30px 20px;
  border: 3px solid var(--r-ink);
  border-radius: 14px;
  background: var(--r-carta);
  box-shadow: 6px 6px 0 var(--r-ink);
  rotate: -1deg;
}

.r-sign::before,
.r-sign::after {
  content: '';
  position: absolute;
  bottom: 100%;
  width: 4px;
  height: 140px;
  background: var(--r-ink);
}

.r-sign::before {
  left: 18%;
}

.r-sign::after {
  right: 18%;
}

.r-sign h2 {
  margin: 0;
}

/* Servizi */
.r-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.r-cell-audit {
  grid-column: span 2;
  grid-row: span 2;
}

.r-cell-full {
  grid-column: 1 / -1;
}

.r-tile {
  height: 100%;
  color: var(--r-ink);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.2s ease;
}

.r-tile:hover {
  box-shadow: 9px 9px 0 var(--r-ink);
}

.motion-ok .r-tile.is-pointer {
  transform: perspective(900px) rotateX(calc(var(--ny) * -7deg)) rotateY(calc(var(--nx) * 9deg)) translateY(-3px);
  transition: transform 0.08s linear, box-shadow 0.2s ease;
}

.r-tile-body {
  padding: 20px 22px 24px;
}

.r-tile-ill {
  width: 88px;
  height: 88px;
  margin: 0 0 12px -4px;
  rotate: -4deg;
}

.r-tile h3 {
  margin: 0 0 6px;
  font-size: 1.28rem;
}

.r-tile p {
  margin: 0;
  color: var(--r-ink-soft);
}

.r-tile-audit {
  display: flex;
  flex-direction: column;
}

.r-tile-audit .r-tile-body {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 28px;
  padding: 28px 28px 30px;
}

.r-tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--r-ink);
  color: var(--r-crema);
  font-family: var(--font-px);
  font-size: 15px;
  font-weight: 400;
}

.r-tile-audit h3 {
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
}

.r-more {
  display: inline-flex;
  gap: 6px;
  margin-top: 18px;
  color: var(--r-terra);
  font-weight: 750;
}

/* Deframmentazione: i quadratini-recensione si ordinano in tre gruppi */
.r-defrag {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 3px solid var(--r-ink);
  border-radius: 10px;
  background: var(--r-screen);
  color: var(--r-crema);
  box-shadow: inset 0 0 0 3px #2f414c;
}

.r-defrag-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 5px;
}

.r-defrag-grid i,
.r-defrag-legend i {
  display: block;
  aspect-ratio: 1;
  border: 2px solid #11181d;
  background: var(--c);
}

.r-defrag .g1 {
  --c: var(--r-coral);
}

.r-defrag .g2 {
  --c: var(--r-senape);
}

.r-defrag .g3 {
  --c: #9db4c2;
}

.r-defrag-grid i.is-hit {
  animation: r-hit 0.3s steps(3) both;
}

@keyframes r-hit {
  0% {
    background: var(--r-crema);
  }
}

.r-defrag-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-family: var(--font-px);
  font-size: 14px;
  font-weight: 400;
}

.r-defrag-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.r-defrag-legend i {
  width: 13px;
}

.r-defrag-status {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-px);
  font-size: 14px;
  font-weight: 400;
  color: var(--r-senape);
}

.r-defrag-bar {
  flex: 1;
  height: 16px;
  padding: 2px;
  border: 2px solid var(--r-crema);
  border-radius: 3px;
}

.r-defrag-bar span {
  display: block;
  height: 100%;
  background: repeating-linear-gradient(90deg, var(--r-senape) 0 9px, transparent 9px 12px);
  transform-origin: left;
}

.r-defrag.is-sorting .r-defrag-done {
  opacity: 0;
}

.r-defrag.is-sorting .r-defrag-bar span {
  transform: scaleX(0);
}

/* Il servizio: un blocco solo, due liste (si segnalano / non si segnalano) e i settori */
.r-bento-2 {
  grid-template-columns: repeat(2, 1fr);
}

.r-box {
  height: 100%;
}

.r-box h3 {
  margin: 0 0 6px;
}

.r-box .r-tile-body > h3 {
  font-size: 1.28rem;
}

.r-box p {
  margin: 0;
  color: var(--r-ink-soft);
}

.r-box .r-not {
  margin-top: 12px;
}

.r-box .r-box-note {
  margin-top: 16px;
}

.r-servizio .r-tile-body {
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  justify-content: space-between;
}

.r-servizio .r-defrag {
  width: 100%;
  justify-self: end;
}

.r-servizio .r-price {
  margin: 18px 0 22px;
  color: var(--r-ink);
  font-size: 1.1rem;
  font-weight: 700;
}

.r-price strong {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 10px;
  border: 2.5px solid var(--r-ink);
  border-radius: 8px;
  background: var(--r-senape);
  box-shadow: 3px 3px 0 var(--r-ink);
  font-family: var(--font-head);
  font-size: 1.45rem;
}

.r-sectors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.r-sectors li {
  padding: 5px 12px;
  border: 2px solid var(--r-ink);
  border-radius: 999px;
  background: var(--r-crema);
  box-shadow: 2px 2px 0 var(--r-ink);
  font-size: 0.9rem;
  font-weight: 700;
  rotate: var(--rot, -1deg);
}

.r-sectors li:nth-child(2n) {
  --rot: 1deg;
}

/* Per chi lavoriamo: frase con le etichette a sinistra, tre negozietti a destra */
.r-street-body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  padding: 24px 28px 28px;
}

.r-street h3 {
  margin: 0;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
}

.r-shops {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.r-shops li {
  display: grid;
  justify-items: center;
  gap: 10px;
  font-weight: 700;
  text-align: center;
}

.r-shops img {
  width: 100%;
  max-width: 190px;
  height: auto;
  transition: rotate 0.3s cubic-bezier(0.3, 1.5, 0.5, 1);
}

.motion-ok .r-shops li:hover img {
  rotate: -3deg;
}

/* ---------- Metodo: la scena della B2 ---------- */
.r-sec.r-story {
  padding: 0;
}

.r-story-sticky {
  padding: 100px 0 110px;
}

.r-story-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 56px;
}

.r-story-sub {
  margin: 0;
  font-size: 1.08rem;
}

.r-steps {
  display: grid;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.r-step {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: start;
  gap: 14px;
  padding: 11px 14px;
  border: 3px solid transparent;
  border-radius: 14px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.r-step h3 {
  margin: 2px 0 2px;
  font-size: 1.15rem;
}

.r-step p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.5;
}

.r-key {
  display: grid;
  place-items: center;
  width: 44px;
  height: 42px;
  border: 3px solid var(--r-ink);
  border-radius: 9px;
  background: var(--r-carta);
  color: var(--r-ink);
  box-shadow: 0 5px 0 var(--r-ink);
  font-family: var(--font-px);
  font-size: 22px;
  font-weight: 600;
  transition: translate 0.15s ease, box-shadow 0.15s ease, background-color 0.2s ease;
}

.r-step.is-current {
  border-color: var(--r-ink);
  background: var(--r-carta);
  color: var(--r-ink);
  box-shadow: 6px 6px 0 var(--r-ink);
}

.r-step.is-current .r-key {
  translate: 0 4px;
  background: var(--r-senape);
  box-shadow: 0 1px 0 var(--r-ink);
}

.r-step.is-done .r-key {
  background: var(--r-crema-2);
}

.r-scene {
  min-width: 0;
}

.r-scene-body {
  position: relative;
  height: 430px;
  overflow: clip;
  border-radius: 0 0 9px 9px;
  background-color: var(--r-carta);
  background-image: radial-gradient(rgb(30 34 40 / 12%) 1.4px, transparent 1.6px);
  background-size: 18px 18px;
  container-type: size;
}

.r-sc {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 26px 26px 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}

.r-story[data-step='0'] .r-sc-1,
.r-story[data-step='1'] .r-sc-2,
.r-story[data-step='2'] .r-sc-3,
.r-story[data-step='3'] .r-sc-4,
.r-story[data-step='4'] .r-sc-5,
html:not(.motion-ok) .r-sc-5,
.motion-ok .r-story:not([data-step]) .r-sc-1 {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.r-mascot-story {
  position: absolute;
  right: 16px;
  bottom: 12px;
  z-index: 3;
  width: 104px;
  transform-origin: 50% 100%;
  transition: transform 0.6s cubic-bezier(0.3, 1.25, 0.5, 1);
}

.r-story[data-step='0'] .r-mascot-story {
  --m-neutra: 0;
  --m-pensa: 1;
}

.r-story[data-step='2'] .r-mascot-story {
  --m-neutra: 0;
  --m-sorriso: 1;
}

.r-story[data-step='4'] .r-mascot-story,
html:not(.motion-ok) .r-mascot-story {
  --m-neutra: 0;
  --m-clessidra: 1;
  transform: translateX(calc(-50cqw + 16px + 52px)) translateY(-14px) scale(1.55);
}

/* Scena 1: la lente passa sulle recensioni e mette le etichette */
.r-rows {
  display: grid;
  gap: 10px;
  width: min(390px, 100%);
  margin: 0;
  padding: 0;
  list-style: none;
}

.r-rows li {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border: 2px solid var(--r-ink);
  border-radius: 9px;
  background: #fff;
  box-shadow: 3px 3px 0 var(--r-ink);
}

.r-av {
  width: 26px;
  height: 26px;
  border: 2px solid var(--r-ink);
  border-radius: 50%;
  background: var(--r-ardesia);
}

.r-rows li:nth-child(2n) .r-av {
  background: var(--r-senape);
}

.r-lines {
  display: grid;
  gap: 6px;
}

.r-lines i {
  height: 7px;
  border-radius: 4px;
  background: #e6dcc8;
}

.r-lines i + i {
  width: 62%;
}

.r-flag {
  --c: var(--r-coral);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border: 2px solid var(--r-ink);
  border-radius: 6px;
  background: var(--r-carta);
  font-family: var(--font-px);
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  white-space: nowrap;
}

.r-flag::before {
  content: '';
  width: 10px;
  height: 10px;
  border: 2px solid var(--r-ink);
  background: var(--c);
}

.r-flag.f2 {
  --c: var(--r-senape);
}

.r-flag.f3 {
  --c: var(--r-ardesia);
}

.r-lens {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  opacity: 0;
  pointer-events: none;
}

.r-rows li:nth-child(1) { --k: 0; }
.r-rows li:nth-child(2) { --k: 1; }
.r-rows li:nth-child(3) { --k: 2; }
.r-rows li:nth-child(4) { --k: 3; }
.r-rows li:nth-child(5) { --k: 4; }

.motion-ok .r-story[data-step='0'] .r-flag {
  animation: r-pop 0.4s cubic-bezier(0.3, 1.6, 0.5, 1) both;
  animation-delay: calc(var(--k) * 340ms + 420ms);
}

.motion-ok .r-story[data-step='0'] .r-lens {
  opacity: 1;
  animation: r-scan 1.9s cubic-bezier(0.45, 0, 0.55, 1) 0.2s both;
}

@keyframes r-pop {
  from {
    opacity: 0;
    scale: 0.4;
  }
}

@keyframes r-scan {
  0% {
    translate: 150px -150px;
    opacity: 0;
  }

  8% {
    opacity: 1;
  }

  86% {
    translate: 150px 120px;
    opacity: 1;
  }

  100% {
    translate: 150px 120px;
    opacity: 0;
  }
}

/* Scena 2: la bozza si scrive */
.r-note {
  width: min(410px, 100%);
  overflow: clip;
  border: 3px solid var(--r-ink);
  border-radius: 10px;
  background: #fff;
  box-shadow: 5px 5px 0 var(--r-ink);
}

.r-note-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 10px;
  border-bottom: 3px solid var(--r-ink);
  background: var(--r-ardesia-d);
  color: var(--r-crema);
  font-family: var(--font-px);
  font-size: 15px;
  font-weight: 400;
}

.r-note-paper {
  padding: 14px 18px 18px;
  background: repeating-linear-gradient(#fff 0 31px, #eee3d0 31px 32px);
  font-family: var(--font-px);
  font-size: 16px;
  font-weight: 400;
  line-height: 32px;
}

.r-type {
  margin: 0;
}

.r-type span {
  display: inline;
}

.r-type:last-child span::after {
  content: '';
  display: inline-block;
  width: 9px;
  height: 18px;
  margin-left: 4px;
  vertical-align: -3px;
  background: var(--r-ink);
}

.motion-ok .r-type:last-child span::after {
  animation: r-caret 1s steps(1) infinite;
}

.r-type:nth-child(1) { --k: 0; }
.r-type:nth-child(2) { --k: 1; }
.r-type:nth-child(3) { --k: 2; }
.r-type:nth-child(4) { --k: 3; }

.motion-ok .r-story[data-step='1'] .r-type span {
  display: inline-block;
  animation: r-typing 0.75s steps(22, end) both;
  animation-delay: calc(var(--k) * 0.8s + 0.25s);
}

@keyframes r-typing {
  from {
    clip-path: inset(0 100% 0 0);
  }

  to {
    clip-path: inset(0 0 0 0);
  }
}

/* Scena 3: approvi tu */
.r-dialog {
  width: min(340px, 100%);
  overflow: clip;
  border: 3px solid var(--r-ink);
  border-radius: 10px;
  background: var(--r-carta);
  box-shadow: 6px 6px 0 var(--r-ink);
}

.r-dialog-bar {
  display: flex;
  align-items: center;
  height: 32px;
  padding: 0 10px;
  border-bottom: 3px solid var(--r-ink);
  background: var(--r-terra);
  color: var(--r-crema);
  font-family: var(--font-px);
  font-size: 15px;
  font-weight: 400;
}

.r-dialog-body {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 18px 8px;
}

.r-dialog-body p {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 750;
}

.r-dialog-btns {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 12px 18px 18px;
}

.r-fbtn {
  min-width: 78px;
  padding: 6px 12px;
  border: 2px solid var(--r-ink);
  border-radius: 8px;
  background: var(--r-carta);
  box-shadow: inset -3px -3px 0 var(--r-crema-3), 2px 2px 0 var(--r-ink);
  font-weight: 750;
  text-align: center;
}

html:not(.motion-ok) .r-fbtn-si,
.motion-ok .r-story[data-step='2'] .r-fbtn-si {
  background: var(--r-crema-2);
  box-shadow: inset 3px 3px 0 rgb(30 34 40 / 22%);
}

.motion-ok .r-story[data-step='2'] .r-fbtn-si {
  animation: r-press 1.6s steps(1) both;
}

@keyframes r-press {
  0%,
  62% {
    background: var(--r-carta);
    box-shadow: inset -3px -3px 0 var(--r-crema-3), 2px 2px 0 var(--r-ink);
  }
}

.r-fake-cursor {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
  translate: 32px 48px;
  pointer-events: none;
}

.motion-ok .r-story[data-step='2'] .r-fake-cursor {
  animation: r-point 1.6s cubic-bezier(0.5, 0, 0.3, 1) both;
}

@keyframes r-point {
  0% {
    translate: 170px 150px;
  }

  55% {
    translate: 32px 48px;
    scale: 1;
  }

  62% {
    scale: 0.85;
  }

  70%,
  100% {
    translate: 32px 48px;
    scale: 1;
  }
}

.r-ok-stamp {
  position: absolute;
  top: 18%;
  right: 10%;
  padding: 5px 12px;
  border: 3px solid var(--r-terra);
  border-radius: 8px;
  background: var(--r-carta);
  color: var(--r-terra);
  font-family: var(--font-px);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  rotate: -8deg;
}

.motion-ok .r-story[data-step='2'] .r-ok-stamp {
  animation: r-stamp-in 0.45s cubic-bezier(0.3, 1.5, 0.5, 1) 1.15s both;
}

@keyframes r-stamp-in {
  from {
    opacity: 0;
    scale: 1.8;
  }
}

/* Scena 4: invio dai canali ufficiali */
.r-sc-4 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.r-send {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: min(420px, 100%);
}

.r-send-end {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: 124px;
  font-family: var(--font-px);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
}

.r-papers {
  position: absolute;
  top: 6px;
  left: 112px;
  right: 112px;
  height: 64px;
}

.r-papers i {
  position: absolute;
  top: 18px;
  left: 0;
  width: 22px;
  height: 28px;
  border: 2px solid var(--r-ink);
  border-radius: 3px;
  background: #fff;
  opacity: 0;
}

.r-papers i:nth-child(2) {
  --k: 1;
}

.r-papers i:nth-child(3) {
  --k: 2;
}

.motion-ok .r-story[data-step='3'] .r-papers i {
  animation: r-fly 1.3s cubic-bezier(0.4, 0, 0.4, 1) infinite;
  animation-delay: calc(var(--k, 0) * 0.43s);
}

@keyframes r-fly {
  0% {
    opacity: 0;
    transform: translate(0, 0) rotate(0deg);
  }

  12%,
  88% {
    opacity: 1;
  }

  50% {
    transform: translate(85px, -38px) rotate(170deg);
  }

  100% {
    opacity: 0;
    transform: translate(170px, 0) rotate(350deg);
  }
}

.r-progress {
  display: block;
  width: min(360px, 100%);
  height: 28px;
  margin-top: 30px;
  padding: 3px;
  border: 3px solid var(--r-ink);
  border-radius: 6px;
  background: #fff;
}

.r-progress span {
  display: block;
  height: 100%;
  background: repeating-linear-gradient(90deg, var(--r-ardesia) 0 15px, transparent 15px 19px);
  transform-origin: left;
}

.motion-ok .r-story[data-step='3'] .r-progress span {
  animation: r-fill 2.4s steps(18, end) 0.2s both;
}

@keyframes r-fill {
  from {
    transform: scaleX(0);
  }
}

.r-send-label {
  margin-top: 12px;
  font-family: var(--font-px);
  font-size: 16px;
  font-weight: 400;
}

/* Scena 5: decide Google */
.r-sc-5 {
  align-content: start;
  padding-top: 34px;
}

.r-msg {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(390px, 100%);
  padding: 16px 18px;
  border: 3px solid var(--r-ink);
  border-radius: 10px;
  background: var(--r-carta);
  box-shadow: 5px 5px 0 var(--r-ink);
}

.r-msg p {
  margin: 0;
  line-height: 1.45;
}

.r-msg strong {
  display: block;
  font-size: 1.2rem;
}

.r-toast {
  position: absolute;
  right: 16px;
  bottom: 18px;
  padding: 8px 12px;
  border: 2.5px solid var(--r-ink);
  border-radius: 10px;
  background: var(--r-senape);
  color: var(--r-ink);
  box-shadow: 3px 3px 0 var(--r-ink);
  font-family: var(--font-px);
  font-size: 15px;
  font-weight: 400;
}

.motion-ok .r-story[data-step='4'] .r-toast {
  animation: r-toast-in 0.5s cubic-bezier(0.3, 1.3, 0.5, 1) 1.2s both;
}

@keyframes r-toast-in {
  from {
    opacity: 0;
    translate: 40px 0;
  }
}

/* ---------- Come si paga (modulo continuo) e Nessuna garanzia (dialogo) ---------- */
.r-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 44px;
}

.r-printer {
  position: relative;
}

.r-printer-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 66px;
  padding: 0 20px;
  border: 3px solid var(--r-ink);
  border-radius: 16px;
  background: var(--r-crema-2);
  box-shadow: 6px 6px 0 var(--r-ink);
  font-family: var(--font-px);
  font-size: 16px;
  font-weight: 400;
}

.r-printer-led {
  width: 12px;
  height: 12px;
  border: 2px solid var(--r-ink);
  border-radius: 50%;
  background: var(--r-coral);
}

.motion-ok .r-printer-led {
  animation: r-led 0.9s steps(1) infinite;
}

.r-printer-slot {
  flex: 1;
  height: 10px;
  margin-left: 14px;
  border-radius: 5px;
  background: var(--r-ink);
}

.r-paper-clip {
  margin: -12px 26px 0;
  padding: 0 8px 10px 0;
  overflow: clip;
}

.r-paper {
  position: relative;
  padding: 34px 44px 26px;
  border: 3px solid var(--r-ink);
  border-top: 0;
  background: repeating-linear-gradient(#fffdf7 0 46px, #fbeadc 46px 92px);
  box-shadow: 6px 6px 0 var(--r-ink);
}

.r-paper::before,
.r-paper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 26px;
  border-style: dashed;
  border-color: #c7b79a;
  background: radial-gradient(circle at 50% 12px, var(--r-crema) 0 5px, var(--r-ink) 5px 6.5px, transparent 7px) 0 0 / 26px 24px repeat-y;
}

.r-paper::before {
  left: 0;
  border-width: 0 2px 0 0;
}

.r-paper::after {
  right: 0;
  border-width: 0 0 0 2px;
}

.r-paper h2 {
  margin: 0 0 10px;
}

.r-paper p {
  margin: 0;
}

/* Nota sotto stampante e garanzia: fasce, IVA, rimborso e partita IVA (condizioni, punti 1, 7 e 8). */
.r-duo-note {
  margin-top: 26px;
  color: var(--r-ink-soft);
  font-size: 0.8rem;
  line-height: 1.5;
  text-align: center;
}

.r-pay {
  display: grid;
  gap: 10px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-px);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.r-pay li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.r-pay-n {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 2px solid var(--r-ink);
  border-radius: 6px;
  background: var(--r-senape);
}

.r-pay-dots {
  flex: 1;
  align-self: end;
  margin-bottom: 8px;
  border-bottom: 3px dotted var(--r-ink);
}

/* Il prezzo deve saltare all'occhio: cifre grandi in Outfit, terracotta (Edoardo, 23/10/2026) */
.r-pay-price {
  color: var(--r-terra);
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: none;
  white-space: nowrap;
}

.r-total {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-top: 14px;
  border-top: 2px dashed var(--r-ink);
  font-family: var(--font-px);
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
}

.r-total-dots {
  flex: 1;
  border-bottom: 3px dotted var(--r-ink);
}

.motion-ok .r-printer .r-paper {
  translate: 0 -101%;
}

.motion-ok .r-printer.is-in .r-paper {
  animation: r-print 1.7s steps(16, end) 0.35s both;
}

@keyframes r-print {
  from {
    translate: 0 -101%;
  }

  to {
    translate: none;
  }
}

.r-alert {
  margin-top: 30px;
}

.r-alert-body {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 26px 26px 6px;
}

.r-alert-icon {
  width: 56px;
  height: 56px;
}

.r-alert h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  letter-spacing: -0.02em;
}

.r-alert p {
  margin: 0;
}

.r-not {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.r-not li {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 10px;
}

.r-not .r-px {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--r-terra);
}

.r-alert-foot {
  display: flex;
  justify-content: flex-end;
  padding: 14px 26px 24px;
}

.r-dbtn {
  min-width: 130px;
  padding: 9px 16px;
  border: 2.5px solid var(--r-ink);
  border-radius: 8px;
  background: var(--r-carta);
  color: var(--r-ink);
  box-shadow: inset -3px -3px 0 var(--r-crema-3), 3px 3px 0 var(--r-ink);
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}

.r-dbtn:active {
  translate: 2px 2px;
  box-shadow: inset 3px 3px 0 rgb(30 34 40 / 20%), 1px 1px 0 var(--r-ink);
}

.r-seal {
  position: absolute;
  top: -34px;
  right: -30px;
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  rotate: 12deg;
}

.r-seal::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid var(--r-ink);
  border-radius: 50%;
  background: var(--r-terra);
  box-shadow: 4px 4px 0 var(--r-ink);
}

.r-seal-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.r-seal-ring text {
  fill: var(--r-crema);
  font-family: var(--font-px);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.12em;
}

.r-seal-core {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 2px dashed var(--r-crema);
  border-radius: 50%;
  color: var(--r-crema);
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 800;
}

.motion-ok .r-alert.is-in .r-seal {
  animation: r-seal-in 0.55s cubic-bezier(0.3, 1.4, 0.5, 1) 0.55s both;
}

@keyframes r-seal-in {
  from {
    opacity: 0;
    scale: 1.7;
    rotate: 40deg;
  }
}

/* ---------- Domande (Guida in linea) ---------- */
.r-sec.r-faq-sec {
  padding-top: 40px;
}

.r-faq-wrap {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: start;
  gap: 52px;
}

.r-help-body {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 0 0 9px 9px;
  background: var(--r-crema-2);
}

details.b-q {
  border: 2.5px solid var(--r-ink);
  border-radius: 14px;
  background: #fff;
  box-shadow: 4px 4px 0 var(--r-ink);
}

details.b-q summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 16px 15px 18px;
  border-radius: 12px;
  font-family: var(--font-head);
  font-size: 1.06rem;
  font-weight: 700;
  list-style: none;
}

details.b-q summary::-webkit-details-marker {
  display: none;
}

details.b-q summary::after {
  content: '+';
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border: 2px solid var(--r-ink);
  border-radius: 6px;
  background: var(--r-senape);
  font-family: var(--font-px);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}

.b-q[open]:not(.is-closing) summary::after {
  content: '-';
  background: var(--r-crema-2);
}

.b-a {
  overflow: clip;
}

.b-a p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--r-ink-soft);
}

/* ---------- Invito finale ---------- */
.r-cta-sec {
  position: relative;
  padding: 0 0 120px;
}

.r-tenda {
  position: relative;
  z-index: 1;
  height: 54px;
  border-top: 6px solid var(--r-ink);
  background: repeating-linear-gradient(90deg, var(--r-terra) 0 56px, var(--r-crema) 56px 112px);
}

.r-tenda::after {
  content: '';
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  right: 0;
  height: 30px;
  background:
    radial-gradient(circle at 28px 0, var(--r-terra) 0 25px, var(--r-ink) 25px 28px, transparent 28px) 0 0 / 112px 30px repeat-x,
    radial-gradient(circle at 84px 0, var(--r-crema) 0 25px, var(--r-ink) 25px 28px, transparent 28px) 0 0 / 112px 30px repeat-x;
}

.r-cta {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 56px;
  max-width: 940px;
  padding-top: 120px;
}

.r-cta-mascot {
  position: relative;
}

.r-mascot-cta {
  --m-neutra: 0;
  --m-sorriso: 1;
  width: 220px;
  rotate: -4deg;
}

.r-bubble {
  position: absolute;
  top: -30px;
  left: 58%;
  padding: 8px 14px;
  border: 3px solid var(--r-ink);
  border-radius: 14px;
  background: var(--r-carta);
  color: var(--r-ink);
  box-shadow: 4px 4px 0 var(--r-ink);
  font-family: var(--font-px);
  font-size: 18px;
  font-weight: 400;
  white-space: nowrap;
  rotate: 4deg;
}

.r-bubble::after {
  content: '';
  position: absolute;
  left: 18px;
  bottom: -11px;
  width: 16px;
  height: 16px;
  border-right: 3px solid var(--r-ink);
  border-bottom: 3px solid var(--r-ink);
  background: var(--r-carta);
  rotate: 45deg;
}

.r-cta h2 {
  margin: 0 0 14px;
  font-size: clamp(2.3rem, 4.6vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.r-cta-text > p {
  max-width: 34rem;
  font-size: 1.12rem;
}

.r-cta-note {
  margin: 18px 0 0;
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */
.r-footer {
  --focus: var(--r-crema);
  background: var(--r-ink);
  color: var(--r-crema);
}

.r-footer-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 60px 0 28px;
}

.r-logo-sticker-big img {
  width: 230px;
}

.r-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.r-footer nav a {
  color: var(--r-crema);
  font-weight: 650;
  text-decoration: none;
}

.r-footer nav a:hover {
  text-decoration: underline;
}

.r-legal {
  margin-top: 0;
  padding-bottom: 44px;
  color: #ddd2bf;
  font-size: 0.88rem;
}

/* ---------- Metodo che si ferma: solo con movimento e schermo alto almeno 600 px ---------- */
@media (min-height: 600px) {
  .motion-ok .r-story {
    height: 540vh;
  }

  .motion-ok .r-story-sticky {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    height: 100vh;
    height: 100svh;
    padding: 76px 0 24px;
    overflow: clip;
  }
}

/* Metodo su schermi bassi da computer: tutto deve stare nella finestra ferma */
@media (min-width: 761px) and (min-height: 600px) and (max-height: 820px) {
  .motion-ok .r-story .r-label {
    display: none;
  }

  .motion-ok .r-story h2 {
    font-size: 2.1rem;
  }

  .motion-ok .r-steps {
    gap: 4px;
    margin-top: 16px;
  }

  .motion-ok .r-step {
    padding: 8px 12px;
  }

  .motion-ok .r-step p {
    font-size: 0.92rem;
  }

  .motion-ok .r-scene-body {
    height: min(430px, 58vh);
  }
}

/* ---------- Schermi medi ---------- */
@media (max-width: 1240px) {
  /* Con poco margine ai lati il sigillo rientra: altrimenti esce dalla pagina e resta tagliato */
  .r-seal {
    right: -8px;
  }
}

@media (max-width: 1180px) {
  /* Nelle pagine interne la barra sta in cima, sulla riga del logo: si centra nello spazio
     fra il logo (188 px) e «Chiedi un audit» (152 px), che hanno lo stesso margine dal bordo. */
  .r-bar {
    left: calc(50% + 18px);
  }

  .r-bar-links a {
    padding: 0 9px;
  }

  .r-clock {
    display: none;
  }
}

@media (max-width: 1000px) {
  .r-bar-links a {
    padding: 0 6px;
  }
}

@media (max-width: 980px) {
  .r-mascot-hero {
    width: 120px;
    bottom: 64px;
  }

  .r-bento {
    grid-template-columns: 1fr 1fr;
  }

  .r-cell-audit {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .r-street-body {
    grid-template-columns: 1fr;
  }

  .r-story-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .r-duo,
  .r-faq-wrap {
    grid-template-columns: 1fr;
  }

  .r-duo-note {
    text-align: left;
  }

  .r-alert {
    margin-top: 10px;
  }
}

/* ---------- Telefono ---------- */
/* Telefono e tablet: la barra sta in basso, con Avvio e WhatsApp. In alto non c'è spazio per logo, voci e pulsante. */
@media (max-width: 960px) {
  :root {
    scroll-padding-bottom: 96px;
  }

  .r-head-cta {
    display: none;
  }

  .r-bar {
    top: auto;
    bottom: 10px;
    left: 10px;
    right: 10px;
    justify-content: space-between;
    translate: none;
  }

  html.r-ready:not(.r-docked) .r-bar:not(:focus-within) {
    transform: none;
    opacity: 1;
  }

  .r-bar-links,
  .r-clock {
    display: none;
  }

  .r-bar-cta {
    display: inline-flex;
    flex: 1;
    min-height: 44px;
    padding: 0 12px;
    box-shadow: none;
    font-size: 0.92rem;
  }

  .r-bar-cta:hover,
  .r-bar-cta:active {
    translate: none;
    box-shadow: none;
  }

  .r-start {
    top: auto;
    bottom: var(--pop-b, 84px);
    left: 10px;
  }

  /* La barra in basso copre l'ultimo tratto del footer */
  .r-legal {
    padding-bottom: 110px;
  }
}

/* Tablet: la barra in basso non va da un bordo all'altro e il menu Avvio si apre sopra il suo pulsante */
@media (min-width: 761px) and (max-width: 960px) {
  .r-bar {
    max-width: 560px;
    margin-inline: auto;
  }

  .r-start {
    left: var(--pop-x, 10px);
  }
}

@media (max-width: 760px) {
  :root {
    scroll-padding-top: 16px;
  }

  .r-hero {
    padding-top: 100px;
  }

  .r-logo-sticker img {
    width: 128px;
  }

  .r-chip {
    font-size: 15px;
  }

  .r-lead {
    font-size: 1.05rem;
  }

  .r-actions .r-btn {
    width: 100%;
  }

  .r-actions {
    width: 100%;
    max-width: 360px;
  }

  .b-case {
    width: min(318px, 86vw);
  }

  .r-fan:has(#caso-0.is-active) #caso-1,
  .r-fan:has(#caso-1.is-active) #caso-2,
  .r-fan:has(#caso-2.is-active) #caso-0 {
    --x: 64%;
    --y: 26px;
    --r: 7deg;
    --s: 0.86;
  }

  .r-fan:has(#caso-0.is-active) #caso-2,
  .r-fan:has(#caso-1.is-active) #caso-0,
  .r-fan:has(#caso-2.is-active) #caso-1 {
    --x: -64%;
    --y: 26px;
    --r: -7deg;
    --s: 0.86;
  }

  .r-fan-controls {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    gap: 8px;
  }

  .r-arrow {
    width: 44px;
    height: 44px;
  }

  .r-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 4px;
  }

  .r-tabs [role='tab'] {
    padding: 9px 4px 12px;
    font-size: 0.8rem;
  }

  .r-demo-wrap {
    margin-top: 76px;
  }

  .r-mascot-hero {
    left: auto;
    right: 2px;
    bottom: auto;
    top: -84px;
    width: 90px;
    rotate: 6deg;
  }

  .r-principles {
    padding: 40px 0 36px;
  }

  .r-principles li {
    font-size: 0.88rem;
  }

  .r-sec {
    padding: 80px 0;
  }

  .r-sign {
    padding: 14px 18px 16px;
  }

  .r-bento {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .r-tile-audit .r-tile-body {
    grid-template-columns: 1fr;
    padding: 22px 20px 24px;
  }

  .r-shops {
    gap: 10px;
  }

  .r-shops li {
    font-size: 0.82rem;
  }

  .r-story-sticky {
    padding: 70px 0 80px;
  }

  .r-story-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .r-scene-body {
    height: 340px;
  }

  .r-sc {
    padding: 18px 16px 30px;
  }

  .r-mascot-story {
    width: 66px;
    right: 8px;
    bottom: 8px;
  }

  .r-story[data-step='4'] .r-mascot-story,
  html:not(.motion-ok) .r-mascot-story {
    transform: translateX(calc(-50cqw + 8px + 33px)) translateY(-4px) scale(1.55);
  }

  .r-toast {
    position: static;
    justify-self: center;
    margin-top: 14px;
  }

  .r-sc-5 {
    padding-top: 22px;
  }

  .r-note-paper {
    font-size: 14px;
    line-height: 28px;
    background: repeating-linear-gradient(#fff 0 27px, #eee3d0 27px 28px);
  }

  .r-rows li {
    padding: 7px 10px;
  }

  .r-send-end {
    width: 104px;
    font-size: 13px;
  }

  .r-papers {
    left: 92px;
    right: 92px;
  }

  .r-paper-clip {
    margin: -12px 12px 0;
  }

  .r-paper {
    padding: 28px 38px 22px;
  }

  .r-pay {
    font-size: 16px;
  }

  .r-pay-price {
    font-size: 1.5rem;
  }

  .r-total {
    font-size: 15px;
  }

  .r-alert-body {
    grid-template-columns: 1fr;
    padding: 22px 20px 6px;
  }

  .r-alert-icon {
    width: 44px;
    height: 44px;
  }

  .r-seal {
    width: 92px;
    height: 92px;
    top: -26px;
    right: -8px;
  }

  .r-seal-ring text {
    font-size: 10px;
  }

  .r-seal-core {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
  }

  .r-alert-foot {
    padding: 12px 20px 20px;
  }

  .r-cta {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 100px;
    text-align: center;
    justify-items: center;
  }

  .r-mascot-cta {
    width: 160px;
  }

  .r-cta-text .r-btn {
    width: 100%;
  }

  .r-footer-in {
    flex-direction: column;
    align-items: flex-start;
  }

  /* La barra in basso copre l'ultimo tratto: lo spazio lo dà il footer (.r-legal), non il fondo crema della pagina */
  body.r {
    padding-bottom: 0;
  }
}

/* Telefono con il metodo che si ferma: finestra sopra, solo il passo corrente sotto */
@media (max-width: 760px) and (min-height: 600px) {
  .motion-ok .r-story-sticky {
    align-items: flex-start;
    padding: 18px 0 96px;
  }

  .motion-ok .r-story-grid {
    gap: 12px;
  }

  /* Titolo, poi la scena, poi il passo corrente */
  .motion-ok .r-story-text {
    display: contents;
  }

  .motion-ok .r-story .r-label,
  .motion-ok .r-story-sub {
    display: none;
  }

  .motion-ok .r-story h2 {
    margin: 0;
    font-size: 1.6rem;
  }

  .motion-ok .r-scene {
    order: 1;
  }

  .motion-ok .r-steps {
    order: 2;
    grid-template-areas: 'step';
    margin-top: 6px;
  }

  .motion-ok .r-step {
    grid-area: step;
    opacity: 0;
    pointer-events: none;
  }

  .motion-ok .r-step.is-current {
    opacity: 1;
    pointer-events: auto;
  }

  .motion-ok .r-scene-body {
    height: min(340px, 42svh);
  }
}

@media (max-width: 400px) {
  .r-hero h1 {
    font-size: 2.15rem;
  }

  .r-chip {
    font-size: 14px;
  }

  .r-principles li {
    font-size: 0.84rem;
  }

  .r-tabs [role='tab'] {
    font-size: 0.74rem;
  }

  .r-bar-cta {
    font-size: 0.84rem;
  }
}
