:root {
  color-scheme: dark;
  --scarlet: #ff214f;
  --scarlet-deep: #8e001b;
  --black: #050505;
  --ink: #f8f2f3;
  --muted: #c8b8bd;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", Arial, sans-serif;
  background: var(--black);
  color: var(--ink);
}

body::selection {
  background: rgba(255, 33, 79, 0.55);
}

.js-enabled .reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.19, 1, 0.22, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.js-enabled .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  padding: 22px 28px;
  background: rgba(5, 5, 5, 0.58);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 4vw, 46px);
  color: rgba(248, 242, 243, 0.78);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
}

.site-nav a,
.site-nav button,
.site-nav span {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav button {
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  text-transform: inherit;
  cursor: pointer;
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav button:hover,
.site-nav button:focus-visible {
  color: var(--scarlet);
}

.site-nav button:focus-visible {
  outline: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  padding: 32px 20px;
  background:
    radial-gradient(circle at calc(var(--cursor-x, 0.18) * 100%) calc(var(--cursor-y, 0.22) * 100%), rgba(255, 33, 79, 0.42), transparent 30%),
    radial-gradient(circle at 82% 78%, rgba(142, 0, 27, 0.46), transparent 34%),
    linear-gradient(135deg, #030303 0%, #170006 42%, #3b000c 72%, #050505 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 72%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.62));
}

.hero__ambient {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  opacity: 0.65;
}

.hero__ambient--scarlet {
  width: 280px;
  height: 280px;
  top: 12%;
  right: 12%;
  background: radial-gradient(circle, rgba(255, 33, 79, 0.55), transparent 68%);
}

.hero__ambient--black {
  width: 380px;
  height: 380px;
  bottom: -120px;
  left: -90px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.78), transparent 70%);
}

.bubbles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.bubbles span {
  position: absolute;
  left: var(--left);
  bottom: -140px;
  width: var(--size);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.18), transparent 24%),
    radial-gradient(circle at 70% 76%, rgba(255, 33, 79, 0.16), transparent 42%);
  box-shadow:
    inset 0 0 22px rgba(255, 255, 255, 0.06),
    0 0 34px rgba(255, 33, 79, 0.13);
  animation: bubble-rise var(--duration) linear infinite;
  animation-delay: calc(var(--delay) * -1);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(860px, 100%);
  text-align: center;
}

.brand-logo {
  display: block;
  width: clamp(84px, 13vw, 128px);
  aspect-ratio: 1;
  margin: 0 auto 22px;
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(255, 33, 79, 0.22);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--scarlet);
  font-size: clamp(0.82rem, 2vw, 1rem);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(4rem, 14vw, 10rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 0 20px 70px rgba(255, 33, 79, 0.28);
}

.description {
  width: min(700px, 100%);
  margin: 28px auto 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.6vw, 1.45rem);
  font-weight: 400;
  line-height: 1.6;
}

.applications {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 88px;
  padding: clamp(72px, 10vw, 128px) 20px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 33, 79, 0.18), transparent 28%),
    radial-gradient(circle at 86% 82%, rgba(255, 33, 79, 0.12), transparent 34%),
    linear-gradient(180deg, #050505 0%, #120005 48%, #050505 100%);
}

.founder {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 88px;
  padding: clamp(78px, 11vw, 140px) 20px clamp(96px, 12vw, 150px);
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 33, 79, 0.18), transparent 28%),
    radial-gradient(circle at 40% 88%, rgba(255, 255, 255, 0.06), transparent 22%),
    linear-gradient(180deg, #050505 0%, #150006 54%, #050505 100%);
}

.faq {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 88px;
  padding: clamp(72px, 10vw, 128px) 20px;
  background:
    radial-gradient(circle at 16% 20%, rgba(255, 33, 79, 0.14), transparent 30%),
    radial-gradient(circle at 88% 72%, rgba(255, 255, 255, 0.05), transparent 28%),
    linear-gradient(180deg, #050505 0%, #110005 56%, #050505 100%);
}

.founder__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
  align-items: center;
  gap: clamp(34px, 7vw, 86px);
  width: min(1120px, 100%);
  margin: 0 auto;
}

.founder__copy h2 {
  margin: 8px 0 24px;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.founder__copy p:not(.section-kicker) {
  max-width: 660px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.14rem);
  line-height: 1.72;
}

.founder__copy p:last-child {
  margin-bottom: 0;
}

.founder__frame {
  width: min(520px, 100%);
  margin: 0 auto;
  padding: clamp(8px, 1.5vw, 12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 33, 79, 0.08)),
    rgba(5, 5, 5, 0.52);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.58),
    0 0 42px rgba(255, 33, 79, 0.16);
}

.founder__frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.applications__inner,
.faq__inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section-kicker,
.app-type {
  margin: 0;
  color: var(--scarlet);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.applications h2 {
  margin: 8px 0 34px;
  font-size: clamp(2.7rem, 8vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.faq h2 {
  margin: 8px 0 34px;
  font-size: clamp(2.7rem, 8vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.faq__list {
  display: grid;
  gap: 18px;
}

.faq__item {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(5, 5, 5, 0.72);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
}

.faq__item h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  line-height: 1.25;
  letter-spacing: 0;
}

.faq__item p {
  max-width: 900px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.app-showcase {
  position: relative;
  display: grid;
  gap: 28px;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(5, 5, 5, 0.72);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(14px);
}

.app-showcase + .app-showcase {
  margin-top: 28px;
}

.app-showcase__header {
  display: flex;
  align-items: center;
  gap: 20px;
}

.app-icon-button {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  width: clamp(74px, 11vw, 118px);
  aspect-ratio: 1;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.app-icon-vines {
  position: absolute;
  inset: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}

.product-logo-wrap {
  position: relative;
  display: inline-block;
}

.product-logo-wrap .app-icon-vines {
  transform: translateY(-10px);
}

/* ── Product tabs ───────────────────────────────────────── */

.product-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
}

.product-nav__spacer {
  flex: 1;
}

.product-tabs {
  display: flex;
  align-items: stretch;
  gap: clamp(18px, 4vw, 46px);
}

.product-tab {
  display: flex;
  align-items: center;
  padding: 0;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: rgba(248, 242, 243, 0.38);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 180ms, border-color 180ms;
  white-space: nowrap;
}

.product-tab:hover {
  color: rgba(248, 242, 243, 0.68);
}

.product-tab--active {
  color: var(--scarlet);
  border-bottom-color: var(--scarlet);
}

.tab-panel--hidden {
  display: none;
}

/* ── Guide ─────────────────────────────────────────────── */

.guide {
  padding: 4rem 1.5rem 5rem;
}

.guide__inner {
  max-width: 960px;
  margin: 0 auto;
}

.guide__inner .section-kicker {
  margin-bottom: 0.4rem;
}

.guide__inner h2 {
  margin-top: 0;
  margin-bottom: 2rem;
}

.guide-slider {
  width: 100%;
}

.guide-slide {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 1.2rem;
  row-gap: 1rem;
}

.guide-slide--hidden {
  display: none;
}

.guide-step {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.guide-step__num {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--scarlet);
  opacity: 0.5;
  letter-spacing: 0.08em;
}

.guide-step__img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 33, 79, 0.22);
  box-shadow: 0 0 0 5px rgba(14, 5, 8, 0.82), 0 0 0 6px rgba(255, 33, 79, 0.18), 0 8px 24px rgba(0, 0, 0, 0.5);
  display: block;
  cursor: pointer;
  transition: box-shadow 220ms ease;
}

.guide-step__img:hover {
  box-shadow: 0 0 0 5px rgba(14, 5, 8, 0.82), 0 0 0 7px rgba(255, 33, 79, 0.75), 0 0 22px 4px rgba(255, 33, 79, 0.45), 0 8px 28px rgba(0, 0, 0, 0.55);
}

/* ── Lightbox ───────────────────────────────────────────── */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: all;
}

.lightbox__img {
  max-width: 88vw;
  max-height: 86vh;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(255, 33, 79, 0.35), 0 28px 64px rgba(0, 0, 0, 0.8);
  display: block;
}

.lightbox__close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  color: rgba(248, 242, 243, 0.6);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: color 160ms;
}

.lightbox__close:hover {
  color: var(--scarlet);
}

.guide-step__text {
  min-height: 2rem;
  color: rgba(248, 242, 243, 0.72);
  font-size: 0.85rem;
  line-height: 1.6;
}

.guide-span-text {
  grid-column: 1 / 3;
  margin-top: 0;
  color: rgba(248, 242, 243, 0.72);
  font-size: 0.85rem;
  line-height: 1.6;
}

.download-options {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 0.5rem;
}

.download-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.2rem 1.6rem;
  border: 1px solid rgba(255, 33, 79, 0.28);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 33, 79, 0.06), rgba(5, 5, 5, 0.4));
  text-decoration: none;
  color: inherit;
  transition: border-color 200ms, background 200ms;
  min-width: 220px;
}

.download-card:hover {
  border-color: rgba(255, 33, 79, 0.7);
  background: linear-gradient(135deg, rgba(255, 33, 79, 0.12), rgba(5, 5, 5, 0.4));
}

.download-card__icon {
  font-size: 2rem;
  line-height: 1;
}

.download-card__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.download-card__sub {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  color: rgba(248, 242, 243, 0.45);
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2.4rem;
  margin-top: 0.5rem;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  cursor: pointer;
}

.team-card__photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 33, 79, 0.35);
  box-shadow: 0 0 0 4px rgba(14, 5, 8, 0.8), 0 0 0 5px rgba(255, 33, 79, 0.2);
  transition: box-shadow 220ms;
}

.team-card:hover .team-card__photo {
  box-shadow: 0 0 0 4px rgba(14, 5, 8, 0.8), 0 0 0 6px rgba(255, 33, 79, 0.75), 0 0 18px 4px rgba(255, 33, 79, 0.4);
}

/* ── Developer modal ─────────────────────────────────────── */

.dev-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.dev-modal.is-open {
  opacity: 1;
  pointer-events: all;
}

.dev-modal__card {
  position: relative;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  background: rgba(18, 6, 10, 0.96);
  border: 1px solid rgba(255, 33, 79, 0.25);
  border-radius: 16px;
  padding: 2rem 2.2rem;
  max-width: 520px;
  width: 90%;
}

.dev-modal__photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255, 33, 79, 0.4);
  box-shadow: 0 0 0 4px rgba(14, 5, 8, 0.85), 0 0 0 5px rgba(255, 33, 79, 0.22);
}

.dev-modal__name {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  color: var(--ink);
}

.dev-modal__roles {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.dev-modal__roles li {
  font-size: 0.88rem;
  color: rgba(248, 242, 243, 0.7);
  padding-left: 1.1rem;
  position: relative;
}

.dev-modal__roles li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--scarlet);
}

.dev-modal__close {
  position: absolute;
  top: 0.9rem;
  right: 1.1rem;
  background: transparent;
  border: none;
  color: rgba(248, 242, 243, 0.45);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: color 160ms;
}

.dev-modal__close:hover {
  color: var(--scarlet);
}

.team-card__name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  letter-spacing: 0.04em;
}

.purposes-text {
  max-width: 680px;
  color: rgba(248, 242, 243, 0.78);
  font-size: 1rem;
  line-height: 1.8;
  margin-top: 0;
}

.guide-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 2.2rem;
}

.guide-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 33, 79, 0.38);
  background: transparent;
  color: var(--scarlet);
  font-size: 1rem;
  cursor: pointer;
  transition: border-color 180ms, background 180ms;
}

.guide-nav-btn:hover {
  background: rgba(255, 33, 79, 0.12);
  border-color: rgba(255, 33, 79, 0.7);
}

.guide-dots {
  display: flex;
  gap: 7px;
  align-items: center;
}

.guide-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 33, 79, 0.28);
  transition: background 200ms;
}

.guide-dot--active {
  background: var(--scarlet);
}

.app-icon {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.42);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.app-icon-button:hover .app-icon,
.app-icon-button:focus-visible .app-icon {
  border-color: rgba(255, 33, 79, 0.86);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.42),
    0 0 28px rgba(255, 33, 79, 0.34);
  transform: scale(1.06);
}

.app-icon-button:focus-visible {
  outline: 2px solid var(--scarlet);
  outline-offset: 5px;
}

.app-showcase h3 {
  margin: 4px 0 0;
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

.app-description {
  max-width: 880px;
  margin: 0;
  color: rgba(248, 242, 243, 0.82);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.75;
}

.app-status {
  width: fit-content;
  margin: 0;
  padding: 10px 14px;
  border-left: 3px solid var(--scarlet);
  color: var(--ink);
  background: rgba(255, 33, 79, 0.12);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
}

.app-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
}

.app-details h4 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 0.95rem;
  text-transform: uppercase;
}

.app-details ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.app-details li {
  position: relative;
  overflow: hidden;
  padding: 9px 12px;
  border: 1px solid rgba(255, 33, 79, 0.32);
  border-radius: 999px;
  color: var(--muted);
  background:
    linear-gradient(170deg, rgba(255, 33, 79, 0.16) 0%, rgba(140, 0, 24, 0.11) 55%, rgba(80, 0, 14, 0.08) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 120, 140, 0.18), inset 0 -1px 6px rgba(120, 0, 20, 0.12);
  font-size: 0.92rem;
  line-height: 1.25;
  cursor: pointer;
  user-select: none;
}


.app-sector__label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.8rem 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--scarlet);
}

.app-sector__label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(255, 33, 79, 0.4), transparent);
}

.app-more {
  display: flex;
  justify-content: flex-end;
}

.app-more__link {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--scarlet);
  transition: opacity 180ms ease, color 180ms ease;
}

.app-more__link:hover {
  opacity: 0.72;
}

.app-more__link--disabled {
  color: rgba(200, 184, 189, 0.22);
  cursor: default;
  pointer-events: none;
}

.water-impact {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 100, 130, 0.9), rgba(255, 33, 79, 0.4) 55%, transparent);
  pointer-events: none;
  animation: water-impact 0.42s ease-out forwards;
}

@keyframes water-impact {
  0%   { transform: scale(0.15); opacity: 1; }
  45%  { transform: scale(1.6);  opacity: 0.65; }
  100% { transform: scale(0.8);  opacity: 0; }
}

.water-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: water-ring 1.35s cubic-bezier(0.08, 0.82, 0.28, 1) forwards;
}

@keyframes water-ring {
  from {
    transform: scale(1);
    opacity: 1;
  }
  to {
    transform: scale(30);
    opacity: 0;
  }
}

.icon-preview {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.icon-preview.is-open {
  opacity: 1;
  pointer-events: auto;
}

.icon-preview__image {
  width: min(78vw, 440px);
  max-height: 78vh;
  aspect-ratio: 1;
  border: 3px solid var(--scarlet);
  border-radius: 14px;
  object-fit: cover;
  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.66),
    0 0 70px rgba(255, 33, 79, 0.38);
  transform: scale(0.94);
  transition: transform 180ms ease;
}

.icon-preview.is-open .icon-preview__image {
  transform: scale(1);
}

.icon-preview__close {
  position: fixed;
  top: 22px;
  right: 22px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.icon-preview__close:hover,
.icon-preview__close:focus-visible {
  border-color: rgba(255, 33, 79, 0.72);
  outline: none;
}

.contact-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  width: 76px;
  height: 92px;
}

.contact-phone {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 76px;
  height: 92px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.52)) drop-shadow(0 0 20px rgba(255, 33, 79, 0.2));
  cursor: pointer;
  animation: phone-vibrate 1.8s ease-in-out infinite;
}

.contact-phone__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact-phone__label {
  position: absolute;
  right: calc(100% + 12px);
  bottom: 22px;
  width: max-content;
  max-width: 210px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 33, 79, 0.42);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(5, 5, 5, 0.82);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.36);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.contact-phone:hover .contact-phone__label,
.contact-phone:focus-visible .contact-phone__label {
  opacity: 1;
  transform: translateX(0);
}

.contact-phone:focus-visible {
  outline: 2px solid var(--scarlet);
  outline-offset: 5px;
}

.contact-phone.is-alerting {
  animation: phone-alert 560ms ease-in-out 3;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.52)) drop-shadow(0 0 70px rgba(255, 33, 79, 0.95));
}

.social-branch {
  position: absolute;
  right: 4px;
  bottom: 18px;
  z-index: 0;
  display: grid;
  width: 48px;
  aspect-ratio: 1;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 33, 79, 0.38);
  border-radius: 50%;
  color: inherit;
  background: rgba(5, 5, 5, 0.78);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.42),
    0 0 24px rgba(255, 33, 79, 0.18);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 0, 0) scale(0.6);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.social-branch::before {
  content: "";
  position: absolute;
  right: 18px;
  bottom: -29px;
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, rgba(255, 33, 79, 0.8), transparent);
  transform-origin: bottom;
}

.social-branch img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.social-branch__email {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  width: max-content;
  max-width: min(270px, calc(100vw - 120px));
  padding: 9px 12px;
  border: 1px solid rgba(255, 33, 79, 0.42);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(5, 5, 5, 0.9);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(8px, -50%, 0);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.social-branch--gmail.is-showing-email .social-branch__email {
  opacity: 1;
  transform: translate3d(0, -50%, 0);
}

.contact-widget.is-open .social-branch {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

.contact-widget.is-open .social-branch--telegram {
  transform: translate3d(-88px, -86px, 0) scale(1);
}

.contact-widget.is-open .social-branch--youtube {
  transform: translate3d(-24px, -160px, 0) scale(1);
}

.contact-widget.is-open .social-branch--gmail {
  transform: translate3d(-92px, -224px, 0) scale(1);
}

.contact-widget.is-open .social-branch--telegram::before {
  transform: rotate(58deg);
}

.contact-widget.is-open .social-branch--youtube::before {
  transform: rotate(18deg);
}

.contact-widget.is-open .social-branch--gmail::before {
  transform: rotate(30deg);
}

.social-branch:hover,
.social-branch:focus-visible {
  border-color: var(--scarlet);
  outline: none;
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.42),
    0 0 34px rgba(255, 33, 79, 0.34);
}

@media (max-width: 620px) {
  .site-header {
    padding: 18px 14px;
  }

  .site-nav {
    flex-wrap: wrap;
    row-gap: 10px;
    font-size: 0.75rem;
  }

  .hero {
    min-height: 100svh;
    padding: 96px 18px 28px;
  }

  .description {
    line-height: 1.5;
  }

  .app-showcase__header {
    align-items: flex-start;
  }

  .app-details {
    grid-template-columns: 1fr;
  }

  .app-details li {
    border-radius: 8px;
  }

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

  .founder__frame {
    width: min(420px, 100%);
  }
}

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

  .js-enabled .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@keyframes bubble-rise {
  0% {
    transform: translate3d(0, 0, 0) scale(0.82);
    opacity: 0;
  }

  16% {
    opacity: 0.68;
  }

  100% {
    transform: translate3d(28px, -118vh, 0) scale(1.14);
    opacity: 0;
  }
}

@keyframes phone-vibrate {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.52)) drop-shadow(0 0 20px rgba(255, 33, 79, 0.18));
  }

  8% {
    transform: translate3d(-1px, 0, 0) rotate(-1.5deg);
  }

  16% {
    transform: translate3d(1px, 0, 0) rotate(1.5deg);
  }

  24% {
    transform: translate3d(-1px, 0, 0) rotate(-1deg);
  }

  32% {
    transform: translate3d(1px, 0, 0) rotate(1deg);
  }

  44% {
    transform: translate3d(0, 0, 0) rotate(0deg);
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.52)) drop-shadow(0 0 38px rgba(255, 33, 79, 0.36));
  }
}

@keyframes phone-alert {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.52)) drop-shadow(0 0 24px rgba(255, 33, 79, 0.22));
  }

  12% {
    transform: translate3d(-3px, 0, 0) rotate(-4deg);
  }

  24% {
    transform: translate3d(3px, 0, 0) rotate(4deg);
  }

  36% {
    transform: translate3d(-3px, 0, 0) rotate(-3deg);
  }

  48% {
    transform: translate3d(3px, 0, 0) rotate(3deg);
  }

  60% {
    transform: translate3d(0, 0, 0) rotate(0deg);
    filter:
      drop-shadow(0 18px 28px rgba(0, 0, 0, 0.52))
      drop-shadow(0 0 28px rgba(255, 33, 79, 0.95))
      drop-shadow(0 0 72px rgba(255, 33, 79, 0.86));
  }
}
