:root {
  --ink: #17151f;
  --ink-soft: #353143;
  --muted: #6d687c;
  --muted-strong: #514c60;
  --line: rgba(48, 40, 78, 0.11);
  --line-strong: rgba(48, 40, 78, 0.18);
  --paper: #ffffff;
  --surface: #f7f7fb;
  --surface-blue: #f2f7ff;
  --blue: #27bfe6;
  --blue-dark: #1099c7;
  --violet: #6757e8;
  --violet-dark: #4f40cf;
  --pink: #dc4bc5;
  --success: #15966b;
  --scenario-accent: #6757e8;
  --scenario-accent-rgb: 103, 87, 232;
  --scenario-secondary: #dc4bc5;
  --gradient: linear-gradient(120deg, #27bfe6 0%, #6757e8 52%, #dc4bc5 100%);
  --gradient-soft: linear-gradient(135deg, rgba(39, 191, 230, 0.12), rgba(103, 87, 232, 0.1) 50%, rgba(220, 75, 197, 0.1));
  --shadow-sm: 0 12px 36px rgba(43, 35, 76, 0.08);
  --shadow-md: 0 28px 80px rgba(43, 35, 76, 0.14);
  --shadow-lg: 0 42px 110px rgba(43, 35, 76, 0.2);
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 34px;
  --header-height: 76px;
  --container: 1280px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --pointer-x: 0px;
  --pointer-y: 0px;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

html {
  background: var(--paper);
  color-scheme: light;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Avenir Next", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: 90;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.65);
  pointer-events: none;
  content: "";
}

button,
input,
a {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  color: inherit;
}

button {
  border: 0;
}

a {
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-fill {
  fill: currentColor;
  stroke: none;
}

h1,
h2,
h3,
p,
ol,
ul {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 780;
  line-height: 0.98;
  letter-spacing: -0.052em;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(4rem, 6.6vw, 7.25rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(3rem, 5.4vw, 5.8rem);
}

h3 {
  letter-spacing: -0.035em;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(103, 87, 232, 0.34);
  outline-offset: 3px;
}

/* Section headings receive focus only to announce programmatic navigation.
 * Keep that accessibility behaviour without showing the browser's native box. */
.snap-panel :is(h1, h2)[tabindex="-1"]:focus {
  outline: none;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 14px;
  padding: 11px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.experience-header {
  position: fixed;
  z-index: 70;
  inset: 0 0 auto;
  height: var(--header-height);
  border-bottom: 1px solid rgba(43, 35, 76, 0.07);
  background: rgba(255, 255, 255, 0.74);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
}

.header-inner {
  width: min(calc(100% - 56px), var(--container));
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.header-start {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-button {
  width: fit-content;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  cursor: pointer;
  color: var(--ink);
  font-size: 20px;
  font-weight: 820;
  letter-spacing: -0.04em;
}

.brand-button img {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 8px 14px rgba(82, 67, 216, 0.24));
  transition: transform 350ms var(--ease-out);
}

.brand-button:hover img {
  transform: rotate(-7deg) scale(1.06);
}

.personal-context {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.personal-context[hidden] {
  display: none;
}

.personal-context > button {
  max-width: 420px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  border: 1px solid rgba(var(--scenario-accent-rgb), 0.16);
  border-radius: 999px;
  background: rgba(var(--scenario-accent-rgb), 0.07);
  color: var(--muted-strong);
  cursor: pointer;
  white-space: nowrap;
}

.personal-context strong {
  max-width: 220px;
  overflow: hidden;
  color: var(--ink);
  text-overflow: ellipsis;
}

.header-progress {
  justify-self: end;
  width: 184px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 7px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.header-progress strong {
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.04em;
  visibility: hidden;
}

.progress-track {
  grid-column: 1 / -1;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(43, 35, 76, 0.09);
}

.progress-track span {
  width: 14.2857%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--gradient);
  transform-origin: left center;
  transition: width 700ms var(--ease-out);
}

.section-navigation {
  position: fixed;
  z-index: 65;
  top: 50%;
  right: max(18px, calc((100vw - var(--container)) / 2 - 48px));
  display: grid;
  gap: 15px;
  display: none;
  transform: translateY(-50%);
}

.section-navigation button {
  position: relative;
  width: 12px;
  height: 12px;
  padding: 0;
  border: 1px solid rgba(43, 35, 76, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease;
}

.section-navigation button::after {
  position: absolute;
  inset: 2px;
  border-radius: inherit;
  background: var(--scenario-accent);
  content: "";
  opacity: 0;
  transform: scale(0.2);
  transition: opacity 220ms ease, transform 350ms var(--ease-out);
}

.section-navigation button:hover,
.section-navigation button.is-active {
  border-color: var(--scenario-accent);
  transform: scale(1.16);
}

.section-navigation button.is-active::after {
  opacity: 1;
  transform: scale(1);
}

.section-navigation button span {
  position: absolute;
  top: 50%;
  right: 22px;
  width: max-content;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 720;
  opacity: 0;
  pointer-events: none;
  transform: translate(8px, -50%);
  transition: opacity 180ms ease, transform 220ms ease;
}

.section-navigation button:hover span,
.section-navigation button:focus-visible span {
  opacity: 1;
  transform: translate(0, -50%);
}

.snap-container {
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scroll-behavior: auto;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
}

.snap-container::-webkit-scrollbar {
  display: none;
}

.snap-container.is-form-focused {
  scroll-snap-type: y proximity;
}

.snap-panel {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  isolation: isolate;
}

.section-shell {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 72px), var(--container));
  height: 100%;
  margin: 0 auto;
  padding-top: calc(var(--header-height) + clamp(28px, 4.4vh, 52px));
  padding-bottom: clamp(28px, 4vh, 48px);
}

.ambient-shape,
.ambient-ring {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}

.ambient-shape {
  filter: blur(1px);
  transform: translate3d(calc(var(--pointer-x) * 0.45), calc(var(--pointer-y) * 0.45), 0);
  transition: background 500ms ease;
}

.gradient-text {
  padding-right: 0.08em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  margin-bottom: 17px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--violet-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 0 6px rgba(103, 87, 232, 0.08);
  animation: soft-pulse 2.4s ease-in-out infinite;
}

.primary-button,
.secondary-button {
  min-height: 52px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 780;
  transition: transform 220ms var(--ease-out), box-shadow 220ms ease, opacity 220ms ease;
}

.primary-button {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: var(--gradient);
  box-shadow: 0 16px 40px rgba(96, 73, 220, 0.26);
  color: #fff;
}

.primary-button svg,
.secondary-button svg {
  width: 18px;
  height: 18px;
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-3px);
}

.primary-button:hover {
  box-shadow: 0 20px 50px rgba(96, 73, 220, 0.34);
}

.primary-button:disabled {
  background: #dfdce7;
  box-shadow: none;
  color: #8f899b;
  cursor: not-allowed;
  transform: none;
}

.secondary-button {
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
}

.glass-card {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
}

.js .snap-panel.is-active [data-reveal] {
  animation: reveal-up 720ms var(--ease-out) var(--delay, 0ms) both;
}

/* Hero */
.hero-panel {
  background:
    radial-gradient(circle at 76% 38%, rgba(103, 87, 232, 0.08), transparent 32%),
    radial-gradient(circle at 94% 75%, rgba(220, 75, 197, 0.07), transparent 24%),
    linear-gradient(180deg, #fff 0%, #fbfbff 100%);
}

.ambient-shape-one {
  top: 12%;
  right: 2%;
  width: min(36vw, 540px);
  aspect-ratio: 1;
  border: 1px solid rgba(103, 87, 232, 0.1);
  background: radial-gradient(circle at 35% 35%, rgba(39, 191, 230, 0.17), rgba(103, 87, 232, 0.05) 45%, transparent 68%);
}

.ambient-shape-two {
  bottom: -24%;
  left: -12%;
  width: min(44vw, 680px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(220, 75, 197, 0.08), transparent 68%);
  transform: translate3d(calc(var(--pointer-x) * -0.3), calc(var(--pointer-y) * -0.3), 0);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.9fr);
  align-items: center;
  gap: clamp(46px, 7vw, 100px);
}

.hero-copy {
  max-width: 760px;
}

.hero-copy h1 {
  max-width: 760px;
}

.hero-lead {
  max-width: 690px;
  margin-bottom: 30px;
  color: var(--muted-strong);
  font-size: clamp(1.1rem, 1.55vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* These two blocks keep their original footprint so the remaining hero
 * elements do not move, but are intentionally absent from the experience. */
.hero-panel .hero-copy > .eyebrow,
.hero-panel .hero-actions {
  visibility: hidden;
  pointer-events: none;
}

.hero-actions > span {
  color: var(--muted);
  font-size: 12px;
}

.hero-actions > span strong {
  color: var(--ink-soft);
}

.trust-line {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.trust-line span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 680;
}

.trust-line svg {
  width: 15px;
  height: 15px;
  color: var(--success);
  stroke-width: 2.3;
}

/* Hero phone carousel: five steps orbit horizontally in a real 3D scene. */
.hero-phones {
  position: relative;
  width: min(100%, 560px);
  height: min(650px, 72vh);
  min-height: 510px;
  padding: 24px 22px 17px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  justify-self: end;
  overflow: visible;
  border: 1px solid transparent;
  border-radius: 42px;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  isolation: isolate;
  pointer-events: none;
}

.hero-phones::before,
.hero-phones::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  content: "";
  display: none;
}

.hero-phones::before {
  top: -24%;
  left: -17%;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid rgba(103, 87, 232, .1);
  box-shadow: 0 0 0 45px rgba(103, 87, 232, .025), 0 0 0 90px rgba(220, 75, 197, .018);
}

.hero-phones::after {
  right: -17%;
  bottom: -26%;
  width: 58%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(220, 75, 197, .11), transparent 68%);
}

.hero-phones-glow {
  position: absolute;
  z-index: -1;
  top: 25%;
  left: 25%;
  width: 55%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(103, 87, 232, .18);
  filter: blur(72px);
  pointer-events: none;
  display: none;
}

.hero-phones-heading {
  position: relative;
  z-index: 7;
  padding: 0 3px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  visibility: hidden;
}

.hero-phones-heading p,
.hero-phones-heading span {
  margin: 0;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-phones-heading p {
  color: var(--muted);
}

.hero-phones-heading span {
  color: var(--violet-dark);
  transition: opacity 180ms ease, transform 180ms ease;
}

.hero-phones-heading span.is-changing {
  opacity: 0;
  transform: translateY(4px);
}

.hero-phone-stage {
  position: relative;
  min-height: 0;
  perspective: 1450px;
  perspective-origin: 50% 47%;
  transform-style: preserve-3d;
  touch-action: pan-y;
}

.hero-phone-orbit {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  transform-style: preserve-3d;
}

.hero-phone-card {
  --phone-x: 0px;
  --phone-z: 0px;
  --phone-rotation: 0deg;
  --phone-scale: 1;
  position: absolute;
  top: 48%;
  left: 50%;
  z-index: 1;
  width: clamp(166px, 14vw, 192px);
  height: clamp(363px, 30.5vw, 420px);
  opacity: 1;
  pointer-events: none;
  transform: translate3d(calc(-50% + var(--phone-x)), -50%, var(--phone-z)) rotateY(var(--phone-rotation)) scale(var(--phone-scale));
  transform-origin: 50% 52%;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: transform 1900ms cubic-bezier(.45, 0, .2, 1);
  will-change: transform;
}

.hero-phone-card[data-phone-position="0"] {
  --phone-x: 0px;
  --phone-z: 155px;
  --phone-rotation: 0deg;
  --phone-scale: 1;
  z-index: 5;
  opacity: 1;
}

.hero-phone-card[data-phone-position="-1"] {
  --phone-x: -132px;
  --phone-z: 22px;
  --phone-rotation: 24deg;
  --phone-scale: .79;
  z-index: 4;
  opacity: 1;
}

.hero-phone-card[data-phone-position="1"] {
  --phone-x: 132px;
  --phone-z: 22px;
  --phone-rotation: -24deg;
  --phone-scale: .79;
  z-index: 4;
  opacity: 1;
}

.hero-phone-card[data-phone-position="-2"] {
  --phone-x: -220px;
  --phone-z: -95px;
  --phone-rotation: 40deg;
  --phone-scale: .58;
  z-index: 2;
  opacity: 1;
}

.hero-phone-card[data-phone-position="2"] {
  --phone-x: 220px;
  --phone-z: -95px;
  --phone-rotation: -40deg;
  --phone-scale: .58;
  z-index: 2;
  opacity: 1;
}

.hero-phone-device {
  position: relative;
  width: 100%;
  height: calc(100% - 36px);
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 38px;
  background: linear-gradient(145deg, #302d3a, #0f0e14 46%, #26232d);
  box-shadow: 0 30px 70px rgba(31, 24, 68, .23), inset 0 0 0 1px rgba(0, 0, 0, .7), inset 0 0 0 2px rgba(255, 255, 255, .08);
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.hero-phone-device::before {
  position: absolute;
  z-index: 4;
  top: 11px;
  left: 50%;
  width: 43%;
  height: 20px;
  border-radius: 999px;
  background: #0d0c11;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .06);
  content: "";
  transform: translateX(-50%);
}

.hero-phone-device::after {
  position: absolute;
  z-index: 5;
  top: 17px;
  left: calc(50% + 22px);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #242232;
  box-shadow: inset 0 0 0 1px #393453, 0 0 5px rgba(var(--phone-accent-rgb), .4);
  content: "";
}

.hero-phone-buttons::before,
.hero-phone-buttons::after {
  position: absolute;
  left: -3px;
  width: 3px;
  border-radius: 2px 0 0 2px;
  background: #292630;
  content: "";
}

.hero-phone-buttons::before {
  top: 76px;
  height: 30px;
}

.hero-phone-buttons::after {
  top: 116px;
  height: 48px;
}

.hero-phone-screen {
  position: relative;
  height: 100%;
  padding: 13px 12px 14px;
  display: grid;
  grid-template-rows: 16px 5px minmax(0, 1fr) auto;
  gap: 8px;
  overflow: hidden;
  border-radius: 32px;
  background:
    radial-gradient(circle at 82% 19%, rgba(var(--phone-accent-rgb), .25), transparent 30%),
    radial-gradient(circle at 15% 87%, rgba(255, 255, 255, .84), transparent 36%),
    linear-gradient(155deg, #fff 0%, rgba(var(--phone-accent-rgb), .11) 52%, #f5f2ff 100%);
  color: var(--ink);
  backface-visibility: hidden;
}

.hero-phone-screen::before,
.hero-phone-screen::after {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(var(--phone-accent-rgb), .13);
  pointer-events: none;
  content: "";
}

.hero-phone-screen::before {
  top: 27%;
  right: -37%;
  width: 84%;
  aspect-ratio: 1;
  box-shadow: 0 0 0 17px rgba(var(--phone-accent-rgb), .035), 0 0 0 34px rgba(var(--phone-accent-rgb), .025);
}

.hero-phone-screen::after {
  bottom: -12%;
  left: -22%;
  width: 70%;
  aspect-ratio: 1;
}

.phone-screen-story {
  background:
    radial-gradient(circle at 74% 25%, rgba(255, 255, 255, .3), transparent 24%),
    linear-gradient(155deg, #50277e 0%, #a83d98 48%, #ef7eae 100%);
  color: #fff;
}

.phone-screen-result {
  background:
    radial-gradient(circle at 50% 25%, rgba(255, 255, 255, .58), transparent 23%),
    linear-gradient(155deg, #fff 5%, #f8e5f3 46%, #e3e0ff 100%);
}

.phone-screen-top,
.phone-story-bars,
.phone-screen-scene,
.phone-screen-action {
  position: relative;
  z-index: 2;
}

.phone-screen-top {
  padding: 0 3px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: currentColor;
  font-size: 7px;
  font-style: normal;
  letter-spacing: .02em;
}

.phone-screen-top strong {
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.phone-screen-top i {
  width: 10px;
  height: 5px;
  border: 1px solid currentColor;
  border-radius: 2px;
  opacity: .7;
}

.phone-story-bars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
}

.phone-story-bars i {
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  opacity: .16;
}

.phone-story-bars i:first-child {
  background: var(--phone-accent);
  opacity: .95;
}

.phone-screen-story .phone-story-bars i:first-child {
  background: #fff;
}

.phone-screen-scene {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.phone-step {
  position: absolute;
  top: 14%;
  padding: 5px 7px;
  border: 1px solid rgba(var(--phone-accent-rgb), .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .48);
  color: var(--phone-accent);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: .1em;
}

.phone-screen-story .phone-step {
  border-color: rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.phone-scene-icon {
  position: relative;
  width: 76px;
  height: 76px;
  margin-bottom: 15px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 25px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .94), rgba(var(--phone-accent-rgb), .15));
  box-shadow: 0 20px 45px rgba(var(--phone-accent-rgb), .2), inset 0 1px 0 #fff;
  color: var(--phone-accent);
}

.phone-screen-story .phone-scene-icon {
  border-color: rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .13);
  box-shadow: 0 20px 45px rgba(32, 13, 64, .2), inset 0 1px 0 rgba(255, 255, 255, .24);
  color: #fff;
}

.phone-scene-icon svg {
  width: 34px;
  height: 34px;
}

.phone-screen-qr .phone-scene-icon i {
  position: absolute;
  top: 15px;
  right: 11px;
  left: 11px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--phone-accent), transparent);
  box-shadow: 0 0 10px rgba(var(--phone-accent-rgb), .7);
  opacity: 0;
}

.hero-phone-card[data-phone-position="0"] .phone-screen-qr .phone-scene-icon i {
  animation: phone-scan 1.35s ease-in-out infinite;
}

.phone-screen-scene > small {
  margin-bottom: 5px;
  color: var(--phone-accent);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.phone-screen-story .phone-screen-scene > small {
  color: rgba(255, 255, 255, .78);
}

.phone-screen-scene > strong {
  max-width: 140px;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -.04em;
}

.phone-screen-scene > p {
  max-width: 132px;
  margin: 8px 0 0;
  color: currentColor;
  font-size: 8px;
  line-height: 1.45;
  opacity: .65;
}

.phone-screen-action {
  min-height: 32px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(var(--phone-accent-rgb), .13);
  border-radius: 12px;
  background: rgba(255, 255, 255, .55);
  color: currentColor;
  font-size: 7px;
  font-weight: 800;
}

.phone-screen-story .phone-screen-action {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .11);
}

.phone-screen-action i {
  width: 5px;
  height: 5px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.hero-phone-caption {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(7px);
  transition: opacity 300ms ease 240ms, transform 420ms var(--ease-out) 220ms;
  visibility: hidden;
}

.hero-phone-caption small {
  color: var(--phone-accent);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .08em;
}

.hero-phone-caption strong {
  color: var(--ink);
  font-size: 11px;
}

.hero-phone-card[data-phone-position="0"] .hero-phone-caption {
  opacity: 1;
  transform: translateY(0);
}

.hero-phones-controls {
  position: relative;
  z-index: 8;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  pointer-events: none;
}

.hero-phone-dots {
  display: flex;
  align-items: center;
}

.hero-phone-dots button,
.hero-phones-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--muted-strong);
  cursor: pointer;
}

.hero-phone-dots button::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c7c3d2;
  content: "";
  transition: width 260ms var(--ease-out), border-radius 260ms ease, background 260ms ease;
}

.hero-phone-dots button[aria-current="true"]::before {
  width: 23px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--violet), var(--pink));
}

.hero-phones-toggle {
  margin-left: 3px;
  border-left: 1px solid rgba(43, 35, 76, .09);
}

.hero-phones-toggle span {
  width: 11px;
  height: 12px;
  background: linear-gradient(90deg, currentColor 0 3px, transparent 3px 8px, currentColor 8px 11px);
}

.hero-phones-toggle[aria-pressed="true"] span {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid currentColor;
  background: none;
}

.hero-phone-dots button:focus-visible,
.hero-phones-toggle:focus-visible {
  border-radius: 12px;
  outline: 2px solid var(--violet);
  outline-offset: -5px;
}

@keyframes phone-scan {
  0% { opacity: 0; transform: translateY(0); }
  18%, 82% { opacity: 1; }
  100% { opacity: 0; transform: translateY(44px); }
}

/* Sector selection */
.sector-panel {
  background:
    radial-gradient(circle at 0 90%, rgba(39, 191, 230, 0.09), transparent 32%),
    radial-gradient(circle at 95% 10%, rgba(220, 75, 197, 0.07), transparent 30%),
    #fff;
}

.sector-layout {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(13px, 2vh, 21px);
}

.sector-heading {
  display: block;
}

.compact-heading h2 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(3rem, 5vw, 5.5rem);
  line-height: .95;
}

.sector-heading .eyebrow {
  margin-bottom: 11px;
}

.category-grid {
  width: 100%;
  height: 100%;
  max-height: 500px;
  min-height: 0;
  align-self: center;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: minmax(265px, 1fr);
  gap: clamp(12px, 1.5vw, 20px);
}

.category-card {
  position: relative;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 28px;
  background: #d8d5e2;
  box-shadow: 0 18px 48px rgba(36, 29, 64, .11);
  cursor: pointer;
  isolation: isolate;
  transition: transform 360ms var(--ease-out), border-color 240ms ease, box-shadow 360ms ease;
}

.category-card::before,
.category-card::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.category-card::before {
  z-index: 1;
  background: linear-gradient(135deg, rgba(255, 255, 255, .24), transparent 34%);
}

.category-card::after {
  background: linear-gradient(180deg, rgba(15, 13, 25, .03) 14%, rgba(15, 13, 25, .08) 45%, rgba(15, 13, 25, .88) 100%);
}

.category-card img {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.86) contrast(1.02);
  transform: scale(1.015);
  transition: opacity 420ms ease, transform 900ms var(--ease-out), filter 360ms ease;
}

.category-card .category-image--secondary {
  opacity: 0;
}

.category-card:hover,
.category-card[aria-pressed="true"] {
  transform: translateY(-7px);
  box-shadow: 0 28px 65px rgba(36, 29, 64, .19);
}

.category-card:hover img,
.category-card:focus-visible img,
.category-card[aria-pressed="true"] img {
  filter: saturate(1.03) contrast(1.04);
  transform: scale(1.075);
}

@media (hover: hover) and (pointer: fine) {
  .category-card:hover .category-image--secondary {
    opacity: 1;
  }
}

.category-card:focus-visible .category-image--secondary {
  opacity: 1;
}

@media (max-width: 720px) {
  .category-card.is-mobile-photo-preview .category-image--secondary {
    opacity: 1;
  }

  .category-card.is-mobile-photo-preview img {
    filter: saturate(1.03) contrast(1.04);
    transform: scale(1.075);
  }
}

.category-card[aria-pressed="true"] {
  border-color: var(--card-accent, var(--scenario-accent));
  box-shadow: 0 0 0 4px rgba(var(--card-accent-rgb, var(--scenario-accent-rgb)), .12), 0 28px 65px rgba(36, 29, 64, .19);
}

.category-card:focus-visible {
  border-color: var(--card-accent, var(--scenario-accent));
  outline: 3px solid rgba(var(--card-accent-rgb, var(--scenario-accent-rgb)), .32);
  outline-offset: 3px;
}

.category-icon {
  position: absolute;
  z-index: 3;
  top: 17px;
  left: 17px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 14px;
  background: rgba(255,255,255,.86);
  color: var(--ink);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.category-icon svg {
  width: 20px;
  height: 20px;
}

.category-number {
  position: absolute;
  z-index: 3;
  top: 22px;
  right: 20px;
  color: #fff;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .3);
  transition: opacity 180ms ease;
}

.category-content {
  position: absolute;
  z-index: 3;
  right: clamp(17px, 1.5vw, 24px);
  bottom: clamp(18px, 2.1vh, 26px);
  left: clamp(17px, 1.5vw, 24px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #fff;
  text-align: left;
}

.category-meta {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, .72);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.category-title {
  max-width: 250px;
  color: #fff;
  font-size: clamp(1.25rem, 1.8vw, 1.95rem);
  font-weight: 780;
  line-height: 1.02;
  letter-spacing: -.035em;
}

.category-cue {
  max-height: 0;
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  color: rgba(255, 255, 255, .8);
  font-size: 9px;
  font-weight: 780;
  opacity: 0;
  transform: translateY(7px);
  transition: max-height 300ms ease, margin-top 300ms ease, opacity 220ms ease, transform 350ms var(--ease-out);
}

.category-cue svg {
  width: 12px;
  height: 12px;
}

.category-card:hover .category-cue,
.category-card[aria-pressed="true"] .category-cue {
  max-height: 18px;
  margin-top: 12px;
  opacity: 1;
  transform: translateY(0);
}

.category-check {
  position: absolute;
  z-index: 4;
  top: 15px;
  right: 15px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 50%;
  background: var(--card-accent, var(--scenario-accent));
  box-shadow: 0 6px 16px rgba(20,15,40,.2);
  color: #fff;
  opacity: 0;
  transform: scale(.3);
  transition: opacity 180ms ease, transform 350ms var(--ease-out);
}

.category-check svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.6;
}

.category-card[aria-pressed="true"] .category-check {
  opacity: 1;
  transform: scale(1);
}

.category-card[aria-pressed="true"] .category-number {
  opacity: 0;
}

.sector-company-form {
  display: block;
}

.sector-company-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
}

.company-field label {
  margin-bottom: 7px;
  display: block;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 760;
}

.input-shell {
  position: relative;
  height: 52px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 10px 30px rgba(43, 35, 76, 0.06);
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.input-shell:focus-within {
  border-color: rgba(var(--scenario-accent-rgb), .58);
  box-shadow: 0 0 0 4px rgba(var(--scenario-accent-rgb), .08), 0 14px 34px rgba(43,35,76,.08);
}

.input-shell > svg {
  width: 17px;
  height: 17px;
  margin-left: 15px;
  flex: 0 0 auto;
  color: var(--scenario-accent);
}

.input-shell input {
  width: 100%;
  height: 100%;
  padding: 0 48px 0 12px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
}

.input-shell input::placeholder {
  color: #aaa5b4;
  font-weight: 520;
}

.input-status {
  position: absolute;
  right: 15px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(21,150,107,.11);
  color: var(--success);
  opacity: 0;
  transform: scale(.5);
  transition: opacity 180ms ease, transform 300ms var(--ease-out);
}

.input-status svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
}

.company-form.has-name .input-status {
  opacity: 1;
  transform: scale(1);
}

.field-message {
  min-height: 14px;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 9px;
}

.field-message.is-error {
  color: #bf3151;
}

.personalize-button {
  min-width: 132px;
  min-height: 52px;
  margin: 0;
  border-radius: 15px;
}

.sector-contact-strip {
  min-height: 64px;
  padding: 9px 13px 9px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 42px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(103, 87, 232, .13);
  border-radius: 20px;
  background: linear-gradient(110deg, rgba(255, 255, 255, .92), rgba(103, 87, 232, .055), rgba(220, 75, 197, .06));
  box-shadow: 0 14px 38px rgba(43, 35, 76, .07);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 220ms ease, box-shadow 300ms ease, transform 300ms var(--ease-out);
}

.sector-contact-strip span {
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 620;
}

.sector-contact-strip strong {
  color: var(--violet-dark);
  font-size: 14px;
  font-weight: 820;
}

.sector-contact-strip > svg {
  width: 42px;
  height: 42px;
  padding: 13px;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(43, 35, 76, .08);
  color: var(--violet-dark);
  transition: transform 300ms var(--ease-out);
}

.sector-contact-strip:hover {
  border-color: rgba(103, 87, 232, .28);
  box-shadow: 0 19px 48px rgba(43, 35, 76, .1);
  transform: translateY(-2px);
}

.sector-contact-strip:hover > svg {
  transform: translateX(3px);
}

.sector-contact-strip:focus-visible {
  outline: 3px solid rgba(103, 87, 232, .28);
  outline-offset: 3px;
}

/* Dynamic journey */
.journey-panel {
  background:
    radial-gradient(circle at 82% 54%, rgba(var(--scenario-accent-rgb), .11), transparent 31%),
    linear-gradient(145deg, #fff 0%, #faf9ff 48%, #f5f8ff 100%);
}

.scenario-orb {
  right: -12%;
  bottom: -24%;
  width: min(55vw, 780px);
  aspect-ratio: 1;
  border: 1px solid rgba(var(--scenario-accent-rgb), .16);
  background: radial-gradient(circle at 35% 35%, rgba(var(--scenario-accent-rgb), .18), transparent 67%);
}

.journey-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, .9fr);
  align-items: center;
  gap: clamp(40px, 7vw, 104px);
}

.journey-copy {
  max-width: 700px;
}

.journey-copy h2 {
  max-width: 680px;
}

.section-intro {
  max-width: 580px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 19px;
}

.section-intro strong {
  color: var(--ink-soft);
}

.journey-steps {
  position: relative;
  margin: 0;
  padding: 0 0 0 2px;
  display: grid;
  gap: 10px;
  list-style: none;
}

.journey-steps::before {
  position: absolute;
  z-index: -1;
  top: 30px;
  bottom: 30px;
  left: 25px;
  width: 1px;
  background: linear-gradient(180deg, rgba(var(--scenario-accent-rgb), .15), rgba(var(--scenario-accent-rgb), .55), rgba(var(--scenario-accent-rgb), .15));
  content: "";
}

.journey-steps li {
  min-height: 54px;
  padding: 7px 12px 7px 7px;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 13px;
  border: 1px solid transparent;
  border-radius: 15px;
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease;
}

.journey-steps li:hover {
  border-color: rgba(var(--scenario-accent-rgb), .12);
  background: rgba(255,255,255,.7);
  transform: translateX(5px);
}

.journey-steps li > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--scenario-accent-rgb), .16);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(43,35,76,.07);
  color: var(--scenario-accent);
  font-size: 9px;
  font-weight: 820;
}

.journey-steps p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 670;
}

.journey-visual {
  position: relative;
  width: min(100%, 520px);
  height: min(70vh, 650px);
  justify-self: end;
  perspective: 1200px;
}

.journey-visual::before {
  position: absolute;
  inset: 11% 1% 5% 12%;
  border-radius: 46%;
  background: radial-gradient(circle, rgba(var(--scenario-accent-rgb), .24), rgba(var(--scenario-accent-rgb), .06) 45%, transparent 70%);
  filter: blur(25px);
  content: "";
}

.phone-mockup {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: 7%;
  width: min(61%, 286px);
  aspect-ratio: 9 / 18.8;
  transform: translateY(-50%) rotate(3deg) translate3d(calc(var(--pointer-x) * -.25), calc(var(--pointer-y) * -.25), 0);
  transition: transform 600ms var(--ease-out);
}

.journey-visual:hover .phone-mockup {
  transform: translateY(-51%) rotate(1deg) scale(1.02);
}

.phone-bezel {
  position: absolute;
  inset: 0;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 38px;
  background: #111117;
  box-shadow: 0 38px 80px rgba(23, 18, 46, .28), inset 0 0 0 1px rgba(255,255,255,.18);
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 31px;
  background: #1f1c27;
}

.phone-screen > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: opacity 260ms ease, transform 1.2s var(--ease-out);
}

.snap-panel.is-active .phone-screen > img {
  transform: scale(1);
}

.phone-speaker {
  position: absolute;
  z-index: 5;
  top: 15px;
  left: 50%;
  width: 30%;
  height: 18px;
  border-radius: 999px;
  background: #111117;
  transform: translateX(-50%);
}

.story-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,7,12,.5), transparent 25%, transparent 55%, rgba(8,7,12,.62));
}

.story-progress {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 12px;
  left: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.story-progress span {
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.42);
}

.story-progress span:first-child::after {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: #fff;
  content: "";
  transform-origin: left center;
  animation: story-progress 5s linear infinite;
}

.story-header {
  position: absolute;
  z-index: 2;
  top: 26px;
  right: 12px;
  left: 12px;
  display: grid;
  grid-template-columns: 27px 1fr auto;
  align-items: center;
  gap: 7px;
  color: #fff;
}

.story-header > img {
  width: 27px;
  height: 27px;
  border: 1.5px solid rgba(255,255,255,.9);
  border-radius: 50%;
}

.story-header > span:nth-child(2) {
  min-width: 0;
}

.story-header strong,
.story-header small {
  display: block;
  overflow: hidden;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.story-header strong {
  font-size: 8px;
}

.story-header small {
  color: rgba(255,255,255,.78);
  font-size: 6px;
}

.story-header > span:last-child {
  font-size: 10px;
  letter-spacing: 2px;
}

.story-sticker {
  position: absolute;
  z-index: 2;
  top: 47%;
  left: 50%;
  width: 76%;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  color: var(--ink);
  text-align: center;
  transform: translate(-50%, -50%) rotate(-2deg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.story-sticker span {
  display: block;
  color: var(--scenario-accent);
  font-size: 6px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.story-sticker strong {
  display: block;
  font-size: 13px;
  line-height: 1.12;
}

.story-caption {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 60px;
  left: 14px;
  color: #fff;
  font-size: 9px;
  font-weight: 720;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}

.story-footer {
  position: absolute;
  z-index: 2;
  right: 13px;
  bottom: 17px;
  left: 13px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #fff;
}

.story-footer span {
  flex: 1;
  padding: 7px 9px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 999px;
  font-size: 7px;
}

.story-footer svg {
  width: 17px;
  height: 17px;
}

.totem-mini {
  position: absolute;
  z-index: 2;
  top: 54%;
  left: 0;
  width: 41%;
  max-width: 190px;
  aspect-ratio: .62;
  transform: translateY(-50%) rotateY(15deg) rotate(-4deg) translate3d(calc(var(--pointer-x) * .18), calc(var(--pointer-y) * .18), 0);
  transform-style: preserve-3d;
}

.totem-face {
  position: absolute;
  z-index: 2;
  inset: 0 9% 14% 0;
  padding: 14% 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8%;
  border: 1px solid rgba(43,35,76,.09);
  border-radius: 25% 25% 18% 18% / 12% 12% 8% 8%;
  background: linear-gradient(145deg, #fff, #f4f2f7);
  box-shadow: 14px 28px 50px rgba(31,24,57,.2), inset -8px -6px 20px rgba(70,57,105,.06);
}

.totem-face > img {
  width: 31%;
  filter: drop-shadow(0 8px 12px rgba(80,64,210,.22));
}

.totem-face > span {
  color: var(--ink-soft);
  font-size: clamp(8px, .8vw, 11px);
  font-weight: 820;
  line-height: 1.1;
  text-align: center;
}

.totem-face > svg {
  width: 34%;
  height: auto;
  padding: 4%;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  stroke-width: 1.35;
}

.totem-foot {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  width: 54%;
  height: 72%;
  border-radius: 16px 70% 18px 15px;
  background: #d9d6de;
  box-shadow: 15px 25px 38px rgba(31,24,57,.15);
  transform: skewY(-11deg);
}

.story-metric {
  position: absolute;
  z-index: 5;
  right: 42%;
  bottom: 9%;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 16px;
  animation: metric-float 4s ease-in-out infinite;
}

.metric-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(var(--scenario-accent-rgb), .1);
  color: var(--scenario-accent);
}

.metric-icon svg {
  width: 17px;
  height: 17px;
}

.story-metric strong,
.story-metric small {
  display: block;
  white-space: nowrap;
}

.story-metric strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1;
}

.story-metric small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
}

/* Reward */
.reward-panel {
  background:
    radial-gradient(circle at 50% 50%, rgba(var(--scenario-accent-rgb), .08), transparent 36%),
    #fff;
}

.ambient-ring {
  top: 53%;
  left: 50%;
  width: min(76vw, 1100px);
  aspect-ratio: 1;
  border: 1px solid rgba(var(--scenario-accent-rgb), .08);
  box-shadow: 0 0 0 90px rgba(var(--scenario-accent-rgb), .018), 0 0 0 180px rgba(var(--scenario-accent-rgb), .012);
  transform: translate(-50%, -50%);
}

.reward-layout {
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  gap: clamp(22px, 3vh, 34px);
}

.reward-heading {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.reward-heading .eyebrow {
  justify-content: center;
}

.reward-heading h2 {
  margin-bottom: 16px;
}

.reward-heading > p:last-child {
  max-width: 690px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
}

.reward-flow {
  width: min(100%, 1060px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}

.reward-node {
  position: relative;
  min-height: 210px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 17px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,.8);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.reward-node.featured {
  border-color: rgba(var(--scenario-accent-rgb), .25);
  background: linear-gradient(145deg, #fff, rgba(var(--scenario-accent-rgb), .065));
  box-shadow: 0 26px 68px rgba(var(--scenario-accent-rgb), .13);
  transform: translateY(-5px);
}

.reward-visual {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(var(--scenario-accent-rgb), .12);
  border-radius: 22px;
  background: rgba(var(--scenario-accent-rgb), .08);
  color: var(--scenario-accent);
}

.reward-visual svg {
  width: 29px;
  height: 29px;
}

.customer-visual {
  border-radius: 50%;
}

.customer-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reward-node > span:last-of-type small,
.reward-node > span:last-of-type strong,
.reward-node > span:last-of-type em {
  display: block;
}

.reward-node > span:last-of-type small {
  margin-bottom: 5px;
  color: var(--scenario-accent);
  font-size: 9px;
  font-weight: 820;
  letter-spacing: .08em;
}

.reward-node > span:last-of-type strong {
  color: var(--ink);
  font-size: 16px;
}

.reward-node > span:last-of-type em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.reward-arrow {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(var(--scenario-accent-rgb), .07);
  color: var(--scenario-accent);
}

.reward-arrow svg {
  width: 17px;
  height: 17px;
}

.info-button {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(var(--scenario-accent-rgb), .2);
  border-radius: 50%;
  background: #fff;
  color: var(--scenario-accent);
  cursor: pointer;
  font-size: 14px;
  font-weight: 820;
  transition: transform 220ms var(--ease-out), background 220ms ease;
}

.info-button:hover {
  background: rgba(var(--scenario-accent-rgb), .08);
  transform: rotate(8deg) scale(1.08);
}

.reward-proof {
  width: min(100%, 850px);
  margin: 0 auto;
  padding: 15px 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  border-radius: 22px;
}

.reward-proof > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.proof-icon {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(var(--scenario-accent-rgb), .08);
  color: var(--scenario-accent);
}

.proof-icon svg {
  width: 17px;
  height: 17px;
}

.reward-proof small,
.reward-proof strong {
  display: block;
}

.reward-proof small {
  color: var(--muted);
  font-size: 8px;
}

.reward-proof strong {
  color: var(--ink-soft);
  font-size: 12px;
}

.proof-connector {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--scenario-accent-rgb), .4), transparent);
}

/* Value / visibility */
.value-panel {
  background:
    radial-gradient(circle at 4% 12%, rgba(39,191,230,.09), transparent 27%),
    radial-gradient(circle at 93% 86%, rgba(220,75,197,.07), transparent 26%),
    linear-gradient(145deg, #fdfdff, #f7f8fd);
}

.value-layout {
  display: grid;
  grid-template-columns: minmax(330px, .72fr) minmax(520px, 1.28fr);
  align-items: center;
  gap: clamp(44px, 7vw, 100px);
}

.value-copy h2 {
  max-width: 620px;
}

.benefit-list {
  margin-top: 28px;
  display: grid;
  gap: 10px;
}

.benefit-list article {
  padding: 11px 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(43,35,76,.07);
  border-radius: 16px;
  background: rgba(255,255,255,.62);
}

.benefit-list article > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 11px;
  background: rgba(21,150,107,.1);
  color: var(--success);
}

.benefit-list svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.5;
}

.benefit-list p,
.benefit-list strong,
.benefit-list small {
  margin: 0;
  display: block;
}

.benefit-list strong {
  color: var(--ink-soft);
  font-size: 13px;
}

.benefit-list small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.views-example {
  position: relative;
  width: min(100%, 680px);
  justify-self: end;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(43,35,76,.09);
  border-radius: 32px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 34px 90px rgba(48, 40, 88, .12);
}

.views-example::after {
  position: absolute;
  z-index: -1;
  inset: 12% -7% -8% 10%;
  border-radius: 40px;
  background: var(--gradient-soft);
  filter: blur(24px);
  content: "";
}

.example-heading {
  margin-bottom: 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.example-label {
  display: block;
  margin-bottom: 8px;
  color: var(--scenario-accent);
  font-size: 9px;
  font-weight: 820;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.example-heading h3 {
  margin-bottom: 0;
  font-size: 23px;
  line-height: 1.1;
}

.live-chip {
  padding: 7px 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(21,150,107,.12);
  border-radius: 999px;
  background: rgba(21,150,107,.06);
  color: #117a59;
  font-size: 8px;
  font-weight: 760;
  white-space: nowrap;
}

.live-chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(21,150,107,.1);
  animation: soft-pulse 2s ease-in-out infinite;
}

.views-list {
  display: grid;
  gap: 11px;
}

.view-row {
  display: grid;
  grid-template-columns: 58px 1fr 82px;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 9px;
}

.view-row > i {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #efedf4;
}

.view-row > i b {
  width: var(--bar-size);
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--scenario-accent), var(--scenario-secondary));
  transform: scaleX(0);
  transform-origin: left;
}

.value-panel.counters-played .view-row > i b {
  animation: grow-bar 850ms var(--ease-out) both;
}

.view-row:nth-child(2) i b { animation-delay: 80ms; }
.view-row:nth-child(3) i b { animation-delay: 160ms; }
.view-row:nth-child(4) i b { animation-delay: 240ms; }
.view-row:nth-child(5) i b { animation-delay: 320ms; }

.view-row strong {
  color: var(--ink-soft);
  font-size: 10px;
  text-align: right;
}

.invoice-card {
  margin-top: 22px;
  padding: 14px;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(var(--scenario-accent-rgb), .13);
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(var(--scenario-accent-rgb), .06), rgba(255,255,255,.8));
}

.invoice-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--scenario-accent);
}

.invoice-icon svg {
  width: 20px;
  height: 20px;
}

.invoice-card small,
.invoice-card strong {
  display: block;
}

.invoice-card small {
  color: var(--muted);
  font-size: 8px;
}

.invoice-card strong {
  color: var(--ink);
  font-size: 16px;
}

.invoice-badge {
  padding: 7px 9px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  background: rgba(21,150,107,.1);
  color: #117a59;
  font-size: 8px;
  font-weight: 780;
  white-space: nowrap;
}

.invoice-badge svg {
  width: 12px;
  height: 12px;
  stroke-width: 2.5;
}

.invoice-note {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

/* Managed service */
.service-panel {
  background:
    radial-gradient(circle at 5% 92%, rgba(var(--scenario-accent-rgb), .08), transparent 25%),
    #fff;
}

.service-orb {
  top: -20%;
  right: -16%;
  width: min(55vw, 760px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(var(--scenario-accent-rgb), .1), transparent 66%);
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(380px, .8fr) minmax(500px, 1.2fr);
  align-items: center;
  gap: clamp(50px, 8vw, 112px);
}

.service-copy > p:nth-of-type(2) {
  max-width: 560px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 15px;
}

.service-timeline {
  position: relative;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}

.service-timeline::before,
.service-timeline::after {
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 22px;
  width: 2px;
  border-radius: 999px;
  content: "";
}

.service-timeline::before {
  background: rgba(43,35,76,.08);
}

.service-timeline::after {
  background: linear-gradient(180deg, var(--blue), var(--scenario-accent), var(--scenario-secondary));
  transform: scaleY(0);
  transform-origin: top;
}

.service-panel.is-active .service-timeline::after {
  animation: grow-line 1.2s var(--ease-out) 320ms both;
}

.service-timeline li {
  position: relative;
  z-index: 1;
  min-height: 48px;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 12px;
}

.service-timeline li > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--scenario-accent-rgb), .12);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(43,35,76,.07);
  color: var(--scenario-accent);
}

.service-timeline svg {
  width: 18px;
  height: 18px;
}

.service-timeline p,
.service-timeline strong,
.service-timeline small {
  margin: 0;
  display: block;
}

.service-timeline strong {
  color: var(--ink-soft);
  font-size: 13px;
}

.service-timeline small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 9px;
}

.report-preview {
  width: min(100%, 650px);
  justify-self: end;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(43,35,76,.09);
  border-radius: 31px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 35px 100px rgba(48,40,88,.14);
}

.report-topbar {
  padding-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.report-topbar > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.report-topbar img {
  width: 31px;
  height: 31px;
}

.report-topbar strong,
.report-topbar small {
  display: block;
}

.report-topbar strong {
  color: var(--ink);
  font-size: 11px;
}

.report-topbar small {
  color: var(--muted);
  font-size: 7px;
}

.report-topbar > span {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(21,150,107,.09);
  color: #117a59;
  font-size: 7px;
  font-weight: 780;
}

.report-title {
  padding: 19px 2px 16px;
}

.report-title > span {
  color: var(--muted);
  font-size: 9px;
}

.report-title h3 {
  max-width: 100%;
  margin: 2px 0 5px;
  overflow: hidden;
  font-size: 27px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-title p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
}

.report-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.report-metrics article {
  padding: 12px;
  border: 1px solid rgba(43,35,76,.07);
  border-radius: 16px;
  background: #faf9fd;
}

.report-metrics article > span {
  width: 28px;
  height: 28px;
  margin-bottom: 9px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(var(--scenario-accent-rgb), .08);
  color: var(--scenario-accent);
}

.report-metrics svg {
  width: 14px;
  height: 14px;
}

.report-metrics strong,
.report-metrics small {
  display: block;
}

.report-metrics strong {
  color: var(--ink);
  font-size: 17px;
}

.report-metrics small {
  color: var(--muted);
  font-size: 7px;
}

.report-chart {
  margin-top: 12px;
  padding: 13px 13px 5px;
  border: 1px solid rgba(43,35,76,.07);
  border-radius: 17px;
  background: #faf9fd;
}

.chart-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 8px;
}

.chart-label strong {
  color: var(--success);
  font-size: 9px;
}

.report-chart svg {
  width: 100%;
  height: 108px;
  overflow: visible;
}

.chart-area {
  fill: url(#chartGradient);
  stroke: none;
}

.chart-line {
  fill: none;
  stroke: var(--scenario-accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
}

.service-panel.is-active .chart-line {
  animation: draw-chart 1.7s var(--ease-out) 400ms forwards;
}

.report-footer {
  padding: 12px 2px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 7px;
}

.report-footer span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.report-footer i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--success);
}

.report-footer strong {
  color: var(--scenario-accent);
  font-size: 7px;
}

/* Pricing */
.pricing-panel {
  background:
    radial-gradient(circle at 50% 5%, rgba(var(--scenario-accent-rgb), .11), transparent 34%),
    linear-gradient(180deg, #fff, #f8f8fd);
}

.pricing-orb {
  right: -12%;
  bottom: -38%;
  width: min(60vw, 860px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(220,75,197,.1), transparent 66%);
}

.pricing-layout {
  padding-bottom: 16px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: clamp(10px, 1.8vh, 18px);
}

.pricing-heading {
  text-align: center;
}

.pricing-heading .eyebrow {
  justify-content: center;
}

.pricing-heading h2 {
  margin-bottom: 12px;
  font-size: clamp(2.7rem, 4.7vw, 5.25rem);
}

.pricing-heading > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.plans {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 14px;
}

.plan-card {
  position: relative;
  min-height: 0;
  padding: clamp(18px, 2.4vw, 27px);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(43,35,76,.1);
  border-radius: 27px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 13px 40px rgba(43,35,76,.07);
  transition: transform 300ms var(--ease-out), border-color 220ms ease, box-shadow 300ms ease;
}

.plan-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 25px 65px rgba(43,35,76,.13);
}

.plan-card.featured {
  border-color: rgba(var(--scenario-accent-rgb), .24);
  background: linear-gradient(145deg, #fff, rgba(var(--scenario-accent-rgb), .055));
  box-shadow: 0 21px 60px rgba(var(--scenario-accent-rgb), .12);
}

.plan-card.is-selected {
  border-color: var(--scenario-accent);
  box-shadow: 0 25px 70px rgba(var(--scenario-accent-rgb), .18), inset 0 0 0 1px var(--scenario-accent);
  transform: translateY(-7px);
}

.plan-card.is-selected::after {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--scenario-accent);
  color: #fff;
  content: "✓";
  font-size: 12px;
  font-weight: 850;
}

.plan-top {
  margin-bottom: clamp(17px, 2.4vh, 25px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.plan-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(var(--scenario-accent-rgb), .08);
  color: var(--scenario-accent);
}

.plan-icon svg {
  width: 20px;
  height: 20px;
}

.plan-tag {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 780;
}

.plan-card h3 {
  margin-bottom: 9px;
  font-size: 30px;
}

.plan-card > p {
  max-width: 330px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 12px;
}

.plan-card ul {
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}

.plan-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 630;
}

.plan-card li svg {
  width: 14px;
  height: 14px;
  color: var(--success);
  stroke-width: 2.5;
}

.plan-card > button {
  width: 100%;
  min-height: 46px;
  margin-top: auto;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 11px;
  font-weight: 760;
  transition: border-color 220ms ease, background 220ms ease, color 220ms ease;
}

.plan-card > button svg {
  width: 16px;
  height: 16px;
}

.plan-card > button:hover,
.plan-card.is-selected > button {
  border-color: var(--scenario-accent);
  background: var(--scenario-accent);
  color: #fff;
}

.mini-footer {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding-bottom: 8px;
  color: #918b9c;
  font-size: 8px;
}

.mini-footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

.mini-footer a:hover {
  color: var(--ink);
}

/* Dialog */
.reward-dialog {
  position: fixed;
  width: min(calc(100% - 36px), 520px);
  padding: 36px;
  overflow: visible;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 30px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 50px 140px rgba(24,18,55,.3);
  color: var(--ink);
  opacity: 0;
  transform: translateY(18px) scale(.96);
  transition: opacity 220ms ease, transform 350ms var(--ease-out), display 350ms allow-discrete, overlay 350ms allow-discrete;
  -webkit-backdrop-filter: blur(25px);
  backdrop-filter: blur(25px);
}

.reward-dialog[open] {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@starting-style {
  .reward-dialog[open] {
    opacity: 0;
    transform: translateY(18px) scale(.96);
  }
}

.reward-dialog::backdrop {
  background: rgba(20,16,35,.34);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f2f0f5;
  color: var(--muted-strong);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.dialog-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 23px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--gradient-soft);
  color: var(--violet);
}

.dialog-icon svg {
  width: 25px;
  height: 25px;
}

.reward-dialog .eyebrow {
  margin-bottom: 10px;
}

.reward-dialog h2 {
  margin-bottom: 14px;
  font-size: 34px;
  line-height: 1.05;
}

.reward-dialog > p:not(.eyebrow) {
  margin-bottom: 22px;
  color: var(--muted-strong);
  font-size: 16px;
  line-height: 1.6;
}

.dialog-proof {
  margin-bottom: 23px;
  padding: 13px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.dialog-proof > span:first-child {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
  background: #fff;
  color: var(--success);
}

.dialog-proof svg {
  width: 18px;
  height: 18px;
}

.dialog-proof strong,
.dialog-proof small {
  display: block;
}

.dialog-proof strong {
  font-size: 12px;
}

.dialog-proof small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.reward-dialog .secondary-button {
  width: 100%;
}

.noscript-message {
  position: fixed;
  z-index: 300;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 15px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  text-align: center;
}

/* Motion */
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes soft-pulse {
  0%, 100% { opacity: .65; transform: scale(.92); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes story-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes metric-float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-7px) rotate(-1deg); }
}

@keyframes grow-bar {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes grow-line {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

@keyframes draw-chart {
  to { stroke-dashoffset: 0; }
}

/* Mid-size desktop and tablet */
@media (max-width: 1180px) {
  :root {
    --header-height: 70px;
  }

  .header-inner,
  .section-shell {
    width: min(calc(100% - 52px), var(--container));
  }

  .section-navigation {
    right: 11px;
  }

  .section-navigation button span {
    display: none;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(370px, .82fr);
    gap: 40px;
  }

  .hero-copy h1 {
    font-size: clamp(3.7rem, 6.5vw, 5.6rem);
  }

  .hero-phones {
    width: min(100%, 520px);
    height: min(610px, 69vh);
  }

  .hero-phone-card[data-phone-position="-2"] {
    --phone-x: -205px;
  }

  .hero-phone-card[data-phone-position="2"] {
    --phone-x: 205px;
  }

  .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: minmax(250px, 1fr);
  }

  .journey-layout {
    grid-template-columns: minmax(0, 1fr) minmax(350px, .85fr);
    gap: 34px;
  }

  .reward-flow {
    gap: 10px;
  }

  .reward-node {
    padding-inline: 14px;
  }

  .value-layout {
    grid-template-columns: minmax(300px, .72fr) minmax(460px, 1.28fr);
    gap: 36px;
  }

  .service-layout {
    grid-template-columns: minmax(330px, .8fr) minmax(440px, 1.2fr);
    gap: 38px;
  }
}

@media (max-width: 920px) {
  .personal-context {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .header-progress {
    grid-column: 2;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 26px;
  }

  .hero-copy h1 {
    font-size: clamp(3.2rem, 7vw, 4.6rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-phones {
    height: min(570px, 68vh);
    min-height: 470px;
    padding-inline: 14px;
    border-radius: 32px;
  }

  .hero-phone-card {
    width: 148px;
    height: 330px;
  }

  .hero-phone-card[data-phone-position="-1"] {
    --phone-x: -94px;
    --phone-scale: .76;
  }

  .hero-phone-card[data-phone-position="1"] {
    --phone-x: 94px;
    --phone-scale: .76;
  }

  .hero-phone-card[data-phone-position="-2"] {
    --phone-x: -154px;
    --phone-scale: .52;
  }

  .hero-phone-card[data-phone-position="2"] {
    --phone-x: 154px;
    --phone-scale: .52;
  }

  .sector-heading {
    grid-template-columns: minmax(220px, .72fr) minmax(360px, 1.28fr);
    gap: 20px;
  }

  .compact-heading h2 {
    font-size: clamp(2.7rem, 6vw, 4rem);
  }

  .sector-company-row {
    gap: 7px;
  }

  .sector-company-row .personalize-button {
    min-width: 112px;
    padding-inline: 14px;
  }

  .category-grid {
    gap: 10px;
  }

  .category-card {
    border-radius: 22px;
  }

  .category-content {
    right: 15px;
    bottom: 17px;
    left: 15px;
  }

  .category-title {
    font-size: clamp(1rem, 2.1vw, 1.3rem);
  }

  .journey-copy h2,
  .value-copy h2,
  .service-copy h2 {
    font-size: clamp(2.75rem, 6vw, 4.35rem);
  }

  .journey-layout {
    grid-template-columns: minmax(0, 1fr) 325px;
    gap: 20px;
  }

  .reward-node {
    min-height: 190px;
  }

  .reward-arrow {
    width: 30px;
    height: 30px;
  }

  .value-layout {
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 24px;
  }

  .views-example {
    padding: 22px;
  }

  .service-layout {
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 24px;
  }

  .report-preview {
    padding: 16px;
  }

  .plan-card {
    padding: 18px;
  }
}

/* Mobile */
@media (max-width: 720px) {
  :root {
    --header-height: 62px;
  }

  body::before {
    display: none;
  }

  .experience-header {
    background: rgba(255,255,255,.82);
  }

  .header-inner,
  .section-shell {
    width: min(calc(100% - 36px), var(--container));
  }

  .brand-button {
    gap: 8px;
    font-size: 17px;
  }

  .brand-button img {
    width: 33px;
    height: 33px;
  }

  .header-progress {
    width: 104px;
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .header-progress-label {
    display: none;
  }

  .header-progress strong {
    justify-self: end;
    font-size: 9px;
  }

  .section-navigation {
    top: auto;
    right: 50%;
    bottom: max(9px, env(safe-area-inset-bottom));
    padding: 7px 10px;
    display: flex;
    gap: 9px;
    border: 1px solid rgba(43,35,76,.08);
    border-radius: 999px;
    background: rgba(255,255,255,.78);
    box-shadow: 0 10px 32px rgba(43,35,76,.1);
    transform: translateX(50%);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }

  .section-navigation button {
    width: 9px;
    height: 9px;
  }

  .section-navigation button span {
    display: none;
  }

  .section-shell {
    padding-top: calc(var(--header-height) + clamp(18px, 3.2vh, 30px));
    padding-bottom: max(46px, calc(env(safe-area-inset-bottom) + 38px));
  }

  .eyebrow {
    margin-bottom: 10px;
    gap: 8px;
    font-size: 9px;
  }

  .primary-button,
  .secondary-button {
    min-height: 48px;
    border-radius: 14px;
  }

  /* Hero mobile */
  .hero-layout {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    align-content: center;
    gap: clamp(18px, 3vh, 28px);
  }

  .hero-copy {
    max-width: none;
    padding-top: 4px;
  }

  .hero-copy h1 {
    max-width: 520px;
    margin-bottom: 15px;
    font-size: clamp(2.95rem, 13vw, 4.3rem);
    line-height: .94;
  }

  .hero-lead {
    max-width: 560px;
    margin-bottom: 17px;
    font-size: clamp(.88rem, 3.6vw, 1rem);
    line-height: 1.45;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-actions > span {
    max-width: 120px;
    font-size: 9px;
  }

  .trust-line {
    display: none;
  }

  .hero-phones {
    width: 100%;
    height: clamp(275px, 37vh, 330px);
    min-height: 0;
    padding: 12px 10px 7px;
    justify-self: stretch;
    border-radius: 28px;
  }

  .hero-phones-heading {
    padding-inline: 5px;
  }

  .hero-phones-heading p,
  .hero-phones-heading span {
    font-size: 7px;
  }

  .hero-phone-card {
    top: 49%;
    width: clamp(104px, 29vw, 126px);
    height: clamp(228px, 63vw, 276px);
  }

  .hero-phone-card[data-phone-position="-1"] {
    --phone-x: -76px;
    --phone-scale: .72;
    --phone-rotation: 21deg;
  }

  .hero-phone-card[data-phone-position="1"] {
    --phone-x: 76px;
    --phone-scale: .72;
    --phone-rotation: -21deg;
  }

  .hero-phone-card[data-phone-position="-2"] {
    --phone-x: -127px;
    --phone-scale: .48;
    --phone-rotation: 34deg;
    opacity: 1;
  }

  .hero-phone-card[data-phone-position="2"] {
    --phone-x: 127px;
    --phone-scale: .48;
    --phone-rotation: -34deg;
    opacity: 1;
  }

  .hero-phone-device {
    height: calc(100% - 25px);
    padding: 3px;
    border-radius: 27px;
  }

  .hero-phone-device::before {
    top: 7px;
    height: 14px;
  }

  .hero-phone-device::after {
    top: 11px;
    left: calc(50% + 15px);
    width: 4px;
    height: 4px;
  }

  .hero-phone-screen {
    padding: 9px 8px 9px;
    grid-template-rows: 11px 3px minmax(0, 1fr) auto;
    gap: 5px;
    border-radius: 23px;
  }

  .phone-screen-top,
  .phone-screen-top strong {
    font-size: 5px;
  }

  .phone-screen-top i {
    width: 7px;
    height: 4px;
  }

  .phone-story-bars {
    gap: 2px;
  }

  .phone-story-bars i {
    height: 1px;
  }

  .phone-step {
    top: 8%;
    padding: 3px 5px;
    font-size: 5px;
  }

  .phone-scene-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 9px;
    border-radius: 17px;
  }

  .phone-scene-icon svg {
    width: 23px;
    height: 23px;
  }

  .phone-screen-scene > small {
    margin-bottom: 3px;
    font-size: 5px;
  }

  .phone-screen-scene > strong {
    max-width: 100px;
    font-size: 14px;
  }

  .phone-screen-scene > p {
    max-width: 92px;
    margin-top: 5px;
    font-size: 6px;
  }

  .phone-screen-action {
    min-height: 22px;
    padding-inline: 7px;
    border-radius: 8px;
    font-size: 5px;
  }

  .hero-phone-caption {
    margin-top: 7px;
    gap: 5px;
  }

  .hero-phone-caption small {
    font-size: 6px;
  }

  .hero-phone-caption strong {
    font-size: 8px;
  }

  .hero-phones-controls {
    min-height: 38px;
  }

  .hero-phone-dots button,
  .hero-phones-toggle {
    width: 44px;
    height: 44px;
  }

  /* Sector mobile */
  .sector-layout {
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 10px;
  }

  .sector-heading {
    display: block;
  }

  .compact-heading h2 {
    font-size: clamp(2.25rem, 10vw, 3.2rem);
    line-height: .98;
  }

  .sector-company-form {
    margin-top: 11px;
  }

  .sector-company-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px;
  }

  .company-field label {
    margin-bottom: 4px;
    font-size: 9px;
  }

  .sector-company-row .input-shell {
    height: 46px;
    border-radius: 13px;
  }

  .sector-company-row .input-shell input {
    padding-right: 38px;
    font-size: 13px;
  }

  .sector-company-row .input-shell > svg {
    width: 15px;
    height: 15px;
    margin-left: 12px;
  }

  .sector-company-row .personalize-button {
    width: auto;
    min-width: 104px;
    min-height: 46px;
    padding-inline: 13px;
    gap: 7px;
    border-radius: 13px;
    font-size: 11px;
  }

  .sector-company-row .personalize-button svg {
    width: 14px;
    height: 14px;
  }

  .field-message {
    margin-top: 3px;
    font-size: 8px;
  }

  .category-grid {
    width: calc(100vw - 18px);
    height: 100%;
    max-height: none;
    min-height: 0;
    margin-right: -18px;
    padding: 3px 24px 8px 0;
    display: grid;
    grid-auto-columns: min(72vw, 280px);
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-template-rows: minmax(205px, 1fr);
    gap: 11px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .category-grid::-webkit-scrollbar {
    display: none;
  }

  .category-card {
    min-height: 0;
    border-radius: 22px;
    scroll-snap-align: start;
  }

  .category-icon {
    top: 12px;
    left: 12px;
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .category-icon svg {
    width: 17px;
    height: 17px;
  }

  .category-check {
    top: 11px;
    right: 11px;
    width: 27px;
    height: 27px;
  }

  .category-number {
    top: 17px;
    right: 16px;
  }

  .category-content {
    right: 17px;
    bottom: 18px;
    left: 17px;
  }

  .category-meta {
    margin-bottom: 6px;
    font-size: 8px;
  }

  .category-title {
    max-width: 210px;
    font-size: clamp(1.35rem, 6.5vw, 1.75rem);
  }

  .category-cue {
    max-height: 18px;
    margin-top: 9px;
    opacity: 1;
    transform: none;
  }

  .sector-contact-strip {
    min-height: 52px;
    padding: 6px 7px 6px 14px;
    grid-template-columns: minmax(0, 1fr) auto 38px;
    gap: 7px;
    border-radius: 16px;
  }

  .sector-contact-strip span,
  .sector-contact-strip strong {
    font-size: 10px;
  }

  .sector-contact-strip > svg {
    width: 38px;
    height: 38px;
    padding: 12px;
    border-radius: 11px;
  }

  /* Journey mobile */
  .journey-layout {
    display: block;
  }

  .journey-copy {
    max-width: none;
  }

  .journey-copy h2 {
    max-width: 520px;
    margin-bottom: 10px;
    font-size: clamp(2.35rem, 11vw, 3.45rem);
  }

  .section-intro {
    max-width: 560px;
    margin-bottom: 13px;
    font-size: 12px;
  }

  .journey-steps {
    position: absolute;
    bottom: max(53px, calc(env(safe-area-inset-bottom) + 42px));
    left: 0;
    width: 50%;
    gap: 6px;
  }

  .journey-steps::before {
    top: 24px;
    bottom: 24px;
    left: 19px;
  }

  .journey-steps li {
    min-height: 44px;
    padding: 4px;
    grid-template-columns: 31px 1fr;
    gap: 8px;
    border-radius: 12px;
  }

  .journey-steps li > span {
    width: 31px;
    height: 31px;
    border-radius: 10px;
    font-size: 7px;
  }

  .journey-steps p {
    font-size: 9px;
    line-height: 1.3;
  }

  .journey-visual {
    position: absolute;
    right: -5px;
    bottom: max(46px, calc(env(safe-area-inset-bottom) + 36px));
    width: 50%;
    height: min(54vh, 455px);
  }

  .phone-mockup {
    right: 2%;
    width: min(77%, 190px);
  }

  .phone-bezel {
    padding: 5px;
    border-radius: 28px;
  }

  .phone-screen {
    border-radius: 23px;
  }

  .phone-speaker {
    top: 10px;
    height: 13px;
  }

  .story-progress {
    top: 10px;
    right: 8px;
    left: 8px;
  }

  .story-header {
    top: 19px;
    right: 8px;
    left: 8px;
  }

  .totem-mini {
    left: -11%;
    width: 51%;
  }

  .story-metric {
    right: 40%;
    bottom: 4%;
    padding: 8px 9px;
    gap: 6px;
    border-radius: 12px;
  }

  .metric-icon {
    width: 27px;
    height: 27px;
    border-radius: 9px;
  }

  .story-metric strong {
    font-size: 11px;
  }

  .story-metric small {
    font-size: 6px;
  }

  /* Reward mobile */
  .reward-layout {
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 14px;
  }

  .reward-heading h2 {
    margin-bottom: 10px;
    font-size: clamp(2.35rem, 11vw, 3.5rem);
  }

  .reward-heading > p:last-child {
    font-size: 11px;
  }

  .reward-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 7px;
  }

  .reward-arrow {
    display: none;
  }

  .reward-node {
    min-height: 0;
    padding: 13px 7px;
    gap: 9px;
    border-radius: 18px;
  }

  .reward-node.featured {
    transform: none;
  }

  .reward-visual {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  .reward-visual svg {
    width: 22px;
    height: 22px;
  }

  .reward-node > span:last-of-type small {
    font-size: 7px;
  }

  .reward-node > span:last-of-type strong {
    font-size: 10px;
    line-height: 1.2;
  }

  .reward-node > span:last-of-type em {
    font-size: 7px;
    line-height: 1.25;
  }

  .info-button {
    top: 7px;
    right: 7px;
    width: 25px;
    height: 25px;
    font-size: 11px;
  }

  .reward-proof {
    padding: 9px;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    border-radius: 17px;
  }

  .proof-connector {
    display: none;
  }

  .reward-proof > div {
    gap: 6px;
  }

  .proof-icon {
    width: 28px;
    height: 28px;
    border-radius: 9px;
  }

  .proof-icon svg {
    width: 13px;
    height: 13px;
  }

  .reward-proof small {
    font-size: 6px;
  }

  .reward-proof strong {
    font-size: 8px;
  }

  /* Value mobile */
  .value-layout {
    display: block;
  }

  .value-copy h2 {
    max-width: 520px;
    margin-bottom: 15px;
    font-size: clamp(2.2rem, 10.7vw, 3.35rem);
  }

  .benefit-list {
    margin-top: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .benefit-list article {
    min-height: 74px;
    padding: 8px;
    display: block;
    border-radius: 13px;
  }

  .benefit-list article > span {
    width: 25px;
    height: 25px;
    margin-bottom: 5px;
    border-radius: 8px;
  }

  .benefit-list svg {
    width: 12px;
    height: 12px;
  }

  .benefit-list strong {
    font-size: 8px;
    line-height: 1.2;
  }

  .benefit-list small {
    display: none;
  }

  .views-example {
    position: absolute;
    right: 0;
    bottom: max(49px, calc(env(safe-area-inset-bottom) + 39px));
    left: 0;
    width: 100%;
    padding: 17px;
    border-radius: 23px;
  }

  .example-heading {
    margin-bottom: 13px;
  }

  .example-label {
    margin-bottom: 4px;
    font-size: 7px;
  }

  .example-heading h3 {
    font-size: 16px;
  }

  .live-chip {
    padding: 5px 7px;
    font-size: 6px;
  }

  .views-list {
    gap: 7px;
  }

  .view-row {
    grid-template-columns: 48px 1fr 68px;
    gap: 7px;
    font-size: 7px;
  }

  .view-row strong {
    font-size: 8px;
  }

  .invoice-card {
    margin-top: 13px;
    padding: 9px;
    grid-template-columns: 33px 1fr auto;
    gap: 8px;
    border-radius: 14px;
  }

  .invoice-icon {
    width: 33px;
    height: 33px;
    border-radius: 10px;
  }

  .invoice-card strong {
    font-size: 11px;
  }

  .invoice-badge {
    padding: 5px 6px;
    font-size: 6px;
  }

  .invoice-note {
    margin-top: 6px;
    font-size: 8px;
  }

  /* Service mobile */
  .service-layout {
    display: block;
  }

  .service-copy h2 {
    margin-bottom: 9px;
    font-size: clamp(2.35rem, 11vw, 3.45rem);
  }

  .service-copy > p:nth-of-type(2) {
    max-width: 540px;
    margin-bottom: 12px;
    font-size: 11px;
  }

  .service-timeline {
    position: absolute;
    bottom: max(49px, calc(env(safe-area-inset-bottom) + 39px));
    left: 0;
    width: 48%;
    gap: 5px;
  }

  .service-timeline::before,
  .service-timeline::after {
    top: 18px;
    bottom: 18px;
    left: 17px;
  }

  .service-timeline li {
    min-height: 40px;
    grid-template-columns: 34px 1fr;
    gap: 7px;
  }

  .service-timeline li > span {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }

  .service-timeline svg {
    width: 14px;
    height: 14px;
  }

  .service-timeline strong {
    font-size: 9px;
    line-height: 1.15;
  }

  .service-timeline small {
    display: none;
  }

  .report-preview {
    position: absolute;
    right: 0;
    bottom: max(49px, calc(env(safe-area-inset-bottom) + 39px));
    width: 49%;
    padding: 10px;
    border-radius: 21px;
  }

  .report-topbar {
    padding-bottom: 8px;
  }

  .report-topbar img {
    width: 23px;
    height: 23px;
  }

  .report-topbar strong {
    font-size: 7px;
  }

  .report-topbar small,
  .report-topbar > span {
    font-size: 5px;
  }

  .report-title {
    padding: 10px 1px 8px;
  }

  .report-title > span,
  .report-title p {
    font-size: 5px;
  }

  .report-title h3 {
    margin-block: 1px 3px;
    font-size: 15px;
  }

  .report-metrics {
    gap: 4px;
  }

  .report-metrics article {
    padding: 6px;
    border-radius: 10px;
  }

  .report-metrics article > span {
    width: 20px;
    height: 20px;
    margin-bottom: 5px;
    border-radius: 7px;
  }

  .report-metrics svg {
    width: 10px;
    height: 10px;
  }

  .report-metrics strong {
    font-size: 10px;
  }

  .report-metrics small {
    font-size: 4px;
  }

  .report-chart {
    margin-top: 6px;
    padding: 7px 7px 2px;
    border-radius: 10px;
  }

  .chart-label {
    font-size: 5px;
  }

  .chart-label strong {
    font-size: 6px;
  }

  .report-chart svg {
    height: 61px;
  }

  .report-footer {
    padding-top: 6px;
    font-size: 4px;
  }

  .report-footer strong {
    font-size: 4px;
  }

  /* Pricing mobile */
  .pricing-layout {
    padding-bottom: max(42px, calc(env(safe-area-inset-bottom) + 34px));
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 10px;
  }

  .pricing-heading h2 {
    margin-bottom: 7px;
    font-size: clamp(2.3rem, 11vw, 3.4rem);
  }

  .pricing-heading > p:last-child {
    font-size: 10px;
  }

  .plans {
    width: calc(100vw - 18px);
    margin-right: -18px;
    padding: 3px 22px 10px 0;
    display: grid;
    grid-auto-columns: min(78vw, 300px);
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 11px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .plans::-webkit-scrollbar {
    display: none;
  }

  .plan-card {
    padding: 18px;
    border-radius: 22px;
    scroll-snap-align: center;
  }

  .plan-card:hover,
  .plan-card.is-selected {
    transform: none;
  }

  .plan-top {
    margin-bottom: 15px;
  }

  .plan-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .plan-card h3 {
    font-size: 25px;
  }

  .plan-card > p {
    margin-bottom: 12px;
    font-size: 10px;
  }

  .plan-card ul {
    margin-bottom: 13px;
    gap: 6px;
  }

  .plan-card li {
    font-size: 9px;
  }

  .plan-card > button {
    min-height: 42px;
    font-size: 9px;
  }

  .mini-footer {
    display: none;
  }

  .reward-dialog {
    padding: 28px 23px 23px;
    border-radius: 24px;
  }

  .reward-dialog h2 {
    font-size: 28px;
  }
}

/* Low viewports: sections remain exactly one viewport, content gets denser. */
@media (max-height: 760px) and (min-width: 721px) {
  .section-shell {
    padding-top: calc(var(--header-height) + 19px);
    padding-bottom: 20px;
  }

  .eyebrow {
    margin-bottom: 9px;
  }

  h2 {
    font-size: clamp(2.7rem, 5vw, 4.25rem);
  }

  .hero-copy h1 {
    margin-bottom: 16px;
    font-size: clamp(3.2rem, 6vw, 5.1rem);
  }

  .hero-lead {
    margin-bottom: 18px;
    font-size: 1rem;
  }

  .trust-line {
    margin-top: 15px;
  }

  .hero-phones {
    height: min(500px, 68vh);
    min-height: 440px;
  }

  .hero-phone-card {
    width: 158px;
    height: 346px;
  }

  .category-grid {
    gap: 8px;
  }

  .input-shell {
    height: 51px;
  }

  .section-intro {
    margin-bottom: 16px;
  }

  .journey-steps {
    gap: 5px;
  }

  .journey-steps li {
    min-height: 45px;
  }

  .journey-visual {
    height: min(68vh, 520px);
  }

  .reward-heading h2 {
    margin-bottom: 8px;
  }

  .reward-flow {
    max-width: 980px;
  }

  .reward-node {
    min-height: 155px;
    padding: 14px;
    gap: 10px;
  }

  .reward-visual {
    width: 52px;
    height: 52px;
  }

  .reward-proof {
    padding: 10px 15px;
  }

  .benefit-list {
    margin-top: 15px;
    gap: 6px;
  }

  .benefit-list article {
    padding-block: 7px;
  }

  .views-example {
    padding: 20px 24px;
  }

  .example-heading {
    margin-bottom: 12px;
  }

  .views-list {
    gap: 7px;
  }

  .invoice-card {
    margin-top: 12px;
  }

  .service-copy > p:nth-of-type(2) {
    margin-bottom: 13px;
  }

  .service-timeline {
    gap: 4px;
  }

  .service-timeline li {
    min-height: 41px;
  }

  .service-timeline li > span {
    width: 38px;
    height: 38px;
  }

  .report-preview {
    padding: 13px 16px;
  }

  .report-title {
    padding-block: 11px;
  }

  .report-chart svg {
    height: 78px;
  }

  .pricing-heading h2 {
    margin-bottom: 7px;
  }

  .plan-top {
    margin-bottom: 12px;
  }

  .plan-card {
    padding: 16px 20px;
  }

  .plan-card h3 {
    font-size: 25px;
  }

  .plan-card > p {
    margin-bottom: 10px;
  }

  .plan-card ul {
    margin-bottom: 10px;
    gap: 5px;
  }
}

@media (max-width: 720px) and (max-height: 720px) {
  .section-shell {
    padding-top: calc(var(--header-height) + 12px);
  }

  .eyebrow {
    margin-bottom: 7px;
  }

  .hero-copy h1 {
    margin-bottom: 10px;
    font-size: clamp(2.55rem, 11.5vw, 3.5rem);
  }

  .hero-lead {
    margin-bottom: 11px;
    font-size: .82rem;
  }

  .hero-actions .primary-button {
    min-height: 44px;
  }

  .hero-phones {
    height: min(292px, 40vh);
  }

  .hero-phone-card {
    width: 96px;
    height: 210px;
  }

  .compact-heading h2,
  .journey-copy h2,
  .reward-heading h2,
  .value-copy h2,
  .service-copy h2,
  .pricing-heading h2 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .field-message,
  .section-intro,
  .reward-heading > p:last-child,
  .service-copy > p:nth-of-type(2) {
    display: none;
  }

  .company-form {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .personalize-button {
    width: auto;
    padding-inline: 13px;
  }

  .personalize-button svg {
    display: none;
  }

  .journey-steps,
  .journey-visual,
  .views-example,
  .service-timeline,
  .report-preview {
    bottom: 40px;
  }

  .reward-flow {
    min-height: 0;
  }

  .reward-node {
    padding-block: 8px;
  }

  .reward-proof {
    padding-block: 7px;
  }

  .benefit-list article {
    min-height: 58px;
  }

  .views-example {
    padding: 12px 15px;
  }

  .example-heading {
    margin-bottom: 8px;
  }

  .views-list {
    gap: 4px;
  }

  .invoice-card {
    margin-top: 8px;
  }

  .invoice-note {
    display: none;
  }

  .pricing-layout {
    padding-bottom: 37px;
  }

  .plan-top {
    margin-bottom: 8px;
  }

  .plan-card > p {
    margin-bottom: 7px;
  }
}

@media (orientation: landscape) and (max-height: 560px) {
  .snap-container {
    scroll-snap-type: y proximity;
  }

  .section-navigation {
    display: none;
  }

  .snap-panel {
    overflow-y: auto;
  }

  .section-shell {
    min-height: 560px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .ambient-shape,
  .phone-mockup,
  .totem-mini {
    transform: none !important;
  }

  .hero-phone-card {
    transition: none !important;
    will-change: auto;
  }

  .hero-phone-card:not([data-phone-position="0"]) {
    visibility: hidden;
    opacity: 0;
  }

  .hero-phones-toggle {
    display: none;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (forced-colors: active) {
  .hero-phone-device,
  .hero-phone-screen {
    border: 1px solid CanvasText;
  }

  .hero-phone-dots button[aria-current="true"]::before {
    background: Highlight;
  }
}

/* Release hardening: contrast, safe areas and compact-phone readability. */
:root {
  --action-gradient: linear-gradient(120deg, #076b91 0%, #4f40cf 52%, #a1268d 100%);
}

.primary-button {
  background: var(--action-gradient);
}

.plan-card > button:hover,
.plan-card.is-selected > button {
  border-color: #4f40cf;
  background: #4f40cf;
}

[data-story-image].is-swapping,
[data-stack-image].is-swapping,
[data-reward-image].is-swapping {
  opacity: .42;
}

[data-reward-image] {
  transition: opacity 260ms ease, transform 600ms var(--ease-out);
}

.experience-header {
  height: calc(var(--header-height) + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
}

.header-inner {
  height: var(--header-height);
}

.section-shell {
  padding-top: calc(var(--header-height) + env(safe-area-inset-top) + clamp(28px, 4.4vh, 52px));
}

.section-navigation {
  gap: 2px;
}

.section-navigation button {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  transform: none;
}

.section-navigation button::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border: 1px solid rgba(43, 35, 76, .25);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
  transition: border-color 220ms ease, transform 220ms ease;
}

.section-navigation button::after {
  inset: auto;
  top: 11px;
  left: 11px;
  width: 6px;
  height: 6px;
}

.section-navigation button:hover,
.section-navigation button.is-active {
  transform: none;
}

.section-navigation button:hover::before,
.section-navigation button.is-active::before {
  border-color: var(--scenario-accent);
  transform: translate(-50%, -50%) scale(1.18);
}

.section-navigation button span {
  right: 31px;
}

.reward-dialog {
  max-height: calc(100svh - 32px);
  overflow: auto;
  overscroll-behavior: contain;
}

.totem-mini[data-touchpoint-variant="insert"] {
  top: 58%;
  left: 1%;
  width: 43%;
  max-width: 210px;
  aspect-ratio: 1.42;
  transform: translateY(-50%) rotate(-8deg) translate3d(calc(var(--pointer-x) * .18), calc(var(--pointer-y) * .18), 0);
}

.totem-mini[data-touchpoint-variant="insert"] .totem-face {
  inset: 0;
  padding: 10%;
  display: grid;
  grid-template-columns: 34px 1fr 44px;
  gap: 8px;
  border-radius: 19px;
  background: linear-gradient(145deg, #fff, #eeebf5);
}

.totem-mini[data-touchpoint-variant="insert"] .totem-face > img,
.totem-mini[data-touchpoint-variant="insert"] .totem-face > svg {
  width: 100%;
}

.totem-mini[data-touchpoint-variant="insert"] .totem-face > span {
  font-size: 9px;
}

.totem-mini[data-touchpoint-variant="insert"] .totem-foot {
  display: none;
}

@media (hover: none) {
  .category-card:hover,
  .category-card[aria-pressed="true"] {
    transform: none;
  }

  .plan-card:hover,
  .plan-card.is-selected {
    transform: none;
  }
}

@media (max-width: 720px) {
  .section-shell {
    padding-top: calc(var(--header-height) + env(safe-area-inset-top) + clamp(18px, 3.2vh, 30px));
  }

  .section-navigation {
    gap: 0;
    padding: 2px 4px;
  }

  .section-navigation button {
    width: 28px;
    height: 28px;
  }

  .category-grid,
  .plans {
    padding-top: 7px;
    padding-left: 5px;
  }

  .category-grid {
    width: calc(100vw - 13px);
    margin-left: -5px;
  }

  .plans {
    width: calc(100vw - 13px);
    margin-left: -5px;
  }

  .field-message {
    display: block;
    min-height: 14px;
    font-size: 10px;
    line-height: 1.3;
  }

  .phone-mockup {
    max-height: 100%;
  }

  .journey-steps p,
  .reward-heading > p:last-child,
  .example-heading h3,
  .pricing-heading > p:last-child,
  .plan-card > p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .journey-steps p {
    -webkit-line-clamp: 3;
  }

  .totem-mini[data-touchpoint-variant="insert"] {
    left: -3%;
    width: 58%;
  }

  .reward-layout {
    gap: 10px;
  }

  .reward-flow {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 6px;
  }

  .reward-node {
    min-height: 54px;
    padding: 7px 11px;
    display: grid;
    grid-template-columns: 40px 1fr;
    align-items: center;
    gap: 10px;
    border-radius: 16px;
    text-align: left;
  }

  .reward-node.featured {
    transform: none;
  }

  .reward-visual {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .reward-visual svg {
    width: 19px;
    height: 19px;
  }

  .reward-node > span:last-of-type small {
    margin-bottom: 1px;
    font-size: 8px;
  }

  .reward-node > span:last-of-type strong {
    font-size: 12px;
  }

  .reward-node > span:last-of-type em {
    margin-top: 1px;
    font-size: 9px;
  }

  .reward-proof {
    padding: 8px;
  }

  .reward-proof small {
    font-size: 8px;
    line-height: 1.15;
  }

  .reward-proof strong {
    font-size: 9px;
  }

  .info-button {
    top: 50%;
    right: 9px;
    width: 32px;
    height: 32px;
    transform: translateY(-50%);
  }

  .info-button:hover {
    transform: translateY(-50%);
  }

  .benefit-list strong {
    font-size: 10px;
  }

  .view-row {
    grid-template-columns: 52px 1fr 78px;
    font-size: 9px;
  }

  .view-row strong {
    font-size: 9px;
  }

  .invoice-card small,
  .invoice-note {
    font-size: 9px;
  }

  .service-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .service-copy {
    min-height: 0;
  }

  .service-copy > p:nth-of-type(2) {
    margin-bottom: 9px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 11px;
  }

  .service-timeline {
    position: relative;
    bottom: auto;
    left: auto;
    width: 100%;
    gap: 3px;
  }

  .service-timeline::before,
  .service-timeline::after {
    top: 15px;
    bottom: 15px;
    left: 15px;
  }

  .service-timeline li {
    min-height: 33px;
    grid-template-columns: 30px 1fr;
    gap: 8px;
  }

  .service-timeline li > span {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }

  .service-timeline svg {
    width: 13px;
    height: 13px;
  }

  .service-timeline strong {
    font-size: 10px;
  }

  .report-preview {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 8px;
    padding: 8px 9px;
    border-radius: 17px;
  }

  .report-topbar {
    padding-bottom: 6px;
  }

  .report-topbar img {
    width: 23px;
    height: 23px;
  }

  .report-topbar strong,
  .report-topbar small,
  .report-topbar > span {
    font-size: 8px;
  }

  .report-title {
    padding: 6px 1px;
  }

  .report-title > span,
  .report-title p {
    font-size: 8px;
  }

  .report-title h3 {
    margin: 1px 0 2px;
    font-size: 15px;
  }

  .report-metrics {
    gap: 4px;
  }

  .report-metrics article {
    min-width: 0;
    padding: 6px;
    border-radius: 10px;
  }

  .report-metrics article > span {
    width: 20px;
    height: 20px;
    margin-bottom: 3px;
  }

  .report-metrics strong {
    font-size: 11px;
  }

  .report-metrics small {
    font-size: 8px;
    line-height: 1.1;
  }

  .report-chart {
    display: none;
  }

  .report-footer,
  .report-footer strong {
    padding-top: 5px;
    font-size: 8px;
  }

  .pricing-layout {
    grid-template-rows: auto minmax(0, 1fr) auto auto;
  }

  .mini-footer {
    display: flex;
    min-height: 12px;
    gap: 12px;
    font-size: 9px;
  }

  .mini-footer span:nth-child(2) {
    display: none;
  }

  .reward-dialog {
    max-height: calc(100svh - 24px);
    padding: 27px 22px 22px;
  }
}

@media (max-width: 720px) and (max-height: 680px) {
  .section-shell {
    padding-top: calc(var(--header-height) + env(safe-area-inset-top) + 10px);
  }

  .hero-layout {
    grid-template-rows: auto auto;
    align-content: center;
    gap: 12px;
  }

  .hero-phones {
    height: 224px;
    padding: 8px 9px 3px;
    border-radius: 22px;
  }

  .hero-phones-heading p {
    display: none;
  }

  .hero-phones-heading {
    justify-content: flex-end;
  }

  .hero-phone-card {
    width: 86px;
    height: 188px;
  }

  .hero-phone-card[data-phone-position="-1"] {
    --phone-x: -65px;
  }

  .hero-phone-card[data-phone-position="1"] {
    --phone-x: 65px;
  }

  .hero-phone-card[data-phone-position="-2"] {
    --phone-x: -108px;
  }

  .hero-phone-card[data-phone-position="2"] {
    --phone-x: 108px;
  }

  .phone-screen-scene > p,
  .phone-screen-action,
  .hero-phone-caption {
    display: none;
  }

  .phone-scene-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 6px;
    border-radius: 13px;
  }

  .phone-scene-icon svg {
    width: 19px;
    height: 19px;
  }

  .phone-screen-scene > strong {
    font-size: 11px;
  }

  .hero-phones-controls {
    position: absolute;
    right: 4px;
    bottom: 0;
  }

  .hero-phone-dots {
    display: none;
  }

  .company-form {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .personalize-button {
    width: 100%;
  }

  .field-message {
    display: block;
  }

  .reward-heading > p:last-child {
    display: block;
    font-size: 10px;
    line-height: 1.3;
  }

  .reward-node {
    min-height: 48px;
  }

  .service-copy > p:nth-of-type(2) {
    display: -webkit-box;
  }

  .report-title p {
    display: none;
  }

  .pricing-layout {
    padding-bottom: 34px;
  }

  .plan-card {
    padding: 14px;
  }

  .plan-top {
    margin-bottom: 6px;
  }

  .plan-card h3 {
    margin-bottom: 5px;
    font-size: 22px;
  }

  .plan-card > p {
    margin-bottom: 6px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .plan-card ul {
    margin-bottom: 6px;
    gap: 4px;
  }

  .mini-footer {
    font-size: 8px;
  }
}

@media (max-height: 560px) {
  .reward-dialog {
    padding: 22px 18px 18px;
  }

  .reward-dialog .dialog-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
  }

  .reward-dialog h2 {
    font-size: 25px;
  }
}

/* Slide 3 — le Story dei clienti si compongono come un mazzo di telefoni. */
.imagine-panel {
  background:
    radial-gradient(circle at 77% 29%, rgba(24, 135, 255, .105), transparent 23%),
    radial-gradient(circle at 92% 77%, rgba(239, 51, 79, .085), transparent 22%),
    linear-gradient(145deg, #fff 0%, #fbfaff 52%, #f5f9ff 100%);
}

.imagine-panel .scenario-orb {
  right: -15%;
  bottom: -42%;
  width: min(64vw, 900px);
  opacity: .78;
}

.imagine-layout {
  display: grid;
  grid-template-columns: minmax(330px, .8fr) minmax(490px, 1.2fr);
  align-items: center;
  gap: clamp(26px, 5vw, 78px);
}

.imagine-copy {
  position: relative;
  z-index: 7;
  max-width: 660px;
}

.imagine-title {
  max-width: 660px;
  margin: 0;
  font-size: clamp(3.45rem, 5.4vw, 6.35rem);
  line-height: .96;
  letter-spacing: -.065em;
}

.imagine-title > span {
  display: block;
}

.imagine-title-lead {
  margin-bottom: .2em;
  color: var(--ink);
  font-size: .66em;
  font-weight: 780;
  letter-spacing: -.052em;
}

.imagine-title-main {
  color: var(--ink-soft);
  font-weight: 520;
}

.imagine-title-main strong {
  position: relative;
  z-index: 0;
  display: inline;
  padding-right: .04em;
  background: linear-gradient(112deg, #1687ff 0%, var(--violet) 55%, #e84273 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 860;
}

.imagine-title-main strong::after {
  position: absolute;
  z-index: -1;
  right: -.02em;
  bottom: .02em;
  left: -.02em;
  height: .12em;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(24,135,255,.16), rgba(103,87,232,.2), rgba(239,51,79,.14));
  content: "";
}

.imagine-visual {
  position: relative;
  width: min(100%, 700px);
  height: min(73vh, 690px);
  min-height: 500px;
  justify-self: end;
  perspective: 1500px;
}

.imagine-phone-stage {
  position: relative;
  width: 100%;
  height: 100%;
  isolation: isolate;
}

.imagine-phone-stage::before {
  position: absolute;
  z-index: -1;
  top: 17%;
  left: 50%;
  width: 82%;
  height: 68%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 43% 52%, rgba(var(--scenario-accent-rgb), .2), transparent 48%),
    radial-gradient(circle at 64% 44%, rgba(24, 135, 255, .16), transparent 44%);
  filter: blur(30px);
  content: "";
  transform: translateX(-50%);
}

.imagine-phone {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(165px, min(16vw, 25vh), 232px);
  aspect-ratio: 9 / 19;
  margin: 0;
  opacity: 0;
  transform-origin: 50% 72%;
  will-change: transform, opacity;
}

.imagine-phone-left {
  z-index: 1;
  transform: translate(-92%, -47%) rotate(-13deg);
}

.imagine-phone-right {
  z-index: 2;
  transform: translate(-8%, -47%) rotate(12deg);
}

.imagine-phone-front {
  z-index: 3;
  transform: translate(-50%, -51%) rotate(-1deg);
}

.imagine-phone-frame {
  position: absolute;
  inset: 0;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, .56);
  border-radius: clamp(27px, 2.5vw, 38px);
  background: linear-gradient(145deg, #24242b, #09090d 42%, #1b1b22);
  box-shadow:
    0 34px 72px rgba(25, 20, 48, .24),
    0 10px 25px rgba(25, 20, 48, .16),
    inset 0 0 0 1px rgba(255, 255, 255, .15);
}

.imagine-phone-frame::before,
.imagine-phone-frame::after {
  position: absolute;
  left: -3px;
  width: 3px;
  border-radius: 3px 0 0 3px;
  background: #292932;
  content: "";
}

.imagine-phone-frame::before {
  top: 22%;
  height: 10%;
}

.imagine-phone-frame::after {
  top: 35%;
  height: 16%;
}

.imagine-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: clamp(22px, 2vw, 32px);
  background: #181820;
}

.imagine-phone-screen > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.035);
  transition: opacity 260ms ease, transform 1.2s var(--ease-out);
}

.imagine-phone-left .imagine-phone-screen > img {
  object-position: 38% center;
}

.imagine-phone-right .imagine-phone-screen > img {
  object-position: 66% center;
}

.imagine-phone-front .imagine-phone-screen > img {
  object-position: 50% center;
}

.imagine-panel.is-active .imagine-phone-screen > img {
  transform: scale(1);
}

.imagine-story-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 5, 10, .5), transparent 27%, transparent 68%, rgba(4, 5, 10, .2));
  pointer-events: none;
}

.imagine-story-bars {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 12px;
  left: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.imagine-story-bars i {
  height: 2px;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 1px 3px rgba(0,0,0,.18);
}

.imagine-story-user {
  position: absolute;
  z-index: 2;
  top: 24px;
  right: 12px;
  left: 12px;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: clamp(7px, .66vw, 10px);
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,.55);
}

.imagine-story-user > i {
  width: clamp(17px, 1.5vw, 23px);
  aspect-ratio: 1;
  flex: 0 0 auto;
  border: 2px solid rgba(255,255,255,.92);
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 3px 9px rgba(0,0,0,.24);
}

.imagine-story-user strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.imagine-phone-island {
  position: absolute;
  z-index: 4;
  top: 12px;
  left: 50%;
  width: 30%;
  height: clamp(14px, 1.35vw, 20px);
  border-radius: 999px;
  background: #08080b;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.08);
  transform: translateX(-50%);
}

.imagine-panel.is-active .imagine-phone-left {
  animation: imagine-phone-left-in 900ms var(--ease-out) 180ms both;
}

.imagine-panel.is-active .imagine-phone-right {
  animation: imagine-phone-right-in 900ms var(--ease-out) 480ms both;
}

.imagine-panel.is-active .imagine-phone-front {
  animation: imagine-phone-front-in 930ms var(--ease-out) 780ms both;
}

@keyframes imagine-phone-left-in {
  0% { opacity: 0; transform: translate(-165%, 42%) rotate(-34deg) scale(.74); }
  76% { opacity: 1; transform: translate(-92%, -49%) rotate(-12deg) scale(1.035); }
  100% { opacity: 1; transform: translate(-92%, -47%) rotate(-13deg) scale(1); }
}

@keyframes imagine-phone-right-in {
  0% { opacity: 0; transform: translate(70%, 48%) rotate(33deg) scale(.74); }
  76% { opacity: 1; transform: translate(-8%, -49%) rotate(11deg) scale(1.035); }
  100% { opacity: 1; transform: translate(-8%, -47%) rotate(12deg) scale(1); }
}

@keyframes imagine-phone-front-in {
  0% { opacity: 0; transform: translate(-50%, 82%) rotate(2deg) scale(.74); }
  76% { opacity: 1; transform: translate(-50%, -53%) rotate(-1.5deg) scale(1.04); }
  100% { opacity: 1; transform: translate(-50%, -51%) rotate(-1deg) scale(1); }
}

.imagine-reaction {
  --reaction-size: 44px;
  --reaction-rotate: 0deg;
  --float-x: 7px;
  --float-y: -11px;
  --reaction-delay: 620ms;
  position: absolute;
  z-index: 7;
  width: var(--reaction-size);
  aspect-ratio: 1;
  opacity: 0;
  filter: drop-shadow(0 11px 16px rgba(24, 30, 67, .16));
  transform: rotate(var(--reaction-rotate));
  transform-origin: center;
  will-change: transform, opacity;
}

.imagine-reaction svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  will-change: transform;
}

.imagine-reaction-heart svg {
  color: #ef334f;
  fill: currentColor;
  stroke: none;
}

.imagine-reaction-message svg {
  color: #1687ff;
  fill: none;
  stroke: #fff;
  stroke-width: 1.6;
}

.imagine-panel.is-active .imagine-reaction {
  animation: imagine-reaction-pop 620ms cubic-bezier(.2, 1.45, .35, 1) var(--reaction-delay) both;
}

.imagine-panel.is-active .imagine-reaction svg {
  animation: imagine-reaction-drift 1.65s ease-in-out calc(var(--reaction-delay) + 500ms) 2 alternate both;
}

.reaction-one {
  --reaction-size: clamp(34px, 3.4vw, 51px);
  --reaction-delay: 620ms;
  --reaction-rotate: -15deg;
  --float-x: -8px;
  top: 34%;
  left: 11%;
}

.reaction-two {
  --reaction-size: clamp(39px, 3.8vw, 58px);
  --reaction-delay: 710ms;
  --reaction-rotate: 9deg;
  --float-x: 10px;
  --float-y: -8px;
  top: 64%;
  left: 13%;
}

.reaction-three {
  --reaction-size: clamp(31px, 3vw, 46px);
  --reaction-delay: 930ms;
  --reaction-rotate: 11deg;
  --float-x: -5px;
  top: 21%;
  left: 43%;
}

.reaction-four {
  --reaction-size: clamp(38px, 3.7vw, 56px);
  --reaction-delay: 1020ms;
  --reaction-rotate: 13deg;
  --float-x: 9px;
  top: 19%;
  right: 12%;
}

.reaction-five {
  --reaction-size: clamp(34px, 3.35vw, 50px);
  --reaction-delay: 1230ms;
  --reaction-rotate: -8deg;
  --float-x: 7px;
  top: 39%;
  right: 5%;
}

.reaction-six {
  --reaction-size: clamp(36px, 3.5vw, 53px);
  --reaction-delay: 1320ms;
  --reaction-rotate: -12deg;
  --float-x: -10px;
  --float-y: -8px;
  right: 12%;
  bottom: 22%;
}

.reaction-seven {
  --reaction-size: clamp(31px, 3vw, 45px);
  --reaction-delay: 1400ms;
  --reaction-rotate: 13deg;
  --float-x: 6px;
  right: 34%;
  bottom: 13%;
}

@keyframes imagine-reaction-pop {
  0% { opacity: 0; transform: translateY(24px) rotate(var(--reaction-rotate)) scale(.15); }
  72% { opacity: 1; transform: translateY(-3px) rotate(var(--reaction-rotate)) scale(1.18); }
  100% { opacity: 1; transform: translateY(0) rotate(var(--reaction-rotate)) scale(1); }
}

@keyframes imagine-reaction-drift {
  from { transform: translate3d(0, 0, 0) rotate(-3deg); }
  to { transform: translate3d(var(--float-x), var(--float-y), 0) rotate(5deg); }
}

.imagine-views {
  position: absolute;
  z-index: 8;
  bottom: 2%;
  left: 50%;
  min-width: 188px;
  min-height: 62px;
  padding: 9px 15px 9px 10px;
  display: grid;
  grid-template-columns: 42px auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 10px;
  border: 1px solid rgba(48, 40, 78, .12);
  border-radius: 18px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 20px 55px rgba(43,35,76,.13);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  opacity: 0;
  transform: translate(-50%, 18px) scale(.92);
}

.imagine-views > span {
  grid-row: 1 / 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(140deg, rgba(24,135,255,.12), rgba(103,87,232,.14));
  color: var(--violet-dark);
}

.imagine-views svg {
  width: 19px;
  height: 19px;
}

.imagine-views strong {
  align-self: end;
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  letter-spacing: -.025em;
}

.imagine-views small {
  align-self: start;
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 720;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.imagine-panel.is-active .imagine-views {
  animation: imagine-views-in 660ms var(--ease-out) 1500ms both;
}

@keyframes imagine-views-in {
  0% { opacity: 0; transform: translate(-50%, 18px) scale(.92); }
  100% { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

@media (max-width: 1050px) {
  .imagine-layout {
    grid-template-columns: minmax(300px, .78fr) minmax(430px, 1.22fr);
    gap: 18px;
  }

  .imagine-title {
    font-size: clamp(3.2rem, 5.8vw, 5.2rem);
  }

  .imagine-visual {
    min-height: 470px;
  }
}

@media (max-width: 860px) {
  .imagine-layout {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    align-items: stretch;
    gap: 2px;
  }

  .imagine-copy,
  .imagine-title {
    max-width: 720px;
  }

  .imagine-title {
    font-size: clamp(3rem, 7.2vw, 4.4rem);
  }

  .imagine-visual {
    width: 100%;
    height: 100%;
    min-height: 0;
    justify-self: center;
  }

  .imagine-phone {
    width: clamp(135px, min(26vw, 23vh), 190px);
  }
}

@media (max-width: 720px) {
  .imagine-layout {
    padding-bottom: max(22px, env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    align-items: stretch;
    gap: 2px;
  }

  .imagine-copy {
    max-width: 560px;
  }

  .imagine-title {
    max-width: 560px;
    font-size: clamp(2.35rem, 10.4vw, 3.65rem);
    line-height: .94;
  }

  .imagine-title-lead {
    margin-bottom: .12em;
  }

  .imagine-visual {
    width: 100%;
    height: 100%;
    min-height: 0;
    justify-self: center;
  }

  .imagine-phone {
    width: clamp(110px, min(33vw, 21vh), 154px);
  }

  .imagine-phone-stage::before {
    top: 13%;
    width: 100%;
    height: 77%;
  }

  .imagine-story-bars {
    top: 9px;
    right: 8px;
    left: 8px;
    gap: 2px;
  }

  .imagine-story-user {
    top: 17px;
    right: 8px;
    left: 8px;
    gap: 5px;
    font-size: 6px;
  }

  .imagine-story-user > i {
    width: 15px;
    border-width: 1px;
  }

  .imagine-phone-frame {
    padding: 4px;
    border-radius: 24px;
  }

  .imagine-phone-screen {
    border-radius: 20px;
  }

  .imagine-phone-island {
    top: 8px;
    height: 11px;
  }

  .reaction-one { top: 29%; left: 3%; }
  .reaction-two { top: 61%; left: 3%; }
  .reaction-three { top: 17%; left: 41%; }
  .reaction-four { top: 18%; right: 1%; }
  .reaction-five { top: 48%; right: 0; }
  .reaction-six { right: 4%; bottom: 20%; }
  .reaction-seven { right: 30%; bottom: 9%; }

  .imagine-reaction {
    --reaction-size: 34px;
  }

  .imagine-views {
    bottom: 0;
    min-width: 162px;
    min-height: 51px;
    padding: 7px 11px 7px 7px;
    grid-template-columns: 36px auto;
    column-gap: 8px;
    border-radius: 15px;
  }

  .imagine-views > span {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }

  .imagine-views strong {
    font-size: 15px;
  }

  .imagine-views small {
    font-size: 7px;
  }
}

@media (max-width: 390px), (max-width: 720px) and (max-height: 680px) {
  .imagine-title {
    font-size: clamp(2.05rem, 9.4vw, 2.8rem);
  }

  .imagine-phone {
    width: clamp(102px, min(31vw, 20vh), 132px);
  }

  .reaction-two,
  .reaction-five {
    display: none;
  }

  .imagine-reaction {
    --reaction-size: 29px;
  }

  .imagine-views {
    min-width: 148px;
    min-height: 46px;
    grid-template-columns: 32px auto;
  }

  .imagine-views > span {
    width: 32px;
    height: 32px;
  }
}

@media (max-height: 760px) and (min-width: 721px) {
  .imagine-visual {
    height: min(68vh, 540px);
    min-height: 410px;
  }

  .imagine-phone {
    width: clamp(150px, min(15vw, 24vh), 205px);
  }

  .imagine-title {
    font-size: clamp(3rem, 5.1vw, 4.85rem);
  }

  .imagine-views {
    min-height: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .imagine-phone,
  .imagine-reaction,
  .imagine-views {
    opacity: 1;
    animation: none !important;
  }

  .imagine-phone-left {
    transform: translate(-92%, -47%) rotate(-13deg);
  }

  .imagine-phone-right {
    transform: translate(-8%, -47%) rotate(12deg);
  }

  .imagine-phone-front {
    transform: translate(-50%, -51%) rotate(-1deg);
  }

  .imagine-reaction {
    transform: rotate(var(--reaction-rotate));
  }

  .imagine-reaction svg {
    animation: none !important;
    transform: none;
  }

  .imagine-views {
    transform: translate(-50%, 0) scale(1);
  }
}

/* La presentazione procede con lo scroll-snap: nessun indicatore globale. */
.section-navigation {
  display: none !important;
}

/* Slide 4 — da una buona esperienza al passaparola. */
.process-panel {
  background:
    radial-gradient(circle at 78% 18%, rgba(24, 135, 255, .10), transparent 25%),
    radial-gradient(circle at 92% 86%, rgba(220, 75, 197, .08), transparent 25%),
    linear-gradient(145deg, #fff 0%, #fbfbff 55%, #f6f8ff 100%);
}

.process-panel .ambient-ring {
  top: 58%;
  left: 77%;
  width: min(58vw, 840px);
  border-color: rgba(var(--scenario-accent-rgb), .07);
  opacity: .8;
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(330px, .78fr) minmax(520px, 1.22fr);
  align-items: center;
  gap: clamp(48px, 7vw, 112px);
}

.process-heading {
  position: relative;
  z-index: 4;
  max-width: 560px;
}

.process-heading h2 {
  max-width: 540px;
  margin-bottom: 22px;
  font-size: clamp(4.25rem, 6.8vw, 7.5rem);
  line-height: .89;
  letter-spacing: -.07em;
}

.process-heading h2 > span {
  background: linear-gradient(125deg, #1687ff, var(--violet) 56%, #df3d79);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.process-lead {
  max-width: 430px;
  margin-bottom: 27px;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.45;
}

.process-lead strong {
  color: var(--ink-soft);
  font-weight: 760;
}

.process-reward-note {
  width: min(100%, 410px);
  min-height: 58px;
  margin-top: 12px;
  padding: 7px 7px 7px 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(var(--scenario-accent-rgb), .14);
  border-radius: 20px;
  background: rgba(255,255,255,.75);
  box-shadow: 0 18px 50px rgba(43,35,76,.08);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
}

.process-reward-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(24,135,255,.12), rgba(var(--scenario-accent-rgb), .13));
  color: var(--scenario-accent);
}

.process-reward-icon svg {
  width: 21px;
  height: 21px;
}

.process-reward-note > span:nth-child(2) {
  min-width: 0;
}

.process-reward-note > span:first-child {
  min-width: 0;
  color: var(--ink-soft);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
}

.process-reward-note small,
.process-reward-note strong {
  display: block;
}

.process-reward-note small {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.process-reward-note strong {
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 22px;
  line-height: 1.25;
  text-overflow: ellipsis;
}

.process-info-button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(var(--scenario-accent-rgb), .18);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 9px 24px rgba(43,35,76,.08);
  color: var(--scenario-accent);
  cursor: pointer;
  overflow: visible;
  padding: 0 0 3px;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.4;
  display: grid;
  place-items: center;
  transition: transform 250ms var(--ease-out), background 220ms ease, box-shadow 220ms ease;
  animation: process-info-shake 1.8s ease-in-out infinite;
}

.process-external-reward {
  width: 100%;
  max-width: none;
  margin: 12px 0 0;
  overflow: visible;
}

@keyframes process-info-shake {
  0%, 68%, 100% { transform: rotate(0); }
  74% { transform: rotate(-9deg) scale(1.06); }
  80% { transform: rotate(9deg) scale(1.06); }
  86% { transform: rotate(-6deg); }
  92% { transform: rotate(6deg); }
}

.process-info-button:hover {
  background: rgba(var(--scenario-accent-rgb), .07);
  box-shadow: 0 13px 30px rgba(var(--scenario-accent-rgb), .13);
  transform: translateY(-2px) rotate(5deg);
}

.process-timeline {
  position: relative;
  width: min(100%, 720px);
  height: min(62vh, 570px);
  min-height: 470px;
  justify-self: end;
}

.process-flow {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 10px 0;
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 0;
  list-style: none;
}

.process-line {
  position: absolute;
  z-index: 1;
  top: 13%;
  bottom: 13%;
  left: 79px;
  width: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(67, 58, 102, .10);
}

.process-line > i {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(180deg, #1687ff 0%, var(--violet) 54%, #e84273 100%);
  box-shadow: 0 0 13px rgba(var(--scenario-accent-rgb), .35);
  transform: scaleY(1);
  transform-origin: top;
}

.js .process-line > i {
  transform: scaleY(0);
}

.process-panel.is-active .process-line > i {
  animation: process-line-grow 1320ms var(--ease-out) 260ms both;
}

@keyframes process-line-grow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

.process-step {
  position: relative;
  z-index: 2;
  min-height: 0;
  padding: 8px 22px 8px 0;
  display: grid;
  grid-template-columns: 34px 58px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(43,35,76,.07);
}

.process-step:nth-child(3),
.process-step:last-child {
  border-bottom: 0;
}

.js .process-step {
  opacity: 0;
  transform: translate3d(34px, 0, 0) scale(.985);
}

.process-panel.is-active .process-step {
  animation: process-step-in 760ms var(--ease-out) var(--process-delay) both;
}

@keyframes process-step-in {
  0% { opacity: 0; transform: translate3d(34px, 0, 0) scale(.985); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

.process-number {
  color: rgba(var(--scenario-accent-rgb), .72);
  font-size: 15px;
  font-weight: 850;
  letter-spacing: .09em;
  text-align: right;
}

.process-step-icon {
  position: relative;
  z-index: 3;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--scenario-accent-rgb), .15);
  border-radius: 19px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 13px 34px rgba(43,35,76,.09);
  color: var(--scenario-accent);
}

.process-step-icon svg {
  width: 25px;
  height: 25px;
}

.process-panel.is-active .process-step-icon {
  animation: process-icon-pop 650ms cubic-bezier(.2, 1.38, .35, 1) calc(var(--process-delay) + 130ms) both;
}

@keyframes process-icon-pop {
  0% { transform: scale(.72) rotate(-5deg); }
  68% { transform: scale(1.09) rotate(2deg); }
  100% { transform: scale(1) rotate(0); }
}

.process-step-qr .process-step-icon::after {
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(24,135,255,.45);
  border-radius: inherit;
  content: "";
  opacity: 0;
  transform: scale(1);
}

.process-panel.is-active .process-step-qr .process-step-icon::after {
  animation: process-qr-pulse 900ms ease-out calc(var(--process-delay) + 480ms) both;
}

@keyframes process-qr-pulse {
  0% { opacity: .75; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.42); }
}

.process-step-copy {
  min-width: 0;
  display: block;
}

.process-step-copy small,
.process-step-copy strong,
.process-step-copy em {
  display: block;
}

.process-step-copy small {
  margin-bottom: 3px;
  color: var(--scenario-accent);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.process-step-copy strong {
  color: var(--ink);
  font-size: clamp(28px, 2vw, 33px);
  line-height: 1.15;
  letter-spacing: -.025em;
}

.process-step-copy em {
  max-width: 470px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 20px;
  font-style: normal;
  line-height: 1.38;
}

.process-step-result {
  isolation: isolate;
}

.process-step-result::before {
  position: absolute;
  z-index: -1;
  inset: 3px 0;
  border: 1px solid rgba(var(--scenario-accent-rgb), .18);
  border-radius: 25px;
  background:
    radial-gradient(circle at 88% 12%, rgba(255,255,255,.8), transparent 30%),
    linear-gradient(120deg, rgba(24,135,255,.12), rgba(var(--scenario-accent-rgb), .12) 57%, rgba(232,66,115,.10));
  box-shadow: 0 22px 60px rgba(var(--scenario-accent-rgb), .11);
  content: "";
  transform: scaleX(1);
  transform-origin: left center;
}

.js .process-step-result::before {
  opacity: 0;
  transform: scaleX(.72);
}

.process-panel.is-active .process-step-result::before {
  animation: process-result-in 800ms var(--ease-out) calc(var(--process-delay) + 100ms) both;
}

@keyframes process-result-in {
  from { opacity: 0; transform: scaleX(.72); }
  to { opacity: 1; transform: scaleX(1); }
}

.process-step-result .process-step-icon {
  border-color: rgba(255,255,255,.5);
  background: linear-gradient(145deg, #1687ff, var(--scenario-accent) 58%, #dd477b);
  box-shadow: 0 16px 38px rgba(var(--scenario-accent-rgb), .23);
  color: #fff;
}

.process-step-result .process-step-copy strong {
  font-size: clamp(30px, 2.2vw, 36px);
}

.process-spark {
  position: absolute;
  z-index: 5;
  width: 34px;
  height: 34px;
  opacity: 1;
  filter: drop-shadow(0 9px 13px rgba(31, 29, 66, .14));
}

.js .process-spark {
  opacity: 0;
}

.process-spark svg {
  width: 100%;
  height: 100%;
}

.process-spark-heart {
  top: -10px;
  right: 71px;
}

.process-spark-heart svg {
  color: #ef334f;
  fill: currentColor;
  stroke: none;
}

.process-spark-message {
  right: 18px;
  bottom: -8px;
  transform: rotate(8deg);
}

.process-spark-message svg {
  color: #1687ff;
  fill: none;
  stroke: #fff;
  stroke-width: 1.6;
}

.process-panel.is-active .process-spark {
  animation: process-spark-pop 600ms cubic-bezier(.2, 1.45, .35, 1) calc(var(--process-delay) + 570ms) both;
}

.process-panel.is-active .process-spark svg {
  animation: process-spark-drift 1.5s ease-in-out calc(var(--process-delay) + 900ms) 2 alternate both;
}

@keyframes process-spark-pop {
  0% { opacity: 0; transform: translateY(14px) rotate(8deg) scale(.2); }
  72% { opacity: 1; transform: translateY(-2px) rotate(-3deg) scale(1.15); }
  100% { opacity: 1; transform: translateY(0) rotate(0) scale(1); }
}

@keyframes process-spark-drift {
  from { transform: translate3d(0,0,0) rotate(-3deg); }
  to { transform: translate3d(6px,-8px,0) rotate(5deg); }
}

@media (max-width: 1180px) {
  .process-layout {
    grid-template-columns: minmax(300px, .72fr) minmax(470px, 1.28fr);
    gap: 34px;
  }

  .process-heading h2 {
    font-size: clamp(4rem, 6.6vw, 6.2rem);
  }
}

@media (max-width: 900px) {
  .process-layout {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    align-items: stretch;
    gap: 10px;
  }

  .process-heading {
    max-width: none;
    display: block;
  }

  .process-heading .eyebrow {
    grid-area: eyebrow;
  }

  .process-heading h2 {
    max-width: none;
    margin-bottom: 10px;
    font-size: clamp(3.35rem, 7.2vw, 4.5rem);
  }

  .process-lead {
    grid-area: lead;
    margin-bottom: 0;
    font-size: 18px;
  }

  .process-reward-note {
    grid-area: note;
    align-self: center;
  }

  .process-timeline {
    width: 100%;
    height: 100%;
    min-height: 440px;
    justify-self: stretch;
  }

  .process-step-copy strong {
    font-size: 27px;
  }
}

@media (max-width: 720px) {
  .process-layout {
    padding-bottom: max(20px, env(safe-area-inset-bottom));
    gap: 8px;
  }

  .process-heading {
    display: block;
  }

  .process-heading .eyebrow {
    margin-bottom: 7px;
    font-size: 13px;
  }

  .process-heading h2 {
    margin-bottom: 8px;
    font-size: clamp(2.65rem, 11vw, 3.4rem);
    line-height: .92;
  }

  .process-lead {
    margin-bottom: 11px;
    font-size: 21px;
  }

  .process-reward-note {
    width: 100%;
    min-height: 54px;
    margin-top: 7px;
    padding: 4px 4px 4px 10px;
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 8px;
    border-radius: 16px;
  }

  .process-reward-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .process-reward-icon svg {
    width: 18px;
    height: 18px;
  }

  .process-reward-note small {
    font-size: 15px;
  }

  .process-reward-note strong {
    font-size: 20px;
  }

  .process-reward-note > span:first-child {
    font-size: 18px;
  }

  .process-info-button {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }

  .process-timeline {
    width: 100%;
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-self: stretch;
  }

  .process-external-reward {
    width: 100%;
    max-width: none;
    margin: 10px 0 0;
  }

  .process-flow {
    min-height: 0;
    flex: 1 1 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
  }

  .process-flow::before {
    position: absolute;
    z-index: 1;
    top: 12.5%;
    bottom: 12.5%;
    left: 49px;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, #1687ff 0%, var(--violet) 54%, #e84273 100%);
    box-shadow: 0 0 13px rgba(var(--scenario-accent-rgb), .25);
    content: "";
  }

  .process-line {
    display: none;
  }

  .process-step {
    flex: 1 1 0;
    padding: 3px 7px 3px 0;
    grid-template-columns: 20px 44px minmax(0, 1fr);
    gap: 7px;
  }

  .process-number {
    font-size: 14px;
  }

  .process-step-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .process-step-icon svg {
    width: 20px;
    height: 20px;
  }

  .process-step-copy small {
    margin-bottom: 1px;
    font-size: 14px;
  }

  .process-step-copy strong,
  .process-step-result .process-step-copy strong {
    font-size: 27px;
    line-height: 1.12;
  }

  .process-step-copy em {
    max-width: none;
    margin-top: 2px;
    display: -webkit-box;
    overflow: hidden;
    font-size: 17px;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .process-step-result::before {
    inset: 2px 0;
    border-radius: 18px;
  }

  .process-step-result {
    flex-grow: 1.12;
    padding-right: 44px;
  }

  .process-spark {
    width: 25px;
    height: 25px;
  }

  .process-spark-heart {
    top: -4px;
    right: 44px;
  }

  .process-spark-message {
    right: 5px;
    bottom: -2px;
  }
}

@media (max-width: 720px) and (max-height: 680px) {
  .process-layout {
    padding-top: calc(var(--header-height) + env(safe-area-inset-top) + 10px);
    gap: 4px;
  }

  .process-heading .eyebrow {
    display: none;
  }

  .process-heading h2 {
    margin-bottom: 5px;
    font-size: clamp(2.15rem, 9.5vw, 2.75rem);
  }

  .process-lead {
    margin-bottom: 6px;
    font-size: 18px;
  }

  .process-reward-note {
    min-height: 48px;
    margin-top: 4px;
  }

  .process-reward-icon {
    width: 34px;
    height: 34px;
  }

  .process-step {
    grid-template-columns: 18px 39px minmax(0, 1fr);
    gap: 6px;
  }

  .process-line {
    left: 43.5px;
  }

  .process-step-icon {
    width: 39px;
    height: 39px;
    border-radius: 12px;
  }

  .process-step-copy strong,
  .process-step-result .process-step-copy strong {
    font-size: 24px;
  }

  .process-step-copy em {
    font-size: 16px;
  }

  .process-spark-message {
    display: none;
  }
}

@media (max-height: 760px) and (min-width: 721px) {
  .process-heading h2 {
    margin-bottom: 13px;
    font-size: clamp(3.6rem, 6vw, 5.35rem);
  }

  .process-lead {
    margin-bottom: 17px;
    font-size: 14px;
  }

  .process-reward-note {
    min-height: 62px;
  }

  .process-timeline {
    height: min(62vh, 490px);
    min-height: 390px;
  }

  .process-step-icon {
    width: 52px;
    height: 52px;
    border-radius: 17px;
  }

  .process-step {
    grid-template-columns: 34px 52px minmax(0, 1fr);
  }

  .process-line {
    left: 76px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .process-line > i,
  .process-step,
  .process-step-icon,
  .process-step-result::before,
  .process-spark,
  .process-spark svg {
    opacity: 1;
    animation: none !important;
    transform: none;
  }

  .process-info-button {
    animation: none !important;
  }

  .process-line > i {
    transform: scaleY(1);
  }
}

/* CTA ad alta intenzione — accompagna direttamente ai pacchetti dalle slide 3–6. */
.has-convinced-cta > .section-shell {
  padding-bottom: max(88px, calc(env(safe-area-inset-bottom) + 76px));
}

.convinced-cta-wrap {
  position: absolute;
  z-index: 25;
  right: 0;
  bottom: max(18px, env(safe-area-inset-bottom));
  left: 0;
  display: flex;
  justify-content: center;
  padding-inline: 18px;
  pointer-events: none;
}

.convinced-cta {
  position: relative;
  min-height: 50px;
  padding: 0 18px 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .46);
  border-radius: 999px;
  background: var(--gradient);
  box-shadow: 0 15px 38px rgba(96, 73, 220, .25), inset 0 1px rgba(255, 255, 255, .24);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 810;
  letter-spacing: -.01em;
  pointer-events: auto;
  transition: transform 240ms var(--ease-out), box-shadow 240ms ease, filter 240ms ease;
}

.convinced-cta::before {
  position: absolute;
  top: -80%;
  left: -36px;
  width: 30px;
  height: 260%;
  background: rgba(255, 255, 255, .3);
  content: "";
  pointer-events: none;
  transform: rotate(20deg);
  transition: left 620ms var(--ease-out);
}

.convinced-cta span,
.convinced-cta svg {
  position: relative;
  z-index: 1;
}

.convinced-cta svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  transition: transform 240ms var(--ease-out);
}

.convinced-cta:focus-visible {
  outline: 3px solid rgba(var(--scenario-accent-rgb), .25);
  outline-offset: 4px;
}

@media (hover: hover) {
  .convinced-cta:hover {
    box-shadow: 0 20px 48px rgba(96, 73, 220, .34), inset 0 1px rgba(255, 255, 255, .28);
    filter: saturate(1.08);
    transform: translateY(-3px);
  }

  .convinced-cta:hover::before {
    left: calc(100% + 18px);
  }

  .convinced-cta:hover svg {
    transform: translateX(3px);
  }
}

@media (max-width: 720px) {
  .has-convinced-cta > .section-shell {
    padding-bottom: max(74px, calc(env(safe-area-inset-bottom) + 64px));
  }

  .convinced-cta-wrap {
    bottom: max(10px, env(safe-area-inset-bottom));
    padding-inline: 0;
  }

  .convinced-cta {
    width: min(100%, 320px);
    min-height: 46px;
    padding-inline: 19px 17px;
    font-size: 12px;
  }

  .value-panel.has-convinced-cta .views-example,
  .service-panel.has-convinced-cta .service-timeline,
  .service-panel.has-convinced-cta .report-preview {
    bottom: max(76px, calc(env(safe-area-inset-bottom) + 68px));
  }
}

@media (max-width: 720px) and (max-height: 680px) {
  .has-convinced-cta > .section-shell {
    padding-bottom: max(64px, calc(env(safe-area-inset-bottom) + 56px));
  }

  .convinced-cta-wrap {
    bottom: max(7px, env(safe-area-inset-bottom));
  }

  .convinced-cta {
    min-height: 42px;
  }

  .value-panel.has-convinced-cta .views-example {
    bottom: max(64px, calc(env(safe-area-inset-bottom) + 56px));
  }

  .service-panel.has-convinced-cta .service-timeline,
  .service-panel.has-convinced-cta .report-preview {
    bottom: auto;
  }
}

@media (max-height: 760px) and (min-width: 721px) {
  .has-convinced-cta > .section-shell {
    padding-bottom: 74px;
  }

  .convinced-cta-wrap {
    bottom: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .convinced-cta,
  .convinced-cta::before,
  .convinced-cta svg {
    transition: none;
  }
}

/* Slide 4 — CTA e popup che spiegano il vantaggio economico per i clienti. */
.process-reward-cta {
  color: inherit;
  cursor: pointer;
  text-align: left;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 220ms ease, background 220ms ease, box-shadow 260ms ease;
}

.process-reward-cta:hover {
  border-color: rgba(var(--scenario-accent-rgb), .28);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 22px 58px rgba(var(--scenario-accent-rgb), .13);
}

.process-reward-cta:focus-visible {
  outline: 3px solid rgba(var(--scenario-accent-rgb), .23);
  outline-offset: 4px;
}

.process-reward-cta .process-info-button {
  display: grid;
  place-items: center;
  pointer-events: none;
}

.process-reward-cta:hover .process-info-button {
  background: rgba(var(--scenario-accent-rgb), .07);
  box-shadow: 0 13px 30px rgba(var(--scenario-accent-rgb), .13);
  transform: translateY(-2px) rotate(5deg);
}

.process-reward-cta strong {
  overflow: visible;
  text-overflow: clip;
}

.reward-explainer {
  width: min(calc(100% - 36px), 640px);
  max-height: calc(100svh - 32px);
  padding: 34px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(var(--scenario-accent-rgb), .24) transparent;
  scrollbar-width: thin;
}

.reward-explainer .dialog-close {
  z-index: 5;
  transition: background 200ms ease, color 200ms ease, transform 220ms var(--ease-out);
}

.reward-explainer .dialog-close:hover {
  background: rgba(var(--scenario-accent-rgb), .1);
  color: var(--scenario-accent);
  transform: rotate(4deg);
}

.reward-explainer .dialog-close:focus-visible {
  outline: 3px solid rgba(var(--scenario-accent-rgb), .22);
  outline-offset: 3px;
}

.reward-dialog-header {
  padding-right: 46px;
}

.reward-dialog-header .eyebrow {
  margin-bottom: 8px;
}

.reward-explainer .reward-dialog-header h2 {
  max-width: 520px;
  margin-bottom: 12px;
  font-size: clamp(2rem, 4.3vw, 2.55rem);
  letter-spacing: -.045em;
  line-height: 1.02;
}

.reward-dialog-header > p:last-child {
  max-width: 545px;
  margin: 0 0 22px;
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 1.5;
}

.reward-budget-flow {
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 14px;
  list-style: none;
}

.reward-budget-step {
  position: relative;
  min-width: 0;
  padding: 14px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(247, 247, 251, .94), rgba(255, 255, 255, .96));
}

.reward-budget-step:first-child::after {
  position: absolute;
  z-index: 3;
  bottom: -22px;
  left: 23px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--scenario-accent-rgb), .16);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 18px rgba(43, 35, 76, .08);
  color: var(--scenario-accent);
  content: "↓";
  font-size: 14px;
  font-weight: 850;
}

.reward-budget-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--gradient-soft);
  color: var(--scenario-accent);
}

.reward-budget-icon svg {
  width: 21px;
  height: 21px;
}

.reward-budget-icon-success {
  background: rgba(21, 150, 107, .1);
  color: var(--success);
}

.reward-budget-copy,
.reward-budget-copy small,
.reward-budget-copy strong,
.reward-budget-copy > span {
  min-width: 0;
  display: block;
}

.reward-budget-copy small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 820;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.reward-budget-copy strong {
  margin: 2px 0 3px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
}

.reward-budget-copy > span {
  color: var(--muted-strong);
  font-size: 10px;
  line-height: 1.4;
}

.reward-limit-example {
  min-width: 88px;
  padding: 9px 12px;
  border: 1px solid rgba(var(--scenario-accent-rgb), .1);
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.reward-limit-example small,
.reward-limit-example strong {
  display: block;
}

.reward-limit-example small {
  color: var(--muted);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.reward-limit-example strong {
  color: var(--ink);
  font-size: 21px;
  letter-spacing: -.04em;
}

.reward-verified-chip {
  padding: 7px 9px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  background: rgba(21, 150, 107, .09);
  color: #117a59;
  font-size: 7px;
  font-weight: 800;
  white-space: nowrap;
}

.reward-verified-chip svg {
  width: 13px;
  height: 13px;
}

.reward-rate {
  margin-bottom: 18px;
  padding: 17px 18px;
  border: 1px solid rgba(21, 150, 107, .15);
  border-radius: 22px;
  background:
    radial-gradient(circle at 14% 10%, rgba(21, 150, 107, .09), transparent 34%),
    linear-gradient(135deg, #f6fff9, #f7faff);
  text-align: center;
}

.reward-rate > p:first-child {
  margin: 0 0 9px;
  color: var(--muted-strong);
  font-size: 9px;
  font-weight: 820;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.reward-rate-equation {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.reward-rate-value {
  min-width: 108px;
  padding: 7px 12px;
  display: grid;
  border-radius: 15px;
  background: rgba(125, 206, 115, .19);
}

.reward-rate-value strong {
  color: var(--ink);
  font-size: clamp(1.8rem, 4vw, 2.35rem);
  letter-spacing: -.055em;
  line-height: 1;
}

.reward-rate-value small {
  margin-top: 4px;
  color: #477148;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.reward-rate-every {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.reward-rate-note {
  max-width: 470px;
  margin: 0 auto 10px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.reward-rate-example {
  width: fit-content;
  margin: 0 auto;
  padding: 6px 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(var(--scenario-accent-rgb), .11);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: var(--muted-strong);
  font-size: 8px;
}

.reward-rate-example svg {
  width: 13px;
  height: 13px;
  color: var(--scenario-accent);
}

.reward-rate-example strong {
  color: var(--ink);
}

.reward-explainer .secondary-button {
  min-height: 48px;
  border-color: rgba(var(--scenario-accent-rgb), .18);
  background: linear-gradient(135deg, rgba(var(--scenario-accent-rgb), .06), rgba(255, 255, 255, .96));
}

.reward-explainer[open] .reward-budget-step,
.reward-explainer[open] .reward-rate {
  animation: reward-dialog-item-in 520ms var(--ease-out) both;
}

.reward-explainer[open] .reward-budget-step:nth-child(2) {
  animation-delay: 90ms;
}

.reward-explainer[open] .reward-rate {
  animation-delay: 170ms;
}

.reward-explainer[open] .reward-budget-step:first-child::after {
  animation: reward-dialog-arrow 1.7s ease-in-out 520ms infinite;
}

@keyframes reward-dialog-item-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes reward-dialog-arrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

@media (max-width: 520px) {
  .reward-explainer {
    width: calc(100% - 20px);
    max-height: calc(100svh - 20px);
    padding: 26px 17px max(17px, env(safe-area-inset-bottom));
    border-radius: 24px;
  }

  .reward-explainer .dialog-close {
    top: 10px;
    right: 10px;
  }

  .reward-dialog-header {
    padding-right: 35px;
  }

  .reward-explainer .reward-dialog-header h2 {
    margin-bottom: 9px;
    font-size: 28px;
  }

  .reward-dialog-header > p:last-child {
    margin-bottom: 16px;
    font-size: 12px;
  }

  .reward-budget-flow {
    margin-bottom: 14px;
    gap: 12px;
  }

  .reward-budget-step {
    padding: 11px;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 9px;
    border-radius: 17px;
  }

  .reward-budget-step:first-child::after {
    bottom: -20px;
    left: 17px;
    width: 27px;
    height: 27px;
  }

  .reward-budget-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .reward-budget-copy strong {
    font-size: 13px;
  }

  .reward-budget-copy > span {
    font-size: 9px;
  }

  .reward-limit-example,
  .reward-verified-chip {
    width: 100%;
    min-width: 0;
    grid-column: 2;
  }

  .reward-limit-example {
    padding: 6px 9px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    text-align: left;
  }

  .reward-limit-example strong {
    font-size: 17px;
  }

  .reward-verified-chip {
    justify-content: center;
  }

  .reward-rate {
    margin-bottom: 13px;
    padding: 14px 9px;
    border-radius: 18px;
  }

  .reward-rate-equation {
    gap: 7px;
  }

  .reward-rate-value {
    min-width: 91px;
    padding: 6px 8px;
  }

  .reward-rate-value strong {
    font-size: 28px;
  }

  .reward-rate-note {
    padding-inline: 5px;
  }
}

@media (max-width: 520px) and (max-height: 680px) {
  .reward-explainer {
    padding-top: 21px;
  }

  .reward-dialog-header .eyebrow {
    margin-bottom: 5px;
    font-size: 9px;
  }

  .reward-explainer .reward-dialog-header h2 {
    font-size: 25px;
  }

  .reward-budget-copy > span {
    line-height: 1.3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reward-explainer[open] .reward-budget-step,
  .reward-explainer[open] .reward-rate,
  .reward-explainer[open] .reward-budget-step:first-child::after {
    animation: none;
  }
}

/* Slide 5 — solo Story, totale, budget e messaggio conclusivo. */
.value-panel .value-layout {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
  align-items: center;
  align-content: center;
  gap: clamp(22px, 3vh, 34px);
}

.value-panel .value-copy {
  text-align: center;
}

.value-panel .value-copy h2 {
  max-width: 1050px;
  margin-inline: auto;
  font-size: clamp(2.85rem, 4.25vw, 4.15rem);
  line-height: .98;
}

.value-cost-card {
  width: min(100%, 940px);
  align-self: center;
  justify-self: center;
  padding: clamp(24px, 2.8vw, 32px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.value-cost-card::after {
  display: none;
}

.value-closing-statement {
  width: min(100%, 1050px);
  margin: 0 auto;
  color: var(--ink);
  font-size: clamp(2.85rem, 4.25vw, 4.15rem);
  font-weight: 850;
  letter-spacing: -.065em;
  line-height: .98;
  text-align: center;
}

.marker-highlight {
  position: relative;
  z-index: 0;
  display: inline-block;
  isolation: isolate;
  white-space: nowrap;
}

.marker-highlight::before {
  position: absolute;
  z-index: -1;
  right: -.08em;
  bottom: .01em;
  left: -.08em;
  height: .34em;
  border-radius: .08em .18em .1em .16em;
  background: linear-gradient(90deg, rgba(255, 111, 183, .32), rgba(218, 72, 151, .48) 54%, rgba(255, 111, 183, .3));
  box-shadow: 0 .03em 0 rgba(218, 72, 151, .08);
  content: "";
  transform: rotate(-1.2deg) skewX(-5deg);
  transform-origin: left center;
}

.value-cost-card .views-list {
  height: clamp(148px, 18vh, 160px);
  gap: clamp(12px, 1.7vh, 16px);
  overflow: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.value-cost-card .views-list::-webkit-scrollbar {
  display: none;
}

.value-cost-card .views-list.has-live-overflow {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 13%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 13%, #000 100%);
}

.value-cost-card .view-row {
  position: relative;
  min-height: 20px;
  grid-template-columns: minmax(132px, 160px) minmax(180px, 1fr) 92px;
  gap: clamp(12px, 1.8vw, 22px);
}

.view-row.is-live-added {
  animation: live-story-enter 620ms var(--ease-out) both;
}

.view-row.is-rapid-growth > i b {
  filter: brightness(1.12) saturate(1.18);
  box-shadow: 0 0 15px rgba(var(--scenario-accent-rgb), .32);
}

.view-row.is-rapid-growth > strong {
  color: var(--scenario-accent);
}

.value-panel.counters-played .view-row > i b {
  transition: width 650ms var(--ease-out), filter 240ms ease, box-shadow 240ms ease;
}

.view-row.is-live-updated > i b {
  filter: brightness(1.12) saturate(1.16);
  box-shadow: 0 0 14px rgba(var(--scenario-accent-rgb), .34);
}

.view-row.is-live-updated > strong {
  animation: live-view-count-pop 620ms var(--ease-out) both;
}

.live-view-heart {
  position: absolute;
  z-index: 4;
  width: var(--heart-size, 15px);
  height: var(--heart-size, 15px);
  display: grid;
  place-items: center;
  color: var(--scenario-secondary);
  filter: drop-shadow(0 5px 8px rgba(var(--scenario-accent-rgb), .24));
  font-size: var(--heart-size, 15px);
  line-height: 1;
  pointer-events: none;
  transform-origin: center;
  animation: live-view-heart-rise 1.35s cubic-bezier(.18, .8, .25, 1) both;
}

@keyframes live-view-count-pop {
  0%, 100% {
    color: var(--ink-soft);
    transform: translateY(0) scale(1);
  }
  34% {
    color: var(--scenario-accent);
    transform: translateY(-2px) scale(1.08);
  }
}

@keyframes live-story-enter {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(.985);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes live-view-heart-rise {
  0% {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 6px)) scale(.45) rotate(-9deg);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--heart-drift, 0px)), -48px) scale(1.18) rotate(12deg);
  }
}

.story-person {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.story-person small {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 8px;
  font-weight: 760;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.view-row .story-person strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.value-cost-card .invoice-card {
  margin-top: clamp(18px, 2.5vh, 25px);
  padding: 16px 18px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
}

.invoice-views strong {
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}

.budget-spent {
  min-width: 132px;
  padding: 9px 13px;
  border-radius: 14px;
  background: var(--ink);
  box-shadow: 0 12px 26px rgba(23, 21, 31, .15);
  text-align: right;
}

.invoice-card .budget-spent small {
  color: rgba(255, 255, 255, .62);
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.invoice-card .budget-spent strong {
  color: #fff;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  .value-panel.counters-played .view-row > i b {
    transition: none;
  }

  .view-row.is-live-updated > strong {
    animation: none;
  }

  .view-row.is-live-added {
    animation: none;
  }

  .value-cost-card .views-list {
    scroll-behavior: auto;
  }

  .live-view-heart {
    display: none;
  }
}

/* Pacchetti — prezzi e quantità dei Totem sempre leggibili. */
.plan-price {
  margin: -2px 0 14px;
  padding-bottom: 13px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.plan-price strong {
  color: var(--ink);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 850;
  letter-spacing: -.065em;
  line-height: .95;
  white-space: nowrap;
}

.plan-price strong span {
  margin-left: 1px;
  font-size: .55em;
  letter-spacing: -.03em;
}

.plan-price small {
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(var(--scenario-accent-rgb), .08);
  color: var(--scenario-accent);
  font-size: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.plan-tag-recommended {
  border-color: transparent;
  background: var(--gradient);
  box-shadow: 0 8px 20px rgba(var(--scenario-accent-rgb), .2);
  color: #fff;
  letter-spacing: .045em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .value-panel .value-layout {
    display: grid;
    align-content: center;
    gap: clamp(16px, 2.8vh, 24px);
  }

  .value-panel .value-copy {
    text-align: left;
  }

  .value-panel .value-copy h2 {
    margin-inline: 0;
    font-size: clamp(2.35rem, 10.8vw, 3.35rem);
  }

  .value-cost-card {
    position: relative;
    inset: auto;
    width: 100%;
    padding: clamp(16px, 4.8vw, 21px);
    border-radius: 23px;
  }

  .value-cost-card .views-list {
    height: 150px;
    gap: 11px;
  }

  .value-cost-card .view-row {
    grid-template-columns: minmax(80px, 104px) minmax(0, 1fr) 72px;
    gap: 8px;
  }

  .story-person {
    display: grid;
    gap: 1px;
  }

  .story-person small {
    font-size: 6px;
  }

  .view-row .story-person strong {
    font-size: 11px;
  }

  .value-closing-statement {
    font-size: clamp(2.35rem, 10.8vw, 3.35rem);
    text-align: left;
  }

  .value-cost-card .invoice-card {
    margin-top: 15px;
    padding: 11px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px;
  }

  .budget-spent {
    min-width: 104px;
    padding: 7px 9px;
    border-radius: 11px;
  }

  .invoice-card .budget-spent strong {
    font-size: 12px;
  }

  .plan-price {
    margin-bottom: 11px;
    padding-bottom: 10px;
  }

  .plan-price strong {
    font-size: 32px;
  }

  .plan-price small {
    padding: 5px 7px;
    font-size: 7px;
  }
}

@media (max-width: 720px) and (max-height: 680px) {
  .value-panel .value-layout {
    gap: 10px;
  }

  .value-panel .value-copy h2 {
    font-size: clamp(2rem, 9.7vw, 2.75rem);
  }

  .value-cost-card {
    padding: 11px 13px;
  }

  .value-closing-statement {
    font-size: clamp(2rem, 9.7vw, 2.75rem);
  }

  .value-cost-card .views-list {
    height: 132px;
    gap: 6px;
  }

  .value-cost-card .view-row {
    grid-template-columns: 78px minmax(0, 1fr) 68px;
  }

  .view-row .story-person strong {
    font-size: 10px;
  }

  .value-cost-card .invoice-card {
    margin-top: 8px;
    padding: 7px;
  }

  .plan-price {
    margin-bottom: 6px;
    padding-bottom: 6px;
  }

  .plan-price strong {
    font-size: 27px;
  }

  .plan-price small {
    font-size: 6px;
  }
}

@media (max-height: 760px) and (min-width: 721px) {
  .value-panel .value-layout {
    gap: 13px;
  }

  .value-panel .value-copy h2 {
    font-size: clamp(2.65rem, 4.15vw, 3.45rem);
  }

  .value-closing-statement {
    font-size: clamp(2.65rem, 4.15vw, 3.45rem);
  }

  .value-cost-card {
    padding: 15px 19px;
  }

  .value-cost-card .views-list {
    height: 132px;
    gap: 8px;
  }

}

/* Hero photography carousel
 * The supplied assets already include the iPhone and Instagram UI. The
 * original shell is neutralised so the five PNGs remain crisp while the
 * stepped 3D carousel moves between its five positions. */
.hero-phones {
  width: min(100%, 680px);
  height: min(720px, 78vh);
  min-height: 540px;
  padding: 0;
  display: block;
}

.hero-phone-stage {
  width: 100%;
  height: 100%;
  min-height: 100%;
  perspective: 1600px;
  perspective-origin: 50% 50%;
}

.hero-phone-card {
  top: 50%;
  width: clamp(350px, 25vw, 390px);
  height: auto;
  aspect-ratio: 9 / 16;
  opacity: 1 !important;
  filter: none;
  transform-origin: 50% 50%;
  transition: transform 1900ms cubic-bezier(.45, 0, .2, 1);
  will-change: transform;
}

.js .hero-phones[data-reveal] {
  transform: none;
}

.js .snap-panel.is-active .hero-phones[data-reveal] {
  animation: hero-phone-stage-reveal 460ms linear var(--delay, 0ms) both;
}

@keyframes hero-phone-stage-reveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero-phone-card[data-phone-position="-1"] {
  --phone-x: -145px;
}

.hero-phone-card[data-phone-position="1"] {
  --phone-x: 145px;
}

.hero-phone-card[data-phone-position="-2"] {
  --phone-x: -195px;
}

.hero-phone-card[data-phone-position="2"] {
  --phone-x: 195px;
}

.hero-phone-device.hero-phone-device-photo {
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 16% / 9%;
  background: transparent;
  box-shadow: 0 34px 80px rgba(31, 24, 68, .2);
}

.hero-phone-device-photo::before,
.hero-phone-device-photo::after {
  display: none;
}

.hero-phone-media {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  image-rendering: auto;
  filter: none;
  transform: none;
  transform-origin: center;
  -webkit-user-drag: none;
  user-select: none;
}

@media (max-width: 1180px) {
  .hero-phones {
    width: min(100%, 570px);
    height: min(680px, 76vh);
    min-height: 500px;
  }

  .hero-phone-card {
    width: clamp(280px, 27vw, 315px);
  }

  .hero-phone-card[data-phone-position="-1"] {
    --phone-x: -115px;
  }

  .hero-phone-card[data-phone-position="1"] {
    --phone-x: 115px;
  }

  .hero-phone-card[data-phone-position="-2"] {
    --phone-x: -170px;
  }

  .hero-phone-card[data-phone-position="2"] {
    --phone-x: 170px;
  }
}

@media (max-width: 920px) {
  .hero-phones {
    height: min(610px, 70vh);
    min-height: 470px;
  }

  .hero-phone-card {
    width: clamp(250px, 34vw, 275px);
  }

  .hero-phone-card[data-phone-position="-1"] {
    --phone-x: -100px;
    --phone-scale: .74;
  }

  .hero-phone-card[data-phone-position="1"] {
    --phone-x: 100px;
    --phone-scale: .74;
  }

  .hero-phone-card[data-phone-position="-2"] {
    --phone-x: -145px;
    --phone-scale: .5;
  }

  .hero-phone-card[data-phone-position="2"] {
    --phone-x: 145px;
    --phone-scale: .5;
  }
}

@media (max-width: 720px) {
  .hero-phones {
    width: 100%;
    height: clamp(330px, 42svh, 390px);
    min-height: 0;
    padding: 0;
  }

  .hero-phone-card {
    top: 50%;
    width: clamp(200px, 56vw, 225px);
  }

  .hero-phone-card[data-phone-position="-1"] {
    --phone-x: -94px;
    --phone-scale: .72;
    --phone-rotation: 21deg;
  }

  .hero-phone-card[data-phone-position="1"] {
    --phone-x: 94px;
    --phone-scale: .72;
    --phone-rotation: -21deg;
  }

  .hero-phone-card[data-phone-position="-2"] {
    --phone-x: -152px;
    --phone-scale: .47;
    --phone-rotation: 34deg;
  }

  .hero-phone-card[data-phone-position="2"] {
    --phone-x: 152px;
    --phone-scale: .47;
    --phone-rotation: -34deg;
  }

  .hero-phone-device.hero-phone-device-photo {
    border-radius: 17% / 9.5%;
    box-shadow: 0 24px 54px rgba(31, 24, 68, .18);
  }
}

@media (max-width: 720px) and (max-height: 680px) {
  .hero-phones {
    height: 266px;
  }

  .hero-phone-card {
    width: clamp(158px, 47vw, 172px);
  }

  .hero-phone-card[data-phone-position="-1"] {
    --phone-x: -82px;
  }

  .hero-phone-card[data-phone-position="1"] {
    --phone-x: 82px;
  }

  .hero-phone-card[data-phone-position="-2"] {
    --phone-x: -130px;
  }

  .hero-phone-card[data-phone-position="2"] {
    --phone-x: 130px;
  }
}

/* Slide 3 refinement: CTA follows the message, while the Story stack gets
 * the visual weight of the section and reactions stay around its perimeter. */
.imagine-panel .imagine-copy-cta {
  position: static;
  inset: auto;
  margin-top: clamp(20px, 3vh, 34px);
  padding: 0;
  justify-content: flex-start;
  pointer-events: auto;
}

.imagine-copy-cta .convinced-cta {
  width: fit-content;
  min-width: 230px;
}

.imagine-visual {
  width: min(100%, 760px);
  height: min(78vh, 730px);
  min-height: 540px;
}

.imagine-phone-stage {
  overflow: visible;
}

.imagine-phone {
  width: clamp(275px, min(24vw, 38vh), 360px);
  aspect-ratio: 9 / 16;
}

.imagine-phone-media {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  transition: opacity 260ms ease;
  -webkit-user-drag: none;
  user-select: none;
}

.reaction-one {
  top: 31%;
  left: 4%;
}

.reaction-two {
  top: 66%;
  left: 6%;
}

.reaction-three {
  top: 14%;
  left: 45%;
}

.reaction-four {
  top: 18%;
  right: 5%;
}

.reaction-five {
  top: 45%;
  right: 1%;
}

.reaction-six {
  right: 7%;
  bottom: 18%;
}

.reaction-seven {
  right: 32%;
  bottom: 8%;
}

@media (max-width: 860px) {
  .imagine-panel .imagine-copy-cta {
    margin-top: 18px;
  }

  .imagine-visual {
    width: 100%;
    height: 100%;
    min-height: 0;
  }

  .imagine-phone {
    width: clamp(240px, min(40vw, 31vh), 305px);
  }
}

@media (max-width: 720px) {
  .imagine-panel .imagine-copy-cta {
    margin-top: 14px;
  }

  .imagine-copy-cta .convinced-cta {
    width: min(100%, 300px);
    min-width: 0;
  }

  .imagine-phone {
    width: clamp(185px, min(48vw, 29vh), 220px);
  }

  .reaction-one { top: 32%; left: 0; }
  .reaction-two { top: 63%; left: 1%; }
  .reaction-three { top: 12%; left: 44%; }
  .reaction-four { top: 17%; right: 0; }
  .reaction-five { top: 47%; right: 0; }
  .reaction-six { right: 1%; bottom: 21%; }
  .reaction-seven { right: 31%; bottom: 10%; }
}

@media (max-width: 390px) {
  .imagine-phone {
    width: clamp(180px, min(52vw, 27vh), 205px);
  }
}

@media (max-width: 720px) and (max-height: 680px) {
  .imagine-panel .imagine-copy-cta {
    margin-top: 8px;
  }

  .imagine-copy-cta .convinced-cta {
    width: min(100%, 270px);
    min-height: 42px;
  }

  .imagine-phone {
    width: clamp(158px, min(48vw, 27vh), 180px);
  }
}

/* Slide 3 — messaggio in tre battute, centrato come una scrittura veloce. */
.imagine-panel .imagine-layout {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  align-items: stretch;
  align-content: center;
  justify-items: center;
  gap: clamp(6px, 1.4vh, 14px);
}

.imagine-panel .imagine-copy {
  width: 100%;
  max-width: 1180px;
  display: grid;
  justify-items: center;
  text-align: center;
}

.imagine-panel .imagine-title {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  font-size: clamp(2.7rem, 4.25vw, 4.65rem);
  line-height: .94;
  text-align: center;
}

.imagine-title-line {
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  opacity: 0;
  clip-path: inset(-.18em 100% -.18em 0);
  transform: translateX(-.08em) skewX(-2deg);
  will-change: clip-path, opacity, transform;
}

.imagine-title-lead {
  margin-bottom: .13em;
  font-size: .64em;
}

.imagine-title-clients {
  color: var(--ink-soft);
  font-weight: 520;
}

.imagine-title-praise {
  color: var(--ink-soft);
  font-size: .9em;
  font-weight: 520;
  text-wrap: balance;
}

.imagine-title-praise strong {
  white-space: nowrap;
}

.imagine-wave-word,
.imagine-wave-word i {
  display: inline-block;
}

.imagine-wave-word i {
  font-style: normal;
  transform-origin: 50% 78%;
  will-change: transform;
}

.imagine-wave-space {
  width: .24em;
}

.imagine-panel.is-active .imagine-title-lead {
  animation: imagine-fast-write 420ms cubic-bezier(.2, .85, .3, 1) 40ms both;
}

.imagine-panel.is-active .imagine-title-clients {
  animation: imagine-fast-write 470ms cubic-bezier(.2, .85, .3, 1) 260ms both;
}

.imagine-panel.is-active .imagine-title-praise {
  animation: imagine-fast-write 540ms cubic-bezier(.2, .85, .3, 1) 500ms both;
}

.imagine-panel.is-active .imagine-wave-word i {
  animation: imagine-letter-wave 1.35s ease-in-out calc(720ms + var(--wave-delay, 0ms)) infinite;
}

.imagine-panel .imagine-copy-cta {
  width: 100%;
  margin-top: clamp(14px, 2vh, 22px);
  justify-content: center;
  opacity: 0;
  transform: translateY(12px) scale(.975);
}

.imagine-panel.is-active .imagine-copy-cta {
  animation: imagine-cta-write-in 480ms var(--ease-out) 760ms both;
}

.imagine-panel .imagine-visual {
  width: min(100%, 780px);
  height: min(55vh, 500px);
  min-height: 390px;
  justify-self: center;
}

.imagine-panel .imagine-phone {
  width: clamp(235px, min(21vw, 31vh), 300px);
}

.imagine-panel.is-active .imagine-phone-left {
  animation: imagine-phone-left-in 820ms var(--ease-out) 900ms both;
}

.imagine-panel.is-active .imagine-phone-right {
  animation: imagine-phone-right-in 820ms var(--ease-out) 1080ms both;
}

.imagine-panel.is-active .imagine-phone-front {
  animation: imagine-phone-front-in 850ms var(--ease-out) 1260ms both;
}

.imagine-panel.is-active .imagine-reaction {
  animation: imagine-reaction-pop 620ms cubic-bezier(.2, 1.45, .35, 1) calc(var(--reaction-delay) + 650ms) both;
}

.imagine-panel.is-active .imagine-reaction svg {
  animation: imagine-reaction-drift 1.65s ease-in-out calc(var(--reaction-delay) + 1150ms) 2 alternate both;
}

.imagine-panel.is-active .imagine-views {
  animation: imagine-views-in 660ms var(--ease-out) 2050ms both;
}

@keyframes imagine-fast-write {
  0% {
    opacity: 0;
    clip-path: inset(-.18em 100% -.18em 0);
    filter: blur(1.5px);
    transform: translateX(-.08em) skewX(-2deg);
  }
  22% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    clip-path: inset(-.18em -.12em -.18em -.12em);
    filter: blur(0);
    transform: translateX(0) skewX(0);
  }
}

@keyframes imagine-letter-wave {
  0%, 100% { transform: translateY(0) rotate(0); }
  24% { transform: translateY(-.09em) rotate(-1.2deg); }
  52% { transform: translateY(.045em) rotate(.9deg); }
  76% { transform: translateY(-.035em) rotate(-.45deg); }
}

@keyframes imagine-cta-write-in {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0 round 999px);
    transform: translateY(12px) scale(.975);
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0 round 999px);
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 860px) {
  .imagine-panel .imagine-title {
    font-size: clamp(2.35rem, 7.2vw, 3.5rem);
  }

  .imagine-panel .imagine-visual {
    width: 100%;
    height: 100%;
    min-height: 0;
  }

  .imagine-panel .imagine-phone {
    width: clamp(210px, min(40vw, 30vh), 285px);
  }
}

@media (max-width: 720px) {
  .imagine-panel .imagine-layout {
    gap: 0;
  }

  .imagine-panel .imagine-title {
    max-width: 100%;
    font-size: clamp(2.08rem, 10vw, 2.8rem);
    line-height: .95;
  }

  .imagine-title-lead {
    font-size: .68em;
  }

  .imagine-title-praise {
    width: min(100%, 390px);
    font-size: .73em;
    line-height: 1.02;
  }

  .imagine-panel .imagine-copy-cta {
    margin-top: 13px;
    justify-content: center;
  }

  .imagine-copy-cta .convinced-cta {
    width: min(100%, 300px);
  }

  .imagine-panel .imagine-phone {
    width: clamp(185px, min(48vw, 29vh), 220px);
  }
}

@media (max-width: 390px), (max-width: 720px) and (max-height: 680px) {
  .imagine-panel .imagine-title {
    font-size: clamp(1.9rem, 9vw, 2.4rem);
  }

  .imagine-title-praise {
    font-size: .72em;
  }
}

@media (max-width: 720px) and (max-height: 680px) {
  .imagine-panel .imagine-copy-cta {
    margin-top: 7px;
  }

  .imagine-panel .imagine-phone {
    width: clamp(158px, min(48vw, 27vh), 180px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .imagine-title-line,
  .imagine-panel .imagine-copy-cta {
    opacity: 1;
    clip-path: none;
    filter: none;
    transform: none;
    animation: none !important;
  }

  .imagine-panel .imagine-wave-word i {
    animation: none !important;
    transform: none;
  }
}

/* Off-canvas navigation — the drawer enters from the right while the whole
 * presentation moves left without changing its scroll-snap position. */
:root {
  --site-menu-width: min(410px, calc(100vw - 64px));
}

.header-actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-actions .header-progress {
  justify-self: auto;
}

.header-login {
  min-height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid rgba(23, 21, 31, .1);
  border-radius: 14px;
  background: var(--ink);
  box-shadow: 0 10px 26px rgba(23, 21, 31, .14);
  color: #fff;
  font-size: 14px;
  font-weight: 790;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background 200ms ease, box-shadow 240ms ease, transform 240ms var(--ease-out);
}

.site-menu-toggle,
.site-menu-close {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(43, 35, 76, .1);
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 10px 26px rgba(43, 35, 76, .08);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 220ms ease, box-shadow 260ms ease, transform 260ms var(--ease-out), opacity 180ms ease;
}

.site-menu-toggle {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.site-menu-toggle-icon {
  position: relative;
  width: 19px;
  height: 14px;
  display: block;
}

.site-menu-toggle-icon i {
  position: absolute;
  right: 0;
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition: top 300ms var(--ease-out), width 300ms var(--ease-out), transform 300ms var(--ease-out), opacity 180ms ease;
}

.site-menu-toggle-icon i:nth-child(1) { top: 0; }
.site-menu-toggle-icon i:nth-child(2) { top: 6px; width: 14px; }
.site-menu-toggle-icon i:nth-child(3) { top: 12px; }

.site-menu-toggle[aria-expanded="true"] .site-menu-toggle-icon i:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.site-menu-toggle[aria-expanded="true"] .site-menu-toggle-icon i:nth-child(2) {
  opacity: 0;
  transform: scaleX(.3);
}

.site-menu-toggle[aria-expanded="true"] .site-menu-toggle-icon i:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

@media (hover: hover) {
  .header-login:hover {
    background: var(--violet-dark);
    box-shadow: 0 14px 32px rgba(79, 64, 207, .24);
    transform: translateY(-2px);
  }

  .site-menu-toggle:hover,
  .site-menu-close:hover {
    border-color: rgba(var(--scenario-accent-rgb), .28);
    box-shadow: 0 14px 32px rgba(var(--scenario-accent-rgb), .14);
    transform: translateY(-2px);
  }
}

.experience-header,
.snap-container {
  backface-visibility: hidden;
  transition: transform 620ms var(--ease-out);
  will-change: transform;
}

body.menu-open .experience-header,
body.menu-open .snap-container {
  transform: translate3d(calc(0px - var(--site-menu-width)), 0, 0);
}

body.menu-open .site-menu-toggle {
  opacity: 0;
  pointer-events: none;
  transform: scale(.78);
}

.site-menu-backdrop {
  position: fixed;
  z-index: 118;
  inset: 0 var(--site-menu-width) 0 0;
  padding: 0;
  border: 0;
  background: rgba(23, 21, 31, .16);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms ease;
}

body.menu-open .site-menu-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.site-menu {
  position: fixed;
  z-index: 125;
  top: 0;
  right: 0;
  width: var(--site-menu-width);
  height: 100vh;
  height: 100svh;
  padding: max(22px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) 26px;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-left: 1px solid rgba(43, 35, 76, .08);
  background:
    radial-gradient(circle at 92% 8%, rgba(220, 75, 197, .12), transparent 30%),
    radial-gradient(circle at 8% 94%, rgba(39, 191, 230, .11), transparent 32%),
    rgba(255, 255, 255, .98);
  box-shadow: -34px 0 90px rgba(38, 30, 72, .16);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(100%, 0, 0);
  transition: transform 620ms var(--ease-out), opacity 280ms ease, visibility 0s linear 620ms;
  visibility: hidden;
}

body.menu-open .site-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
  transition-delay: 0s;
  visibility: visible;
}

.site-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-menu-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 830;
  letter-spacing: -.04em;
}

.site-menu-brand img {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 8px 14px rgba(82, 67, 216, .2));
}

.site-menu-close {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  font-size: 27px;
  font-weight: 350;
  line-height: 1;
}

.site-menu-close span {
  transform: translateY(-1px);
}

.site-menu-intro {
  margin-top: clamp(30px, 5vh, 48px);
}

.site-menu-intro .eyebrow {
  margin-bottom: 10px;
}

.site-menu-intro h2 {
  max-width: 330px;
  margin-bottom: 0;
  font-size: clamp(2.4rem, 4.2vw, 3.5rem);
  line-height: .94;
}

.site-menu-nav {
  margin-top: clamp(24px, 4vh, 38px);
  display: grid;
  gap: 7px;
}

.site-menu-link {
  position: relative;
  width: 100%;
  min-height: 54px;
  padding: 10px 13px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
  transition: border-color 220ms ease, background 260ms ease, color 220ms ease, transform 260ms var(--ease-out);
}

.site-menu-link::before {
  position: absolute;
  top: 11px;
  bottom: 11px;
  left: 0;
  width: 3px;
  border-radius: 0 999px 999px 0;
  background: var(--gradient);
  content: "";
  opacity: 0;
  transform: scaleY(.3);
  transition: opacity 220ms ease, transform 320ms var(--ease-out);
}

.site-menu-link > span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 820;
  letter-spacing: .1em;
}

.site-menu-link strong {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 760;
  letter-spacing: -.025em;
}

.site-menu-link i {
  color: var(--scenario-accent);
  font-size: 15px;
  font-style: normal;
  opacity: .45;
  text-align: center;
  transition: opacity 220ms ease, transform 260ms var(--ease-out);
}

.site-menu-link.is-active,
.site-menu-link[aria-current="page"] {
  border-color: rgba(var(--scenario-accent-rgb), .12);
  background: rgba(var(--scenario-accent-rgb), .07);
  color: var(--ink);
}

.site-menu-link.is-active::before,
.site-menu-link[aria-current="page"]::before {
  opacity: 1;
  transform: scaleY(1);
}

.site-menu-link.is-active i,
.site-menu-link[aria-current="page"] i {
  opacity: 1;
}

@media (hover: hover) {
  .site-menu-link:hover {
    border-color: rgba(var(--scenario-accent-rgb), .12);
    background: rgba(var(--scenario-accent-rgb), .05);
    transform: translateX(4px);
  }

  .site-menu-link:hover i {
    opacity: 1;
    transform: translate(2px, -2px);
  }
}

.site-menu-footer {
  margin-top: auto;
  padding-top: 24px;
}

.site-menu-footer p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 11px;
}

.site-menu-footer a {
  min-height: 52px;
  padding: 0 16px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-radius: 16px;
  background: var(--ink);
  box-shadow: 0 16px 34px rgba(23, 21, 31, .16);
  color: #fff;
  font-size: 13px;
  font-weight: 790;
}

.site-menu-footer svg {
  width: 17px;
  height: 17px;
}

@media (max-width: 920px) {
  .header-actions {
    grid-column: 2;
    gap: 11px;
  }
}

@media (max-width: 720px) {
  :root {
    --site-menu-width: min(356px, calc(100vw - 34px));
  }

  .header-inner {
    gap: 10px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-actions .header-progress {
    width: 92px;
  }

  .header-login {
    min-height: 40px;
    padding-inline: 12px;
    border-radius: 13px;
    font-size: 13px;
  }

  .site-menu-toggle {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .site-menu {
    padding: max(17px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) 18px;
  }

  .site-menu-intro {
    margin-top: clamp(24px, 4vh, 34px);
  }

  .site-menu-intro h2 {
    font-size: clamp(2.25rem, 10vw, 3rem);
  }

  .site-menu-nav {
    margin-top: 22px;
    gap: 5px;
  }

  .site-menu-link {
    min-height: 51px;
    padding-block: 8px;
  }
}

@media (max-width: 420px) {
  .header-actions .header-progress {
    display: none;
  }
}

/* Su mobile il logo resta solo icona per fare spazio allo switch Attività / Creator. */
@media (max-width: 560px) {
  .header-start {
    gap: 10px;
  }

  .header-start .brand-button span {
    display: none;
  }
}

@media (max-height: 680px) {
  .site-menu-intro {
    margin-top: 18px;
  }

  .site-menu-intro h2 {
    font-size: 2.15rem;
  }

  .site-menu-nav {
    margin-top: 16px;
    gap: 3px;
  }

  .site-menu-link {
    min-height: 45px;
    padding-block: 6px;
  }

  .site-menu-footer {
    padding-top: 16px;
  }
}

/* Attivazione servizio — il prezzo iniziale, i Totem e i vantaggi di ogni
 * livello devono essere comprensibili anche senza confrontare le tre card. */
.pricing-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  gap: clamp(24px, 4vw, 58px);
  text-align: left;
}

.pricing-heading .eyebrow {
  justify-content: flex-start;
  margin-bottom: 10px;
}

.pricing-heading h2 {
  margin-bottom: 9px;
  font-size: clamp(2.8rem, 4.3vw, 4.9rem);
}

.pricing-heading-copy > p:last-child {
  max-width: 670px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.pricing-layout {
  gap: clamp(8px, 1.35vh, 14px);
}

.plan-card {
  padding: clamp(15px, 1.8vw, 22px);
}

.plan-top {
  margin-bottom: clamp(8px, 1.25vh, 13px);
}

.plan-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.plan-card h3 {
  margin-bottom: 7px;
  font-size: clamp(25px, 2vw, 29px);
}

.plan-price {
  min-height: 50px;
  margin: 0 0 8px;
  padding-bottom: 8px;
  align-items: center;
}

.plan-price-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.plan-price .plan-price-copy > small {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 7px;
  font-weight: 720;
  letter-spacing: .025em;
  line-height: 1;
}

.plan-price .plan-vat {
  color: var(--muted);
  font-size: 7px;
  font-weight: 720;
  letter-spacing: .025em;
  text-transform: none;
}

.plan-price strong {
  font-size: clamp(1.85rem, 2.55vw, 2.5rem);
}

.plan-totem-preview picture {
  width: 100%;
  height: 100%;
  display: block;
}

.plan-totem-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 11px 9px rgba(28, 24, 43, .19));
}

.plan-card > p {
  margin-bottom: 8px;
  font-size: 10px;
  line-height: 1.35;
}

.plan-card ul {
  margin-bottom: 11px;
  gap: 5px;
}

.plan-card li {
  align-items: flex-start;
  font-size: 9.5px;
  line-height: 1.25;
}

.plan-card li svg {
  width: 12px;
  height: 12px;
  margin-top: 0;
  flex: 0 0 auto;
}

.plan-card > button {
  min-height: 43px;
  margin-top: auto;
}

.plan-card[data-plan-card="premium"] {
  border-color: rgba(184, 131, 18, .34);
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 222, 132, .32), transparent 32%),
    linear-gradient(145deg, #fffdf7, #fff7df 62%, #f8e7b7);
  box-shadow: 0 21px 60px rgba(138, 94, 8, .15);
}

.plan-card[data-plan-card="premium"] .plan-icon {
  background: rgba(184, 131, 18, .12);
  color: #a66f09;
}

.plan-card[data-plan-card="premium"]:hover {
  box-shadow: 0 27px 70px rgba(138, 94, 8, .22);
}

.plan-card[data-plan-card="premium"].is-selected {
  border-color: #b78316;
  box-shadow: 0 27px 70px rgba(138, 94, 8, .24), inset 0 0 0 1px #d4ad4a;
}

.plan-card[data-plan-card="premium"].is-selected::after,
.plan-card[data-plan-card="premium"] > button:hover,
.plan-card[data-plan-card="premium"].is-selected > button {
  border-color: #a66f09;
  background: linear-gradient(135deg, #9b6908, #d8ad3e);
  color: #fff;
}

@media (min-width: 721px) and (max-height: 740px) {
  .pricing-layout {
    padding-top: calc(var(--header-height) + 17px);
    padding-bottom: 12px;
    gap: 7px;
  }

  .pricing-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .pricing-heading .eyebrow {
    margin-bottom: 5px;
    font-size: 9px;
  }

  .pricing-heading h2 {
    margin-bottom: 4px;
    font-size: clamp(2.4rem, 4vw, 3.6rem);
  }

  .pricing-heading-copy > p:last-child {
    font-size: 10px;
  }

  .plan-card {
    padding: 11px 14px;
    border-radius: 21px;
  }

  .plan-top {
    margin-bottom: 5px;
  }

  .plan-icon {
    width: 31px;
    height: 31px;
    border-radius: 10px;
  }

  .plan-icon svg {
    width: 16px;
    height: 16px;
  }

  .plan-card h3 {
    margin-bottom: 4px;
    font-size: 22px;
  }

  .plan-price {
    min-height: 40px;
    margin-bottom: 5px;
    padding-bottom: 5px;
  }

  .plan-price strong {
    font-size: 28px;
  }

  .plan-card > p {
    margin-bottom: 4px;
    font-size: 8px;
    line-height: 1.25;
  }

  .plan-card ul {
    margin-bottom: 5px;
    gap: 3px;
  }

  .plan-card li {
    font-size: 7.5px;
    line-height: 1.18;
  }

  .plan-card li svg {
    width: 10px;
    height: 10px;
  }

  .plan-card > button {
    min-height: 36px;
    border-radius: 11px;
    font-size: 8px;
  }

  .mini-footer {
    font-size: 7px;
  }
}

@media (max-width: 720px) {
  .pricing-layout {
    gap: 8px;
  }

  .pricing-heading {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 8px;
    text-align: left;
  }

  .pricing-heading .eyebrow {
    justify-content: flex-start;
    margin-bottom: 6px;
    font-size: 8px;
  }

  .pricing-heading h2 {
    margin-bottom: 4px;
    font-size: clamp(2.2rem, 10.5vw, 3.15rem);
  }

  .pricing-heading-copy > p:last-child {
    font-size: 9px;
    line-height: 1.3;
  }

  .plans {
    grid-auto-columns: min(86vw, 340px);
  }

  .plan-card {
    padding: 14px 16px;
  }

  .plan-top {
    margin-bottom: 7px;
  }

  .plan-card h3 {
    margin-bottom: 5px;
    font-size: 24px;
  }

  .plan-price {
    min-height: 43px;
    margin-bottom: 6px;
    padding-bottom: 6px;
  }

  .plan-price strong {
    font-size: 29px;
  }

  .plan-card > p {
    margin-bottom: 5px;
    font-size: 8px;
  }

  .plan-card ul {
    margin-bottom: 6px;
    gap: 4px;
  }

  .plan-card li {
    font-size: 8px;
    line-height: 1.2;
  }

  .plan-card li svg {
    width: 10px;
    height: 10px;
  }

  .plan-card > button {
    min-height: 38px;
    font-size: 8px;
  }
}

@media (max-width: 720px) and (max-height: 720px) {
  .pricing-layout {
    padding-top: calc(var(--header-height) + env(safe-area-inset-top) + 9px);
    padding-bottom: 30px;
    gap: 5px;
  }

  .pricing-heading {
    gap: 5px;
  }

  .pricing-heading .eyebrow {
    display: none;
  }

  .pricing-heading h2 {
    font-size: clamp(2rem, 9.6vw, 2.65rem);
  }

  .pricing-heading-copy > p:last-child {
    -webkit-line-clamp: 1;
  }

  .plan-card {
    padding: 10px 13px;
  }

  .plan-card > p {
    display: none;
  }

  .plan-top {
    margin-bottom: 4px;
  }

  .plan-icon {
    width: 29px;
    height: 29px;
  }

  .plan-card h3 {
    font-size: 21px;
  }

  .plan-price {
    min-height: 37px;
    margin-bottom: 4px;
    padding-bottom: 4px;
  }

  .plan-price strong {
    font-size: 25px;
  }

  .plan-card ul {
    gap: 2px;
  }

  .plan-card li {
    font-size: 7px;
  }

  .plan-card > button {
    min-height: 34px;
  }
}

/* Rassicurazione pagamento: usa le composizioni Viva dedicate a ogni viewport,
 * evitando file di loghi compressi o righe orizzontali illeggibili su mobile. */
.payment-confidence {
  min-height: 64px;
  padding: 7px 9px 7px 13px;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(300px, 429px);
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  border: 1px solid rgba(var(--scenario-accent-rgb), .14);
  border-radius: 19px;
  background: rgba(255, 255, 255, .84);
  box-shadow: var(--shadow-sm);
}

.payment-confidence-copy {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.payment-confidence-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(21, 150, 107, .1);
  color: var(--success);
}

.payment-confidence-icon svg {
  width: 18px;
  height: 18px;
}

.payment-confidence-copy strong,
.payment-confidence-copy small {
  display: block;
}

.payment-confidence-copy strong {
  color: var(--ink);
  font-size: 12px;
  line-height: 1.2;
}

.payment-confidence-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.25;
}

.payment-confidence-schemes {
  width: 100%;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(31, 38, 58, .1);
  border-radius: 10px;
  background: #fff;
}

.payment-confidence-schemes img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 721px) and (max-height: 740px) {
  .payment-confidence {
    min-height: 49px;
    padding: 5px 7px 5px 10px;
    grid-template-columns: minmax(160px, 1fr) minmax(260px, 330px);
    gap: 12px;
    border-radius: 15px;
  }

  .payment-confidence-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }

  .payment-confidence-copy strong {
    font-size: 10px;
  }

  .payment-confidence-copy small {
    font-size: 6.5px;
  }
}

@media (max-width: 980px) and (min-width: 521px) {
  .payment-confidence {
    grid-template-columns: minmax(160px, 1fr) minmax(210px, 276px);
  }
}

@media (max-width: 720px) {
  .payment-confidence {
    min-height: 0;
    padding: 8px 10px;
    grid-template-columns: minmax(82px, 92px) minmax(0, 220px);
    justify-content: center;
    gap: 8px;
    border-radius: 16px;
  }

  .payment-confidence-copy {
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    text-align: center;
  }

  .payment-confidence-icon {
    width: 28px;
    height: 28px;
    border-radius: 10px;
  }

  .payment-confidence-icon svg {
    width: 15px;
    height: 15px;
  }

  .payment-confidence-copy strong {
    font-size: 9.5px;
    line-height: 1.15;
  }

  .payment-confidence-copy small {
    display: none;
  }

  .payment-confidence-schemes {
    width: min(100%, 220px);
    align-self: center;
    border-radius: 8px;
  }
}

@media (max-width: 720px) and (max-height: 720px) {
  .payment-confidence {
    padding: 5px 7px;
    grid-template-columns: minmax(74px, 82px) minmax(0, 180px);
    gap: 7px;
    border-radius: 13px;
  }

  .payment-confidence-icon {
    width: 26px;
    height: 26px;
  }

  .payment-confidence-schemes {
    width: min(100%, 180px);
  }
}

/* Settore 5: sequenza a tetto fisso e layout mobile senza sovrapposizioni. */
.value-panel .payment-info-card {
  display: none !important;
}

.value-panel .value-layout {
  grid-template-rows: auto auto auto auto;
  gap: clamp(10px, 1.8vh, 18px);
}

.value-panel .value-cost-card {
  padding-block: clamp(9px, 1.4vh, 15px);
}

.value-panel .value-cost-card .views-list {
  position: relative;
  height: 132px;
  min-height: 132px;
  gap: 9px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  -webkit-mask-image: none;
  mask-image: none;
}

.value-panel .view-row[hidden] {
  display: none !important;
}

.value-panel .view-row.is-premium {
  position: sticky;
  z-index: 6;
  top: 0;
  min-height: 34px;
  margin-inline: 0;
  padding: 6px 10px;
  border: 1px solid rgba(var(--scenario-accent-rgb), .22);
  border-radius: 14px;
  background:
    linear-gradient(110deg, rgba(var(--scenario-accent-rgb), .11), rgba(255, 191, 72, .12)),
    rgba(255, 255, 255, .96);
  box-shadow: 0 10px 26px rgba(var(--scenario-accent-rgb), .12);
}

.value-panel .view-row.is-premium > i {
  background: rgba(var(--scenario-accent-rgb), .11);
}

.value-panel .view-row.is-premium > i b {
  background: linear-gradient(90deg, #1687ff, #7b57ed 45%, #dd4bbd 76%, #ffb84b);
}

.value-panel .view-row.is-premium > strong {
  color: var(--scenario-accent);
}

.value-panel .premium-badge {
  width: fit-content;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff;
  font-size: 7px;
  letter-spacing: .06em;
}

.value-panel .guarantee-cards {
  width: min(100%, 1050px);
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
}

.value-panel .guarantee-cards > li {
  min-width: 0;
  padding: 11px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(var(--scenario-accent-rgb), .14);
  border-radius: 17px;
  background: rgba(255, 255, 255, .7);
  box-shadow: 0 12px 34px rgba(23, 21, 31, .055);
}

.value-panel .guarantee-cards .minimal-card-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(var(--scenario-accent-rgb), .09);
  color: var(--scenario-accent);
}

.value-panel .guarantee-cards .minimal-card-icon svg {
  width: 17px;
  height: 17px;
}

.value-panel .guarantee-cards .minimal-card-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.value-panel .guarantee-cards .minimal-card-copy strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 820;
  line-height: 1.18;
}

.value-panel .guarantee-cards .minimal-card-copy small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.3;
}

.value-panel .invoice-card .budget-spent.is-complete {
  min-width: 184px;
}

.value-panel .invoice-card .budget-spent.is-complete small,
.value-panel .invoice-card .budget-spent.is-complete strong {
  display: block;
}

.value-panel .budget-spent.is-complete {
  background: linear-gradient(135deg, #18a957, #0c8642);
  box-shadow: 0 14px 34px rgba(16, 145, 73, .3);
}

.value-panel .value-confetti {
  position: fixed;
  z-index: 1;
  inset: -15vh 0 0;
  overflow: hidden;
  pointer-events: none;
}

.value-panel .value-confetti i {
  position: absolute;
  top: 0;
  left: var(--confetti-x);
  width: 10px;
  height: 18px;
  border-radius: 3px;
  background: var(--confetti-color);
  opacity: 0;
  animation: value-confetti-fall var(--confetti-duration) ease-in var(--confetti-delay) both;
}

@keyframes value-confetti-fall {
  0% { opacity: 0; transform: translate3d(0, -30px, 0) rotate(0); }
  12% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(var(--confetti-drift), 115vh, 0) rotate(760deg); }
}

@media (max-width: 720px) {
  .value-panel.has-convinced-cta > .section-shell {
    padding-top: calc(var(--header-height) + env(safe-area-inset-top) + clamp(14px, 2.5vh, 22px));
    padding-bottom: max(68px, calc(env(safe-area-inset-bottom) + 60px));
  }

  .value-panel .value-layout {
    align-content: center;
    align-content: safe center;
    gap: clamp(6px, 1.35vh, 10px);
  }

  .value-panel .value-copy h2,
  .value-panel .value-closing-statement {
    font-size: clamp(2rem, 9vw, 2.8rem);
    line-height: .96;
  }

  .value-panel .value-cost-card {
    position: relative;
    inset: auto !important;
    padding: 5px 7px;
  }

  .value-panel .value-cost-card .views-list {
    height: 134px;
    min-height: 134px;
    gap: 7px;
  }

  .value-panel .value-cost-card .view-row {
    grid-template-columns: minmax(88px, 104px) minmax(0, 1fr) 70px;
    gap: 7px;
  }

  .value-panel .view-row.is-premium {
    margin-inline: 0;
    padding: 4px 6px;
    border-radius: 11px;
  }

  .value-panel .premium-badge {
    padding: 2px 5px;
    font-size: 6px;
  }

  .value-panel .value-cost-card .invoice-card {
    margin-top: 8px;
    padding: 8px 9px;
  }

  .value-panel .invoice-card .budget-spent.is-complete {
    min-width: 148px;
    padding-inline: 8px;
  }

  .value-panel .invoice-card .budget-spent.is-complete small {
    font-size: 6px;
    line-height: 1.15;
  }

  .value-panel .guarantee-cards {
    margin: 0 auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .value-panel .guarantee-cards > li {
    min-height: 62px;
    padding: 7px 5px;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 5px;
    border-radius: 13px;
    text-align: center;
  }

  .value-panel .guarantee-cards .minimal-card-icon {
    width: 27px;
    height: 27px;
    flex-basis: 27px;
    border-radius: 8px;
  }

  .value-panel .guarantee-cards .minimal-card-icon svg {
    width: 14px;
    height: 14px;
  }

  .value-panel .guarantee-cards .minimal-card-copy strong {
    font-size: clamp(7.5px, 2.45vw, 9px);
    line-height: 1.12;
  }

  .value-panel .guarantee-cards .minimal-card-copy small {
    display: none;
  }
}

@media (max-width: 720px) and (max-height: 680px) {
  .value-panel .value-layout {
    align-content: start;
    gap: 6px;
  }

  .value-panel .value-copy h2,
  .value-panel .value-closing-statement {
    font-size: clamp(1.85rem, 8.6vw, 2.4rem);
  }

  .value-panel .value-cost-card .views-list {
    height: 132px;
    min-height: 132px;
    gap: 5px;
  }

  .value-panel .guarantee-cards > li {
    min-height: 54px;
    padding-block: 5px;
  }
}

/* Slide 3 — three writing beats, then staggered Story and reaction cycles. */
.imagine-panel .imagine-title-line {
  opacity: 1;
  clip-path: none;
  filter: none;
  transform: none;
}

.imagine-panel .imagine-sequence-beat {
  display: inline-block;
}

.imagine-panel .imagine-title-line.imagine-sequence-beat {
  display: block;
}

.imagine-panel [data-imagine-write] {
  max-width: 100%;
  display: inline-block;
}

.imagine-title-clients strong {
  background: linear-gradient(112deg, #1687ff 0%, var(--violet) 58%, #e84273 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 850;
  white-space: nowrap;
}

.imagine-title-target {
  color: var(--ink-soft);
  font-weight: 520;
}

.js .imagine-panel .imagine-sequence-beat {
  opacity: 0;
}

.js .imagine-panel.is-sequence-running .imagine-sequence-beat {
  opacity: 1;
  will-change: opacity;
}

.js .imagine-panel.is-sequence-running [data-imagine-write] {
  will-change: clip-path, opacity;
}

.js .imagine-panel.is-sequence-complete .imagine-sequence-beat {
  opacity: 1;
}

/* Supersede the previous quick-write choreography. JavaScript reveals these
 * fragments in their final position, including consecutive fragments on wrap. */
.js .imagine-panel.is-active .imagine-title-lead,
.js .imagine-panel.is-active .imagine-title-clients,
.js .imagine-panel.is-active .imagine-title-praise {
  animation: none;
}

.js .imagine-panel.is-active .imagine-wave-word i {
  animation: none;
}

.js .imagine-panel.is-active.is-lead-written .imagine-wave-word i {
  animation: imagine-letter-wave 1.35s ease-in-out var(--wave-delay, 0ms) infinite;
}

.js .imagine-panel .imagine-copy-cta,
.js .imagine-panel .imagine-visual {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  animation: none;
}

.js .imagine-panel .imagine-copy-cta {
  visibility: visible;
  transform: translateY(14px) scale(.975);
}

.js .imagine-panel .imagine-visual {
  visibility: hidden;
  transform: translateY(18px) scale(.985);
}

.js .imagine-panel .imagine-copy-cta:focus-within {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.js .imagine-panel.is-active.is-sequence-complete .imagine-copy-cta {
  visibility: visible;
  pointer-events: auto;
  animation: imagine-sequence-rest-in 520ms var(--ease-out) both;
  animation-delay: 80ms;
}

.js .imagine-panel.is-active.is-sequence-complete .imagine-visual {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.js .imagine-panel.is-active.is-sequence-complete .imagine-copy-cta:focus-within {
  opacity: 1;
  animation: none;
  transform: translateY(0) scale(1);
}

@keyframes imagine-sequence-rest-in {
  0% {
    visibility: visible;
    opacity: 0;
    transform: translateY(18px) scale(.985);
  }
  100% {
    visibility: visible;
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Wait for the text: starting on is-active would consume the entrances
 * while the visual is still hidden. Removing that class resets every cycle. */
.js .imagine-panel .imagine-phone,
.js .imagine-panel .imagine-reaction,
.js .imagine-panel .imagine-reaction svg,
.js .imagine-panel .imagine-views {
  animation: none;
}

.js .imagine-panel .imagine-phone,
.js .imagine-panel .imagine-reaction,
.js .imagine-panel .imagine-views {
  opacity: 0;
}

.js .imagine-panel .imagine-phone-left {
  --phone-delay: 180ms;
  --phone-enter: translate(-165%, 42%) rotate(-34deg) scale(.74);
  --phone-rest: translate(-92%, -47%) rotate(-13deg) scale(1);
  --phone-exit: translate(-104%, -60%) rotate(-17deg) scale(.94);
}

.js .imagine-panel .imagine-phone-right {
  --phone-delay: 1280ms;
  --phone-enter: translate(70%, 48%) rotate(33deg) scale(.74);
  --phone-rest: translate(-8%, -47%) rotate(12deg) scale(1);
  --phone-exit: translate(4%, -60%) rotate(16deg) scale(.94);
}

.js .imagine-panel .imagine-phone-front {
  --phone-delay: 2380ms;
  --phone-enter: translate(-50%, 82%) rotate(2deg) scale(.74);
  --phone-rest: translate(-50%, -51%) rotate(-1deg) scale(1);
  --phone-exit: translate(-50%, -65%) rotate(-3deg) scale(.94);
}

.js .imagine-panel.is-active.is-sequence-complete .imagine-phone {
  animation: imagine-phone-cycle 9s var(--ease-out) var(--phone-delay) infinite both;
}

.js .imagine-panel.is-active.is-sequence-complete .imagine-reaction {
  animation: imagine-reaction-cycle 5.6s ease-in-out calc(var(--reaction-delay) * 3) infinite both;
}

.js .imagine-panel.is-active.is-sequence-complete .imagine-reaction svg {
  animation: imagine-reaction-drift 1.65s ease-in-out calc(var(--reaction-delay) * 3) infinite alternate both;
}

.js .imagine-panel.is-active.is-sequence-complete .imagine-views {
  animation: imagine-views-in 660ms var(--ease-out) 3600ms both;
}

@keyframes imagine-phone-cycle {
  0%, 100% {
    opacity: 0;
    transform: var(--phone-enter);
  }
  14%, 72% {
    opacity: 1;
    transform: var(--phone-rest);
  }
  90%, 96% {
    opacity: 0;
    transform: var(--phone-exit);
  }
}

@keyframes imagine-reaction-cycle {
  0%, 100% {
    opacity: 0;
    transform: translateY(24px) rotate(var(--reaction-rotate)) scale(.15);
  }
  12% {
    opacity: 1;
    transform: translateY(-3px) rotate(var(--reaction-rotate)) scale(1.12);
  }
  20%, 62% {
    opacity: 1;
    transform: translateY(0) rotate(var(--reaction-rotate)) scale(1);
  }
  82%, 96% {
    opacity: 0;
    transform: translateY(-24px) rotate(var(--reaction-rotate)) scale(.72);
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .imagine-panel .imagine-sequence-beat,
  .js .imagine-panel .imagine-copy-cta,
  .js .imagine-panel .imagine-visual,
  .js .imagine-panel .imagine-phone,
  .js .imagine-panel .imagine-reaction,
  .js .imagine-panel .imagine-views {
    visibility: visible !important;
    opacity: 1 !important;
    filter: none !important;
    animation: none !important;
  }

  .js .imagine-panel .imagine-sequence-beat,
  .js .imagine-panel .imagine-copy-cta,
  .js .imagine-panel .imagine-visual {
    transform: none !important;
  }

  .js .imagine-panel .imagine-copy-cta {
    pointer-events: auto;
  }

  .js .imagine-panel .imagine-phone-left {
    transform: translate(-92%, -47%) rotate(-13deg) !important;
  }

  .js .imagine-panel .imagine-phone-right {
    transform: translate(-8%, -47%) rotate(12deg) !important;
  }

  .js .imagine-panel .imagine-phone-front {
    transform: translate(-50%, -51%) rotate(-1deg) !important;
  }

  .js .imagine-panel .imagine-reaction {
    transform: rotate(var(--reaction-rotate)) !important;
  }

  .js .imagine-panel .imagine-reaction svg {
    animation: none !important;
    transform: none !important;
  }

  .js .imagine-panel .imagine-views {
    transform: translate(-50%, 0) scale(1) !important;
  }
}

@media (forced-colors: active) {
  .imagine-title-clients strong {
    background: none;
    color: CanvasText;
  }
}

/* Base tipografica dei pacchetti — 2026-07-30.
 * Il layer finale "Pacchetti in una schermata" adatta queste dimensioni
 * all'altezza disponibile mantenendo leggibili gli elementi principali. */
.pricing-panel {
  height: auto;
  min-height: 100vh;
  min-height: 100svh;
  overflow: visible;
}

.pricing-panel .pricing-layout {
  width: min(calc(100% - 64px), 1480px);
  height: auto;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--header-height) + clamp(32px, 4.5vw, 60px));
  padding-bottom: clamp(40px, 5vw, 68px);
  grid-template-rows: auto auto auto auto;
  gap: clamp(18px, 2vw, 26px);
}

.pricing-heading {
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
}

.pricing-heading .eyebrow {
  display: flex;
  margin-bottom: 12px;
  font-size: 13px;
}

.pricing-heading h2 {
  margin-bottom: 12px;
  font-size: clamp(3.25rem, 5vw, 5.35rem);
}

.pricing-heading-copy > p:last-child {
  max-width: 760px;
  display: block;
  margin-bottom: 0;
  overflow: visible;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
  -webkit-box-orient: initial;
  -webkit-line-clamp: unset;
}

.plans {
  min-height: 0;
  gap: clamp(16px, 1.7vw, 24px);
}

.plan-card {
  min-height: 670px;
  padding: clamp(24px, 2.25vw, 32px);
  border-radius: 30px;
}

.plan-top {
  min-height: 48px;
  margin-bottom: 13px;
}

.plan-icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
}

.plan-icon svg {
  width: 23px;
  height: 23px;
}

.plan-tag {
  padding: 8px 11px;
  font-size: 11px;
}

.plan-card h3 {
  margin-bottom: 10px;
  font-size: clamp(32px, 2.4vw, 38px);
  line-height: 1;
}

.plan-price {
  min-height: 65px;
  margin: 0 0 15px;
  padding-bottom: 14px;
}

.plan-price-copy {
  gap: 6px;
}

.plan-price strong {
  font-size: clamp(42px, 3.45vw, 52px);
}

.plan-price .plan-price-copy > small,
.plan-price .plan-vat {
  font-size: 12px;
  line-height: 1.15;
}

.plan-card > p {
  max-width: none;
  margin-bottom: 15px;
  display: block;
  overflow: visible;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  -webkit-box-orient: initial;
  -webkit-line-clamp: unset;
}

.plan-card ul {
  margin-bottom: 19px;
  gap: 9px;
}

.plan-card li {
  gap: 9px;
  font-size: 14px;
  line-height: 1.35;
}

.plan-card li svg {
  width: 16px;
  height: 16px;
  margin-top: 1px;
}

.plan-card > button {
  min-height: 54px;
  border-radius: 16px;
  font-size: 15px;
}

.payment-confidence {
  min-height: 82px;
  padding: 11px 13px 11px 17px;
  border-radius: 22px;
}

.payment-confidence-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
}

.payment-confidence-icon svg {
  width: 21px;
  height: 21px;
}

.payment-confidence-copy strong {
  font-size: 15px;
}

.payment-confidence-copy small {
  margin-top: 4px;
  display: block;
  font-size: 12px;
  line-height: 1.35;
}

@media (max-width: 980px) {
  .pricing-panel .pricing-layout {
    width: min(calc(100% - 40px), 920px);
  }

  .pricing-heading {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 15px;
  }

  .plans {
    width: calc(100vw - 20px);
    margin-right: -20px;
    padding: 5px 28px 22px 3px;
    grid-auto-columns: min(82vw, 460px);
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .plans::-webkit-scrollbar {
    display: none;
  }

  .plan-card {
    min-height: 680px;
    scroll-snap-align: center;
  }
}

@media (max-width: 720px) {
  .pricing-panel .pricing-layout {
    width: calc(100% - 24px);
    min-height: 100svh;
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: max(38px, calc(env(safe-area-inset-bottom) + 30px));
    gap: 17px;
  }

  .pricing-heading {
    gap: 0;
  }

  .pricing-heading .eyebrow {
    display: flex;
    margin-bottom: 9px;
    font-size: 11px;
  }

  .pricing-heading h2 {
    margin-bottom: 9px;
    font-size: clamp(2.75rem, 13vw, 3.8rem);
  }

  .pricing-heading-copy > p:last-child {
    display: block;
    font-size: 16px;
    line-height: 1.45;
    -webkit-line-clamp: unset;
  }

  .plans {
    width: calc(100vw - 12px);
    margin-right: -12px;
    padding: 5px 18px 22px 0;
    grid-auto-columns: min(88vw, 380px);
    gap: 14px;
    overscroll-behavior-inline: contain;
  }

  .plan-card {
    min-height: 700px;
    padding: 22px;
    border-radius: 27px;
  }

  .plan-top {
    min-height: 44px;
    margin-bottom: 12px;
  }

  .plan-icon {
    width: 44px;
    height: 44px;
  }

  .plan-tag {
    font-size: 10px;
  }

  .plan-card h3 {
    margin-bottom: 9px;
    font-size: 32px;
  }

  .plan-price {
    min-height: 60px;
    margin-bottom: 14px;
    padding-bottom: 13px;
  }

  .plan-price strong {
    font-size: 42px;
  }

  .plan-price .plan-price-copy > small,
  .plan-price .plan-vat {
    font-size: 10px;
  }

  .plan-card > p {
    margin-bottom: 14px;
    display: block;
    font-size: 14px;
    line-height: 1.45;
  }

  .plan-card ul {
    margin-bottom: 17px;
    gap: 8px;
  }

  .plan-card li {
    font-size: 13px;
    line-height: 1.35;
  }

  .plan-card li svg {
    width: 15px;
    height: 15px;
  }

  .plan-card > button {
    min-height: 52px;
    font-size: 15px;
  }

  .payment-confidence {
    min-height: 0;
    padding: 11px 12px;
    grid-template-columns: minmax(92px, 118px) minmax(0, 214px);
    justify-content: space-between;
    justify-items: stretch;
    gap: 9px;
    border-radius: 18px;
  }

  .payment-confidence-copy {
    flex-direction: row;
    justify-content: flex-start;
    gap: 8px;
    text-align: left;
  }

  .payment-confidence-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .payment-confidence-copy strong {
    font-size: 13px;
    line-height: 1.15;
  }

  .payment-confidence-copy small {
    display: none;
  }

  .payment-confidence-schemes {
    width: min(100%, 214px);
    justify-self: end;
  }
}

@media (max-width: 360px) {
  .plan-card {
    min-height: 720px;
    padding: 19px;
  }

}

/* Pacchetti in una schermata — 2026-07-30.
 * La sezione occupa esattamente una viewport. Spazi e riquadri si adattano
 * all'altezza disponibile senza miniaturizzare prezzi, quantità e CTA. */
.pricing-panel {
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

.pricing-panel .pricing-layout {
  height: 100%;
  min-height: 0;
  padding-top: calc(var(--header-height) + env(safe-area-inset-top) + 10px);
  padding-bottom: max(8px, env(safe-area-inset-bottom));
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 8px;
}

.pricing-heading {
  align-items: center;
}

.pricing-heading .eyebrow {
  margin-bottom: 4px;
  font-size: 11px;
}

.pricing-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2.65rem, 4vw, 4.25rem);
}

.plans {
  height: 100%;
  min-height: 0;
  gap: clamp(12px, 1.35vw, 18px);
}

.plan-card {
  height: 100%;
  min-height: 0;
  padding: clamp(16px, 1.55vw, 22px);
  border-radius: 25px;
}

.plan-tag {
  padding: 7px 9px;
  font-size: 9px;
}

.plan-card h3 {
  margin-bottom: 6px;
  font-size: clamp(29px, 2.15vw, 34px);
}

.plan-price {
  min-height: 52px;
  margin-bottom: 8px;
  padding-bottom: 8px;
}

.plan-price-copy {
  gap: 3px;
}

.plan-price strong {
  font-size: clamp(38px, 3vw, 46px);
}

.plan-price .plan-price-copy > small,
.plan-price .plan-vat {
  font-size: 10px;
}

.plan-card > p {
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 1.35;
}

.plan-card ul {
  margin-bottom: 9px;
  gap: 5px;
}

.plan-card li {
  gap: 7px;
  font-size: 12px;
  line-height: 1.25;
}

.plan-card li svg {
  width: 14px;
  height: 14px;
}

.plan-card > button {
  min-height: 48px;
  border-radius: 14px;
  font-size: 13px;
}

.payment-confidence {
  min-height: 56px;
  padding: 6px 8px 6px 11px;
  grid-template-columns: minmax(170px, 1fr) minmax(270px, 360px);
  gap: 12px;
  border-radius: 17px;
}

.payment-confidence-icon {
  width: 34px;
  height: 34px;
  border-radius: 11px;
}

.payment-confidence-icon svg {
  width: 17px;
  height: 17px;
}

.payment-confidence-copy strong {
  font-size: 12px;
}

.payment-confidence-copy small {
  margin-top: 2px;
  font-size: 8px;
}

.mini-footer {
  padding-bottom: 0;
  gap: 0;
  font-size: 8px;
  line-height: 1.2;
}

@media (max-width: 980px) {
  .pricing-heading {
    gap: 0;
  }

  .plans {
    padding-top: 2px;
    padding-bottom: 3px;
  }

  .plan-card {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .pricing-panel .pricing-layout {
    width: calc(100% - 20px);
    height: 100%;
    min-height: 0;
    padding-top: calc(var(--header-height) + env(safe-area-inset-top) + 8px);
    padding-bottom: max(6px, env(safe-area-inset-bottom));
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 7px;
  }

  .pricing-heading .eyebrow {
    margin-bottom: 3px;
    font-size: 9px;
  }

  .pricing-heading h2 {
    margin-bottom: 0;
    font-size: clamp(2.15rem, 10.5vw, 2.8rem);
  }

  .plans {
    width: calc(100vw - 10px);
    height: 100%;
    margin-right: -10px;
    padding: 2px 16px 3px 0;
    grid-auto-columns: min(88vw, 380px);
    gap: 12px;
  }

  .plan-card {
    height: 100%;
    min-height: 0;
    padding: 18px;
    border-radius: 24px;
  }

  .plan-tag {
    padding: 6px 8px;
    font-size: 9px;
  }

  .plan-card h3 {
    margin-bottom: 5px;
    font-size: 30px;
  }

  .plan-price {
    min-height: 50px;
    margin-bottom: 7px;
    padding-bottom: 7px;
  }

  .plan-price strong {
    font-size: 39px;
  }

  .plan-price .plan-price-copy > small,
  .plan-price .plan-vat {
    font-size: 9.5px;
  }

  .plan-card > p {
    margin-bottom: 7px;
    font-size: 12.5px;
    line-height: 1.3;
  }

  .plan-card ul {
    margin-bottom: 7px;
    gap: 4px;
  }

  .plan-card li {
    font-size: 11.5px;
    line-height: 1.22;
  }

  .plan-card > button {
    min-height: 46px;
    font-size: 13px;
  }

  .payment-confidence {
    min-height: 54px;
    padding: 6px 8px;
    grid-template-columns: minmax(78px, 94px) minmax(0, 205px);
    gap: 7px;
    border-radius: 15px;
  }

  .payment-confidence-copy {
    gap: 6px;
  }

  .payment-confidence-icon {
    width: 30px;
    height: 30px;
  }

  .payment-confidence-copy strong {
    font-size: 11.5px;
  }

  .payment-confidence-schemes {
    width: min(100%, 205px);
  }
}

@media (max-width: 720px) and (max-height: 680px) {
  .pricing-panel .pricing-layout {
    padding-top: calc(var(--header-height) + env(safe-area-inset-top) + 5px);
    padding-bottom: max(4px, env(safe-area-inset-bottom));
    gap: 5px;
  }

  .pricing-heading .eyebrow {
    display: none;
  }

  .pricing-heading h2 {
    font-size: 34px;
  }

  .plans {
    padding-top: 1px;
    padding-bottom: 2px;
    gap: 10px;
  }

  .plan-card {
    padding: 14px;
    border-radius: 20px;
  }

  .plan-tag {
    padding: 5px 7px;
    font-size: 8px;
  }

  .plan-card h3 {
    margin-bottom: 3px;
    font-size: 27px;
  }

  .plan-price {
    min-height: 44px;
    margin-bottom: 5px;
    padding-bottom: 5px;
  }

  .plan-price strong {
    font-size: 36px;
  }

  .plan-price .plan-price-copy > small,
  .plan-price .plan-vat {
    font-size: 8.5px;
  }

  .plan-card > p {
    display: none;
  }

  .plan-card ul {
    margin-bottom: 5px;
    gap: 3px;
  }

  .plan-card li {
    gap: 5px;
    font-size: 11px;
    line-height: 1.18;
  }

  .plan-card li svg {
    width: 12px;
    height: 12px;
  }

  .plan-card > button {
    min-height: 42px;
    border-radius: 12px;
    font-size: 13px;
  }

  .payment-confidence {
    min-height: 48px;
    padding: 5px 7px;
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 6px;
    border-radius: 13px;
  }

  .payment-confidence-icon {
    width: 25px;
    height: 25px;
    border-radius: 8px;
  }

  .payment-confidence-copy strong {
    font-size: 11px;
  }

  .payment-confidence-schemes {
    width: 100%;
    height: 38px;
  }

  .payment-confidence-schemes img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

/* Prezzo e quantità Totem affiancati, con bordi completi su Standard e Max. */
.plans {
  padding-top: 18px;
}

.plan-card-heading {
  margin-bottom: 12px;
  padding-bottom: 12px;
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.plan-heading-copy {
  min-width: 0;
}

.plan-card-heading .plan-price {
  min-height: 0;
  margin: 0;
  padding: 0;
  border-bottom: 0;
}

.plan-totem-summary {
  min-height: 100px;
  margin-bottom: 0;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  align-self: center;
  justify-self: end;
  gap: 8px;
}

.plan-totem-preview {
  position: relative;
  width: 80px;
  height: 100px;
  display: block;
  flex: 0 0 80px;
  perspective: 260px;
  pointer-events: none;
}

.plan-totem-summary > strong {
  color: var(--scenario-accent);
  font-size: 60px;
  font-weight: 860;
  letter-spacing: -.065em;
  line-height: 1;
}

.plan-card[data-plan-card="premium"] .plan-totem-summary > strong {
  color: #a66f09;
}

.plan-card > .plan-tag-recommended {
  position: absolute;
  z-index: 2;
  top: 0;
  right: auto;
  left: 50%;
  margin: 0;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.plan-card.featured,
.plan-card.featured.is-selected,
.plan-card[data-plan-card="premium"],
.plan-card[data-plan-card="premium"].is-selected {
  border-color: transparent;
}

.plan-card.featured::before,
.plan-card[data-plan-card="premium"]::before {
  position: absolute;
  inset: -1px;
  padding: 2px;
  border-radius: inherit;
  background: var(--gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  content: "";
}

.plan-card[data-plan-card="premium"]::before {
  background: linear-gradient(135deg, #b78316, #e2bd55 48%, #a66f09);
}

.plan-card.featured.is-selected {
  box-shadow: 0 25px 70px rgba(var(--scenario-accent-rgb), .18);
}

.plan-card[data-plan-card="premium"].is-selected {
  box-shadow: 0 27px 70px rgba(138, 94, 8, .24);
}

.plan-card[data-plan-card="starter"],
.plan-card[data-plan-card="starter"]:hover,
.plan-card[data-plan-card="starter"].is-selected {
  border-color: rgba(43, 35, 76, .16);
}

.plan-card[data-plan-card="starter"].is-selected {
  box-shadow: 0 25px 65px rgba(43, 35, 76, .13);
}

@media (max-width: 720px) {
  .plan-card-heading {
    margin-bottom: 10px;
    padding-bottom: 10px;
    gap: 10px;
  }

  .plan-totem-summary {
    min-height: 86px;
    gap: 7px;
  }

  .plan-totem-preview {
    width: 68px;
    height: 86px;
    flex-basis: 68px;
  }

  .plan-totem-summary > strong {
    font-size: 50px;
  }
}

@media (max-width: 360px),
       (min-width: 721px) and (max-width: 1100px),
       (min-width: 721px) and (max-height: 740px),
       (max-width: 720px) and (max-height: 680px) {
  .plan-card-heading {
    margin-bottom: 8px;
    padding-bottom: 8px;
    gap: 8px;
  }

  .plan-card-heading h3 {
    font-size: 27px;
  }

  .plan-card-heading .plan-price strong {
    font-size: 36px;
  }

  .plan-totem-summary {
    min-height: 72px;
    gap: 6px;
  }

  .plan-totem-preview {
    width: 56px;
    height: 72px;
    flex-basis: 56px;
  }

  .plan-totem-summary > strong {
    font-size: 44px;
  }
}

/* Attivazione senza Totem: un'unica card, con costo iniziale e tariffa views. */
.pricing-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 24px;
}

.pricing-mode-switch {
  --mode-width: 184px;
  --mode-height: 48px;
  --mode-inset: 4px;
  --mode-thumb: calc(var(--mode-height) - 2px - var(--mode-inset) * 2);
  --mode-travel: calc(var(--mode-width) - var(--mode-thumb) - var(--mode-inset) * 2 - 2px);
  position: relative;
  width: var(--mode-width);
  height: var(--mode-height);
  padding: 0;
  display: block;
  flex: 0 0 auto;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 999px;
  background-color: #d8d8dd;
  background-image: linear-gradient(160deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, .06) 55%, rgba(93, 80, 139, .09));
  box-shadow: inset 0 2px 2px rgba(255, 255, 255, .8),
    inset 0 -2px 4px rgba(74, 58, 124, .12);
  color: #454052;
  cursor: pointer;
  transition: background-color .26s ease, box-shadow .26s ease, transform .2s ease;
}

.pricing-mode-switch::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 1px 0 1px rgba(255, 255, 255, .8), inset -1px 0 1px rgba(255, 255, 255, .5);
  background: radial-gradient(ellipse at 28% 0%, rgba(255, 255, 255, .3), transparent 62%);
  pointer-events: none;
  content: "";
}

.pricing-mode-thumb {
  position: absolute;
  z-index: 2;
  top: var(--mode-inset);
  left: var(--mode-inset);
  width: var(--mode-thumb);
  height: var(--mode-thumb);
  border: 1px solid rgba(255, 255, 255, .96);
  border-radius: 50%;
  background: linear-gradient(145deg, #fff, rgba(255, 255, 255, .82) 64%, rgba(243, 242, 255, .93));
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 3px 9px rgba(24, 23, 44, .2), inset 0 2px 2px #fff,
    inset 0 -2px 3px rgba(110, 103, 143, .12);
  transform: translateX(0);
  transform-origin: left center;
  transition: transform .5s cubic-bezier(.22, 1.16, .36, 1);
  pointer-events: none;
}

.pricing-mode-liquid {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  opacity: 0;
  fill: none;
  stroke: none;
  pointer-events: none;
}

.pricing-liquid-body {
  fill: url(#pricing-liquid-fill);
  stroke: rgba(255, 255, 255, .65);
  stroke-width: .65px;
}

.pricing-liquid-rim {
  fill: none;
  stroke: rgba(255, 255, 255, .85);
  stroke-width: .8px;
  stroke-linecap: round;
}

.pricing-liquid-shine {
  fill: none;
  stroke: rgba(255, 255, 255, .85);
  stroke-width: 1.7px;
  stroke-linecap: round;
}

.has-liquid-thumb .pricing-mode-liquid {
  opacity: 1;
}

.has-liquid-thumb .pricing-mode-thumb {
  visibility: hidden;
}

.pricing-mode-totem,
.pricing-mode-free {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  width: calc(var(--mode-travel) - 8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  white-space: nowrap;
  transition: opacity .18s ease, transform .26s ease;
  pointer-events: none;
}

.pricing-mode-totem strong,
.pricing-mode-free strong {
  font-size: 14px;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -.025em;
}

.pricing-mode-totem {
  left: 10px;
  color: #fff;
  opacity: 0;
  transform: translateX(16px);
  text-shadow: 0 1px 2px rgba(43, 25, 118, .25);
}

.pricing-mode-free {
  right: 10px;
  text-shadow: 0 1px 1px rgba(255, 255, 255, .6);
}

.pricing-mode-switch[aria-checked="true"] {
  background-color: #6757e8;
  background-image: linear-gradient(160deg, rgba(255, 255, 255, .18), transparent 55%, rgba(53, 28, 142, .15));
  box-shadow: inset 0 2px 2px rgba(255, 255, 255, .6),
    inset 0 -2px 4px rgba(50, 29, 128, .18);
}

.pricing-mode-switch[aria-checked="true"] .pricing-mode-thumb {
  transform: translateX(var(--mode-travel));
  transform-origin: right center;
}

.pricing-mode-switch[aria-checked="true"] .pricing-mode-totem {
  opacity: 1;
  transform: translateX(0);
}

.pricing-mode-switch[aria-checked="true"] .pricing-mode-free {
  opacity: 0;
  transform: translateX(-16px);
}

.pricing-mode-switch:focus-visible {
  outline: 3px solid #6757e8;
  outline-offset: 5px;
}

.pricing-mode-switch:active {
  transform: scale(.985);
}

.pricing-mode-switch:active .pricing-mode-thumb {
  transform: translateX(0) scaleX(1.1);
}

.pricing-mode-switch[aria-checked="true"]:active .pricing-mode-thumb {
  transform: translateX(var(--mode-travel)) scaleX(1.1);
}

@media (prefers-reduced-motion: reduce) {
  .pricing-mode-switch,
  .pricing-mode-thumb,
  .pricing-mode-totem,
  .pricing-mode-free {
    transition: none;
  }

  .pricing-mode-switch:active {
    transform: none;
  }

  .pricing-mode-switch:active .pricing-mode-thumb {
    transform: translateX(0);
  }

  .pricing-mode-switch[aria-checked="true"]:active .pricing-mode-thumb {
    transform: translateX(var(--mode-travel));
  }
}

@media (forced-colors: active) {
  .pricing-mode-switch::before {
    display: none;
  }

  .pricing-mode-switch,
  .pricing-mode-switch[aria-checked="true"] {
    border: 1px solid ButtonText;
    background: ButtonFace;
    color: ButtonText;
    box-shadow: none;
  }

  .pricing-mode-free,
  .pricing-mode-totem {
    color: ButtonText;
    text-shadow: none;
  }

  .pricing-mode-thumb {
    background: ButtonText;
    border-color: ButtonText;
  }

  .has-liquid-thumb .pricing-mode-liquid {
    display: none;
  }

  .has-liquid-thumb .pricing-mode-thumb {
    visibility: visible;
  }
}

.pricing-options {
  height: 100%;
  min-height: 0;
  min-width: 0;
}

.pricing-options > [hidden],
.pricing-mode-switch[hidden] {
  display: none;
}

.service-free-card {
  width: min(100%, 1000px);
  height: 100%;
  min-height: 0;
  margin-inline: auto;
  padding: clamp(22px, 3vw, 42px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  align-items: start;
  gap: clamp(16px, 2vh, 24px);
  overflow-y: auto;
  border: 1px solid rgba(var(--scenario-accent-rgb), .2);
  border-radius: 28px;
  background: linear-gradient(135deg, #fff 40%, rgba(var(--scenario-accent-rgb), .055));
  box-shadow: 0 20px 60px rgba(var(--scenario-accent-rgb), .09);
}

.service-free-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px 24px;
}

.service-free-heading {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.service-free-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: var(--scenario-accent);
  font-size: 12px;
  font-weight: 750;
}

.service-free-label svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.service-free-card h3 {
  max-width: 100%;
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -.045em;
}

.service-free-price {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
}

.service-free-price > strong {
  font-size: clamp(70px, 7vw, 96px);
  font-weight: 800;
  letter-spacing: -.07em;
  line-height: 1;
}

.service-free-price > strong span {
  font-size: .5em;
}

.service-free-price > span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.service-free-cta {
  grid-column: 1 / -1;
  align-self: end;
  width: 100%;
  min-height: 48px;
  font-size: 14px;
}

.service-free-details {
  align-self: center;
}

.service-free-details h4 {
  margin: 0 0 16px;
  font-size: 17px;
}

.service-free-details ul {
  display: grid;
  gap: 14px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.service-free-details li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.45;
}

.service-free-details li svg {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  color: var(--scenario-accent);
}

.service-free-staff {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 17px;
  border: 1px solid rgba(var(--scenario-accent-rgb), .13);
  border-radius: 17px;
  background: rgba(var(--scenario-accent-rgb), .06);
  transition: border-color .24s ease, box-shadow .24s ease;
}

.service-free-staff::before {
  position: absolute;
  inset: -1px;
  padding: 2px;
  border-radius: inherit;
  background: linear-gradient(125deg, #27bfe6, #7657f2 52%, #d946d7);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s ease;
  content: "";
}

.service-free-staff:has(.staff-program-switch[aria-checked="true"]) {
  border-color: transparent;
  background: linear-gradient(120deg, #effbff, #f5f1ff 58%, #fcf2ff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 0 24px rgba(118, 87, 242, .045);
}

.service-free-staff:has(.staff-program-switch[aria-checked="true"])::before {
  opacity: 1;
}

.service-free-staff:has(.staff-program-switch[aria-checked="true"]) strong span {
  background: linear-gradient(115deg, #6757e8, #b344d5);
  color: #fff;
}

.service-free-staff-icon svg {
  width: 22px;
  height: 22px;
  color: var(--scenario-accent);
}

.service-free-staff-content {
  flex: 1;
  min-width: 0;
}

.service-free-staff-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.staff-program-switch {
  position: relative;
  width: 58px;
  height: 34px;
  padding: 0;
  flex: 0 0 58px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 999px;
  background: #d8d8dd;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, .8), inset 0 -1px 2px rgba(60, 47, 91, .1);
  cursor: pointer;
  transition: background-color .22s ease;
}

.staff-program-switch > span {
  position: absolute;
  inset: 3px auto auto 3px;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  background: linear-gradient(145deg, #fff, #e8e4f5);
  box-shadow: 0 1px 3px rgba(30, 25, 53, .18);
  pointer-events: none;
  transition: transform .26s cubic-bezier(.22, 1.15, .36, 1);
}

.staff-program-switch[aria-checked="true"] {
  background-color: #6757e8;
}

.staff-program-switch[aria-checked="true"] > span {
  transform: translateX(24px);
}

.staff-program-switch:focus-visible {
  outline: 3px solid #6757e8;
  outline-offset: 3px;
}

.staff-program-switch[hidden] {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .service-free-staff,
  .service-free-staff::before,
  .staff-program-switch,
  .staff-program-switch > span {
    transition: none;
  }
}

@media (forced-colors: active) {
  .service-free-staff:has(.staff-program-switch[aria-checked="true"]) {
    border-color: Highlight;
    outline: 1px solid Highlight;
    background: Canvas;
    box-shadow: none;
  }

  .service-free-staff::before {
    display: none;
  }

  .service-free-staff:has(.staff-program-switch[aria-checked="true"]) strong span {
    background: Highlight;
    color: HighlightText;
  }

  .staff-program-switch,
  .staff-program-switch[aria-checked="true"] {
    border-color: ButtonText;
    background: ButtonFace;
    box-shadow: none;
  }

  .staff-program-switch > span {
    background: ButtonText;
    box-shadow: none;
  }
}

.service-free-staff strong {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  font-size: 14px;
}

.service-free-staff strong span {
  padding: 3px 7px;
  border-radius: 999px;
  background: #fff;
  color: var(--scenario-accent);
  font-size: 10px;
}

.service-free-staff p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

@media (min-width: 721px) {
  .service-free-details {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px 32px;
  }

  .service-free-details h4,
  .service-free-details ul {
    grid-column: 1;
    margin: 0;
  }

  .service-free-staff {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
  }
}

@media (max-width: 980px) {
  .pricing-heading {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .pricing-title-row {
    gap: 12px;
  }

  .pricing-title-row h2 {
    font-size: clamp(29px, 8.3vw, 40px);
  }

  .pricing-mode-switch {
    --mode-width: 172px;
    --mode-height: 44px;
  }

  .service-free-card {
    gap: 12px;
    padding: 16px;
    border-radius: 22px;
  }

  .service-free-intro {
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 8px 12px;
  }

  .service-free-card h3 {
    max-width: 7em;
    text-wrap: balance;
  }

  .service-free-price {
    display: block;
    padding-top: 24px;
  }

  .service-free-price > strong {
    display: block;
    font-size: 54px;
  }

  .service-free-price > span {
    display: block;
    margin-top: 4px;
    font-size: 10px;
  }

  .service-free-details h4 {
    margin-bottom: 8px;
  }

  .service-free-details ul {
    gap: 7px;
    margin-bottom: 12px;
  }

  .service-free-staff {
    padding: 12px;
  }

  .service-free-staff-icon {
    display: none;
  }

  .service-free-staff p {
    line-height: 1.4;
  }
}

.payment-provider {
  min-height: 32px;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  text-decoration: none;
}

.payment-provider strong {
  color: var(--ink);
  font-size: 14px;
  letter-spacing: -.025em;
}

.payment-provider:hover strong {
  color: var(--scenario-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.payment-provider:focus-visible {
  outline: 2px solid var(--scenario-accent);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (max-width: 720px) and (max-height: 680px) {
  .pricing-panel .pricing-title-row {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 8px;
  }

  .pricing-panel .pricing-title-row h2 {
    font-size: 24px;
  }

  .service-free-card {
    padding: 12px;
    gap: 8px;
  }

  .service-free-intro {
    gap: 6px 12px;
  }

  .service-free-heading {
    gap: 6px;
  }

  .service-free-price {
    padding-top: 16px;
  }

  .service-free-card h3 {
    font-size: 24px;
  }

  .service-free-price > strong {
    font-size: 46px;
  }

  .service-free-cta {
    min-height: 44px;
  }

  .service-free-details h4 {
    margin-bottom: 6px;
    font-size: 15px;
  }

  .service-free-details li {
    font-size: 12px;
    line-height: 1.3;
  }

  .service-free-details ul {
    gap: 5px;
    margin-bottom: 8px;
  }

  .service-free-staff {
    padding: 10px;
  }

  .service-free-staff p {
    margin-top: 6px;
    font-size: 11.5px;
    line-height: 1.35;
  }
}

@media (max-width: 360px) and (max-height: 680px) {
  .service-free-card {
    padding: 10px;
    gap: 6px;
  }

  .service-free-intro {
    grid-template-columns: minmax(0, 1fr) 104px;
    gap: 4px 8px;
  }

  .service-free-heading {
    gap: 4px;
  }

  .service-free-price {
    padding-top: 8px;
  }

  .service-free-label {
    gap: 4px;
    font-size: 10px;
  }

  .service-free-label svg,
  .service-free-details li svg {
    width: 14px;
    height: 14px;
  }

  .service-free-card h3 {
    font-size: 23px;
  }

  .service-free-price > strong {
    font-size: 42px;
  }

  .service-free-price > span {
    line-height: 1.3;
  }

  .service-free-details h4 {
    margin-bottom: 4px;
  }

  .service-free-details li {
    gap: 6px;
  }

  .service-free-details ul {
    gap: 4px;
    margin-bottom: 6px;
  }

  .service-free-staff {
    padding: 8px;
  }

  .service-free-staff p {
    line-height: 1.3;
  }
}

/* La stessa scelta Staff Program accompagna tutti i pacchetti. */
.plan-card-body {
  min-height: 0;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  overflow-y: auto;
  scrollbar-width: thin;
}

.plan-card-body:focus-visible {
  outline: 2px solid var(--scenario-accent);
  outline-offset: -2px;
  border-radius: 8px;
}

.plan-card-body > ul {
  flex-shrink: 0;
}

.plan-card .plan-staff {
  flex: 0 0 auto;
  align-self: stretch;
  margin-top: auto;
  margin-bottom: 0;
  padding: 12px;
}

.plan-staff .service-free-staff-heading {
  gap: 6px;
}

.plan-staff .service-free-staff-heading > strong {
  gap: 5px;
  font-size: 13px;
}

.plan-staff p {
  margin-top: 6px;
  font-size: 11.5px;
  line-height: 1.4;
}

.plan-card:has(.plan-staff) > button {
  flex-shrink: 0;
  margin-top: 12px;
}

@media (max-height: 740px) {
  .plan-card .plan-staff {
    padding: 10px;
  }

  .plan-card:has(.plan-staff) > button {
    margin-top: 8px;
  }

  .plan-staff p {
    line-height: 1.3;
  }
}

@media (max-width: 360px) and (max-height: 680px) {
  .plan-card:has(.plan-staff) {
    padding: 12px;
  }

  .plan-card:has(.plan-staff) ul {
    gap: 2px;
  }

  .plan-card .plan-staff {
    padding: 8px;
  }

  .plan-card:has(.plan-staff) > button {
    margin-top: 6px;
  }
}

/* Footer: navigazione del sito e informazioni societarie. */
.pricing-panel .pricing-layout {
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.site-footer {
  --footer-text: #a5a5b1;
  --footer-line: rgba(255, 255, 255, .13);
  background: #111116;
  color: var(--footer-text);
  font-size: 15px;
  line-height: 1.6;
  scroll-snap-align: end;
  scroll-margin-top: calc(var(--header-height) + env(safe-area-inset-top) + 16px);
}

.site-footer-inner {
  width: min(calc(100% - 96px), var(--container));
  margin-inline: auto;
  padding-top: 72px;
  padding-bottom: max(32px, env(safe-area-inset-bottom));
}

.site-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 48px;
  padding-bottom: 64px;
}

.site-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 34px;
  font-weight: 760;
  letter-spacing: -.05em;
  line-height: 1.2;
}

.site-footer-brand img {
  flex-shrink: 0;
}

.site-footer-description {
  margin: 22px 0 0;
  color: #c4c4cd;
  font-size: 18px;
  letter-spacing: -.015em;
  line-height: 1.55;
}

.site-footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.site-footer h2 {
  margin: 7px 0 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.5;
}

.site-footer a {
  max-width: 100%;
  overflow-wrap: anywhere;
  transition: color 180ms ease;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.site-footer a:focus-visible {
  outline: 2px solid #b3a9ff;
  outline-offset: 6px;
  border-radius: 2px;
}

.site-footer-company {
  padding-top: 28px;
  border-top: 1px solid var(--footer-line);
  font-size: 13px;
}

.site-footer-company p {
  margin-bottom: 8px;
}

.site-footer-company strong {
  color: #d7d7df;
  font-weight: 500;
}

.site-footer-details {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  font-size: 12px;
}

.site-footer-bottom {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 32px;
  margin-top: 32px;
  font-size: 12px;
}

.site-footer-bottom p {
  margin: 0;
}

.site-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.site-footer-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.site-footer-back span {
  color: #fff;
  font-size: 18px;
}

@media (max-width: 980px) {
  .site-footer-inner {
    width: calc(100% - 64px);
  }

  .site-footer-top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 32px;
  }

  .site-footer-intro {
    grid-column: 1 / -1;
  }

  .site-footer-description br {
    display: none;
  }
}

@media (max-width: 600px) {
  .site-footer-inner {
    width: calc(100% - 48px);
    padding-top: 40px;
    padding-bottom: max(28px, env(safe-area-inset-bottom));
  }

  .site-footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 20px;
    padding-bottom: 32px;
  }

  .site-footer-brand {
    font-size: 30px;
  }

  .site-footer-brand img {
    width: 38px;
    height: 38px;
  }

  .site-footer-description {
    margin-top: 16px;
    font-size: 16px;
  }

  .site-footer-links {
    gap: 12px;
    font-size: 14px;
  }

  .site-footer h2 {
    margin-top: 0;
    margin-bottom: 4px;
    font-size: 15px;
  }

  .site-footer-support {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
  }

  .site-footer-support h2 {
    grid-column: 1 / -1;
  }

  .site-footer-company {
    padding-top: 24px;
  }

  .site-footer-details {
    flex-direction: column;
    gap: 6px;
  }

  .site-footer-bottom {
    align-items: flex-start;
    gap: 18px;
    margin-top: 24px;
  }

  .site-footer-bottom > p,
  .site-footer-legal {
    width: 100%;
  }

  .site-footer-back {
    margin-left: 0;
  }
}
