:root {
  --ink: #050505;
  --muted: #6b6d73;
  --line: #dde4ec;
  --blue: #4020ff;
  --nav-h: 74px;
  --menu-h: 624px;
  --lime: #dfff00;
  --navy: #11106d;
  --cream: #f5ece3;
  --grid-progress: 0;
  --gradient-progress: 0;
  --figma-progress: 0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  letter-spacing: 0;
  overflow-x: hidden;
}

button, a { font: inherit; color: inherit; }
button { border: 0; background: transparent; padding: 0; cursor: pointer; }
a { text-decoration: none; }

.site-header {
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 0 0 30px;
  border-bottom: 1px solid #dce3eb;
  background: rgba(255, 255, 255, 0.98);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-size: 1.22rem;
  font-weight: 700;
  white-space: nowrap;
}

.brand-mark {
  width: 24px;
  height: 24px;
  position: relative;
  border-radius: 2px;
  background: #0b0b0e;
  overflow: hidden;
}

.brand-mark::after {
  content: "";
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 5px;
  top: 5px;
}

.main-nav {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 48px;
}

.nav-link,
.nav-trigger {
  height: var(--nav-h);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  font-size: 1rem;
  white-space: nowrap;
}

.nav-trigger.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: #0b0b0e;
}

.chevron {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease;
}

.nav-trigger.active .chevron { transform: rotate(225deg) translateY(-2px); }

.header-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  height: var(--nav-h);
}

.language-wrap {
  height: var(--nav-h);
  position: relative;
  display: grid;
  place-items: center;
}

.language-trigger {
  width: 58px;
  height: var(--nav-h);
  display: grid;
  place-items: center;
}

.globe {
  width: 19px;
  height: 19px;
  border: 1.7px solid #0b0b0e;
  border-radius: 50%;
  position: relative;
}

.globe::before,
.globe::after {
  content: "";
  position: absolute;
  inset: 2px 5px;
  border-left: 1px solid #0b0b0e;
  border-right: 1px solid #0b0b0e;
  border-radius: 50%;
}

.globe::after {
  inset: 7px 1px;
  border: 0;
  border-top: 1px solid #0b0b0e;
  border-bottom: 1px solid #0b0b0e;
  border-radius: 0;
}

.language-menu {
  position: absolute;
  right: -56px;
  top: var(--nav-h);
  width: 164px;
  padding: 18px 22px;
  display: grid;
  gap: 18px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
  z-index: 90;
  text-align: left;
}

.language-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-menu strong,
.language-menu span {
  font-size: 0.98rem;
  line-height: 1;
}

.login-link,
.start-button {
  height: var(--nav-h);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.login-link {
  width: 86px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.start-button {
  width: 180px;
  color: #fff;
  background: #050505;
  font-size: 1.02rem;
  transition: background 180ms ease;
}

.start-button:hover {
  background: var(--blue);
}

.avatar {
  width: 42px;
  height: 42px;
  margin-right: 28px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 55% 32%, #d5b292 0 12%, transparent 13%),
    radial-gradient(circle at 50% 40%, #261b18 0 30%, transparent 31%),
    radial-gradient(circle at 50% 120%, #925f50 0 48%, #d6d0ca 49% 100%);
}

.mega {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--nav-h);
  height: var(--menu-h);
  display: grid;
  grid-template-columns: 63% 37%;
  background: #fff;
  border-top: 1px solid #e4e8ef;
  box-shadow: 0 24px 70px rgba(0, 20, 50, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  z-index: 60;
}

.mega.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-left {
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 54px 86px 0;
}

.menu-kicker {
  margin: 0;
  padding-bottom: 24px;
  border-bottom: 1px solid #d9e0e8;
  font-size: 1rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 88px;
  row-gap: 28px;
  padding-top: 42px;
  align-content: start;
}

.menu-item {
  text-align: left;
  min-height: 74px;
  display: grid;
  align-content: start;
  gap: 14px;
  cursor: pointer;
}

.menu-item strong {
  font-size: 1.15rem;
  line-height: 1.1;
  font-weight: 700;
}

.menu-item strong::after {
  content: " ->";
  opacity: 0;
  transition: opacity 140ms ease;
}

.menu-item.active strong { color: var(--blue); }
.menu-item.active strong::after { opacity: 1; }

.menu-item span {
  color: #676b75;
  font-size: 1rem;
  line-height: 1.4;
  max-width: 19ch;
}

.menu-footer {
  margin-left: -86px;
  margin-right: -86px;
  min-height: 80px;
  border-top: 1px solid #eceff3;
  background: #fafafa;
  display: flex;
  align-items: center;
  padding: 0 86px;
  font-size: 1rem;
  gap: 8px;
}

.menu-footer a {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.mega-right {
  position: relative;
  background: linear-gradient(180deg, #fbfdff 0%, #edf6ff 100%);
  overflow: hidden;
}

.mega-right::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 52%, rgba(209, 225, 245, 0.95), rgba(255, 255, 255, 0) 26%);
  opacity: 0.9;
}

.preview {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 220ms ease, transform 220ms ease;
  z-index: 1;
}

.preview.active {
  opacity: 1;
  transform: translateY(0);
}

.preview-card {
  width: min(58vw, 740px);
  max-width: 82%;
  aspect-ratio: 1.42;
  display: grid;
  place-items: center;
}

.preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  box-shadow: 0 24px 64px rgba(20, 35, 60, 0.16);
}

.hero {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 94px) clamp(26px, 4.7vw, 96px) 72px;
  position: relative;
  background:
    radial-gradient(#dde6ef 0.85px, transparent 0.95px),
    #fff;
  background-size: 9px 9px;
  overflow: hidden;
}

.hero h1 {
  margin: 0;
  max-width: 1740px;
  font-size: clamp(6.2rem, 12.3vw, 15.2rem);
  line-height: 0.98;
  font-weight: 300;
  letter-spacing: 0;
}

.hero p {
  margin: clamp(60px, 6vw, 92px) 0 0;
  max-width: 790px;
  font-size: clamp(2rem, 2.55vw, 3.2rem);
  line-height: 1.1;
  font-weight: 300;
}

.hero-actions {
  margin-top: 54px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.pill {
  min-width: 194px;
  height: 52px;
  border-radius: 999px;
  color: #fff;
  background: #050505;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  font-size: 1rem;
}

.down-arrow {
  width: clamp(76px, 7vw, 118px);
  height: clamp(76px, 7vw, 118px);
  position: relative;
  margin-right: clamp(12px, 3vw, 62px);
}

.down-arrow::before,
.down-arrow::after {
  content: "";
  position: absolute;
  background: #050505;
}

.down-arrow::before {
  width: 5px;
  height: 80%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.down-arrow::after {
  width: 46%;
  height: 46%;
  left: 27%;
  bottom: 2%;
  border-right: 5px solid #050505;
  border-bottom: 5px solid #050505;
  background: transparent;
  transform: rotate(45deg);
}

.grid-experience {
  min-height: 230vh;
  background: linear-gradient(180deg, #e1ffd0 0%, #efffea 55%, #fbfcff 100%);
  position: relative;
}

.grid-pin {
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  min-height: 760px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(310px, 0.42fr) minmax(740px, 1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 76px);
  padding: clamp(42px, 8vh, 112px) clamp(28px, 4.7vw, 98px);
}

.grid-copy {
  transform: translateY(calc(var(--grid-progress) * -20px));
}

.grid-copy h2 {
  margin: 0;
  max-width: 570px;
  font-size: clamp(3.7rem, 4.6vw, 6rem);
  line-height: 1.04;
  font-weight: 300;
}

.grid-copy p {
  margin: 36px 0 28px;
  max-width: 510px;
  font-size: clamp(1.06rem, 1.15vw, 1.35rem);
  line-height: 1.45;
}

.text-link {
  display: inline-flex;
  gap: 8px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  font-weight: 600;
}

.editor-shell {
  justify-self: end;
  width: min(1240px, 68vw);
  aspect-ratio: 1.62;
  background: #efefef;
  display: grid;
  grid-template-rows: 40px 1fr;
  box-shadow: 0 30px 70px rgba(20, 30, 42, 0.08);
  transform:
    translateX(calc((1 - var(--grid-progress)) * 2vw))
    scale(calc(0.92 + var(--grid-progress) * 0.08));
  transform-origin: center right;
}

.editor-top {
  background: #101521;
  color: #dce5ef;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-size: 0.76rem;
  padding-left: 13px;
}

.editor-top > div {
  display: flex;
  align-items: center;
  gap: 18px;
}

.editor-top > div:nth-child(2) { color: #c7d2df; }
.editor-top > div:last-child { justify-content: flex-end; gap: 14px; }
.publish { align-self: stretch; display: grid; place-items: center; padding: 0 17px; background: #1b76ff; color: #fff; }
.tiny-logo { width: 21px; height: 21px; background: #dbe7ff; border: 6px solid #0b1120; border-radius: 2px; }

.design-device {
  width: 17px;
  height: 17px;
  border: 1px solid #8e99aa;
  border-radius: 3px;
  opacity: 0.72;
}

.design-device.tablet {
  width: 13px;
  height: 20px;
}

.design-device.mobile {
  width: 10px;
  height: 20px;
}

.editor-shell[data-state="desktop"] .design-device[data-design-state="desktop"],
.editor-shell[data-state="generating"] .design-device[data-design-state="generating"],
.editor-shell[data-state="mobile"] .design-device[data-design-state="mobile"] {
  border-color: #51a0ff;
  box-shadow: 0 0 0 2px rgba(81, 160, 255, 0.18);
  opacity: 1;
}

.editor-body {
  min-height: 0;
  display: grid;
  grid-template-columns: 38px 1fr;
}

.editor-rail {
  background: #fbfcfd;
  color: #626a74;
  border-right: 1px solid #dfe5ec;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 19px;
  padding-top: 14px;
  font-size: 1rem;
}

.editor-canvas {
  padding: clamp(26px, 3vw, 44px) clamp(34px, 4vw, 72px);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.responsive-landing {
  width: min(1040px, 100%);
  aspect-ratio: 1.56;
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(420px, 1.12fr);
  grid-template-rows: 74px 1fr 112px;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(16, 22, 32, 0.08);
  background:
    linear-gradient(rgba(13, 18, 24, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 18, 24, 0.04) 1px, transparent 1px),
    #f7f4ed;
  background-size: 42px 42px;
  color: #101318;
  box-shadow: 0 18px 46px rgba(11, 18, 30, 0.14);
  transition:
    width 560ms cubic-bezier(.2,.8,.2,1),
    height 560ms cubic-bezier(.2,.8,.2,1),
    aspect-ratio 560ms cubic-bezier(.2,.8,.2,1),
    grid-template-columns 560ms cubic-bezier(.2,.8,.2,1),
    grid-template-rows 560ms cubic-bezier(.2,.8,.2,1),
    border-radius 560ms cubic-bezier(.2,.8,.2,1),
    opacity 220ms ease;
}

.responsive-landing .landing-nav,
.responsive-landing .landing-copy,
.responsive-landing .landing-visual,
.responsive-landing .landing-stats {
  position: relative;
  overflow: hidden;
}

.responsive-landing .landing-nav {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 32px;
  border-bottom: 1px solid rgba(16, 22, 32, 0.08);
  color: #515761;
  font-size: clamp(0.62rem, 0.72vw, 0.78rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.responsive-landing .landing-nav strong {
  margin-right: auto;
  color: #101318;
  font-size: clamp(1.05rem, 1.16vw, 1.32rem);
  letter-spacing: -0.02em;
}

.responsive-landing .landing-nav em {
  font-style: normal;
  color: #f7f4ed;
  background: #111318;
  border-radius: 999px;
  padding: 11px 17px;
}

.responsive-landing .landing-copy {
  padding: clamp(34px, 4vw, 52px) clamp(26px, 3.4vw, 38px) 30px;
  display: grid;
  align-content: center;
  gap: 20px;
}

.responsive-landing .landing-copy small {
  color: #7a5d45;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.responsive-landing .landing-copy h3 {
  max-width: 430px;
  margin: 0;
  font-size: clamp(2.45rem, 3.2vw, 4.05rem);
  line-height: 0.96;
  font-weight: 400;
}

.responsive-landing .landing-copy p {
  max-width: 390px;
  margin: 0;
  color: #545b64;
  font-size: clamp(0.78rem, 0.9vw, 0.95rem);
  line-height: 1.48;
}

.responsive-landing .landing-copy a {
  width: max-content;
  min-height: 46px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 19px;
  background: #0f1218;
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
}

.responsive-landing .landing-visual {
  grid-column: 2;
  grid-row: 2 / 4;
  margin: 30px 30px 30px 0;
  border-radius: 6px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 26%),
    radial-gradient(circle at 16% 72%, rgba(20, 36, 25, 0.88) 0 13%, transparent 14%),
    radial-gradient(circle at 76% 38%, rgba(255, 255, 255, 0.62) 0 8%, transparent 9%),
    linear-gradient(120deg, transparent 0 42%, rgba(0, 0, 0, 0.32) 43% 44%, transparent 45%),
    linear-gradient(145deg, #b9aa95 0 28%, #ebe2d4 29% 50%, #5f6670 51% 72%, #1d242b 73%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.responsive-landing .landing-visual::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 12%;
  bottom: 13%;
  height: 24%;
  background:
    linear-gradient(90deg, #0f1519 0 18%, transparent 18% 24%, #0f1519 24% 42%, transparent 42% 48%, #0f1519 48% 66%, transparent 66% 72%, #0f1519 72%);
  opacity: 0.88;
}

.material-pill,
.result-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.46);
  box-shadow: 0 16px 40px rgba(20, 24, 31, 0.14);
}

.material-pill {
  left: 24px;
  top: 24px;
  border-radius: 999px;
  padding: 10px 14px;
  color: #15191f;
  font-size: 0.7rem;
  font-weight: 800;
}

.result-card {
  right: 24px;
  bottom: 24px;
  width: 132px;
  min-height: 92px;
  border-radius: 18px;
  padding: 16px;
  color: #15191f;
  display: grid;
  align-content: center;
  gap: 3px;
}

.result-card strong {
  font-size: 1.8rem;
  line-height: 1;
}

.result-card small {
  color: #59616a;
  font-size: 0.68rem;
  line-height: 1.2;
}

.responsive-landing .landing-stats {
  grid-column: 1;
  grid-row: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(16, 22, 32, 0.08);
}

.responsive-landing .landing-stats span {
  padding: 20px 18px;
  border-right: 1px solid rgba(16, 22, 32, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.responsive-landing .landing-stats span:last-child {
  border-right: 0;
}

.responsive-landing .landing-stats strong {
  font-size: 1.35rem;
  line-height: 1;
}

.responsive-landing .landing-stats small {
  color: #707780;
  font-size: 0.58rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.responsive-overlay {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(520px, 66%);
  padding: 30px 38px;
  transform: translate(-50%, -48%);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 60px rgba(28, 28, 56, 0.18);
  color: #171720;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  z-index: 8;
  transition: opacity 260ms ease, transform 420ms cubic-bezier(.2,.8,.2,1);
}

.responsive-overlay strong {
  display: block;
  margin-bottom: 22px;
}

.responsive-overlay span {
  display: block;
  height: 4px;
  background: #e6e8ef;
  overflow: hidden;
  margin-bottom: 18px;
}

.responsive-overlay i {
  display: block;
  width: 80%;
  height: 100%;
  background: linear-gradient(90deg, #4f66ff, #d754ff);
  transform-origin: left center;
  animation: responsiveProgress 2.2s ease-in-out infinite;
}

.responsive-overlay small {
  color: #737787;
  font-size: 0.86rem;
}

.responsive-landing[data-state="generating"] {
  opacity: 0.34;
}

.responsive-landing[data-state="generating"] .responsive-overlay {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.responsive-landing[data-state="generating"] .collage-toolbar {
  opacity: 0;
}

.responsive-landing[data-state="mobile"] {
  width: 320px;
  height: 612px;
  aspect-ratio: auto;
  grid-template-columns: 1fr;
  grid-template-rows: 62px 224px 1fr 98px;
  border-radius: 34px;
  padding: 12px;
  background: #101318;
  box-shadow:
    0 30px 74px rgba(11, 14, 22, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.responsive-landing[data-state="mobile"] .landing-nav {
  grid-column: 1;
  grid-row: 1;
  border: 0;
  padding: 0 16px;
}

.responsive-landing[data-state="mobile"] .landing-nav span {
  display: none;
}

.responsive-landing[data-state="mobile"] .landing-nav strong {
  color: #fff;
  font-size: 1rem;
}

.responsive-landing[data-state="mobile"] .landing-nav em {
  padding: 8px 10px;
  color: #111318;
  background: #d8ff58;
  font-size: 0.56rem;
}

.responsive-landing[data-state="mobile"] .landing-copy,
.responsive-landing[data-state="mobile"] .landing-visual,
.responsive-landing[data-state="mobile"] .landing-stats {
  grid-column: 1;
}

.responsive-landing[data-state="mobile"] .landing-visual {
  grid-row: 2;
  margin: 0;
  border-radius: 24px 24px 0 0;
}

.responsive-landing[data-state="mobile"] .landing-copy {
  grid-row: 3;
  padding: 18px 17px 14px;
  gap: 11px;
  background: #f7f4ed;
}

.responsive-landing[data-state="mobile"] .landing-copy h3 {
  font-size: 2rem;
  line-height: 0.98;
}

.responsive-landing[data-state="mobile"] .landing-copy p {
  font-size: 0.72rem;
  line-height: 1.34;
}

.responsive-landing[data-state="mobile"] .landing-copy small {
  font-size: 0.56rem;
}

.responsive-landing[data-state="mobile"] .landing-copy a {
  min-height: 39px;
  padding: 0 14px;
  font-size: 0.68rem;
}

.responsive-landing[data-state="mobile"] .landing-stats {
  grid-row: 4;
  background: #f7f4ed;
  border-radius: 0 0 24px 24px;
}

.responsive-landing[data-state="mobile"] .landing-stats span {
  padding: 14px 9px;
}

.responsive-landing[data-state="mobile"] .landing-stats strong {
  font-size: 1rem;
}

.responsive-landing[data-state="mobile"] .landing-stats small {
  font-size: 0.48rem;
}

.responsive-landing[data-state="mobile"] .material-pill {
  left: 15px;
  top: 15px;
  font-size: 0.58rem;
}

.responsive-landing[data-state="mobile"] .result-card {
  right: 14px;
  bottom: 14px;
  width: 104px;
  min-height: 72px;
  padding: 12px;
  border-radius: 14px;
}

.responsive-landing[data-state="mobile"] .result-card strong {
  font-size: 1.35rem;
}

.responsive-landing[data-state="mobile"] .collage-toolbar,
.responsive-landing[data-state="mobile"] .selection-line {
  opacity: 0;
}

@keyframes responsiveProgress {
  0% { transform: scaleX(0.22); }
  52% { transform: scaleX(1); }
  100% { transform: scaleX(0.52); }
}

.responsive-landing.grid-resize-demo {
  width: min(1040px, 100%);
  aspect-ratio: 1.56;
  display: block;
  padding: clamp(22px, 2.5vw, 36px);
  overflow: visible;
  border-radius: 0;
  border: 0;
  background: #ededed;
  box-shadow: 0 22px 60px rgba(31, 38, 52, 0.12);
}

.resize-site {
  height: 100%;
  padding: 18px 22px 22px;
  display: grid;
  grid-template-rows: 112px 1fr;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow:
    0 6px 18px rgba(20, 25, 32, 0.14),
    inset 0 0 0 1px rgba(5, 8, 12, 0.05);
}

.resize-nav {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) repeat(4, minmax(86px, .62fr)) 70px;
  gap: 24px;
  align-items: start;
  color: #111318;
  font-size: clamp(0.48rem, 0.55vw, 0.66rem);
  line-height: 1.34;
}

.resize-logo {
  width: max-content;
  color: #151515;
  font-size: clamp(1rem, 1.15vw, 1.4rem);
  line-height: 0.94;
  font-weight: 600;
}

.resize-logo span {
  display: block;
  color: #888;
  font-weight: 400;
}

.resize-nav b,
.resize-nav span,
.resize-nav em {
  display: block;
  transition: opacity 420ms ease, filter 420ms ease, transform 420ms ease;
}

.resize-nav b {
  margin-bottom: 8px;
  font-weight: 800;
}

.resize-nav em {
  justify-self: end;
  min-width: 52px;
  height: 18px;
  display: grid;
  place-items: center;
  border: 1px solid #9ca46b;
  border-radius: 5px;
  background: #e8ff78;
  font-style: normal;
  font-weight: 800;
}

.grid-resize-demo:not([data-state="radu"]) .resize-logo,
.grid-resize-demo:not([data-state="radu"]) .resize-nav b,
.grid-resize-demo:not([data-state="radu"]) .resize-nav span,
.grid-resize-demo:not([data-state="radu"]) .resize-nav em {
  color: transparent;
  border-color: transparent;
  background: #e8e8e8;
  border-radius: 3px;
  filter: blur(.25px);
}

.grid-resize-demo:not([data-state="radu"]) .resize-logo {
  width: 74px;
  height: 16px;
}

.grid-resize-demo:not([data-state="radu"]) .resize-logo span {
  display: none;
}

.grid-resize-demo:not([data-state="radu"]) .resize-nav b {
  width: 34px;
  height: 9px;
}

.grid-resize-demo:not([data-state="radu"]) .resize-nav span {
  width: 70%;
  height: 8px;
  margin: 8px 0;
}

.grid-resize-demo:not([data-state="radu"]) .resize-nav em {
  width: 46px;
}

.resize-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: var(--grid-cols, 2fr 1fr);
  grid-template-rows: var(--grid-rows, 1.48fr .58fr);
  gap: 10px;
  transition:
    grid-template-columns 900ms cubic-bezier(.19,1,.22,1),
    grid-template-rows 900ms cubic-bezier(.19,1,.22,1);
}

.grid-resize-demo[data-state="layout-a"] {
  --grid-cols: 2fr 1fr;
  --grid-rows: 1.45fr .68fr;
}

.grid-resize-demo[data-state="layout-b"] {
  --grid-cols: 1.25fr .75fr 1fr;
  --grid-rows: 1.78fr .66fr;
}

.grid-resize-demo[data-state="layout-c"] {
  --grid-cols: 1.28fr .78fr 1fr;
  --grid-rows: 1.38fr .55fr;
}

.grid-resize-demo[data-state="radu"] {
  --grid-cols: 1.3fr .78fr 1fr;
  --grid-rows: 1.38fr .5fr;
}

.resize-cell {
  min-width: 0;
  min-height: 0;
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  padding: 18px;
  color: #151515;
  transition:
    grid-column 900ms cubic-bezier(.19,1,.22,1),
    grid-row 900ms cubic-bezier(.19,1,.22,1),
    background 520ms ease,
    opacity 380ms ease;
}

.serum-cell {
  grid-column: 1 / 2;
  grid-row: 1;
  background: #cfe7d9;
}

.face-cell {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  background: #e4f0f5;
}

.lotion-cell {
  grid-column: 1 / 2;
  grid-row: 2;
  background: #556173;
  color: #fff;
}

.welcome-cell {
  grid-column: 2 / 3;
  grid-row: 2;
  background: #e6ff74;
}

.grid-resize-demo[data-state="layout-a"] .serum-cell {
  grid-column: 1 / 2;
  grid-row: 1;
}

.grid-resize-demo[data-state="layout-a"] .face-cell {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
}

.grid-resize-demo[data-state="layout-a"] .lotion-cell {
  grid-column: 1 / 2;
  grid-row: 2;
}

.grid-resize-demo[data-state="layout-a"] .welcome-cell {
  grid-column: 1 / 2;
  grid-row: 2;
  justify-self: end;
  width: 34%;
}

.grid-resize-demo[data-state="layout-b"] .serum-cell,
.grid-resize-demo[data-state="layout-c"] .serum-cell,
.grid-resize-demo[data-state="radu"] .serum-cell {
  grid-column: 1 / 3;
  grid-row: 1;
}

.grid-resize-demo[data-state="layout-b"] .face-cell,
.grid-resize-demo[data-state="layout-c"] .face-cell,
.grid-resize-demo[data-state="radu"] .face-cell {
  grid-column: 3 / 4;
  grid-row: 1 / 3;
}

.grid-resize-demo[data-state="layout-b"] .lotion-cell,
.grid-resize-demo[data-state="layout-c"] .lotion-cell,
.grid-resize-demo[data-state="radu"] .lotion-cell {
  grid-column: 1 / 2;
  grid-row: 2;
}

.grid-resize-demo[data-state="layout-b"] .welcome-cell,
.grid-resize-demo[data-state="layout-c"] .welcome-cell,
.grid-resize-demo[data-state="radu"] .welcome-cell {
  grid-column: 2 / 3;
  grid-row: 2;
  width: auto;
}

.grid-resize-demo:not([data-state="radu"]) .resize-cell > * {
  opacity: 0;
}

.grid-resize-demo[data-state="radu"] .resize-cell > * {
  opacity: 1;
  transition: opacity 520ms ease 180ms;
}

.grid-resize-demo[data-state="radu"] .serum-cell {
  background:
    radial-gradient(ellipse at 48% 54%, rgba(245, 238, 219, .98) 0 19%, transparent 20%),
    radial-gradient(ellipse at 59% 55%, rgba(194, 183, 155, .72) 0 25%, transparent 26%),
    linear-gradient(105deg, rgba(107, 127, 84, .5), rgba(238, 239, 232, .9) 66%);
}

.serum-cell::before,
.serum-cell::after {
  content: "";
  position: absolute;
  opacity: 0;
  transition: opacity 520ms ease 180ms;
}

.serum-cell::before {
  width: 48px;
  height: 116px;
  left: 43%;
  top: 16%;
  border-radius: 12px 12px 6px 6px;
  background: linear-gradient(90deg, rgba(255,255,255,.55), #c0a653 52%, #756724);
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}

.serum-cell::after {
  width: 85px;
  height: 140px;
  left: 13%;
  bottom: 11%;
  background: linear-gradient(90deg, #f5f5f0, #d8d6d0);
  box-shadow: -8px 10px 14px rgba(0,0,0,.1);
}

.grid-resize-demo[data-state="radu"] .face-cell {
  background:
    radial-gradient(ellipse at 63% 40%, #bb6d45 0 22%, transparent 23%),
    radial-gradient(ellipse at 59% 45%, #a96748 0 34%, transparent 35%),
    linear-gradient(100deg, #f5f6f6 0 38%, #cc8c68 39% 65%, #f7f7f7 66%);
}

.face-cell::before {
  content: "";
  position: absolute;
  right: 8%;
  bottom: 0;
  width: 46%;
  height: 76%;
  border-radius: 49% 45% 0 0;
  background: linear-gradient(90deg, #9d5a3e, #d99a76);
  opacity: 0;
  transition: opacity 520ms ease 180ms;
}

.grid-resize-demo[data-state="radu"] .lotion-cell {
  background:
    linear-gradient(135deg, rgba(255,255,255,.88) 0 28%, transparent 29%),
    linear-gradient(135deg, #667386, #4d596a);
}

.grid-resize-demo[data-state="radu"] .welcome-cell {
  background: #e6ff74;
}

.grid-resize-demo[data-state="radu"] .serum-cell::before,
.grid-resize-demo[data-state="radu"] .serum-cell::after,
.grid-resize-demo[data-state="radu"] .face-cell::before {
  opacity: 1;
}

.resize-cell small {
  display: block;
  margin-bottom: 3px;
  font-size: .55rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.resize-cell strong {
  display: block;
  font-size: .82rem;
  line-height: 1.15;
}

.resize-cell p {
  max-width: 220px;
  margin: 18px 0 0;
  font-size: .58rem;
  line-height: 1.35;
  font-weight: 700;
}

.resize-cell span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  min-width: 58px;
  min-height: 21px;
  display: inline-grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: .48rem;
  font-weight: 900;
}

.grid-resize-demo .selection-line {
  left: 23px;
  right: 23px;
  top: calc(112px + 22px + var(--resize-line-y, 54%));
  opacity: 1;
  transition: top 900ms cubic-bezier(.19,1,.22,1);
}

.grid-resize-demo[data-state="layout-a"] { --resize-line-y: 52%; }
.grid-resize-demo[data-state="layout-b"] { --resize-line-y: 63%; }
.grid-resize-demo[data-state="layout-c"] { --resize-line-y: 60%; }
.grid-resize-demo[data-state="radu"] { --resize-line-y: 63%; }

.grid-resize-demo[data-state="radu"] .selection-line {
  opacity: 0;
}

.grid-resize-demo .collage-toolbar {
  top: 58%;
  left: 59%;
  opacity: 1;
  transition: top 900ms cubic-bezier(.19,1,.22,1), left 900ms cubic-bezier(.19,1,.22,1), opacity 360ms ease;
}

.grid-resize-demo[data-state="layout-b"] .collage-toolbar { top: 61%; left: 60%; }
.grid-resize-demo[data-state="layout-c"] .collage-toolbar { top: 58%; left: 63%; }
.grid-resize-demo[data-state="radu"] .collage-toolbar { top: 58%; left: 61%; opacity: .88; }

.radu-site {
  width: min(1040px, 100%);
  aspect-ratio: 1.54;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.13);
  padding: 20px 24px 22px;
  position: relative;
  display: grid;
  grid-template-rows: 104px 1fr;
  overflow: hidden;
}

.radu-nav {
  display: grid;
  grid-template-columns: 1fr repeat(4, minmax(90px, 0.44fr)) 72px;
  gap: 22px;
  font-size: clamp(0.42rem, 0.52vw, 0.65rem);
  line-height: 1.25;
  color: #131313;
}

.radu-logo {
  font-size: clamp(1rem, 1.2vw, 1.45rem);
  line-height: 0.9;
  font-weight: 500;
}

.radu-nav strong { display: block; margin-bottom: 6px; }
.radu-nav span:not(.radu-logo) { display: block; margin: 2px 0; }
.cart { height: 18px; border: 1px solid #9bac42; border-radius: 5px; background: #eaff76; display: grid; place-items: center; font-size: 0.52rem; font-weight: 700; }

.radu-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1.55fr 0.55fr;
  gap: 10px;
  min-height: 0;
}

.serum,
.face,
.lotion,
.welcome {
  border-radius: 5px;
  overflow: hidden;
  position: relative;
  transform: translateZ(0);
}

.serum {
  background:
    radial-gradient(ellipse at 48% 54%, rgba(244, 236, 218, 0.98) 0 20%, transparent 21%),
    radial-gradient(ellipse at 58% 49%, rgba(221, 213, 188, 0.94) 0 25%, transparent 26%),
    linear-gradient(120deg, #aebd9e, #f0eee8 66%);
}

.serum::before {
  content: "";
  position: absolute;
  width: 66%;
  height: 36%;
  left: 25%;
  top: 39%;
  border-radius: 50%;
  background: linear-gradient(135deg, #d6c6a9, #a49274);
  filter: blur(0.4px);
  transform: rotate(-7deg);
}

.bottle {
  position: absolute;
  width: 50px;
  height: 124px;
  left: 44%;
  top: 19%;
  border-radius: 14px 14px 7px 7px;
  background: linear-gradient(90deg, rgba(255,255,255,0.34), #c9b25b 48%, #7d6b28);
  box-shadow: 0 4px 9px rgba(0,0,0,.18);
}

.bottle::before {
  content: "";
  position: absolute;
  left: 18px;
  top: -36px;
  width: 14px;
  height: 40px;
  border-radius: 8px 8px 2px 2px;
  background: #133684;
}

.box {
  position: absolute;
  width: 80px;
  height: 138px;
  left: 18%;
  top: 28%;
  background: linear-gradient(90deg, #f8f7f3, #d9d7d1);
  box-shadow: -10px 11px 15px rgba(0,0,0,.09);
}

.face {
  grid-row: 1 / 3;
  grid-column: 2;
  background:
    radial-gradient(ellipse at 62% 40%, #b56a40 0 22%, transparent 23%),
    radial-gradient(ellipse at 58% 45%, #9e5837 0 32%, transparent 33%),
    linear-gradient(100deg, #f4f5f5 0 38%, #cc8b66 39% 65%, #f6f6f6 66%);
}

.face::before {
  content: "";
  position: absolute;
  width: 43%;
  height: 76%;
  right: 9%;
  bottom: 0;
  border-radius: 48% 44% 0 0;
  background: linear-gradient(90deg, #9d5a3e, #d69a76);
}

.face::after {
  content: "";
  position: absolute;
  width: 20%;
  height: 42%;
  right: 16%;
  top: 36%;
  border-radius: 999px;
  border: 7px solid rgba(255, 255, 255, 0.92);
  border-left: 0;
  transform: rotate(-9deg);
}

.lotion {
  background:
    linear-gradient(135deg, rgba(255,255,255,.85) 0 28%, transparent 29%),
    linear-gradient(135deg, #6d7888, #4f5b6c);
  color: #fff;
  padding: 18px;
  display: grid;
  align-content: end;
}

.welcome {
  background: #ddff68;
  padding: 18px;
  font-size: 0.72rem;
  line-height: 1.35;
}

.placeholder .radu-nav strong,
.placeholder .radu-nav span:not(.radu-logo),
.placeholder .radu-logo,
.placeholder .cart {
  color: transparent;
  background: #ebebeb;
  border: 0;
  border-radius: 3px;
  height: 10px;
  overflow: hidden;
}

.placeholder .radu-logo { width: 72px; height: 15px; }
.placeholder .radu-nav span:not(.radu-logo) { width: 80%; }
.placeholder .cart { background: #9b9b9b; }

.placeholder .serum {
  background: #cfe8d9;
  grid-column: 1;
  grid-row: 1;
}

.placeholder .face {
  background: #e2f1f8;
}

.placeholder .serum::before,
.placeholder .face::before,
.placeholder .face::after,
.placeholder .bottle,
.placeholder .box {
  display: none;
}

.placeholder .lotion { background: #566171; color: transparent; }
.placeholder .welcome { background: #e4ff76; color: transparent; }

.collage-toolbar {
  position: absolute;
  left: 52%;
  top: 47%;
  transform: translate(-50%, -50%);
  height: 29px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border-radius: 3px;
  color: #455061;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 3px 10px rgba(0,0,0,.18);
  font-size: 0.64rem;
  z-index: 5;
}

.selection-line {
  position: absolute;
  left: 24px;
  right: 24px;
  top: calc(63% + var(--grid-progress) * 16%);
  height: 2px;
  background: #2175ff;
  opacity: calc((var(--grid-progress) - .25) * 3);
  z-index: 4;
}

.selection-line::before,
.selection-line::after {
  content: "";
  position: absolute;
  top: -4px;
  width: 26px;
  height: 8px;
  border-radius: 999px;
  background: #2175ff;
}

.selection-line::before { left: 35%; }
.selection-line::after { right: 0; width: 7px; height: 30px; top: -14px; }

.animations {
  background: #fff;
  position: relative;
  z-index: 3;
}

.animation-copy {
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(430px, 0.75fr);
  gap: clamp(40px, 8vw, 150px);
  align-items: start;
  padding: 84px clamp(28px, 7vw, 142px) 70px;
  border-top: 1px solid var(--line);
  background: var(--anim-copy-bg, #fff);
  color: var(--anim-copy-color, #050505);
  transition: background 280ms ease, color 280ms ease;
}

.animation-copy h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(4rem, 5.3vw, 6.7rem);
  line-height: 1.02;
  font-weight: 300;
}

.animation-copy p {
  margin: 0 0 30px;
  max-width: 560px;
  font-size: clamp(1.1rem, 1.2vw, 1.45rem);
  line-height: 1.48;
}

.animation-stage {
  --mx: 0;
  --my: 0;
  min-height: 856px;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(118px, 0.35fr) minmax(250px, 0.47fr) minmax(440px, 1.08fr);
  gap: 9px;
  padding: 20px 0 12px;
  background: var(--stage-bg, #f4ede8);
  border-bottom: 20px solid var(--stage-line, #b6cfe9);
  transition: background 280ms ease, border-color 280ms ease;
  overflow: hidden;
}

.animation-stage.r-expanded {
  grid-template-columns: minmax(260px, 0.72fr) minmax(118px, 0.35fr) minmax(250px, 0.47fr) minmax(440px, 1.08fr);
}

.motion-col {
  min-height: 798px;
  display: grid;
  grid-template-rows: 1fr 265px;
  gap: 20px;
  padding-left: 14px;
}

.orb-card {
  display: grid;
  place-items: center;
  background: var(--orb-bg, #f4f6fa);
  transition: background 280ms ease;
}

.spin-pie {
  width: min(76%, 430px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    conic-gradient(from var(--pie-rotation, 0deg), #ff4b09 0 78deg, #ffd1bf 78deg 142deg, #ff8a5f 142deg 360deg);
  filter: drop-shadow(22px 26px 36px rgba(11, 30, 50, 0.09));
  animation: pieSpin 8s linear infinite;
  position: relative;
}

.spin-pie::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.82) 0 2%, transparent 12%);
  filter: blur(6px);
}

@keyframes pieSpin {
  to { --pie-rotation: 360deg; }
}

@property --pie-rotation {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.switch-card {
  border-radius: 18px;
  background: #78aef8;
  padding: 33px 24px;
  display: grid;
  align-items: center;
}

.switch-track {
  height: 185px;
  border-radius: 999px;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.switch-knob {
  position: absolute;
  left: 14px;
  top: 8px;
  width: 169px;
  height: 169px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  transform: translateX(var(--switch-x, 0));
  transition: transform 420ms cubic-bezier(.2,.8,.2,1), background 220ms ease, color 220ms ease;
}

.switch-card.on .switch-knob {
  --switch-x: calc(min(100vw, 520px) - 232px);
  background: var(--lime);
  color: #050505;
}

.arrow-card {
  border-radius: 18px;
  background:
    linear-gradient(var(--lime) 0 309px, #fff 309px 100%);
  display: grid;
  justify-items: center;
  align-items: start;
  padding-top: 78px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: background 520ms cubic-bezier(.2,.8,.2,1), padding-top 520ms cubic-bezier(.2,.8,.2,1), transform 220ms ease;
}

.arrow-card:hover {
  transform: translateY(-2px);
}

.arrow-card:focus-visible,
.hover-card:focus-visible {
  outline: 2px solid #050505;
  outline-offset: 3px;
}

.arrow-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 292px;
  height: 36px;
  background: #fff;
  transition: opacity 260ms ease;
  z-index: 0;
}

.arrow-symbol {
  width: 116px;
  height: 154px;
  position: relative;
  z-index: 1;
  transform: translateY(0);
  transition: transform 620ms cubic-bezier(.19,1,.22,1);
}

.arrow-symbol::before,
.arrow-symbol::after {
  content: "";
  position: absolute;
  background: #0b0b0e;
}

.arrow-symbol::before {
  left: 50%;
  top: 0;
  width: 8px;
  height: 135px;
  transform: translateX(-50%);
}

.arrow-symbol::after {
  width: 66px;
  height: 66px;
  left: 25px;
  bottom: 0;
  border-right: 8px solid #0b0b0e;
  border-bottom: 8px solid #0b0b0e;
  background: transparent;
  transform: rotate(45deg);
}

@keyframes arrowDrop {
  0%, 100% { transform: translateY(-8px); }
  50% { transform: translateY(32px); }
}

.arrow-card.dropped {
  padding-top: 584px;
  background:
    linear-gradient(180deg, #b9f6dc 0%, #f3c0b5 32%, #ff7b38 68%, #ff4b08 100%);
}

.arrow-card.dropped::before {
  top: auto;
  bottom: 0;
  height: 308px;
  border-radius: 18px;
  background: var(--lime);
  opacity: 1;
}

.arrow-card.dropped .arrow-symbol {
  transform: translateY(0);
}

.click-card {
  border: 12px solid #fff;
  border-radius: 24px;
  min-height: 798px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 12%, #4f514d 0 16%, transparent 18%),
    linear-gradient(110deg, #724026 0 38%, #ff5e0a 39% 54%, #385f54 55%);
  background-position: center;
  background-size: cover;
  isolation: isolate;
  cursor: pointer;
  transition: filter 360ms ease, transform 360ms ease;
  will-change: background-image, transform;
}

.click-card.image-1 {
  background:
    linear-gradient(180deg, rgba(7, 10, 16, 0.08), rgba(7, 10, 16, 0.36)),
    url("../Images/business-hotel-luxe.png") center / cover;
}

.click-card.image-2 {
  background:
    linear-gradient(180deg, rgba(5, 8, 12, 0.04), rgba(5, 8, 12, 0.42)),
    url("../Images/showcase-architecture.png") center / cover;
}

.click-card.image-3 {
  background:
    linear-gradient(180deg, rgba(4, 6, 11, 0.06), rgba(4, 6, 11, 0.4)),
    url("../Images/business-events-luxe.png") center / cover;
}

.click-card.image-4 {
  background:
    linear-gradient(180deg, rgba(4, 6, 11, 0.04), rgba(4, 6, 11, 0.38)),
    url("../Images/business-store-luxe.png") center / cover;
}

.click-card.image-reveal {
  animation: clickImageReveal 560ms cubic-bezier(.19,1,.22,1);
}

.click-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 46%, rgba(255,255,255,0.18), transparent 22%),
    linear-gradient(135deg, rgba(255,255,255,0.16), transparent 34%);
  opacity: 0;
  transition: opacity 360ms ease;
  pointer-events: none;
}

.click-card[class*="image-"]::before {
  opacity: 1;
}

.lens {
  position: absolute;
  left: calc(50% + var(--mx) * 24px);
  top: calc(50% + var(--my) * 24px);
  width: 168px;
  height: 168px;
  border-radius: 50%;
  background: rgba(255,255,255,.42);
  border: 1px solid rgba(255,255,255,.8);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(2px);
  display: grid;
  place-items: center;
  z-index: 2;
}

.lens::after {
  content: "";
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
}

.click-card strong {
  position: absolute;
  left: 0;
  right: 0;
  top: 62%;
  z-index: 3;
  color: #fff;
  text-align: center;
  font-size: 1.55rem;
  line-height: 1;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.32);
}

@keyframes clickImageReveal {
  0% {
    filter: saturate(0.75) brightness(1.12);
    transform: scale(0.992);
  }
  100% {
    filter: saturate(1) brightness(1);
    transform: scale(1);
  }
}

.hover-parallax {
  display: grid;
  grid-template-rows: 368px 1fr;
  gap: 10px;
  padding-right: 7px;
  min-width: 0;
}

.hover-card {
  width: min(350px, 100%);
  justify-self: end;
  background: var(--navy);
  border-radius: 22px;
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 24px;
  transition:
    width 560ms cubic-bezier(.19,1,.22,1),
    transform 360ms ease,
    border-radius 360ms ease,
    background 260ms ease;
}

.hover-card:hover,
.hover-card:focus-visible {
  width: 100%;
  border-radius: 24px;
}

.hover-card span {
  font-size: 1.15rem;
}

.big-r {
  position: absolute;
  right: 28px;
  bottom: 8px;
  color: #fff;
  font-size: clamp(9rem, 15vw, 19rem);
  line-height: .78;
  font-weight: 700;
}

.parallax-card {
  min-height: 420px;
  border-radius: 28px;
  background: #ffe3aa;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  cursor: crosshair;
}

.parallax-layer {
  position: absolute;
  border-radius: 32px;
  transition: background 260ms ease;
}

.parallax-layer:nth-child(1) {
  inset: 27px;
  background: #ffd06b;
  transform: translate(calc(var(--mx) * 16px), calc(var(--my) * 12px));
}

.parallax-layer:nth-child(2) {
  inset: 53px;
  background: #ffbd3c;
  transform: translate(calc(var(--mx) * -28px), calc(var(--my) * 22px));
}

.parallax-layer:nth-child(3) {
  inset: 80px;
  background: #ffaa08;
  transform: translate(calc(var(--mx) * 42px), calc(var(--my) * -30px));
}

.parallax-layer:nth-child(4) {
  inset: 110px;
  background: #ff9800;
  transform: translate(calc(var(--mx) * -52px), calc(var(--my) * 36px));
}

.parallax-card strong {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: clamp(1.25rem, 1.7vw, 2rem);
  font-weight: 500;
}

body.dark-lab {
  --anim-copy-bg: #000;
  --anim-copy-color: #fff;
  --stage-bg: #243343;
  --stage-line: #4b27f6;
  --orb-bg: #243343;
  --navy: #10106e;
  --lime: #dfff00;
}

body.dark-lab .spin-pie {
  background: conic-gradient(from var(--pie-rotation, 0deg), #18ef80 0 286deg, #344e54 286deg 330deg, #8fffc4 330deg 360deg);
}

body.dark-lab .switch-card { background: #b6b6b6; }
body.dark-lab .hover-card { background: #acbbaa; color: #0a0a0a; }
body.dark-lab .parallax-card { background: #2d8d6c; }
body.dark-lab .parallax-layer:nth-child(1) { background: #18a75d; }
body.dark-lab .parallax-layer:nth-child(2) { background: #16bf68; }
body.dark-lab .parallax-layer:nth-child(3) { background: #21db78; }
body.dark-lab .parallax-layer:nth-child(4) { background: #25f283; }
body.dark-lab .parallax-card strong { color: #030303; }

.responsive-behavior-section {
  background: #fff;
  position: relative;
  z-index: 4;
}

.responsive-behavior-copy {
  min-height: 310px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, .85fr);
  gap: clamp(42px, 8vw, 150px);
  align-items: start;
  padding: 78px clamp(28px, 7vw, 142px) 70px;
  border-top: 1px solid var(--line);
}

.responsive-behavior-copy h2 {
  margin: 0;
  font-size: clamp(4rem, 5.1vw, 6.4rem);
  line-height: 1.04;
  font-weight: 300;
}

.responsive-behavior-copy p {
  margin: 0 0 30px;
  max-width: 650px;
  font-size: clamp(1.06rem, 1.12vw, 1.35rem);
  line-height: 1.42;
}

.behavior-stage {
  min-height: 670px;
  display: grid;
  grid-template-columns: 69% 31%;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #a9bed5 0%, #dbe7f4 72%, #f9fbff 100%);
}

.behavior-stage::after {
  content: "";
  position: absolute;
  inset: 0 0 0 69%;
  background:
    radial-gradient(#e2e8ef .9px, transparent 1px),
    #fbfbfb;
  background-size: 9px 9px;
}

.behavior-editor {
  width: min(1004px, 77vw);
  aspect-ratio: 1.27;
  align-self: start;
  justify-self: end;
  margin-top: 38px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: 38px 1fr;
  background: #ececec;
  box-shadow: 0 28px 75px rgba(30, 50, 78, .14);
}

.behavior-topbar {
  height: 38px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding-left: 13px;
  background: #101521;
  color: #dce5ef;
  font-size: .7rem;
}

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

.behavior-topbar > div:nth-child(2) span {
  width: 15px;
  height: 15px;
  border: 1px solid #708097;
  border-radius: 3px;
}

.behavior-topbar > div:last-child {
  justify-content: flex-end;
}

.behavior-topbar strong {
  align-self: stretch;
  display: grid;
  place-items: center;
  padding: 0 18px;
  background: #2175ff;
  color: #fff;
}

.behavior-workspace {
  min-height: 0;
  display: grid;
  grid-template-columns: 38px 250px 1fr;
}

.behavior-rail {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 18px;
  padding-top: 15px;
  background: #fbfcfd;
  color: #5e6874;
  border-right: 1px solid #e3e7ee;
  font-size: .95rem;
}

.quick-add-panel {
  min-width: 0;
  display: grid;
  grid-template-columns: 88px 1fr;
  position: relative;
  background: #fff;
  border-right: 1px solid #e3e7ee;
  color: #1d2530;
}

.quick-tabs {
  padding-top: 11px;
  display: grid;
  align-content: start;
  gap: 0;
  border-right: 1px solid #edf0f4;
  font-size: .54rem;
}

.quick-tabs strong,
.quick-tabs span {
  min-height: 25px;
  display: flex;
  align-items: center;
  padding: 0 13px;
}

.quick-tabs strong {
  color: #2576e8;
  background: #e9f2ff;
  font-weight: 600;
}

.quick-grid {
  padding: 11px 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: 10px;
  font-size: .54rem;
}

.quick-grid b {
  grid-column: span 1;
  font-size: .64rem;
}

.quick-grid > span {
  justify-self: end;
}

.quick-grid button {
  min-height: 54px;
  display: grid;
  place-items: center;
  gap: 4px;
  border: 1px solid #e2e6ec;
  border-radius: 3px;
  background: #fff;
  color: #343b46;
  font-size: .49rem;
  font-weight: 600;
}

.quick-grid button i {
  font-style: normal;
  font-size: .92rem;
  line-height: 1;
}

.quick-grid .title-tool {
  border-color: #d5dce6;
  box-shadow: 0 8px 20px rgba(20, 35, 52, .08);
}

.behavior-cursor {
  position: absolute;
  left: 178px;
  top: 80px;
  width: 18px;
  height: 26px;
  z-index: 6;
  background: #050505;
  clip-path: polygon(0 0, 0 100%, 36% 76%, 55% 100%, 72% 91%, 53% 67%, 100% 66%);
  filter: drop-shadow(0 3px 4px rgba(0,0,0,.2));
  animation: behaviorCursor 14s cubic-bezier(.19,1,.22,1) infinite;
}

.behavior-page {
  align-self: center;
  justify-self: center;
  width: min(812px, 92%);
  aspect-ratio: 1.17;
  padding: 18px;
  position: relative;
  overflow: hidden;
  background: #f8f6f3;
  box-shadow: 0 15px 38px rgba(25, 30, 42, .12);
}

.furniture-nav {
  display: grid;
  grid-template-columns: 1fr repeat(4, minmax(72px, .58fr)) 112px 28px;
  gap: 17px;
  align-items: start;
  min-height: 72px;
  color: #171717;
  font-size: clamp(.4rem, .52vw, .62rem);
  line-height: 1.22;
}

.furniture-nav strong {
  font-size: clamp(1rem, 1.25vw, 1.4rem);
  line-height: 1;
}

.furniture-nav button {
  height: 30px;
  border: 1px solid #191919;
  border-radius: 999px;
  background: transparent;
  font-weight: 700;
  font-size: .62rem;
}

.furniture-nav i,
.furniture-nav i::before,
.furniture-nav i::after {
  width: 22px;
  height: 2px;
  display: block;
  background: #171717;
}

.furniture-nav i {
  margin-top: 8px;
  position: relative;
  background: transparent;
}

.furniture-nav i::before,
.furniture-nav i::after {
  content: "";
  position: absolute;
  right: 0;
}

.furniture-nav i::before { top: 0; }
.furniture-nav i::after { top: 12px; }

.selected-element {
  position: relative;
  height: 92px;
  width: 80%;
  margin: 0 0 10px;
  border: 2px solid #2175ff;
  background: rgba(146, 190, 255, .64);
  transform-origin: left top;
  animation: selectedBehavior 14s cubic-bezier(.19,1,.22,1) infinite;
}

.selected-element::before,
.selected-element::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 4px;
  height: 30px;
  border-radius: 999px;
  background: rgba(34, 34, 34, .56);
  transform: translateY(-50%);
  animation: sideHandles 14s linear infinite;
}

.selected-element::before { left: -36px; }
.selected-element::after { right: -36px; }

.selected-element span {
  position: absolute;
  left: 8px;
  top: -25px;
  height: 22px;
  display: grid;
  place-items: center;
  padding: 0 12px;
  background: #1c7dff;
  color: #fff;
  font-size: .62rem;
  font-weight: 800;
  animation: textBadge 14s linear infinite;
}

.selected-element .title-add,
.selected-element .title-nevo {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  color: #332b18;
  font-size: clamp(2.8rem, 4.35vw, 4.95rem);
  line-height: .9;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  opacity: 0;
  letter-spacing: 0;
}

.selected-element .title-add {
  padding-left: 10px;
  animation: titleAddLoop 14s linear infinite;
}

.selected-element .title-nevo {
  padding-left: 8px;
  animation: titleNevoLoop 14s linear infinite;
}

.responsive-showcase {
  height: calc(100% - 102px);
  display: grid;
  grid-template-columns: var(--showcase-cols, .98fr 1.18fr);
  gap: 8px;
  animation: showcaseBehavior 14s cubic-bezier(.19,1,.22,1) infinite;
}

.showcase-tile {
  min-width: 0;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.showcase-tile.warm {
  background:
    linear-gradient(180deg, rgba(255,255,255,.16), transparent 38%),
    url("../Images/showcase-architecture.png") 44% center / cover;
}

.showcase-tile.green {
  background:
    linear-gradient(180deg, rgba(255,255,255,.14), rgba(0,0,0,.16)),
    url("../Images/business-store-luxe.png") 54% center / cover;
}

.round-scroll {
  position: absolute;
  right: 34px;
  bottom: 35px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 30px rgba(20, 28, 40, .16);
}

.round-scroll::before,
.round-scroll::after {
  content: "";
  position: absolute;
  background: #191919;
}

.round-scroll::before {
  width: 2px;
  height: 24px;
  left: 50%;
  top: 12px;
}

.round-scroll::after {
  width: 14px;
  height: 14px;
  left: 19px;
  top: 24px;
  border-right: 2px solid #191919;
  border-bottom: 2px solid #191919;
  background: transparent;
  transform: rotate(45deg);
}

.behavior-panel {
  width: min(310px, 72%);
  position: absolute;
  z-index: 3;
  right: clamp(58px, 8vw, 162px);
  top: 176px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(34, 48, 70, .13);
  animation: panelFloat 14s cubic-bezier(.19,1,.22,1) infinite;
}

.behavior-panel button {
  width: 100%;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  font-size: 1.08rem;
  border-bottom: 1px solid #ecedf0;
  background: #fff;
}

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

.behavior-panel li {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  font-size: 1.05rem;
  color: #2a2d32;
}

.behavior-panel li span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #9fc4ff;
}

.option-scale,
.option-wrap,
.option-fixed,
.option-hug {
  animation: none;
}

.option-scale {
  background: #dcecff;
  color: #2d73c9;
  font-size: 1.24rem;
}

@keyframes quickAddPanel {
  0%, 31% { opacity: 1; transform: translateX(0); }
  36%, 100% { opacity: 0; transform: translateX(-18px); pointer-events: none; }
}

@keyframes selectedBehavior {
  0%, 11% {
    width: 66%;
    height: 88px;
    transform: translate(34%, 124px);
    background: rgba(146, 190, 255, .58);
    opacity: 0;
  }
  16%, 26% {
    width: 66%;
    height: 248px;
    transform: translate(43%, 118px);
    background: rgba(146, 190, 255, .62);
    opacity: 1;
  }
  34%, 46% {
    width: 92%;
    height: 104px;
    transform: translate(0, 0);
    background: rgba(133, 185, 255, .72);
    opacity: 1;
  }
  54%, 77% {
    width: 92%;
    height: 104px;
    transform: translate(0, 0);
    background: rgba(133, 185, 255, .52);
    opacity: 1;
  }
  86%, 100% {
    width: 94%;
    height: 104px;
    transform: translate(0, 0);
    background: transparent;
    border-color: transparent;
    opacity: 1;
  }
}

@keyframes sideHandles {
  0%, 16%, 86%, 100% { opacity: 0; }
  20%, 82% { opacity: 1; }
}

@keyframes textBadge {
  0%, 13%, 84%, 100% { opacity: 0; }
  17%, 80% { opacity: 1; }
}

@keyframes titleAddLoop {
  0%, 30% { opacity: 0; }
  35%, 58% { opacity: 1; }
  63%, 100% { opacity: 0; }
}

@keyframes titleNevoLoop {
  0%, 60% { opacity: 0; width: 52%; }
  66%, 85% { opacity: 1; width: 100%; }
  92%, 100% { opacity: 1; width: 100%; }
}

@keyframes showcaseBehavior {
  0%, 20% { grid-template-columns: .48fr 1fr; transform: translateY(132px); }
  28%, 48% { grid-template-columns: .52fr 1fr; transform: translateY(110px); }
  58%, 77% { grid-template-columns: .98fr 1.18fr; transform: translateY(0); }
  86%, 100% { grid-template-columns: .98fr 1.18fr; transform: translateY(0); }
}

@keyframes panelFloat {
  0%, 32% { transform: translateY(0); }
  42%, 70% { transform: translateY(2px); }
  80%, 100% { transform: translateY(0); }
}

@keyframes behaviorCursor {
  0%, 7% { opacity: 0; transform: translate(0, 0); }
  10%, 20% { opacity: 1; transform: translate(0, 0); }
  28%, 35% { opacity: 1; transform: translate(318px, 118px); }
  43%, 52% { opacity: 1; transform: translate(602px, 154px); }
  60%, 72% { opacity: 1; transform: translate(624px, 184px); }
  80%, 100% { opacity: 0; transform: translate(650px, 184px); }
}

@media (max-width: 980px) {
  :root { --nav-h: 64px; }
  .site-header { grid-template-columns: 1fr auto; padding-left: 18px; }
  .brand { font-size: 1rem; }
  .brand-mark { width: 23px; height: 23px; }
  .main-nav { gap: 18px; overflow-x: auto; justify-self: end; padding-right: 16px; max-width: 58vw; }
  .header-actions { display: none; }
  .mega { display: none; }
  .hero { min-height: 92vh; padding: calc(var(--nav-h) + 54px) 20px 44px; }
  .hero h1 { font-size: clamp(3.85rem, 15.4vw, 5rem); line-height: 1.04; max-width: 100%; }
  .hero p { font-size: 1.55rem; max-width: 92%; }
  .grid-pin { grid-template-columns: 1fr; min-height: 940px; align-content: start; padding: 56px 20px; }
  .editor-shell { width: 1040px; justify-self: start; transform-origin: top left; transform: scale(.66); }
  .responsive-behavior-copy { grid-template-columns: 1fr; padding: 64px 20px 42px; }
  .responsive-behavior-copy h2 { font-size: clamp(3.4rem, 12vw, 5.2rem); }
  .behavior-stage { grid-template-columns: 1fr; min-height: 840px; padding: 24px 10px 240px; }
  .behavior-stage::after { inset: auto 0 0; height: 260px; }
  .behavior-editor { width: 980px; justify-self: start; transform: scale(.72); transform-origin: top left; margin-top: 0; }
  .behavior-panel { left: 20px; right: 20px; top: auto; bottom: 34px; width: auto; max-width: 390px; }
  .animation-copy { grid-template-columns: 1fr; padding: 64px 20px 42px; }
  .animation-copy h2 { font-size: clamp(3.5rem, 13vw, 5.3rem); }
  .animation-stage { grid-template-columns: 1fr; padding: 10px; }
  .motion-col { padding-left: 0; }
  .click-card { min-height: 620px; }
  .hover-parallax { padding-right: 0; }
  .switch-card.on .switch-knob { --switch-x: calc(100vw - 268px); }
}

@media (max-width: 520px) {
  .site-header { display: flex; justify-content: space-between; gap: 12px; }
  .main-nav { max-width: 48vw; gap: 14px; }
  .main-nav .nav-trigger:nth-child(n + 2),
  .main-nav .nav-link { display: none; }
  .hero h1 { font-size: clamp(2.9rem, 12.6vw, 3.25rem); }
  .hero p { font-size: 1.34rem; line-height: 1.18; }
  .down-arrow { display: none; }
  .grid-copy h2 { font-size: 3.2rem; }
  .grid-copy p { font-size: 1rem; }
  .responsive-behavior-copy h2 { font-size: 3.1rem; }
  .responsive-behavior-copy p { font-size: 1rem; }
  .behavior-stage { min-height: 690px; padding-bottom: 224px; }
  .behavior-editor { transform: scale(.43); }
  .behavior-panel { font-size: .9rem; }
  .behavior-panel button,
  .behavior-panel li { min-height: 52px; font-size: .95rem; }
}

.gradient-studio {
  min-height: 420vh;
  background: #fff;
  position: relative;
  z-index: 5;
}

.gradient-pin {
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  min-height: 760px;
  display: grid;
  grid-template-columns: 38.5% 61.5%;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.gradient-copy {
  display: grid;
  align-content: center;
  padding: clamp(42px, 5vw, 96px);
  background: #fff;
}

.gradient-copy h2 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(4rem, 5.1vw, 6.3rem);
  line-height: 1.03;
  font-weight: 300;
}

.gradient-copy p {
  max-width: 590px;
  margin: 58px 0 0;
  font-size: clamp(1.1rem, 1.18vw, 1.4rem);
  line-height: 1.48;
}

.gradient-stage {
  position: relative;
  overflow: hidden;
  background: #dae8ff;
}

.gradient-field {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at calc(78% - var(--gradient-progress) * 24%) calc(74% - var(--gradient-progress) * 16%), rgba(43, 29, 210, calc(var(--gradient-progress) * .95)), transparent 27%),
    radial-gradient(circle at calc(34% + var(--gradient-progress) * 46%) calc(24% + var(--gradient-progress) * 12%), rgba(223, 255, 0, calc(.85 - var(--gradient-progress) * .24)), transparent 26%),
    radial-gradient(circle at calc(12% + var(--gradient-progress) * 16%) calc(76% - var(--gradient-progress) * 8%), rgba(255, 115, 36, calc(.55 - var(--gradient-progress) * .35)), transparent 34%),
    conic-gradient(from calc(125deg + var(--gradient-progress) * 210deg) at calc(68% + var(--gradient-progress) * 9%) calc(57% + var(--gradient-progress) * 9%), #eaf2ff, #a7b4ff, #e6ffff, #dfff88, #efb5c9, #8c80ee, #eaf2ff);
  filter: blur(calc(var(--gradient-progress) * 3px));
  transform: scale(1.02);
}

.color-picker {
  position: absolute;
  left: 48%;
  top: 50%;
  width: 286px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 54px rgba(29, 38, 56, .16);
  overflow: hidden;
  transform: translate(-50%, -50%) scale(calc(.96 + var(--gradient-progress) * .08)) rotate(calc((var(--gradient-progress) - .5) * -1.8deg));
  color: #17191f;
}

.picker-head,
.picker-mode,
.picker-opacity,
.picker-slider,
.picker-tabs {
  display: flex;
  align-items: center;
}

.picker-head {
  justify-content: space-between;
  height: 58px;
  padding: 0 24px;
  border-bottom: 1px solid #e8ebef;
  font-size: 1.18rem;
}

.picker-head span { font-size: 1.8rem; font-weight: 300; }
.picker-tabs { height: 64px; justify-content: space-around; border-bottom: 1px solid #e8ebef; }
.picker-tabs i {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #17191f;
  position: relative;
}
.picker-tabs i:nth-child(2) { background: radial-gradient(circle at 40% 35%, #cfe4ff, #3f8dff); }
.picker-tabs i:nth-child(3) { background: radial-gradient(circle at 35% 35%, #fff, #161616); }
.picker-tabs i:nth-child(2)::after {
  content: "";
  position: absolute;
  left: -34px;
  right: -34px;
  bottom: -17px;
  height: 4px;
  background: #257cff;
}
.picker-mode { height: 76px; justify-content: space-between; padding: 0 24px; font-size: 1.28rem; }
.picker-mode span::after {
  content: "Fluid gradient";
  display: block;
  position: absolute;
  opacity: calc(var(--gradient-progress) * 1.4 - .48);
  transform: translateY(-1.45em);
}
.picker-mode b { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #9ec6ff; }
.picker-canvas {
  height: 144px;
  position: relative;
  background:
    radial-gradient(circle at calc(17% + var(--gradient-progress) * 44%) calc(73% - var(--gradient-progress) * 22%), #f9f2ff 0 4%, transparent 5%),
    conic-gradient(from calc(96deg + var(--gradient-progress) * 160deg) at 58% 54%, #dfeaff, #8f8bf5, #3723e4, #eff8ff, #8be979, #f3b8d3, #dfeaff);
  overflow: hidden;
}
.picker-canvas em {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 4px solid rgba(255,255,255,.55);
  border-radius: 50%;
  color: #fff;
  font-style: normal;
  transform: translate(-50%, -50%);
  opacity: calc(1 - var(--gradient-progress) * 1.35);
}
.picker-canvas span {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-radius: 50%;
}
.picker-canvas span:nth-child(2) { left: 6px; top: 10px; }
.picker-canvas span:nth-child(3) { right: 18px; top: 4px; }
.picker-canvas span:nth-child(4) { left: -4px; bottom: 36px; }
.picker-canvas span:nth-child(5) { right: -2px; bottom: 46px; }
.picker-slider { height: 70px; gap: 10px; padding: 0 26px; border-bottom: 1px solid #edf0f4; }
.picker-slider i:first-child,
.picker-opacity i {
  height: 9px;
  flex: 1;
  border-radius: 999px;
  background: linear-gradient(90deg, #e2e8ff, #8a8af1, #e9ff99);
  position: relative;
}
.picker-slider i:not(:first-child) { width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px #d6e3ff; }
.picker-opacity { height: 64px; gap: 16px; padding: 0 26px; font-size: 1.2rem; }
.picker-opacity b { width: 36px; height: 36px; border: 1px solid #c9d2de; border-radius: 5px; background: #2927ca; }

.mask-text-section {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: clamp(88px, 10vw, 150px) clamp(28px, 4.6vw, 90px);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(#e3e9ef .8px, transparent .9px),
    #fff;
  background-size: 8px 8px;
}

.video-mask-text {
  margin: 0;
  font-size: clamp(6rem, 12.3vw, 15rem);
  line-height: .82;
  font-weight: 900;
  letter-spacing: 0;
  color: transparent;
  background:
    radial-gradient(ellipse at 25% 28%, rgba(92, 193, 153, .92), transparent 28%),
    radial-gradient(ellipse at 72% 62%, rgba(0, 18, 118, 1), transparent 34%),
    repeating-radial-gradient(ellipse at 58% 46%, #071a76 0 10px, #194ec0 11px 22px, #061146 23px 34px);
  background-size: 135% 135%, 130% 130%, 82% 82%;
  background-position: 0% 50%, 100% 45%, 50% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: textWave 7.5s ease-in-out infinite alternate;
}

@keyframes textWave {
  to { background-position: 38% 38%, 62% 64%, 82% 42%; }
}

.mask-inner p {
  max-width: 570px;
  margin: 64px 0 0;
  font-size: clamp(1.18rem, 1.28vw, 1.55rem);
  line-height: 1.46;
}

.cursor-section {
  background: #fff;
  position: relative;
  overflow: hidden;
}

.cursor-copy {
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .8fr);
  gap: clamp(40px, 8vw, 140px);
  padding: 86px clamp(28px, 4.6vw, 90px);
  border-top: 1px solid var(--line);
}

.cursor-copy h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(4rem, 5.4vw, 6.7rem);
  line-height: 1.04;
  font-weight: 300;
}

.cursor-copy p {
  max-width: 590px;
  margin: 0;
  font-size: clamp(1.1rem, 1.18vw, 1.42rem);
  line-height: 1.45;
}

.weather-grid {
  min-height: 620px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.weather-card {
  min-height: 620px;
  display: grid;
  align-content: end;
  padding: 0 clamp(28px, 3.5vw, 70px) 58px;
  transition: filter 220ms ease, transform 320ms ease;
}

.weather-card:hover {
  filter: saturate(1.08) brightness(1.02);
}

.weather-card span { font-size: clamp(1.4rem, 1.6vw, 2rem); }
.weather-card strong { font-size: clamp(5rem, 6.4vw, 8rem); line-height: .96; font-weight: 300; }
.sunny { background: linear-gradient(180deg, #dfff24, #fff5a8); }
.cloudy { background: linear-gradient(180deg, #dcecff, #edf6ff); }
.rain { background: linear-gradient(180deg, #b8c1d3, #d9e2ed); }
.weather-card[data-cursor] { cursor: none; }

.custom-cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 84px;
  height: 84px;
  z-index: 120;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.82);
  transition: opacity 120ms ease, transform 120ms ease, background 160ms ease;
}

.custom-cursor.active { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.custom-cursor.sun {
  border-radius: 50%;
  background: #dfff00;
  box-shadow: 0 0 0 12px rgba(223,255,0,.22), 0 0 42px rgba(223,255,0,.65);
}
.custom-cursor.cloud {
  background:
    radial-gradient(circle at 32% 60%, #fff 0 22%, transparent 23%),
    radial-gradient(circle at 52% 43%, #fff 0 28%, transparent 29%),
    radial-gradient(circle at 70% 60%, #fff 0 24%, transparent 25%),
    linear-gradient(#fff, #fff);
  background-size: 100% 100%, 100% 100%, 100% 100%, 74% 34%;
  background-position: center, center, center, center 65%;
  background-repeat: no-repeat;
  filter: drop-shadow(0 12px 20px rgba(70, 96, 132, .24));
}
.custom-cursor.rain {
  background:
    radial-gradient(circle at 50% 32%, #8fb6ff 0 24%, transparent 25%),
    linear-gradient(115deg, transparent 0 43%, #1d45ff 44% 55%, transparent 56%),
    linear-gradient(115deg, transparent 0 43%, #1d45ff 44% 55%, transparent 56%);
  background-size: 100% 100%, 28px 50px, 28px 50px;
  background-position: center, 20px 34px, 48px 36px;
  background-repeat: no-repeat;
}

.figma-flow {
  min-height: 360vh;
  background: #344f4f;
  color: #fff;
}

.figma-pin {
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(360px, .42fr) minmax(720px, 1fr);
  align-items: center;
  gap: clamp(38px, 5vw, 96px);
  padding: clamp(50px, 7vw, 106px) clamp(28px, 3.7vw, 74px);
  overflow: hidden;
}

.figma-copy h2 {
  max-width: 720px;
  margin: 58px 0 30px;
  font-size: clamp(4rem, 5vw, 6.4rem);
  line-height: 1.03;
  font-weight: 300;
}

.figma-copy p {
  max-width: 620px;
  margin: 0 0 38px;
  font-size: clamp(1.12rem, 1.25vw, 1.48rem);
  line-height: 1.46;
}

.figma-logos {
  display: flex;
  align-items: center;
  gap: 24px;
}

.figma-logos span,
.figma-logos b {
  width: 39px;
  height: 39px;
  display: block;
}
.figma-logos span {
  background:
    radial-gradient(circle at 32% 26%, #ff7161 0 13%, transparent 14%),
    radial-gradient(circle at 32% 50%, #a259ff 0 13%, transparent 14%),
    radial-gradient(circle at 32% 74%, #0acf83 0 13%, transparent 14%),
    radial-gradient(circle at 62% 26%, #f24e1e 0 13%, transparent 14%),
    radial-gradient(circle at 62% 50%, #1abcfe 0 13%, transparent 14%);
}
.figma-logos i {
  width: 62px;
  height: 1px;
  background: rgba(255,255,255,.75);
  position: relative;
}
.figma-logos i::after {
  content: "";
  position: absolute;
  right: 0;
  top: -5px;
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-top: 2px solid #fff;
  transform: rotate(45deg);
}
.figma-logos b { background: #fff; position: relative; }
.figma-logos b::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: #344f4f;
}

.figma-actions { display: flex; align-items: center; gap: 28px; }
.white-pill {
  min-width: 154px;
  height: 54px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  font-weight: 700;
}
.figma-link { border-bottom: 1px solid currentColor; padding-bottom: 5px; }

.figma-device {
  justify-self: end;
  width: min(1080px, 61vw);
  aspect-ratio: 1.47;
  padding: 18px;
  border-radius: 22px;
  background: #bdc8c8;
  transform: translateX(calc((1 - var(--figma-progress)) * 3vw)) scale(calc(.92 + var(--figma-progress) * .05));
}

.figma-browser {
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #e9e9e9;
}

.figma-bar {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  background: #101217;
  color: #dfe8f0;
  font-size: .62rem;
}
.figma-bar span { width: 7px; height: 7px; border-radius: 50%; background: #ff5f57; }
.figma-bar span:nth-child(2) { background: #ffbd2e; }
.figma-bar span:nth-child(3) { background: #28c840; }
.figma-bar em { margin-right: auto; font-style: normal; }
.figma-bar b { background: #2780ff; padding: 4px 9px; border-radius: 4px; }

.figma-ui {
  height: calc(100% - 34px);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.figma-left-panel,
.plugin-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  background: #fff;
  color: #151515;
  box-shadow: 6px 0 24px rgba(0,0,0,.08);
  z-index: 4;
  transform: translateX(-105%);
  transition: transform 420ms cubic-bezier(.19,1,.22,1);
}
.figma-left-panel { left: 0; width: 210px; background: #222; opacity: .96; }
.plugin-panel {
  left: 0;
  width: 260px;
  padding: 24px;
  display: grid;
  align-content: start;
  gap: 18px;
}
.plugin-panel strong { font-size: .75rem; }
.plugin-panel span { font-weight: 800; font-size: 1.1rem; }
.plugin-panel p { margin: 0; color: #626872; font-size: .75rem; }
.plugin-thumb {
  height: 260px;
  background:
    linear-gradient(90deg, #f6f6f6 0 48%, #f1f1f1 49%),
    linear-gradient(#a9fb42 0 8px, transparent 8px);
  box-shadow: inset 0 0 0 1px #dfe3e8;
}
.plugin-panel button { height: 44px; border-radius: 4px; background: #2f7cf6; color: #fff; font-weight: 800; }

.figma-page {
  width: 82%;
  aspect-ratio: 1.34;
  background: #f2f2f2;
  box-shadow: 0 18px 52px rgba(20, 25, 34, .16);
  transform: translateX(calc(var(--figma-progress) * 5%)) scale(calc(1 - var(--figma-progress) * .04));
  overflow: hidden;
}

.book-store {
  height: 148%;
  background: #f3f3f3;
  transform: translateY(calc(var(--figma-progress) * -32%));
  transition: transform 120ms linear;
}
.sale-strip { height: 24px; display: grid; place-items: center; background: #9cff38; color: #0f42cc; font-size: .48rem; font-weight: 800; }
.book-store nav {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 16px;
  border: 1px solid #1e55d8;
  color: #1950da;
  font-size: .65rem;
}
.book-store nav strong { margin-right: auto; font-size: 1rem; }
.book-store nav em { margin-left: auto; border: 1px solid currentColor; border-radius: 999px; padding: 4px 8px; font-style: normal; }
.book-hero {
  height: 310px;
  display: grid;
  grid-template-columns: 42% 58%;
  border-left: 1px solid #1e55d8;
  border-right: 1px solid #1e55d8;
}
.book-cover {
  width: 86px;
  height: 134px;
  justify-self: center;
  align-self: center;
  padding: 14px;
  background: #e96836;
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.book-title { padding: 28px 0 0 32px; color: #1950da; font-size: clamp(3.2rem, 4vw, 5.1rem); line-height: .98; }
.book-hand {
  position: absolute;
  right: 5%;
  top: 220px;
  width: 37%;
  height: 170px;
  background:
    radial-gradient(ellipse at 55% 70%, #e9e5dc 0 52%, transparent 53%),
    linear-gradient(90deg, #e2aa34 0 30%, #855034 31% 50%, transparent 51%);
  border-radius: 20px;
}
.book-row {
  height: 210px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #1e55d8;
}
.book-row article {
  padding: 48px 24px 18px;
  border-right: 1px solid #1e55d8;
  color: #1e55d8;
  display: grid;
  align-content: end;
}
.book-row article b { width: 88px; height: 138px; background: #e9e65d; color: #31311d; display: grid; place-items: center; text-align: center; font-size: .62rem; margin-bottom: 20px; }
.book-row article:nth-child(2) b { background: #9d9d9d; color: #fff; }
.book-row article:nth-child(3) b { background: #254423; color: #f6c883; }
.blue-footer { height: 260px; padding: 56px 34px; background: linear-gradient(180deg, #bfcaff, #194cff); color: #fff; display: flex; align-items: end; gap: 54px; }
.blue-footer strong { margin-right: auto; font-size: 4.2rem; font-weight: 300; }
.blue-footer button { background: #fff; color: #1e55d8; border-radius: 999px; padding: 10px 20px; font-weight: 800; }

.figma-flow[data-step="1"] .figma-left-panel { transform: translateX(0); }
.figma-flow[data-step="2"] .plugin-panel,
.figma-flow[data-step="3"] .plugin-panel { transform: translateX(0); }
.figma-flow[data-step="2"] .figma-page,
.figma-flow[data-step="3"] .figma-page { transform: translateX(9%) scale(.95); }

.reuse-section {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 41.5% 58.5%;
  border-top: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}

.reuse-copy {
  padding: clamp(80px, 10vw, 170px) clamp(30px, 4.7vw, 96px);
  display: grid;
  align-content: center;
}
.reuse-copy h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(4rem, 5.2vw, 6.6rem);
  line-height: 1.02;
  font-weight: 300;
}
.reuse-copy p { max-width: 590px; margin: 46px 0 34px; font-size: clamp(1.1rem, 1.16vw, 1.35rem); line-height: 1.45; }
.reuse-copy > div { display: flex; align-items: center; gap: 32px; }
.reuse-gallery {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr .72fr;
  grid-template-rows: 27% 73%;
}
.template-card { position: relative; padding: 52px; overflow: hidden; }
.template-card span { position: relative; z-index: 2; font-weight: 800; letter-spacing: .02em; }
.template-card div { position: absolute; inset: 122px 42px 44px; border-radius: 18px; box-shadow: 0 20px 52px rgba(30,30,30,.16); }
.restaurant { grid-row: 2; background: #fff1ec; }
.restaurant div { background: linear-gradient(90deg, #751313 0 36%, #06100f 37%); }
.store { grid-column: 2; grid-row: 1 / 3; background: #efff63; }
.store div { inset: 116px 44px 64px; border: 18px solid #efffa1; background: linear-gradient(90deg, #d9e2f0 0 45%, #b7d65a 46%); }
.library { grid-column: 1; grid-row: 1; background: #f9fbfb; display: grid; place-items: center; }
.library div { display: none; }

.asset-section {
  min-height: 100vh;
  background: #000;
  color: #fff;
  overflow: hidden;
  padding: 96px 0 34px;
}
.asset-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .85fr);
  gap: clamp(50px, 8vw, 150px);
  padding: 0 clamp(28px, 4.6vw, 90px) 78px;
}
.asset-head h2 { max-width: 820px; margin: 0; font-size: clamp(4rem, 5.2vw, 6.6rem); line-height: 1.03; font-weight: 300; }
.asset-head p { margin: 0; max-width: 650px; font-size: clamp(1.14rem, 1.2vw, 1.45rem); line-height: 1.48; color: #d6d6d6; }
.asset-strip {
  width: max-content;
  display: flex;
  gap: 34px;
  padding-left: clamp(28px, 4.6vw, 90px);
  animation: assetDrift 18s ease-in-out infinite alternate;
}
.asset-strip article { width: min(720px, 42vw); }
.asset-strip span { display: block; margin-bottom: 16px; color: #d6d6d6; }
.asset-strip img { width: 100%; aspect-ratio: 1.65; object-fit: cover; border: 1px solid #333; display: block; }
@keyframes assetDrift { to { transform: translateX(-22vw); } }

.capabilities {
  padding: 100px clamp(28px, 5.5vw, 112px) 120px;
  background: #f7f8fb;
  border-top: 1px solid #dfe5ec;
}
.capabilities h2 {
  max-width: 840px;
  margin: 0 0 70px;
  font-size: clamp(4rem, 5.3vw, 6.8rem);
  line-height: 1.05;
  font-weight: 300;
}
.cap-link {
  display: block;
  padding-bottom: 24px;
  border-bottom: 1px solid #8b929c;
  font-weight: 800;
  font-size: 1.18rem;
}
.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(80px, 12vw, 210px);
  row-gap: 92px;
  padding-top: 70px;
}
.cap-grid article { max-width: 680px; }
.cap-grid strong { font-size: 1.13rem; }
.cap-grid p { margin: 18px 0 0; font-size: clamp(1.02rem, 1.08vw, 1.28rem); line-height: 1.45; }

.closing-cta {
  background:
    radial-gradient(#e5eadc .8px, transparent .9px),
    #fffff4;
  background-size: 8px 8px;
}
.closing-line {
  padding: 128px clamp(28px, 4.7vw, 96px) 300px;
  font-size: clamp(5rem, 7.4vw, 10rem);
  line-height: 1.04;
  font-weight: 300;
}
.start-band {
  min-height: 238px;
  display: grid;
  grid-template-columns: 1fr 238px;
  background: var(--lime);
  color: #050505;
}
.start-band span {
  display: flex;
  align-items: center;
  padding-left: clamp(28px, 4.7vw, 96px);
  font-size: clamp(5rem, 7vw, 9rem);
  line-height: 1;
  font-weight: 300;
}
.start-band i {
  background: #000;
  position: relative;
  display: grid;
  place-items: center;
}
.start-band i::before {
  content: "↗";
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  font-style: normal;
  font-size: 4rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 22% 1fr;
  gap: clamp(60px, 8vw, 150px);
  padding: 78px clamp(28px, 5vw, 100px) 86px;
  background: #0d0d0e;
  color: #f2f2f2;
  border-top: 1px solid #232323;
}
.footer-brand {
  display: block;
  font-size: 1.3rem;
}
.footer-brand .brand-mark { display: inline-block; vertical-align: middle; margin-right: 8px; background: #fff; }
.footer-brand .brand-mark::after { background: #0d0d0e; }
.footer-brand p { margin: 34px 0 0; color: #c9c9c9; font-size: .95rem; line-height: 1.45; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 62px;
}
.footer-cols div { display: grid; align-content: start; gap: 16px; }
.footer-cols strong { font-size: .8rem; color: #fff; }
.footer-cols a { color: #cfcfcf; font-size: .98rem; }

@media (max-width: 980px) {
  .gradient-pin,
  .figma-pin,
  .reuse-section,
  .asset-head,
  .cursor-copy,
  .cap-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }
  .gradient-pin { min-height: 940px; grid-template-rows: auto 1fr; }
  .gradient-copy { align-content: start; }
  .gradient-copy h2,
  .cursor-copy h2,
  .figma-copy h2,
  .reuse-copy h2,
  .asset-head h2,
  .capabilities h2,
  .closing-line { font-size: clamp(3.5rem, 12vw, 5.5rem); }
  .weather-grid { grid-template-columns: 1fr; }
  .weather-card { min-height: 360px; }
  .figma-pin { align-content: start; min-height: 980px; }
  .figma-device { width: 1040px; justify-self: start; transform: scale(.62); transform-origin: top left; }
  .reuse-gallery { min-height: 760px; }
  .asset-strip article { width: 680px; }
  .start-band { grid-template-columns: 1fr 130px; min-height: 150px; }
  .start-band span { font-size: clamp(3.6rem, 13vw, 5.6rem); }
  .start-band i::before { width: 92px; height: 92px; font-size: 2.5rem; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .gradient-pin { min-height: 760px; }
  .color-picker { width: 250px; }
  .mask-text-section { min-height: 72vh; }
  .video-mask-text { font-size: 4rem; line-height: .95; }
  .cursor-copy,
  .asset-head { gap: 28px; }
  .figma-device { transform: scale(.36); }
  .figma-pin { min-height: 720px; }
  .reuse-section { display: block; }
  .reuse-gallery { grid-template-columns: 1fr; grid-template-rows: repeat(3, 360px); }
  .restaurant,
  .store,
  .library { grid-column: auto; grid-row: auto; }
  .asset-strip { animation: none; display: grid; width: auto; padding-right: 20px; }
  .asset-strip article { width: 100%; }
  .cap-grid { row-gap: 48px; }
  .closing-line { padding-bottom: 140px; }
  .footer-cols { grid-template-columns: 1fr; }
}

/* Shared generated BUGENCE brand mark. */
.brand-mark,
.bugence-logo::before,
.logo::before {
  width: 34px !important;
  height: 34px !important;
  flex: 0 0 34px !important;
  display: inline-block !important;
  border-radius: 0 !important;
  background: url("../Images/bugence-logo-mark.png") center / cover no-repeat !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10) !important;
  overflow: hidden !important;
}

.brand-mark::after,
.bugence-logo::after,
.logo::after {
  display: none !important;
  content: none !important;
}

.bugence-logo,
.logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.bugence-logo::before,
.logo::before {
  content: "" !important;
}
