:root {
  --paper: #f3eee6;
  --ink: #1c1224;
  --mute: #6b6173;
  --line: #d8d0c4;
  --violet: #8e6eb5;
  --display: "Nunito", system-ui, sans-serif;
  --text: "Nunito", system-ui, sans-serif;
  --gutter: clamp(1.5rem, 8vw, 5rem);
  --card-h: 254px;
}

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

html {
  scroll-behavior: auto;
  overflow-x: clip;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  background: var(--paper);
  padding: 0.5rem 0.8rem;
}

.skip:focus { top: 1rem; }

.brand {
  position: fixed;
  top: max(0.7rem, env(safe-area-inset-top));
  left: var(--gutter);
  z-index: 12;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.45rem);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.brand.is-on {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.mark {
  display: block;
  width: 2.35rem;
  height: 2.35rem;
  object-fit: cover;
  border-radius: 50%;
  flex: 0 0 auto;
  background: #8e6eb5;
  box-shadow: 0 6px 12px rgba(28, 18, 36, 0.22);
}

.brand span {
  display: none;
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-size: 1.85rem;
  letter-spacing: 0.01em;
  line-height: 1;
  color: #fff;
  transition: color 0.06s linear;
}

.wa {
  display: none;
}

.wa__sign { display: none; }

.brand[data-tone="light"] span {
  color: var(--ink);
}

.brand[data-tone="dark"] span {
  color: #fff;
}

.wa[data-tone="light"] { color: var(--ink); }

.wa[data-tone="dark"] { color: #fff; }

.scene {
  min-height: 100svh;
  scroll-snap-align: start;
  padding: calc(env(safe-area-inset-top) + 4.2rem) var(--gutter) 3.2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.scene--wow.is-covered {
  visibility: hidden;
  pointer-events: none;
}

.scene--wow {
  position: fixed;
  inset: 0;
  z-index: 0;
  height: 100svh;
  min-height: 100svh;
  width: 100%;
  scroll-snap-align: none;
  justify-content: flex-end;
  overflow: hidden;
  color: var(--paper);
  padding-top: calc(env(safe-area-inset-top) + 4.2rem);
  --s: 100px;
  --c1: var(--violet);
  --c2: #355c7d;
  --_g: var(--c2) 4% 14%, var(--c1) 14% 24%, var(--c2) 22% 34%,
    var(--c1) 34% 44%, var(--c2) 44% 56%, var(--c1) 56% 66%, var(--c2) 66% 76%,
    var(--c1) 76% 86%, var(--c2) 86% 96%;
  background:
    radial-gradient(
      100% 100% at 100% 0,
      var(--c1) 4%,
      var(--_g),
      #0008 96%,
      #0000
    ),
    radial-gradient(
      100% 100% at 0 100%,
      #0000,
      #0008 4%,
      var(--_g),
      var(--c1) 96%
    )
    var(--c1);
  background-size: var(--s) var(--s);
}

.wow__slot {
  height: 100svh;
  min-height: 100svh;
  scroll-snap-align: start;
  pointer-events: none;
}

.scene--copy,
.scene--flow,
.scene--cta,
.end {
  position: relative;
  z-index: 1;
}

.scene--wow h1 {
  margin: 0;
  position: absolute;
  left: 50%;
  right: auto;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  gap: 0;
  width: max-content;
  max-width: calc(100% - 2 * var(--gutter));
  text-align: center;
  z-index: 2;
  text-shadow: 0 1px 12px rgba(28, 18, 36, 0.28);
}

.whisper {
  margin: 0;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.55;
}

.wow__name {
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.62;
  position: absolute;
  left: 50%;
  top: 100%;
  margin: 1.5cm 0 0;
  transform: translateX(-50%);
  white-space: nowrap;
  text-align: center;
  line-height: 1.45;
}

.wow__line {
  display: block;
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-size: clamp(8.2rem, 40vw, 11.5rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
}

.wow__hint {
  margin: 0;
  position: absolute;
  left: 50%;
  right: auto;
  top: calc(100svh - 2.35rem);
  bottom: auto;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transform: translateX(-50%);
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.45;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.wow__hint.is-away {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.wow__arrow {
  width: 0.42rem;
  height: 0.42rem;
  margin-top: -0.12rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  animation: wow-nudge 1.6s ease-in-out infinite;
}

@keyframes wow-nudge {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 4px; }
}

.scene--copy {
  justify-content: center;
  padding-top: 3.2rem;
  padding-bottom: 3.2rem;
  background: var(--paper);
}

#cosa {
  min-height: calc(100svh + 1cm);
  padding-top: calc(3.2rem + 1cm);
  border-radius: clamp(1.6rem, 5vw, 2.6rem) clamp(1.6rem, 5vw, 2.6rem) 0 0;
}

#paghi {
  min-height: calc(100svh + 1cm);
  padding-bottom: calc(3.2rem + 1cm);
  border-radius: 0 0 clamp(1.6rem, 5vw, 2.6rem) clamp(1.6rem, 5vw, 2.6rem);
}

.scene h2 {
  margin: 0 0 1.6rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.7rem, 7vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

#cosa h2,
#paghi h2 {
  font-size: clamp(2.05rem, 8.4vw, 2.95rem);
}

.lead {
  margin: 0;
  max-width: 18em;
  font-size: clamp(1.2rem, 4.4vw, 1.45rem);
}

.lead em {
  font-style: italic;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  width: 100%;
}

.split__copy { min-width: 0; }

.split__pic {
  margin: 0;
  flex: 0 0 auto;
  width: calc(var(--card-h) * 3 / 4);
  height: var(--card-h);
}

.split__pic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: clamp(1rem, 3vw, 1.5rem);
}

#vieni .split__pic img {
  object-position: 50% 22%;
}

@media (max-width: 759px) {
  #cosa .split__pic { align-self: flex-end; }
  #vieni .split__pic { display: none; }
}

.scene--flow {
  min-height: 200svh;
  padding: 0;
  display: block;
  background: #f8b195;
}

.flow__screen {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: calc(env(safe-area-inset-top) + 4.2rem) var(--gutter) 3.2rem;
}

.scene--flow h2 {
  margin-bottom: 1rem;
  text-align: center;
}

.flow__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.flow__nav {
  --tab: 0;
  display: flex;
  position: relative;
  width: max-content;
  margin: 0 0 2.8rem;
  padding: 0.45rem;
  background: #fff;
  border-radius: 99px;
  transform-origin: center center;
  box-shadow: 0 0 1px 0 rgba(142, 110, 181, 0.18), 0 6px 12px 0 rgba(142, 110, 181, 0.15);
  transition: transform 0.22s ease;
}

@media (hover: hover) {
  .flow__nav:hover {
    transform: scale(1.07);
  }
}

.flow__nav > * { z-index: 2; }

.flow__nav button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 24px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--ink);
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 500;
  border-radius: 99px;
  cursor: pointer;
  transition: color 0.15s ease-in, font-size 0.2s ease;
}

.flow__nav button[aria-selected="true"] {
  color: var(--violet);
  font-size: 0.84rem;
  font-weight: 700;
}

.flow__nav .flow__glider {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  z-index: 1;
  display: flex;
  width: 38px;
  height: 24px;
  background: #efe8f6;
  border-radius: 99px;
  transform: translateX(calc(var(--tab) * 100%));
  transition: transform 0.25s ease-out;
}

.flow__stage {
  --card-gap: 12px;
  --card-peek: 22px;
  --card-w: calc(100% - 2 * var(--card-peek));
  --card-room: calc(var(--card-h) * 0.04);
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  height: calc(var(--card-h) + 2 * var(--card-room));
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.flow__stage.is-drag {
  cursor: grabbing;
}

.flow__track {
  display: flex;
  align-items: center;
  gap: var(--card-gap);
  height: 100%;
  will-change: transform;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.flow__card {
  flex: 0 0 var(--card-w);
  width: var(--card-w);
  height: var(--card-h);
  margin: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  background: var(--ink);
  border-radius: 8px;
  color: #f3eee6;
  cursor: grab;
  transform: scale(0.88);
  transform-origin: center center;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.flow__card.is-on {
  transform: scale(1);
  cursor: grab;
}

@media (hover: hover) {
  .flow__card:hover {
    transform: scale(0.91);
  }

  .flow__card.is-on:hover {
    transform: scale(1.03);
  }

  .flow__stage.is-drag .flow__card:hover {
    transform: scale(0.88);
  }

  .flow__stage.is-drag .flow__card.is-on:hover {
    transform: scale(1);
  }
}

.flow__stage.is-drag .flow__card {
  cursor: grabbing;
}

.flow__tools {
  display: flex;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  padding: 9px;
}

.flow__circle {
  padding: 0 4px;
}

.flow__box {
  display: inline-block;
  width: 10px;
  height: 10px;
  padding: 1px;
  border-radius: 50%;
}

.flow__box--red { background: #ff605c; }
.flow__box--yellow { background: #ffbd44; }
.flow__box--green { background: #00ca4e; }

.flow__body {
  padding: 1.8rem 1.4rem;
  padding-top: calc(1.8rem + 2.925rem * 0.95 + 0.7rem);
}

.flow__k {
  position: absolute;
  top: calc(1.65rem + 0.5cm);
  left: 1.4rem;
  right: 1.4rem;
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 2.925rem;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: #fff;
}

.flow__card p:last-child {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.4;
  color: color-mix(in srgb, #f3eee6 72%, transparent);
  transform: translateY(-0.5cm);
}

.flow__help {
  margin-top: auto;
  padding-top: 2rem;
  font-size: 0.82rem;
  font-weight: 400;
  color: color-mix(in srgb, var(--ink) 52%, transparent);
  text-align: center;
}

.pay {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2.4rem;
}

.pay li {
  display: grid;
  gap: 0.45rem;
  max-width: 18em;
}

.pay strong {
  font-family: var(--display);
  font-size: clamp(1.8rem, 8vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.pay span { color: var(--mute); }

.scene--cta {
  min-height: 100svh;
  justify-content: flex-start;
  background: var(--ink);
  color: var(--paper);
}

.cta__map {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  min-height: 11rem;
  margin: 0 0 1.6rem;
  border-radius: clamp(1rem, 3vw, 1.5rem);
  overflow: hidden;
  isolation: isolate;
  background: color-mix(in srgb, var(--paper) 12%, transparent);
}

.cta__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.cta__map-hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  cursor: pointer;
}

.reveal {
  position: relative;
  z-index: 1;
}

.reveal #paghi {
  z-index: 2;
}

.reveal #vieni {
  position: sticky;
  top: 0;
  z-index: 1;
  margin-top: calc(-100svh - 1cm);
  scroll-snap-align: none;
}

.reveal__slot {
  height: calc(100svh + 1cm);
  min-height: calc(100svh + 1cm);
  scroll-snap-align: start;
  pointer-events: none;
  background: var(--ink);
}

.scene--cta h2 {
  font-size: clamp(3.4rem, 16vw, 6rem);
  margin-bottom: 1.2rem;
}

#vieni .split {
  flex: 0 0 auto;
}

.cta__where {
  margin: 0 0 2.4rem;
  max-width: 16em;
  color: color-mix(in srgb, var(--paper) 78%, transparent);
}

.cta__num {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.6rem, 7vw, 2.4rem);
  letter-spacing: -0.04em;
}

.cta__num a { text-decoration: none; }

.cta__links {
  display: flex;
  gap: 1.4rem;
  margin-top: 1.6rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
}

.cta__links a { text-underline-offset: 0.25em; }

.end {
  position: relative;
  padding: 2.2rem var(--gutter) calc(2.8rem + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--mute);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.end p { margin: 0; }
.end a { text-underline-offset: 0.2em; }

.end__brand { justify-self: start; }

.end__privacy {
  position: absolute;
  left: 0;
  bottom: calc(0.85rem + env(safe-area-inset-bottom));
  font-size: 0.68rem;
  font-weight: 450;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: color-mix(in srgb, var(--mute) 72%, var(--paper));
}

.end__privacy:hover,
.end__privacy:focus-visible {
  color: var(--mute);
  text-decoration: underline;
}

.end__mid {
  justify-self: center;
  text-align: center;
}

.end__mid p + p { margin-top: 0.35rem; }

.end__credit {
  justify-self: end;
  text-align: right;
}

@media (min-width: 760px) {
  :root {
    --card-h: calc(254px * 5 / 4);
  }

  .brand span { display: inline; }

  .wa {
    display: flex;
    position: fixed;
    right: var(--gutter);
    bottom: calc(1.05rem + env(safe-area-inset-bottom));
    z-index: 12;
    justify-content: flex-start;
    align-items: center;
    width: 45px;
    height: 45px;
    padding: 0;
    overflow: hidden;
    border: none;
    border-radius: 50%;
    background: #00d757;
    color: #fff;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    font-family: var(--display);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    text-decoration: none;
    transition: width 0.3s, border-radius 0.3s, transform 0.3s;
  }

  .wa[data-tone="light"],
  .wa[data-tone="dark"] {
    color: #fff;
  }

  .wa__sign {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: width 0.3s, padding 0.3s;
  }

  .wa__sign svg {
    display: block;
    width: 25px;
    height: 25px;
  }

  .wa__sign svg path { fill: #fff; }

  .wa__text {
    position: absolute;
    right: 0;
    width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: opacity 0.3s, width 0.3s, padding 0.3s;
  }

  .wa:hover,
  .wa:focus-visible {
    width: 150px;
    border-radius: 40px;
  }

  .wa:hover .wa__sign,
  .wa:focus-visible .wa__sign {
    width: 30%;
    padding-left: 10px;
  }

  .wa:hover .wa__text,
  .wa:focus-visible .wa__text {
    opacity: 1;
    width: 70%;
    padding-right: 10px;
  }

  .wa:active { transform: translate(2px, 2px); }

  .end__privacy {
    bottom: calc(1.05rem + env(safe-area-inset-bottom));
  }

  .scene {
    padding-left: max(var(--gutter), calc(50vw - 18rem));
    padding-right: max(var(--gutter), calc(50vw - 18rem));
  }

  #cosa,
  #paghi,
  #vieni {
    padding-left: max(var(--gutter), calc(50vw - 26rem));
    padding-right: max(var(--gutter), calc(50vw - 26rem));
  }

  .split {
    flex-direction: row;
    align-items: center;
    gap: 2.4rem;
  }

  .split--pic-start {
    flex-direction: row-reverse;
  }

  #cosa .split__pic { translate: 2cm 0; }
  #paghi .split__pic { translate: -2.5cm 0; }
  #vieni .split__pic { translate: -0.5cm 0; }

  .scene.scene--flow {
    padding: 0;
  }

  .flow__screen {
    padding-left: max(var(--gutter), calc(50vw - 18rem));
    padding-right: max(var(--gutter), calc(50vw - 18rem));
  }

  .scene--wow {
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }

  .scene--wow h1 {
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    max-width: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }

  .wow__name {
    display: none;
  }

  .wow__line {
    font-family: "Sora", var(--display);
    font-weight: 800;
    font-size: max(18rem, min(38vw, 56vh, 38rem));
    line-height: 0.8;
    letter-spacing: -0.055em;
    white-space: nowrap;
  }

  .wow__line--pelo {
    align-self: flex-start;
    margin-left: -0.11em;
  }

  .wow__line--lindo {
    align-self: flex-end;
    text-align: right;
    margin-right: calc(-0.14em + 1cm);
  }

  .flow__stage {
    --card-w: calc(100svw * 5 / 12);
    --card-peek: calc(var(--card-w) / 5 + var(--card-w) * 0.06);
    --card-gap: calc((100svw - var(--card-w)) / 2 - var(--card-peek));
    width: 100svw;
    max-width: 100svw;
    margin-left: calc(50% - 50svw);
    margin-right: 0;
    margin-top: 0;
  }

  .scene--flow {
    position: relative;
  }

  .flow__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100vw;
    max-width: 100vw;
    margin: 0 0 2.8rem;
    margin-left: calc(50% - 50vw);
  }

  .scene--flow h2 {
    margin-bottom: 1rem;
    text-align: center;
  }

  .flow__nav {
    margin-bottom: 0;
  }

  .flow__nav button {
    width: 76px;
    height: 24px;
  }

  .flow__nav .flow__glider {
    width: 76px;
    height: 24px;
  }

  .end {
    padding-left: max(var(--gutter), calc(50vw - 18rem));
    padding-right: max(var(--gutter), calc(50vw - 18rem));
    padding-bottom: calc(6.8rem + env(safe-area-inset-bottom));
  }
}

.boot {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #1c1224;
  animation:
    boot-wash 6s both,
    boot-reveal 0.4s ease 4.5s forwards;
}

.boot.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Gelato Uiverse (mihocsaszilard), paletta → coscia, bastoncino → osso */
.loader {
  position: relative;
  width: 58px;
  height: 112px;
}

.loader__bone {
  position: absolute;
  left: 50%;
  top: 8px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 28px;
  height: 98px;
  margin-left: -14px;
  animation: disappear 6s both;
}

.loader__bone::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 50%;
  width: 8px;
  margin-left: -4px;
  background: #f3eee6;
  border-radius: 4px;
}

.loader__joint {
  position: relative;
  z-index: 1;
  flex: 0 0 16px;
  width: 28px;
  height: 16px;
}

.loader__joint::before,
.loader__joint::after {
  content: "";
  position: absolute;
  top: 0;
  width: 16px;
  height: 16px;
  background: #f3eee6;
  border-radius: 50%;
}

.loader__joint::before { left: 0; }
.loader__joint::after { right: 0; }

.loader::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 0;
  height: 78px;
  padding: 2px;
  border-radius: 50% 50% 42% 42% / 54% 54% 42% 42%;
  background:
    radial-gradient(circle at 28% 22%, #f6a17c 2.4px, transparent 2.6px),
    radial-gradient(circle at 64% 28%, #ffcc99 2px, transparent 2.3px),
    radial-gradient(circle at 42% 46%, #f6a17c 2.2px, transparent 2.5px),
    radial-gradient(circle at 72% 52%, #c44515 2.4px, transparent 2.6px),
    radial-gradient(circle at 24% 60%, #f6a17c 2px, transparent 2.3px),
    radial-gradient(circle at 52% 70%, #ffcc99 1.8px, transparent 2.1px),
    linear-gradient(145deg, #f07838 0%, #e85a24 42%, #c94a18 100%);
  background-clip: content-box;
  clip-path: inset(1.5px round 50% 50% 42% 42% / 54% 54% 42% 42%);
  --c: radial-gradient(farthest-side, #000 94%, #0000);
  -webkit-mask:
    linear-gradient(#0000 0 0),
    var(--c) -10px -10px,
    var(--c) 15px -14px,
    var(--c) 9px -6px,
    var(--c) -12px 9px,
    var(--c) 14px 9px,
    var(--c) 23px 27px,
    var(--c) 38px 8px,
    var(--c) -8px 35px,
    var(--c) 50% 50%,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0),
    var(--c) -10px -10px,
    var(--c) 15px -14px,
    var(--c) 9px -6px,
    var(--c) -12px 9px,
    var(--c) 14px 9px,
    var(--c) 23px 27px,
    var(--c) 38px 8px,
    var(--c) -8px 35px,
    var(--c) 50% 50%,
    linear-gradient(#0000 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude, add, add, add, add, add, add, add, add, add;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  animation: l2 6s ease-out both;
}

@keyframes disappear {
  0%,
  50% {
    scale: 1;
    transform: rotate(0deg);
  }
  75%,
  100% {
    scale: 150;
    transform: rotate(45deg);
  }
}

@keyframes l2 {
  0% {
    -webkit-mask-size: auto, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
    mask-size: auto, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
    opacity: 0;
  }
  2% { opacity: 1; }
  5% {
    -webkit-mask-size: auto, 35px 35px, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
    mask-size: auto, 35px 35px, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
  }
  10% {
    -webkit-mask-size: auto, 35px 35px, 35px 35px, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
    mask-size: auto, 35px 35px, 35px 35px, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
  }
  15% {
    -webkit-mask-size: auto, 35px 35px, 35px 35px, 30px 30px, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
    mask-size: auto, 35px 35px, 35px 35px, 30px 30px, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
  }
  20% {
    -webkit-mask-size: auto, 35px 35px, 35px 35px, 30px 30px, 30px 30px, 0 0, 0 0, 0 0, 0 0, 0 0;
    mask-size: auto, 35px 35px, 35px 35px, 30px 30px, 30px 30px, 0 0, 0 0, 0 0, 0 0, 0 0;
  }
  25% {
    -webkit-mask-size: auto, 35px 35px, 35px 35px, 30px 30px, 30px 30px, 35px 35px, 0 0, 0 0, 0 0, 0 0;
    mask-size: auto, 35px 35px, 35px 35px, 30px 30px, 30px 30px, 35px 35px, 0 0, 0 0, 0 0, 0 0;
  }
  30% {
    -webkit-mask-size: auto, 35px 35px, 35px 35px, 30px 30px, 30px 30px, 35px 35px, 35px 35px, 32px 32px, 0 0, 0 0;
    mask-size: auto, 35px 35px, 35px 35px, 30px 30px, 30px 30px, 35px 35px, 35px 35px, 32px 32px, 0 0, 0 0;
  }
  35% {
    -webkit-mask-size: auto, 35px 35px, 35px 35px, 30px 30px, 30px 30px, 35px 35px, 35px 35px, 32px 32px, 35px 35px, 0 0;
    mask-size: auto, 35px 35px, 35px 35px, 30px 30px, 30px 30px, 35px 35px, 35px 35px, 32px 32px, 35px 35px, 0 0;
  }
  40% {
    -webkit-mask-size: auto, 35px 35px, 35px 35px, 30px 30px, 30px 30px, 35px 35px, 35px 35px, 32px 32px, 35px 35px, 200% 200%;
    mask-size: auto, 35px 35px, 35px 35px, 30px 30px, 30px 30px, 35px 35px, 35px 35px, 32px 32px, 35px 35px, 200% 200%;
    opacity: 1;
  }
  50%,
  100% {
    -webkit-mask-size: auto, 35px 35px, 35px 35px, 30px 30px, 30px 30px, 35px 35px, 35px 35px, 32px 32px, 35px 35px, 200% 200%;
    mask-size: auto, 35px 35px, 35px 35px, 30px 30px, 30px 30px, 35px 35px, 35px 35px, 32px 32px, 35px 35px, 200% 200%;
    opacity: 0;
  }
}

@keyframes boot-wash {
  0%,
  50% { background: #1c1224; }
  75%,
  100% { background: #f3eee6; }
}

@keyframes boot-reveal {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

.scroll {
  --bar: 0.7rem;
  position: fixed;
  right: max(0.25rem, env(safe-area-inset-right));
  top: 50%;
  z-index: 11;
  display: flex;
  justify-content: center;
  width: 1.35rem;
  height: min(42vh, 18rem);
  transform: translateY(-50%);
  pointer-events: none;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  cursor: ns-resize;
}

html.is-booting .scroll,
.scroll.is-off {
  opacity: 0;
  pointer-events: none;
}

.scroll__track {
  position: relative;
  width: var(--bar);
  height: 100%;
  overflow: hidden;
  border-radius: 999px;
  background: #fff;
  pointer-events: auto;
}

.scroll__thumb {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: 100%;
  height: 17%;
  min-height: 1.65rem;
  border-radius: 999px;
  background: #e11d8c;
  transform: translate3d(0, var(--scroll-y, 0px), 0);
  will-change: transform;
  pointer-events: none;
}

html.is-scrubbing {
  scroll-behavior: auto;
}

@media (max-width: 759px) {
  .scroll {
    display: none;
  }
}

.legal {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.legal .note {
  flex: 1;
  padding: calc(1.6rem + env(safe-area-inset-top)) var(--gutter) 2.4rem;
  max-width: 34rem;
}

.legal .note a {
  color: var(--ink);
  text-underline-offset: 0.18em;
}

.legal .note__back {
  display: inline-block;
  margin: 0 0 2rem;
  font-size: 0.82rem;
  color: var(--mute);
  text-decoration: none;
}

.legal .note__back:hover,
.legal .note__back:focus-visible {
  color: var(--ink);
  text-decoration: underline;
}

.legal h1 {
  margin: 0 0 1.4rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.7rem, 7vw, 2.2rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.legal h2 {
  margin: 1.5rem 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 800;
}

.legal p {
  margin: 0 0 0.7rem;
  color: var(--mute);
  font-size: 0.95rem;
}

.legal .end {
  padding-bottom: calc(2.4rem + env(safe-area-inset-bottom));
}

@media (min-width: 760px) {
  .legal .end {
    padding-bottom: calc(2.4rem + env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .brand { transition: none; }
  .wow__arrow { animation: none; }
  .wa,
  .wa__sign,
  .wa__text { transition: none; }
  .flow__glider { transition: none; }
  .flow__nav { transition: none; }
  .flow__track,
  .flow__card { transition: none; }
  .boot { animation: none; }
  .loader::after,
  .loader__bone { animation: none; }
}
