@font-face {
  font-family: 'Radio Canada Big';
  src: url('../fonts/RadioCanadaBig_400Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Radio Canada Big';
  src: url('../fonts/RadioCanadaBig_500Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Radio Canada Big';
  src: url('../fonts/RadioCanadaBig_600SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Radio Canada Big';
  src: url('../fonts/RadioCanadaBig_700Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --canvas: #ffffff;
  --muted: #f4f5f6;
  --sunken: #e9ebee;
  --hairline: #e6e8eb;
  --hairline-strong: #d3d7dc;
  --text: #111418;
  --text-2: #4b525b;
  --text-3: #6e757e;
  --ink: #111418;
  --ink-pressed: #2b3037;
  --on-ink: #ffffff;
  --brand: #04a7fd;
  --brand-soft: #e6f6ff;
  --link: #0068a8;
  --critical: #c8283a;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1120px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --shadow-low: 0 1px 2px rgba(20, 20, 20, 0.05), 0 4px 12px rgba(20, 20, 20, 0.04);
  --shadow-medium: 0 2px 6px rgba(20, 20, 20, 0.07), 0 12px 32px rgba(20, 20, 20, 0.1);
  --shadow-high: 0 4px 10px rgba(20, 20, 20, 0.08), 0 24px 56px rgba(20, 20, 20, 0.18);
  --spring: cubic-bezier(0.23, 1, 0.32, 1);
  --move: cubic-bezier(0.77, 0, 0.175, 1);
  --smooth: cubic-bezier(0.2, 0.9, 0.2, 1);
  --font: 'Radio Canada Big', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

:root[data-theme='dark'] {
  color-scheme: dark;
  --canvas: #0e1013;
  --muted: #1a1d22;
  --sunken: #24282e;
  --hairline: #23272d;
  --hairline-strong: #333840;
  --text: #f2f4f6;
  --text-2: #b9bfc7;
  --text-3: #858c95;
  --ink: #f2f4f6;
  --ink-pressed: #d9dde2;
  --on-ink: #111418;
  --link: #5cc3ff;
  --critical: #ff8a8a;
  --brand-soft: #0f2a3a;
  --shadow-low: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow-medium: 0 2px 6px rgba(0, 0, 0, 0.5), 0 10px 28px rgba(0, 0, 0, 0.45);
  --shadow-high: 0 6px 12px rgba(0, 0, 0, 0.55), 0 24px 56px rgba(0, 0, 0, 0.55);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-gutter: stable;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

main {
  flex: 1;
}

a {
  color: inherit;
}

p a,
li a,
td a,
.link {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition:
    color 160ms ease,
    text-underline-offset 200ms var(--spring),
    text-decoration-thickness 160ms ease;
}

@media (hover: hover) and (pointer: fine) {
  p a:hover,
  li a:hover,
  td a:hover,
  .link:hover {
    color: var(--brand);
    text-underline-offset: 5px;
    text-decoration-thickness: 2px;
  }
}

:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
  border-radius: 4px;
}

[hidden] {
  display: none !important;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.nowrap {
  white-space: nowrap;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.bar-wrap {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 0 var(--gutter);
  background: var(--canvas);
  transition: background-color 300ms ease;
}

.bar-wrap.scrolled {
  background: transparent;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  height: 72px;
  margin: 0 auto;
  padding: 0;
  border-radius: 999px;
  background: var(--canvas);
  box-shadow: 0 0 0 1px transparent;
  transition:
    max-width 350ms var(--spring),
    padding 350ms var(--spring),
    transform 350ms var(--spring),
    box-shadow 250ms ease;
}

.bar-wrap.scrolled .bar {
  max-width: 820px;
  padding: 0 8px 0 22px;
  transform: translateY(12px);
  box-shadow:
    0 0 0 1px var(--hairline),
    var(--shadow-medium);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 23px;
  letter-spacing: -0.03em;
  color: var(--text);
  transition: color 220ms ease;
}

.brand svg {
  width: 32px;
  height: 20px;
  fill: currentColor;
  overflow: visible;
  transition: transform 400ms var(--spring);
}

.brand svg circle {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  transition: transform 500ms var(--spring);
}

@media (hover: hover) and (pointer: fine) {
  .brand:hover {
    color: var(--brand);
  }
}

@media (hover: hover) and (pointer: fine) {
  .brand:hover svg {
    transform: translateY(-2px) rotate(-4deg);
  }
}

@media (hover: hover) and (pointer: fine) {
  .brand:hover svg circle {
    transform: translateY(-34%);
  }
}

.brand:active svg {
  transform: scale(0.9);
}

.bar-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-pill {
  position: absolute;
  top: 50%;
  left: 0;
  height: 38px;
  width: var(--w, 0);
  border-radius: 999px;
  background: var(--muted);
  opacity: 0;
  transform: translate(var(--x, 0), -50%);
  transition:
    transform 320ms var(--smooth),
    width 320ms var(--smooth),
    opacity 200ms ease;
  pointer-events: none;
}

.nav-pill.on {
  opacity: 1;
}

.bar-nav a:not(.bar-link) {
  position: relative;
  z-index: 1;
  padding: 8px 14px;
  border-radius: var(--radius);
  color: var(--text-2);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    transform 200ms var(--spring);
}

@media (hover: hover) and (pointer: fine) {
  .bar-nav a:not(.bar-link):hover {
    color: var(--text);
  }
}

.bar-nav a:not(.bar-link):active {
  transform: scale(0.95);
}

.bar-link {
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 44px;
  margin-left: 8px;
  padding: 0 20px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--on-ink);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition:
    background-color 200ms ease,
    color 200ms ease,
    box-shadow 260ms ease,
    transform 260ms var(--spring);
}

@media (hover: hover) and (pointer: fine) {
  .bar-link:hover,
  .store:hover,
  .button:hover {
    background: var(--brand);
    color: #111418;
    transform: translateY(-2px);
  }
}

.bar-link:active,
.store:active,
.button:active {
  transform: scale(0.96);
  box-shadow: none;
  transition-duration: 80ms;
}

.hero {
  padding-top: clamp(48px, 9vh, 104px);
  overflow: hidden;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.display {
  margin: 0;
  font-size: clamp(3rem, 8.2vw, 7.2rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 700;
}

.display .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.display .line > span {
  display: inline-block;
  animation: line-up 900ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.display .line:nth-child(2) > span {
  animation-delay: 120ms;
}

@keyframes line-up {
  from {
    transform: translateY(105%);
  }
}

.display .soft {
  color: var(--text-3);
}

.live-dot {
  display: inline-block;
  width: 0.15em;
  height: 0.15em;
  margin-left: 0.05em;
  border-radius: 50%;
  background: var(--brand);
  animation:
    dot-in 500ms 900ms var(--spring) both,
    pulse 2.4s 1.4s ease-in-out 3;
}

@keyframes dot-in {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 50%, transparent);
  }
  60% {
    box-shadow: 0 0 0 0.14em color-mix(in srgb, var(--brand) 0%, transparent);
  }
}

.rise {
  animation: rise 800ms var(--d, 0s) cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

@keyframes rise {
  from {
    transform: translateY(24px);
    opacity: 0;
  }
}

.lead {
  margin: 28px 0 0;
  max-width: 34ch;
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  line-height: 1.45;
  color: var(--text-2);
}

.stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.page .stores {
  justify-content: flex-start;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 58px;
  padding: 0 24px 0 20px;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--on-ink);
  text-decoration: none;
  line-height: 1.1;
  text-align: left;
  transition:
    background-color 200ms ease,
    color 200ms ease,
    box-shadow 260ms ease,
    transform 260ms var(--spring);
}

.store svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  flex: none;
  transition: transform 400ms var(--spring);
}

@media (hover: hover) and (pointer: fine) {
  .store:hover svg {
    transform: scale(1.12) rotate(-6deg);
  }
}

.store small {
  display: block;
  font-size: 12px;
  opacity: 0.72;
}

.store strong {
  display: block;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.phone {
  position: relative;
  padding: 3.4%;
  border-radius: 16.5% / 7.4%;
  background: #08090a;
  box-shadow:
    inset 0 0 0 1.5px #3a3f46,
    inset 0 0 0 4px #08090a,
    0 50px 100px -40px rgba(17, 20, 24, 0.5),
    0 30px 60px -30px rgba(17, 20, 24, 0.35);
}

.phone::before,
.phone::after {
  content: '';
  position: absolute;
  left: -3px;
  width: 3px;
  border-radius: 2px 0 0 2px;
  background: #2b3037;
}

.phone::before {
  top: 22%;
  height: 9%;
}

.phone::after {
  top: 33%;
  height: 9%;
}

.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 13.2% / 5.9%;
  background: #f4f5f6;
  isolation: isolate;
  aspect-ratio: 720 / 1616;
  transform: translateZ(0);
}

.phone-screen img {
  border-radius: inherit;
}

.phone-shots {
  position: relative;
}

.phone-shots img {
  display: block;
  width: 100%;
  height: auto;
}

.phone-shots img + img {
  position: absolute;
  inset: 0;
}

.phone-shots img:not(.on) {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
}

.phone-shots img {
  transition:
    opacity 420ms ease,
    transform 520ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.push {
  position: absolute;
  top: 9%;
  left: 10px;
  right: 10px;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 12px 12px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow:
    0 0 0 1px rgba(17, 20, 24, 0.06),
    0 18px 40px -12px rgba(17, 20, 24, 0.35);
  color: #111418;
  font-size: 13.5px;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(-140%);
  transition:
    transform 600ms cubic-bezier(0.34, 1.3, 0.64, 1),
    opacity 300ms ease;
}

.push.show {
  opacity: 1;
  transform: translateY(0);
}

.push-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--brand);
}

.push-icon svg {
  width: 24px;
  height: 15px;
  fill: #ffffff;
}

.push-text b {
  display: block;
  font-weight: 600;
}

.push-text span {
  display: block;
  color: #4b525b;
}

.push small {
  align-self: start;
  font-size: 12px;
  color: #6e757e;
}

.stage {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: clamp(56px, 9vh, 88px);
  padding-bottom: clamp(64px, 10vh, 120px);
  perspective: 1400px;
}

.stage-phone {
  width: clamp(290px, 27vw, 360px);
  transform-origin: 50% 0;
  animation: phone-in 1.1s 250ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

@keyframes phone-in {
  from {
    transform: translateY(120px) rotateX(18deg) scale(0.94);
    opacity: 0;
  }
}

.stage-phone .phone {
  transform: translateY(var(--climb, 0px)) rotateX(var(--tilt, 0deg)) scale(var(--scale, 1));
  transform-origin: 50% 0;
}

.float {
  position: absolute;
  z-index: 2;
  cursor: default;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px 14px 14px;
  border-radius: 20px;
  background: var(--canvas);
  box-shadow:
    0 0 0 1px var(--hairline),
    0 30px 60px -24px rgba(17, 20, 24, 0.3);
  font-size: 15px;
  line-height: 1.3;
  text-align: left;
  white-space: nowrap;
  animation:
    rise 900ms var(--d, 1s) cubic-bezier(0.2, 0.9, 0.2, 1) both,
    bob 6s calc(var(--d, 1s) + 900ms) ease-in-out infinite;
  transition:
    scale 300ms var(--spring),
    box-shadow 300ms ease;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.float b {
  display: block;
  font-weight: 600;
}

.float span span {
  color: var(--text-2);
}

.float-left {
  --d: 1.1s;
  top: 38%;
  right: calc(50% + clamp(190px, 17vw, 230px));
}

.float-right {
  --d: 1.35s;
  top: 62%;
  left: calc(50% + clamp(190px, 17vw, 230px));
}

.float-right strong {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-left: 14px;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.float-right strong small {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-2);
}

.float-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--ink);
}

.float-icon svg {
  width: 20px;
  fill: var(--on-ink);
  transform-origin: 50% 10%;
  animation: ring 6s 2.5s ease-in-out 2;
}

@keyframes ring {
  0%,
  8%,
  100% {
    transform: rotate(0);
  }
  2% {
    transform: rotate(14deg);
  }
  4% {
    transform: rotate(-12deg);
  }
  6% {
    transform: rotate(6deg);
  }
}

.badge {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--c);
  color: var(--on);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.count-tick {
  display: inline-block;
  animation: tick 420ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes tick {
  from {
    transform: translateY(-60%);
    opacity: 0;
  }
}

.lines {
  padding: 28px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee 48s linear infinite;
}

@media (hover: hover) and (pointer: fine) {
  .marquee:hover .marquee-track,
  .marquee:focus-within .marquee-track {
    animation-play-state: paused;
  }
}

@keyframes marquee {
  to {
    transform: translateX(calc(-50% - 6px));
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 22px 0 8px;
  border-radius: 999px;
  background: var(--muted);
  font-weight: 500;
  font-size: 17px;
  white-space: nowrap;
  transition:
    background-color 200ms ease,
    transform 300ms var(--spring);
}

@media (hover: hover) and (pointer: fine) {
  .pill:hover {
    background: var(--sunken);
  }
}

.pill .badge {
  border-radius: 999px;
}

.section-title {
  margin: 0;
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 700;
}

.section-title span {
  color: var(--text-3);
}

:root[data-theme='dark'] .phone {
  background: #2b3037;
  box-shadow:
    inset 0 0 0 1.5px #4a5059,
    inset 0 0 0 4px #2b3037,
    0 50px 100px -40px rgba(0, 0, 0, 0.8);
}

.page {
  padding: clamp(32px, 7vh, 88px) 0 clamp(56px, 10vh, 112px);
}

.page .wrap {
  max-width: calc(760px + 2 * var(--gutter));
}

.page-title,
.page-lead,
.page .body,
.lost > * {
  animation: rise 800ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.page-lead {
  animation-delay: 90ms;
}

.page .body {
  animation-delay: 180ms;
}

.page-title {
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.page-lead {
  margin: 20px 0 0;
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  color: var(--text-2);
  max-width: 40ch;
}

.meta {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--text-3);
}

.body {
  margin-top: clamp(40px, 6vh, 64px);
}

.faq details {
  border-top: 1px solid var(--hairline);
}

.faq details:last-child {
  border-bottom: 1px solid var(--hairline);
}

.faq {
  interpolate-size: allow-keywords;
}

.faq details::details-content {
  block-size: 0;
  overflow: hidden;
  transition:
    block-size 400ms var(--smooth),
    content-visibility 400ms allow-discrete;
}

.faq details[open]::details-content {
  block-size: auto;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-size: 19px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition:
    color 160ms ease,
    transform 200ms var(--spring);
}

@media (hover: hover) and (pointer: fine) {
  .faq summary:hover {
    color: var(--link);
    transform: translateX(8px);
  }
}

.faq summary:active {
  transform: translateX(8px) scale(0.98);
}

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

.faq summary::after {
  content: '';
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat;
  transition: transform 400ms var(--spring);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: -6px 0 24px;
  max-width: 62ch;
  color: var(--text-2);
}

.faq-more {
  margin-top: 40px;
  color: var(--text-2);
}

.doc h2 {
  margin: 48px 0 12px;
  font-size: 1.45rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.doc h2:first-child {
  margin-top: 0;
}

.doc h3 {
  margin: 28px 0 8px;
  font-size: 1.1rem;
  font-weight: 500;
}

.doc p,
.doc li {
  color: var(--text-2);
}

.doc ul,
.doc ol {
  padding-left: 20px;
}

.doc table {
  width: 100%;
  margin: 16px 0;
  border-collapse: collapse;
  font-size: 15px;
}

.doc th,
.doc td {
  padding: 12px 12px 12px 0;
  border-bottom: 1px solid var(--hairline);
  text-align: left;
  vertical-align: top;
}

.doc th {
  font-weight: 500;
  color: var(--text);
}

.doc td {
  color: var(--text-2);
}

.table-scroll {
  overflow-x: auto;
}

.rows {
  list-style: none;
  margin: 0 0 48px;
  padding: 0;
}

.rows li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--hairline);
  transition: padding 300ms var(--spring);
}

@media (hover: hover) and (pointer: fine) {
  .rows li:hover {
    padding-left: 8px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .rows li:hover .tag {
    color: var(--text);
  }
}

.rows li:last-child {
  border-bottom: 1px solid var(--hairline);
}

.rows b {
  font-weight: 600;
}

.rows small {
  display: block;
  font-size: 15px;
  color: var(--text-2);
}

.rows .tag {
  flex: none;
  font-size: 14px;
  color: var(--text-3);
}

.download-phone {
  width: min(300px, 78vw);
  margin: 56px auto 0;
  animation: phone-in 1.1s 150ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.group-note {
  margin: -4px 0 16px;
  color: var(--text-2);
  font-size: 15px;
}

.rows small a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.group-title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-3);
}

.release {
  display: grid;
  grid-template-columns: minmax(0, 180px) 1fr;
  gap: 8px 40px;
  padding: 32px 0;
  border-top: 1px solid var(--hairline);
}

.release:last-child {
  border-bottom: 1px solid var(--hairline);
}

.release-num {
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 700;
}

.release-num small {
  display: block;
  margin-top: 10px;
  font-size: 15px;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--text-3);
}

.release ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.release li {
  padding: 6px 0;
  transition: transform 300ms var(--spring);
}

@media (hover: hover) and (pointer: fine) {
  .release li:hover {
    transform: translateX(6px);
  }
}

.release li b {
  font-weight: 600;
}

.release li span {
  color: var(--text-2);
}

.form {
  display: grid;
  gap: 24px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label,
.field legend {
  font-size: 15px;
  font-weight: 500;
}

.field .hint {
  font-size: 14px;
  color: var(--text-3);
}

.input {
  width: 100%;
  min-height: 60px;
  padding: 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--muted);
  color: var(--text);
  font: 400 17px var(--font);
  transition:
    border-color 160ms ease,
    box-shadow 200ms ease,
    background-color 160ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .input:hover {
    border-color: var(--hairline-strong);
  }
}

.input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}

textarea.input {
  min-height: 168px;
  resize: vertical;
  line-height: 1.5;
}

select.input {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%236E757E' d='m213.66 101.66-80 80a8 8 0 0 1-11.32 0l-80-80a8 8 0 0 1 11.32-11.32L128 164.69l74.34-74.35a8 8 0 0 1 11.32 11.32'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
}

.kinds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.kinds legend {
  margin-bottom: 8px;
  padding: 0;
}

.kinds label {
  position: relative;
}

.kinds input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.kinds span {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--muted);
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    transform 260ms var(--spring);
}

.kinds span:active {
  transform: scale(0.95);
}

@media (hover: hover) and (pointer: fine) {
  .kinds span:hover {
    background: var(--sunken);
  }
}

.kinds input:checked + span {
  background: var(--ink);
  color: var(--on-ink);
}

.kinds input:focus-visible + span {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--text-2);
}

.check input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--ink);
  flex: none;
}

.error {
  display: none;
  font-size: 14px;
  color: var(--critical);
}

.invalid .error {
  display: block;
}

.invalid .input {
  border-color: var(--critical);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--on-ink);
  font: 600 17px var(--font);
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 200ms ease,
    color 200ms ease,
    box-shadow 260ms ease,
    transform 260ms var(--spring);
}

.button:disabled {
  cursor: default;
  background: var(--sunken);
  color: var(--text-3);
}

.done {
  padding: 32px 0;
  border-top: 1px solid var(--hairline);
}

.done h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.done p {
  margin: 12px 0 24px;
  color: var(--text-2);
}

.lost {
  padding-top: clamp(48px, 12vh, 160px);
  padding-bottom: clamp(48px, 12vh, 160px);
}

.lost .display .soft {
  display: block;
}

.lost p {
  margin: 28px 0 32px;
  font-size: 1.2rem;
  color: var(--text-2);
}

.foot {
  border-top: 1px solid var(--hairline);
  padding: 32px 0 40px;
  font-size: 15px;
}

.foot-note {
  margin: 24px 0 0;
  font-size: 13px;
  color: var(--text-3);
  max-width: 72ch;
}

@media (max-width: 1023px) {
  .float {
    display: none;
  }
}

@media (min-width: 641px) and (max-width: 1023px) {
  .stage-phone {
    width: clamp(290px, 42vw, 340px);
  }
}

@media (max-width: 767px) {
  .bar-nav a:not(.bar-link):not(.nav-keep) {
    display: none;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .bar {
    height: 64px;
  }

  .store {
    flex: 1 1 100%;
    justify-content: center;
  }

  .stage-phone {
    width: min(272px, 76vw);
  }

  .bar-link {
    height: 40px;
    padding: 0 16px;
  }

  .display {
    font-size: clamp(2.7rem, 13vw, 3.6rem);
  }

  .lead {
    margin-top: 20px;
  }

  .stores {
    width: 100%;
  }

  .section-title {
    font-size: clamp(2.2rem, 11vw, 3rem);
  }

  .faq summary {
    font-size: 17px;
  }

  .rows li {
    flex-direction: column;
    gap: 4px;
  }

  .release {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}

.intro {
  display: none;
}

html.intro-on .intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  overflow: hidden;
  pointer-events: none;
}

html.intro-on {
  overflow: hidden;
}

.intro-bg {
  position: absolute;
  inset: 0;
  background: #04a7fd;
  animation: intro-bg 340ms 1130ms cubic-bezier(0.45, 0, 0.2, 1) forwards;
}

.intro-mark {
  position: relative;
  flex: none;
  justify-self: center;
  align-self: center;
  width: 720px;
  height: 450px;
  transform: scale(0.1667);
  transform-origin: 50% 61.92%;
  animation:
    intro-zoom 1490ms linear forwards,
    intro-fade 280ms 1310ms cubic-bezier(0.45, 0, 0.2, 1) forwards;
  will-change: transform, opacity;
}

.intro-mark svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: #ffffff;
}

.intro-dot {
  animation: intro-lift 1000ms linear forwards;
}

@keyframes intro-bg {
  to {
    opacity: 0;
  }
}

@keyframes intro-fade {
  to {
    opacity: 0;
  }
}

@keyframes intro-zoom {
  0%,
  23.5% {
    transform: scale(0.1667);
    animation-timing-function: cubic-bezier(0.45, 0, 0.2, 1);
  }
  49% {
    transform: scale(0.15);
    animation-timing-function: cubic-bezier(0.7, 0, 0.25, 1);
  }
  100% {
    transform: scale(4.333);
  }
}

@keyframes intro-lift {
  0%,
  35% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0.45, 0, 0.2, 1);
  }
  63% {
    transform: translateY(-34%);
    animation-timing-function: cubic-bezier(0.3, 0, 0.3, 1);
  }
  78% {
    transform: translateY(6%);
    animation-timing-function: ease-in-out;
  }
  88% {
    transform: translateY(-2%);
    animation-timing-function: ease-in-out;
  }
  96%,
  100% {
    transform: translateY(0);
  }
}

html.intro-hold .display .line > span,
html.intro-hold .live-dot,
html.intro-hold .rise,
html.intro-hold .stage-phone,
html.intro-hold .float,
html.intro-hold .page-title,
html.intro-hold .page-lead,
html.intro-hold .page .body,
html.intro-hold .lost > * {
  animation-play-state: paused;
}

.bar-link .arrow {
  width: 16px;
  height: 16px;
  margin-left: 8px;
  fill: currentColor;
  opacity: 0.55;
  transform: translateX(-3px);
  transition:
    opacity 200ms ease,
    transform 200ms var(--spring);
}

@media (hover: hover) and (pointer: fine) {
  .bar-link:hover .arrow {
    opacity: 1;
    transform: none;
  }
}

.bar-wrap.scrolled .bar-link {
  border-radius: 999px;
}

[data-climb-title] {
  position: relative;
  z-index: 0;
  transform: translateY(var(--title-y, 0px));
}

.stage {
  z-index: 1;
}

[data-reveal] {
  overflow: hidden;
}

[data-reveal] > .reveal-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

[data-reveal] > .reveal-line > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 900ms var(--smooth);
  transition-delay: calc(var(--i, 0) * 110ms);
}

[data-reveal].in > .reveal-line > span {
  transform: none;
}

.showcase {
  padding-top: clamp(64px, 12vh, 140px);
  padding-bottom: clamp(64px, 12vh, 140px);
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  margin-top: clamp(40px, 7vh, 72px);
}

.showcase-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feat {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 18px 22px;
  border: 0;
  border-radius: var(--radius-lg);
  background: transparent;
  color: var(--text-3);
  font: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition:
    background-color 300ms ease,
    color 300ms ease,
    transform 200ms var(--smooth);
}

@media (hover: hover) and (pointer: fine) {
  .feat:hover {
    color: var(--text);
    background: color-mix(in srgb, var(--muted) 60%, transparent);
  }
}

.feat:active {
  transform: scale(0.98);
}

.feat:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.feat.on {
  color: var(--text);
  background: var(--muted);
}

.feat-title {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  transition: transform 400ms var(--smooth);
}

@media (hover: hover) and (pointer: fine) {
  .feat:hover .feat-title {
    transform: translateX(4px);
  }
}

.feat-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 450ms var(--smooth);
}

.feat-body > span {
  overflow: hidden;
}

.feat.on .feat-body {
  grid-template-rows: 1fr;
}

.feat-text {
  display: block;
  max-width: 38ch;
  padding-top: 10px;
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.5;
  opacity: 0;
  transition: opacity 300ms ease;
}

.feat.on .feat-text {
  opacity: 1;
  transition-delay: 120ms;
}

.feat-bar {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.showcase.playing .feat.on .feat-bar,
.steps.playing .feat.on .feat-bar {
  animation: feat-progress var(--feat-time, 5s) linear forwards;
}

@keyframes feat-progress {
  to {
    transform: scaleX(1);
  }
}

.showcase-phone {
  display: flex;
  justify-content: center;
}

.showcase-phone .phone {
  width: min(340px, 100%);
  transition: transform 600ms var(--smooth);
}

@media (hover: hover) and (pointer: fine) {
  .showcase-phone:hover .phone {
    transform: translateY(-8px);
  }
}

@media (max-width: 1023px) {
  .showcase-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .showcase-phone {
    order: -1;
  }

  .showcase-phone .phone {
    width: min(280px, 70vw);
  }
}

@media (max-width: 767px) {
  .bar-wrap.scrolled .bar {
    padding: 0 6px 0 18px;
  }

  .nav-pill {
    display: none;
  }
}

@media (max-width: 640px) {
  .deck {
    --w: min(240px, 62vw);
  }

  .deck-item[data-pos='1'] {
    transform: translate(58%, 8%) scale(0.82);
  }

  .deck-item[data-pos='-1'] {
    transform: translate(-58%, 8%) scale(0.82);
  }

  .feat {
    padding: 16px 18px;
  }
}

[data-reveal] > .reveal-line,
[data-reveal] > .reveal-line > span {
  color: inherit;
}

.split-head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-items: end;
}

.split-head p {
  margin: 0;
  max-width: 40ch;
  justify-self: end;
  color: var(--text-2);
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
}

.intro-split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 32px 64px;
  align-items: center;
  padding-top: clamp(64px, 11vh, 128px);
  padding-bottom: clamp(48px, 8vh, 88px);
}

.intro-split > p {
  margin: 0;
  max-width: 36ch;
  color: var(--text-2);
}

.intro-claim {
  display: flex;
  align-items: center;
  gap: 24px;
}

.intro-claim h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.intro-claim h2 span {
  color: var(--text-3);
}

.round-link {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-ink);
  transition:
    background-color 200ms ease,
    transform 300ms var(--smooth);
}

.round-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: transform 300ms var(--smooth);
}

@media (hover: hover) and (pointer: fine) {
  .round-link:hover {
    background: var(--brand);
    color: #111418;
  }
}

@media (hover: hover) and (pointer: fine) {
  .round-link:hover svg {
    transform: translateY(3px);
  }
}

.round-link:active {
  transform: scale(0.92);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: clamp(420px, 40vw, 500px);
  padding: 28px 28px 0;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  transition: transform 400ms var(--smooth);
}

.card-muted {
  background: var(--muted);
}

.card-brand {
  background: var(--brand-soft);
}

.card-ink {
  background: #111418;
  color: #ffffff;
}

.card h3 {
  margin: 0;
  font-size: clamp(1.3rem, 1.9vw, 1.6rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.card p {
  margin: 8px 0 0;
  max-width: 28ch;
  font-size: 15px;
  color: var(--text-2);
}

.card-ink p {
  color: #b9bfc7;
}

.card-phone {
  position: absolute;
  left: 50%;
  bottom: -38%;
  width: min(260px, 72%);
  transform: translate(-40%, 0) rotate(-10deg);
  transition: transform 300ms var(--spring);
}

@media (hover: hover) and (pointer: fine) {
  .card:hover .card-phone {
    transform: translate(-50%, -6%) rotate(0deg);
  }
}

.steps {
  padding-top: clamp(96px, 15vh, 176px);
  padding-bottom: clamp(48px, 8vh, 96px);
}

.steps-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
  margin-top: clamp(48px, 8vh, 80px);
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.step-card {
  min-height: 168px;
  padding: 20px;
  border-radius: 20px;
  background: var(--muted);
  color: var(--text);
  justify-content: flex-start;
  gap: 10px;
}

.step-card:nth-child(odd) {
  transform: translateY(36px);
}

.step-card:nth-child(odd):active {
  transform: translateY(36px) scale(0.98);
}

@media (hover: hover) and (pointer: fine) {
  .step-card:hover {
    background: var(--sunken);
  }
}

.step-card.on {
  background: var(--brand-soft);
}

.step-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.step-top b {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.step-num {
  flex: none;
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--canvas);
  font-size: 12px;
  font-weight: 600;
  transition:
    background-color 200ms ease,
    color 200ms ease;
}

.step-card.on .step-num {
  background: var(--brand);
  color: #111418;
}

.step-text {
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.5;
}

.steps-phone .phone {
  width: min(300px, 100%);
}

.steps-side p {
  margin: 0 0 20px;
  color: var(--text-2);
  font-size: 15px;
}

.bento-section {
  padding-top: clamp(96px, 15vh, 176px);
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(250px, auto);
  gap: 20px;
  margin-top: clamp(40px, 7vh, 72px);
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  border-radius: 28px;
  background: var(--muted);
  overflow: hidden;
  transition:
    transform 400ms var(--smooth),
    background-color 300ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .tile:hover {
    background: var(--sunken);
  }
}

.tile h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.tile p {
  margin: 6px 0 0;
  color: var(--text-2);
  font-size: 15px;
  max-width: 32ch;
}

.tile-tall {
  grid-row: span 2;
  justify-content: flex-start;
  background: var(--brand-soft);
}

@media (hover: hover) and (pointer: fine) {
  .tile-tall:hover {
    background: var(--brand-soft);
  }
}

.tile-wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: flex-end;
  gap: 24px;
}

.tile-wide .tile-copy {
  flex: 1;
}

.tile-phone {
  margin: 28px auto -40%;
  width: min(270px, 80%);
  transition: transform 300ms var(--spring);
}

@media (hover: hover) and (pointer: fine) {
  .tile:hover .tile-phone {
    transform: translateY(-12px);
  }
}

.tile-phone-side {
  flex: none;
  width: 250px;
  margin: 0 12px -36% 0;
  transform: rotate(6deg);
}

@media (hover: hover) and (pointer: fine) {
  .tile:hover .tile-phone-side {
    transform: rotate(0deg) translateY(-12px);
  }
}

.tile-art {
  margin-bottom: auto;
  padding-bottom: 24px;
}

.tile-ink {
  background: #111418;
  color: #ffffff;
}

@media (hover: hover) and (pointer: fine) {
  .tile-ink:hover {
    background: #1d2127;
  }
}

.tile-ink p {
  color: #b9bfc7;
}

.big-art {
  font-size: clamp(2.6rem, 4.6vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}

.tile-ink .big-art {
  color: var(--brand);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
}

.bell {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--canvas);
  box-shadow: var(--shadow-low);
}

.bell svg {
  width: 28px;
  height: 28px;
  fill: var(--text);
  transform-origin: 50% 10%;
}

@media (hover: hover) and (pointer: fine) {
  .tile:hover .bell svg {
    animation: ring 900ms ease;
  }
}

.bell i {
  position: absolute;
  top: -2px;
  right: -2px;
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--brand);
  color: #111418;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.lang-art {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lang-art span {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--canvas);
  font-size: 14px;
  font-weight: 600;
  transition:
    background-color 200ms ease,
    color 200ms ease,
    transform 300ms var(--smooth);
}

@media (hover: hover) and (pointer: fine) {
  .tile:hover .lang-art span:first-child,
  .lang-art span:hover {
    background: var(--ink);
    color: var(--on-ink);
  }
}

@media (hover: hover) and (pointer: fine) {
  .lang-art span:hover {
    transform: translateY(-2px);
  }
}

.home-faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 32px 64px;
  padding-top: clamp(96px, 15vh, 176px);
  padding-bottom: clamp(64px, 10vh, 120px);
}

.home-faq-head p {
  margin: 20px 0 0;
  color: var(--text-2);
}

.home-faq-list details {
  margin-bottom: 10px;
  padding: 0 22px;
  border: 0;
  border-radius: 18px;
  background: var(--muted);
  transition: background-color 300ms ease;
}

.home-faq-list details:last-child {
  border: 0;
}

.home-faq-list details[open] {
  background: var(--brand-soft);
}

.home-faq-list summary {
  padding: 20px 0;
  font-size: 17px;
}

@media (hover: hover) and (pointer: fine) {
  .home-faq-list summary:hover {
    padding-left: 0;
  }
}

.home-faq-list details p {
  margin: -4px 0 22px;
}

.cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  min-height: 440px;
  margin-bottom: clamp(64px, 10vh, 120px);
  padding: clamp(32px, 5vw, 64px);
  border-radius: 32px;
  background: var(--brand-soft);
  overflow: hidden;
}

.cta-copy {
  align-self: center;
}

.cta h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 700;
}

.cta h2 span {
  color: var(--text-3);
}

.cta-copy > p {
  margin: 18px 0 0;
  max-width: 36ch;
  color: var(--text-2);
}

.cta .stores {
  justify-content: flex-start;
}

.cta-phone {
  position: absolute;
  right: 8%;
  top: 56px;
  width: clamp(220px, 22vw, 290px);
  transform: rotate(8deg);
  transition: transform 300ms var(--spring);
}

@media (hover: hover) and (pointer: fine) {
  .cta:hover .cta-phone {
    transform: rotate(3deg) translateY(-16px);
  }
}

.foot {
  padding: 56px 0 32px;
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.foot-brand p {
  margin: 14px 0 0;
  max-width: 30ch;
  color: var(--text-2);
}

.foot-col b {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text-3);
  font-weight: 500;
}

.foot-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot-col li + li {
  margin-top: 8px;
}

.foot-col a {
  display: inline-block;
  color: var(--text);
  text-decoration: none;
  transition:
    color 160ms ease,
    transform 260ms var(--smooth);
}

@media (hover: hover) and (pointer: fine) {
  .foot-col a:hover {
    color: var(--brand);
    transform: translateX(3px);
  }
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 40px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  font-size: 13px;
  color: var(--text-3);
}

.foot-bottom .foot-note {
  margin: 0;
  max-width: 64ch;
}

:root[data-theme='dark'] .card-ink,
:root[data-theme='dark'] .tile-ink {
  background: #f2f4f6;
  color: #111418;
}

:root[data-theme='dark'] .tile-ink:hover {
  background: #e2e5e9;
}

:root[data-theme='dark'] .card-ink p,
:root[data-theme='dark'] .tile-ink p {
  color: #4b525b;
}

@media (max-width: 1023px) {
  .split-head,
  .intro-split,
  .home-faq {
    grid-template-columns: minmax(0, 1fr);
  }

  .split-head p {
    justify-self: start;
  }

  .cards {
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 8px;
  }

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

  .card {
    scroll-snap-align: start;
    height: 440px;
  }

  .steps-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr);
  }

  .steps-side {
    grid-column: 1 / -1;
  }

  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tile-wide {
    grid-column: span 2;
  }

  .foot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .foot-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .steps-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps-phone {
    order: -1;
  }

  .steps-phone .phone {
    width: min(260px, 66vw);
  }

  .step-card:nth-child(odd),
  .step-card:nth-child(odd):active {
    transform: none;
  }

  .cta {
    grid-template-columns: minmax(0, 1fr);
    padding-bottom: 0;
  }

  .cta-phone {
    position: relative;
    right: auto;
    top: auto;
    width: min(240px, 64vw);
    margin: 40px auto -30%;
  }
}

@media (max-width: 640px) {
  .cards {
    grid-template-columns: repeat(3, 78vw);
  }

  .steps-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .step-card {
    min-height: 0;
  }

  .bento {
    grid-template-columns: minmax(0, 1fr);
  }

  .tile-tall {
    grid-row: auto;
  }

  .tile-wide {
    grid-column: auto;
    flex-direction: column;
    align-items: stretch;
  }

  .tile-phone-side {
    width: min(220px, 70%);
    margin: 8px auto -50%;
  }

  .intro-claim {
    flex-direction: row-reverse;
    justify-content: flex-end;
  }

  .round-link {
    width: 44px;
    height: 44px;
  }

  .foot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.shield-art svg {
  width: 56px;
  height: 56px;
  fill: var(--brand);
  transition: transform 400ms var(--smooth);
}

@media (hover: hover) and (pointer: fine) {
  .tile:hover .shield-art svg {
    transform: scale(1.08) rotate(-4deg);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .steps-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }

  .steps-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .step-card {
    min-height: 0;
  }

  .step-card:nth-child(odd),
  .step-card:nth-child(odd):active {
    transform: none;
  }
}

.skip {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-ink);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

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

p {
  text-wrap: pretty;
}

.float-right strong,
.step-num,
.big-art {
  font-variant-numeric: tabular-nums;
}

.big-art small {
  margin-left: 8px;
  font-size: 0.4em;
  letter-spacing: -0.01em;
  color: var(--text-2);
}

.push-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
}

.push-stack .push {
  position: static;
  opacity: 1;
  transform: none;
  box-shadow: var(--shadow-low);
}

.push-stack .push:nth-child(2) {
  margin-left: 16px;
}

.push-stack .push:nth-child(3) {
  margin-left: 32px;
}

@media (hover: hover) and (pointer: fine) {
  .tile:hover .push-stack .push:nth-child(2) {
    transform: translateX(-8px);
  }

  .tile:hover .push-stack .push:nth-child(3) {
    transform: translateX(-16px);
  }
}

.push-stack .push {
  transition: transform 300ms var(--spring);
}

@media (max-width: 767px) {
  .steps-list {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  .steps-list::-webkit-scrollbar {
    display: none;
  }

  .step-card {
    scroll-snap-align: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.intro-on .intro {
    display: none;
  }
}

.held .feat-bar {
  animation-play-state: paused !important;
}

.instant .phone-shots img {
  transition: none;
}

/* Scorrimento fluido (Lenis). */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

/* Hover e clic: tutto risponde, anche cio' che non porta altrove. */
.card,
.tile,
.float,
.pill,
.step-card,
.home-faq-list details,
.lang-art span {
  transition:
    transform 450ms var(--spring),
    background-color 250ms ease,
    box-shadow 450ms var(--spring),
    scale 300ms var(--spring);
}

@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 80px -48px rgba(17, 20, 24, 0.45);
  }

  .tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px -40px rgba(17, 20, 24, 0.35);
  }

  .pill:hover {
    transform: translateY(-3px);
  }

  .pill:hover .badge {
    transform: rotate(-8deg) scale(1.08);
  }

  .float:hover {
    animation-play-state: running, paused;
    scale: 1.05;
  }

  .step-card:not(.on):hover {
    transform: translateY(-4px);
  }

  .step-card:nth-child(odd):not(.on):hover {
    transform: translateY(32px);
  }

  .home-faq-list details:not([open]):hover {
    transform: translateX(6px);
    background: var(--sunken);
  }

  .deck-item[data-pos='0']:hover .phone {
    transform: translateY(-10px);
  }

  .showcase-phone:hover .phone {
    transform: translateY(-10px) rotate(-1.5deg);
  }

  .intro-claim:hover .round-link {
    transform: translateY(4px);
  }
}

.pill .badge {
  transition: transform 400ms var(--spring);
}

.deck-item .phone,
.showcase-phone .phone,
.round-link {
  transition: transform 450ms var(--spring);
}

.card:active,
.tile:active {
  transform: scale(0.985);
  transition-duration: 120ms;
}

.pill:active,
.lang-art span:active {
  transform: scale(0.94);
  transition-duration: 100ms;
}

.step-card:active {
  scale: 0.97;
  transition-duration: 100ms;
}

.deck-item[data-pos='1']:active,
.deck-item[data-pos='-1']:active {
  scale: 0.96;
}

.home-faq-list details:active {
  scale: 0.99;
}

/* Cambio schermata: dissolvenza con un filo di sfocatura, nasconde il passaggio. */
.phone-shots img:not(.on) {
  filter: blur(6px);
}

.phone-shots img {
  transition:
    opacity 380ms ease,
    transform 480ms var(--spring),
    filter 380ms ease;
}

/* Scroll: i telefoni scorrono a velocita' diversa dalla pagina e le schede si assestano entrando. */
@supports (animation-timeline: view()) {
  .card-phone .phone,
  .tile-phone .phone,
  .cta-phone .phone,
  .steps-phone .phone,
  .deck {
    animation: drift linear both;
    animation-timeline: view();
    animation-range: cover 0% cover 100%;
  }

  .card,
  .tile,
  .step-card,
  .home-faq-list details,
  .cta {
    animation: settle linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 90%;
  }

  .card:nth-child(2),
  .tile:nth-child(3n + 2) {
    animation-range: entry 8% entry 98%;
  }

  .card:nth-child(3),
  .tile:nth-child(3n) {
    animation-range: entry 16% cover 30%;
  }

  .marquee {
    animation: widen linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 50%;
  }

  .intro-claim h2,
  .split-head p,
  .intro-split > p {
    animation: drift-soft linear both;
    animation-timeline: view();
    animation-range: cover 0% cover 100%;
  }
}

@keyframes drift {
  from {
    translate: 0 70px;
  }
  to {
    translate: 0 -70px;
  }
}

@keyframes drift-soft {
  from {
    translate: 0 24px;
  }
  to {
    translate: 0 -24px;
  }
}

@keyframes settle {
  from {
    translate: 0 64px;
    scale: 0.94;
  }
  to {
    translate: 0 0;
    scale: 1;
  }
}

@keyframes widen {
  from {
    scale: 0.92;
  }
  to {
    scale: 1;
  }
}

.store-logo {
  width: 30px;
  height: 30px;
  flex: none;
  transition: transform 400ms var(--spring);
}

@media (hover: hover) and (pointer: fine) {
  .store:hover .store-logo {
    transform: scale(1.1) rotate(-4deg);
  }
}

.steps-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 22px 22px;
  border-radius: 28px;
  background: #111418;
  color: #ffffff;
  box-shadow: 0 40px 80px -48px rgba(17, 20, 24, 0.6);
}

.steps-cta b {
  font-size: 1.45rem;
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.steps-cta p {
  margin: 0;
  color: #b9bfc7;
  font-size: 15px;
}

.steps-cta .stores {
  flex-direction: column;
  margin-top: 8px;
  gap: 10px;
}

.steps-cta .store {
  width: 100%;
  background: #ffffff;
  color: #111418;
}

@media (hover: hover) and (pointer: fine) {
  .steps-cta .store:hover {
    background: var(--brand);
    color: #111418;
  }
}

:root[data-theme='dark'] .steps-cta {
  background: #f2f4f6;
  color: #111418;
}

:root[data-theme='dark'] .steps-cta p {
  color: #4b525b;
}

:root[data-theme='dark'] .steps-cta .store {
  background: #111418;
  color: #ffffff;
}

.scopri {
  padding-top: clamp(96px, 15vh, 176px);
  overflow: hidden;
}

.scopri-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(240px, 24vw, 300px);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.scopri-copy .section-title {
  font-size: clamp(3rem, 8vw, 6.4rem);
}

.scopri-copy p {
  margin: 24px 0 32px;
  max-width: 44ch;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--text-2);
}

.scopri-phone {
  rotate: 4deg;
  transition: rotate 450ms var(--spring);
}

@media (hover: hover) and (pointer: fine) {
  .scopri-head:hover .scopri-phone {
    rotate: 0deg;
  }
}

.gallery {
  margin-top: clamp(32px, 6vh, 64px);
  padding: 24px 0;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marquee 60s linear infinite;
}

@media (hover: hover) and (pointer: fine) {
  .gallery:hover .gallery-track {
    animation-play-state: paused;
  }
}

.place {
  position: relative;
  flex: none;
  width: clamp(240px, 22vw, 300px);
  aspect-ratio: 3 / 4;
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  background: var(--muted);
  transition:
    transform 450ms var(--spring),
    box-shadow 450ms var(--spring);
}

.place:nth-child(even) {
  margin-top: 48px;
}

.place img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--spring);
}

.place figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 18px;
  background: var(--canvas);
  color: var(--text);
  transition: transform 450ms var(--spring);
}

.place figcaption b {
  font-weight: 600;
  line-height: 1.2;
}

.place figcaption small {
  font-size: 12px;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (hover: hover) and (pointer: fine) {
  .place:hover {
    transform: translateY(-8px) rotate(-1deg);
    box-shadow: 0 40px 70px -40px rgba(17, 20, 24, 0.5);
  }

  .place:hover img {
    transform: scale(1.08);
  }

  .place:hover figcaption {
    transform: translateY(-4px);
  }
}

.place:active {
  transform: scale(0.97);
}

.gallery-note {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-3);
}

.release-beta .release-num {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--text-2);
}

@media (max-width: 1023px) {
  .scopri-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .scopri-phone {
    width: min(260px, 66vw);
    margin: 0 auto;
  }

  .gallery {
    margin-top: 24px;
  }

  .steps-cta .stores {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .steps-cta .store {
    width: auto;
    flex: 1 1 220px;
  }
}

.langs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 40px;
}

.langs a {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--muted);
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition:
    background-color 200ms ease,
    color 200ms ease,
    transform 300ms var(--spring);
}

.langs a[aria-current] {
  background: var(--ink);
  color: var(--on-ink);
}

@media (hover: hover) and (pointer: fine) {
  .langs a:not([aria-current]):hover {
    background: var(--brand);
    color: #111418;
    transform: translateY(-2px);
  }
}

.langs a:active {
  transform: scale(0.94);
}

/* Menu della lingua nella barra. */
.lang-menu {
  position: relative;
  z-index: 2;
}

.lang-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
  transition:
    background-color 200ms ease,
    color 200ms ease,
    transform 200ms var(--spring);
}

.lang-menu summary::-webkit-details-marker {
  display: none;
}

.lang-menu summary svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.lang-menu[open] summary {
  background: var(--muted);
  color: var(--text);
}

@media (hover: hover) and (pointer: fine) {
  .lang-menu summary:hover {
    background: var(--muted);
    color: var(--text);
  }
}

.lang-menu summary:active {
  transform: scale(0.94);
}

.lang-list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: flex;
  flex-direction: column;
  min-width: 168px;
  padding: 6px;
  border-radius: 18px;
  background: var(--canvas);
  box-shadow:
    0 0 0 1px var(--hairline),
    var(--shadow-medium);
  animation: menu-in 220ms var(--spring) both;
  transform-origin: top right;
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.96);
  }
}

.bar-nav .lang-list a {
  display: block;
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 160ms ease;
}

.bar-nav .lang-list a[aria-current] {
  background: var(--brand-soft);
  font-weight: 600;
}

@media (hover: hover) and (pointer: fine) {
  .bar-nav .lang-list a:not([aria-current]):hover {
    background: var(--muted);
  }
}

@media (max-width: 767px) {
  .bar-nav .lang-list a {
    display: block !important;
  }
}

@media (max-width: 420px) {
  .bar-nav a.nav-keep {
    display: none !important;
  }
}

/* Frecce per scorrere le schede quando non stanno tutte nello schermo. */
.rail-nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 20px;
}

.rail-nav button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-ink);
  cursor: pointer;
  transition:
    background-color 200ms ease,
    opacity 200ms ease,
    transform 200ms var(--spring);
}

.rail-nav button:disabled {
  opacity: 0.25;
  cursor: default;
}

.rail-nav button:not(:disabled):active {
  transform: scale(0.88);
}

@media (hover: hover) and (pointer: fine) {
  .rail-nav button:not(:disabled):hover {
    background: var(--brand);
    color: #111418;
  }
}

.rail-nav svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.rail-dots {
  display: flex;
  gap: 6px;
}

.rail-dots i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--hairline-strong);
  transition:
    width 300ms var(--spring),
    background-color 200ms ease;
}

.rail-dots i.on {
  width: 22px;
  background: var(--ink);
}

@media (max-width: 1023px) {
  .rail-nav[data-rail='cards'] {
    display: flex;
  }

  .cards {
    display: flex;
    gap: 14px;
    max-width: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    padding-inline: var(--gutter);
    scrollbar-width: none;
  }

  .card {
    flex: 0 0 min(82vw, 340px);
    height: 460px;
    scroll-snap-align: start;
    animation: none;
  }

  .card-phone,
  .card:hover .card-phone {
    left: 50%;
    bottom: -34%;
    width: min(240px, 72%);
    transform: translate(-50%, 0);
  }

  .card-phone .phone {
    animation: none;
  }
}

@media (max-width: 767px) {
  .rail-nav[data-rail='steps-list'] {
    display: flex;
  }
}

/* Pagina Scarica. */
.get {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding-top: clamp(40px, 8vh, 96px);
  padding-bottom: clamp(56px, 10vh, 120px);
}

.get-title {
  font-size: clamp(3rem, 7vw, 6rem);
}

.get .lead {
  max-width: 30ch;
}

.get .stores {
  justify-content: flex-start;
}

.get-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.get-facts li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px;
  border-radius: 20px;
  background: var(--muted);
  transition:
    transform 300ms var(--spring),
    background-color 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .get-facts li:hover {
    transform: translateY(-4px);
    background: var(--brand-soft);
  }
}

.get-facts b {
  font-weight: 700;
  letter-spacing: -0.015em;
}

.get-facts span {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.45;
}

.get-phones {
  display: grid;
  place-items: center;
  min-height: 560px;
}

.get-front,
.get-back {
  grid-area: 1 / 1;
  transition: transform 500ms var(--spring);
}

.get-front {
  z-index: 2;
  width: clamp(230px, 22vw, 290px);
  transform: translateX(22%) rotate(4deg);
}

.get-back {
  width: clamp(210px, 20vw, 260px);
  transform: translate(-30%, -6%) rotate(-6deg);
}

@media (hover: hover) and (pointer: fine) {
  .get-phones:hover .get-front {
    transform: translateX(26%) translateY(-10px) rotate(0deg);
  }

  .get-phones:hover .get-back {
    transform: translate(-36%, -8%) rotate(-9deg);
  }
}

@media (max-width: 1023px) {
  .get {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    text-align: center;
  }

  .get .lead {
    margin-inline: auto;
  }

  .get .stores {
    justify-content: center;
  }

  .get-facts {
    text-align: left;
  }

  .get-phones {
    min-height: 0;
    padding-bottom: 24px;
  }

  .get-front {
    width: min(240px, 58vw);
    transform: translateX(18%) rotate(4deg);
  }

  .get-back {
    width: min(210px, 50vw);
    transform: translate(-30%, -4%) rotate(-6deg);
  }
}

@media (max-width: 480px) {
  .get-facts {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 1023px) {
  .intro-claim {
    order: -1;
  }
}

/* Su telefono e tablet il telefono delle schede sta sotto il testo, qualunque sia la sua altezza. */
@media (max-width: 1023px) {
  .card {
    height: auto;
    min-height: 0;
    padding: 24px 22px 0;
  }

  .card-phone,
  .card:hover .card-phone {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(210px, 70%);
    margin: 24px auto -62%;
    transform: none;
  }

  .card {
    max-height: 470px;
  }
}

/* Scopri su telefono: piu' compatta. */
@media (max-width: 767px) {
  .scopri-copy .section-title {
    font-size: clamp(2.4rem, 11vw, 3rem);
  }

  .scopri-copy p {
    margin: 16px 0 24px;
    font-size: 1.05rem;
  }

  .scopri-copy .button {
    width: auto;
    padding-inline: 24px;
  }

  .scopri-phone {
    width: min(200px, 56vw);
    rotate: 0deg;
  }

  .gallery {
    margin-top: 32px;
    padding: 8px 0;
  }

  .gallery-track {
    gap: 10px;
    animation-duration: 45s;
  }

  .place {
    width: 150px;
    aspect-ratio: 4 / 5;
    border-radius: 20px;
  }

  .place:nth-child(even) {
    margin-top: 0;
  }

  .place figcaption {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 8px 10px;
    border-radius: 12px;
  }

  .place figcaption b {
    font-size: 13px;
  }
}

/* Altre notifiche intorno al telefono dell'hero, sfalsate. */
.float-alert {
  --d: 1.55s;
  top: 9%;
  left: calc(50% + clamp(170px, 15vw, 210px));
  animation-duration: 900ms, 7s;
}

.float-train {
  --d: 1.75s;
  top: 35%;
  left: calc(50% + clamp(230px, 21vw, 300px));
  animation-duration: 900ms, 5.5s;
}

.float-off {
  --d: 1.95s;
  top: 13%;
  right: calc(50% + clamp(220px, 20vw, 290px));
  animation-duration: 900ms, 6.5s;
}

.float-check {
  --d: 2.15s;
  top: 64%;
  right: calc(50% + clamp(200px, 18vw, 250px));
  animation-duration: 900ms, 7.5s;
}

.float-icon.soft {
  background: var(--brand-soft);
}

.float-icon.soft svg {
  fill: var(--text);
  animation: none;
}

.float-icon.brand {
  background: var(--brand);
}

.float-icon.brand svg {
  fill: #111418;
  animation: none;
}

@media (max-width: 1279px) {
  .float-train,
  .float-off {
    display: none;
  }
}

/* Tutte le notifiche fluttuanti hanno la stessa misura. */
.float {
  box-sizing: border-box;
  width: 300px;
  height: 78px;
  white-space: normal;
}

.float > span:not(.float-icon):not(.badge) {
  flex: 1;
  min-width: 0;
}

.float b {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.float span span {
  display: -webkit-box;
  overflow: hidden;
  font-size: 13.5px;
  line-height: 1.3;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.float-right strong {
  margin-left: 8px;
}

/* Pulsante del tema nella barra. */
.theme-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  transition:
    background-color 200ms ease,
    color 200ms ease,
    transform 300ms var(--spring);
}

.theme-toggle svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  transition: transform 500ms var(--spring);
}

.theme-toggle .i-sun,
:root[data-theme='dark'] .theme-toggle .i-moon {
  display: none;
}

:root[data-theme='dark'] .theme-toggle .i-sun {
  display: block;
}

@media (hover: hover) and (pointer: fine) {
  .theme-toggle:hover {
    background: var(--muted);
    color: var(--text);
  }

  .theme-toggle:hover svg {
    transform: rotate(-18deg);
  }
}

.theme-toggle:active {
  transform: scale(0.88);
}

html.theme-switching *,
html.theme-switching *::before,
html.theme-switching *::after {
  transition-duration: 0ms !important;
}
